AssetFileDef

public final class AssetFileDef

 An asset file def for a single file or a set of sharded files with the same
 name.
 
Protobuf type tensorflow.AssetFileDef

Nested Classes

class AssetFileDef.Builder
 An asset file def for a single file or a set of sharded files with the same
 name. 

Constants

int FILENAME_FIELD_NUMBER
int TENSOR_INFO_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static AssetFileDef
AssetFileDef
final static com.google.protobuf.Descriptors.Descriptor
String
getFilename()
 The filename within an assets directory.
com.google.protobuf.ByteString
getFilenameBytes()
 The filename within an assets directory.
int
TensorInfo
getTensorInfo()
 The tensor to bind the asset filename to.
TensorInfoOrBuilder
getTensorInfoOrBuilder()
 The tensor to bind the asset filename to.
final com.google.protobuf.UnknownFieldSet
boolean
hasTensorInfo()
 The tensor to bind the asset filename to.
int
final boolean
static AssetFileDef.Builder
static AssetFileDef.Builder
AssetFileDef.Builder
static AssetFileDef
parseDelimitedFrom(InputStream input)
static AssetFileDef
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AssetFileDef
parseFrom(ByteBuffer data)
static AssetFileDef
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AssetFileDef
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AssetFileDef
parseFrom(com.google.protobuf.CodedInputStream input)
static AssetFileDef
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AssetFileDef
parseFrom(com.google.protobuf.ByteString data)
static AssetFileDef
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AssetFileDef
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
AssetFileDef.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int FILENAME_FIELD_NUMBER

Constant Value: 2

public static final int TENSOR_INFO_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public static AssetFileDef getDefaultInstance ()

public AssetFileDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public String getFilename ()

 The filename within an assets directory. Note: does not include the path
 prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename
 would be "vocab.txt".
 
string filename = 2;

public com.google.protobuf.ByteString getFilenameBytes ()

 The filename within an assets directory. Note: does not include the path
 prefix, i.e. directories. For an asset at /tmp/path/vocab.txt, the filename
 would be "vocab.txt".
 
string filename = 2;

public getParserForType ()

public int getSerializedSize ()

public TensorInfo getTensorInfo ()

 The tensor to bind the asset filename to.
 
.tensorflow.TensorInfo tensor_info = 1;

public TensorInfoOrBuilder getTensorInfoOrBuilder ()

 The tensor to bind the asset filename to.
 
.tensorflow.TensorInfo tensor_info = 1;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean hasTensorInfo ()

 The tensor to bind the asset filename to.
 
.tensorflow.TensorInfo tensor_info = 1;

public int hashCode ()

public final boolean isInitialized ()

public static AssetFileDef.Builder newBuilder (AssetFileDef prototype)

public static AssetFileDef.Builder newBuilder ()

public AssetFileDef.Builder newBuilderForType ()

public static AssetFileDef parseDelimitedFrom (InputStream input)

Throws
IOException

public static AssetFileDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static AssetFileDef parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static AssetFileDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static AssetFileDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static AssetFileDef parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static AssetFileDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static AssetFileDef parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static AssetFileDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static AssetFileDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public AssetFileDef.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException