Package com.google.cloud.aiplatform.v1
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.v1.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.v1.Tensor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Tensor.BuilderaddAllBoolVal(Iterable<? extends Boolean> values)Type specific representations that make it easy to create tensor protos in all languages.Tensor.BuilderaddAllBytesVal(Iterable<? extends com.google.protobuf.ByteString> values)[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.BuilderaddAllDoubleVal(Iterable<? extends Double> values)[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]Tensor.BuilderaddAllFloatVal(Iterable<? extends Float> values)[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]Tensor.BuilderaddAllInt64Val(Iterable<? extends Long> values)[INT64][google.aiplatform.master.Tensor.DataType.INT64]Tensor.BuilderaddAllIntVal(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.BuilderaddAllListVal(Iterable<? extends Tensor> values)A list of tensor values.Tensor.BuilderaddAllShape(Iterable<? extends Long> values)Shape of the tensor.Tensor.BuilderaddAllStringVal(Iterable<String> values)[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.BuilderaddAllUint64Val(Iterable<? extends Long> values)[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]Tensor.BuilderaddAllUintVal(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.BuilderaddBoolVal(boolean value)Type specific representations that make it easy to create tensor protos in all languages.Tensor.BuilderaddBytesVal(com.google.protobuf.ByteString value)[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.BuilderaddDoubleVal(double value)[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]Tensor.BuilderaddFloatVal(float value)[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]Tensor.BuilderaddInt64Val(long value)[INT64][google.aiplatform.master.Tensor.DataType.INT64]Tensor.BuilderaddIntVal(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.BuilderaddListVal(int index, Tensor value)A list of tensor values.Tensor.BuilderaddListVal(int index, Tensor.Builder builderForValue)A list of tensor values.Tensor.BuilderaddListVal(Tensor value)A list of tensor values.Tensor.BuilderaddListVal(Tensor.Builder builderForValue)A list of tensor values.Tensor.BuilderaddListValBuilder()A list of tensor values.Tensor.BuilderaddListValBuilder(int index)A list of tensor values.Tensor.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Tensor.BuilderaddShape(long value)Shape of the tensor.Tensor.BuilderaddStringVal(String value)[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.BuilderaddStringValBytes(com.google.protobuf.ByteString value)[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.BuilderaddUint64Val(long value)[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]Tensor.BuilderaddUintVal(int value)[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]Tensorbuild()TensorbuildPartial()Tensor.Builderclear()Tensor.BuilderclearBoolVal()Type specific representations that make it easy to create tensor protos in all languages.Tensor.BuilderclearBytesVal()[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.BuilderclearDoubleVal()[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]Tensor.BuilderclearDtype()The data type of tensor.Tensor.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Tensor.BuilderclearFloatVal()[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]Tensor.BuilderclearInt64Val()[INT64][google.aiplatform.master.Tensor.DataType.INT64]Tensor.BuilderclearIntVal()[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.BuilderclearListVal()A list of tensor values.Tensor.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Tensor.BuilderclearShape()Shape of the tensor.Tensor.BuilderclearStringVal()[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.BuilderclearStructVal()Tensor.BuilderclearTensorVal()Serialized raw tensor content.Tensor.BuilderclearUint64Val()[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]Tensor.BuilderclearUintVal()[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]Tensor.Builderclone()booleancontainsStructVal(String key)A map of string to tensor.booleangetBoolVal(int index)Type specific representations that make it easy to create tensor protos in all languages.intgetBoolValCount()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.ByteStringgetBytesVal(int index)[STRING][google.aiplatform.master.Tensor.DataType.STRING]intgetBytesValCount()[STRING][google.aiplatform.master.Tensor.DataType.STRING]List<com.google.protobuf.ByteString>getBytesValList()[STRING][google.aiplatform.master.Tensor.DataType.STRING]TensorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()doublegetDoubleVal(int index)[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]intgetDoubleValCount()[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]List<Double>getDoubleValList()[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]Tensor.DataTypegetDtype()The data type of tensor.intgetDtypeValue()The data type of tensor.floatgetFloatVal(int index)[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]intgetFloatValCount()[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]List<Float>getFloatValList()[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]longgetInt64Val(int index)[INT64][google.aiplatform.master.Tensor.DataType.INT64]intgetInt64ValCount()[INT64][google.aiplatform.master.Tensor.DataType.INT64]List<Long>getInt64ValList()[INT64][google.aiplatform.master.Tensor.DataType.INT64]intgetIntVal(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]intgetIntValCount()[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]TensorgetListVal(int index)A list of tensor values.Tensor.BuildergetListValBuilder(int index)A list of tensor values.List<Tensor.Builder>getListValBuilderList()A list of tensor values.intgetListValCount()A list of tensor values.List<Tensor>getListValList()A list of tensor values.TensorOrBuildergetListValOrBuilder(int index)A list of tensor values.List<? extends TensorOrBuilder>getListValOrBuilderList()A list of tensor values.Map<String,Tensor>getMutableStructVal()Deprecated.longgetShape(int index)Shape of the tensor.intgetShapeCount()Shape of the tensor.List<Long>getShapeList()Shape of the tensor.StringgetStringVal(int index)[STRING][google.aiplatform.master.Tensor.DataType.STRING]com.google.protobuf.ByteStringgetStringValBytes(int index)[STRING][google.aiplatform.master.Tensor.DataType.STRING]intgetStringValCount()[STRING][google.aiplatform.master.Tensor.DataType.STRING]com.google.protobuf.ProtocolStringListgetStringValList()[STRING][google.aiplatform.master.Tensor.DataType.STRING]Map<String,Tensor>getStructVal()Deprecated.intgetStructValCount()A map of string to tensor.Map<String,Tensor>getStructValMap()A map of string to tensor.TensorgetStructValOrDefault(String key, Tensor defaultValue)A map of string to tensor.TensorgetStructValOrThrow(String key)A map of string to tensor.com.google.protobuf.ByteStringgetTensorVal()Serialized raw tensor content.longgetUint64Val(int index)[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]intgetUint64ValCount()[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]List<Long>getUint64ValList()[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]intgetUintVal(int index)[UINT8][google.aiplatform.master.Tensor.DataType.UINT8] [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]intgetUintValCount()[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.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Tensor.BuildermergeFrom(Tensor other)Tensor.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Tensor.BuildermergeFrom(com.google.protobuf.Message other)Tensor.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Tensor.BuilderputAllStructVal(Map<String,Tensor> values)A map of string to tensor.Tensor.BuilderputStructVal(String key, Tensor value)A map of string to tensor.Tensor.BuilderremoveListVal(int index)A list of tensor values.Tensor.BuilderremoveStructVal(String key)A map of string to tensor.Tensor.BuildersetBoolVal(int index, boolean value)Type specific representations that make it easy to create tensor protos in all languages.Tensor.BuildersetBytesVal(int index, com.google.protobuf.ByteString value)[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.BuildersetDoubleVal(int index, double value)[DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]Tensor.BuildersetDtype(Tensor.DataType value)The data type of tensor.Tensor.BuildersetDtypeValue(int value)The data type of tensor.Tensor.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Tensor.BuildersetFloatVal(int index, float value)[FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]Tensor.BuildersetInt64Val(int index, long value)[INT64][google.aiplatform.master.Tensor.DataType.INT64]Tensor.BuildersetIntVal(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.BuildersetListVal(int index, Tensor value)A list of tensor values.Tensor.BuildersetListVal(int index, Tensor.Builder builderForValue)A list of tensor values.Tensor.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Tensor.BuildersetShape(int index, long value)Shape of the tensor.Tensor.BuildersetStringVal(int index, String value)[STRING][google.aiplatform.master.Tensor.DataType.STRING]Tensor.BuildersetTensorVal(com.google.protobuf.ByteString value)Serialized raw tensor content.Tensor.BuildersetUint64Val(int index, long value)[UINT64][google.aiplatform.master.Tensor.DataType.UINT64]Tensor.BuildersetUintVal(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.BuildersetUnknownFields(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
clear
public Tensor.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
getDefaultInstanceForType
public Tensor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Tensor build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Tensor buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Tensor.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
setField
public Tensor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
clearField
public Tensor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
clearOneof
public Tensor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
setRepeatedField
public Tensor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
addRepeatedField
public Tensor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
mergeFrom
public Tensor.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Tensor.Builder>
-
mergeFrom
public Tensor.Builder mergeFrom(Tensor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Tensor.Builder>- Throws:
IOException
-
getDtypeValue
public int getDtypeValue()
The data type of tensor.
.google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;- Specified by:
getDtypeValuein 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.v1.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.v1.Tensor.DataType dtype = 1;- Specified by:
getDtypein interfaceTensorOrBuilder- Returns:
- The dtype.
-
setDtype
public Tensor.Builder setDtype(Tensor.DataType value)
The data type of tensor.
.google.cloud.aiplatform.v1.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.v1.Tensor.DataType dtype = 1;- Returns:
- This builder for chaining.
-
getShapeList
public List<Long> getShapeList()
Shape of the tensor.
repeated int64 shape = 2;- Specified by:
getShapeListin interfaceTensorOrBuilder- Returns:
- A list containing the shape.
-
getShapeCount
public int getShapeCount()
Shape of the tensor.
repeated int64 shape = 2;- Specified by:
getShapeCountin interfaceTensorOrBuilder- Returns:
- The count of shape.
-
getShape
public long getShape(int index)
Shape of the tensor.
repeated int64 shape = 2;- Specified by:
getShapein 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:
getBoolValListin 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:
getBoolValCountin 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:
getBoolValin 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:
getStringValListin 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:
getStringValCountin 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:
getStringValin 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:
getStringValBytesin 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:
getBytesValListin 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:
getBytesValCountin 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:
getBytesValin 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:
getFloatValListin 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:
getFloatValCountin 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:
getFloatValin 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:
getDoubleValListin 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:
getDoubleValCountin 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:
getDoubleValin 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:
getIntValListin 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:
getIntValCountin 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:
getIntValin 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:
getInt64ValListin 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:
getInt64ValCountin 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:
getInt64Valin 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:
getUintValListin 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:
getUintValCountin 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:
getUintValin 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:
getUint64ValListin 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:
getUint64ValCountin 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:
getUint64Valin 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.v1.Tensor list_val = 11;- Specified by:
getListValListin interfaceTensorOrBuilder
-
getListValCount
public int getListValCount()
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;- Specified by:
getListValCountin interfaceTensorOrBuilder
-
getListVal
public Tensor getListVal(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;- Specified by:
getListValin interfaceTensorOrBuilder
-
setListVal
public Tensor.Builder setListVal(int index, Tensor value)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
setListVal
public Tensor.Builder setListVal(int index, Tensor.Builder builderForValue)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
addListVal
public Tensor.Builder addListVal(Tensor value)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
addListVal
public Tensor.Builder addListVal(int index, Tensor value)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
addListVal
public Tensor.Builder addListVal(Tensor.Builder builderForValue)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
addListVal
public Tensor.Builder addListVal(int index, Tensor.Builder builderForValue)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
addAllListVal
public Tensor.Builder addAllListVal(Iterable<? extends Tensor> values)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
clearListVal
public Tensor.Builder clearListVal()
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
removeListVal
public Tensor.Builder removeListVal(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
getListValBuilder
public Tensor.Builder getListValBuilder(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
getListValOrBuilder
public TensorOrBuilder getListValOrBuilder(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;- Specified by:
getListValOrBuilderin interfaceTensorOrBuilder
-
getListValOrBuilderList
public List<? extends TensorOrBuilder> getListValOrBuilderList()
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;- Specified by:
getListValOrBuilderListin interfaceTensorOrBuilder
-
addListValBuilder
public Tensor.Builder addListValBuilder()
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
addListValBuilder
public Tensor.Builder addListValBuilder(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
getListValBuilderList
public List<Tensor.Builder> getListValBuilderList()
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
-
getStructValCount
public int getStructValCount()
Description copied from interface:TensorOrBuilderA map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;- Specified by:
getStructValCountin interfaceTensorOrBuilder
-
containsStructVal
public boolean containsStructVal(String key)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;- Specified by:
containsStructValin interfaceTensorOrBuilder
-
getStructVal
@Deprecated public Map<String,Tensor> getStructVal()
Deprecated.UsegetStructValMap()instead.- Specified by:
getStructValin interfaceTensorOrBuilder
-
getStructValMap
public Map<String,Tensor> getStructValMap()
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;- Specified by:
getStructValMapin interfaceTensorOrBuilder
-
getStructValOrDefault
public Tensor getStructValOrDefault(String key, Tensor defaultValue)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;- Specified by:
getStructValOrDefaultin interfaceTensorOrBuilder
-
getStructValOrThrow
public Tensor getStructValOrThrow(String key)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;- Specified by:
getStructValOrThrowin interfaceTensorOrBuilder
-
clearStructVal
public Tensor.Builder clearStructVal()
-
removeStructVal
public Tensor.Builder removeStructVal(String key)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.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.v1.Tensor> struct_val = 12;
-
putAllStructVal
public Tensor.Builder putAllStructVal(Map<String,Tensor> values)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
-
getTensorVal
public com.google.protobuf.ByteString getTensorVal()
Serialized raw tensor content.
bytes tensor_val = 13;- Specified by:
getTensorValin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
mergeUnknownFields
public final Tensor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Tensor.Builder>
-
-