Class StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder (3.5.0)

public static final class StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder extends GeneratedMessageV3.Builder<StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder> implements StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionOrBuilder

Represents the spec to match discrete values from parent parameter.

Protobuf type google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends Double> values)

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder addAllValues(Iterable<? extends Double> values)

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10.

repeated double values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends java.lang.Double>

The values to add.

Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(double value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder addValues(double value)

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10.

repeated double values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuedouble

The values to add.

Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder

This builder for chaining.

build()

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition build()
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition

buildPartial()

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition buildPartial()
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition

clear()

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder clear()
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValues()

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder clearValues()

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10.

repeated double values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder

This builder for chaining.

clone()

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder clone()
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder
Overrides

getDefaultInstanceForType()

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition getDefaultInstanceForType()
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValues(int index)

public double getValues(int index)

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10.

repeated double values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
double

The values at the given index.

getValuesCount()

public int getValuesCount()

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10.

repeated double values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of values.

getValuesList()

public List<Double> getValuesList()

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10.

repeated double values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Double>

A list containing the values.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValues(int index, double value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder setValues(int index, double value)

Required. Matches values of the parent parameter of 'DISCRETE' type. All values must exist in discrete_value_spec of parent parameter. The Epsilon of the value matching is 1e-10.

repeated double values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint

The index to set the value at.

valuedouble

The values to set.

Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder

This builder for chaining.