Package com.google.cloud.aiplatform.v1
Class HyperparameterTuningJob.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
- com.google.cloud.aiplatform.v1.HyperparameterTuningJob.Builder
-
- All Implemented Interfaces:
HyperparameterTuningJobOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HyperparameterTuningJob
public static final class HyperparameterTuningJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder> implements HyperparameterTuningJobOrBuilder
Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification.
Protobuf typegoogle.cloud.aiplatform.v1.HyperparameterTuningJob
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HyperparameterTuningJob.BuilderaddAllTrials(Iterable<? extends Trial> values)Output only.HyperparameterTuningJob.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HyperparameterTuningJob.BuilderaddTrials(int index, Trial value)Output only.HyperparameterTuningJob.BuilderaddTrials(int index, Trial.Builder builderForValue)Output only.HyperparameterTuningJob.BuilderaddTrials(Trial value)Output only.HyperparameterTuningJob.BuilderaddTrials(Trial.Builder builderForValue)Output only.Trial.BuilderaddTrialsBuilder()Output only.Trial.BuilderaddTrialsBuilder(int index)Output only.HyperparameterTuningJobbuild()HyperparameterTuningJobbuildPartial()HyperparameterTuningJob.Builderclear()HyperparameterTuningJob.BuilderclearCreateTime()Output only.HyperparameterTuningJob.BuilderclearDisplayName()Required.HyperparameterTuningJob.BuilderclearEncryptionSpec()Customer-managed encryption key options for a HyperparameterTuningJob.HyperparameterTuningJob.BuilderclearEndTime()Output only.HyperparameterTuningJob.BuilderclearError()Output only.HyperparameterTuningJob.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HyperparameterTuningJob.BuilderclearLabels()HyperparameterTuningJob.BuilderclearMaxFailedTrialCount()The number of failed Trials that need to be seen before failing the HyperparameterTuningJob.HyperparameterTuningJob.BuilderclearMaxTrialCount()Required.HyperparameterTuningJob.BuilderclearName()Output only.HyperparameterTuningJob.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HyperparameterTuningJob.BuilderclearParallelTrialCount()Required.HyperparameterTuningJob.BuilderclearStartTime()Output only.HyperparameterTuningJob.BuilderclearState()Output only.HyperparameterTuningJob.BuilderclearStudySpec()Required.HyperparameterTuningJob.BuilderclearTrialJobSpec()Required.HyperparameterTuningJob.BuilderclearTrials()Output only.HyperparameterTuningJob.BuilderclearUpdateTime()Output only.HyperparameterTuningJob.Builderclone()booleancontainsLabels(String key)The labels with user-defined metadata to organize HyperparameterTuningJobs.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.HyperparameterTuningJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.EncryptionSpecgetEncryptionSpec()Customer-managed encryption key options for a HyperparameterTuningJob.EncryptionSpec.BuildergetEncryptionSpecBuilder()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.Timestamp.BuildergetEndTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.com.google.rpc.StatusgetError()Output only.com.google.rpc.Status.BuildergetErrorBuilder()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.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.intgetParallelTrialCount()Required.com.google.protobuf.TimestampgetStartTime()Output only.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Output only.JobStategetState()Output only.intgetStateValue()Output only.StudySpecgetStudySpec()Required.StudySpec.BuildergetStudySpecBuilder()Required.StudySpecOrBuildergetStudySpecOrBuilder()Required.CustomJobSpecgetTrialJobSpec()Required.CustomJobSpec.BuildergetTrialJobSpecBuilder()Required.CustomJobSpecOrBuildergetTrialJobSpecOrBuilder()Required.TrialgetTrials(int index)Output only.Trial.BuildergetTrialsBuilder(int index)Output only.List<Trial.Builder>getTrialsBuilderList()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.Timestamp.BuildergetUpdateTimeBuilder()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.booleanhasStartTime()Output only.booleanhasStudySpec()Required.booleanhasTrialJobSpec()Required.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()HyperparameterTuningJob.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.HyperparameterTuningJob.BuildermergeEncryptionSpec(EncryptionSpec value)Customer-managed encryption key options for a HyperparameterTuningJob.HyperparameterTuningJob.BuildermergeEndTime(com.google.protobuf.Timestamp value)Output only.HyperparameterTuningJob.BuildermergeError(com.google.rpc.Status value)Output only.HyperparameterTuningJob.BuildermergeFrom(HyperparameterTuningJob other)HyperparameterTuningJob.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HyperparameterTuningJob.BuildermergeFrom(com.google.protobuf.Message other)HyperparameterTuningJob.BuildermergeStartTime(com.google.protobuf.Timestamp value)Output only.HyperparameterTuningJob.BuildermergeStudySpec(StudySpec value)Required.HyperparameterTuningJob.BuildermergeTrialJobSpec(CustomJobSpec value)Required.HyperparameterTuningJob.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HyperparameterTuningJob.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.HyperparameterTuningJob.BuilderputAllLabels(Map<String,String> values)The labels with user-defined metadata to organize HyperparameterTuningJobs.HyperparameterTuningJob.BuilderputLabels(String key, String value)The labels with user-defined metadata to organize HyperparameterTuningJobs.HyperparameterTuningJob.BuilderremoveLabels(String key)The labels with user-defined metadata to organize HyperparameterTuningJobs.HyperparameterTuningJob.BuilderremoveTrials(int index)Output only.HyperparameterTuningJob.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.HyperparameterTuningJob.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.HyperparameterTuningJob.BuildersetDisplayName(String value)Required.HyperparameterTuningJob.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Required.HyperparameterTuningJob.BuildersetEncryptionSpec(EncryptionSpec value)Customer-managed encryption key options for a HyperparameterTuningJob.HyperparameterTuningJob.BuildersetEncryptionSpec(EncryptionSpec.Builder builderForValue)Customer-managed encryption key options for a HyperparameterTuningJob.HyperparameterTuningJob.BuildersetEndTime(com.google.protobuf.Timestamp value)Output only.HyperparameterTuningJob.BuildersetEndTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.HyperparameterTuningJob.BuildersetError(com.google.rpc.Status value)Output only.HyperparameterTuningJob.BuildersetError(com.google.rpc.Status.Builder builderForValue)Output only.HyperparameterTuningJob.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HyperparameterTuningJob.BuildersetMaxFailedTrialCount(int value)The number of failed Trials that need to be seen before failing the HyperparameterTuningJob.HyperparameterTuningJob.BuildersetMaxTrialCount(int value)Required.HyperparameterTuningJob.BuildersetName(String value)Output only.HyperparameterTuningJob.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.HyperparameterTuningJob.BuildersetParallelTrialCount(int value)Required.HyperparameterTuningJob.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HyperparameterTuningJob.BuildersetStartTime(com.google.protobuf.Timestamp value)Output only.HyperparameterTuningJob.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.HyperparameterTuningJob.BuildersetState(JobState value)Output only.HyperparameterTuningJob.BuildersetStateValue(int value)Output only.HyperparameterTuningJob.BuildersetStudySpec(StudySpec value)Required.HyperparameterTuningJob.BuildersetStudySpec(StudySpec.Builder builderForValue)Required.HyperparameterTuningJob.BuildersetTrialJobSpec(CustomJobSpec value)Required.HyperparameterTuningJob.BuildersetTrialJobSpec(CustomJobSpec.Builder builderForValue)Required.HyperparameterTuningJob.BuildersetTrials(int index, Trial value)Output only.HyperparameterTuningJob.BuildersetTrials(int index, Trial.Builder builderForValue)Output only.HyperparameterTuningJob.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HyperparameterTuningJob.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.HyperparameterTuningJob.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<HyperparameterTuningJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
clear
public HyperparameterTuningJob.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
getDefaultInstanceForType
public HyperparameterTuningJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HyperparameterTuningJob build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HyperparameterTuningJob buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HyperparameterTuningJob.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
setField
public HyperparameterTuningJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
clearField
public HyperparameterTuningJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
clearOneof
public HyperparameterTuningJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
setRepeatedField
public HyperparameterTuningJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
addRepeatedField
public HyperparameterTuningJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
mergeFrom
public HyperparameterTuningJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HyperparameterTuningJob.Builder>
-
mergeFrom
public HyperparameterTuningJob.Builder mergeFrom(HyperparameterTuningJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
mergeFrom
public HyperparameterTuningJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HyperparameterTuningJob.Builder>- Throws:
IOException
-
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.
-
setName
public HyperparameterTuningJob.Builder setName(String value)
Output only. Resource name of the HyperparameterTuningJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public HyperparameterTuningJob.Builder clearName()
Output only. Resource name of the HyperparameterTuningJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public HyperparameterTuningJob.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the HyperparameterTuningJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setDisplayName
public HyperparameterTuningJob.Builder setDisplayName(String value)
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];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public HyperparameterTuningJob.Builder clearDisplayName()
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];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public HyperparameterTuningJob.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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.
-
setStudySpec
public HyperparameterTuningJob.Builder setStudySpec(StudySpec value)
Required. Study configuration of the HyperparameterTuningJob.
.google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED];
-
setStudySpec
public HyperparameterTuningJob.Builder setStudySpec(StudySpec.Builder builderForValue)
Required. Study configuration of the HyperparameterTuningJob.
.google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED];
-
mergeStudySpec
public HyperparameterTuningJob.Builder mergeStudySpec(StudySpec value)
Required. Study configuration of the HyperparameterTuningJob.
.google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED];
-
clearStudySpec
public HyperparameterTuningJob.Builder clearStudySpec()
Required. Study configuration of the HyperparameterTuningJob.
.google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED];
-
getStudySpecBuilder
public StudySpec.Builder getStudySpecBuilder()
Required. Study configuration of the HyperparameterTuningJob.
.google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED];
-
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.
-
setMaxTrialCount
public HyperparameterTuningJob.Builder setMaxTrialCount(int value)
Required. The desired total number of Trials.
int32 max_trial_count = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The maxTrialCount to set.- Returns:
- This builder for chaining.
-
clearMaxTrialCount
public HyperparameterTuningJob.Builder clearMaxTrialCount()
Required. The desired total number of Trials.
int32 max_trial_count = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
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.
-
setParallelTrialCount
public HyperparameterTuningJob.Builder setParallelTrialCount(int value)
Required. The desired number of Trials to run in parallel.
int32 parallel_trial_count = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The parallelTrialCount to set.- Returns:
- This builder for chaining.
-
clearParallelTrialCount
public HyperparameterTuningJob.Builder clearParallelTrialCount()
Required. The desired number of Trials to run in parallel.
int32 parallel_trial_count = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
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.
-
setMaxFailedTrialCount
public HyperparameterTuningJob.Builder setMaxFailedTrialCount(int value)
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;- Parameters:
value- The maxFailedTrialCount to set.- Returns:
- This builder for chaining.
-
clearMaxFailedTrialCount
public HyperparameterTuningJob.Builder clearMaxFailedTrialCount()
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;- Returns:
- This builder for chaining.
-
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.
-
setTrialJobSpec
public HyperparameterTuningJob.Builder setTrialJobSpec(CustomJobSpec value)
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];
-
setTrialJobSpec
public HyperparameterTuningJob.Builder setTrialJobSpec(CustomJobSpec.Builder builderForValue)
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];
-
mergeTrialJobSpec
public HyperparameterTuningJob.Builder mergeTrialJobSpec(CustomJobSpec value)
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];
-
clearTrialJobSpec
public HyperparameterTuningJob.Builder clearTrialJobSpec()
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];
-
getTrialJobSpecBuilder
public CustomJobSpec.Builder getTrialJobSpecBuilder()
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];
-
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
-
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
-
setTrials
public HyperparameterTuningJob.Builder setTrials(int index, Trial value)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setTrials
public HyperparameterTuningJob.Builder setTrials(int index, Trial.Builder builderForValue)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrials
public HyperparameterTuningJob.Builder addTrials(Trial value)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrials
public HyperparameterTuningJob.Builder addTrials(int index, Trial value)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrials
public HyperparameterTuningJob.Builder addTrials(Trial.Builder builderForValue)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrials
public HyperparameterTuningJob.Builder addTrials(int index, Trial.Builder builderForValue)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllTrials
public HyperparameterTuningJob.Builder addAllTrials(Iterable<? extends Trial> values)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearTrials
public HyperparameterTuningJob.Builder clearTrials()
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeTrials
public HyperparameterTuningJob.Builder removeTrials(int index)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrialsBuilder
public Trial.Builder getTrialsBuilder(int index)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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
-
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
-
addTrialsBuilder
public Trial.Builder addTrialsBuilder()
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrialsBuilder
public Trial.Builder addTrialsBuilder(int index)
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrialsBuilderList
public List<Trial.Builder> getTrialsBuilderList()
Output only. Trials of the HyperparameterTuningJob.
repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setStateValue
public HyperparameterTuningJob.Builder setStateValue(int value)
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public JobState getState()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceHyperparameterTuningJobOrBuilder- Returns:
- The state.
-
setState
public HyperparameterTuningJob.Builder setState(JobState value)
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public HyperparameterTuningJob.Builder clearState()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
public HyperparameterTuningJob.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time when the HyperparameterTuningJob was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public HyperparameterTuningJob.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the HyperparameterTuningJob was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public HyperparameterTuningJob.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time when the HyperparameterTuningJob was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public HyperparameterTuningJob.Builder clearCreateTime()
Output only. Time when the HyperparameterTuningJob was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time when the HyperparameterTuningJob was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setStartTime
public HyperparameterTuningJob.Builder setStartTime(com.google.protobuf.Timestamp value)
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];
-
setStartTime
public HyperparameterTuningJob.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
-
mergeStartTime
public HyperparameterTuningJob.Builder mergeStartTime(com.google.protobuf.Timestamp value)
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];
-
clearStartTime
public HyperparameterTuningJob.Builder clearStartTime()
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];
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
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];
-
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.
-
setEndTime
public HyperparameterTuningJob.Builder setEndTime(com.google.protobuf.Timestamp value)
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];
-
setEndTime
public HyperparameterTuningJob.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
-
mergeEndTime
public HyperparameterTuningJob.Builder mergeEndTime(com.google.protobuf.Timestamp value)
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];
-
clearEndTime
public HyperparameterTuningJob.Builder clearEndTime()
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];
-
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
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];
-
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.
-
setUpdateTime
public HyperparameterTuningJob.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time when the HyperparameterTuningJob was most recently updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public HyperparameterTuningJob.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the HyperparameterTuningJob was most recently updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public HyperparameterTuningJob.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time when the HyperparameterTuningJob was most recently updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public HyperparameterTuningJob.Builder clearUpdateTime()
Output only. Time when the HyperparameterTuningJob was most recently updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Time when the HyperparameterTuningJob was most recently updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setError
public HyperparameterTuningJob.Builder setError(com.google.rpc.Status value)
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];
-
setError
public HyperparameterTuningJob.Builder setError(com.google.rpc.Status.Builder builderForValue)
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];
-
mergeError
public HyperparameterTuningJob.Builder mergeError(com.google.rpc.Status value)
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];
-
clearError
public HyperparameterTuningJob.Builder clearError()
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];
-
getErrorBuilder
public com.google.rpc.Status.Builder getErrorBuilder()
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];
-
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
-
clearLabels
public HyperparameterTuningJob.Builder clearLabels()
-
removeLabels
public HyperparameterTuningJob.Builder removeLabels(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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public HyperparameterTuningJob.Builder putLabels(String key, String value)
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;
-
putAllLabels
public HyperparameterTuningJob.Builder putAllLabels(Map<String,String> values)
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;
-
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.
-
setEncryptionSpec
public HyperparameterTuningJob.Builder setEncryptionSpec(EncryptionSpec value)
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;
-
setEncryptionSpec
public HyperparameterTuningJob.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
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;
-
mergeEncryptionSpec
public HyperparameterTuningJob.Builder mergeEncryptionSpec(EncryptionSpec value)
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;
-
clearEncryptionSpec
public HyperparameterTuningJob.Builder clearEncryptionSpec()
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;
-
getEncryptionSpecBuilder
public EncryptionSpec.Builder getEncryptionSpecBuilder()
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;
-
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
-
setUnknownFields
public final HyperparameterTuningJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
mergeUnknownFields
public final HyperparameterTuningJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
-