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
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.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.
|
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition build()
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition buildPartial()
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder clear()
Overrides
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder clone()
Overrides
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder mergeFrom(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition other)
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|