Class Mlmodel.TensorInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Mlmodel.TensorInfo,Mlmodel.TensorInfo.Builder>
com.viam.service.mlmodel.v1.Mlmodel.TensorInfo
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Mlmodel.TensorInfoOrBuilder
Enclosing class:
Mlmodel

public static final class Mlmodel.TensorInfo extends com.google.protobuf.GeneratedMessageLite<Mlmodel.TensorInfo,Mlmodel.TensorInfo.Builder> implements Mlmodel.TensorInfoOrBuilder
Protobuf type viam.service.mlmodel.v1.TensorInfo
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type viam.service.mlmodel.v1.TensorInfo

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

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

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

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

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

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
    getAssociatedFiles(int index)
    files associated with the array/tensor, like for category labels
    int
    files associated with the array/tensor, like for category labels
    files associated with the array/tensor, like for category labels
    files associated with the array/tensor, like for category labels
    files associated with the array/tensor, like for category labels
    data type of the array/tensor, e.g.
    com.google.protobuf.ByteString
    data type of the array/tensor, e.g.
     
    description of the data in the array/tensor
    com.google.protobuf.ByteString
    description of the data in the array/tensor
    com.google.protobuf.Struct
    anything else you want to say
    name of the data in the array/tensor
    com.google.protobuf.ByteString
    name of the data in the array/tensor
    int
    getShape(int index)
    shape of the array/tensor (-1 for unknown)
    int
    shape of the array/tensor (-1 for unknown)
    shape of the array/tensor (-1 for unknown)
    boolean
    anything else you want to say
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Mlmodel.TensorInfo>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

  • Method Details

    • getName

      public String getName()
       name of the data in the array/tensor
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Mlmodel.TensorInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       name of the data in the array/tensor
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Mlmodel.TensorInfoOrBuilder
      Returns:
      The bytes for name.
    • getDescription

      public String getDescription()
       description of the data in the array/tensor
       
      string description = 2 [json_name = "description"];
      Specified by:
      getDescription in interface Mlmodel.TensorInfoOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       description of the data in the array/tensor
       
      string description = 2 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface Mlmodel.TensorInfoOrBuilder
      Returns:
      The bytes for description.
    • getDataType

      public String getDataType()
       data type of the array/tensor, e.g. float32, float64, uint8
       
      string data_type = 3 [json_name = "dataType"];
      Specified by:
      getDataType in interface Mlmodel.TensorInfoOrBuilder
      Returns:
      The dataType.
    • getDataTypeBytes

      public com.google.protobuf.ByteString getDataTypeBytes()
       data type of the array/tensor, e.g. float32, float64, uint8
       
      string data_type = 3 [json_name = "dataType"];
      Specified by:
      getDataTypeBytes in interface Mlmodel.TensorInfoOrBuilder
      Returns:
      The bytes for dataType.
    • getShapeList

      public List<Integer> getShapeList()
       shape of the array/tensor (-1 for unknown)
       
      repeated int32 shape = 4 [json_name = "shape"];
      Specified by:
      getShapeList in interface Mlmodel.TensorInfoOrBuilder
      Returns:
      A list containing the shape.
    • getShapeCount

      public int getShapeCount()
       shape of the array/tensor (-1 for unknown)
       
      repeated int32 shape = 4 [json_name = "shape"];
      Specified by:
      getShapeCount in interface Mlmodel.TensorInfoOrBuilder
      Returns:
      The count of shape.
    • getShape

      public int getShape(int index)
       shape of the array/tensor (-1 for unknown)
       
      repeated int32 shape = 4 [json_name = "shape"];
      Specified by:
      getShape in interface Mlmodel.TensorInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The shape at the given index.
    • getAssociatedFilesList

      public List<Mlmodel.File> getAssociatedFilesList()
       files associated with the array/tensor, like for category labels
       
      repeated .viam.service.mlmodel.v1.File associated_files = 5 [json_name = "associatedFiles"];
      Specified by:
      getAssociatedFilesList in interface Mlmodel.TensorInfoOrBuilder
    • getAssociatedFilesOrBuilderList

      public List<? extends Mlmodel.FileOrBuilder> getAssociatedFilesOrBuilderList()
       files associated with the array/tensor, like for category labels
       
      repeated .viam.service.mlmodel.v1.File associated_files = 5 [json_name = "associatedFiles"];
    • getAssociatedFilesCount

      public int getAssociatedFilesCount()
       files associated with the array/tensor, like for category labels
       
      repeated .viam.service.mlmodel.v1.File associated_files = 5 [json_name = "associatedFiles"];
      Specified by:
      getAssociatedFilesCount in interface Mlmodel.TensorInfoOrBuilder
    • getAssociatedFiles

      public Mlmodel.File getAssociatedFiles(int index)
       files associated with the array/tensor, like for category labels
       
      repeated .viam.service.mlmodel.v1.File associated_files = 5 [json_name = "associatedFiles"];
      Specified by:
      getAssociatedFiles in interface Mlmodel.TensorInfoOrBuilder
    • getAssociatedFilesOrBuilder

      public Mlmodel.FileOrBuilder getAssociatedFilesOrBuilder(int index)
       files associated with the array/tensor, like for category labels
       
      repeated .viam.service.mlmodel.v1.File associated_files = 5 [json_name = "associatedFiles"];
    • hasExtra

      public boolean hasExtra()
       anything else you want to say
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      hasExtra in interface Mlmodel.TensorInfoOrBuilder
      Returns:
      Whether the extra field is set.
    • getExtra

      public com.google.protobuf.Struct getExtra()
       anything else you want to say
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      getExtra in interface Mlmodel.TensorInfoOrBuilder
      Returns:
      The extra.
    • parseFrom

      public static Mlmodel.TensorInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Mlmodel.TensorInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Mlmodel.TensorInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

      public static Mlmodel.TensorInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static Mlmodel.TensorInfo.Builder newBuilder()
    • newBuilder

      public static Mlmodel.TensorInfo.Builder newBuilder(Mlmodel.TensorInfo prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Mlmodel.TensorInfo,Mlmodel.TensorInfo.Builder>
    • getDefaultInstance

      public static Mlmodel.TensorInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Mlmodel.TensorInfo> parser()