Package viam.app.mltraining.v1
Class MlTraining.SubmitCustomTrainingJobRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<MlTraining.SubmitCustomTrainingJobRequest,MlTraining.SubmitCustomTrainingJobRequest.Builder>
viam.app.mltraining.v1.MlTraining.SubmitCustomTrainingJobRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,MlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Enclosing class:
- MlTraining.SubmitCustomTrainingJobRequest
public static final class MlTraining.SubmitCustomTrainingJobRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<MlTraining.SubmitCustomTrainingJobRequest,MlTraining.SubmitCustomTrainingJobRequest.Builder>
implements MlTraining.SubmitCustomTrainingJobRequestOrBuilder
Protobuf type
viam.app.mltraining.v1.SubmitCustomTrainingJobRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring dataset_id = 1 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
string model_name = 4 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
string model_version = 5 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
string organization_id = 3 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
string registry_item_id = 2 [json_name = "registryItemId", (.tagger.v1.tags) = "bson:\"registry_item_id\" json:\"registry_item_id\""];
string registry_item_version = 6 [json_name = "registryItemVersion", (.tagger.v1.tags) = "bson:\"registry_item_version\" json:\"registry_item_version\""];
boolean
containsArguments
(String key) map<string, string> arguments = 7 [json_name = "arguments"];
Deprecated.int
map<string, string> arguments = 7 [json_name = "arguments"];
map<string, string> arguments = 7 [json_name = "arguments"];
getArgumentsOrDefault
(String key, String defaultValue) map<string, string> arguments = 7 [json_name = "arguments"];
map<string, string> arguments = 7 [json_name = "arguments"];
string dataset_id = 1 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
com.google.protobuf.ByteString
string dataset_id = 1 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
string model_name = 4 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
com.google.protobuf.ByteString
string model_name = 4 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
string model_version = 5 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
com.google.protobuf.ByteString
string model_version = 5 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
string organization_id = 3 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
com.google.protobuf.ByteString
string organization_id = 3 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
string registry_item_id = 2 [json_name = "registryItemId", (.tagger.v1.tags) = "bson:\"registry_item_id\" json:\"registry_item_id\""];
com.google.protobuf.ByteString
string registry_item_id = 2 [json_name = "registryItemId", (.tagger.v1.tags) = "bson:\"registry_item_id\" json:\"registry_item_id\""];
string registry_item_version = 6 [json_name = "registryItemVersion", (.tagger.v1.tags) = "bson:\"registry_item_version\" json:\"registry_item_version\""];
com.google.protobuf.ByteString
string registry_item_version = 6 [json_name = "registryItemVersion", (.tagger.v1.tags) = "bson:\"registry_item_version\" json:\"registry_item_version\""];
putAllArguments
(Map<String, String> values) map<string, string> arguments = 7 [json_name = "arguments"];
putArguments
(String key, String value) map<string, string> arguments = 7 [json_name = "arguments"];
removeArguments
(String key) map<string, string> arguments = 7 [json_name = "arguments"];
setDatasetId
(String value) string dataset_id = 1 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
setDatasetIdBytes
(com.google.protobuf.ByteString value) string dataset_id = 1 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
setModelName
(String value) string model_name = 4 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
setModelNameBytes
(com.google.protobuf.ByteString value) string model_name = 4 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
setModelVersion
(String value) string model_version = 5 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
setModelVersionBytes
(com.google.protobuf.ByteString value) string model_version = 5 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
setOrganizationId
(String value) string organization_id = 3 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 3 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
setRegistryItemId
(String value) string registry_item_id = 2 [json_name = "registryItemId", (.tagger.v1.tags) = "bson:\"registry_item_id\" json:\"registry_item_id\""];
setRegistryItemIdBytes
(com.google.protobuf.ByteString value) string registry_item_id = 2 [json_name = "registryItemId", (.tagger.v1.tags) = "bson:\"registry_item_id\" json:\"registry_item_id\""];
setRegistryItemVersion
(String value) string registry_item_version = 6 [json_name = "registryItemVersion", (.tagger.v1.tags) = "bson:\"registry_item_version\" json:\"registry_item_version\""];
setRegistryItemVersionBytes
(com.google.protobuf.ByteString value) string registry_item_version = 6 [json_name = "registryItemVersion", (.tagger.v1.tags) = "bson:\"registry_item_version\" json:\"registry_item_version\""];
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 = 1 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
- Specified by:
getDatasetId
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The datasetId.
-
getDatasetIdBytes
public com.google.protobuf.ByteString getDatasetIdBytes()string dataset_id = 1 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
- Specified by:
getDatasetIdBytes
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The bytes for datasetId.
-
setDatasetId
string dataset_id = 1 [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 = 1 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
- Returns:
- This builder for chaining.
-
setDatasetIdBytes
public MlTraining.SubmitCustomTrainingJobRequest.Builder setDatasetIdBytes(com.google.protobuf.ByteString value) string dataset_id = 1 [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.
-
getRegistryItemId
string registry_item_id = 2 [json_name = "registryItemId", (.tagger.v1.tags) = "bson:\"registry_item_id\" json:\"registry_item_id\""];
- Specified by:
getRegistryItemId
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The registryItemId.
-
getRegistryItemIdBytes
public com.google.protobuf.ByteString getRegistryItemIdBytes()string registry_item_id = 2 [json_name = "registryItemId", (.tagger.v1.tags) = "bson:\"registry_item_id\" json:\"registry_item_id\""];
- Specified by:
getRegistryItemIdBytes
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The bytes for registryItemId.
-
setRegistryItemId
string registry_item_id = 2 [json_name = "registryItemId", (.tagger.v1.tags) = "bson:\"registry_item_id\" json:\"registry_item_id\""];
- Parameters:
value
- The registryItemId to set.- Returns:
- This builder for chaining.
-
clearRegistryItemId
string registry_item_id = 2 [json_name = "registryItemId", (.tagger.v1.tags) = "bson:\"registry_item_id\" json:\"registry_item_id\""];
- Returns:
- This builder for chaining.
-
setRegistryItemIdBytes
public MlTraining.SubmitCustomTrainingJobRequest.Builder setRegistryItemIdBytes(com.google.protobuf.ByteString value) string registry_item_id = 2 [json_name = "registryItemId", (.tagger.v1.tags) = "bson:\"registry_item_id\" json:\"registry_item_id\""];
- Parameters:
value
- The bytes for registryItemId to set.- Returns:
- This builder for chaining.
-
getRegistryItemVersion
string registry_item_version = 6 [json_name = "registryItemVersion", (.tagger.v1.tags) = "bson:\"registry_item_version\" json:\"registry_item_version\""];
- Specified by:
getRegistryItemVersion
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The registryItemVersion.
-
getRegistryItemVersionBytes
public com.google.protobuf.ByteString getRegistryItemVersionBytes()string registry_item_version = 6 [json_name = "registryItemVersion", (.tagger.v1.tags) = "bson:\"registry_item_version\" json:\"registry_item_version\""];
- Specified by:
getRegistryItemVersionBytes
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The bytes for registryItemVersion.
-
setRegistryItemVersion
string registry_item_version = 6 [json_name = "registryItemVersion", (.tagger.v1.tags) = "bson:\"registry_item_version\" json:\"registry_item_version\""];
- Parameters:
value
- The registryItemVersion to set.- Returns:
- This builder for chaining.
-
clearRegistryItemVersion
string registry_item_version = 6 [json_name = "registryItemVersion", (.tagger.v1.tags) = "bson:\"registry_item_version\" json:\"registry_item_version\""];
- Returns:
- This builder for chaining.
-
setRegistryItemVersionBytes
public MlTraining.SubmitCustomTrainingJobRequest.Builder setRegistryItemVersionBytes(com.google.protobuf.ByteString value) string registry_item_version = 6 [json_name = "registryItemVersion", (.tagger.v1.tags) = "bson:\"registry_item_version\" json:\"registry_item_version\""];
- Parameters:
value
- The bytes for registryItemVersion to set.- Returns:
- This builder for chaining.
-
getOrganizationId
string organization_id = 3 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
- Specified by:
getOrganizationId
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 3 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
- Specified by:
getOrganizationIdBytes
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 3 [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 = 3 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public MlTraining.SubmitCustomTrainingJobRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 3 [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 = 4 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
- Specified by:
getModelName
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The modelName.
-
getModelNameBytes
public com.google.protobuf.ByteString getModelNameBytes()string model_name = 4 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
- Specified by:
getModelNameBytes
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The bytes for modelName.
-
setModelName
string model_name = 4 [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 = 4 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
- Returns:
- This builder for chaining.
-
setModelNameBytes
public MlTraining.SubmitCustomTrainingJobRequest.Builder setModelNameBytes(com.google.protobuf.ByteString value) string model_name = 4 [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 = 5 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
- Specified by:
getModelVersion
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The modelVersion.
-
getModelVersionBytes
public com.google.protobuf.ByteString getModelVersionBytes()string model_version = 5 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
- Specified by:
getModelVersionBytes
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
- Returns:
- The bytes for modelVersion.
-
setModelVersion
string model_version = 5 [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 = 5 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
- Returns:
- This builder for chaining.
-
setModelVersionBytes
public MlTraining.SubmitCustomTrainingJobRequest.Builder setModelVersionBytes(com.google.protobuf.ByteString value) string model_version = 5 [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.
-
getArgumentsCount
public int getArgumentsCount()Description copied from interface:MlTraining.SubmitCustomTrainingJobRequestOrBuilder
map<string, string> arguments = 7 [json_name = "arguments"];
- Specified by:
getArgumentsCount
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
-
containsArguments
map<string, string> arguments = 7 [json_name = "arguments"];
- Specified by:
containsArguments
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
-
clearArguments
-
removeArguments
map<string, string> arguments = 7 [json_name = "arguments"];
-
getArguments
Deprecated.UsegetArgumentsMap()
instead.- Specified by:
getArguments
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
-
getArgumentsMap
map<string, string> arguments = 7 [json_name = "arguments"];
- Specified by:
getArgumentsMap
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
-
getArgumentsOrDefault
map<string, string> arguments = 7 [json_name = "arguments"];
- Specified by:
getArgumentsOrDefault
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
-
getArgumentsOrThrow
map<string, string> arguments = 7 [json_name = "arguments"];
- Specified by:
getArgumentsOrThrow
in interfaceMlTraining.SubmitCustomTrainingJobRequestOrBuilder
-
putArguments
map<string, string> arguments = 7 [json_name = "arguments"];
-
putAllArguments
map<string, string> arguments = 7 [json_name = "arguments"];
-