VariantTensorDataProto.Builder

public static final class VariantTensorDataProto.Builder

 Protocol buffer representing the serialization format of DT_VARIANT tensors.
 
Protobuf type tensorflow.VariantTensorDataProto

Public Methods

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 value)
 Tensors contained within objects being serialized.
VariantTensorDataProto.Builder
addTensors(TensorProto.Builder builderForValue)
 Tensors contained within objects being serialized.
VariantTensorDataProto.Builder
addTensors(int index, 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
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
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.
final boolean
VariantTensorDataProto.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VariantTensorDataProto.Builder
mergeFrom(com.google.protobuf.Message other)
final 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 value)
 Tensors contained within objects being serialized.
VariantTensorDataProto.Builder
setTensors(int index, TensorProto.Builder builderForValue)
 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.
final VariantTensorDataProto.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public VariantTensorDataProto.Builder addAllTensors (Iterable<? extends TensorProto> values)

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

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

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 addTensors (TensorProto value)

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

public 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 VariantTensorDataProto build ()

public VariantTensorDataProto buildPartial ()

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

public VariantTensorDataProto.Builder clearMetadata ()

 Portions of the object that are not Tensors.
 
bytes metadata = 2;

public VariantTensorDataProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public VariantTensorDataProto.Builder clearTensors ()

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

public VariantTensorDataProto.Builder clearTypeName ()

 Name of the type of objects being serialized.
 
string type_name = 1;

public VariantTensorDataProto getDefaultInstanceForType ()

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

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

public com.google.protobuf.ByteString getMetadata ()

 Portions of the object that are not Tensors.
 
bytes metadata = 2;

public TensorProto getTensors (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 List<TensorProto.Builder> getTensorsBuilderList ()

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

public int getTensorsCount ()

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

public List<TensorProto> getTensorsList ()

 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;

public List<? extends TensorProtoOrBuilder> getTensorsOrBuilderList ()

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

public String getTypeName ()

 Name of the type of objects being serialized.
 
string type_name = 1;

public com.google.protobuf.ByteString getTypeNameBytes ()

 Name of the type of objects being serialized.
 
string type_name = 1;

public final boolean isInitialized ()

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

Throws
IOException

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

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

public VariantTensorDataProto.Builder removeTensors (int index)

 Tensors contained within objects being serialized.
 
repeated .tensorflow.TensorProto tensors = 3;

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

public VariantTensorDataProto.Builder setMetadata (com.google.protobuf.ByteString value)

 Portions of the object that are not Tensors.
 
bytes metadata = 2;

public VariantTensorDataProto.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public 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 setTypeName (String value)

 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 final VariantTensorDataProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)