Package com.google.cloud.aiplatform.v1
Class StudySpec.StudyStoppingConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StudySpec.StudyStoppingConfig.Builder>
com.google.cloud.aiplatform.v1.StudySpec.StudyStoppingConfig.Builder
- All Implemented Interfaces:
StudySpec.StudyStoppingConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StudySpec.StudyStoppingConfig
public static final class StudySpec.StudyStoppingConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StudySpec.StudyStoppingConfig.Builder>
implements StudySpec.StudyStoppingConfigOrBuilder
The configuration (stopping conditions) for automated stopping of a Study. Conditions include trial budgets, time budgets, and convergence detection.Protobuf type
google.cloud.aiplatform.v1.StudySpec.StudyStoppingConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()If the objective value has not improved for this much time, stop the study.If the specified time or duration has passed, stop the study.If there are more than this many trials, stop the study.If the objective value has not improved for this many consecutive trials, stop the study.Each "stopping rule" in this proto specifies an "if" condition.If there are fewer than this many COMPLETED trials, do not stop the study.If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationIf the objective value has not improved for this much time, stop the study.com.google.protobuf.Duration.BuilderIf the objective value has not improved for this much time, stop the study.com.google.protobuf.DurationOrBuilderIf the objective value has not improved for this much time, stop the study.If the specified time or duration has passed, stop the study.If the specified time or duration has passed, stop the study.If the specified time or duration has passed, stop the study.com.google.protobuf.Int32ValueIf there are more than this many trials, stop the study.com.google.protobuf.Int32Value.BuilderIf there are more than this many trials, stop the study.com.google.protobuf.Int32ValueIf the objective value has not improved for this many consecutive trials, stop the study.com.google.protobuf.Int32Value.BuilderIf the objective value has not improved for this many consecutive trials, stop the study.com.google.protobuf.Int32ValueOrBuilderIf the objective value has not improved for this many consecutive trials, stop the study.com.google.protobuf.Int32ValueOrBuilderIf there are more than this many trials, stop the study.Each "stopping rule" in this proto specifies an "if" condition.Each "stopping rule" in this proto specifies an "if" condition.Each "stopping rule" in this proto specifies an "if" condition.com.google.protobuf.Int32ValueIf there are fewer than this many COMPLETED trials, do not stop the study.com.google.protobuf.Int32Value.BuilderIf there are fewer than this many COMPLETED trials, do not stop the study.com.google.protobuf.Int32ValueOrBuilderIf there are fewer than this many COMPLETED trials, do not stop the study.com.google.protobuf.BoolValueIf true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state.com.google.protobuf.BoolValue.BuilderIf true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state.com.google.protobuf.BoolValueOrBuilderIf true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state.booleanIf the objective value has not improved for this much time, stop the study.booleanIf the specified time or duration has passed, stop the study.booleanIf there are more than this many trials, stop the study.booleanIf the objective value has not improved for this many consecutive trials, stop the study.booleanEach "stopping rule" in this proto specifies an "if" condition.booleanIf there are fewer than this many COMPLETED trials, do not stop the study.booleanIf true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMaxDurationNoProgress(com.google.protobuf.Duration value) If the objective value has not improved for this much time, stop the study.If the specified time or duration has passed, stop the study.mergeMaxNumTrials(com.google.protobuf.Int32Value value) If there are more than this many trials, stop the study.mergeMaxNumTrialsNoProgress(com.google.protobuf.Int32Value value) If the objective value has not improved for this many consecutive trials, stop the study.Each "stopping rule" in this proto specifies an "if" condition.mergeMinNumTrials(com.google.protobuf.Int32Value value) If there are fewer than this many COMPLETED trials, do not stop the study.mergeShouldStopAsap(com.google.protobuf.BoolValue value) If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state.setMaxDurationNoProgress(com.google.protobuf.Duration value) If the objective value has not improved for this much time, stop the study.setMaxDurationNoProgress(com.google.protobuf.Duration.Builder builderForValue) If the objective value has not improved for this much time, stop the study.If the specified time or duration has passed, stop the study.setMaximumRuntimeConstraint(StudyTimeConstraint.Builder builderForValue) If the specified time or duration has passed, stop the study.setMaxNumTrials(com.google.protobuf.Int32Value value) If there are more than this many trials, stop the study.setMaxNumTrials(com.google.protobuf.Int32Value.Builder builderForValue) If there are more than this many trials, stop the study.setMaxNumTrialsNoProgress(com.google.protobuf.Int32Value value) If the objective value has not improved for this many consecutive trials, stop the study.setMaxNumTrialsNoProgress(com.google.protobuf.Int32Value.Builder builderForValue) If the objective value has not improved for this many consecutive trials, stop the study.Each "stopping rule" in this proto specifies an "if" condition.setMinimumRuntimeConstraint(StudyTimeConstraint.Builder builderForValue) Each "stopping rule" in this proto specifies an "if" condition.setMinNumTrials(com.google.protobuf.Int32Value value) If there are fewer than this many COMPLETED trials, do not stop the study.setMinNumTrials(com.google.protobuf.Int32Value.Builder builderForValue) If there are fewer than this many COMPLETED trials, do not stop the study.setShouldStopAsap(com.google.protobuf.BoolValue value) If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state.setShouldStopAsap(com.google.protobuf.BoolValue.Builder builderForValue) If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StudySpec.StudyStoppingConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StudySpec.StudyStoppingConfig.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.GeneratedMessage.Builder<StudySpec.StudyStoppingConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StudySpec.StudyStoppingConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StudySpec.StudyStoppingConfig.Builder>
-
mergeFrom
public StudySpec.StudyStoppingConfig.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<StudySpec.StudyStoppingConfig.Builder>- Throws:
IOException
-
hasShouldStopAsap
public boolean hasShouldStopAsap()If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).
.google.protobuf.BoolValue should_stop_asap = 1;- Specified by:
hasShouldStopAsapin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- Whether the shouldStopAsap field is set.
-
getShouldStopAsap
public com.google.protobuf.BoolValue getShouldStopAsap()If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).
.google.protobuf.BoolValue should_stop_asap = 1;- Specified by:
getShouldStopAsapin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- The shouldStopAsap.
-
setShouldStopAsap
If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).
.google.protobuf.BoolValue should_stop_asap = 1; -
setShouldStopAsap
public StudySpec.StudyStoppingConfig.Builder setShouldStopAsap(com.google.protobuf.BoolValue.Builder builderForValue) If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).
.google.protobuf.BoolValue should_stop_asap = 1; -
mergeShouldStopAsap
public StudySpec.StudyStoppingConfig.Builder mergeShouldStopAsap(com.google.protobuf.BoolValue value) If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).
.google.protobuf.BoolValue should_stop_asap = 1; -
clearShouldStopAsap
If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).
.google.protobuf.BoolValue should_stop_asap = 1; -
getShouldStopAsapBuilder
public com.google.protobuf.BoolValue.Builder getShouldStopAsapBuilder()If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).
.google.protobuf.BoolValue should_stop_asap = 1; -
getShouldStopAsapOrBuilder
public com.google.protobuf.BoolValueOrBuilder getShouldStopAsapOrBuilder()If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).
.google.protobuf.BoolValue should_stop_asap = 1;- Specified by:
getShouldStopAsapOrBuilderin interfaceStudySpec.StudyStoppingConfigOrBuilder
-
hasMinimumRuntimeConstraint
public boolean hasMinimumRuntimeConstraint()Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint minimum_runtime_constraint = 2;- Specified by:
hasMinimumRuntimeConstraintin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- Whether the minimumRuntimeConstraint field is set.
-
getMinimumRuntimeConstraint
Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint minimum_runtime_constraint = 2;- Specified by:
getMinimumRuntimeConstraintin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- The minimumRuntimeConstraint.
-
setMinimumRuntimeConstraint
Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint minimum_runtime_constraint = 2; -
setMinimumRuntimeConstraint
public StudySpec.StudyStoppingConfig.Builder setMinimumRuntimeConstraint(StudyTimeConstraint.Builder builderForValue) Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint minimum_runtime_constraint = 2; -
mergeMinimumRuntimeConstraint
public StudySpec.StudyStoppingConfig.Builder mergeMinimumRuntimeConstraint(StudyTimeConstraint value) Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint minimum_runtime_constraint = 2; -
clearMinimumRuntimeConstraint
Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint minimum_runtime_constraint = 2; -
getMinimumRuntimeConstraintBuilder
Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint minimum_runtime_constraint = 2; -
getMinimumRuntimeConstraintOrBuilder
Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint minimum_runtime_constraint = 2;- Specified by:
getMinimumRuntimeConstraintOrBuilderin interfaceStudySpec.StudyStoppingConfigOrBuilder
-
hasMaximumRuntimeConstraint
public boolean hasMaximumRuntimeConstraint()If the specified time or duration has passed, stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint maximum_runtime_constraint = 3;- Specified by:
hasMaximumRuntimeConstraintin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- Whether the maximumRuntimeConstraint field is set.
-
getMaximumRuntimeConstraint
If the specified time or duration has passed, stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint maximum_runtime_constraint = 3;- Specified by:
getMaximumRuntimeConstraintin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- The maximumRuntimeConstraint.
-
setMaximumRuntimeConstraint
If the specified time or duration has passed, stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint maximum_runtime_constraint = 3; -
setMaximumRuntimeConstraint
public StudySpec.StudyStoppingConfig.Builder setMaximumRuntimeConstraint(StudyTimeConstraint.Builder builderForValue) If the specified time or duration has passed, stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint maximum_runtime_constraint = 3; -
mergeMaximumRuntimeConstraint
public StudySpec.StudyStoppingConfig.Builder mergeMaximumRuntimeConstraint(StudyTimeConstraint value) If the specified time or duration has passed, stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint maximum_runtime_constraint = 3; -
clearMaximumRuntimeConstraint
If the specified time or duration has passed, stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint maximum_runtime_constraint = 3; -
getMaximumRuntimeConstraintBuilder
If the specified time or duration has passed, stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint maximum_runtime_constraint = 3; -
getMaximumRuntimeConstraintOrBuilder
If the specified time or duration has passed, stop the study.
.google.cloud.aiplatform.v1.StudyTimeConstraint maximum_runtime_constraint = 3;- Specified by:
getMaximumRuntimeConstraintOrBuilderin interfaceStudySpec.StudyStoppingConfigOrBuilder
-
hasMinNumTrials
public boolean hasMinNumTrials()If there are fewer than this many COMPLETED trials, do not stop the study.
.google.protobuf.Int32Value min_num_trials = 4;- Specified by:
hasMinNumTrialsin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- Whether the minNumTrials field is set.
-
getMinNumTrials
public com.google.protobuf.Int32Value getMinNumTrials()If there are fewer than this many COMPLETED trials, do not stop the study.
.google.protobuf.Int32Value min_num_trials = 4;- Specified by:
getMinNumTrialsin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- The minNumTrials.
-
setMinNumTrials
If there are fewer than this many COMPLETED trials, do not stop the study.
.google.protobuf.Int32Value min_num_trials = 4; -
setMinNumTrials
public StudySpec.StudyStoppingConfig.Builder setMinNumTrials(com.google.protobuf.Int32Value.Builder builderForValue) If there are fewer than this many COMPLETED trials, do not stop the study.
.google.protobuf.Int32Value min_num_trials = 4; -
mergeMinNumTrials
public StudySpec.StudyStoppingConfig.Builder mergeMinNumTrials(com.google.protobuf.Int32Value value) If there are fewer than this many COMPLETED trials, do not stop the study.
.google.protobuf.Int32Value min_num_trials = 4; -
clearMinNumTrials
If there are fewer than this many COMPLETED trials, do not stop the study.
.google.protobuf.Int32Value min_num_trials = 4; -
getMinNumTrialsBuilder
public com.google.protobuf.Int32Value.Builder getMinNumTrialsBuilder()If there are fewer than this many COMPLETED trials, do not stop the study.
.google.protobuf.Int32Value min_num_trials = 4; -
getMinNumTrialsOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getMinNumTrialsOrBuilder()If there are fewer than this many COMPLETED trials, do not stop the study.
.google.protobuf.Int32Value min_num_trials = 4;- Specified by:
getMinNumTrialsOrBuilderin interfaceStudySpec.StudyStoppingConfigOrBuilder
-
hasMaxNumTrials
public boolean hasMaxNumTrials()If there are more than this many trials, stop the study.
.google.protobuf.Int32Value max_num_trials = 5;- Specified by:
hasMaxNumTrialsin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- Whether the maxNumTrials field is set.
-
getMaxNumTrials
public com.google.protobuf.Int32Value getMaxNumTrials()If there are more than this many trials, stop the study.
.google.protobuf.Int32Value max_num_trials = 5;- Specified by:
getMaxNumTrialsin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- The maxNumTrials.
-
setMaxNumTrials
If there are more than this many trials, stop the study.
.google.protobuf.Int32Value max_num_trials = 5; -
setMaxNumTrials
public StudySpec.StudyStoppingConfig.Builder setMaxNumTrials(com.google.protobuf.Int32Value.Builder builderForValue) If there are more than this many trials, stop the study.
.google.protobuf.Int32Value max_num_trials = 5; -
mergeMaxNumTrials
public StudySpec.StudyStoppingConfig.Builder mergeMaxNumTrials(com.google.protobuf.Int32Value value) If there are more than this many trials, stop the study.
.google.protobuf.Int32Value max_num_trials = 5; -
clearMaxNumTrials
If there are more than this many trials, stop the study.
.google.protobuf.Int32Value max_num_trials = 5; -
getMaxNumTrialsBuilder
public com.google.protobuf.Int32Value.Builder getMaxNumTrialsBuilder()If there are more than this many trials, stop the study.
.google.protobuf.Int32Value max_num_trials = 5; -
getMaxNumTrialsOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getMaxNumTrialsOrBuilder()If there are more than this many trials, stop the study.
.google.protobuf.Int32Value max_num_trials = 5;- Specified by:
getMaxNumTrialsOrBuilderin interfaceStudySpec.StudyStoppingConfigOrBuilder
-
hasMaxNumTrialsNoProgress
public boolean hasMaxNumTrialsNoProgress()If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Int32Value max_num_trials_no_progress = 6;- Specified by:
hasMaxNumTrialsNoProgressin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- Whether the maxNumTrialsNoProgress field is set.
-
getMaxNumTrialsNoProgress
public com.google.protobuf.Int32Value getMaxNumTrialsNoProgress()If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Int32Value max_num_trials_no_progress = 6;- Specified by:
getMaxNumTrialsNoProgressin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- The maxNumTrialsNoProgress.
-
setMaxNumTrialsNoProgress
public StudySpec.StudyStoppingConfig.Builder setMaxNumTrialsNoProgress(com.google.protobuf.Int32Value value) If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Int32Value max_num_trials_no_progress = 6; -
setMaxNumTrialsNoProgress
public StudySpec.StudyStoppingConfig.Builder setMaxNumTrialsNoProgress(com.google.protobuf.Int32Value.Builder builderForValue) If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Int32Value max_num_trials_no_progress = 6; -
mergeMaxNumTrialsNoProgress
public StudySpec.StudyStoppingConfig.Builder mergeMaxNumTrialsNoProgress(com.google.protobuf.Int32Value value) If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Int32Value max_num_trials_no_progress = 6; -
clearMaxNumTrialsNoProgress
If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Int32Value max_num_trials_no_progress = 6; -
getMaxNumTrialsNoProgressBuilder
public com.google.protobuf.Int32Value.Builder getMaxNumTrialsNoProgressBuilder()If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Int32Value max_num_trials_no_progress = 6; -
getMaxNumTrialsNoProgressOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getMaxNumTrialsNoProgressOrBuilder()If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Int32Value max_num_trials_no_progress = 6;- Specified by:
getMaxNumTrialsNoProgressOrBuilderin interfaceStudySpec.StudyStoppingConfigOrBuilder
-
hasMaxDurationNoProgress
public boolean hasMaxDurationNoProgress()If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Duration max_duration_no_progress = 7;- Specified by:
hasMaxDurationNoProgressin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- Whether the maxDurationNoProgress field is set.
-
getMaxDurationNoProgress
public com.google.protobuf.Duration getMaxDurationNoProgress()If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Duration max_duration_no_progress = 7;- Specified by:
getMaxDurationNoProgressin interfaceStudySpec.StudyStoppingConfigOrBuilder- Returns:
- The maxDurationNoProgress.
-
setMaxDurationNoProgress
public StudySpec.StudyStoppingConfig.Builder setMaxDurationNoProgress(com.google.protobuf.Duration value) If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Duration max_duration_no_progress = 7; -
setMaxDurationNoProgress
public StudySpec.StudyStoppingConfig.Builder setMaxDurationNoProgress(com.google.protobuf.Duration.Builder builderForValue) If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Duration max_duration_no_progress = 7; -
mergeMaxDurationNoProgress
public StudySpec.StudyStoppingConfig.Builder mergeMaxDurationNoProgress(com.google.protobuf.Duration value) If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Duration max_duration_no_progress = 7; -
clearMaxDurationNoProgress
If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Duration max_duration_no_progress = 7; -
getMaxDurationNoProgressBuilder
public com.google.protobuf.Duration.Builder getMaxDurationNoProgressBuilder()If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Duration max_duration_no_progress = 7; -
getMaxDurationNoProgressOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxDurationNoProgressOrBuilder()If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.
.google.protobuf.Duration max_duration_no_progress = 7;- Specified by:
getMaxDurationNoProgressOrBuilderin interfaceStudySpec.StudyStoppingConfigOrBuilder
-