Class StudySpec.ParameterSpec.DoubleValueSpec.Builder (3.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

build()

public StudySpec.ParameterSpec.DoubleValueSpec build()
Returns
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec

buildPartial()

public StudySpec.ParameterSpec.DoubleValueSpec buildPartial()
Returns
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec

clear()

public StudySpec.ParameterSpec.DoubleValueSpec.Builder clear()
Returns
TypeDescription
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
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

clone()

public StudySpec.ParameterSpec.DoubleValueSpec.Builder clone()
Returns
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

getDefaultInstanceForType()

public StudySpec.ParameterSpec.DoubleValueSpec getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
double

The defaultValue.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMaxValue()

public double getMaxValue()

Required. Inclusive maximum value of the parameter.

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

Returns
TypeDescription
double

The maxValue.

getMinValue()

public double getMinValue()

Required. Inclusive minimum value of the parameter.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the defaultValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StudySpec.ParameterSpec.DoubleValueSpec other)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeFrom(StudySpec.ParameterSpec.DoubleValueSpec other)
Parameter
NameDescription
otherStudySpec.ParameterSpec.DoubleValueSpec
Returns
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StudySpec.ParameterSpec.DoubleValueSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuedouble

The defaultValue to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The maxValue to set.

Returns
TypeDescription
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
NameDescription
valuedouble

The minValue to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StudySpec.ParameterSpec.DoubleValueSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StudySpec.ParameterSpec.DoubleValueSpec.Builder
Overrides