Class StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition (2.5.3)

public static final class StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition extends GeneratedMessageV3 implements StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueConditionOrBuilder

Represents the spec to match categorical values from parent parameter.

Protobuf type google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition

Inheritance

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

Fields

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

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

getDefaultInstanceForType()

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

getDescriptor()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValues(int index)

public String getValues(int index)

Required. Matches values of the parent parameter of 'CATEGORICAL' type. All values must exist in categorical_value_spec of parent parameter.

repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The values at the given index.

getValuesBytes(int index)

public ByteString getValuesBytes(int index)

Required. Matches values of the parent parameter of 'CATEGORICAL' type. All values must exist in categorical_value_spec of parent parameter.

repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the values at the given index.

getValuesCount()

public int getValuesCount()

Required. Matches values of the parent parameter of 'CATEGORICAL' type. All values must exist in categorical_value_spec of parent parameter.

repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of values.

getValuesList()

public ProtocolStringList getValuesList()

Required. Matches values of the parent parameter of 'CATEGORICAL' type. All values must exist in categorical_value_spec of parent parameter.

repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the values.

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

newBuilder()

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

newBuilder(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition prototype)

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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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