Package viam.app.v1
Class App.MLTrainingMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.MLTrainingMetadata,App.MLTrainingMetadata.Builder>
viam.app.v1.App.MLTrainingMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.MLTrainingMetadataOrBuilder
- Enclosing class:
- App.MLTrainingMetadata
public static final class App.MLTrainingMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.MLTrainingMetadata,App.MLTrainingMetadata.Builder>
implements App.MLTrainingMetadataOrBuilder
Protobuf type
viam.app.v1.MLTrainingMetadata
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllVersions
(Iterable<? extends App.MLTrainingVersion> values) A list of package versions for ML training source distributionaddVersions
(int index, App.MLTrainingVersion value) A list of package versions for ML training source distributionaddVersions
(int index, App.MLTrainingVersion.Builder builderForValue) A list of package versions for ML training source distributionaddVersions
(App.MLTrainingVersion value) A list of package versions for ML training source distributionaddVersions
(App.MLTrainingVersion.Builder builderForValue) A list of package versions for ML training source distributionbool draft = 4 [json_name = "draft"];
.viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
.viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
A list of package versions for ML training source distributionboolean
getDraft()
bool draft = 4 [json_name = "draft"];
.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 ML training source distributionint
A list of package versions for ML training source distributionA list of package versions for ML training source distributionremoveVersions
(int index) A list of package versions for ML training source distributionsetDraft
(boolean value) bool draft = 4 [json_name = "draft"];
.viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
setModelFrameworkValue
(int value) .viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
setModelType
(MlTraining.ModelType value) .viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
setModelTypeValue
(int value) .viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
setVersions
(int index, App.MLTrainingVersion value) A list of package versions for ML training source distributionsetVersions
(int index, App.MLTrainingVersion.Builder builderForValue) A list of package versions for ML training source distributionMethods 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
-
getVersionsList
A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
- Specified by:
getVersionsList
in interfaceApp.MLTrainingMetadataOrBuilder
-
getVersionsCount
public int getVersionsCount()A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
- Specified by:
getVersionsCount
in interfaceApp.MLTrainingMetadataOrBuilder
-
getVersions
A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
- Specified by:
getVersions
in interfaceApp.MLTrainingMetadataOrBuilder
-
setVersions
A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
-
setVersions
public App.MLTrainingMetadata.Builder setVersions(int index, App.MLTrainingVersion.Builder builderForValue) A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
-
addVersions
A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
-
addVersions
A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
-
addVersions
A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
-
addVersions
public App.MLTrainingMetadata.Builder addVersions(int index, App.MLTrainingVersion.Builder builderForValue) A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
-
addAllVersions
public App.MLTrainingMetadata.Builder addAllVersions(Iterable<? extends App.MLTrainingVersion> values) A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
-
clearVersions
A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
-
removeVersions
A list of package versions for ML training source distribution
repeated .viam.app.v1.MLTrainingVersion versions = 5 [json_name = "versions"];
-
getModelTypeValue
public int getModelTypeValue().viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
- Specified by:
getModelTypeValue
in interfaceApp.MLTrainingMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for modelType.
-
setModelTypeValue
.viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
- Parameters:
value
- The modelType to set.- Returns:
- This builder for chaining.
-
getModelType
.viam.app.mltraining.v1.ModelType model_type = 2 [json_name = "modelType"];
- Specified by:
getModelType
in interfaceApp.MLTrainingMetadataOrBuilder
- Returns:
- The modelType.
-
setModelType
.viam.app.mltraining.v1.ModelType model_type = 2 [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 = 2 [json_name = "modelType"];
- Returns:
- This builder for chaining.
-
getModelFrameworkValue
public int getModelFrameworkValue().viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
- Specified by:
getModelFrameworkValue
in interfaceApp.MLTrainingMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for modelFramework.
-
setModelFrameworkValue
.viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
- Parameters:
value
- The modelFramework to set.- Returns:
- This builder for chaining.
-
getModelFramework
.viam.app.mltraining.v1.ModelFramework model_framework = 3 [json_name = "modelFramework"];
- Specified by:
getModelFramework
in interfaceApp.MLTrainingMetadataOrBuilder
- Returns:
- The modelFramework.
-
setModelFramework
.viam.app.mltraining.v1.ModelFramework model_framework = 3 [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 = 3 [json_name = "modelFramework"];
- Returns:
- This builder for chaining.
-
getDraft
public boolean getDraft()bool draft = 4 [json_name = "draft"];
- Specified by:
getDraft
in interfaceApp.MLTrainingMetadataOrBuilder
- Returns:
- The draft.
-
setDraft
bool draft = 4 [json_name = "draft"];
- Parameters:
value
- The draft to set.- Returns:
- This builder for chaining.
-
clearDraft
bool draft = 4 [json_name = "draft"];
- Returns:
- This builder for chaining.
-