Class StudySpec.ParameterSpec.ConditionalParameterSpec.Builder (3.44.0)

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

Represents a parameter spec with condition from its parent parameter.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameterSpec()

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder clearParameterSpec()

Required. The spec for a conditional parameter.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

clearParentCategoricalValues()

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder clearParentCategoricalValues()

The spec for matching values from a parent parameter of CATEGORICAL type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

clearParentDiscreteValues()

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder clearParentDiscreteValues()

The spec for matching values from a parent parameter of DISCRETE type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

clearParentIntValues()

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder clearParentIntValues()

The spec for matching values from a parent parameter of INTEGER type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

clearParentValueCondition()

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder clearParentValueCondition()
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getParameterSpec()

public StudySpec.ParameterSpec getParameterSpec()

Required. The spec for a conditional parameter.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StudySpec.ParameterSpec

The parameterSpec.

getParameterSpecBuilder()

public StudySpec.ParameterSpec.Builder getParameterSpecBuilder()

Required. The spec for a conditional parameter.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StudySpec.ParameterSpec.Builder

getParameterSpecOrBuilder()

public StudySpec.ParameterSpecOrBuilder getParameterSpecOrBuilder()

Required. The spec for a conditional parameter.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StudySpec.ParameterSpecOrBuilder

getParentCategoricalValues()

public StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition getParentCategoricalValues()

The spec for matching values from a parent parameter of CATEGORICAL type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition

The parentCategoricalValues.

getParentCategoricalValuesBuilder()

public StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder getParentCategoricalValuesBuilder()

The spec for matching values from a parent parameter of CATEGORICAL type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;

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

getParentCategoricalValuesOrBuilder()

public StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueConditionOrBuilder getParentCategoricalValuesOrBuilder()

The spec for matching values from a parent parameter of CATEGORICAL type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueConditionOrBuilder

getParentDiscreteValues()

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition getParentDiscreteValues()

The spec for matching values from a parent parameter of DISCRETE type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition

The parentDiscreteValues.

getParentDiscreteValuesBuilder()

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

The spec for matching values from a parent parameter of DISCRETE type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;

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

getParentDiscreteValuesOrBuilder()

public StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionOrBuilder getParentDiscreteValuesOrBuilder()

The spec for matching values from a parent parameter of DISCRETE type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionOrBuilder

getParentIntValues()

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition getParentIntValues()

The spec for matching values from a parent parameter of INTEGER type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition

The parentIntValues.

getParentIntValuesBuilder()

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

The spec for matching values from a parent parameter of INTEGER type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;

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

getParentIntValuesOrBuilder()

public StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueConditionOrBuilder getParentIntValuesOrBuilder()

The spec for matching values from a parent parameter of INTEGER type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;

Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueConditionOrBuilder

getParentValueConditionCase()

public StudySpec.ParameterSpec.ConditionalParameterSpec.ParentValueConditionCase getParentValueConditionCase()
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.ParentValueConditionCase

hasParameterSpec()

public boolean hasParameterSpec()

Required. The spec for a conditional parameter.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the parameterSpec field is set.

hasParentCategoricalValues()

public boolean hasParentCategoricalValues()

The spec for matching values from a parent parameter of CATEGORICAL type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;

Returns
Type Description
boolean

Whether the parentCategoricalValues field is set.

hasParentDiscreteValues()

public boolean hasParentDiscreteValues()

The spec for matching values from a parent parameter of DISCRETE type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;

Returns
Type Description
boolean

Whether the parentDiscreteValues field is set.

hasParentIntValues()

public boolean hasParentIntValues()

The spec for matching values from a parent parameter of INTEGER type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;

Returns
Type Description
boolean

Whether the parentIntValues field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StudySpec.ParameterSpec.ConditionalParameterSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeParameterSpec(StudySpec.ParameterSpec value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder mergeParameterSpec(StudySpec.ParameterSpec value)

Required. The spec for a conditional parameter.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value StudySpec.ParameterSpec
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

mergeParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder mergeParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition value)

The spec for matching values from a parent parameter of CATEGORICAL type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;

Parameter
Name Description
value StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

mergeParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder mergeParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition value)

The spec for matching values from a parent parameter of DISCRETE type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;

Parameter
Name Description
value StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

mergeParentIntValues(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder mergeParentIntValues(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition value)

The spec for matching values from a parent parameter of INTEGER type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;

Parameter
Name Description
value StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParameterSpec(StudySpec.ParameterSpec value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParameterSpec(StudySpec.ParameterSpec value)

Required. The spec for a conditional parameter.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value StudySpec.ParameterSpec
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

setParameterSpec(StudySpec.ParameterSpec.Builder builderForValue)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParameterSpec(StudySpec.ParameterSpec.Builder builderForValue)

Required. The spec for a conditional parameter.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameter_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue StudySpec.ParameterSpec.Builder
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

setParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition value)

The spec for matching values from a parent parameter of CATEGORICAL type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;

Parameter
Name Description
value StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

setParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder builderForValue)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentCategoricalValues(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder builderForValue)

The spec for matching values from a parent parameter of CATEGORICAL type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parent_categorical_values = 4;

Parameter
Name Description
builderForValue StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

setParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition value)

The spec for matching values from a parent parameter of DISCRETE type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;

Parameter
Name Description
value StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

setParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder builderForValue)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentDiscreteValues(StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder builderForValue)

The spec for matching values from a parent parameter of DISCRETE type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition parent_discrete_values = 2;

Parameter
Name Description
builderForValue StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

setParentIntValues(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentIntValues(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition value)

The spec for matching values from a parent parameter of INTEGER type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;

Parameter
Name Description
value StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

setParentIntValues(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder builderForValue)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setParentIntValues(StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder builderForValue)

The spec for matching values from a parent parameter of INTEGER type.

.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition parent_int_values = 3;

Parameter
Name Description
builderForValue StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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