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
  • Method Details

    • getDatasetId

      public String getDatasetId()
      string dataset_id = 7 [json_name = "datasetId", (.tagger.v1.tags) = "bson:\"dataset_id\" json:\"dataset_id\""];
      Specified by:
      getDatasetId in interface MlTraining.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 interface MlTraining.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

      public String getOrganizationId()
      string organization_id = 2 [json_name = "organizationId", (.tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
      Specified by:
      getOrganizationId in interface MlTraining.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 interface MlTraining.SubmitTrainingJobRequestOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public MlTraining.SubmitTrainingJobRequest.Builder setOrganizationId(String value)
      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

      public MlTraining.SubmitTrainingJobRequest.Builder 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

      public String getModelName()
      string model_name = 3 [json_name = "modelName", (.tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
      Specified by:
      getModelName in interface MlTraining.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 interface MlTraining.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

      public String getModelVersion()
      string model_version = 4 [json_name = "modelVersion", (.tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
      Specified by:
      getModelVersion in interface MlTraining.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 interface MlTraining.SubmitTrainingJobRequestOrBuilder
      Returns:
      The bytes for modelVersion.
    • setModelVersion

      public MlTraining.SubmitTrainingJobRequest.Builder setModelVersion(String value)
      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

      public MlTraining.SubmitTrainingJobRequest.Builder 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 interface MlTraining.SubmitTrainingJobRequestOrBuilder
      Returns:
      The enum numeric value on the wire for modelType.
    • setModelTypeValue

      public MlTraining.SubmitTrainingJobRequest.Builder setModelTypeValue(int value)
      .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

      public MlTraining.ModelType 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 interface MlTraining.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

      public List<String> getTagsList()
      repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
      Specified by:
      getTagsList in interface MlTraining.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 interface MlTraining.SubmitTrainingJobRequestOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
      repeated string tags = 6 [json_name = "tags", (.tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];
      Specified by:
      getTags in interface MlTraining.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 interface MlTraining.SubmitTrainingJobRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public MlTraining.SubmitTrainingJobRequest.Builder setTags(int index, String value)
      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.