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
Fields
public static final int VALUES_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition getDefaultInstance()
Returns
public StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Parser<StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The values at the given 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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the values at the given index.
|
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
Type | Description |
int | The count of values.
|
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
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder newBuilder()
Returns
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder newBuilder(StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition prototype)
Parameter
Returns
public StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder newBuilderForType()
Returns
protected StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition> parser()
Returns
public StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions