public interface TensorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsStructVal(String key)
A map of string to tensor.
|
boolean |
getBoolVal(int index)
Type specific representations that make it easy to create tensor protos in
all languages.
|
int |
getBoolValCount()
Type specific representations that make it easy to create tensor protos in
all languages.
|
List<Boolean> |
getBoolValList()
Type specific representations that make it easy to create tensor protos in
all languages.
|
com.google.protobuf.ByteString |
getBytesVal(int index)
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15; |
int |
getBytesValCount()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15; |
List<com.google.protobuf.ByteString> |
getBytesValList()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15; |
double |
getDoubleVal(int index)
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6; |
int |
getDoubleValCount()
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6; |
List<Double> |
getDoubleValList()
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6; |
Tensor.DataType |
getDtype()
The data type of tensor.
|
int |
getDtypeValue()
The data type of tensor.
|
float |
getFloatVal(int index)
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5; |
int |
getFloatValCount()
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5; |
List<Float> |
getFloatValList()
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5; |
long |
getInt64Val(int index)
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8; |
int |
getInt64ValCount()
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8; |
List<Long> |
getInt64ValList()
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8; |
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; |
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; |
List<Integer> |
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; |
Tensor |
getListVal(int index)
A list of tensor values.
|
int |
getListValCount()
A list of tensor values.
|
List<Tensor> |
getListValList()
A list of tensor values.
|
TensorOrBuilder |
getListValOrBuilder(int index)
A list of tensor values.
|
List<? extends TensorOrBuilder> |
getListValOrBuilderList()
A list of tensor values.
|
long |
getShape(int index)
Shape of the tensor.
|
int |
getShapeCount()
Shape of the tensor.
|
List<Long> |
getShapeList()
Shape of the tensor.
|
String |
getStringVal(int index)
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14; |
com.google.protobuf.ByteString |
getStringValBytes(int index)
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14; |
int |
getStringValCount()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14; |
List<String> |
getStringValList()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14; |
Map<String,Tensor> |
getStructVal()
Deprecated.
|
int |
getStructValCount()
A map of string to tensor.
|
Map<String,Tensor> |
getStructValMap()
A map of string to tensor.
|
Tensor |
getStructValOrDefault(String key,
Tensor defaultValue)
A map of string to tensor.
|
Tensor |
getStructValOrThrow(String key)
A map of string to tensor.
|
com.google.protobuf.ByteString |
getTensorVal()
Serialized raw tensor content.
|
long |
getUint64Val(int index)
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10; |
int |
getUint64ValCount()
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10; |
List<Long> |
getUint64ValList()
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10; |
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; |
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; |
List<Integer> |
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; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getDtypeValue()
The data type of tensor.
.google.cloud.vertexai.v1.Tensor.DataType dtype = 1;Tensor.DataType getDtype()
The data type of tensor.
.google.cloud.vertexai.v1.Tensor.DataType dtype = 1;List<Long> getShapeList()
Shape of the tensor.
repeated int64 shape = 2;int getShapeCount()
Shape of the tensor.
repeated int64 shape = 2;long getShape(int index)
Shape of the tensor.
repeated int64 shape = 2;index - The index of the element to return.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.cloud.aiplatform.v1.Tensor.DataType.BOOL]
repeated bool bool_val = 3;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;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;index - The index of the element to return.List<String> getStringValList()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;int getStringValCount()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;String getStringVal(int index)
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;index - The index of the element to return.com.google.protobuf.ByteString getStringValBytes(int index)
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated string string_val = 14;index - The index of the value to return.List<com.google.protobuf.ByteString> getBytesValList()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;int getBytesValCount()
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;com.google.protobuf.ByteString getBytesVal(int index)
[STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
repeated bytes bytes_val = 15;index - The index of the element to return.List<Float> getFloatValList()
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5;int getFloatValCount()
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5;float getFloatVal(int index)
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
repeated float float_val = 5;index - The index of the element to return.List<Double> getDoubleValList()
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6;int getDoubleValCount()
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6;double getDoubleVal(int index)
[DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
repeated double double_val = 6;index - The index of the element to return.List<Integer> 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;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;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;index - The index of the element to return.List<Long> getInt64ValList()
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8;int getInt64ValCount()
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8;long getInt64Val(int index)
[INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
repeated int64 int64_val = 8;index - The index of the element to return.List<Integer> 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;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;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;index - The index of the element to return.List<Long> getUint64ValList()
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;int getUint64ValCount()
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;long getUint64Val(int index)
[UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
repeated uint64 uint64_val = 10;index - The index of the element to return.List<Tensor> getListValList()
A list of tensor values.
repeated .google.cloud.vertexai.v1.Tensor list_val = 11;Tensor getListVal(int index)
A list of tensor values.
repeated .google.cloud.vertexai.v1.Tensor list_val = 11;int getListValCount()
A list of tensor values.
repeated .google.cloud.vertexai.v1.Tensor list_val = 11;List<? extends TensorOrBuilder> getListValOrBuilderList()
A list of tensor values.
repeated .google.cloud.vertexai.v1.Tensor list_val = 11;TensorOrBuilder getListValOrBuilder(int index)
A list of tensor values.
repeated .google.cloud.vertexai.v1.Tensor list_val = 11;int getStructValCount()
A map of string to tensor.
map<string, .google.cloud.vertexai.v1.Tensor> struct_val = 12;boolean containsStructVal(String key)
A map of string to tensor.
map<string, .google.cloud.vertexai.v1.Tensor> struct_val = 12;@Deprecated Map<String,Tensor> getStructVal()
getStructValMap() instead.Map<String,Tensor> getStructValMap()
A map of string to tensor.
map<string, .google.cloud.vertexai.v1.Tensor> struct_val = 12;Tensor getStructValOrDefault(String key, Tensor defaultValue)
A map of string to tensor.
map<string, .google.cloud.vertexai.v1.Tensor> struct_val = 12;Tensor getStructValOrThrow(String key)
A map of string to tensor.
map<string, .google.cloud.vertexai.v1.Tensor> struct_val = 12;com.google.protobuf.ByteString getTensorVal()
Serialized raw tensor content.
bytes tensor_val = 13;Copyright © 2025 Google LLC. All rights reserved.