public static final class VariantTensorDataProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder> implements VariantTensorDataProtoOrBuilder
Protocol buffer representing the serialization format of DT_VARIANT tensors.Protobuf type
tensorflow.VariantTensorDataProto| Modifier and Type | Method and Description |
|---|---|
VariantTensorDataProto.Builder |
addAllTensors(Iterable<? extends TensorProto> values)
Tensors contained within objects being serialized.
|
VariantTensorDataProto.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VariantTensorDataProto.Builder |
addTensors(int index,
TensorProto.Builder builderForValue)
Tensors contained within objects being serialized.
|
VariantTensorDataProto.Builder |
addTensors(int index,
TensorProto value)
Tensors contained within objects being serialized.
|
VariantTensorDataProto.Builder |
addTensors(TensorProto.Builder builderForValue)
Tensors contained within objects being serialized.
|
VariantTensorDataProto.Builder |
addTensors(TensorProto value)
Tensors contained within objects being serialized.
|
TensorProto.Builder |
addTensorsBuilder()
Tensors contained within objects being serialized.
|
TensorProto.Builder |
addTensorsBuilder(int index)
Tensors contained within objects being serialized.
|
VariantTensorDataProto |
build() |
VariantTensorDataProto |
buildPartial() |
VariantTensorDataProto.Builder |
clear() |
VariantTensorDataProto.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VariantTensorDataProto.Builder |
clearMetadata()
Portions of the object that are not Tensors.
|
VariantTensorDataProto.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VariantTensorDataProto.Builder |
clearTensors()
Tensors contained within objects being serialized.
|
VariantTensorDataProto.Builder |
clearTypeName()
Name of the type of objects being serialized.
|
VariantTensorDataProto.Builder |
clone() |
VariantTensorDataProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getMetadata()
Portions of the object that are not Tensors.
|
TensorProto |
getTensors(int index)
Tensors contained within objects being serialized.
|
TensorProto.Builder |
getTensorsBuilder(int index)
Tensors contained within objects being serialized.
|
List<TensorProto.Builder> |
getTensorsBuilderList()
Tensors contained within objects being serialized.
|
int |
getTensorsCount()
Tensors contained within objects being serialized.
|
List<TensorProto> |
getTensorsList()
Tensors contained within objects being serialized.
|
TensorProtoOrBuilder |
getTensorsOrBuilder(int index)
Tensors contained within objects being serialized.
|
List<? extends TensorProtoOrBuilder> |
getTensorsOrBuilderList()
Tensors contained within objects being serialized.
|
String |
getTypeName()
Name of the type of objects being serialized.
|
com.google.protobuf.ByteString |
getTypeNameBytes()
Name of the type of objects being serialized.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VariantTensorDataProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VariantTensorDataProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
VariantTensorDataProto.Builder |
mergeFrom(VariantTensorDataProto other) |
VariantTensorDataProto.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VariantTensorDataProto.Builder |
removeTensors(int index)
Tensors contained within objects being serialized.
|
VariantTensorDataProto.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VariantTensorDataProto.Builder |
setMetadata(com.google.protobuf.ByteString value)
Portions of the object that are not Tensors.
|
VariantTensorDataProto.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VariantTensorDataProto.Builder |
setTensors(int index,
TensorProto.Builder builderForValue)
Tensors contained within objects being serialized.
|
VariantTensorDataProto.Builder |
setTensors(int index,
TensorProto value)
Tensors contained within objects being serialized.
|
VariantTensorDataProto.Builder |
setTypeName(String value)
Name of the type of objects being serialized.
|
VariantTensorDataProto.Builder |
setTypeNameBytes(com.google.protobuf.ByteString value)
Name of the type of objects being serialized.
|
VariantTensorDataProto.Builder |
setUnknownFields(com.google.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 com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public VariantTensorDataProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public VariantTensorDataProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VariantTensorDataProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VariantTensorDataProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VariantTensorDataProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public VariantTensorDataProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public VariantTensorDataProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public VariantTensorDataProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public VariantTensorDataProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public VariantTensorDataProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public VariantTensorDataProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VariantTensorDataProto.Builder>public VariantTensorDataProto.Builder mergeFrom(VariantTensorDataProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public VariantTensorDataProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VariantTensorDataProto.Builder>IOExceptionpublic String getTypeName()
Name of the type of objects being serialized.
string type_name = 1;getTypeName in interface VariantTensorDataProtoOrBuilderpublic com.google.protobuf.ByteString getTypeNameBytes()
Name of the type of objects being serialized.
string type_name = 1;getTypeNameBytes in interface VariantTensorDataProtoOrBuilderpublic VariantTensorDataProto.Builder setTypeName(String value)
Name of the type of objects being serialized.
string type_name = 1;public VariantTensorDataProto.Builder clearTypeName()
Name of the type of objects being serialized.
string type_name = 1;public VariantTensorDataProto.Builder setTypeNameBytes(com.google.protobuf.ByteString value)
Name of the type of objects being serialized.
string type_name = 1;public com.google.protobuf.ByteString getMetadata()
Portions of the object that are not Tensors.
bytes metadata = 2;getMetadata in interface VariantTensorDataProtoOrBuilderpublic VariantTensorDataProto.Builder setMetadata(com.google.protobuf.ByteString value)
Portions of the object that are not Tensors.
bytes metadata = 2;public VariantTensorDataProto.Builder clearMetadata()
Portions of the object that are not Tensors.
bytes metadata = 2;public List<TensorProto> getTensorsList()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;getTensorsList in interface VariantTensorDataProtoOrBuilderpublic int getTensorsCount()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;getTensorsCount in interface VariantTensorDataProtoOrBuilderpublic TensorProto getTensors(int index)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;getTensors in interface VariantTensorDataProtoOrBuilderpublic VariantTensorDataProto.Builder setTensors(int index, TensorProto value)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public VariantTensorDataProto.Builder setTensors(int index, TensorProto.Builder builderForValue)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public VariantTensorDataProto.Builder addTensors(TensorProto value)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public VariantTensorDataProto.Builder addTensors(int index, TensorProto value)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public VariantTensorDataProto.Builder addTensors(TensorProto.Builder builderForValue)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public VariantTensorDataProto.Builder addTensors(int index, TensorProto.Builder builderForValue)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public VariantTensorDataProto.Builder addAllTensors(Iterable<? extends TensorProto> values)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public VariantTensorDataProto.Builder clearTensors()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public VariantTensorDataProto.Builder removeTensors(int index)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public TensorProto.Builder getTensorsBuilder(int index)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public TensorProtoOrBuilder getTensorsOrBuilder(int index)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;getTensorsOrBuilder in interface VariantTensorDataProtoOrBuilderpublic List<? extends TensorProtoOrBuilder> getTensorsOrBuilderList()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;getTensorsOrBuilderList in interface VariantTensorDataProtoOrBuilderpublic TensorProto.Builder addTensorsBuilder()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public TensorProto.Builder addTensorsBuilder(int index)
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public List<TensorProto.Builder> getTensorsBuilderList()
Tensors contained within objects being serialized.
repeated .tensorflow.TensorProto tensors = 3;public final VariantTensorDataProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>public final VariantTensorDataProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VariantTensorDataProto.Builder>Copyright © 2015–2019. All rights reserved.