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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public StudySpec.ParameterSpec.IntegerValueSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StudySpec.ParameterSpec.IntegerValueSpec build()
public StudySpec.ParameterSpec.IntegerValueSpec buildPartial()
public StudySpec.ParameterSpec.IntegerValueSpec.Builder clear()
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 Vertex AI Vizier service. Not supported
by HyperparameterTuningJob or TrainingPipeline.
optional int64 default_value = 4;
public StudySpec.ParameterSpec.IntegerValueSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public StudySpec.ParameterSpec.IntegerValueSpec.Builder clearMaxValue()
Required. Inclusive maximum value of the parameter.
int64 max_value = 2 [(.google.api.field_behavior) = REQUIRED];
public StudySpec.ParameterSpec.IntegerValueSpec.Builder clearMinValue()
Required. Inclusive minimum value of the parameter.
int64 min_value = 1 [(.google.api.field_behavior) = REQUIRED];
public StudySpec.ParameterSpec.IntegerValueSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public StudySpec.ParameterSpec.IntegerValueSpec.Builder clone()
Overrides
public StudySpec.ParameterSpec.IntegerValueSpec getDefaultInstanceForType()
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 Vertex AI Vizier service. Not supported
by HyperparameterTuningJob or TrainingPipeline.
optional int64 default_value = 4;
Returns |
---|
Type | Description |
long | The defaultValue.
|
public Descriptors.Descriptor getDescriptorForType()
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 Vertex AI Vizier service. Not supported
by HyperparameterTuningJob or TrainingPipeline.
optional int64 default_value = 4;
Returns |
---|
Type | Description |
boolean | Whether the defaultValue field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public StudySpec.ParameterSpec.IntegerValueSpec.Builder mergeFrom(StudySpec.ParameterSpec.IntegerValueSpec other)
public StudySpec.ParameterSpec.IntegerValueSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public StudySpec.ParameterSpec.IntegerValueSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final StudySpec.ParameterSpec.IntegerValueSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 Vertex AI Vizier service. Not supported
by HyperparameterTuningJob or TrainingPipeline.
optional int64 default_value = 4;
Parameter |
---|
Name | Description |
value | long
The defaultValue to set.
|
public StudySpec.ParameterSpec.IntegerValueSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public StudySpec.ParameterSpec.IntegerValueSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final StudySpec.ParameterSpec.IntegerValueSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides