Package viam.app.v1

Interface App.MLModelMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
App.MLModelMetadata, App.MLModelMetadata.Builder
Enclosing class:
App

public static interface App.MLModelMetadataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    .viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
    int
    .viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
    .viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
    int
    .viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
    getVersions(int index)
    A list of package versions for a ML model
    com.google.protobuf.ByteString
    getVersionsBytes(int index)
    A list of package versions for a ML model
    int
    A list of package versions for a ML model
    A list of package versions for a ML model

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getVersionsList

      List<String> getVersionsList()
       A list of package versions for a ML model
       
      repeated string versions = 1 [json_name = "versions"];
      Returns:
      A list containing the versions.
    • getVersionsCount

      int getVersionsCount()
       A list of package versions for a ML model
       
      repeated string versions = 1 [json_name = "versions"];
      Returns:
      The count of versions.
    • getVersions

      String getVersions(int index)
       A list of package versions for a ML model
       
      repeated string versions = 1 [json_name = "versions"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The versions at the given index.
    • getVersionsBytes

      com.google.protobuf.ByteString getVersionsBytes(int index)
       A list of package versions for a ML model
       
      repeated string versions = 1 [json_name = "versions"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The versions at the given index.
    • getModelTypeValue

      int getModelTypeValue()
      .viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
      Returns:
      The enum numeric value on the wire for modelType.
    • getModelType

      MlTraining.ModelType getModelType()
      .viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
      Returns:
      The modelType.
    • getModelFrameworkValue

      int getModelFrameworkValue()
      .viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
      Returns:
      The enum numeric value on the wire for modelFramework.
    • getModelFramework

      MlTraining.ModelFramework getModelFramework()
      .viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
      Returns:
      The modelFramework.