Package inference

Class GrpcService.InferTensorContents.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GrpcService.InferTensorContents.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>
inference.GrpcService.InferTensorContents.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GrpcService.InferTensorContentsOrBuilder, Cloneable
Enclosing class:
GrpcService.InferTensorContents

public static final class GrpcService.InferTensorContents.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder> implements GrpcService.InferTensorContentsOrBuilder
@@
@@.. cpp:var:: message InferTensorContents
@@
@@   The data contained in a tensor represented by the repeated type
@@   that matches the tensor's data type. Protobuf oneof is not used
@@   because oneofs cannot contain repeated fields.
@@
 
Protobuf type inference.InferTensorContents
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.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.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.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.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GrpcService.InferTensorContents buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>
    • setField

      public GrpcService.InferTensorContents.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>
    • clearField

      public GrpcService.InferTensorContents.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>
    • clearOneof

      public GrpcService.InferTensorContents.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>
    • setRepeatedField

      public GrpcService.InferTensorContents.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>
    • addRepeatedField

      public GrpcService.InferTensorContents.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>
    • mergeFrom

      public GrpcService.InferTensorContents.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<GrpcService.InferTensorContents.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>
    • mergeFrom

      public GrpcService.InferTensorContents.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<GrpcService.InferTensorContents.Builder>
      Throws:
      IOException
    • getBoolContentsList

      public List<Boolean> getBoolContentsList()
      @@
      @@  .. cpp:var:: bool bool_contents (repeated)
      @@
      @@     Representation for BOOL data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bool bool_contents = 1;
      Specified by:
      getBoolContentsList in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      A list containing the boolContents.
    • getBoolContentsCount

      public int getBoolContentsCount()
      @@
      @@  .. cpp:var:: bool bool_contents (repeated)
      @@
      @@     Representation for BOOL data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bool bool_contents = 1;
      Specified by:
      getBoolContentsCount in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      The count of boolContents.
    • getBoolContents

      public boolean getBoolContents(int index)
      @@
      @@  .. cpp:var:: bool bool_contents (repeated)
      @@
      @@     Representation for BOOL data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bool bool_contents = 1;
      Specified by:
      getBoolContents in interface GrpcService.InferTensorContentsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The boolContents at the given index.
    • setBoolContents

      public GrpcService.InferTensorContents.Builder setBoolContents(int index, boolean value)
      @@
      @@  .. cpp:var:: bool bool_contents (repeated)
      @@
      @@     Representation for BOOL data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bool bool_contents = 1;
      Parameters:
      index - The index to set the value at.
      value - The boolContents to set.
      Returns:
      This builder for chaining.
    • addBoolContents

      public GrpcService.InferTensorContents.Builder addBoolContents(boolean value)
      @@
      @@  .. cpp:var:: bool bool_contents (repeated)
      @@
      @@     Representation for BOOL data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bool bool_contents = 1;
      Parameters:
      value - The boolContents to add.
      Returns:
      This builder for chaining.
    • addAllBoolContents

      public GrpcService.InferTensorContents.Builder addAllBoolContents(Iterable<? extends Boolean> values)
      @@
      @@  .. cpp:var:: bool bool_contents (repeated)
      @@
      @@     Representation for BOOL data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bool bool_contents = 1;
      Parameters:
      values - The boolContents to add.
      Returns:
      This builder for chaining.
    • clearBoolContents

      public GrpcService.InferTensorContents.Builder clearBoolContents()
      @@
      @@  .. cpp:var:: bool bool_contents (repeated)
      @@
      @@     Representation for BOOL data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bool bool_contents = 1;
      Returns:
      This builder for chaining.
    • getIntContentsList

      public List<Integer> getIntContentsList()
      @@
      @@  .. cpp:var:: int32 int_contents (repeated)
      @@
      @@     Representation for INT8, INT16, and INT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated int32 int_contents = 2;
      Specified by:
      getIntContentsList in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      A list containing the intContents.
    • getIntContentsCount

      public int getIntContentsCount()
      @@
      @@  .. cpp:var:: int32 int_contents (repeated)
      @@
      @@     Representation for INT8, INT16, and INT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated int32 int_contents = 2;
      Specified by:
      getIntContentsCount in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      The count of intContents.
    • getIntContents

      public int getIntContents(int index)
      @@
      @@  .. cpp:var:: int32 int_contents (repeated)
      @@
      @@     Representation for INT8, INT16, and INT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated int32 int_contents = 2;
      Specified by:
      getIntContents in interface GrpcService.InferTensorContentsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The intContents at the given index.
    • setIntContents

      public GrpcService.InferTensorContents.Builder setIntContents(int index, int value)
      @@
      @@  .. cpp:var:: int32 int_contents (repeated)
      @@
      @@     Representation for INT8, INT16, and INT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated int32 int_contents = 2;
      Parameters:
      index - The index to set the value at.
      value - The intContents to set.
      Returns:
      This builder for chaining.
    • addIntContents

      public GrpcService.InferTensorContents.Builder addIntContents(int value)
      @@
      @@  .. cpp:var:: int32 int_contents (repeated)
      @@
      @@     Representation for INT8, INT16, and INT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated int32 int_contents = 2;
      Parameters:
      value - The intContents to add.
      Returns:
      This builder for chaining.
    • addAllIntContents

      public GrpcService.InferTensorContents.Builder addAllIntContents(Iterable<? extends Integer> values)
      @@
      @@  .. cpp:var:: int32 int_contents (repeated)
      @@
      @@     Representation for INT8, INT16, and INT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated int32 int_contents = 2;
      Parameters:
      values - The intContents to add.
      Returns:
      This builder for chaining.
    • clearIntContents

      public GrpcService.InferTensorContents.Builder clearIntContents()
      @@
      @@  .. cpp:var:: int32 int_contents (repeated)
      @@
      @@     Representation for INT8, INT16, and INT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated int32 int_contents = 2;
      Returns:
      This builder for chaining.
    • getInt64ContentsList

      public List<Long> getInt64ContentsList()
      @@
      @@  .. cpp:var:: int64 int64_contents (repeated)
      @@
      @@     Representation for INT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated int64 int64_contents = 3;
      Specified by:
      getInt64ContentsList in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      A list containing the int64Contents.
    • getInt64ContentsCount

      public int getInt64ContentsCount()
      @@
      @@  .. cpp:var:: int64 int64_contents (repeated)
      @@
      @@     Representation for INT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated int64 int64_contents = 3;
      Specified by:
      getInt64ContentsCount in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      The count of int64Contents.
    • getInt64Contents

      public long getInt64Contents(int index)
      @@
      @@  .. cpp:var:: int64 int64_contents (repeated)
      @@
      @@     Representation for INT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated int64 int64_contents = 3;
      Specified by:
      getInt64Contents in interface GrpcService.InferTensorContentsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The int64Contents at the given index.
    • setInt64Contents

      public GrpcService.InferTensorContents.Builder setInt64Contents(int index, long value)
      @@
      @@  .. cpp:var:: int64 int64_contents (repeated)
      @@
      @@     Representation for INT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated int64 int64_contents = 3;
      Parameters:
      index - The index to set the value at.
      value - The int64Contents to set.
      Returns:
      This builder for chaining.
    • addInt64Contents

      public GrpcService.InferTensorContents.Builder addInt64Contents(long value)
      @@
      @@  .. cpp:var:: int64 int64_contents (repeated)
      @@
      @@     Representation for INT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated int64 int64_contents = 3;
      Parameters:
      value - The int64Contents to add.
      Returns:
      This builder for chaining.
    • addAllInt64Contents

      public GrpcService.InferTensorContents.Builder addAllInt64Contents(Iterable<? extends Long> values)
      @@
      @@  .. cpp:var:: int64 int64_contents (repeated)
      @@
      @@     Representation for INT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated int64 int64_contents = 3;
      Parameters:
      values - The int64Contents to add.
      Returns:
      This builder for chaining.
    • clearInt64Contents

      public GrpcService.InferTensorContents.Builder clearInt64Contents()
      @@
      @@  .. cpp:var:: int64 int64_contents (repeated)
      @@
      @@     Representation for INT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated int64 int64_contents = 3;
      Returns:
      This builder for chaining.
    • getUintContentsList

      public List<Integer> getUintContentsList()
      @@
      @@  .. cpp:var:: uint32 uint_contents (repeated)
      @@
      @@     Representation for UINT8, UINT16, and UINT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated uint32 uint_contents = 4;
      Specified by:
      getUintContentsList in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      A list containing the uintContents.
    • getUintContentsCount

      public int getUintContentsCount()
      @@
      @@  .. cpp:var:: uint32 uint_contents (repeated)
      @@
      @@     Representation for UINT8, UINT16, and UINT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated uint32 uint_contents = 4;
      Specified by:
      getUintContentsCount in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      The count of uintContents.
    • getUintContents

      public int getUintContents(int index)
      @@
      @@  .. cpp:var:: uint32 uint_contents (repeated)
      @@
      @@     Representation for UINT8, UINT16, and UINT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated uint32 uint_contents = 4;
      Specified by:
      getUintContents in interface GrpcService.InferTensorContentsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The uintContents at the given index.
    • setUintContents

      public GrpcService.InferTensorContents.Builder setUintContents(int index, int value)
      @@
      @@  .. cpp:var:: uint32 uint_contents (repeated)
      @@
      @@     Representation for UINT8, UINT16, and UINT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated uint32 uint_contents = 4;
      Parameters:
      index - The index to set the value at.
      value - The uintContents to set.
      Returns:
      This builder for chaining.
    • addUintContents

      public GrpcService.InferTensorContents.Builder addUintContents(int value)
      @@
      @@  .. cpp:var:: uint32 uint_contents (repeated)
      @@
      @@     Representation for UINT8, UINT16, and UINT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated uint32 uint_contents = 4;
      Parameters:
      value - The uintContents to add.
      Returns:
      This builder for chaining.
    • addAllUintContents

      public GrpcService.InferTensorContents.Builder addAllUintContents(Iterable<? extends Integer> values)
      @@
      @@  .. cpp:var:: uint32 uint_contents (repeated)
      @@
      @@     Representation for UINT8, UINT16, and UINT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated uint32 uint_contents = 4;
      Parameters:
      values - The uintContents to add.
      Returns:
      This builder for chaining.
    • clearUintContents

      public GrpcService.InferTensorContents.Builder clearUintContents()
      @@
      @@  .. cpp:var:: uint32 uint_contents (repeated)
      @@
      @@     Representation for UINT8, UINT16, and UINT32 data types. The size
      @@     must match what is expected by the tensor's shape. The contents
      @@     must be the flattened, one-dimensional, row-major order of the
      @@     tensor elements.
      @@
       
      repeated uint32 uint_contents = 4;
      Returns:
      This builder for chaining.
    • getUint64ContentsList

      public List<Long> getUint64ContentsList()
      @@
      @@  .. cpp:var:: uint64 uint64_contents (repeated)
      @@
      @@     Representation for UINT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated uint64 uint64_contents = 5;
      Specified by:
      getUint64ContentsList in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      A list containing the uint64Contents.
    • getUint64ContentsCount

      public int getUint64ContentsCount()
      @@
      @@  .. cpp:var:: uint64 uint64_contents (repeated)
      @@
      @@     Representation for UINT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated uint64 uint64_contents = 5;
      Specified by:
      getUint64ContentsCount in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      The count of uint64Contents.
    • getUint64Contents

      public long getUint64Contents(int index)
      @@
      @@  .. cpp:var:: uint64 uint64_contents (repeated)
      @@
      @@     Representation for UINT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated uint64 uint64_contents = 5;
      Specified by:
      getUint64Contents in interface GrpcService.InferTensorContentsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The uint64Contents at the given index.
    • setUint64Contents

      public GrpcService.InferTensorContents.Builder setUint64Contents(int index, long value)
      @@
      @@  .. cpp:var:: uint64 uint64_contents (repeated)
      @@
      @@     Representation for UINT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated uint64 uint64_contents = 5;
      Parameters:
      index - The index to set the value at.
      value - The uint64Contents to set.
      Returns:
      This builder for chaining.
    • addUint64Contents

      public GrpcService.InferTensorContents.Builder addUint64Contents(long value)
      @@
      @@  .. cpp:var:: uint64 uint64_contents (repeated)
      @@
      @@     Representation for UINT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated uint64 uint64_contents = 5;
      Parameters:
      value - The uint64Contents to add.
      Returns:
      This builder for chaining.
    • addAllUint64Contents

      public GrpcService.InferTensorContents.Builder addAllUint64Contents(Iterable<? extends Long> values)
      @@
      @@  .. cpp:var:: uint64 uint64_contents (repeated)
      @@
      @@     Representation for UINT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated uint64 uint64_contents = 5;
      Parameters:
      values - The uint64Contents to add.
      Returns:
      This builder for chaining.
    • clearUint64Contents

      public GrpcService.InferTensorContents.Builder clearUint64Contents()
      @@
      @@  .. cpp:var:: uint64 uint64_contents (repeated)
      @@
      @@     Representation for UINT64 data types. The size must match what
      @@     is expected by the tensor's shape. The contents must be the
      @@     flattened, one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated uint64 uint64_contents = 5;
      Returns:
      This builder for chaining.
    • getFp32ContentsList

      public List<Float> getFp32ContentsList()
      @@
      @@  .. cpp:var:: float fp32_contents (repeated)
      @@
      @@     Representation for FP32 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated float fp32_contents = 6;
      Specified by:
      getFp32ContentsList in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      A list containing the fp32Contents.
    • getFp32ContentsCount

      public int getFp32ContentsCount()
      @@
      @@  .. cpp:var:: float fp32_contents (repeated)
      @@
      @@     Representation for FP32 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated float fp32_contents = 6;
      Specified by:
      getFp32ContentsCount in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      The count of fp32Contents.
    • getFp32Contents

      public float getFp32Contents(int index)
      @@
      @@  .. cpp:var:: float fp32_contents (repeated)
      @@
      @@     Representation for FP32 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated float fp32_contents = 6;
      Specified by:
      getFp32Contents in interface GrpcService.InferTensorContentsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The fp32Contents at the given index.
    • setFp32Contents

      public GrpcService.InferTensorContents.Builder setFp32Contents(int index, float value)
      @@
      @@  .. cpp:var:: float fp32_contents (repeated)
      @@
      @@     Representation for FP32 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated float fp32_contents = 6;
      Parameters:
      index - The index to set the value at.
      value - The fp32Contents to set.
      Returns:
      This builder for chaining.
    • addFp32Contents

      public GrpcService.InferTensorContents.Builder addFp32Contents(float value)
      @@
      @@  .. cpp:var:: float fp32_contents (repeated)
      @@
      @@     Representation for FP32 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated float fp32_contents = 6;
      Parameters:
      value - The fp32Contents to add.
      Returns:
      This builder for chaining.
    • addAllFp32Contents

      public GrpcService.InferTensorContents.Builder addAllFp32Contents(Iterable<? extends Float> values)
      @@
      @@  .. cpp:var:: float fp32_contents (repeated)
      @@
      @@     Representation for FP32 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated float fp32_contents = 6;
      Parameters:
      values - The fp32Contents to add.
      Returns:
      This builder for chaining.
    • clearFp32Contents

      public GrpcService.InferTensorContents.Builder clearFp32Contents()
      @@
      @@  .. cpp:var:: float fp32_contents (repeated)
      @@
      @@     Representation for FP32 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated float fp32_contents = 6;
      Returns:
      This builder for chaining.
    • getFp64ContentsList

      public List<Double> getFp64ContentsList()
      @@
      @@  .. cpp:var:: double fp64_contents (repeated)
      @@
      @@     Representation for FP64 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated double fp64_contents = 7;
      Specified by:
      getFp64ContentsList in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      A list containing the fp64Contents.
    • getFp64ContentsCount

      public int getFp64ContentsCount()
      @@
      @@  .. cpp:var:: double fp64_contents (repeated)
      @@
      @@     Representation for FP64 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated double fp64_contents = 7;
      Specified by:
      getFp64ContentsCount in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      The count of fp64Contents.
    • getFp64Contents

      public double getFp64Contents(int index)
      @@
      @@  .. cpp:var:: double fp64_contents (repeated)
      @@
      @@     Representation for FP64 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated double fp64_contents = 7;
      Specified by:
      getFp64Contents in interface GrpcService.InferTensorContentsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The fp64Contents at the given index.
    • setFp64Contents

      public GrpcService.InferTensorContents.Builder setFp64Contents(int index, double value)
      @@
      @@  .. cpp:var:: double fp64_contents (repeated)
      @@
      @@     Representation for FP64 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated double fp64_contents = 7;
      Parameters:
      index - The index to set the value at.
      value - The fp64Contents to set.
      Returns:
      This builder for chaining.
    • addFp64Contents

      public GrpcService.InferTensorContents.Builder addFp64Contents(double value)
      @@
      @@  .. cpp:var:: double fp64_contents (repeated)
      @@
      @@     Representation for FP64 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated double fp64_contents = 7;
      Parameters:
      value - The fp64Contents to add.
      Returns:
      This builder for chaining.
    • addAllFp64Contents

      public GrpcService.InferTensorContents.Builder addAllFp64Contents(Iterable<? extends Double> values)
      @@
      @@  .. cpp:var:: double fp64_contents (repeated)
      @@
      @@     Representation for FP64 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated double fp64_contents = 7;
      Parameters:
      values - The fp64Contents to add.
      Returns:
      This builder for chaining.
    • clearFp64Contents

      public GrpcService.InferTensorContents.Builder clearFp64Contents()
      @@
      @@  .. cpp:var:: double fp64_contents (repeated)
      @@
      @@     Representation for FP64 data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated double fp64_contents = 7;
      Returns:
      This builder for chaining.
    • getBytesContentsList

      public List<com.google.protobuf.ByteString> getBytesContentsList()
      @@
      @@  .. cpp:var:: bytes bytes_contents (repeated)
      @@
      @@     Representation for BYTES data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bytes bytes_contents = 8;
      Specified by:
      getBytesContentsList in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      A list containing the bytesContents.
    • getBytesContentsCount

      public int getBytesContentsCount()
      @@
      @@  .. cpp:var:: bytes bytes_contents (repeated)
      @@
      @@     Representation for BYTES data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bytes bytes_contents = 8;
      Specified by:
      getBytesContentsCount in interface GrpcService.InferTensorContentsOrBuilder
      Returns:
      The count of bytesContents.
    • getBytesContents

      public com.google.protobuf.ByteString getBytesContents(int index)
      @@
      @@  .. cpp:var:: bytes bytes_contents (repeated)
      @@
      @@     Representation for BYTES data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bytes bytes_contents = 8;
      Specified by:
      getBytesContents in interface GrpcService.InferTensorContentsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The bytesContents at the given index.
    • setBytesContents

      public GrpcService.InferTensorContents.Builder setBytesContents(int index, com.google.protobuf.ByteString value)
      @@
      @@  .. cpp:var:: bytes bytes_contents (repeated)
      @@
      @@     Representation for BYTES data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bytes bytes_contents = 8;
      Parameters:
      index - The index to set the value at.
      value - The bytesContents to set.
      Returns:
      This builder for chaining.
    • addBytesContents

      public GrpcService.InferTensorContents.Builder addBytesContents(com.google.protobuf.ByteString value)
      @@
      @@  .. cpp:var:: bytes bytes_contents (repeated)
      @@
      @@     Representation for BYTES data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bytes bytes_contents = 8;
      Parameters:
      value - The bytesContents to add.
      Returns:
      This builder for chaining.
    • addAllBytesContents

      public GrpcService.InferTensorContents.Builder addAllBytesContents(Iterable<? extends com.google.protobuf.ByteString> values)
      @@
      @@  .. cpp:var:: bytes bytes_contents (repeated)
      @@
      @@     Representation for BYTES data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bytes bytes_contents = 8;
      Parameters:
      values - The bytesContents to add.
      Returns:
      This builder for chaining.
    • clearBytesContents

      public GrpcService.InferTensorContents.Builder clearBytesContents()
      @@
      @@  .. cpp:var:: bytes bytes_contents (repeated)
      @@
      @@     Representation for BYTES data type. The size must match what is
      @@     expected by the tensor's shape. The contents must be the flattened,
      @@     one-dimensional, row-major order of the tensor elements.
      @@
       
      repeated bytes bytes_contents = 8;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GrpcService.InferTensorContents.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>
    • mergeUnknownFields

      public final GrpcService.InferTensorContents.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GrpcService.InferTensorContents.Builder>