public static final class AssetFileDef.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder> implements AssetFileDefOrBuilder
An asset file def for a single file or a set of sharded files with the same name.Protobuf type
tensorflow.AssetFileDef| Modifier and Type | Method and Description |
|---|---|
AssetFileDef.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AssetFileDef |
build() |
AssetFileDef |
buildPartial() |
AssetFileDef.Builder |
clear() |
AssetFileDef.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
AssetFileDef.Builder |
clearFilename()
The filename within an assets directory.
|
AssetFileDef.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
AssetFileDef.Builder |
clearTensorInfo()
The tensor to bind the asset filename to.
|
AssetFileDef.Builder |
clone() |
AssetFileDef |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilename()
The filename within an assets directory.
|
org.nd4j.shade.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.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AssetFileDef.Builder |
mergeFrom(AssetFileDef other) |
AssetFileDef.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
AssetFileDef.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
AssetFileDef.Builder |
mergeTensorInfo(TensorInfo value)
The tensor to bind the asset filename to.
|
AssetFileDef.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
AssetFileDef.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AssetFileDef.Builder |
setFilename(String value)
The filename within an assets directory.
|
AssetFileDef.Builder |
setFilenameBytes(org.nd4j.shade.protobuf.ByteString value)
The filename within an assets directory.
|
AssetFileDef.Builder |
setRepeatedField(org.nd4j.shade.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.
|
AssetFileDef.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public AssetFileDef.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public AssetFileDef getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic AssetFileDef build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic AssetFileDef buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic AssetFileDef.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public AssetFileDef.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public AssetFileDef.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public AssetFileDef.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public AssetFileDef.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public AssetFileDef.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public AssetFileDef.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<AssetFileDef.Builder>public AssetFileDef.Builder mergeFrom(AssetFileDef other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public AssetFileDef.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<AssetFileDef.Builder>IOExceptionpublic boolean hasTensorInfo()
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1;hasTensorInfo in interface AssetFileDefOrBuilderpublic TensorInfo getTensorInfo()
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1;getTensorInfo in interface AssetFileDefOrBuilderpublic AssetFileDef.Builder setTensorInfo(TensorInfo value)
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1;public AssetFileDef.Builder setTensorInfo(TensorInfo.Builder builderForValue)
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1;public AssetFileDef.Builder mergeTensorInfo(TensorInfo value)
The tensor to bind the asset filename to.
.tensorflow.TensorInfo tensor_info = 1;public AssetFileDef.Builder clearTensorInfo()
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;getTensorInfoOrBuilder in interface AssetFileDefOrBuilderpublic 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;getFilename in interface AssetFileDefOrBuilderpublic org.nd4j.shade.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;getFilenameBytes in interface AssetFileDefOrBuilderpublic 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 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 setFilenameBytes(org.nd4j.shade.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 final AssetFileDef.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>public final AssetFileDef.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<AssetFileDef.Builder>Copyright © 2021. All rights reserved.