Class TuningJob.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TuningJob.Builder>
com.google.cloud.aiplatform.v1.TuningJob.Builder
All Implemented Interfaces:
TuningJobOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TuningJob

public static final class TuningJob.Builder extends com.google.protobuf.GeneratedMessage.Builder<TuningJob.Builder> implements TuningJobOrBuilder
 Represents a TuningJob that runs with Google owned models.
 
Protobuf type google.cloud.aiplatform.v1.TuningJob
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<TuningJob.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<TuningJob.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TuningJob.Builder>
    • clear

      public TuningJob.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TuningJob.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TuningJob.Builder>
    • getDefaultInstanceForType

      public TuningJob getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TuningJob build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TuningJob buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TuningJob.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TuningJob.Builder>
    • mergeFrom

      public TuningJob.Builder mergeFrom(TuningJob other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TuningJob.Builder>
    • mergeFrom

      public TuningJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TuningJob.Builder>
      Throws:
      IOException
    • getSourceModelCase

      public TuningJob.SourceModelCase getSourceModelCase()
      Specified by:
      getSourceModelCase in interface TuningJobOrBuilder
    • clearSourceModel

      public TuningJob.Builder clearSourceModel()
    • getTuningSpecCase

      public TuningJob.TuningSpecCase getTuningSpecCase()
      Specified by:
      getTuningSpecCase in interface TuningJobOrBuilder
    • clearTuningSpec

      public TuningJob.Builder clearTuningSpec()
    • hasBaseModel

      public boolean hasBaseModel()
       The base model that is being tuned. See [Supported
       models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).
       
      string base_model = 4;
      Specified by:
      hasBaseModel in interface TuningJobOrBuilder
      Returns:
      Whether the baseModel field is set.
    • getBaseModel

      public String getBaseModel()
       The base model that is being tuned. See [Supported
       models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).
       
      string base_model = 4;
      Specified by:
      getBaseModel in interface TuningJobOrBuilder
      Returns:
      The baseModel.
    • getBaseModelBytes

      public com.google.protobuf.ByteString getBaseModelBytes()
       The base model that is being tuned. See [Supported
       models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).
       
      string base_model = 4;
      Specified by:
      getBaseModelBytes in interface TuningJobOrBuilder
      Returns:
      The bytes for baseModel.
    • setBaseModel

      public TuningJob.Builder setBaseModel(String value)
       The base model that is being tuned. See [Supported
       models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).
       
      string base_model = 4;
      Parameters:
      value - The baseModel to set.
      Returns:
      This builder for chaining.
    • clearBaseModel

      public TuningJob.Builder clearBaseModel()
       The base model that is being tuned. See [Supported
       models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).
       
      string base_model = 4;
      Returns:
      This builder for chaining.
    • setBaseModelBytes

      public TuningJob.Builder setBaseModelBytes(com.google.protobuf.ByteString value)
       The base model that is being tuned. See [Supported
       models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).
       
      string base_model = 4;
      Parameters:
      value - The bytes for baseModel to set.
      Returns:
      This builder for chaining.
    • hasPreTunedModel

      public boolean hasPreTunedModel()
       The pre-tuned model for continuous tuning.
       
      .google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;
      Specified by:
      hasPreTunedModel in interface TuningJobOrBuilder
      Returns:
      Whether the preTunedModel field is set.
    • getPreTunedModel

      public PreTunedModel getPreTunedModel()
       The pre-tuned model for continuous tuning.
       
      .google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;
      Specified by:
      getPreTunedModel in interface TuningJobOrBuilder
      Returns:
      The preTunedModel.
    • setPreTunedModel

      public TuningJob.Builder setPreTunedModel(PreTunedModel value)
       The pre-tuned model for continuous tuning.
       
      .google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;
    • setPreTunedModel

      public TuningJob.Builder setPreTunedModel(PreTunedModel.Builder builderForValue)
       The pre-tuned model for continuous tuning.
       
      .google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;
    • mergePreTunedModel

      public TuningJob.Builder mergePreTunedModel(PreTunedModel value)
       The pre-tuned model for continuous tuning.
       
      .google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;
    • clearPreTunedModel

      public TuningJob.Builder clearPreTunedModel()
       The pre-tuned model for continuous tuning.
       
      .google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;
    • getPreTunedModelBuilder

      public PreTunedModel.Builder getPreTunedModelBuilder()
       The pre-tuned model for continuous tuning.
       
      .google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;
    • getPreTunedModelOrBuilder

      public PreTunedModelOrBuilder getPreTunedModelOrBuilder()
       The pre-tuned model for continuous tuning.
       
      .google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;
      Specified by:
      getPreTunedModelOrBuilder in interface TuningJobOrBuilder
    • hasSupervisedTuningSpec

      public boolean hasSupervisedTuningSpec()
       Tuning Spec for Supervised Fine Tuning.
       
      .google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;
      Specified by:
      hasSupervisedTuningSpec in interface TuningJobOrBuilder
      Returns:
      Whether the supervisedTuningSpec field is set.
    • getSupervisedTuningSpec

      public SupervisedTuningSpec getSupervisedTuningSpec()
       Tuning Spec for Supervised Fine Tuning.
       
      .google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;
      Specified by:
      getSupervisedTuningSpec in interface TuningJobOrBuilder
      Returns:
      The supervisedTuningSpec.
    • setSupervisedTuningSpec

      public TuningJob.Builder setSupervisedTuningSpec(SupervisedTuningSpec value)
       Tuning Spec for Supervised Fine Tuning.
       
      .google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;
    • setSupervisedTuningSpec

      public TuningJob.Builder setSupervisedTuningSpec(SupervisedTuningSpec.Builder builderForValue)
       Tuning Spec for Supervised Fine Tuning.
       
      .google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;
    • mergeSupervisedTuningSpec

      public TuningJob.Builder mergeSupervisedTuningSpec(SupervisedTuningSpec value)
       Tuning Spec for Supervised Fine Tuning.
       
      .google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;
    • clearSupervisedTuningSpec

      public TuningJob.Builder clearSupervisedTuningSpec()
       Tuning Spec for Supervised Fine Tuning.
       
      .google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;
    • getSupervisedTuningSpecBuilder

      public SupervisedTuningSpec.Builder getSupervisedTuningSpecBuilder()
       Tuning Spec for Supervised Fine Tuning.
       
      .google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;
    • getSupervisedTuningSpecOrBuilder

      public SupervisedTuningSpecOrBuilder getSupervisedTuningSpecOrBuilder()
       Tuning Spec for Supervised Fine Tuning.
       
      .google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;
      Specified by:
      getSupervisedTuningSpecOrBuilder in interface TuningJobOrBuilder
    • getName

      public String getName()
       Output only. Identifier. Resource name of a TuningJob. Format:
       `projects/{project}/locations/{location}/tuningJobs/{tuning_job}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface TuningJobOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Identifier. Resource name of a TuningJob. Format:
       `projects/{project}/locations/{location}/tuningJobs/{tuning_job}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface TuningJobOrBuilder
      Returns:
      The bytes for name.
    • setName

      public TuningJob.Builder setName(String value)
       Output only. Identifier. Resource name of a TuningJob. Format:
       `projects/{project}/locations/{location}/tuningJobs/{tuning_job}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public TuningJob.Builder clearName()
       Output only. Identifier. Resource name of a TuningJob. Format:
       `projects/{project}/locations/{location}/tuningJobs/{tuning_job}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public TuningJob.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Identifier. Resource name of a TuningJob. Format:
       `projects/{project}/locations/{location}/tuningJobs/{tuning_job}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getTunedModelDisplayName

      public String getTunedModelDisplayName()
       Optional. The display name of the
       [TunedModel][google.cloud.aiplatform.v1.Model]. The name can be up to 128
       characters long and can consist of any UTF-8 characters. For continuous
       tuning, tuned_model_display_name will by default use the same display name
       as the pre-tuned model. If a new display name is provided, the tuning job
       will create a new model instead of a new version.
       
      string tuned_model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTunedModelDisplayName in interface TuningJobOrBuilder
      Returns:
      The tunedModelDisplayName.
    • getTunedModelDisplayNameBytes

      public com.google.protobuf.ByteString getTunedModelDisplayNameBytes()
       Optional. The display name of the
       [TunedModel][google.cloud.aiplatform.v1.Model]. The name can be up to 128
       characters long and can consist of any UTF-8 characters. For continuous
       tuning, tuned_model_display_name will by default use the same display name
       as the pre-tuned model. If a new display name is provided, the tuning job
       will create a new model instead of a new version.
       
      string tuned_model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTunedModelDisplayNameBytes in interface TuningJobOrBuilder
      Returns:
      The bytes for tunedModelDisplayName.
    • setTunedModelDisplayName

      public TuningJob.Builder setTunedModelDisplayName(String value)
       Optional. The display name of the
       [TunedModel][google.cloud.aiplatform.v1.Model]. The name can be up to 128
       characters long and can consist of any UTF-8 characters. For continuous
       tuning, tuned_model_display_name will by default use the same display name
       as the pre-tuned model. If a new display name is provided, the tuning job
       will create a new model instead of a new version.
       
      string tuned_model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The tunedModelDisplayName to set.
      Returns:
      This builder for chaining.
    • clearTunedModelDisplayName

      public TuningJob.Builder clearTunedModelDisplayName()
       Optional. The display name of the
       [TunedModel][google.cloud.aiplatform.v1.Model]. The name can be up to 128
       characters long and can consist of any UTF-8 characters. For continuous
       tuning, tuned_model_display_name will by default use the same display name
       as the pre-tuned model. If a new display name is provided, the tuning job
       will create a new model instead of a new version.
       
      string tuned_model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTunedModelDisplayNameBytes

      public TuningJob.Builder setTunedModelDisplayNameBytes(com.google.protobuf.ByteString value)
       Optional. The display name of the
       [TunedModel][google.cloud.aiplatform.v1.Model]. The name can be up to 128
       characters long and can consist of any UTF-8 characters. For continuous
       tuning, tuned_model_display_name will by default use the same display name
       as the pre-tuned model. If a new display name is provided, the tuning job
       will create a new model instead of a new version.
       
      string tuned_model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for tunedModelDisplayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. The description of the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface TuningJobOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The description of the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface TuningJobOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public TuningJob.Builder setDescription(String value)
       Optional. The description of the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public TuningJob.Builder clearDescription()
       Optional. The description of the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public TuningJob.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. The description of the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. The detailed state of the job.
       
      .google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface TuningJobOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public TuningJob.Builder setStateValue(int value)
       Output only. The detailed state of the job.
       
      .google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public JobState getState()
       Output only. The detailed state of the job.
       
      .google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface TuningJobOrBuilder
      Returns:
      The state.
    • setState

      public TuningJob.Builder setState(JobState value)
       Output only. The detailed state of the job.
       
      .google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public TuningJob.Builder clearState()
       Output only. The detailed state of the job.
       
      .google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface TuningJobOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface TuningJobOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public TuningJob.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public TuningJob.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public TuningJob.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public TuningJob.Builder clearCreateTime()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface TuningJobOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] for the first time
       entered the `JOB_STATE_RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface TuningJobOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] for the first time
       entered the `JOB_STATE_RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface TuningJobOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public TuningJob.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] for the first time
       entered the `JOB_STATE_RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public TuningJob.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] for the first time
       entered the `JOB_STATE_RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public TuningJob.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] for the first time
       entered the `JOB_STATE_RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

      public TuningJob.Builder clearStartTime()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] for the first time
       entered the `JOB_STATE_RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] for the first time
       entered the `JOB_STATE_RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] for the first time
       entered the `JOB_STATE_RUNNING` state.
       
      .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface TuningJobOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. Time when the TuningJob entered any of the following
       [JobStates][google.cloud.aiplatform.v1.JobState]: `JOB_STATE_SUCCEEDED`,
       `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface TuningJobOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. Time when the TuningJob entered any of the following
       [JobStates][google.cloud.aiplatform.v1.JobState]: `JOB_STATE_SUCCEEDED`,
       `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface TuningJobOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public TuningJob.Builder setEndTime(com.google.protobuf.Timestamp value)
       Output only. Time when the TuningJob entered any of the following
       [JobStates][google.cloud.aiplatform.v1.JobState]: `JOB_STATE_SUCCEEDED`,
       `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEndTime

      public TuningJob.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the TuningJob entered any of the following
       [JobStates][google.cloud.aiplatform.v1.JobState]: `JOB_STATE_SUCCEEDED`,
       `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEndTime

      public TuningJob.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Output only. Time when the TuningJob entered any of the following
       [JobStates][google.cloud.aiplatform.v1.JobState]: `JOB_STATE_SUCCEEDED`,
       `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEndTime

      public TuningJob.Builder clearEndTime()
       Output only. Time when the TuningJob entered any of the following
       [JobStates][google.cloud.aiplatform.v1.JobState]: `JOB_STATE_SUCCEEDED`,
       `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Output only. Time when the TuningJob entered any of the following
       [JobStates][google.cloud.aiplatform.v1.JobState]: `JOB_STATE_SUCCEEDED`,
       `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. Time when the TuningJob entered any of the following
       [JobStates][google.cloud.aiplatform.v1.JobState]: `JOB_STATE_SUCCEEDED`,
       `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`.
       
      .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface TuningJobOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface TuningJobOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface TuningJobOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public TuningJob.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public TuningJob.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public TuningJob.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public TuningJob.Builder clearUpdateTime()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when the
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface TuningJobOrBuilder
    • hasError

      public boolean hasError()
       Output only. Only populated when job's state is `JOB_STATE_FAILED` or
       `JOB_STATE_CANCELLED`.
       
      .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasError in interface TuningJobOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public Status getError()
       Output only. Only populated when job's state is `JOB_STATE_FAILED` or
       `JOB_STATE_CANCELLED`.
       
      .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getError in interface TuningJobOrBuilder
      Returns:
      The error.
    • setError

      public TuningJob.Builder setError(Status value)
       Output only. Only populated when job's state is `JOB_STATE_FAILED` or
       `JOB_STATE_CANCELLED`.
       
      .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setError

      public TuningJob.Builder setError(Status.Builder builderForValue)
       Output only. Only populated when job's state is `JOB_STATE_FAILED` or
       `JOB_STATE_CANCELLED`.
       
      .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeError

      public TuningJob.Builder mergeError(Status value)
       Output only. Only populated when job's state is `JOB_STATE_FAILED` or
       `JOB_STATE_CANCELLED`.
       
      .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearError

      public TuningJob.Builder clearError()
       Output only. Only populated when job's state is `JOB_STATE_FAILED` or
       `JOB_STATE_CANCELLED`.
       
      .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorBuilder

      public Status.Builder getErrorBuilder()
       Output only. Only populated when job's state is `JOB_STATE_FAILED` or
       `JOB_STATE_CANCELLED`.
       
      .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorOrBuilder

      public StatusOrBuilder getErrorOrBuilder()
       Output only. Only populated when job's state is `JOB_STATE_FAILED` or
       `JOB_STATE_CANCELLED`.
       
      .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorOrBuilder in interface TuningJobOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: TuningJobOrBuilder
       Optional. The labels with user-defined metadata to organize
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] and generated resources
       such as [Model][google.cloud.aiplatform.v1.Model] and
       [Endpoint][google.cloud.aiplatform.v1.Endpoint].
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface TuningJobOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. The labels with user-defined metadata to organize
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] and generated resources
       such as [Model][google.cloud.aiplatform.v1.Model] and
       [Endpoint][google.cloud.aiplatform.v1.Endpoint].
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface TuningJobOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface TuningJobOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. The labels with user-defined metadata to organize
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] and generated resources
       such as [Model][google.cloud.aiplatform.v1.Model] and
       [Endpoint][google.cloud.aiplatform.v1.Endpoint].
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface TuningJobOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. The labels with user-defined metadata to organize
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] and generated resources
       such as [Model][google.cloud.aiplatform.v1.Model] and
       [Endpoint][google.cloud.aiplatform.v1.Endpoint].
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface TuningJobOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. The labels with user-defined metadata to organize
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] and generated resources
       such as [Model][google.cloud.aiplatform.v1.Model] and
       [Endpoint][google.cloud.aiplatform.v1.Endpoint].
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface TuningJobOrBuilder
    • clearLabels

      public TuningJob.Builder clearLabels()
    • removeLabels

      public TuningJob.Builder removeLabels(String key)
       Optional. The labels with user-defined metadata to organize
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] and generated resources
       such as [Model][google.cloud.aiplatform.v1.Model] and
       [Endpoint][google.cloud.aiplatform.v1.Endpoint].
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public TuningJob.Builder putLabels(String key, String value)
       Optional. The labels with user-defined metadata to organize
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] and generated resources
       such as [Model][google.cloud.aiplatform.v1.Model] and
       [Endpoint][google.cloud.aiplatform.v1.Endpoint].
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public TuningJob.Builder putAllLabels(Map<String,String> values)
       Optional. The labels with user-defined metadata to organize
       [TuningJob][google.cloud.aiplatform.v1.TuningJob] and generated resources
       such as [Model][google.cloud.aiplatform.v1.Model] and
       [Endpoint][google.cloud.aiplatform.v1.Endpoint].
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getExperiment

      public String getExperiment()
       Output only. The Experiment associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      string experiment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getExperiment in interface TuningJobOrBuilder
      Returns:
      The experiment.
    • getExperimentBytes

      public com.google.protobuf.ByteString getExperimentBytes()
       Output only. The Experiment associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      string experiment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getExperimentBytes in interface TuningJobOrBuilder
      Returns:
      The bytes for experiment.
    • setExperiment

      public TuningJob.Builder setExperiment(String value)
       Output only. The Experiment associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      string experiment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The experiment to set.
      Returns:
      This builder for chaining.
    • clearExperiment

      public TuningJob.Builder clearExperiment()
       Output only. The Experiment associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      string experiment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setExperimentBytes

      public TuningJob.Builder setExperimentBytes(com.google.protobuf.ByteString value)
       Output only. The Experiment associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      string experiment = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for experiment to set.
      Returns:
      This builder for chaining.
    • hasTunedModel

      public boolean hasTunedModel()
       Output only. The tuned model resources associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTunedModel in interface TuningJobOrBuilder
      Returns:
      Whether the tunedModel field is set.
    • getTunedModel

      public TunedModel getTunedModel()
       Output only. The tuned model resources associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTunedModel in interface TuningJobOrBuilder
      Returns:
      The tunedModel.
    • setTunedModel

      public TuningJob.Builder setTunedModel(TunedModel value)
       Output only. The tuned model resources associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setTunedModel

      public TuningJob.Builder setTunedModel(TunedModel.Builder builderForValue)
       Output only. The tuned model resources associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeTunedModel

      public TuningJob.Builder mergeTunedModel(TunedModel value)
       Output only. The tuned model resources associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearTunedModel

      public TuningJob.Builder clearTunedModel()
       Output only. The tuned model resources associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTunedModelBuilder

      public TunedModel.Builder getTunedModelBuilder()
       Output only. The tuned model resources associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTunedModelOrBuilder

      public TunedModelOrBuilder getTunedModelOrBuilder()
       Output only. The tuned model resources associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTunedModelOrBuilder in interface TuningJobOrBuilder
    • hasTuningDataStats

      public boolean hasTuningDataStats()
       Output only. The tuning data statistics associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTuningDataStats in interface TuningJobOrBuilder
      Returns:
      Whether the tuningDataStats field is set.
    • getTuningDataStats

      public TuningDataStats getTuningDataStats()
       Output only. The tuning data statistics associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTuningDataStats in interface TuningJobOrBuilder
      Returns:
      The tuningDataStats.
    • setTuningDataStats

      public TuningJob.Builder setTuningDataStats(TuningDataStats value)
       Output only. The tuning data statistics associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setTuningDataStats

      public TuningJob.Builder setTuningDataStats(TuningDataStats.Builder builderForValue)
       Output only. The tuning data statistics associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeTuningDataStats

      public TuningJob.Builder mergeTuningDataStats(TuningDataStats value)
       Output only. The tuning data statistics associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearTuningDataStats

      public TuningJob.Builder clearTuningDataStats()
       Output only. The tuning data statistics associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTuningDataStatsBuilder

      public TuningDataStats.Builder getTuningDataStatsBuilder()
       Output only. The tuning data statistics associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTuningDataStatsOrBuilder

      public TuningDataStatsOrBuilder getTuningDataStatsOrBuilder()
       Output only. The tuning data statistics associated with this
       [TuningJob][google.cloud.aiplatform.v1.TuningJob].
       
      .google.cloud.aiplatform.v1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTuningDataStatsOrBuilder in interface TuningJobOrBuilder
    • hasEncryptionSpec

      public boolean hasEncryptionSpec()
       Customer-managed encryption key options for a TuningJob. If this is set,
       then all resources created by the TuningJob will be encrypted with the
       provided encryption key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
      Specified by:
      hasEncryptionSpec in interface TuningJobOrBuilder
      Returns:
      Whether the encryptionSpec field is set.
    • getEncryptionSpec

      public EncryptionSpec getEncryptionSpec()
       Customer-managed encryption key options for a TuningJob. If this is set,
       then all resources created by the TuningJob will be encrypted with the
       provided encryption key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
      Specified by:
      getEncryptionSpec in interface TuningJobOrBuilder
      Returns:
      The encryptionSpec.
    • setEncryptionSpec

      public TuningJob.Builder setEncryptionSpec(EncryptionSpec value)
       Customer-managed encryption key options for a TuningJob. If this is set,
       then all resources created by the TuningJob will be encrypted with the
       provided encryption key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
    • setEncryptionSpec

      public TuningJob.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
       Customer-managed encryption key options for a TuningJob. If this is set,
       then all resources created by the TuningJob will be encrypted with the
       provided encryption key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
    • mergeEncryptionSpec

      public TuningJob.Builder mergeEncryptionSpec(EncryptionSpec value)
       Customer-managed encryption key options for a TuningJob. If this is set,
       then all resources created by the TuningJob will be encrypted with the
       provided encryption key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
    • clearEncryptionSpec

      public TuningJob.Builder clearEncryptionSpec()
       Customer-managed encryption key options for a TuningJob. If this is set,
       then all resources created by the TuningJob will be encrypted with the
       provided encryption key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
    • getEncryptionSpecBuilder

      public EncryptionSpec.Builder getEncryptionSpecBuilder()
       Customer-managed encryption key options for a TuningJob. If this is set,
       then all resources created by the TuningJob will be encrypted with the
       provided encryption key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
    • getEncryptionSpecOrBuilder

      public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
       Customer-managed encryption key options for a TuningJob. If this is set,
       then all resources created by the TuningJob will be encrypted with the
       provided encryption key.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 16;
      Specified by:
      getEncryptionSpecOrBuilder in interface TuningJobOrBuilder
    • getServiceAccount

      public String getServiceAccount()
       The service account that the tuningJob workload runs as.
       If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the
       project will be used. See
       https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent
      
       Users starting the pipeline must have the `iam.serviceAccounts.actAs`
       permission on this service account.
       
      string service_account = 22;
      Specified by:
      getServiceAccount in interface TuningJobOrBuilder
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      public com.google.protobuf.ByteString getServiceAccountBytes()
       The service account that the tuningJob workload runs as.
       If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the
       project will be used. See
       https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent
      
       Users starting the pipeline must have the `iam.serviceAccounts.actAs`
       permission on this service account.
       
      string service_account = 22;
      Specified by:
      getServiceAccountBytes in interface TuningJobOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      public TuningJob.Builder setServiceAccount(String value)
       The service account that the tuningJob workload runs as.
       If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the
       project will be used. See
       https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent
      
       Users starting the pipeline must have the `iam.serviceAccounts.actAs`
       permission on this service account.
       
      string service_account = 22;
      Parameters:
      value - The serviceAccount to set.
      Returns:
      This builder for chaining.
    • clearServiceAccount

      public TuningJob.Builder clearServiceAccount()
       The service account that the tuningJob workload runs as.
       If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the
       project will be used. See
       https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent
      
       Users starting the pipeline must have the `iam.serviceAccounts.actAs`
       permission on this service account.
       
      string service_account = 22;
      Returns:
      This builder for chaining.
    • setServiceAccountBytes

      public TuningJob.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
       The service account that the tuningJob workload runs as.
       If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the
       project will be used. See
       https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent
      
       Users starting the pipeline must have the `iam.serviceAccounts.actAs`
       permission on this service account.
       
      string service_account = 22;
      Parameters:
      value - The bytes for serviceAccount to set.
      Returns:
      This builder for chaining.
    • getEvaluateDatasetRunsList

      public List<EvaluateDatasetRun> getEvaluateDatasetRunsList()
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluateDatasetRunsList in interface TuningJobOrBuilder
    • getEvaluateDatasetRunsCount

      public int getEvaluateDatasetRunsCount()
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluateDatasetRunsCount in interface TuningJobOrBuilder
    • getEvaluateDatasetRuns

      public EvaluateDatasetRun getEvaluateDatasetRuns(int index)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluateDatasetRuns in interface TuningJobOrBuilder
    • setEvaluateDatasetRuns

      public TuningJob.Builder setEvaluateDatasetRuns(int index, EvaluateDatasetRun value)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEvaluateDatasetRuns

      public TuningJob.Builder setEvaluateDatasetRuns(int index, EvaluateDatasetRun.Builder builderForValue)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addEvaluateDatasetRuns

      public TuningJob.Builder addEvaluateDatasetRuns(EvaluateDatasetRun value)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addEvaluateDatasetRuns

      public TuningJob.Builder addEvaluateDatasetRuns(int index, EvaluateDatasetRun value)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addEvaluateDatasetRuns

      public TuningJob.Builder addEvaluateDatasetRuns(EvaluateDatasetRun.Builder builderForValue)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addEvaluateDatasetRuns

      public TuningJob.Builder addEvaluateDatasetRuns(int index, EvaluateDatasetRun.Builder builderForValue)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllEvaluateDatasetRuns

      public TuningJob.Builder addAllEvaluateDatasetRuns(Iterable<? extends EvaluateDatasetRun> values)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEvaluateDatasetRuns

      public TuningJob.Builder clearEvaluateDatasetRuns()
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeEvaluateDatasetRuns

      public TuningJob.Builder removeEvaluateDatasetRuns(int index)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEvaluateDatasetRunsBuilder

      public EvaluateDatasetRun.Builder getEvaluateDatasetRunsBuilder(int index)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEvaluateDatasetRunsOrBuilder

      public EvaluateDatasetRunOrBuilder getEvaluateDatasetRunsOrBuilder(int index)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluateDatasetRunsOrBuilder in interface TuningJobOrBuilder
    • getEvaluateDatasetRunsOrBuilderList

      public List<? extends EvaluateDatasetRunOrBuilder> getEvaluateDatasetRunsOrBuilderList()
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluateDatasetRunsOrBuilderList in interface TuningJobOrBuilder
    • addEvaluateDatasetRunsBuilder

      public EvaluateDatasetRun.Builder addEvaluateDatasetRunsBuilder()
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addEvaluateDatasetRunsBuilder

      public EvaluateDatasetRun.Builder addEvaluateDatasetRunsBuilder(int index)
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEvaluateDatasetRunsBuilderList

      public List<EvaluateDatasetRun.Builder> getEvaluateDatasetRunsBuilderList()
       Output only. Evaluation runs for the Tuning Job.
       
      repeated .google.cloud.aiplatform.v1.EvaluateDatasetRun evaluate_dataset_runs = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];