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.GeneratedMessage.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.GeneratedMessage.Builder<Tensor.Builder>
implements TensorOrBuilder
A tensor value type.Protobuf type
google.cloud.aiplatform.v1.Tensor-
Method Summary
Modifier and TypeMethodDescriptionaddAllBoolVal(Iterable<? extends Boolean> values) Type specific representations that make it easy to create tensor protos in all languages.addAllBytesVal(Iterable<? extends com.google.protobuf.ByteString> values) [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]addAllDoubleVal(Iterable<? extends Double> values) [DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]addAllFloatVal(Iterable<? extends Float> values) [FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]addAllInt64Val(Iterable<? extends Long> values) [INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]addAllIntVal(Iterable<? extends Integer> values) [INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]addAllListVal(Iterable<? extends Tensor> values) A list of tensor values.addAllShape(Iterable<? extends Long> values) Shape of the tensor.addAllStringVal(Iterable<String> values) [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]addAllUint64Val(Iterable<? extends Long> values) [UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]addAllUintVal(Iterable<? extends Integer> values) [UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]addBoolVal(boolean value) Type specific representations that make it easy to create tensor protos in all languages.addBytesVal(com.google.protobuf.ByteString value) [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]addDoubleVal(double value) [DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]addFloatVal(float value) [FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]addInt64Val(long value) [INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]addIntVal(int value) [INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]addListVal(int index, Tensor value) A list of tensor values.addListVal(int index, Tensor.Builder builderForValue) A list of tensor values.addListVal(Tensor value) A list of tensor values.addListVal(Tensor.Builder builderForValue) A list of tensor values.A list of tensor values.addListValBuilder(int index) A list of tensor values.addShape(long value) Shape of the tensor.addStringVal(String value) [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]addStringValBytes(com.google.protobuf.ByteString value) [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]addUint64Val(long value) [UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]addUintVal(int value) [UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]build()clear()Type specific representations that make it easy to create tensor protos in all languages.[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING][DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]The data type of tensor.[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT][INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64][INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]A list of tensor values.Shape of the tensor.[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]Serialized raw tensor content.[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64][UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]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.intType specific representations that make it easy to create tensor protos in all languages.Type specific representations that make it easy to create tensor protos in all languages.com.google.protobuf.ByteStringgetBytesVal(int index) [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]int[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]List<com.google.protobuf.ByteString>[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoublegetDoubleVal(int index) [DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]int[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE][DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]getDtype()The data type of tensor.intThe data type of tensor.floatgetFloatVal(int index) [FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]int[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT][FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]longgetInt64Val(int index) [INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]int[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64][INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]intgetIntVal(int index) [INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]int[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32][INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]getListVal(int index) A list of tensor values.getListValBuilder(int index) A list of tensor values.A list of tensor values.intA list of tensor values.A list of tensor values.getListValOrBuilder(int index) A list of tensor values.List<? extends TensorOrBuilder>A list of tensor values.Deprecated.longgetShape(int index) Shape of the tensor.intShape of the tensor.Shape of the tensor.getStringVal(int index) [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]com.google.protobuf.ByteStringgetStringValBytes(int index) [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]int[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]com.google.protobuf.ProtocolStringList[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]Deprecated.intA map of string to tensor.A map of string to tensor.getStructValOrDefault(String key, Tensor defaultValue) A map of string to tensor.A map of string to tensor.com.google.protobuf.ByteStringSerialized raw tensor content.longgetUint64Val(int index) [UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]int[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64][UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]intgetUintVal(int index) [UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]int[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32][UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllStructVal(Map<String, Tensor> values) A map of string to tensor.putStructVal(String key, Tensor value) A map of string to tensor.A map of string to tensor.removeListVal(int index) A list of tensor values.removeStructVal(String key) A map of string to tensor.setBoolVal(int index, boolean value) Type specific representations that make it easy to create tensor protos in all languages.setBytesVal(int index, com.google.protobuf.ByteString value) [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]setDoubleVal(int index, double value) [DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]setDtype(Tensor.DataType value) The data type of tensor.setDtypeValue(int value) The data type of tensor.setFloatVal(int index, float value) [FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]setInt64Val(int index, long value) [INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]setIntVal(int index, int value) [INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]setListVal(int index, Tensor value) A list of tensor values.setListVal(int index, Tensor.Builder builderForValue) A list of tensor values.setShape(int index, long value) Shape of the tensor.setStringVal(int index, String value) [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]setTensorVal(com.google.protobuf.ByteString value) Serialized raw tensor content.setUint64Val(int index, long value) [UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]setUintVal(int index, int value) [UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Tensor.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Tensor.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Tensor.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Tensor.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Tensor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
The data type of tensor.
.google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;- Specified by:
getDtypein interfaceTensorOrBuilder- Returns:
- The dtype.
-
setDtype
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
The data type of tensor.
.google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;- Returns:
- This builder for chaining.
-
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
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
Shape of the tensor.
repeated int64 shape = 2;- Parameters:
value- The shape to add.- Returns:
- This builder for chaining.
-
addAllShape
Shape of the tensor.
repeated int64 shape = 2;- Parameters:
values- The shape to add.- Returns:
- This builder for chaining.
-
clearShape
Shape of the tensor.
repeated int64 shape = 2;- Returns:
- This builder for chaining.
-
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.cloud.aiplatform.v1.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.cloud.aiplatform.v1.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.cloud.aiplatform.v1.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
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.cloud.aiplatform.v1.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
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.cloud.aiplatform.v1.Tensor.DataType.BOOL]
repeated bool bool_val = 3;- Parameters:
value- The boolVal to add.- Returns:
- This builder for chaining.
-
addAllBoolVal
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.cloud.aiplatform.v1.Tensor.DataType.BOOL]
repeated bool bool_val = 3;- Parameters:
values- The boolVal to add.- Returns:
- This builder for chaining.
-
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.cloud.aiplatform.v1.Tensor.DataType.BOOL]
repeated bool bool_val = 3;- Returns:
- This builder for chaining.
-
getStringValList
public com.google.protobuf.ProtocolStringList getStringValList()[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;- Specified by:
getStringValListin interfaceTensorOrBuilder- Returns:
- A list containing the stringVal.
-
getStringValCount
public int getStringValCount()[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;- Specified by:
getStringValCountin interfaceTensorOrBuilder- Returns:
- The count of stringVal.
-
getStringVal
[STRING][google.cloud.aiplatform.v1.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.cloud.aiplatform.v1.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
[STRING][google.cloud.aiplatform.v1.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
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;- Parameters:
value- The stringVal to add.- Returns:
- This builder for chaining.
-
addAllStringVal
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;- Parameters:
values- The stringVal to add.- Returns:
- This builder for chaining.
-
clearStringVal
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;- Returns:
- This builder for chaining.
-
addStringValBytes
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;- Parameters:
value- The bytes of the stringVal to add.- Returns:
- This builder for chaining.
-
getBytesValList
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;- Specified by:
getBytesValListin interfaceTensorOrBuilder- Returns:
- A list containing the bytesVal.
-
getBytesValCount
public int getBytesValCount()[STRING][google.cloud.aiplatform.v1.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.cloud.aiplatform.v1.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
[STRING][google.cloud.aiplatform.v1.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
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;- Parameters:
value- The bytesVal to add.- Returns:
- This builder for chaining.
-
addAllBytesVal
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;- Parameters:
values- The bytesVal to add.- Returns:
- This builder for chaining.
-
clearBytesVal
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;- Returns:
- This builder for chaining.
-
getFloatValList
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5;- Specified by:
getFloatValListin interfaceTensorOrBuilder- Returns:
- A list containing the floatVal.
-
getFloatValCount
public int getFloatValCount()[FLOAT][google.cloud.aiplatform.v1.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.cloud.aiplatform.v1.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
[FLOAT][google.cloud.aiplatform.v1.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
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5;- Parameters:
value- The floatVal to add.- Returns:
- This builder for chaining.
-
addAllFloatVal
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5;- Parameters:
values- The floatVal to add.- Returns:
- This builder for chaining.
-
clearFloatVal
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5;- Returns:
- This builder for chaining.
-
getDoubleValList
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6;- Specified by:
getDoubleValListin interfaceTensorOrBuilder- Returns:
- A list containing the doubleVal.
-
getDoubleValCount
public int getDoubleValCount()[DOUBLE][google.cloud.aiplatform.v1.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.cloud.aiplatform.v1.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
[DOUBLE][google.cloud.aiplatform.v1.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
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6;- Parameters:
value- The doubleVal to add.- Returns:
- This builder for chaining.
-
addAllDoubleVal
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6;- Parameters:
values- The doubleVal to add.- Returns:
- This builder for chaining.
-
clearDoubleVal
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6;- Returns:
- This builder for chaining.
-
getIntValList
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.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.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.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.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.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
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.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
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]
repeated int32 int_val = 7;- Parameters:
value- The intVal to add.- Returns:
- This builder for chaining.
-
addAllIntVal
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]
repeated int32 int_val = 7;- Parameters:
values- The intVal to add.- Returns:
- This builder for chaining.
-
clearIntVal
[INT_8][google.cloud.aiplatform.v1.Tensor.DataType.INT8] [INT_16][google.cloud.aiplatform.v1.Tensor.DataType.INT16] [INT_32][google.cloud.aiplatform.v1.Tensor.DataType.INT32]
repeated int32 int_val = 7;- Returns:
- This builder for chaining.
-
getInt64ValList
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8;- Specified by:
getInt64ValListin interfaceTensorOrBuilder- Returns:
- A list containing the int64Val.
-
getInt64ValCount
public int getInt64ValCount()[INT64][google.cloud.aiplatform.v1.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.cloud.aiplatform.v1.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
[INT64][google.cloud.aiplatform.v1.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
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8;- Parameters:
value- The int64Val to add.- Returns:
- This builder for chaining.
-
addAllInt64Val
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8;- Parameters:
values- The int64Val to add.- Returns:
- This builder for chaining.
-
clearInt64Val
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8;- Returns:
- This builder for chaining.
-
getUintValList
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;- Specified by:
getUintValListin interfaceTensorOrBuilder- Returns:
- A list containing the uintVal.
-
getUintValCount
public int getUintValCount()[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.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.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.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
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.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
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;- Parameters:
value- The uintVal to add.- Returns:
- This builder for chaining.
-
addAllUintVal
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;- Parameters:
values- The uintVal to add.- Returns:
- This builder for chaining.
-
clearUintVal
[UINT8][google.cloud.aiplatform.v1.Tensor.DataType.UINT8] [UINT16][google.cloud.aiplatform.v1.Tensor.DataType.UINT16] [UINT32][google.cloud.aiplatform.v1.Tensor.DataType.UINT32]
repeated uint32 uint_val = 9;- Returns:
- This builder for chaining.
-
getUint64ValList
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;- Specified by:
getUint64ValListin interfaceTensorOrBuilder- Returns:
- A list containing the uint64Val.
-
getUint64ValCount
public int getUint64ValCount()[UINT64][google.cloud.aiplatform.v1.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.cloud.aiplatform.v1.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
[UINT64][google.cloud.aiplatform.v1.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
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;- Parameters:
value- The uint64Val to add.- Returns:
- This builder for chaining.
-
addAllUint64Val
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;- Parameters:
values- The uint64Val to add.- Returns:
- This builder for chaining.
-
clearUint64Val
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;- Returns:
- This builder for chaining.
-
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
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;- Specified by:
getListValin interfaceTensorOrBuilder
-
setListVal
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
setListVal
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
addListVal
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
addListVal
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
addListVal
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
addListVal
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
addAllListVal
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
clearListVal
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
removeListVal
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
getListValBuilder
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
getListValOrBuilder
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;- Specified by:
getListValOrBuilderin interfaceTensorOrBuilder
-
getListValOrBuilderList
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;- Specified by:
getListValOrBuilderListin interfaceTensorOrBuilder
-
addListValBuilder
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
addListValBuilder
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11; -
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
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;- Specified by:
containsStructValin interfaceTensorOrBuilder
-
getStructVal
Deprecated.UsegetStructValMap()instead.- Specified by:
getStructValin interfaceTensorOrBuilder
-
getStructValMap
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;- Specified by:
getStructValMapin interfaceTensorOrBuilder
-
getStructValOrDefault
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;- Specified by:
getStructValOrDefaultin interfaceTensorOrBuilder
-
getStructValOrThrow
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;- Specified by:
getStructValOrThrowin interfaceTensorOrBuilder
-
clearStructVal
-
removeStructVal
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12; -
getMutableStructVal
Deprecated.Use alternate mutation accessors instead. -
putStructVal
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12; -
putAllStructVal
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12; -
putStructValBuilderIfAbsent
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
Serialized raw tensor content.
bytes tensor_val = 13;- Parameters:
value- The tensorVal to set.- Returns:
- This builder for chaining.
-
clearTensorVal
Serialized raw tensor content.
bytes tensor_val = 13;- Returns:
- This builder for chaining.
-