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.Builder
addAllTrials(Iterable<? extends Trial> values)
Output only.HyperparameterTuningJob.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HyperparameterTuningJob.Builder
addTrials(int index, Trial value)
Output only.HyperparameterTuningJob.Builder
addTrials(int index, Trial.Builder builderForValue)
Output only.HyperparameterTuningJob.Builder
addTrials(Trial value)
Output only.HyperparameterTuningJob.Builder
addTrials(Trial.Builder builderForValue)
Output only.Trial.Builder
addTrialsBuilder()
Output only.Trial.Builder
addTrialsBuilder(int index)
Output only.HyperparameterTuningJob
build()
HyperparameterTuningJob
buildPartial()
HyperparameterTuningJob.Builder
clear()
HyperparameterTuningJob.Builder
clearCreateTime()
Output only.HyperparameterTuningJob.Builder
clearDisplayName()
Required.HyperparameterTuningJob.Builder
clearEncryptionSpec()
Customer-managed encryption key options for a HyperparameterTuningJob.HyperparameterTuningJob.Builder
clearEndTime()
Output only.HyperparameterTuningJob.Builder
clearError()
Output only.HyperparameterTuningJob.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
HyperparameterTuningJob.Builder
clearLabels()
HyperparameterTuningJob.Builder
clearMaxFailedTrialCount()
The number of failed Trials that need to be seen before failing the HyperparameterTuningJob.HyperparameterTuningJob.Builder
clearMaxTrialCount()
Required.HyperparameterTuningJob.Builder
clearName()
Output only.HyperparameterTuningJob.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
HyperparameterTuningJob.Builder
clearParallelTrialCount()
Required.HyperparameterTuningJob.Builder
clearStartTime()
Output only.HyperparameterTuningJob.Builder
clearState()
Output only.HyperparameterTuningJob.Builder
clearStudySpec()
Required.HyperparameterTuningJob.Builder
clearTrialJobSpec()
Required.HyperparameterTuningJob.Builder
clearTrials()
Output only.HyperparameterTuningJob.Builder
clearUpdateTime()
Output only.HyperparameterTuningJob.Builder
clone()
boolean
containsLabels(String key)
The labels with user-defined metadata to organize HyperparameterTuningJobs.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.HyperparameterTuningJob
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.EncryptionSpec
getEncryptionSpec()
Customer-managed encryption key options for a HyperparameterTuningJob.EncryptionSpec.Builder
getEncryptionSpecBuilder()
Customer-managed encryption key options for a HyperparameterTuningJob.EncryptionSpecOrBuilder
getEncryptionSpecOrBuilder()
Customer-managed encryption key options for a HyperparameterTuningJob.com.google.protobuf.Timestamp
getEndTime()
Output only.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Output only.com.google.rpc.Status
getError()
Output only.com.google.rpc.Status.Builder
getErrorBuilder()
Output only.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The labels with user-defined metadata to organize HyperparameterTuningJobs.Map<String,String>
getLabelsMap()
The labels with user-defined metadata to organize HyperparameterTuningJobs.String
getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize HyperparameterTuningJobs.String
getLabelsOrThrow(String key)
The labels with user-defined metadata to organize HyperparameterTuningJobs.int
getMaxFailedTrialCount()
The number of failed Trials that need to be seen before failing the HyperparameterTuningJob.int
getMaxTrialCount()
Required.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.int
getParallelTrialCount()
Required.com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Output only.JobState
getState()
Output only.int
getStateValue()
Output only.StudySpec
getStudySpec()
Required.StudySpec.Builder
getStudySpecBuilder()
Required.StudySpecOrBuilder
getStudySpecOrBuilder()
Required.CustomJobSpec
getTrialJobSpec()
Required.CustomJobSpec.Builder
getTrialJobSpecBuilder()
Required.CustomJobSpecOrBuilder
getTrialJobSpecOrBuilder()
Required.Trial
getTrials(int index)
Output only.Trial.Builder
getTrialsBuilder(int index)
Output only.List<Trial.Builder>
getTrialsBuilderList()
Output only.int
getTrialsCount()
Output only.List<Trial>
getTrialsList()
Output only.TrialOrBuilder
getTrialsOrBuilder(int index)
Output only.List<? extends TrialOrBuilder>
getTrialsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasEncryptionSpec()
Customer-managed encryption key options for a HyperparameterTuningJob.boolean
hasEndTime()
Output only.boolean
hasError()
Output only.boolean
hasStartTime()
Output only.boolean
hasStudySpec()
Required.boolean
hasTrialJobSpec()
Required.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
HyperparameterTuningJob.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.HyperparameterTuningJob.Builder
mergeEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key options for a HyperparameterTuningJob.HyperparameterTuningJob.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.HyperparameterTuningJob.Builder
mergeError(com.google.rpc.Status value)
Output only.HyperparameterTuningJob.Builder
mergeFrom(HyperparameterTuningJob other)
HyperparameterTuningJob.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HyperparameterTuningJob.Builder
mergeFrom(com.google.protobuf.Message other)
HyperparameterTuningJob.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Output only.HyperparameterTuningJob.Builder
mergeStudySpec(StudySpec value)
Required.HyperparameterTuningJob.Builder
mergeTrialJobSpec(CustomJobSpec value)
Required.HyperparameterTuningJob.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
HyperparameterTuningJob.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.HyperparameterTuningJob.Builder
putAllLabels(Map<String,String> values)
The labels with user-defined metadata to organize HyperparameterTuningJobs.HyperparameterTuningJob.Builder
putLabels(String key, String value)
The labels with user-defined metadata to organize HyperparameterTuningJobs.HyperparameterTuningJob.Builder
removeLabels(String key)
The labels with user-defined metadata to organize HyperparameterTuningJobs.HyperparameterTuningJob.Builder
removeTrials(int index)
Output only.HyperparameterTuningJob.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.HyperparameterTuningJob.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.HyperparameterTuningJob.Builder
setDisplayName(String value)
Required.HyperparameterTuningJob.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.HyperparameterTuningJob.Builder
setEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key options for a HyperparameterTuningJob.HyperparameterTuningJob.Builder
setEncryptionSpec(EncryptionSpec.Builder builderForValue)
Customer-managed encryption key options for a HyperparameterTuningJob.HyperparameterTuningJob.Builder
setEndTime(com.google.protobuf.Timestamp value)
Output only.HyperparameterTuningJob.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.HyperparameterTuningJob.Builder
setError(com.google.rpc.Status value)
Output only.HyperparameterTuningJob.Builder
setError(com.google.rpc.Status.Builder builderForValue)
Output only.HyperparameterTuningJob.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HyperparameterTuningJob.Builder
setMaxFailedTrialCount(int value)
The number of failed Trials that need to be seen before failing the HyperparameterTuningJob.HyperparameterTuningJob.Builder
setMaxTrialCount(int value)
Required.HyperparameterTuningJob.Builder
setName(String value)
Output only.HyperparameterTuningJob.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.HyperparameterTuningJob.Builder
setParallelTrialCount(int value)
Required.HyperparameterTuningJob.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
HyperparameterTuningJob.Builder
setStartTime(com.google.protobuf.Timestamp value)
Output only.HyperparameterTuningJob.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.HyperparameterTuningJob.Builder
setState(JobState value)
Output only.HyperparameterTuningJob.Builder
setStateValue(int value)
Output only.HyperparameterTuningJob.Builder
setStudySpec(StudySpec value)
Required.HyperparameterTuningJob.Builder
setStudySpec(StudySpec.Builder builderForValue)
Required.HyperparameterTuningJob.Builder
setTrialJobSpec(CustomJobSpec value)
Required.HyperparameterTuningJob.Builder
setTrialJobSpec(CustomJobSpec.Builder builderForValue)
Required.HyperparameterTuningJob.Builder
setTrials(int index, Trial value)
Output only.HyperparameterTuningJob.Builder
setTrials(int index, Trial.Builder builderForValue)
Output only.HyperparameterTuningJob.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
HyperparameterTuningJob.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.HyperparameterTuningJob.Builder
setUpdateTime(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
clear
public HyperparameterTuningJob.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
getDefaultInstanceForType
public HyperparameterTuningJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HyperparameterTuningJob build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HyperparameterTuningJob buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HyperparameterTuningJob.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
setField
public HyperparameterTuningJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
clearField
public HyperparameterTuningJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
clearOneof
public HyperparameterTuningJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
setRepeatedField
public HyperparameterTuningJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
addRepeatedField
public HyperparameterTuningJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
mergeFrom
public HyperparameterTuningJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HyperparameterTuningJob.Builder>
-
mergeFrom
public HyperparameterTuningJob.Builder mergeFrom(HyperparameterTuningJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
hasStudySpec
in 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:
getStudySpec
in 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:
getStudySpecOrBuilder
in interfaceHyperparameterTuningJobOrBuilder
-
getMaxTrialCount
public int getMaxTrialCount()
Required. The desired total number of Trials.
int32 max_trial_count = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMaxTrialCount
in 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:
getParallelTrialCount
in 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:
getMaxFailedTrialCount
in 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:
hasTrialJobSpec
in 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:
getTrialJobSpec
in 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:
getTrialJobSpecOrBuilder
in 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:
getTrialsList
in 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:
getTrialsCount
in 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:
getTrials
in 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:
getTrialsOrBuilder
in 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:
getTrialsOrBuilderList
in 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:
getStateValue
in 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:
getState
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasStartTime
in 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:
getStartTime
in 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:
getStartTimeOrBuilder
in 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:
hasEndTime
in 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:
getEndTime
in 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:
getEndTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
hasError
in 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:
getError
in 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:
getErrorOrBuilder
in interfaceHyperparameterTuningJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:HyperparameterTuningJobOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceHyperparameterTuningJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
hasEncryptionSpec
in 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:
getEncryptionSpec
in 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:
getEncryptionSpecOrBuilder
in interfaceHyperparameterTuningJobOrBuilder
-
setUnknownFields
public final HyperparameterTuningJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
mergeUnknownFields
public final HyperparameterTuningJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HyperparameterTuningJob.Builder>
-
-