public static final class StudySpec.ParameterSpec.DoubleValueSpec.Builder extends GeneratedMessageV3.Builder<StudySpec.ParameterSpec.DoubleValueSpec.Builder> implements StudySpec.ParameterSpec.DoubleValueSpecOrBuilder
Value specification for a parameter in DOUBLE
type.
Protobuf type
google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.DoubleValueSpec
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public StudySpec.ParameterSpec.DoubleValueSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public StudySpec.ParameterSpec.DoubleValueSpec build()
Returns
public StudySpec.ParameterSpec.DoubleValueSpec buildPartial()
Returns
public StudySpec.ParameterSpec.DoubleValueSpec.Builder clear()
Returns
Overrides
public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearDefaultValue()
A default value for a DOUBLE
parameter that is assumed to be a
relatively good starting point. Unset value signals that there is no
offered starting point.
Currently only supported by the Vertex AI Vizier service. Not supported
by HyperparamterTuningJob or TrainingPipeline.
optional double default_value = 4;
Returns
public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearMaxValue()
Required. Inclusive maximum value of the parameter.
double max_value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearMinValue()
Required. Inclusive minimum value of the parameter.
double min_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public StudySpec.ParameterSpec.DoubleValueSpec.Builder clone()
Returns
Overrides
public StudySpec.ParameterSpec.DoubleValueSpec getDefaultInstanceForType()
Returns
public double getDefaultValue()
A default value for a DOUBLE
parameter that is assumed to be a
relatively good starting point. Unset value signals that there is no
offered starting point.
Currently only supported by the Vertex AI Vizier service. Not supported
by HyperparamterTuningJob or TrainingPipeline.
optional double default_value = 4;
Returns
Type | Description |
double | The defaultValue.
|
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public double getMaxValue()
Required. Inclusive maximum value of the parameter.
double max_value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
double | The maxValue.
|
public double getMinValue()
Required. Inclusive minimum value of the parameter.
double min_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
double | The minValue.
|
public boolean hasDefaultValue()
A default value for a DOUBLE
parameter that is assumed to be a
relatively good starting point. Unset value signals that there is no
offered starting point.
Currently only supported by the Vertex AI Vizier service. Not supported
by HyperparamterTuningJob or TrainingPipeline.
optional double default_value = 4;
Returns
Type | Description |
boolean | Whether the defaultValue field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeFrom(StudySpec.ParameterSpec.DoubleValueSpec other)
Parameter
Returns
public StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public StudySpec.ParameterSpec.DoubleValueSpec.Builder setDefaultValue(double value)
A default value for a DOUBLE
parameter that is assumed to be a
relatively good starting point. Unset value signals that there is no
offered starting point.
Currently only supported by the Vertex AI Vizier service. Not supported
by HyperparamterTuningJob or TrainingPipeline.
optional double default_value = 4;
Parameter
Name | Description |
value | double
The defaultValue to set.
|
Returns
public StudySpec.ParameterSpec.DoubleValueSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public StudySpec.ParameterSpec.DoubleValueSpec.Builder setMaxValue(double value)
Required. Inclusive maximum value of the parameter.
double max_value = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | double
The maxValue to set.
|
Returns
public StudySpec.ParameterSpec.DoubleValueSpec.Builder setMinValue(double value)
Required. Inclusive minimum value of the parameter.
double min_value = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | double
The minValue to set.
|
Returns
public StudySpec.ParameterSpec.DoubleValueSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final StudySpec.ParameterSpec.DoubleValueSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides