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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    A tensor value type.
    static enum 
    Data 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    A map of string to tensor.
    boolean
     
    boolean
    getBoolVal(int index)
    Type specific representations that make it easy to create tensor protos in all languages.
    int
    Type 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.ByteString
    getBytesVal(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 Tensor
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    double
    getDoubleVal(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]
    The data type of tensor.
    int
    The data type of tensor.
    float
    getFloatVal(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]
    long
    getInt64Val(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]
    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]
    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.
    int
    A list of tensor values.
    A list of tensor values.
    A list of tensor values.
    A list of tensor values.
    com.google.protobuf.Parser<Tensor>
     
    int
     
    long
    getShape(int index)
    Shape of the tensor.
    int
    Shape of the tensor.
    Shape of the tensor.
    getStringVal(int index)
    [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
    com.google.protobuf.ByteString
    getStringValBytes(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.
    int
    A 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.ByteString
    Serialized raw tensor content.
    long
    getUint64Val(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]
    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]
    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]
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
    newBuilder(Tensor prototype)
     
     
    protected Tensor.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Tensor
     
    static Tensor
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Tensor
    parseFrom(byte[] data)
     
    static Tensor
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Tensor
    parseFrom(com.google.protobuf.ByteString data)
     
    static Tensor
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Tensor
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Tensor
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Tensor
     
    static Tensor
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Tensor
     
    static Tensor
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Tensor>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDtypeValue

      public int getDtypeValue()
       The data type of tensor.
       
      .google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;
      Specified by:
      getDtypeValue in interface TensorOrBuilder
      Returns:
      The enum numeric value on the wire for dtype.
    • getDtype

      public Tensor.DataType getDtype()
       The data type of tensor.
       
      .google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;
      Specified by:
      getDtype in interface TensorOrBuilder
      Returns:
      The dtype.
    • getShapeList

      public List<Long> getShapeList()
       Shape of the tensor.
       
      repeated int64 shape = 2;
      Specified by:
      getShapeList in interface TensorOrBuilder
      Returns:
      A list containing the shape.
    • getShapeCount

      public int getShapeCount()
       Shape of the tensor.
       
      repeated int64 shape = 2;
      Specified by:
      getShapeCount in interface TensorOrBuilder
      Returns:
      The count of shape.
    • getShape

      public long getShape(int index)
       Shape of the tensor.
       
      repeated int64 shape = 2;
      Specified by:
      getShape in interface TensorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The shape at the given index.
    • 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.cloud.aiplatform.v1.Tensor.DataType.BOOL]
       
      repeated bool bool_val = 3;
      Specified by:
      getBoolValList in interface TensorOrBuilder
      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:
      getBoolValCount in interface TensorOrBuilder
      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:
      getBoolVal in interface TensorOrBuilder
      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:
      getStringValList in interface TensorOrBuilder
      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:
      getStringValCount in interface TensorOrBuilder
      Returns:
      The count of stringVal.
    • getStringVal

      public String getStringVal(int index)
       [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
       
      repeated string string_val = 14;
      Specified by:
      getStringVal in interface TensorOrBuilder
      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:
      getStringValBytes in interface TensorOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the stringVal at the given index.
    • getBytesValList

      public List<com.google.protobuf.ByteString> getBytesValList()
       [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
       
      repeated bytes bytes_val = 15;
      Specified by:
      getBytesValList in interface TensorOrBuilder
      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:
      getBytesValCount in interface TensorOrBuilder
      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:
      getBytesVal in interface TensorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The bytesVal at the given index.
    • getFloatValList

      public List<Float> getFloatValList()
       [FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
       
      repeated float float_val = 5;
      Specified by:
      getFloatValList in interface TensorOrBuilder
      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:
      getFloatValCount in interface TensorOrBuilder
      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:
      getFloatVal in interface TensorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The floatVal at the given index.
    • getDoubleValList

      public List<Double> getDoubleValList()
       [DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
       
      repeated double double_val = 6;
      Specified by:
      getDoubleValList in interface TensorOrBuilder
      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:
      getDoubleValCount in interface TensorOrBuilder
      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:
      getDoubleVal in interface TensorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The doubleVal at the given index.
    • getIntValList

      public 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;
      Specified by:
      getIntValList in interface TensorOrBuilder
      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:
      getIntValCount in interface TensorOrBuilder
      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:
      getIntVal in interface TensorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The intVal at the given index.
    • getInt64ValList

      public List<Long> getInt64ValList()
       [INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
       
      repeated int64 int64_val = 8;
      Specified by:
      getInt64ValList in interface TensorOrBuilder
      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:
      getInt64ValCount in interface TensorOrBuilder
      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:
      getInt64Val in interface TensorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The int64Val at the given index.
    • getUintValList

      public 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;
      Specified by:
      getUintValList in interface TensorOrBuilder
      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:
      getUintValCount in interface TensorOrBuilder
      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:
      getUintVal in interface TensorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The uintVal at the given index.
    • getUint64ValList

      public List<Long> getUint64ValList()
       [UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
       
      repeated uint64 uint64_val = 10;
      Specified by:
      getUint64ValList in interface TensorOrBuilder
      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:
      getUint64ValCount in interface TensorOrBuilder
      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:
      getUint64Val in interface TensorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The uint64Val at the given index.
    • getListValList

      public List<Tensor> getListValList()
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
      Specified by:
      getListValList in interface TensorOrBuilder
    • getListValOrBuilderList

      public List<? extends TensorOrBuilder> getListValOrBuilderList()
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
      Specified by:
      getListValOrBuilderList in interface TensorOrBuilder
    • getListValCount

      public int getListValCount()
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
      Specified by:
      getListValCount in interface TensorOrBuilder
    • getListVal

      public Tensor getListVal(int index)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
      Specified by:
      getListVal in interface TensorOrBuilder
    • getListValOrBuilder

      public TensorOrBuilder getListValOrBuilder(int index)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
      Specified by:
      getListValOrBuilder in interface TensorOrBuilder
    • getStructValCount

      public int getStructValCount()
      Description copied from interface: TensorOrBuilder
       A map of string to tensor.
       
      map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
      Specified by:
      getStructValCount in interface TensorOrBuilder
    • containsStructVal

      public boolean containsStructVal(String key)
       A map of string to tensor.
       
      map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
      Specified by:
      containsStructVal in interface TensorOrBuilder
    • getStructVal

      @Deprecated public Map<String,Tensor> getStructVal()
      Deprecated.
      Use getStructValMap() instead.
      Specified by:
      getStructVal in interface TensorOrBuilder
    • getStructValMap

      public Map<String,Tensor> getStructValMap()
       A map of string to tensor.
       
      map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
      Specified by:
      getStructValMap in interface TensorOrBuilder
    • 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:
      getStructValOrDefault in interface TensorOrBuilder
    • getStructValOrThrow

      public Tensor getStructValOrThrow(String key)
       A map of string to tensor.
       
      map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
      Specified by:
      getStructValOrThrow in interface TensorOrBuilder
    • getTensorVal

      public com.google.protobuf.ByteString getTensorVal()
       Serialized raw tensor content.
       
      bytes tensor_val = 13;
      Specified by:
      getTensorVal in interface TensorOrBuilder
      Returns:
      The tensorVal.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Tensor parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Tensor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Tensor parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Tensor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Tensor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Tensor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Tensor.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Tensor.Builder newBuilder()
    • newBuilder

      public static Tensor.Builder newBuilder(Tensor prototype)
    • toBuilder

      public Tensor.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Tensor.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Tensor getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Tensor> parser()
    • getParserForType

      public com.google.protobuf.Parser<Tensor> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Tensor getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder