Class StudySpec.ParameterSpec.DoubleValueSpec.Builder (3.45.0)

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.v1.StudySpec.ParameterSpec.DoubleValueSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

build()

public StudySpec.ParameterSpec.DoubleValueSpec build()
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec

buildPartial()

public StudySpec.ParameterSpec.DoubleValueSpec buildPartial()
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec

clear()

public StudySpec.ParameterSpec.DoubleValueSpec.Builder clear()
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

clearDefaultValue()

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 HyperparameterTuningJob or TrainingPipeline.

optional double default_value = 4;

Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

clearMaxValue()

public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearMaxValue()

Required. Inclusive maximum value of the parameter.

double max_value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder

This builder for chaining.

clearMinValue()

public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearMinValue()

Required. Inclusive minimum value of the parameter.

double min_value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

clone()

public StudySpec.ParameterSpec.DoubleValueSpec.Builder clone()
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

getDefaultInstanceForType()

public StudySpec.ParameterSpec.DoubleValueSpec getDefaultInstanceForType()
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec

getDefaultValue()

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 HyperparameterTuningJob or TrainingPipeline.

optional double default_value = 4;

Returns
Type Description
double

The defaultValue.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMaxValue()

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.

getMinValue()

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.

hasDefaultValue()

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 HyperparameterTuningJob or TrainingPipeline.

optional double default_value = 4;

Returns
Type Description
boolean

Whether the defaultValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StudySpec.ParameterSpec.DoubleValueSpec other)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeFrom(StudySpec.ParameterSpec.DoubleValueSpec other)
Parameter
Name Description
other StudySpec.ParameterSpec.DoubleValueSpec
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

setDefaultValue(double value)

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 HyperparameterTuningJob or TrainingPipeline.

optional double default_value = 4;

Parameter
Name Description
value double

The defaultValue to set.

Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

setMaxValue(double value)

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
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder

This builder for chaining.

setMinValue(double value)

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
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StudySpec.ParameterSpec.DoubleValueSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides