Interface BundleHeaderProtoOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
BundleHeaderProto, BundleHeaderProto.Builder

public interface BundleHeaderProtoOrBuilder extends MessageOrBuilder
  • Method Details

    • getNumShards

      int getNumShards()
      Number of data files in the bundle.
      
      int32 num_shards = 1;
      Returns:
      The numShards.
    • getEndiannessValue

      int getEndiannessValue()
      .tensorflow.BundleHeaderProto.Endianness endianness = 2;
      Returns:
      The enum numeric value on the wire for endianness.
    • getEndianness

      .tensorflow.BundleHeaderProto.Endianness endianness = 2;
      Returns:
      The endianness.
    • hasVersion

      boolean hasVersion()
      Versioning of the tensor bundle format.
      
      .tensorflow.VersionDef version = 3;
      Returns:
      Whether the version field is set.
    • getVersion

      VersionDef getVersion()
      Versioning of the tensor bundle format.
      
      .tensorflow.VersionDef version = 3;
      Returns:
      The version.
    • getVersionOrBuilder

      VersionDefOrBuilder getVersionOrBuilder()
      Versioning of the tensor bundle format.
      
      .tensorflow.VersionDef version = 3;