Send feedback
Class StudySpec.ParameterSpec.IntegerValueSpec.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 . IntegerValueSpec . Builder extends GeneratedMessageV3 . Builder<StudySpec . ParameterSpec . IntegerValueSpec . Builder > implements StudySpec . ParameterSpec . IntegerValueSpecOrBuilder
Value specification for a parameter in INTEGER
type.
Protobuf type google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec
Methods
public StudySpec . ParameterSpec . IntegerValueSpec . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public StudySpec . ParameterSpec . IntegerValueSpec build ()
Returns
public StudySpec . ParameterSpec . IntegerValueSpec buildPartial ()
Returns
public StudySpec . ParameterSpec . IntegerValueSpec . Builder clear ()
Returns
Overrides
public StudySpec . ParameterSpec . IntegerValueSpec . Builder clearDefaultValue ()
A default value for an INTEGER
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 int64 default_value = 4;
Returns
public StudySpec . ParameterSpec . IntegerValueSpec . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public StudySpec . ParameterSpec . IntegerValueSpec . Builder clearMaxValue ()
Required. Inclusive maximum value of the parameter.
int64 max_value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public StudySpec . ParameterSpec . IntegerValueSpec . Builder clearMinValue ()
Required. Inclusive minimum value of the parameter.
int64 min_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public StudySpec . ParameterSpec . IntegerValueSpec . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public StudySpec . ParameterSpec . IntegerValueSpec . Builder clone ()
Returns
Overrides
public StudySpec . ParameterSpec . IntegerValueSpec getDefaultInstanceForType ()
Returns
public long getDefaultValue ()
A default value for an INTEGER
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 int64 default_value = 4;
Returns
Type Description long The defaultValue.
public static final Descriptors . Descriptor getDescriptor ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public long getMaxValue ()
Required. Inclusive maximum value of the parameter.
int64 max_value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description long The maxValue.
public long getMinValue ()
Required. Inclusive minimum value of the parameter.
int64 min_value = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description long The minValue.
public boolean hasDefaultValue ()
A default value for an INTEGER
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 int64 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 . IntegerValueSpec . Builder mergeFrom ( StudySpec . ParameterSpec . IntegerValueSpec other )
Parameter
Returns
public StudySpec . ParameterSpec . IntegerValueSpec . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public StudySpec . ParameterSpec . IntegerValueSpec . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final StudySpec . ParameterSpec . IntegerValueSpec . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public StudySpec . ParameterSpec . IntegerValueSpec . Builder setDefaultValue ( long value )
A default value for an INTEGER
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 int64 default_value = 4;
Parameter
Name Description value long
The defaultValue to set.
Returns
public StudySpec . ParameterSpec . IntegerValueSpec . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public StudySpec . ParameterSpec . IntegerValueSpec . Builder setMaxValue ( long value )
Required. Inclusive maximum value of the parameter.
int64 max_value = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name Description value long
The maxValue to set.
Returns
public StudySpec . ParameterSpec . IntegerValueSpec . Builder setMinValue ( long value )
Required. Inclusive minimum value of the parameter.
int64 min_value = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name Description value long
The minValue to set.
Returns
public StudySpec . ParameterSpec . IntegerValueSpec . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final StudySpec . ParameterSpec . IntegerValueSpec . 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."],[],[]]