Package com.google.cloud.aiplatform.v1
Class TuningJob
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.TuningJob
- All Implemented Interfaces:
TuningJobOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class TuningJob
extends com.google.protobuf.GeneratedMessage
implements TuningJobOrBuilder
Represents a TuningJob that runs with Google owned models.Protobuf type
google.cloud.aiplatform.v1.TuningJob- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a TuningJob that runs with Google owned models.static enumstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.booleanThe base model that is being tuned.com.google.protobuf.ByteStringThe base model that is being tuned.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static TuningJobOptional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorCustomer-managed encryption key options for a TuningJob.Customer-managed encryption key options for a TuningJob.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getError()Output only.Output only.getEvaluateDatasetRuns(int index) Output only.intOutput only.Output only.getEvaluateDatasetRunsOrBuilder(int index) Output only.List<? extends EvaluateDatasetRunOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<TuningJob>The pre-tuned model for continuous tuning.The pre-tuned model for continuous tuning.intThe service account that the tuningJob workload runs as.com.google.protobuf.ByteStringThe service account that the tuningJob workload runs as.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getState()Output only.intOutput only.Tuning Spec for Supervised Fine Tuning.Tuning Spec for Supervised Fine Tuning.Output only.Optional.com.google.protobuf.ByteStringOptional.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanThe base model that is being tuned.booleanOutput only.booleanCustomer-managed encryption key options for a TuningJob.booleanOutput only.booleanhasError()Output only.inthashCode()booleanThe pre-tuned model for continuous tuning.booleanOutput only.booleanTuning Spec for Supervised Fine Tuning.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic TuningJob.Builderstatic TuningJob.BuildernewBuilder(TuningJob prototype) protected TuningJob.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TuningJobparseDelimitedFrom(InputStream input) static TuningJobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TuningJobparseFrom(byte[] data) static TuningJobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TuningJobparseFrom(com.google.protobuf.ByteString data) static TuningJobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TuningJobparseFrom(com.google.protobuf.CodedInputStream input) static TuningJobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TuningJobparseFrom(InputStream input) static TuningJobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TuningJobparseFrom(ByteBuffer data) static TuningJobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TuningJob>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
BASE_MODEL_FIELD_NUMBER
public static final int BASE_MODEL_FIELD_NUMBER- See Also:
-
PRE_TUNED_MODEL_FIELD_NUMBER
public static final int PRE_TUNED_MODEL_FIELD_NUMBER- See Also:
-
SUPERVISED_TUNING_SPEC_FIELD_NUMBER
public static final int SUPERVISED_TUNING_SPEC_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TUNED_MODEL_DISPLAY_NAME_FIELD_NUMBER
public static final int TUNED_MODEL_DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
EXPERIMENT_FIELD_NUMBER
public static final int EXPERIMENT_FIELD_NUMBER- See Also:
-
TUNED_MODEL_FIELD_NUMBER
public static final int TUNED_MODEL_FIELD_NUMBER- See Also:
-
TUNING_DATA_STATS_FIELD_NUMBER
public static final int TUNING_DATA_STATS_FIELD_NUMBER- See Also:
-
ENCRYPTION_SPEC_FIELD_NUMBER
public static final int ENCRYPTION_SPEC_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
EVALUATE_DATASET_RUNS_FIELD_NUMBER
public static final int EVALUATE_DATASET_RUNS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getSourceModelCase
- Specified by:
getSourceModelCasein interfaceTuningJobOrBuilder
-
getTuningSpecCase
- Specified by:
getTuningSpecCasein interfaceTuningJobOrBuilder
-
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:
hasBaseModelin interfaceTuningJobOrBuilder- Returns:
- Whether the baseModel field is set.
-
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:
getBaseModelin interfaceTuningJobOrBuilder- 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:
getBaseModelBytesin interfaceTuningJobOrBuilder- Returns:
- The bytes for baseModel.
-
hasPreTunedModel
public boolean hasPreTunedModel()The pre-tuned model for continuous tuning.
.google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;- Specified by:
hasPreTunedModelin interfaceTuningJobOrBuilder- Returns:
- Whether the preTunedModel field is set.
-
getPreTunedModel
The pre-tuned model for continuous tuning.
.google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;- Specified by:
getPreTunedModelin interfaceTuningJobOrBuilder- Returns:
- The preTunedModel.
-
getPreTunedModelOrBuilder
The pre-tuned model for continuous tuning.
.google.cloud.aiplatform.v1.PreTunedModel pre_tuned_model = 31;- Specified by:
getPreTunedModelOrBuilderin interfaceTuningJobOrBuilder
-
hasSupervisedTuningSpec
public boolean hasSupervisedTuningSpec()Tuning Spec for Supervised Fine Tuning.
.google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;- Specified by:
hasSupervisedTuningSpecin interfaceTuningJobOrBuilder- Returns:
- Whether the supervisedTuningSpec field is set.
-
getSupervisedTuningSpec
Tuning Spec for Supervised Fine Tuning.
.google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;- Specified by:
getSupervisedTuningSpecin interfaceTuningJobOrBuilder- Returns:
- The supervisedTuningSpec.
-
getSupervisedTuningSpecOrBuilder
Tuning Spec for Supervised Fine Tuning.
.google.cloud.aiplatform.v1.SupervisedTuningSpec supervised_tuning_spec = 5;- Specified by:
getSupervisedTuningSpecOrBuilderin interfaceTuningJobOrBuilder
-
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:
getNamein interfaceTuningJobOrBuilder- 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:
getNameBytesin interfaceTuningJobOrBuilder- Returns:
- The bytes for name.
-
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:
getTunedModelDisplayNamein interfaceTuningJobOrBuilder- 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:
getTunedModelDisplayNameBytesin interfaceTuningJobOrBuilder- Returns:
- The bytes for tunedModelDisplayName.
-
getDescription
Optional. The description of the [TuningJob][google.cloud.aiplatform.v1.TuningJob].
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceTuningJobOrBuilder- 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:
getDescriptionBytesin interfaceTuningJobOrBuilder- Returns:
- The bytes for description.
-
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:
getStateValuein interfaceTuningJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceTuningJobOrBuilder- Returns:
- The state.
-
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:
hasCreateTimein interfaceTuningJobOrBuilder- 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:
getCreateTimein interfaceTuningJobOrBuilder- Returns:
- The createTime.
-
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:
getCreateTimeOrBuilderin interfaceTuningJobOrBuilder
-
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:
hasStartTimein interfaceTuningJobOrBuilder- 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:
getStartTimein interfaceTuningJobOrBuilder- Returns:
- The startTime.
-
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:
getStartTimeOrBuilderin interfaceTuningJobOrBuilder
-
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:
hasEndTimein interfaceTuningJobOrBuilder- 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:
getEndTimein interfaceTuningJobOrBuilder- Returns:
- The endTime.
-
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:
getEndTimeOrBuilderin interfaceTuningJobOrBuilder
-
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:
hasUpdateTimein interfaceTuningJobOrBuilder- 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:
getUpdateTimein interfaceTuningJobOrBuilder- Returns:
- The updateTime.
-
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:
getUpdateTimeOrBuilderin interfaceTuningJobOrBuilder
-
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:
hasErrorin interfaceTuningJobOrBuilder- Returns:
- Whether the error field is set.
-
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:
getErrorin interfaceTuningJobOrBuilder- Returns:
- The error.
-
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:
getErrorOrBuilderin interfaceTuningJobOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface: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];- Specified by:
getLabelsCountin interfaceTuningJobOrBuilder
-
containsLabels
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:
containsLabelsin interfaceTuningJobOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceTuningJobOrBuilder
-
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:
getLabelsMapin interfaceTuningJobOrBuilder
-
getLabelsOrDefault
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:
getLabelsOrDefaultin interfaceTuningJobOrBuilder
-
getLabelsOrThrow
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:
getLabelsOrThrowin interfaceTuningJobOrBuilder
-
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:
getExperimentin interfaceTuningJobOrBuilder- 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:
getExperimentBytesin interfaceTuningJobOrBuilder- Returns:
- The bytes for experiment.
-
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:
hasTunedModelin interfaceTuningJobOrBuilder- Returns:
- Whether the tunedModel field is set.
-
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:
getTunedModelin interfaceTuningJobOrBuilder- Returns:
- The tunedModel.
-
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:
getTunedModelOrBuilderin interfaceTuningJobOrBuilder
-
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:
hasTuningDataStatsin interfaceTuningJobOrBuilder- Returns:
- Whether the tuningDataStats field is set.
-
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:
getTuningDataStatsin interfaceTuningJobOrBuilder- Returns:
- The tuningDataStats.
-
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:
getTuningDataStatsOrBuilderin interfaceTuningJobOrBuilder
-
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:
hasEncryptionSpecin interfaceTuningJobOrBuilder- Returns:
- Whether the encryptionSpec field is set.
-
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:
getEncryptionSpecin interfaceTuningJobOrBuilder- Returns:
- The encryptionSpec.
-
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:
getEncryptionSpecOrBuilderin interfaceTuningJobOrBuilder
-
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:
getServiceAccountin interfaceTuningJobOrBuilder- 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:
getServiceAccountBytesin interfaceTuningJobOrBuilder- Returns:
- The bytes for serviceAccount.
-
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:
getEvaluateDatasetRunsListin interfaceTuningJobOrBuilder
-
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:
getEvaluateDatasetRunsOrBuilderListin interfaceTuningJobOrBuilder
-
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:
getEvaluateDatasetRunsCountin interfaceTuningJobOrBuilder
-
getEvaluateDatasetRuns
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:
getEvaluateDatasetRunsin interfaceTuningJobOrBuilder
-
getEvaluateDatasetRunsOrBuilder
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:
getEvaluateDatasetRunsOrBuilderin interfaceTuningJobOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TuningJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TuningJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TuningJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TuningJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TuningJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TuningJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TuningJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TuningJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TuningJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TuningJob.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-