Send feedback
Class StudySpec.ParameterSpec.DoubleValueSpec.Builder (2.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.0 keyboard_arrow_down
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
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 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 Vizier service. Not supported by
HyperparamterTuningJob or TrainingPipeline.
optional double default_value = 4;
Returns
Type Description double The defaultValue.
public static final Descriptors . Descriptor getDescriptor ()
Returns
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 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 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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]