Package viam.app.v1

Class AppOuterClass.MLModelMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite<AppOuterClass.MLModelMetadata,AppOuterClass.MLModelMetadata.Builder>
com.google.protobuf.GeneratedMessageLite<AppOuterClass.MLModelMetadata,AppOuterClass.MLModelMetadata.Builder>
viam.app.v1.AppOuterClass.MLModelMetadata
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, AppOuterClass.MLModelMetadataOrBuilder
Enclosing class:
AppOuterClass

public static final class AppOuterClass.MLModelMetadata extends com.google.protobuf.GeneratedMessageLite<AppOuterClass.MLModelMetadata,AppOuterClass.MLModelMetadata.Builder> implements AppOuterClass.MLModelMetadataOrBuilder
Protobuf type viam.app.v1.MLModelMetadata
  • Field Details

    • VERSIONS_FIELD_NUMBER

      public static final int VERSIONS_FIELD_NUMBER
      See Also:
    • MODEL_TYPE_FIELD_NUMBER

      public static final int MODEL_TYPE_FIELD_NUMBER
      See Also:
    • MODEL_FRAMEWORK_FIELD_NUMBER

      public static final int MODEL_FRAMEWORK_FIELD_NUMBER
      See Also:
    • DETAILED_VERSIONS_FIELD_NUMBER

      public static final int DETAILED_VERSIONS_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_MODULAR_RESOURCES_FIELD_NUMBER

      public static final int DEPLOYMENT_MODULAR_RESOURCES_FIELD_NUMBER
      See Also:
  • Method Details

    • getVersionsList

      @Deprecated public 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];
      Specified by:
      getVersionsList in interface AppOuterClass.MLModelMetadataOrBuilder
      Returns:
      A list containing the versions.
    • getVersionsCount

      @Deprecated public 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];
      Specified by:
      getVersionsCount in interface AppOuterClass.MLModelMetadataOrBuilder
      Returns:
      The count of versions.
    • getVersions

      @Deprecated public 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];
      Specified by:
      getVersions in interface AppOuterClass.MLModelMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The versions at the given index.
    • getVersionsBytes

      @Deprecated public 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];
      Specified by:
      getVersionsBytes in interface AppOuterClass.MLModelMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the versions at the given index.
    • getModelTypeValue

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

      public MlTraining.ModelType getModelType()
      .viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
      Specified by:
      getModelType in interface AppOuterClass.MLModelMetadataOrBuilder
      Returns:
      The modelType.
    • getModelFrameworkValue

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

      public MlTraining.ModelFramework getModelFramework()
      .viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
      Specified by:
      getModelFramework in interface AppOuterClass.MLModelMetadataOrBuilder
      Returns:
      The modelFramework.
    • getDetailedVersionsList

      public List<AppOuterClass.MLModelVersion> getDetailedVersionsList()
      repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"];
      Specified by:
      getDetailedVersionsList in interface AppOuterClass.MLModelMetadataOrBuilder
    • getDetailedVersionsOrBuilderList

      public List<? extends AppOuterClass.MLModelVersionOrBuilder> getDetailedVersionsOrBuilderList()
      repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"];
    • getDetailedVersionsCount

      public int getDetailedVersionsCount()
      repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"];
      Specified by:
      getDetailedVersionsCount in interface AppOuterClass.MLModelMetadataOrBuilder
    • getDetailedVersions

      public AppOuterClass.MLModelVersion getDetailedVersions(int index)
      repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"];
      Specified by:
      getDetailedVersions in interface AppOuterClass.MLModelMetadataOrBuilder
    • getDetailedVersionsOrBuilder

      public AppOuterClass.MLModelVersionOrBuilder getDetailedVersionsOrBuilder(int index)
      repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"];
    • getDeploymentModularResourcesList

      public 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"];
      Specified by:
      getDeploymentModularResourcesList in interface AppOuterClass.MLModelMetadataOrBuilder
      Returns:
      A list containing the deploymentModularResources.
    • getDeploymentModularResourcesCount

      public 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"];
      Specified by:
      getDeploymentModularResourcesCount in interface AppOuterClass.MLModelMetadataOrBuilder
      Returns:
      The count of deploymentModularResources.
    • getDeploymentModularResources

      public 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"];
      Specified by:
      getDeploymentModularResources in interface AppOuterClass.MLModelMetadataOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The deploymentModularResources at the given index.
    • getDeploymentModularResourcesBytes

      public 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"];
      Specified by:
      getDeploymentModularResourcesBytes in interface AppOuterClass.MLModelMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the deploymentModularResources at the given index.
    • parseFrom

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

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

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

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

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

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

      public static AppOuterClass.MLModelMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static AppOuterClass.MLModelMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

      public static AppOuterClass.MLModelMetadata.Builder newBuilder()
    • newBuilder

    • dynamicMethod

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

      public static AppOuterClass.MLModelMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AppOuterClass.MLModelMetadata> parser()