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 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.Builder<Tensor.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Tensor.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Tensor.Builder>
    • clear

      public Tensor.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Tensor.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Tensor.Builder>
    • getDefaultInstanceForType

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

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

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

      public Tensor.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Tensor.Builder>
    • mergeFrom

      public Tensor.Builder mergeFrom(Tensor other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getDtypeValue in interface TensorOrBuilder
      Returns:
      The enum numeric value on the wire for dtype.
    • setDtypeValue

      public Tensor.Builder setDtypeValue(int value)
       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

      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.
    • setDtype

      public Tensor.Builder setDtype(Tensor.DataType value)
       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

      public Tensor.Builder clearDtype()
       The data type of tensor.
       
      .google.cloud.aiplatform.v1.Tensor.DataType dtype = 1;
      Returns:
      This builder for chaining.
    • 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.
    • setShape

      public Tensor.Builder setShape(int index, long value)
       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

      public Tensor.Builder addShape(long value)
       Shape of the tensor.
       
      repeated int64 shape = 2;
      Parameters:
      value - The shape to add.
      Returns:
      This builder for chaining.
    • addAllShape

      public Tensor.Builder addAllShape(Iterable<? extends Long> values)
       Shape of the tensor.
       
      repeated int64 shape = 2;
      Parameters:
      values - The shape to add.
      Returns:
      This builder for chaining.
    • clearShape

      public Tensor.Builder clearShape()
       Shape of the tensor.
       
      repeated int64 shape = 2;
      Returns:
      This builder for chaining.
    • 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.
    • setBoolVal

      public Tensor.Builder setBoolVal(int index, boolean value)
       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

      public Tensor.Builder addBoolVal(boolean value)
       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

      public Tensor.Builder addAllBoolVal(Iterable<? extends Boolean> values)
       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

      public Tensor.Builder 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:
      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.
    • setStringVal

      public Tensor.Builder setStringVal(int index, String value)
       [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

      public Tensor.Builder addStringVal(String value)
       [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

      public Tensor.Builder addAllStringVal(Iterable<String> values)
       [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

      public Tensor.Builder clearStringVal()
       [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
       
      repeated string string_val = 14;
      Returns:
      This builder for chaining.
    • addStringValBytes

      public Tensor.Builder addStringValBytes(com.google.protobuf.ByteString value)
       [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

      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.
    • setBytesVal

      public Tensor.Builder setBytesVal(int index, com.google.protobuf.ByteString value)
       [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

      public Tensor.Builder addBytesVal(com.google.protobuf.ByteString value)
       [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

      public Tensor.Builder addAllBytesVal(Iterable<? extends com.google.protobuf.ByteString> values)
       [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

      public Tensor.Builder clearBytesVal()
       [STRING][google.cloud.aiplatform.v1.Tensor.DataType.STRING]
       
      repeated bytes bytes_val = 15;
      Returns:
      This builder for chaining.
    • 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.
    • setFloatVal

      public Tensor.Builder setFloatVal(int index, float value)
       [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

      public Tensor.Builder addFloatVal(float value)
       [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

      public Tensor.Builder addAllFloatVal(Iterable<? extends Float> values)
       [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

      public Tensor.Builder clearFloatVal()
       [FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
       
      repeated float float_val = 5;
      Returns:
      This builder for chaining.
    • 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.
    • setDoubleVal

      public Tensor.Builder setDoubleVal(int index, double value)
       [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

      public Tensor.Builder addDoubleVal(double value)
       [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

      public Tensor.Builder addAllDoubleVal(Iterable<? extends Double> values)
       [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

      public Tensor.Builder clearDoubleVal()
       [DOUBLE][google.cloud.aiplatform.v1.Tensor.DataType.DOUBLE]
       
      repeated double double_val = 6;
      Returns:
      This builder for chaining.
    • 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.
    • setIntVal

      public Tensor.Builder 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]
       
      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

      public Tensor.Builder 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]
       
      repeated int32 int_val = 7;
      Parameters:
      value - The intVal to add.
      Returns:
      This builder for chaining.
    • addAllIntVal

      public Tensor.Builder 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]
       
      repeated int32 int_val = 7;
      Parameters:
      values - The intVal to add.
      Returns:
      This builder for chaining.
    • clearIntVal

      public Tensor.Builder 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

      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.
    • setInt64Val

      public Tensor.Builder setInt64Val(int index, long value)
       [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

      public Tensor.Builder addInt64Val(long value)
       [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

      public Tensor.Builder addAllInt64Val(Iterable<? extends Long> values)
       [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

      public Tensor.Builder clearInt64Val()
       [INT64][google.cloud.aiplatform.v1.Tensor.DataType.INT64]
       
      repeated int64 int64_val = 8;
      Returns:
      This builder for chaining.
    • 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.
    • setUintVal

      public Tensor.Builder 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]
       
      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

      public Tensor.Builder 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]
       
      repeated uint32 uint_val = 9;
      Parameters:
      value - The uintVal to add.
      Returns:
      This builder for chaining.
    • addAllUintVal

      public Tensor.Builder 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]
       
      repeated uint32 uint_val = 9;
      Parameters:
      values - The uintVal to add.
      Returns:
      This builder for chaining.
    • clearUintVal

      public Tensor.Builder 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

      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.
    • setUint64Val

      public Tensor.Builder setUint64Val(int index, long value)
       [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

      public Tensor.Builder addUint64Val(long value)
       [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

      public Tensor.Builder addAllUint64Val(Iterable<? extends Long> values)
       [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

      public Tensor.Builder clearUint64Val()
       [UINT64][google.cloud.aiplatform.v1.Tensor.DataType.UINT64]
       
      repeated uint64 uint64_val = 10;
      Returns:
      This builder for chaining.
    • 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
    • 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
    • setListVal

      public Tensor.Builder setListVal(int index, Tensor value)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • setListVal

      public Tensor.Builder setListVal(int index, Tensor.Builder builderForValue)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • addListVal

      public Tensor.Builder addListVal(Tensor value)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • addListVal

      public Tensor.Builder addListVal(int index, Tensor value)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • addListVal

      public Tensor.Builder addListVal(Tensor.Builder builderForValue)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • addListVal

      public Tensor.Builder addListVal(int index, Tensor.Builder builderForValue)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • addAllListVal

      public Tensor.Builder addAllListVal(Iterable<? extends Tensor> values)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • clearListVal

      public Tensor.Builder clearListVal()
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • removeListVal

      public Tensor.Builder removeListVal(int index)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • getListValBuilder

      public Tensor.Builder getListValBuilder(int index)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • 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
    • 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
    • addListValBuilder

      public Tensor.Builder addListValBuilder()
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • addListValBuilder

      public Tensor.Builder addListValBuilder(int index)
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • getListValBuilderList

      public List<Tensor.Builder> getListValBuilderList()
       A list of tensor values.
       
      repeated .google.cloud.aiplatform.v1.Tensor list_val = 11;
    • 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
    • clearStructVal

      public Tensor.Builder clearStructVal()
    • removeStructVal

      public Tensor.Builder removeStructVal(String key)
       A map of string to tensor.
       
      map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
    • getMutableStructVal

      @Deprecated public Map<String,Tensor> getMutableStructVal()
      Deprecated.
      Use alternate mutation accessors instead.
    • putStructVal

      public Tensor.Builder putStructVal(String key, Tensor value)
       A map of string to tensor.
       
      map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
    • putAllStructVal

      public Tensor.Builder putAllStructVal(Map<String,Tensor> values)
       A map of string to tensor.
       
      map<string, .google.cloud.aiplatform.v1.Tensor> struct_val = 12;
    • putStructValBuilderIfAbsent

      public Tensor.Builder putStructValBuilderIfAbsent(String key)
       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:
      getTensorVal in interface TensorOrBuilder
      Returns:
      The tensorVal.
    • setTensorVal

      public Tensor.Builder setTensorVal(com.google.protobuf.ByteString value)
       Serialized raw tensor content.
       
      bytes tensor_val = 13;
      Parameters:
      value - The tensorVal to set.
      Returns:
      This builder for chaining.
    • clearTensorVal

      public Tensor.Builder clearTensorVal()
       Serialized raw tensor content.
       
      bytes tensor_val = 13;
      Returns:
      This builder for chaining.