Package com.google.cloud.aiplatform.v1
Class HyperparameterTuningJob
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1.HyperparameterTuningJob
-
- All Implemented Interfaces:
HyperparameterTuningJobOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class HyperparameterTuningJob extends com.google.protobuf.GeneratedMessageV3 implements HyperparameterTuningJobOrBuilder
Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification.
Protobuf typegoogle.cloud.aiplatform.v1.HyperparameterTuningJob- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHyperparameterTuningJob.BuilderRepresents a HyperparameterTuningJob.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intENCRYPTION_SPEC_FIELD_NUMBERstatic intEND_TIME_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intMAX_FAILED_TRIAL_COUNT_FIELD_NUMBERstatic intMAX_TRIAL_COUNT_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPARALLEL_TRIAL_COUNT_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intSTUDY_SPEC_FIELD_NUMBERstatic intTRIAL_JOB_SPEC_FIELD_NUMBERstatic intTRIALS_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)The labels with user-defined metadata to organize HyperparameterTuningJobs.booleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static HyperparameterTuningJobgetDefaultInstance()HyperparameterTuningJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.EncryptionSpecgetEncryptionSpec()Customer-managed encryption key options for a HyperparameterTuningJob.EncryptionSpecOrBuildergetEncryptionSpecOrBuilder()Customer-managed encryption key options for a HyperparameterTuningJob.com.google.protobuf.TimestampgetEndTime()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.com.google.rpc.StatusgetError()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The labels with user-defined metadata to organize HyperparameterTuningJobs.Map<String,String>getLabelsMap()The labels with user-defined metadata to organize HyperparameterTuningJobs.StringgetLabelsOrDefault(String key, String defaultValue)The labels with user-defined metadata to organize HyperparameterTuningJobs.StringgetLabelsOrThrow(String key)The labels with user-defined metadata to organize HyperparameterTuningJobs.intgetMaxFailedTrialCount()The number of failed Trials that need to be seen before failing the HyperparameterTuningJob.intgetMaxTrialCount()Required.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.intgetParallelTrialCount()Required.com.google.protobuf.Parser<HyperparameterTuningJob>getParserForType()intgetSerializedSize()com.google.protobuf.TimestampgetStartTime()Output only.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Output only.JobStategetState()Output only.intgetStateValue()Output only.StudySpecgetStudySpec()Required.StudySpecOrBuildergetStudySpecOrBuilder()Required.CustomJobSpecgetTrialJobSpec()Required.CustomJobSpecOrBuildergetTrialJobSpecOrBuilder()Required.TrialgetTrials(int index)Output only.intgetTrialsCount()Output only.List<Trial>getTrialsList()Output only.TrialOrBuildergetTrialsOrBuilder(int index)Output only.List<? extends TrialOrBuilder>getTrialsOrBuilderList()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasEncryptionSpec()Customer-managed encryption key options for a HyperparameterTuningJob.booleanhasEndTime()Output only.booleanhasError()Output only.inthashCode()booleanhasStartTime()Output only.booleanhasStudySpec()Required.booleanhasTrialJobSpec()Required.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static HyperparameterTuningJob.BuildernewBuilder()static HyperparameterTuningJob.BuildernewBuilder(HyperparameterTuningJob prototype)HyperparameterTuningJob.BuildernewBuilderForType()protected HyperparameterTuningJob.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HyperparameterTuningJobparseDelimitedFrom(InputStream input)static HyperparameterTuningJobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HyperparameterTuningJobparseFrom(byte[] data)static HyperparameterTuningJobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HyperparameterTuningJobparseFrom(com.google.protobuf.ByteString data)static HyperparameterTuningJobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HyperparameterTuningJobparseFrom(com.google.protobuf.CodedInputStream input)static HyperparameterTuningJobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HyperparameterTuningJobparseFrom(InputStream input)static HyperparameterTuningJobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HyperparameterTuningJobparseFrom(ByteBuffer data)static HyperparameterTuningJobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HyperparameterTuningJob>parser()HyperparameterTuningJob.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STUDY_SPEC_FIELD_NUMBER
public static final int STUDY_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_TRIAL_COUNT_FIELD_NUMBER
public static final int MAX_TRIAL_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARALLEL_TRIAL_COUNT_FIELD_NUMBER
public static final int PARALLEL_TRIAL_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_FAILED_TRIAL_COUNT_FIELD_NUMBER
public static final int MAX_FAILED_TRIAL_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRIAL_JOB_SPEC_FIELD_NUMBER
public static final int TRIAL_JOB_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRIALS_FIELD_NUMBER
public static final int TRIALS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_SPEC_FIELD_NUMBER
public static final int ENCRYPTION_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. Resource name of the HyperparameterTuningJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceHyperparameterTuningJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the HyperparameterTuningJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceHyperparameterTuningJobOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Required. The display name of the HyperparameterTuningJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceHyperparameterTuningJobOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name of the HyperparameterTuningJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceHyperparameterTuningJobOrBuilder- Returns:
- The bytes for displayName.
-
hasStudySpec
public boolean hasStudySpec()
Required. Study configuration of the HyperparameterTuningJob.
.google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasStudySpecin interfaceHyperparameterTuningJobOrBuilder- Returns:
- Whether the studySpec field is set.
-
getStudySpec
public StudySpec getStudySpec()
Required. Study configuration of the HyperparameterTuningJob.
.google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStudySpecin interfaceHyperparameterTuningJobOrBuilder- Returns:
- The studySpec.
-
getStudySpecOrBuilder
public StudySpecOrBuilder getStudySpecOrBuilder()
Required. Study configuration of the HyperparameterTuningJob.
.google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStudySpecOrBuilderin interfaceHyperparameterTuningJobOrBuilder
-
getMaxTrialCount
public int getMaxTrialCount()
Required. The desired total number of Trials.
int32 max_trial_count = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMaxTrialCountin interfaceHyperparameterTuningJobOrBuilder- Returns:
- The maxTrialCount.
-
getParallelTrialCount
public int getParallelTrialCount()
Required. The desired number of Trials to run in parallel.
int32 parallel_trial_count = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParallelTrialCountin interfaceHyperparameterTuningJobOrBuilder- Returns:
- The parallelTrialCount.
-
getMaxFailedTrialCount
public int getMaxFailedTrialCount()
The number of failed Trials that need to be seen before failing the HyperparameterTuningJob. If set to 0, Vertex AI decides how many Trials must fail before the whole job fails.
int32 max_failed_trial_count = 7;- Specified by:
getMaxFailedTrialCountin interfaceHyperparameterTuningJobOrBuilder- Returns:
- The maxFailedTrialCount.
-
hasTrialJobSpec
public boolean hasTrialJobSpec()
Required. The spec of a trial job. The same spec applies to the CustomJobs created in all the trials.
.google.cloud.aiplatform.v1.CustomJobSpec trial_job_spec = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasTrialJobSpecin interfaceHyperparameterTuningJobOrBuilder- Returns:
- Whether the trialJobSpec field is set.
-
getTrialJobSpec
public CustomJobSpec getTrialJobSpec()
Required. The spec of a trial job. The same spec applies to the CustomJobs created in all the trials.
.google.cloud.aiplatform.v1.CustomJobSpec trial_job_spec = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTrialJobSpecin interfaceHyperparameterTuningJobOrBuilder- Returns:
- The trialJobSpec.
-
getTrialJobSpecOrBuilder
public CustomJobSpecOrBuilder getTrialJobSpecOrBuilder()
Required. The spec of a trial job. The same spec applies to the CustomJobs created in all the trials.
.google.cloud.aiplatform.v1.CustomJobSpec trial_job_spec = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTrialJobSpecOrBuilderin interfaceHyperparameterTuningJobOrBuilder
-
getTrialsList
public List<Trial> getTrialsList()
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTrialsListin interfaceHyperparameterTuningJobOrBuilder
-
getTrialsOrBuilderList
public List<? extends TrialOrBuilder> getTrialsOrBuilderList()
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTrialsOrBuilderListin interfaceHyperparameterTuningJobOrBuilder
-
getTrialsCount
public int getTrialsCount()
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTrialsCountin interfaceHyperparameterTuningJobOrBuilder
-
getTrials
public Trial getTrials(int index)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTrialsin interfaceHyperparameterTuningJobOrBuilder
-
getTrialsOrBuilder
public TrialOrBuilder getTrialsOrBuilder(int index)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTrialsOrBuilderin interfaceHyperparameterTuningJobOrBuilder
-
getStateValue
public int getStateValue()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceHyperparameterTuningJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public JobState getState()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceHyperparameterTuningJobOrBuilder- Returns:
- The state.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time when the HyperparameterTuningJob was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceHyperparameterTuningJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time when the HyperparameterTuningJob was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceHyperparameterTuningJobOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the HyperparameterTuningJob was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceHyperparameterTuningJobOrBuilder
-
hasStartTime
public boolean hasStartTime()
Output only. Time when the HyperparameterTuningJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceHyperparameterTuningJobOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Output only. Time when the HyperparameterTuningJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceHyperparameterTuningJobOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Time when the HyperparameterTuningJob for the first time entered the `JOB_STATE_RUNNING` state.
.google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceHyperparameterTuningJobOrBuilder
-
hasEndTime
public boolean hasEndTime()
Output only. Time when the HyperparameterTuningJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndTimein interfaceHyperparameterTuningJobOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
Output only. Time when the HyperparameterTuningJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimein interfaceHyperparameterTuningJobOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. Time when the HyperparameterTuningJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
.google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeOrBuilderin interfaceHyperparameterTuningJobOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Time when the HyperparameterTuningJob was most recently updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceHyperparameterTuningJobOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Time when the HyperparameterTuningJob was most recently updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceHyperparameterTuningJobOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the HyperparameterTuningJob was most recently updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceHyperparameterTuningJobOrBuilder
-
hasError
public boolean hasError()
Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.
.google.rpc.Status error = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasErrorin interfaceHyperparameterTuningJobOrBuilder- Returns:
- Whether the error field is set.
-
getError
public 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 = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorin interfaceHyperparameterTuningJobOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
public 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 = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorOrBuilderin interfaceHyperparameterTuningJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:HyperparameterTuningJobOrBuilderThe labels with user-defined metadata to organize HyperparameterTuningJobs. 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 = 16;- Specified by:
getLabelsCountin interfaceHyperparameterTuningJobOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The labels with user-defined metadata to organize HyperparameterTuningJobs. 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 = 16;- Specified by:
containsLabelsin interfaceHyperparameterTuningJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceHyperparameterTuningJobOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The labels with user-defined metadata to organize HyperparameterTuningJobs. 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 = 16;- Specified by:
getLabelsMapin interfaceHyperparameterTuningJobOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize HyperparameterTuningJobs. 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 = 16;- Specified by:
getLabelsOrDefaultin interfaceHyperparameterTuningJobOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The labels with user-defined metadata to organize HyperparameterTuningJobs. 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 = 16;- Specified by:
getLabelsOrThrowin interfaceHyperparameterTuningJobOrBuilder
-
hasEncryptionSpec
public boolean hasEncryptionSpec()
Customer-managed encryption key options for a HyperparameterTuningJob. If this is set, then all resources created by the HyperparameterTuningJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17;- Specified by:
hasEncryptionSpecin interfaceHyperparameterTuningJobOrBuilder- Returns:
- Whether the encryptionSpec field is set.
-
getEncryptionSpec
public EncryptionSpec getEncryptionSpec()
Customer-managed encryption key options for a HyperparameterTuningJob. If this is set, then all resources created by the HyperparameterTuningJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17;- Specified by:
getEncryptionSpecin interfaceHyperparameterTuningJobOrBuilder- Returns:
- The encryptionSpec.
-
getEncryptionSpecOrBuilder
public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
Customer-managed encryption key options for a HyperparameterTuningJob. If this is set, then all resources created by the HyperparameterTuningJob will be encrypted with the provided encryption key.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17;- Specified by:
getEncryptionSpecOrBuilderin interfaceHyperparameterTuningJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 HyperparameterTuningJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HyperparameterTuningJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HyperparameterTuningJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HyperparameterTuningJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HyperparameterTuningJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HyperparameterTuningJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HyperparameterTuningJob parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HyperparameterTuningJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HyperparameterTuningJob parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HyperparameterTuningJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static HyperparameterTuningJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HyperparameterTuningJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public HyperparameterTuningJob.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HyperparameterTuningJob.Builder newBuilder()
-
newBuilder
public static HyperparameterTuningJob.Builder newBuilder(HyperparameterTuningJob prototype)
-
toBuilder
public HyperparameterTuningJob.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HyperparameterTuningJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static HyperparameterTuningJob getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HyperparameterTuningJob> parser()
-
getParserForType
public com.google.protobuf.Parser<HyperparameterTuningJob> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HyperparameterTuningJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-