AssetFileDef.Builder

public static final class AssetFileDef.Builder

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

Public Methods

AssetFileDef.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AssetFileDef
build()
AssetFileDef
AssetFileDef.Builder
clear()
AssetFileDef.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AssetFileDef.Builder
clearFilename()
 The filename within an assets directory.
AssetFileDef.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AssetFileDef.Builder
clearTensorInfo()
 The tensor to bind the asset filename to.
AssetFileDef.Builder
clone()
AssetFileDef
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getFilename()
 The filename within an assets directory.
com.google.protobuf.ByteString
getFilenameBytes()
 The filename within an assets directory.
TensorInfo
getTensorInfo()
 The tensor to bind the asset filename to.
TensorInfo.Builder
getTensorInfoBuilder()
 The tensor to bind the asset filename to.
TensorInfoOrBuilder
getTensorInfoOrBuilder()
 The tensor to bind the asset filename to.
boolean
hasTensorInfo()
 The tensor to bind the asset filename to.
final boolean
AssetFileDef.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AssetFileDef.Builder
mergeFrom(com.google.protobuf.Message other)
AssetFileDef.Builder
mergeTensorInfo(TensorInfo value)
 The tensor to bind the asset filename to.
final AssetFileDef.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AssetFileDef.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AssetFileDef.Builder
setFilename(String value)
 The filename within an assets directory.
AssetFileDef.Builder
setFilenameBytes(com.google.protobuf.ByteString value)
 The filename within an assets directory.
AssetFileDef.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AssetFileDef.Builder
setTensorInfo(TensorInfo.Builder builderForValue)
 The tensor to bind the asset filename to.
AssetFileDef.Builder
setTensorInfo(TensorInfo value)
 The tensor to bind the asset filename to.
final AssetFileDef.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public AssetFileDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public AssetFileDef build ()

public AssetFileDef buildPartial ()

public AssetFileDef.Builder clear ()

public AssetFileDef.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public AssetFileDef.Builder clearFilename ()

 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 AssetFileDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public AssetFileDef.Builder clearTensorInfo ()

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

public AssetFileDef.Builder clone ()

public AssetFileDef getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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 TensorInfo getTensorInfo ()

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

public TensorInfo.Builder getTensorInfoBuilder ()

 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 boolean hasTensorInfo ()

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

public final boolean isInitialized ()

public AssetFileDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public AssetFileDef.Builder mergeFrom (com.google.protobuf.Message other)

public AssetFileDef.Builder mergeTensorInfo (TensorInfo value)

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

public final AssetFileDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public AssetFileDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public AssetFileDef.Builder setFilename (String value)

 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 AssetFileDef.Builder setFilenameBytes (com.google.protobuf.ByteString value)

 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 AssetFileDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public AssetFileDef.Builder setTensorInfo (TensorInfo.Builder builderForValue)

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

public AssetFileDef.Builder setTensorInfo (TensorInfo value)

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

public final AssetFileDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)