Class Tensor.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
- com.google.cloud.aiplatform.v1beta1.Tensor.Builder
-
- All Implemented Interfaces:
TensorOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Tensor
public static final class Tensor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder> implements TensorOrBuilder
A tensor value type.
Protobuf typegoogle.cloud.aiplatform.v1beta1.Tensor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Tensor.Builder
addAllBoolVal(Iterable<? extends Boolean> values)
Type specific representations that make it easy to create tensor protos in all languages.Tensor.Builder
addAllBytesVal(Iterable<? extends com.google.protobuf.ByteString> values)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.Builder
addAllDoubleVal(Iterable<? extends Double> values)
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]Tensor.Builder
addAllFloatVal(Iterable<? extends Float> values)
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]Tensor.Builder
addAllInt64Val(Iterable<? extends Long> values)
[INT64][google.aiplatform.master.Tensor.DataType.INT64]Tensor.Builder
addAllIntVal(Iterable<? extends Integer> values)
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]Tensor.Builder
addAllListVal(Iterable<? extends Tensor> values)
A list of tensor values.Tensor.Builder
addAllShape(Iterable<? extends Long> values)
Shape of the tensor.Tensor.Builder
addAllStringVal(Iterable<String> values)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.Builder
addAllUint64Val(Iterable<? extends Long> values)
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]Tensor.Builder
addAllUintVal(Iterable<? extends Integer> values)
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]Tensor.Builder
addBoolVal(boolean value)
Type specific representations that make it easy to create tensor protos in all languages.Tensor.Builder
addBytesVal(com.google.protobuf.ByteString value)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.Builder
addDoubleVal(double value)
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]Tensor.Builder
addFloatVal(float value)
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]Tensor.Builder
addInt64Val(long value)
[INT64][google.aiplatform.master.Tensor.DataType.INT64]Tensor.Builder
addIntVal(int value)
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]Tensor.Builder
addListVal(int index, Tensor value)
A list of tensor values.Tensor.Builder
addListVal(int index, Tensor.Builder builderForValue)
A list of tensor values.Tensor.Builder
addListVal(Tensor value)
A list of tensor values.Tensor.Builder
addListVal(Tensor.Builder builderForValue)
A list of tensor values.Tensor.Builder
addListValBuilder()
A list of tensor values.Tensor.Builder
addListValBuilder(int index)
A list of tensor values.Tensor.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Tensor.Builder
addShape(long value)
Shape of the tensor.Tensor.Builder
addStringVal(String value)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.Builder
addStringValBytes(com.google.protobuf.ByteString value)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.Builder
addUint64Val(long value)
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]Tensor.Builder
addUintVal(int value)
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]Tensor
build()
Tensor
buildPartial()
Tensor.Builder
clear()
Tensor.Builder
clearBoolVal()
Type specific representations that make it easy to create tensor protos in all languages.Tensor.Builder
clearBytesVal()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.Builder
clearDoubleVal()
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]Tensor.Builder
clearDtype()
The data type of tensor.Tensor.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Tensor.Builder
clearFloatVal()
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]Tensor.Builder
clearInt64Val()
[INT64][google.aiplatform.master.Tensor.DataType.INT64]Tensor.Builder
clearIntVal()
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]Tensor.Builder
clearListVal()
A list of tensor values.Tensor.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Tensor.Builder
clearShape()
Shape of the tensor.Tensor.Builder
clearStringVal()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.Builder
clearStructVal()
Tensor.Builder
clearTensorVal()
Serialized raw tensor content.Tensor.Builder
clearUint64Val()
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]Tensor.Builder
clearUintVal()
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]Tensor.Builder
clone()
boolean
containsStructVal(String key)
A map of string to tensor.boolean
getBoolVal(int index)
Type specific representations that make it easy to create tensor protos in all languages.int
getBoolValCount()
Type specific representations that make it easy to create tensor protos in all languages.List<Boolean>
getBoolValList()
Type specific representations that make it easy to create tensor protos in all languages.com.google.protobuf.ByteString
getBytesVal(int index)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]int
getBytesValCount()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]List<com.google.protobuf.ByteString>
getBytesValList()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getDoubleVal(int index)
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]int
getDoubleValCount()
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]List<Double>
getDoubleValList()
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]Tensor.DataType
getDtype()
The data type of tensor.int
getDtypeValue()
The data type of tensor.float
getFloatVal(int index)
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]int
getFloatValCount()
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]List<Float>
getFloatValList()
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]long
getInt64Val(int index)
[INT64][google.aiplatform.master.Tensor.DataType.INT64]int
getInt64ValCount()
[INT64][google.aiplatform.master.Tensor.DataType.INT64]List<Long>
getInt64ValList()
[INT64][google.aiplatform.master.Tensor.DataType.INT64]int
getIntVal(int index)
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]int
getIntValCount()
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]List<Integer>
getIntValList()
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]Tensor
getListVal(int index)
A list of tensor values.Tensor.Builder
getListValBuilder(int index)
A list of tensor values.List<Tensor.Builder>
getListValBuilderList()
A list of tensor values.int
getListValCount()
A list of tensor values.List<Tensor>
getListValList()
A list of tensor values.TensorOrBuilder
getListValOrBuilder(int index)
A list of tensor values.List<? extends TensorOrBuilder>
getListValOrBuilderList()
A list of tensor values.Map<String,Tensor>
getMutableStructVal()
Deprecated.long
getShape(int index)
Shape of the tensor.int
getShapeCount()
Shape of the tensor.List<Long>
getShapeList()
Shape of the tensor.String
getStringVal(int index)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]com.google.protobuf.ByteString
getStringValBytes(int index)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]int
getStringValCount()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]com.google.protobuf.ProtocolStringList
getStringValList()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Map<String,Tensor>
getStructVal()
Deprecated.int
getStructValCount()
A map of string to tensor.Map<String,Tensor>
getStructValMap()
A map of string to tensor.Tensor
getStructValOrDefault(String key, Tensor defaultValue)
A map of string to tensor.Tensor
getStructValOrThrow(String key)
A map of string to tensor.com.google.protobuf.ByteString
getTensorVal()
Serialized raw tensor content.long
getUint64Val(int index)
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]int
getUint64ValCount()
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]List<Long>
getUint64ValList()
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]int
getUintVal(int index)
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]int
getUintValCount()
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]List<Integer>
getUintValList()
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Tensor.Builder
mergeFrom(Tensor other)
Tensor.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Tensor.Builder
mergeFrom(com.google.protobuf.Message other)
Tensor.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Tensor.Builder
putAllStructVal(Map<String,Tensor> values)
A map of string to tensor.Tensor.Builder
putStructVal(String key, Tensor value)
A map of string to tensor.Tensor.Builder
removeListVal(int index)
A list of tensor values.Tensor.Builder
removeStructVal(String key)
A map of string to tensor.Tensor.Builder
setBoolVal(int index, boolean value)
Type specific representations that make it easy to create tensor protos in all languages.Tensor.Builder
setBytesVal(int index, com.google.protobuf.ByteString value)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.Builder
setDoubleVal(int index, double value)
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]Tensor.Builder
setDtype(Tensor.DataType value)
The data type of tensor.Tensor.Builder
setDtypeValue(int value)
The data type of tensor.Tensor.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Tensor.Builder
setFloatVal(int index, float value)
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]Tensor.Builder
setInt64Val(int index, long value)
[INT64][google.aiplatform.master.Tensor.DataType.INT64]Tensor.Builder
setIntVal(int index, int value)
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]Tensor.Builder
setListVal(int index, Tensor value)
A list of tensor values.Tensor.Builder
setListVal(int index, Tensor.Builder builderForValue)
A list of tensor values.Tensor.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Tensor.Builder
setShape(int index, long value)
Shape of the tensor.Tensor.Builder
setStringVal(int index, String value)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.Builder
setTensorVal(com.google.protobuf.ByteString value)
Serialized raw tensor content.Tensor.Builder
setUint64Val(int index, long value)
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]Tensor.Builder
setUintVal(int index, int value)
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]Tensor.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.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 com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
clear
public Tensor.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
getDefaultInstanceForType
public Tensor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Tensor build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Tensor buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Tensor.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
setField
public Tensor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
clearField
public Tensor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
clearOneof
public Tensor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
setRepeatedField
public Tensor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
addRepeatedField
public Tensor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
mergeFrom
public Tensor.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Tensor.Builder>
-
mergeFrom
public Tensor.Builder mergeFrom(Tensor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
mergeFrom
public Tensor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Tensor.Builder>
- Throws:
IOException
-
getDtypeValue
public int getDtypeValue()
The data type of tensor.
.google.cloud.aiplatform.v1beta1.Tensor.DataType dtype = 1;
- Specified by:
getDtypeValue
in interfaceTensorOrBuilder
- Returns:
- The enum numeric value on the wire for dtype.
-
setDtypeValue
public Tensor.Builder setDtypeValue(int value)
The data type of tensor.
.google.cloud.aiplatform.v1beta1.Tensor.DataType dtype = 1;
- Parameters:
value
- The enum numeric value on the wire for dtype to set.- Returns:
- This builder for chaining.
-
getDtype
public Tensor.DataType getDtype()
The data type of tensor.
.google.cloud.aiplatform.v1beta1.Tensor.DataType dtype = 1;
- Specified by:
getDtype
in interfaceTensorOrBuilder
- Returns:
- The dtype.
-
setDtype
public Tensor.Builder setDtype(Tensor.DataType value)
The data type of tensor.
.google.cloud.aiplatform.v1beta1.Tensor.DataType dtype = 1;
- Parameters:
value
- The dtype to set.- Returns:
- This builder for chaining.
-
clearDtype
public Tensor.Builder clearDtype()
The data type of tensor.
.google.cloud.aiplatform.v1beta1.Tensor.DataType dtype = 1;
- Returns:
- This builder for chaining.
-
getShapeList
public List<Long> getShapeList()
Shape of the tensor.
repeated int64 shape = 2;
- Specified by:
getShapeList
in interfaceTensorOrBuilder
- Returns:
- A list containing the shape.
-
getShapeCount
public int getShapeCount()
Shape of the tensor.
repeated int64 shape = 2;
- Specified by:
getShapeCount
in interfaceTensorOrBuilder
- Returns:
- The count of shape.
-
getShape
public long getShape(int index)
Shape of the tensor.
repeated int64 shape = 2;
- Specified by:
getShape
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The shape at the given index.
-
setShape
public Tensor.Builder setShape(int index, long value)
Shape of the tensor.
repeated int64 shape = 2;
- Parameters:
index
- The index to set the value at.value
- The shape to set.- Returns:
- This builder for chaining.
-
addShape
public Tensor.Builder addShape(long value)
Shape of the tensor.
repeated int64 shape = 2;
- Parameters:
value
- The shape to add.- Returns:
- This builder for chaining.
-
addAllShape
public Tensor.Builder addAllShape(Iterable<? extends Long> values)
Shape of the tensor.
repeated int64 shape = 2;
- Parameters:
values
- The shape to add.- Returns:
- This builder for chaining.
-
clearShape
public Tensor.Builder clearShape()
Shape of the tensor.
repeated int64 shape = 2;
- Returns:
- This builder for chaining.
-
getBoolValList
public List<Boolean> getBoolValList()
Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order. [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
repeated bool bool_val = 3;
- Specified by:
getBoolValList
in interfaceTensorOrBuilder
- Returns:
- A list containing the boolVal.
-
getBoolValCount
public int getBoolValCount()
Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order. [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
repeated bool bool_val = 3;
- Specified by:
getBoolValCount
in interfaceTensorOrBuilder
- Returns:
- The count of boolVal.
-
getBoolVal
public boolean getBoolVal(int index)
Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order. [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
repeated bool bool_val = 3;
- Specified by:
getBoolVal
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The boolVal at the given index.
-
setBoolVal
public Tensor.Builder setBoolVal(int index, boolean value)
Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order. [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
repeated bool bool_val = 3;
- Parameters:
index
- The index to set the value at.value
- The boolVal to set.- Returns:
- This builder for chaining.
-
addBoolVal
public Tensor.Builder addBoolVal(boolean value)
Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order. [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
repeated bool bool_val = 3;
- Parameters:
value
- The boolVal to add.- Returns:
- This builder for chaining.
-
addAllBoolVal
public Tensor.Builder addAllBoolVal(Iterable<? extends Boolean> values)
Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order. [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
repeated bool bool_val = 3;
- Parameters:
values
- The boolVal to add.- Returns:
- This builder for chaining.
-
clearBoolVal
public Tensor.Builder clearBoolVal()
Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order. [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
repeated bool bool_val = 3;
- Returns:
- This builder for chaining.
-
getStringValList
public com.google.protobuf.ProtocolStringList getStringValList()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated string string_val = 14;
- Specified by:
getStringValList
in interfaceTensorOrBuilder
- Returns:
- A list containing the stringVal.
-
getStringValCount
public int getStringValCount()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated string string_val = 14;
- Specified by:
getStringValCount
in interfaceTensorOrBuilder
- Returns:
- The count of stringVal.
-
getStringVal
public String getStringVal(int index)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated string string_val = 14;
- Specified by:
getStringVal
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The stringVal at the given index.
-
getStringValBytes
public com.google.protobuf.ByteString getStringValBytes(int index)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated string string_val = 14;
- Specified by:
getStringValBytes
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the stringVal at the given index.
-
setStringVal
public Tensor.Builder setStringVal(int index, String value)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated string string_val = 14;
- Parameters:
index
- The index to set the value at.value
- The stringVal to set.- Returns:
- This builder for chaining.
-
addStringVal
public Tensor.Builder addStringVal(String value)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated string string_val = 14;
- Parameters:
value
- The stringVal to add.- Returns:
- This builder for chaining.
-
addAllStringVal
public Tensor.Builder addAllStringVal(Iterable<String> values)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated string string_val = 14;
- Parameters:
values
- The stringVal to add.- Returns:
- This builder for chaining.
-
clearStringVal
public Tensor.Builder clearStringVal()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated string string_val = 14;
- Returns:
- This builder for chaining.
-
addStringValBytes
public Tensor.Builder addStringValBytes(com.google.protobuf.ByteString value)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated string string_val = 14;
- Parameters:
value
- The bytes of the stringVal to add.- Returns:
- This builder for chaining.
-
getBytesValList
public List<com.google.protobuf.ByteString> getBytesValList()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;
- Specified by:
getBytesValList
in interfaceTensorOrBuilder
- Returns:
- A list containing the bytesVal.
-
getBytesValCount
public int getBytesValCount()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;
- Specified by:
getBytesValCount
in interfaceTensorOrBuilder
- Returns:
- The count of bytesVal.
-
getBytesVal
public com.google.protobuf.ByteString getBytesVal(int index)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;
- Specified by:
getBytesVal
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The bytesVal at the given index.
-
setBytesVal
public Tensor.Builder setBytesVal(int index, com.google.protobuf.ByteString value)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;
- Parameters:
index
- The index to set the value at.value
- The bytesVal to set.- Returns:
- This builder for chaining.
-
addBytesVal
public Tensor.Builder addBytesVal(com.google.protobuf.ByteString value)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;
- Parameters:
value
- The bytesVal to add.- Returns:
- This builder for chaining.
-
addAllBytesVal
public Tensor.Builder addAllBytesVal(Iterable<? extends com.google.protobuf.ByteString> values)
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;
- Parameters:
values
- The bytesVal to add.- Returns:
- This builder for chaining.
-
clearBytesVal
public Tensor.Builder clearBytesVal()
[STRING][google.aiplatform.master.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;
- Returns:
- This builder for chaining.
-
getFloatValList
public List<Float> getFloatValList()
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
repeated float float_val = 5;
- Specified by:
getFloatValList
in interfaceTensorOrBuilder
- Returns:
- A list containing the floatVal.
-
getFloatValCount
public int getFloatValCount()
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
repeated float float_val = 5;
- Specified by:
getFloatValCount
in interfaceTensorOrBuilder
- Returns:
- The count of floatVal.
-
getFloatVal
public float getFloatVal(int index)
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
repeated float float_val = 5;
- Specified by:
getFloatVal
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The floatVal at the given index.
-
setFloatVal
public Tensor.Builder setFloatVal(int index, float value)
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
repeated float float_val = 5;
- Parameters:
index
- The index to set the value at.value
- The floatVal to set.- Returns:
- This builder for chaining.
-
addFloatVal
public Tensor.Builder addFloatVal(float value)
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
repeated float float_val = 5;
- Parameters:
value
- The floatVal to add.- Returns:
- This builder for chaining.
-
addAllFloatVal
public Tensor.Builder addAllFloatVal(Iterable<? extends Float> values)
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
repeated float float_val = 5;
- Parameters:
values
- The floatVal to add.- Returns:
- This builder for chaining.
-
clearFloatVal
public Tensor.Builder clearFloatVal()
[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
repeated float float_val = 5;
- Returns:
- This builder for chaining.
-
getDoubleValList
public List<Double> getDoubleValList()
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
repeated double double_val = 6;
- Specified by:
getDoubleValList
in interfaceTensorOrBuilder
- Returns:
- A list containing the doubleVal.
-
getDoubleValCount
public int getDoubleValCount()
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
repeated double double_val = 6;
- Specified by:
getDoubleValCount
in interfaceTensorOrBuilder
- Returns:
- The count of doubleVal.
-
getDoubleVal
public double getDoubleVal(int index)
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
repeated double double_val = 6;
- Specified by:
getDoubleVal
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The doubleVal at the given index.
-
setDoubleVal
public Tensor.Builder setDoubleVal(int index, double value)
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
repeated double double_val = 6;
- Parameters:
index
- The index to set the value at.value
- The doubleVal to set.- Returns:
- This builder for chaining.
-
addDoubleVal
public Tensor.Builder addDoubleVal(double value)
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
repeated double double_val = 6;
- Parameters:
value
- The doubleVal to add.- Returns:
- This builder for chaining.
-
addAllDoubleVal
public Tensor.Builder addAllDoubleVal(Iterable<? extends Double> values)
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
repeated double double_val = 6;
- Parameters:
values
- The doubleVal to add.- Returns:
- This builder for chaining.
-
clearDoubleVal
public Tensor.Builder clearDoubleVal()
[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
repeated double double_val = 6;
- Returns:
- This builder for chaining.
-
getIntValList
public List<Integer> getIntValList()
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
repeated int32 int_val = 7;
- Specified by:
getIntValList
in interfaceTensorOrBuilder
- Returns:
- A list containing the intVal.
-
getIntValCount
public int getIntValCount()
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
repeated int32 int_val = 7;
- Specified by:
getIntValCount
in interfaceTensorOrBuilder
- Returns:
- The count of intVal.
-
getIntVal
public int getIntVal(int index)
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
repeated int32 int_val = 7;
- Specified by:
getIntVal
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The intVal at the given index.
-
setIntVal
public Tensor.Builder setIntVal(int index, int value)
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
repeated int32 int_val = 7;
- Parameters:
index
- The index to set the value at.value
- The intVal to set.- Returns:
- This builder for chaining.
-
addIntVal
public Tensor.Builder addIntVal(int value)
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
repeated int32 int_val = 7;
- Parameters:
value
- The intVal to add.- Returns:
- This builder for chaining.
-
addAllIntVal
public Tensor.Builder addAllIntVal(Iterable<? extends Integer> values)
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
repeated int32 int_val = 7;
- Parameters:
values
- The intVal to add.- Returns:
- This builder for chaining.
-
clearIntVal
public Tensor.Builder clearIntVal()
[INT_8][google.aiplatform.master.Tensor.DataType.INT8] [INT_16][google.aiplatform.master.Tensor.DataType.INT16] [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
repeated int32 int_val = 7;
- Returns:
- This builder for chaining.
-
getInt64ValList
public List<Long> getInt64ValList()
[INT64][google.aiplatform.master.Tensor.DataType.INT64]
repeated int64 int64_val = 8;
- Specified by:
getInt64ValList
in interfaceTensorOrBuilder
- Returns:
- A list containing the int64Val.
-
getInt64ValCount
public int getInt64ValCount()
[INT64][google.aiplatform.master.Tensor.DataType.INT64]
repeated int64 int64_val = 8;
- Specified by:
getInt64ValCount
in interfaceTensorOrBuilder
- Returns:
- The count of int64Val.
-
getInt64Val
public long getInt64Val(int index)
[INT64][google.aiplatform.master.Tensor.DataType.INT64]
repeated int64 int64_val = 8;
- Specified by:
getInt64Val
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The int64Val at the given index.
-
setInt64Val
public Tensor.Builder setInt64Val(int index, long value)
[INT64][google.aiplatform.master.Tensor.DataType.INT64]
repeated int64 int64_val = 8;
- Parameters:
index
- The index to set the value at.value
- The int64Val to set.- Returns:
- This builder for chaining.
-
addInt64Val
public Tensor.Builder addInt64Val(long value)
[INT64][google.aiplatform.master.Tensor.DataType.INT64]
repeated int64 int64_val = 8;
- Parameters:
value
- The int64Val to add.- Returns:
- This builder for chaining.
-
addAllInt64Val
public Tensor.Builder addAllInt64Val(Iterable<? extends Long> values)
[INT64][google.aiplatform.master.Tensor.DataType.INT64]
repeated int64 int64_val = 8;
- Parameters:
values
- The int64Val to add.- Returns:
- This builder for chaining.
-
clearInt64Val
public Tensor.Builder clearInt64Val()
[INT64][google.aiplatform.master.Tensor.DataType.INT64]
repeated int64 int64_val = 8;
- Returns:
- This builder for chaining.
-
getUintValList
public List<Integer> getUintValList()
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;
- Specified by:
getUintValList
in interfaceTensorOrBuilder
- Returns:
- A list containing the uintVal.
-
getUintValCount
public int getUintValCount()
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;
- Specified by:
getUintValCount
in interfaceTensorOrBuilder
- Returns:
- The count of uintVal.
-
getUintVal
public int getUintVal(int index)
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;
- Specified by:
getUintVal
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The uintVal at the given index.
-
setUintVal
public Tensor.Builder setUintVal(int index, int value)
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;
- Parameters:
index
- The index to set the value at.value
- The uintVal to set.- Returns:
- This builder for chaining.
-
addUintVal
public Tensor.Builder addUintVal(int value)
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;
- Parameters:
value
- The uintVal to add.- Returns:
- This builder for chaining.
-
addAllUintVal
public Tensor.Builder addAllUintVal(Iterable<? extends Integer> values)
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;
- Parameters:
values
- The uintVal to add.- Returns:
- This builder for chaining.
-
clearUintVal
public Tensor.Builder clearUintVal()
[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;
- Returns:
- This builder for chaining.
-
getUint64ValList
public List<Long> getUint64ValList()
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;
- Specified by:
getUint64ValList
in interfaceTensorOrBuilder
- Returns:
- A list containing the uint64Val.
-
getUint64ValCount
public int getUint64ValCount()
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;
- Specified by:
getUint64ValCount
in interfaceTensorOrBuilder
- Returns:
- The count of uint64Val.
-
getUint64Val
public long getUint64Val(int index)
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;
- Specified by:
getUint64Val
in interfaceTensorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The uint64Val at the given index.
-
setUint64Val
public Tensor.Builder setUint64Val(int index, long value)
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;
- Parameters:
index
- The index to set the value at.value
- The uint64Val to set.- Returns:
- This builder for chaining.
-
addUint64Val
public Tensor.Builder addUint64Val(long value)
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;
- Parameters:
value
- The uint64Val to add.- Returns:
- This builder for chaining.
-
addAllUint64Val
public Tensor.Builder addAllUint64Val(Iterable<? extends Long> values)
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;
- Parameters:
values
- The uint64Val to add.- Returns:
- This builder for chaining.
-
clearUint64Val
public Tensor.Builder clearUint64Val()
[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;
- Returns:
- This builder for chaining.
-
getListValList
public List<Tensor> getListValList()
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
- Specified by:
getListValList
in interfaceTensorOrBuilder
-
getListValCount
public int getListValCount()
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
- Specified by:
getListValCount
in interfaceTensorOrBuilder
-
getListVal
public Tensor getListVal(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
- Specified by:
getListVal
in interfaceTensorOrBuilder
-
setListVal
public Tensor.Builder setListVal(int index, Tensor value)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
setListVal
public Tensor.Builder setListVal(int index, Tensor.Builder builderForValue)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
addListVal
public Tensor.Builder addListVal(Tensor value)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
addListVal
public Tensor.Builder addListVal(int index, Tensor value)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
addListVal
public Tensor.Builder addListVal(Tensor.Builder builderForValue)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
addListVal
public Tensor.Builder addListVal(int index, Tensor.Builder builderForValue)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
addAllListVal
public Tensor.Builder addAllListVal(Iterable<? extends Tensor> values)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
clearListVal
public Tensor.Builder clearListVal()
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
removeListVal
public Tensor.Builder removeListVal(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
getListValBuilder
public Tensor.Builder getListValBuilder(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
getListValOrBuilder
public TensorOrBuilder getListValOrBuilder(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
- Specified by:
getListValOrBuilder
in interfaceTensorOrBuilder
-
getListValOrBuilderList
public List<? extends TensorOrBuilder> getListValOrBuilderList()
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
- Specified by:
getListValOrBuilderList
in interfaceTensorOrBuilder
-
addListValBuilder
public Tensor.Builder addListValBuilder()
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
addListValBuilder
public Tensor.Builder addListValBuilder(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
getListValBuilderList
public List<Tensor.Builder> getListValBuilderList()
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
-
getStructValCount
public int getStructValCount()
Description copied from interface:TensorOrBuilder
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
- Specified by:
getStructValCount
in interfaceTensorOrBuilder
-
containsStructVal
public boolean containsStructVal(String key)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
- Specified by:
containsStructVal
in interfaceTensorOrBuilder
-
getStructVal
@Deprecated public Map<String,Tensor> getStructVal()
Deprecated.UsegetStructValMap()
instead.- Specified by:
getStructVal
in interfaceTensorOrBuilder
-
getStructValMap
public Map<String,Tensor> getStructValMap()
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
- Specified by:
getStructValMap
in interfaceTensorOrBuilder
-
getStructValOrDefault
public Tensor getStructValOrDefault(String key, Tensor defaultValue)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
- Specified by:
getStructValOrDefault
in interfaceTensorOrBuilder
-
getStructValOrThrow
public Tensor getStructValOrThrow(String key)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
- Specified by:
getStructValOrThrow
in interfaceTensorOrBuilder
-
clearStructVal
public Tensor.Builder clearStructVal()
-
removeStructVal
public Tensor.Builder removeStructVal(String key)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
-
getMutableStructVal
@Deprecated public Map<String,Tensor> getMutableStructVal()
Deprecated.Use alternate mutation accessors instead.
-
putStructVal
public Tensor.Builder putStructVal(String key, Tensor value)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
-
putAllStructVal
public Tensor.Builder putAllStructVal(Map<String,Tensor> values)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
-
getTensorVal
public com.google.protobuf.ByteString getTensorVal()
Serialized raw tensor content.
bytes tensor_val = 13;
- Specified by:
getTensorVal
in interfaceTensorOrBuilder
- Returns:
- The tensorVal.
-
setTensorVal
public Tensor.Builder setTensorVal(com.google.protobuf.ByteString value)
Serialized raw tensor content.
bytes tensor_val = 13;
- Parameters:
value
- The tensorVal to set.- Returns:
- This builder for chaining.
-
clearTensorVal
public Tensor.Builder clearTensorVal()
Serialized raw tensor content.
bytes tensor_val = 13;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Tensor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
mergeUnknownFields
public final Tensor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
-