Class StudySpec.ParameterSpec.ConditionalParameterSpec (3.52.0)

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

Inheritance

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

Static Fields

PARAMETER_SPEC_FIELD_NUMBER

public static final int PARAMETER_SPEC_FIELD_NUMBER
Field Value
Type Description
int

PARENT_CATEGORICAL_VALUES_FIELD_NUMBER

public static final int PARENT_CATEGORICAL_VALUES_FIELD_NUMBER
Field Value
Type Description
int

PARENT_DISCRETE_VALUES_FIELD_NUMBER

public static final int PARENT_DISCRETE_VALUES_FIELD_NUMBER
Field Value
Type Description
int

PARENT_INT_VALUES_FIELD_NUMBER

public static final int PARENT_INT_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StudySpec.ParameterSpec.ConditionalParameterSpec getDefaultInstance()
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec

getDescriptor()

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

newBuilder()

public static StudySpec.ParameterSpec.ConditionalParameterSpec.Builder newBuilder()
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

newBuilder(StudySpec.ParameterSpec.ConditionalParameterSpec prototype)

public static StudySpec.ParameterSpec.ConditionalParameterSpec.Builder newBuilder(StudySpec.ParameterSpec.ConditionalParameterSpec prototype)
Parameter
Name Description
prototype StudySpec.ParameterSpec.ConditionalParameterSpec
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

parseDelimitedFrom(InputStream input)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StudySpec.ParameterSpec.ConditionalParameterSpec> parser()
Returns
Type Description
Parser<ConditionalParameterSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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.

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.

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.

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

getParserForType()

public Parser<StudySpec.ParameterSpec.ConditionalParameterSpec> getParserForType()
Returns
Type Description
Parser<ConditionalParameterSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StudySpec.ParameterSpec.ConditionalParameterSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException