Class StudySpec.ParameterSpec.IntegerValueSpec.Builder (3.14.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public StudySpec.ParameterSpec.IntegerValueSpec.Builder clear()
Returns
TypeDescription
StudySpec.ParameterSpec.IntegerValueSpec.Builder
Overrides

clearDefaultValue()

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;

Returns
TypeDescription
StudySpec.ParameterSpec.IntegerValueSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StudySpec.ParameterSpec.IntegerValueSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StudySpec.ParameterSpec.IntegerValueSpec.Builder
Overrides

clearMaxValue()

public StudySpec.ParameterSpec.IntegerValueSpec.Builder clearMaxValue()

Required. Inclusive maximum value of the parameter.

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

Returns
TypeDescription
StudySpec.ParameterSpec.IntegerValueSpec.Builder

This builder for chaining.

clearMinValue()

public StudySpec.ParameterSpec.IntegerValueSpec.Builder clearMinValue()

Required. Inclusive minimum value of the parameter.

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

Returns
TypeDescription
StudySpec.ParameterSpec.IntegerValueSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StudySpec.ParameterSpec.IntegerValueSpec getDefaultInstanceForType()
Returns
TypeDescription
StudySpec.ParameterSpec.IntegerValueSpec

getDefaultValue()

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
TypeDescription
long

The defaultValue.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMaxValue()

public long getMaxValue()

Required. Inclusive maximum value of the parameter.

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

Returns
TypeDescription
long

The maxValue.

getMinValue()

public long getMinValue()

Required. Inclusive minimum value of the parameter.

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

Returns
TypeDescription
long

The minValue.

hasDefaultValue()

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
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.IntegerValueSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDefaultValue(long value)

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
NameDescription
valuelong

The defaultValue to set.

Returns
TypeDescription
StudySpec.ParameterSpec.IntegerValueSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxValue(long value)

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
NameDescription
valuelong

The maxValue to set.

Returns
TypeDescription
StudySpec.ParameterSpec.IntegerValueSpec.Builder

This builder for chaining.

setMinValue(long value)

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
NameDescription
valuelong

The minValue to set.

Returns
TypeDescription
StudySpec.ParameterSpec.IntegerValueSpec.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StudySpec.ParameterSpec.IntegerValueSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StudySpec.ParameterSpec.IntegerValueSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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