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