public static final class StudySpec.ParameterSpec.DoubleValueSpec extends GeneratedMessageV3 implements StudySpec.ParameterSpec.DoubleValueSpecOrBuilder
Value specification for a parameter in DOUBLE
type.
Protobuf type google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec
Fields
public static final int DEFAULT_VALUE_FIELD_NUMBER
Field Value
public static final int MAX_VALUE_FIELD_NUMBER
Field Value
public static final int MIN_VALUE_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static StudySpec.ParameterSpec.DoubleValueSpec getDefaultInstance()
Returns
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 static final Descriptors.Descriptor getDescriptor()
Returns
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 Parser<StudySpec.ParameterSpec.DoubleValueSpec> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static StudySpec.ParameterSpec.DoubleValueSpec.Builder newBuilder()
Returns
public static StudySpec.ParameterSpec.DoubleValueSpec.Builder newBuilder(StudySpec.ParameterSpec.DoubleValueSpec prototype)
Parameter
Returns
public StudySpec.ParameterSpec.DoubleValueSpec.Builder newBuilderForType()
Returns
protected StudySpec.ParameterSpec.DoubleValueSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static StudySpec.ParameterSpec.DoubleValueSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.DoubleValueSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<StudySpec.ParameterSpec.DoubleValueSpec> parser()
Returns
public StudySpec.ParameterSpec.DoubleValueSpec.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions