public interface TuningJobOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Optional.
|
String |
getBaseModel()
The base model that is being tuned, e.g., "gemini-1.0-pro-002".
|
com.google.protobuf.ByteString |
getBaseModelBytes()
The base model that is being tuned, e.g., "gemini-1.0-pro-002".
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
EncryptionSpec |
getEncryptionSpec()
Customer-managed encryption key options for a TuningJob.
|
EncryptionSpecOrBuilder |
getEncryptionSpecOrBuilder()
Customer-managed encryption key options for a TuningJob.
|
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
com.google.rpc.Status |
getError()
Output only.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
Output only.
|
String |
getExperiment()
Output only.
|
com.google.protobuf.ByteString |
getExperimentBytes()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
String |
getServiceAccount()
The service account that the tuningJob workload runs as.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
The service account that the tuningJob workload runs as.
|
TuningJob.SourceModelCase |
getSourceModelCase() |
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
JobState |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
SupervisedTuningSpec |
getSupervisedTuningSpec()
Tuning Spec for Supervised Fine Tuning.
|
SupervisedTuningSpecOrBuilder |
getSupervisedTuningSpecOrBuilder()
Tuning Spec for Supervised Fine Tuning.
|
TunedModel |
getTunedModel()
Output only.
|
String |
getTunedModelDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getTunedModelDisplayNameBytes()
Optional.
|
TunedModelOrBuilder |
getTunedModelOrBuilder()
Output only.
|
TuningDataStats |
getTuningDataStats()
Output only.
|
TuningDataStatsOrBuilder |
getTuningDataStatsOrBuilder()
Output only.
|
TuningJob.TuningSpecCase |
getTuningSpecCase() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasBaseModel()
The base model that is being tuned, e.g., "gemini-1.0-pro-002".
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasEncryptionSpec()
Customer-managed encryption key options for a TuningJob.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasError()
Output only.
|
boolean |
hasStartTime()
Output only.
|
boolean |
hasSupervisedTuningSpec()
Tuning Spec for Supervised Fine Tuning.
|
boolean |
hasTunedModel()
Output only.
|
boolean |
hasTuningDataStats()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasBaseModel()
The base model that is being tuned, e.g., "gemini-1.0-pro-002".
string base_model = 4;String getBaseModel()
The base model that is being tuned, e.g., "gemini-1.0-pro-002".
string base_model = 4;com.google.protobuf.ByteString getBaseModelBytes()
The base model that is being tuned, e.g., "gemini-1.0-pro-002".
string base_model = 4;boolean hasSupervisedTuningSpec()
Tuning Spec for Supervised Fine Tuning.
.google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;SupervisedTuningSpec getSupervisedTuningSpec()
Tuning Spec for Supervised Fine Tuning.
.google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;SupervisedTuningSpecOrBuilder getSupervisedTuningSpecOrBuilder()
Tuning Spec for Supervised Fine Tuning.
.google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;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];
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];
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.
string tuned_model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];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.
string tuned_model_display_name = 2 [(.google.api.field_behavior) = OPTIONAL];String getDescription()
Optional. The description of the [TuningJob][google.cloud.aiplatform.v1.TuningJob].
string description = 3 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getDescriptionBytes()
Optional. The description of the [TuningJob][google.cloud.aiplatform.v1.TuningJob].
string description = 3 [(.google.api.field_behavior) = OPTIONAL];int getStateValue()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
JobState getState()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];com.google.rpc.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];com.google.rpc.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];int getLabelsCount()
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];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];@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.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];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];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];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) = { ... }
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) = { ... }
boolean hasTunedModel()
Output only. The tuned model resources assiociated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
.google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
TunedModel getTunedModel()
Output only. The tuned model resources assiociated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
.google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
TunedModelOrBuilder getTunedModelOrBuilder()
Output only. The tuned model resources assiociated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
.google.cloud.aiplatform.v1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
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;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;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;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;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;TuningJob.SourceModelCase getSourceModelCase()
TuningJob.TuningSpecCase getTuningSpecCase()
Copyright © 2025 Google LLC. All rights reserved.