Package viam.app.v1
Class AppOuterClass.UpdateMLModelMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateMLModelMetadata,AppOuterClass.UpdateMLModelMetadata.Builder>
viam.app.v1.AppOuterClass.UpdateMLModelMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.UpdateMLModelMetadataOrBuilder
- Enclosing class:
- AppOuterClass.UpdateMLModelMetadata
public static final class AppOuterClass.UpdateMLModelMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateMLModelMetadata,AppOuterClass.UpdateMLModelMetadata.Builder>
implements AppOuterClass.UpdateMLModelMetadataOrBuilder
Protobuf type
viam.app.v1.UpdateMLModelMetadata
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
.viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
.viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
int
.viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
.viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
int
.viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
.viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
setModelFrameworkValue
(int value) .viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
setModelType
(MlTraining.ModelType value) .viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
setModelTypeValue
(int value) .viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getModelTypeValue
public int getModelTypeValue().viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
- Specified by:
getModelTypeValue
in interfaceAppOuterClass.UpdateMLModelMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for modelType.
-
setModelTypeValue
.viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
- Parameters:
value
- The modelType to set.- Returns:
- This builder for chaining.
-
getModelType
.viam.app.mltraining.v1.ModelType model_type = 1 [json_name = "modelType"];
- Specified by:
getModelType
in interfaceAppOuterClass.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
.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 interfaceAppOuterClass.UpdateMLModelMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for modelFramework.
-
setModelFrameworkValue
.viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
- Parameters:
value
- The modelFramework to set.- Returns:
- This builder for chaining.
-
getModelFramework
.viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
- Specified by:
getModelFramework
in interfaceAppOuterClass.UpdateMLModelMetadataOrBuilder
- Returns:
- The modelFramework.
-
setModelFramework
public AppOuterClass.UpdateMLModelMetadata.Builder setModelFramework(MlTraining.ModelFramework value) .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
.viam.app.mltraining.v1.ModelFramework model_framework = 2 [json_name = "modelFramework"];
- Returns:
- This builder for chaining.
-