Package inference

Class GrpcService.InferTensorContents

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

public static final class GrpcService.InferTensorContents extends com.google.protobuf.GeneratedMessageV3 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
See Also:
  • Field Details

    • BOOL_CONTENTS_FIELD_NUMBER

      public static final int BOOL_CONTENTS_FIELD_NUMBER
      See Also:
    • INT_CONTENTS_FIELD_NUMBER

      public static final int INT_CONTENTS_FIELD_NUMBER
      See Also:
    • INT64_CONTENTS_FIELD_NUMBER

      public static final int INT64_CONTENTS_FIELD_NUMBER
      See Also:
    • UINT_CONTENTS_FIELD_NUMBER

      public static final int UINT_CONTENTS_FIELD_NUMBER
      See Also:
    • UINT64_CONTENTS_FIELD_NUMBER

      public static final int UINT64_CONTENTS_FIELD_NUMBER
      See Also:
    • FP32_CONTENTS_FIELD_NUMBER

      public static final int FP32_CONTENTS_FIELD_NUMBER
      See Also:
    • FP64_CONTENTS_FIELD_NUMBER

      public static final int FP64_CONTENTS_FIELD_NUMBER
      See Also:
    • BYTES_CONTENTS_FIELD_NUMBER

      public static final int BYTES_CONTENTS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 GrpcService.InferTensorContents parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.InferTensorContents parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.InferTensorContents parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.InferTensorContents parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.InferTensorContents parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.InferTensorContents parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.InferTensorContents parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static GrpcService.InferTensorContents parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static GrpcService.InferTensorContents.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GrpcService.InferTensorContents.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GrpcService.InferTensorContents getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<GrpcService.InferTensorContents> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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