Class StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder (3.53.0)

public static final class StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder extends GeneratedMessageV3.Builder<StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder> implements StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueConditionOrBuilder

Represents the spec to match integer values from parent parameter.

Protobuf type google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition

Inheritance

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllValues(Iterable<? extends Long> values)

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder addAllValues(Iterable<? extends Long> values)

Required. Matches values of the parent parameter of 'INTEGER' type. All values must lie in integer_value_spec of parent parameter.

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

Parameter
Name Description
values Iterable<? extends java.lang.Long>

The values to add.

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides

addValues(long value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder addValues(long value)

Required. Matches values of the parent parameter of 'INTEGER' type. All values must lie in integer_value_spec of parent parameter.

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

Parameter
Name Description
value long

The values to add.

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder

This builder for chaining.

build()

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition build()
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition

buildPartial()

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition buildPartial()
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition

clear()

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder clear()
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides

clearValues()

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

Required. Matches values of the parent parameter of 'INTEGER' type. All values must lie in integer_value_spec of parent parameter.

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

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder

This builder for chaining.

clone()

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder clone()
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides

getDefaultInstanceForType()

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition getDefaultInstanceForType()
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getValues(int index)

public long getValues(int index)

Required. Matches values of the parent parameter of 'INTEGER' type. All values must lie in integer_value_spec of parent parameter.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The values at the given index.

getValuesCount()

public int getValuesCount()

Required. Matches values of the parent parameter of 'INTEGER' type. All values must lie in integer_value_spec of parent parameter.

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

Returns
Type Description
int

The count of values.

getValuesList()

public List<Long> getValuesList()

Required. Matches values of the parent parameter of 'INTEGER' type. All values must lie in integer_value_spec of parent parameter.

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

Returns
Type Description
List<Long>

A list containing the values.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition other)

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder mergeFrom(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition other)
Parameter
Name Description
other StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides

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

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Overrides

setValues(int index, long value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder setValues(int index, long value)

Required. Matches values of the parent parameter of 'INTEGER' type. All values must lie in integer_value_spec of parent parameter.

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

Parameters
Name Description
index int

The index to set the value at.

value long

The values to set.

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder

This builder for chaining.