Package com.google.cloud.aiplatform.v1
Interface StudySpec.ParameterSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StudySpec.ParameterSpec,StudySpec.ParameterSpec.Builder
- Enclosing class:
- StudySpec
public static interface StudySpec.ParameterSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe value spec for a 'CATEGORICAL' parameter.The value spec for a 'CATEGORICAL' parameter.getConditionalParameterSpecs(int index) A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.intA conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.getConditionalParameterSpecsOrBuilder(int index) A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.The value spec for a 'DISCRETE' parameter.The value spec for a 'DISCRETE' parameter.The value spec for a 'DOUBLE' parameter.The value spec for a 'DOUBLE' parameter.The value spec for an 'INTEGER' parameter.The value spec for an 'INTEGER' parameter.Required.com.google.protobuf.ByteStringRequired.How the parameter should be scaled.intHow the parameter should be scaled.booleanThe value spec for a 'CATEGORICAL' parameter.booleanThe value spec for a 'DISCRETE' parameter.booleanThe value spec for a 'DOUBLE' parameter.booleanThe value spec for an 'INTEGER' parameter.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDoubleValueSpec
boolean hasDoubleValueSpec()The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;- Returns:
- Whether the doubleValueSpec field is set.
-
getDoubleValueSpec
StudySpec.ParameterSpec.DoubleValueSpec getDoubleValueSpec()The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;- Returns:
- The doubleValueSpec.
-
getDoubleValueSpecOrBuilder
StudySpec.ParameterSpec.DoubleValueSpecOrBuilder getDoubleValueSpecOrBuilder()The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2; -
hasIntegerValueSpec
boolean hasIntegerValueSpec()The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;- Returns:
- Whether the integerValueSpec field is set.
-
getIntegerValueSpec
StudySpec.ParameterSpec.IntegerValueSpec getIntegerValueSpec()The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;- Returns:
- The integerValueSpec.
-
getIntegerValueSpecOrBuilder
StudySpec.ParameterSpec.IntegerValueSpecOrBuilder getIntegerValueSpecOrBuilder()The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3; -
hasCategoricalValueSpec
boolean hasCategoricalValueSpec()The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;- Returns:
- Whether the categoricalValueSpec field is set.
-
getCategoricalValueSpec
StudySpec.ParameterSpec.CategoricalValueSpec getCategoricalValueSpec()The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;- Returns:
- The categoricalValueSpec.
-
getCategoricalValueSpecOrBuilder
StudySpec.ParameterSpec.CategoricalValueSpecOrBuilder getCategoricalValueSpecOrBuilder()The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4; -
hasDiscreteValueSpec
boolean hasDiscreteValueSpec()The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;- Returns:
- Whether the discreteValueSpec field is set.
-
getDiscreteValueSpec
StudySpec.ParameterSpec.DiscreteValueSpec getDiscreteValueSpec()The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;- Returns:
- The discreteValueSpec.
-
getDiscreteValueSpecOrBuilder
StudySpec.ParameterSpec.DiscreteValueSpecOrBuilder getDiscreteValueSpecOrBuilder()The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5; -
getParameterId
String getParameterId()Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.
string parameter_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The parameterId.
-
getParameterIdBytes
com.google.protobuf.ByteString getParameterIdBytes()Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.
string parameter_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for parameterId.
-
getScaleTypeValue
int getScaleTypeValue()How the parameter should be scaled. Leave unset for `CATEGORICAL` parameters.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType scale_type = 6;- Returns:
- The enum numeric value on the wire for scaleType.
-
getScaleType
StudySpec.ParameterSpec.ScaleType getScaleType()How the parameter should be scaled. Leave unset for `CATEGORICAL` parameters.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType scale_type = 6;- Returns:
- The scaleType.
-
getConditionalParameterSpecsList
List<StudySpec.ParameterSpec.ConditionalParameterSpec> getConditionalParameterSpecsList()A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10; -
getConditionalParameterSpecs
A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10; -
getConditionalParameterSpecsCount
int getConditionalParameterSpecsCount()A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10; -
getConditionalParameterSpecsOrBuilderList
List<? extends StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder> getConditionalParameterSpecsOrBuilderList()A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10; -
getConditionalParameterSpecsOrBuilder
StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder getConditionalParameterSpecsOrBuilder(int index) A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition. If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10; -
getParameterValueSpecCase
StudySpec.ParameterSpec.ParameterValueSpecCase getParameterValueSpecCase()
-