Class Mlmodel.Metadata

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

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

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

    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
     

    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)
     
     
    description of the model
    com.google.protobuf.ByteString
    description of the model
    getInputInfo(int index)
    the necessary input arrays/tensors for an inference, order matters
    int
    the necessary input arrays/tensors for an inference, order matters
    the necessary input arrays/tensors for an inference, order matters
    the necessary input arrays/tensors for an inference, order matters
    the necessary input arrays/tensors for an inference, order matters
    name of the model
    com.google.protobuf.ByteString
    name of the model
    getOutputInfo(int index)
    the output arrays/tensors of the model, order matters
    int
    the output arrays/tensors of the model, order matters
    the output arrays/tensors of the model, order matters
    the output arrays/tensors of the model, order matters
    the output arrays/tensors of the model, order matters
    type of model e.g.
    com.google.protobuf.ByteString
    type of model e.g.
     
     
     
    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.Metadata>
     

    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 model
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Mlmodel.MetadataOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       name of the model
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Mlmodel.MetadataOrBuilder
      Returns:
      The bytes for name.
    • getType

      public String getType()
       type of model e.g. object_detector, text_classifier
       
      string type = 2 [json_name = "type"];
      Specified by:
      getType in interface Mlmodel.MetadataOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       type of model e.g. object_detector, text_classifier
       
      string type = 2 [json_name = "type"];
      Specified by:
      getTypeBytes in interface Mlmodel.MetadataOrBuilder
      Returns:
      The bytes for type.
    • getDescription

      public String getDescription()
       description of the model
       
      string description = 3 [json_name = "description"];
      Specified by:
      getDescription in interface Mlmodel.MetadataOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       description of the model
       
      string description = 3 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface Mlmodel.MetadataOrBuilder
      Returns:
      The bytes for description.
    • getInputInfoList

      public List<Mlmodel.TensorInfo> getInputInfoList()
       the necessary input arrays/tensors for an inference, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];
      Specified by:
      getInputInfoList in interface Mlmodel.MetadataOrBuilder
    • getInputInfoOrBuilderList

      public List<? extends Mlmodel.TensorInfoOrBuilder> getInputInfoOrBuilderList()
       the necessary input arrays/tensors for an inference, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];
    • getInputInfoCount

      public int getInputInfoCount()
       the necessary input arrays/tensors for an inference, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];
      Specified by:
      getInputInfoCount in interface Mlmodel.MetadataOrBuilder
    • getInputInfo

      public Mlmodel.TensorInfo getInputInfo(int index)
       the necessary input arrays/tensors for an inference, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];
      Specified by:
      getInputInfo in interface Mlmodel.MetadataOrBuilder
    • getInputInfoOrBuilder

      public Mlmodel.TensorInfoOrBuilder getInputInfoOrBuilder(int index)
       the necessary input arrays/tensors for an inference, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo input_info = 4 [json_name = "inputInfo"];
    • getOutputInfoList

      public List<Mlmodel.TensorInfo> getOutputInfoList()
       the output arrays/tensors of the model, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];
      Specified by:
      getOutputInfoList in interface Mlmodel.MetadataOrBuilder
    • getOutputInfoOrBuilderList

      public List<? extends Mlmodel.TensorInfoOrBuilder> getOutputInfoOrBuilderList()
       the output arrays/tensors of the model, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];
    • getOutputInfoCount

      public int getOutputInfoCount()
       the output arrays/tensors of the model, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];
      Specified by:
      getOutputInfoCount in interface Mlmodel.MetadataOrBuilder
    • getOutputInfo

      public Mlmodel.TensorInfo getOutputInfo(int index)
       the output arrays/tensors of the model, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];
      Specified by:
      getOutputInfo in interface Mlmodel.MetadataOrBuilder
    • getOutputInfoOrBuilder

      public Mlmodel.TensorInfoOrBuilder getOutputInfoOrBuilder(int index)
       the output arrays/tensors of the model, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];
    • parseFrom

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

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

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

      public static Mlmodel.Metadata 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.Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static Mlmodel.Metadata.Builder newBuilder(Mlmodel.Metadata 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.Metadata,Mlmodel.Metadata.Builder>
    • getDefaultInstance

      public static Mlmodel.Metadata getDefaultInstance()
    • parser

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