Class StudySpec.ParameterSpec.ConditionalParameterSpec.Builder (3.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

clearParentValueCondition()

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder clearParentValueCondition()
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueConditionOrBuilder

getParentValueConditionCase()

public StudySpec.ParameterSpec.ConditionalParameterSpec.ParentValueConditionCase getParentValueConditionCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the parentIntValues field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StudySpec.ParameterSpec.ConditionalParameterSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueStudySpec.ParameterSpec
Returns
TypeDescription
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
NameDescription
valueStudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition
Returns
TypeDescription
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
NameDescription
valueStudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition
Returns
TypeDescription
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
NameDescription
valueStudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueStudySpec.ParameterSpec
Returns
TypeDescription
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
NameDescription
builderForValueStudySpec.ParameterSpec.Builder
Returns
TypeDescription
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
NameDescription
valueStudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition
Returns
TypeDescription
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
NameDescription
builderForValueStudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder
Returns
TypeDescription
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
NameDescription
valueStudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition
Returns
TypeDescription
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
NameDescription
builderForValueStudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition.Builder
Returns
TypeDescription
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
NameDescription
valueStudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition
Returns
TypeDescription
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
NameDescription
builderForValueStudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition.Builder
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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