Class StudySpec.ParameterSpec.ConditionalParameterSpec (3.0.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
TypeDescription
int

PARENT_CATEGORICAL_VALUES_FIELD_NUMBER

public static final int PARENT_CATEGORICAL_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_DISCRETE_VALUES_FIELD_NUMBER

public static final int PARENT_DISCRETE_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_INT_VALUES_FIELD_NUMBER

public static final int PARENT_INT_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StudySpec.ParameterSpec.ConditionalParameterSpec getDefaultInstance()
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StudySpec.ParameterSpec.ConditionalParameterSpec.Builder newBuilder()
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

newBuilder(StudySpec.ParameterSpec.ConditionalParameterSpec prototype)

public static StudySpec.ParameterSpec.ConditionalParameterSpec.Builder newBuilder(StudySpec.ParameterSpec.ConditionalParameterSpec prototype)
Parameter
NameDescription
prototypeStudySpec.ParameterSpec.ConditionalParameterSpec
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder

parseDelimitedFrom(InputStream input)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.ParameterSpec.ConditionalParameterSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StudySpec.ParameterSpec.ConditionalParameterSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException