Interface Mlmodel.MetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Mlmodel.Metadata, Mlmodel.Metadata.Builder
Enclosing class:
Mlmodel

public static interface Mlmodel.MetadataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • getName

      String getName()
       name of the model
       
      string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       name of the model
       
      string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • getType

      String getType()
       type of model e.g. object_detector, text_classifier
       
      string type = 2 [json_name = "type"];
      Returns:
      The type.
    • getTypeBytes

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

      String getDescription()
       description of the model
       
      string description = 3 [json_name = "description"];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       description of the model
       
      string description = 3 [json_name = "description"];
      Returns:
      The bytes for description.
    • getInputInfoList

      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"];
    • getInputInfo

      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"];
    • getInputInfoCount

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

      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"];
    • getOutputInfo

      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"];
    • getOutputInfoCount

      int getOutputInfoCount()
       the output arrays/tensors of the model, order matters
       
      repeated .viam.service.mlmodel.v1.TensorInfo output_info = 5 [json_name = "outputInfo"];