Package viam.app.v1

Class App.UpdateMLModelMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateMLModelMetadata,App.UpdateMLModelMetadata.Builder>
viam.app.v1.App.UpdateMLModelMetadata.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, App.UpdateMLModelMetadataOrBuilder
Enclosing class:
App.UpdateMLModelMetadata

public static final class App.UpdateMLModelMetadata.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateMLModelMetadata,App.UpdateMLModelMetadata.Builder> implements App.UpdateMLModelMetadataOrBuilder
Protobuf type viam.app.v1.UpdateMLModelMetadata
  • Method Details

    • getModelTypeValue

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

      public App.UpdateMLModelMetadata.Builder setModelTypeValue(int value)
      .viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
      Parameters:
      value - The modelType to set.
      Returns:
      This builder for chaining.
    • getModelType

      public MlTraining.ModelType getModelType()
      .viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
      Specified by:
      getModelType in interface App.UpdateMLModelMetadataOrBuilder
      Returns:
      The modelType.
    • setModelType

      .viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
      Parameters:
      value - The enum numeric value on the wire for modelType to set.
      Returns:
      This builder for chaining.
    • clearModelType

      public App.UpdateMLModelMetadata.Builder clearModelType()
      .viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
      Returns:
      This builder for chaining.
    • getModelFrameworkValue

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

      public App.UpdateMLModelMetadata.Builder setModelFrameworkValue(int value)
      .viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
      Parameters:
      value - The modelFramework to set.
      Returns:
      This builder for chaining.
    • getModelFramework

      public MlTraining.ModelFramework getModelFramework()
      .viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
      Specified by:
      getModelFramework in interface App.UpdateMLModelMetadataOrBuilder
      Returns:
      The modelFramework.
    • setModelFramework

      .viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
      Parameters:
      value - The enum numeric value on the wire for modelFramework to set.
      Returns:
      This builder for chaining.
    • clearModelFramework

      public App.UpdateMLModelMetadata.Builder clearModelFramework()
      .viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
      Returns:
      This builder for chaining.