- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public interface TensorOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsStructVal(String key)
public abstract boolean containsStructVal(String key)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getBoolVal(int index)
public abstract 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 repeated bool bool_val = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
boolean | The boolVal at the given index. |
getBoolValCount()
public abstract 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 repeated bool bool_val = 3;
Returns | |
---|---|
Type | Description |
int | The count of boolVal. |
getBoolValList()
public abstract 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 repeated bool bool_val = 3;
Returns | |
---|---|
Type | Description |
List<Boolean> | A list containing the boolVal. |
getBytesVal(int index)
public abstract ByteString getBytesVal(int index)
repeated bytes bytes_val = 15;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytesVal at the given index. |
getBytesValCount()
public abstract int getBytesValCount()
repeated bytes bytes_val = 15;
Returns | |
---|---|
Type | Description |
int | The count of bytesVal. |
getBytesValList()
public abstract List<ByteString> getBytesValList()
repeated bytes bytes_val = 15;
Returns | |
---|---|
Type | Description |
List<ByteString> | A list containing the bytesVal. |
getDoubleVal(int index)
public abstract double getDoubleVal(int index)
repeated double double_val = 6;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
double | The doubleVal at the given index. |
getDoubleValCount()
public abstract int getDoubleValCount()
repeated double double_val = 6;
Returns | |
---|---|
Type | Description |
int | The count of doubleVal. |
getDoubleValList()
public abstract List<Double> getDoubleValList()
repeated double double_val = 6;
Returns | |
---|---|
Type | Description |
List<Double> | A list containing the doubleVal. |
getDtype()
public abstract Tensor.DataType getDtype()
The data type of tensor.
.google.cloud.aiplatform.v1beta1.Tensor.DataType dtype = 1;
Returns | |
---|---|
Type | Description |
Tensor.DataType | The dtype. |
getDtypeValue()
public abstract int getDtypeValue()
The data type of tensor.
.google.cloud.aiplatform.v1beta1.Tensor.DataType dtype = 1;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for dtype. |
getFloatVal(int index)
public abstract float getFloatVal(int index)
repeated float float_val = 5;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
float | The floatVal at the given index. |
getFloatValCount()
public abstract int getFloatValCount()
repeated float float_val = 5;
Returns | |
---|---|
Type | Description |
int | The count of floatVal. |
getFloatValList()
public abstract List<Float> getFloatValList()
repeated float float_val = 5;
Returns | |
---|---|
Type | Description |
List<Float> | A list containing the floatVal. |
getInt64Val(int index)
public abstract long getInt64Val(int index)
repeated int64 int64_val = 8;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
long | The int64Val at the given index. |
getInt64ValCount()
public abstract int getInt64ValCount()
repeated int64 int64_val = 8;
Returns | |
---|---|
Type | Description |
int | The count of int64Val. |
getInt64ValList()
public abstract List<Long> getInt64ValList()
repeated int64 int64_val = 8;
Returns | |
---|---|
Type | Description |
List<Long> | A list containing the int64Val. |
getIntVal(int index)
public abstract int getIntVal(int index)
repeated int32 int_val = 7;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
int | The intVal at the given index. |
getIntValCount()
public abstract int getIntValCount()
repeated int32 int_val = 7;
Returns | |
---|---|
Type | Description |
int | The count of intVal. |
getIntValList()
public abstract List<Integer> getIntValList()
repeated int32 int_val = 7;
Returns | |
---|---|
Type | Description |
List<Integer> | A list containing the intVal. |
getListVal(int index)
public abstract Tensor getListVal(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Tensor |
getListValCount()
public abstract int getListValCount()
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
Returns | |
---|---|
Type | Description |
int |
getListValList()
public abstract List<Tensor> getListValList()
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
Returns | |
---|---|
Type | Description |
List<Tensor> |
getListValOrBuilder(int index)
public abstract TensorOrBuilder getListValOrBuilder(int index)
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
TensorOrBuilder |
getListValOrBuilderList()
public abstract List<? extends TensorOrBuilder> getListValOrBuilderList()
A list of tensor values.
repeated .google.cloud.aiplatform.v1beta1.Tensor list_val = 11;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.TensorOrBuilder> |
getShape(int index)
public abstract long getShape(int index)
Shape of the tensor.
repeated int64 shape = 2;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
long | The shape at the given index. |
getShapeCount()
public abstract int getShapeCount()
Shape of the tensor.
repeated int64 shape = 2;
Returns | |
---|---|
Type | Description |
int | The count of shape. |
getShapeList()
public abstract List<Long> getShapeList()
Shape of the tensor.
repeated int64 shape = 2;
Returns | |
---|---|
Type | Description |
List<Long> | A list containing the shape. |
getStringVal(int index)
public abstract String getStringVal(int index)
repeated string string_val = 14;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The stringVal at the given index. |
getStringValBytes(int index)
public abstract ByteString getStringValBytes(int index)
repeated string string_val = 14;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the stringVal at the given index. |
getStringValCount()
public abstract int getStringValCount()
repeated string string_val = 14;
Returns | |
---|---|
Type | Description |
int | The count of stringVal. |
getStringValList()
public abstract List<String> getStringValList()
repeated string string_val = 14;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the stringVal. |
getStructVal()
public abstract Map<String,Tensor> getStructVal()
Use #getStructValMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,Tensor> |
getStructValCount()
public abstract int getStructValCount()
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
Returns | |
---|---|
Type | Description |
int |
getStructValMap()
public abstract Map<String,Tensor> getStructValMap()
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
Returns | |
---|---|
Type | Description |
Map<String,Tensor> |
getStructValOrDefault(String key, Tensor defaultValue)
public abstract Tensor getStructValOrDefault(String key, Tensor defaultValue)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | Tensor |
Returns | |
---|---|
Type | Description |
Tensor |
getStructValOrThrow(String key)
public abstract Tensor getStructValOrThrow(String key)
A map of string to tensor.
map<string, .google.cloud.aiplatform.v1beta1.Tensor> struct_val = 12;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Tensor |
getTensorVal()
public abstract ByteString getTensorVal()
Serialized raw tensor content.
bytes tensor_val = 13;
Returns | |
---|---|
Type | Description |
ByteString | The tensorVal. |
getUint64Val(int index)
public abstract long getUint64Val(int index)
repeated uint64 uint64_val = 10;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
long | The uint64Val at the given index. |
getUint64ValCount()
public abstract int getUint64ValCount()
repeated uint64 uint64_val = 10;
Returns | |
---|---|
Type | Description |
int | The count of uint64Val. |
getUint64ValList()
public abstract List<Long> getUint64ValList()
repeated uint64 uint64_val = 10;
Returns | |
---|---|
Type | Description |
List<Long> | A list containing the uint64Val. |
getUintVal(int index)
public abstract int getUintVal(int index)
repeated uint32 uint_val = 9;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
int | The uintVal at the given index. |
getUintValCount()
public abstract int getUintValCount()
repeated uint32 uint_val = 9;
Returns | |
---|---|
Type | Description |
int | The count of uintVal. |
getUintValList()
public abstract List<Integer> getUintValList()
repeated uint32 uint_val = 9;
Returns | |
---|---|
Type | Description |
List<Integer> | A list containing the uintVal. |