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.v1beta1.StudySpec.MedianAutomatedStoppingSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
public StudySpec.MedianAutomatedStoppingSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public StudySpec.MedianAutomatedStoppingSpec build()
Returns
public StudySpec.MedianAutomatedStoppingSpec buildPartial()
Returns
public StudySpec.MedianAutomatedStoppingSpec.Builder clear()
Returns
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
public StudySpec.MedianAutomatedStoppingSpec.Builder clone()
Returns
Overrides
public StudySpec.MedianAutomatedStoppingSpec getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder mergeFrom(StudySpec.MedianAutomatedStoppingSpec other)
Parameter
Returns
public StudySpec.MedianAutomatedStoppingSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public StudySpec.MedianAutomatedStoppingSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final StudySpec.MedianAutomatedStoppingSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final StudySpec.MedianAutomatedStoppingSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns