Package viam.app.mltraining.v1
Class MlTraining.SubmitTrainingJobRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<MlTraining.SubmitTrainingJobRequest,MlTraining.SubmitTrainingJobRequest.Builder>
viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,MlTraining.SubmitTrainingJobRequestOrBuilder
- Enclosing class:
- MlTraining.SubmitTrainingJobRequest
public static final class MlTraining.SubmitTrainingJobRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<MlTraining.SubmitTrainingJobRequest,MlTraining.SubmitTrainingJobRequest.Builder>
implements MlTraining.SubmitTrainingJobRequestOrBuilder
Protobuf type
viam.app.mltraining.v1.SubmitTrainingJobRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags
(Iterable<String> values) repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
addTagsBytes
(com.google.protobuf.ByteString value) repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
.viam.app.mltraining.v1.ModelType model_type = 5 [json_name = "modelType", (.tagger.v1.tags) = "bson:\"model_type\" json:\"model_type\""];
string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
com.google.protobuf.ByteString
string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
com.google.protobuf.ByteString
string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
.viam.app.mltraining.v1.ModelType model_type = 5 [json_name = "modelType", (.tagger.v1.tags) = "bson:\"model_type\" json:\"model_type\""];
int
.viam.app.mltraining.v1.ModelType model_type = 5 [json_name = "modelType", (.tagger.v1.tags) = "bson:\"model_type\" json:\"model_type\""];
string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
com.google.protobuf.ByteString
string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
com.google.protobuf.ByteString
string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
getTags
(int index) repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
com.google.protobuf.ByteString
getTagsBytes
(int index) repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
int
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
setDatasetId
(String value) string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
setDatasetIdBytes
(com.google.protobuf.ByteString value) string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
setModelName
(String value) string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
setModelNameBytes
(com.google.protobuf.ByteString value) string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
setModelType
(MlTraining.ModelType value) .viam.app.mltraining.v1.ModelType model_type = 5 [json_name = "modelType", (.tagger.v1.tags) = "bson:\"model_type\" json:\"model_type\""];
setModelTypeValue
(int value) .viam.app.mltraining.v1.ModelType model_type = 5 [json_name = "modelType", (.tagger.v1.tags) = "bson:\"model_type\" json:\"model_type\""];
setModelVersion
(String value) string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
setModelVersionBytes
(com.google.protobuf.ByteString value) string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
setOrganizationId
(String value) string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
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
-
getDatasetId
string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
- Specified by:
getDatasetId
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The datasetId.
-
getDatasetIdBytes
public com.google.protobuf.ByteString getDatasetIdBytes()string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
- Specified by:
getDatasetIdBytes
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The bytes for datasetId.
-
setDatasetId
string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
- Parameters:
value
- The datasetId to set.- Returns:
- This builder for chaining.
-
clearDatasetId
string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
- Returns:
- This builder for chaining.
-
setDatasetIdBytes
public MlTraining.SubmitTrainingJobRequest.Builder setDatasetIdBytes(com.google.protobuf.ByteString value) string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
- Parameters:
value
- The bytes for datasetId to set.- Returns:
- This builder for chaining.
-
getOrganizationId
string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
- Specified by:
getOrganizationId
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
- Specified by:
getOrganizationIdBytes
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public MlTraining.SubmitTrainingJobRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getModelName
string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
- Specified by:
getModelName
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The modelName.
-
getModelNameBytes
public com.google.protobuf.ByteString getModelNameBytes()string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
- Specified by:
getModelNameBytes
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The bytes for modelName.
-
setModelName
string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
- Parameters:
value
- The modelName to set.- Returns:
- This builder for chaining.
-
clearModelName
string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
- Returns:
- This builder for chaining.
-
setModelNameBytes
public MlTraining.SubmitTrainingJobRequest.Builder setModelNameBytes(com.google.protobuf.ByteString value) string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
- Parameters:
value
- The bytes for modelName to set.- Returns:
- This builder for chaining.
-
getModelVersion
string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
- Specified by:
getModelVersion
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The modelVersion.
-
getModelVersionBytes
public com.google.protobuf.ByteString getModelVersionBytes()string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
- Specified by:
getModelVersionBytes
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The bytes for modelVersion.
-
setModelVersion
string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
- Parameters:
value
- The modelVersion to set.- Returns:
- This builder for chaining.
-
clearModelVersion
string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
- Returns:
- This builder for chaining.
-
setModelVersionBytes
public MlTraining.SubmitTrainingJobRequest.Builder setModelVersionBytes(com.google.protobuf.ByteString value) string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
- Parameters:
value
- The bytes for modelVersion to set.- Returns:
- This builder for chaining.
-
getModelTypeValue
public int getModelTypeValue().viam.app.mltraining.v1.ModelType model_type = 5 [json_name = "modelType", (.tagger.v1.tags) = "bson:\"model_type\" json:\"model_type\""];
- Specified by:
getModelTypeValue
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The enum numeric value on the wire for modelType.
-
setModelTypeValue
.viam.app.mltraining.v1.ModelType model_type = 5 [json_name = "modelType", (.tagger.v1.tags) = "bson:\"model_type\" json:\"model_type\""];
- Parameters:
value
- The modelType to set.- Returns:
- This builder for chaining.
-
getModelType
.viam.app.mltraining.v1.ModelType model_type = 5 [json_name = "modelType", (.tagger.v1.tags) = "bson:\"model_type\" json:\"model_type\""];
- Specified by:
getModelType
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The modelType.
-
setModelType
.viam.app.mltraining.v1.ModelType model_type = 5 [json_name = "modelType", (.tagger.v1.tags) = "bson:\"model_type\" json:\"model_type\""];
- 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 = 5 [json_name = "modelType", (.tagger.v1.tags) = "bson:\"model_type\" json:\"model_type\""];
- Returns:
- This builder for chaining.
-
getTagsList
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
- Specified by:
getTagsList
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
- Specified by:
getTagsCount
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Returns:
- The count of tags.
-
getTags
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
- Specified by:
getTags
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
- Specified by:
getTagsBytes
in interfaceMlTraining.SubmitTrainingJobRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
- Parameters:
index
- The index to set the value at.value
- The tags to set.- Returns:
- This builder for chaining.
-
addTags
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
- Parameters:
value
- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
- Parameters:
values
- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
- Returns:
- This builder for chaining.
-
addTagsBytes
public MlTraining.SubmitTrainingJobRequest.Builder addTagsBytes(com.google.protobuf.ByteString value) repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
- Parameters:
value
- The bytes of the tags to add.- Returns:
- This builder for chaining.
-