public final class TuningJob extends com.google.protobuf.GeneratedMessageV3 implements TuningJobOrBuilder
Represents a TuningJob that runs with Google owned models.Protobuf type
google.cloud.aiplatform.v1beta1.TuningJob| Modifier and Type | Class and Description |
|---|---|
static class |
TuningJob.Builder
Represents a TuningJob that runs with Google owned models.
|
static class |
TuningJob.SourceModelCase |
static class |
TuningJob.TuningSpecCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_MODEL_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISTILLATION_SPEC_FIELD_NUMBER |
static int |
ENCRYPTION_SPEC_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
EXPERIMENT_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PARTNER_MODEL_TUNING_SPEC_FIELD_NUMBER |
static int |
PIPELINE_JOB_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
SUPERVISED_TUNING_SPEC_FIELD_NUMBER |
static int |
TUNED_MODEL_DISPLAY_NAME_FIELD_NUMBER |
static int |
TUNED_MODEL_FIELD_NUMBER |
static int |
TUNING_DATA_STATS_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Optional.
|
boolean |
equals(Object obj) |
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.
|
static TuningJob |
getDefaultInstance() |
TuningJob |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DistillationSpec |
getDistillationSpec()
Tuning Spec for Distillation.
|
DistillationSpecOrBuilder |
getDistillationSpecOrBuilder()
Tuning Spec for Distillation.
|
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.
|
com.google.protobuf.Parser<TuningJob> |
getParserForType() |
PartnerModelTuningSpec |
getPartnerModelTuningSpec()
Tuning Spec for open sourced and third party partner models.
|
PartnerModelTuningSpecOrBuilder |
getPartnerModelTuningSpecOrBuilder()
Tuning Spec for open sourced and third party partner models.
|
String |
getPipelineJob()
Output only.
|
com.google.protobuf.ByteString |
getPipelineJobBytes()
Output only.
|
int |
getSerializedSize() |
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 |
hasDistillationSpec()
Tuning Spec for Distillation.
|
boolean |
hasEncryptionSpec()
Customer-managed encryption key options for a TuningJob.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasError()
Output only.
|
int |
hashCode() |
boolean |
hasPartnerModelTuningSpec()
Tuning Spec for open sourced and third party partner models.
|
boolean |
hasStartTime()
Output only.
|
boolean |
hasSupervisedTuningSpec()
Tuning Spec for Supervised Fine Tuning.
|
boolean |
hasTunedModel()
Output only.
|
boolean |
hasTuningDataStats()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static TuningJob.Builder |
newBuilder() |
static TuningJob.Builder |
newBuilder(TuningJob prototype) |
TuningJob.Builder |
newBuilderForType() |
protected TuningJob.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TuningJob |
parseDelimitedFrom(InputStream input) |
static TuningJob |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TuningJob |
parseFrom(byte[] data) |
static TuningJob |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TuningJob |
parseFrom(ByteBuffer data) |
static TuningJob |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TuningJob |
parseFrom(com.google.protobuf.ByteString data) |
static TuningJob |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TuningJob |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TuningJob |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TuningJob |
parseFrom(InputStream input) |
static TuningJob |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TuningJob> |
parser() |
TuningJob.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BASE_MODEL_FIELD_NUMBER
public static final int SUPERVISED_TUNING_SPEC_FIELD_NUMBER
public static final int DISTILLATION_SPEC_FIELD_NUMBER
public static final int PARTNER_MODEL_TUNING_SPEC_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int TUNED_MODEL_DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int EXPERIMENT_FIELD_NUMBER
public static final int TUNED_MODEL_FIELD_NUMBER
public static final int TUNING_DATA_STATS_FIELD_NUMBER
public static final int PIPELINE_JOB_FIELD_NUMBER
public static final int ENCRYPTION_SPEC_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public TuningJob.SourceModelCase getSourceModelCase()
getSourceModelCase in interface TuningJobOrBuilderpublic TuningJob.TuningSpecCase getTuningSpecCase()
getTuningSpecCase in interface TuningJobOrBuilderpublic boolean hasBaseModel()
The base model that is being tuned, e.g., "gemini-1.0-pro-002".
string base_model = 4;hasBaseModel in interface TuningJobOrBuilderpublic String getBaseModel()
The base model that is being tuned, e.g., "gemini-1.0-pro-002".
string base_model = 4;getBaseModel in interface TuningJobOrBuilderpublic com.google.protobuf.ByteString getBaseModelBytes()
The base model that is being tuned, e.g., "gemini-1.0-pro-002".
string base_model = 4;getBaseModelBytes in interface TuningJobOrBuilderpublic boolean hasSupervisedTuningSpec()
Tuning Spec for Supervised Fine Tuning.
.google.cloud.aiplatform.v1beta1.SupervisedTuningSpec supervised_tuning_spec = 5;hasSupervisedTuningSpec in interface TuningJobOrBuilderpublic SupervisedTuningSpec getSupervisedTuningSpec()
Tuning Spec for Supervised Fine Tuning.
.google.cloud.aiplatform.v1beta1.SupervisedTuningSpec supervised_tuning_spec = 5;getSupervisedTuningSpec in interface TuningJobOrBuilderpublic SupervisedTuningSpecOrBuilder getSupervisedTuningSpecOrBuilder()
Tuning Spec for Supervised Fine Tuning.
.google.cloud.aiplatform.v1beta1.SupervisedTuningSpec supervised_tuning_spec = 5;getSupervisedTuningSpecOrBuilder in interface TuningJobOrBuilderpublic boolean hasDistillationSpec()
Tuning Spec for Distillation.
.google.cloud.aiplatform.v1beta1.DistillationSpec distillation_spec = 17;hasDistillationSpec in interface TuningJobOrBuilderpublic DistillationSpec getDistillationSpec()
Tuning Spec for Distillation.
.google.cloud.aiplatform.v1beta1.DistillationSpec distillation_spec = 17;getDistillationSpec in interface TuningJobOrBuilderpublic DistillationSpecOrBuilder getDistillationSpecOrBuilder()
Tuning Spec for Distillation.
.google.cloud.aiplatform.v1beta1.DistillationSpec distillation_spec = 17;getDistillationSpecOrBuilder in interface TuningJobOrBuilderpublic boolean hasPartnerModelTuningSpec()
Tuning Spec for open sourced and third party partner models.
.google.cloud.aiplatform.v1beta1.PartnerModelTuningSpec partner_model_tuning_spec = 21;
hasPartnerModelTuningSpec in interface TuningJobOrBuilderpublic PartnerModelTuningSpec getPartnerModelTuningSpec()
Tuning Spec for open sourced and third party partner models.
.google.cloud.aiplatform.v1beta1.PartnerModelTuningSpec partner_model_tuning_spec = 21;
getPartnerModelTuningSpec in interface TuningJobOrBuilderpublic PartnerModelTuningSpecOrBuilder getPartnerModelTuningSpecOrBuilder()
Tuning Spec for open sourced and third party partner models.
.google.cloud.aiplatform.v1beta1.PartnerModelTuningSpec partner_model_tuning_spec = 21;
getPartnerModelTuningSpecOrBuilder in interface TuningJobOrBuilderpublic 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];
getName in interface TuningJobOrBuilderpublic 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];
getNameBytes in interface TuningJobOrBuilderpublic 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];getTunedModelDisplayName in interface TuningJobOrBuilderpublic 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];getTunedModelDisplayNameBytes in interface TuningJobOrBuilderpublic String getDescription()
Optional. The description of the [TuningJob][google.cloud.aiplatform.v1.TuningJob].
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface TuningJobOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. The description of the [TuningJob][google.cloud.aiplatform.v1.TuningJob].
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface TuningJobOrBuilderpublic int getStateValue()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface TuningJobOrBuilderpublic JobState getState()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface TuningJobOrBuilderpublic 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];
hasCreateTime in interface TuningJobOrBuilderpublic 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];
getCreateTime in interface TuningJobOrBuilderpublic 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];
getCreateTimeOrBuilder in interface TuningJobOrBuilderpublic 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];
hasStartTime in interface TuningJobOrBuilderpublic 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];
getStartTime in interface TuningJobOrBuilderpublic 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];
getStartTimeOrBuilder in interface TuningJobOrBuilderpublic 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];
hasEndTime in interface TuningJobOrBuilderpublic 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];
getEndTime in interface TuningJobOrBuilderpublic 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];
getEndTimeOrBuilder in interface TuningJobOrBuilderpublic 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];
hasUpdateTime in interface TuningJobOrBuilderpublic 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];
getUpdateTime in interface TuningJobOrBuilderpublic 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];
getUpdateTimeOrBuilder in interface TuningJobOrBuilderpublic 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];hasError in interface TuningJobOrBuilderpublic 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];getError in interface TuningJobOrBuilderpublic 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];getErrorOrBuilder in interface TuningJobOrBuilderpublic int getLabelsCount()
TuningJobOrBuilderOptional. 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];getLabelsCount in interface TuningJobOrBuilderpublic 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];containsLabels in interface TuningJobOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface TuningJobOrBuilderpublic 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];getLabelsMap in interface TuningJobOrBuilderpublic 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];getLabelsOrDefault in interface TuningJobOrBuilderpublic 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];getLabelsOrThrow in interface TuningJobOrBuilderpublic 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) = { ... }
getExperiment in interface TuningJobOrBuilderpublic 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) = { ... }
getExperimentBytes in interface TuningJobOrBuilderpublic boolean hasTunedModel()
Output only. The tuned model resources assiociated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
.google.cloud.aiplatform.v1beta1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasTunedModel in interface TuningJobOrBuilderpublic TunedModel getTunedModel()
Output only. The tuned model resources assiociated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
.google.cloud.aiplatform.v1beta1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTunedModel in interface TuningJobOrBuilderpublic TunedModelOrBuilder getTunedModelOrBuilder()
Output only. The tuned model resources assiociated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
.google.cloud.aiplatform.v1beta1.TunedModel tuned_model = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTunedModelOrBuilder in interface TuningJobOrBuilderpublic boolean hasTuningDataStats()
Output only. The tuning data statistics associated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
.google.cloud.aiplatform.v1beta1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasTuningDataStats in interface TuningJobOrBuilderpublic TuningDataStats getTuningDataStats()
Output only. The tuning data statistics associated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
.google.cloud.aiplatform.v1beta1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTuningDataStats in interface TuningJobOrBuilderpublic TuningDataStatsOrBuilder getTuningDataStatsOrBuilder()
Output only. The tuning data statistics associated with this [TuningJob][google.cloud.aiplatform.v1.TuningJob].
.google.cloud.aiplatform.v1beta1.TuningDataStats tuning_data_stats = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTuningDataStatsOrBuilder in interface TuningJobOrBuilderpublic String getPipelineJob()
Output only. The resource name of the PipelineJob associated with the
[TuningJob][google.cloud.aiplatform.v1.TuningJob]. Format:
`projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`.
string pipeline_job = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getPipelineJob in interface TuningJobOrBuilderpublic com.google.protobuf.ByteString getPipelineJobBytes()
Output only. The resource name of the PipelineJob associated with the
[TuningJob][google.cloud.aiplatform.v1.TuningJob]. Format:
`projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`.
string pipeline_job = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getPipelineJobBytes in interface TuningJobOrBuilderpublic 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.v1beta1.EncryptionSpec encryption_spec = 16;hasEncryptionSpec in interface TuningJobOrBuilderpublic 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.v1beta1.EncryptionSpec encryption_spec = 16;getEncryptionSpec in interface TuningJobOrBuilderpublic 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.v1beta1.EncryptionSpec encryption_spec = 16;getEncryptionSpecOrBuilder in interface TuningJobOrBuilderpublic 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;getServiceAccount in interface TuningJobOrBuilderpublic 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;getServiceAccountBytes in interface TuningJobOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TuningJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TuningJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TuningJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TuningJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TuningJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TuningJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TuningJob parseFrom(InputStream input) throws IOException
IOExceptionpublic static TuningJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TuningJob parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TuningJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TuningJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TuningJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TuningJob.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TuningJob.Builder newBuilder()
public static TuningJob.Builder newBuilder(TuningJob prototype)
public TuningJob.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TuningJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TuningJob getDefaultInstance()
public static com.google.protobuf.Parser<TuningJob> parser()
public com.google.protobuf.Parser<TuningJob> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TuningJob getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.