public static final class StudySpec.MedianAutomatedStoppingSpec.Builder extends GeneratedMessageV3.Builder<StudySpec.MedianAutomatedStoppingSpec.Builder> implements StudySpec.MedianAutomatedStoppingSpecOrBuilder
The median automated stopping rule stops a pending Trial if the Trial's
best objective_value is strictly below the median 'performance' of all
completed Trials reported up to the Trial's last measurement.
Currently, 'performance' refers to the running average of the objective
values reported by the Trial in each measurement.
Protobuf type google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public StudySpec.MedianAutomatedStoppingSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StudySpec.MedianAutomatedStoppingSpec build()
public StudySpec.MedianAutomatedStoppingSpec buildPartial()
public StudySpec.MedianAutomatedStoppingSpec.Builder clear()
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder clearUseElapsedDuration()
True if median automated stopping rule applies on
Measurement.elapsed_duration.
It means that elapsed_duration field of latest measurement of current
Trial is used to compute median objective value for each completed
Trials.
bool use_elapsed_duration = 1;
public StudySpec.MedianAutomatedStoppingSpec.Builder clone()
Overrides
public StudySpec.MedianAutomatedStoppingSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public boolean getUseElapsedDuration()
True if median automated stopping rule applies on
Measurement.elapsed_duration.
It means that elapsed_duration field of latest measurement of current
Trial is used to compute median objective value for each completed
Trials.
bool use_elapsed_duration = 1;
Returns |
---|
Type | Description |
boolean | The useElapsedDuration.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder mergeFrom(StudySpec.MedianAutomatedStoppingSpec other)
public StudySpec.MedianAutomatedStoppingSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final StudySpec.MedianAutomatedStoppingSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final StudySpec.MedianAutomatedStoppingSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder setUseElapsedDuration(boolean value)
True if median automated stopping rule applies on
Measurement.elapsed_duration.
It means that elapsed_duration field of latest measurement of current
Trial is used to compute median objective value for each completed
Trials.
bool use_elapsed_duration = 1;
Parameter |
---|
Name | Description |
value | boolean
The useElapsedDuration to set.
|