Package com.google.cloud.aiplatform.v1
Class Tensor
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.Tensor
- All Implemented Interfaces:
TensorOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Tensor
extends com.google.protobuf.GeneratedMessage
implements TensorOrBuilder
A tensor value type.Protobuf type
google.cloud.aiplatform.v1.Tensor- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA tensor value type.static enumData type of the tensor.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsStructVal(String key) A map of string to tensor.booleanbooleangetBoolVal(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 Tensorstatic final com.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.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.com.google.protobuf.Parser<Tensor>intlonggetShape(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]inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Tensor.Builderstatic Tensor.BuildernewBuilder(Tensor prototype) protected Tensor.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TensorparseDelimitedFrom(InputStream input) static TensorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TensorparseFrom(byte[] data) static TensorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TensorparseFrom(com.google.protobuf.ByteString data) static TensorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TensorparseFrom(com.google.protobuf.CodedInputStream input) static TensorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TensorparseFrom(InputStream input) static TensorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TensorparseFrom(ByteBuffer data) static TensorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Tensor>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DTYPE_FIELD_NUMBER
public static final int DTYPE_FIELD_NUMBER- See Also:
-
SHAPE_FIELD_NUMBER
public static final int SHAPE_FIELD_NUMBER- See Also:
-
BOOL_VAL_FIELD_NUMBER
public static final int BOOL_VAL_FIELD_NUMBER- See Also:
-
STRING_VAL_FIELD_NUMBER
public static final int STRING_VAL_FIELD_NUMBER- See Also:
-
BYTES_VAL_FIELD_NUMBER
public static final int BYTES_VAL_FIELD_NUMBER- See Also:
-
FLOAT_VAL_FIELD_NUMBER
public static final int FLOAT_VAL_FIELD_NUMBER- See Also:
-
DOUBLE_VAL_FIELD_NUMBER
public static final int DOUBLE_VAL_FIELD_NUMBER- See Also:
-
INT_VAL_FIELD_NUMBER
public static final int INT_VAL_FIELD_NUMBER- See Also:
-
INT64_VAL_FIELD_NUMBER
public static final int INT64_VAL_FIELD_NUMBER- See Also:
-
UINT_VAL_FIELD_NUMBER
public static final int UINT_VAL_FIELD_NUMBER- See Also:
-
UINT64_VAL_FIELD_NUMBER
public static final int UINT64_VAL_FIELD_NUMBER- See Also:
-
LIST_VAL_FIELD_NUMBER
public static final int LIST_VAL_FIELD_NUMBER- See Also:
-
STRUCT_VAL_FIELD_NUMBER
public static final int STRUCT_VAL_FIELD_NUMBER- See Also:
-
TENSOR_VAL_FIELD_NUMBER
public static final int TENSOR_VAL_FIELD_NUMBER- See Also:
-
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.
-
getDtype
The data type of tensor.
.google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;- Specified by:
getDtypein interfaceTensorOrBuilder- Returns:
- The dtype.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getListValList
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;- Specified by:
getListValListin interfaceTensorOrBuilder
-
getListValOrBuilderList
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;- Specified by:
getListValOrBuilderListin 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
-
getListValOrBuilder
A list of tensor values.
repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;- Specified by:
getListValOrBuilderin interfaceTensorOrBuilder
-
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
-
getTensorVal
public com.google.protobuf.ByteString getTensorVal()Serialized raw tensor content.
bytes tensor_val = 13;- Specified by:
getTensorValin interfaceTensorOrBuilder- Returns:
- The tensorVal.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Tensor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tensor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tensor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tensor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tensor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tensor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Tensor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Tensor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Tensor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Tensor.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-