public static final class StudySpec.ParameterSpec.ConditionalParameterSpec extends GeneratedMessageV3 implements StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder
Represents a parameter spec with condition from its parent parameter.
Protobuf type
google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec
Fields
public static final int PARAMETER_SPEC_FIELD_NUMBER
Field Value
public static final int PARENT_CATEGORICAL_VALUES_FIELD_NUMBER
Field Value
public static final int PARENT_DISCRETE_VALUES_FIELD_NUMBER
Field Value
public static final int PARENT_INT_VALUES_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static StudySpec.ParameterSpec.ConditionalParameterSpec getDefaultInstance()
Returns
public StudySpec.ParameterSpec.ConditionalParameterSpec getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
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.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.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.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.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 Parser<StudySpec.ParameterSpec.ConditionalParameterSpec> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static StudySpec.ParameterSpec.ConditionalParameterSpec.Builder newBuilder()
Returns
public static StudySpec.ParameterSpec.ConditionalParameterSpec.Builder newBuilder(StudySpec.ParameterSpec.ConditionalParameterSpec prototype)
Parameter
Returns
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder newBuilderForType()
Returns
protected StudySpec.ParameterSpec.ConditionalParameterSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<StudySpec.ParameterSpec.ConditionalParameterSpec> parser()
Returns
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions