Package viam.app.v1

Interface AppOuterClass.MLModelMetadataOrBuilder

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

public static interface AppOuterClass.MLModelMetadataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • getVersionsList

      @Deprecated List<String> getVersionsList()
      Deprecated.
      viam.app.v1.MLModelMetadata.versions is deprecated. See app/v1/app.proto;l=1547
       A list of package versions for a ML model
       
      repeated string versions = 1 [json_name = "versions", deprecated = true];
      Returns:
      A list containing the versions.
    • getVersionsCount

      @Deprecated int getVersionsCount()
      Deprecated.
      viam.app.v1.MLModelMetadata.versions is deprecated. See app/v1/app.proto;l=1547
       A list of package versions for a ML model
       
      repeated string versions = 1 [json_name = "versions", deprecated = true];
      Returns:
      The count of versions.
    • getVersions

      @Deprecated String getVersions(int index)
      Deprecated.
      viam.app.v1.MLModelMetadata.versions is deprecated. See app/v1/app.proto;l=1547
       A list of package versions for a ML model
       
      repeated string versions = 1 [json_name = "versions", deprecated = true];
      Parameters:
      index - The index of the element to return.
      Returns:
      The versions at the given index.
    • getVersionsBytes

      @Deprecated com.google.protobuf.ByteString getVersionsBytes(int index)
      Deprecated.
      viam.app.v1.MLModelMetadata.versions is deprecated. See app/v1/app.proto;l=1547
       A list of package versions for a ML model
       
      repeated string versions = 1 [json_name = "versions", deprecated = true];
      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.
    • getDetailedVersionsList

      List<AppOuterClass.MLModelVersion> getDetailedVersionsList()
      repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"];
    • getDetailedVersions

      AppOuterClass.MLModelVersion getDetailedVersions(int index)
      repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"];
    • getDetailedVersionsCount

      int getDetailedVersionsCount()
      repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"];
    • getDeploymentModularResourcesList

      List<String> getDeploymentModularResourcesList()
       Colon-delimited triplets of components or services from the registry used when
       model_framework is MODEL_FRAMEWORK_REGISTRY. This ties the ML model file to the
       associated component or service that consumes the files and should be deployed
       along with the model.
       
      repeated string deployment_modular_resources = 5 [json_name = "deploymentModularResources"];
      Returns:
      A list containing the deploymentModularResources.
    • getDeploymentModularResourcesCount

      int getDeploymentModularResourcesCount()
       Colon-delimited triplets of components or services from the registry used when
       model_framework is MODEL_FRAMEWORK_REGISTRY. This ties the ML model file to the
       associated component or service that consumes the files and should be deployed
       along with the model.
       
      repeated string deployment_modular_resources = 5 [json_name = "deploymentModularResources"];
      Returns:
      The count of deploymentModularResources.
    • getDeploymentModularResources

      String getDeploymentModularResources(int index)
       Colon-delimited triplets of components or services from the registry used when
       model_framework is MODEL_FRAMEWORK_REGISTRY. This ties the ML model file to the
       associated component or service that consumes the files and should be deployed
       along with the model.
       
      repeated string deployment_modular_resources = 5 [json_name = "deploymentModularResources"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The deploymentModularResources at the given index.
    • getDeploymentModularResourcesBytes

      com.google.protobuf.ByteString getDeploymentModularResourcesBytes(int index)
       Colon-delimited triplets of components or services from the registry used when
       model_framework is MODEL_FRAMEWORK_REGISTRY. This ties the ML model file to the
       associated component or service that consumes the files and should be deployed
       along with the model.
       
      repeated string deployment_modular_resources = 5 [json_name = "deploymentModularResources"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The deploymentModularResources at the given index.