Package org.tensorflow.framework
Class VariantTensorDataProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
- org.tensorflow.framework.VariantTensorDataProto.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,VariantTensorDataProtoOrBuilder
- Enclosing class:
- VariantTensorDataProto
public static final class VariantTensorDataProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder> implements VariantTensorDataProtoOrBuilder
Protocol buffer representing the serialization format of DT_VARIANT tensors.
Protobuf typetensorflow.VariantTensorDataProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VariantTensorDataProto.BuilderaddAllTensors(Iterable<? extends TensorProto> values)Tensors contained within objects being serialized.VariantTensorDataProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)VariantTensorDataProto.BuilderaddTensors(int index, TensorProto value)Tensors contained within objects being serialized.VariantTensorDataProto.BuilderaddTensors(int index, TensorProto.Builder builderForValue)Tensors contained within objects being serialized.VariantTensorDataProto.BuilderaddTensors(TensorProto value)Tensors contained within objects being serialized.VariantTensorDataProto.BuilderaddTensors(TensorProto.Builder builderForValue)Tensors contained within objects being serialized.TensorProto.BuilderaddTensorsBuilder()Tensors contained within objects being serialized.TensorProto.BuilderaddTensorsBuilder(int index)Tensors contained within objects being serialized.VariantTensorDataProtobuild()VariantTensorDataProtobuildPartial()VariantTensorDataProto.Builderclear()VariantTensorDataProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)VariantTensorDataProto.BuilderclearMetadata()Portions of the object that are not Tensors.VariantTensorDataProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)VariantTensorDataProto.BuilderclearTensors()Tensors contained within objects being serialized.VariantTensorDataProto.BuilderclearTypeName()Name of the type of objects being serialized.VariantTensorDataProto.Builderclone()VariantTensorDataProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()org.nd4j.shade.protobuf.ByteStringgetMetadata()Portions of the object that are not Tensors.TensorProtogetTensors(int index)Tensors contained within objects being serialized.TensorProto.BuildergetTensorsBuilder(int index)Tensors contained within objects being serialized.List<TensorProto.Builder>getTensorsBuilderList()Tensors contained within objects being serialized.intgetTensorsCount()Tensors contained within objects being serialized.List<TensorProto>getTensorsList()Tensors contained within objects being serialized.TensorProtoOrBuildergetTensorsOrBuilder(int index)Tensors contained within objects being serialized.List<? extends TensorProtoOrBuilder>getTensorsOrBuilderList()Tensors contained within objects being serialized.StringgetTypeName()Name of the type of objects being serialized.org.nd4j.shade.protobuf.ByteStringgetTypeNameBytes()Name of the type of objects being serialized.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VariantTensorDataProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)VariantTensorDataProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)VariantTensorDataProto.BuildermergeFrom(VariantTensorDataProto other)VariantTensorDataProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)VariantTensorDataProto.BuilderremoveTensors(int index)Tensors contained within objects being serialized.VariantTensorDataProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)VariantTensorDataProto.BuildersetMetadata(org.nd4j.shade.protobuf.ByteString value)Portions of the object that are not Tensors.VariantTensorDataProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)VariantTensorDataProto.BuildersetTensors(int index, TensorProto value)Tensors contained within objects being serialized.VariantTensorDataProto.BuildersetTensors(int index, TensorProto.Builder builderForValue)Tensors contained within objects being serialized.VariantTensorDataProto.BuildersetTypeName(String value)Name of the type of objects being serialized.VariantTensorDataProto.BuildersetTypeNameBytes(org.nd4j.shade.protobuf.ByteString value)Name of the type of objects being serialized.VariantTensorDataProto.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
clear
public VariantTensorDataProto.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
getDefaultInstanceForType
public VariantTensorDataProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public VariantTensorDataProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public VariantTensorDataProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public VariantTensorDataProto.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
setField
public VariantTensorDataProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
clearField
public VariantTensorDataProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
clearOneof
public VariantTensorDataProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
setRepeatedField
public VariantTensorDataProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
addRepeatedField
public VariantTensorDataProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
mergeFrom
public VariantTensorDataProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<VariantTensorDataProto.Builder>
-
mergeFrom
public VariantTensorDataProto.Builder mergeFrom(VariantTensorDataProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
mergeFrom
public VariantTensorDataProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<VariantTensorDataProto.Builder>- Throws:
IOException
-
getTypeName
public String getTypeName()
Name of the type of objects being serialized.
string type_name = 1;- Specified by:
getTypeNamein interfaceVariantTensorDataProtoOrBuilder- Returns:
- The typeName.
-
getTypeNameBytes
public org.nd4j.shade.protobuf.ByteString getTypeNameBytes()
Name of the type of objects being serialized.
string type_name = 1;- Specified by:
getTypeNameBytesin interfaceVariantTensorDataProtoOrBuilder- Returns:
- The bytes for typeName.
-
setTypeName
public VariantTensorDataProto.Builder setTypeName(String value)
Name of the type of objects being serialized.
string type_name = 1;- Parameters:
value- The typeName to set.- Returns:
- This builder for chaining.
-
clearTypeName
public VariantTensorDataProto.Builder clearTypeName()
Name of the type of objects being serialized.
string type_name = 1;- Returns:
- This builder for chaining.
-
setTypeNameBytes
public VariantTensorDataProto.Builder setTypeNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the type of objects being serialized.
string type_name = 1;- Parameters:
value- The bytes for typeName to set.- Returns:
- This builder for chaining.
-
getMetadata
public org.nd4j.shade.protobuf.ByteString getMetadata()
Portions of the object that are not Tensors.
bytes metadata = 2;- Specified by:
getMetadatain interfaceVariantTensorDataProtoOrBuilder- Returns:
- The metadata.
-
setMetadata
public VariantTensorDataProto.Builder setMetadata(org.nd4j.shade.protobuf.ByteString value)
Portions of the object that are not Tensors.
bytes metadata = 2;- Parameters:
value- The metadata to set.- Returns:
- This builder for chaining.
-
clearMetadata
public VariantTensorDataProto.Builder clearMetadata()
Portions of the object that are not Tensors.
bytes metadata = 2;- Returns:
- This builder for chaining.
-
getTensorsList
public List<TensorProto> getTensorsList()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;- Specified by:
getTensorsListin interfaceVariantTensorDataProtoOrBuilder
-
getTensorsCount
public int getTensorsCount()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;- Specified by:
getTensorsCountin interfaceVariantTensorDataProtoOrBuilder
-
getTensors
public TensorProto getTensors(int index)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;- Specified by:
getTensorsin interfaceVariantTensorDataProtoOrBuilder
-
setTensors
public VariantTensorDataProto.Builder setTensors(int index, TensorProto value)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
setTensors
public VariantTensorDataProto.Builder setTensors(int index, TensorProto.Builder builderForValue)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
addTensors
public VariantTensorDataProto.Builder addTensors(TensorProto value)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
addTensors
public VariantTensorDataProto.Builder addTensors(int index, TensorProto value)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
addTensors
public VariantTensorDataProto.Builder addTensors(TensorProto.Builder builderForValue)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
addTensors
public VariantTensorDataProto.Builder addTensors(int index, TensorProto.Builder builderForValue)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
addAllTensors
public VariantTensorDataProto.Builder addAllTensors(Iterable<? extends TensorProto> values)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
clearTensors
public VariantTensorDataProto.Builder clearTensors()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
removeTensors
public VariantTensorDataProto.Builder removeTensors(int index)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
getTensorsBuilder
public TensorProto.Builder getTensorsBuilder(int index)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
getTensorsOrBuilder
public TensorProtoOrBuilder getTensorsOrBuilder(int index)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;- Specified by:
getTensorsOrBuilderin interfaceVariantTensorDataProtoOrBuilder
-
getTensorsOrBuilderList
public List<? extends TensorProtoOrBuilder> getTensorsOrBuilderList()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;- Specified by:
getTensorsOrBuilderListin interfaceVariantTensorDataProtoOrBuilder
-
addTensorsBuilder
public TensorProto.Builder addTensorsBuilder()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
addTensorsBuilder
public TensorProto.Builder addTensorsBuilder(int index)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
getTensorsBuilderList
public List<TensorProto.Builder> getTensorsBuilderList()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;
-
setUnknownFields
public final VariantTensorDataProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
mergeUnknownFields
public final VariantTensorDataProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>
-
-