public static final class StudySpec.ParameterSpec extends GeneratedMessageV3 implements StudySpec.ParameterSpecOrBuilder
Represents a single parameter to optimize.
Protobuf type google.cloud.aiplatform.v1.StudySpec.ParameterSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int CATEGORICAL_VALUE_SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CONDITIONAL_PARAMETER_SPECS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DISCRETE_VALUE_SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DOUBLE_VALUE_SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INTEGER_VALUE_SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PARAMETER_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SCALE_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static StudySpec.ParameterSpec getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static StudySpec.ParameterSpec.Builder newBuilder()
public static StudySpec.ParameterSpec.Builder newBuilder(StudySpec.ParameterSpec prototype)
public static StudySpec.ParameterSpec parseDelimitedFrom(InputStream input)
public static StudySpec.ParameterSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StudySpec.ParameterSpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static StudySpec.ParameterSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StudySpec.ParameterSpec parseFrom(ByteString data)
public static StudySpec.ParameterSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StudySpec.ParameterSpec parseFrom(CodedInputStream input)
public static StudySpec.ParameterSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StudySpec.ParameterSpec parseFrom(InputStream input)
public static StudySpec.ParameterSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StudySpec.ParameterSpec parseFrom(ByteBuffer data)
public static StudySpec.ParameterSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<StudySpec.ParameterSpec> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public StudySpec.ParameterSpec.CategoricalValueSpec getCategoricalValueSpec()
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
public StudySpec.ParameterSpec.CategoricalValueSpecOrBuilder getCategoricalValueSpecOrBuilder()
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
public StudySpec.ParameterSpec.ConditionalParameterSpec getConditionalParameterSpecs(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;
Parameter |
---|
Name | Description |
index | int
|
public 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;
Returns |
---|
Type | Description |
int | |
public 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;
public 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;
Parameter |
---|
Name | Description |
index | int
|
public 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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder> | |
public StudySpec.ParameterSpec getDefaultInstanceForType()
public StudySpec.ParameterSpec.DiscreteValueSpec getDiscreteValueSpec()
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
public StudySpec.ParameterSpec.DiscreteValueSpecOrBuilder getDiscreteValueSpecOrBuilder()
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
public StudySpec.ParameterSpec.DoubleValueSpec getDoubleValueSpec()
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
public StudySpec.ParameterSpec.DoubleValueSpecOrBuilder getDoubleValueSpecOrBuilder()
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
public StudySpec.ParameterSpec.IntegerValueSpec getIntegerValueSpec()
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
public StudySpec.ParameterSpec.IntegerValueSpecOrBuilder getIntegerValueSpecOrBuilder()
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
public 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 |
---|
Type | Description |
String | The parameterId.
|
public 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 |
---|
Type | Description |
ByteString | The bytes for parameterId.
|
public StudySpec.ParameterSpec.ParameterValueSpecCase getParameterValueSpecCase()
public Parser<StudySpec.ParameterSpec> getParserForType()
Overrides
public 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;
public int getScaleTypeValue()
How the parameter should be scaled.
Leave unset for CATEGORICAL
parameters.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType scale_type = 6;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for scaleType.
|
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public boolean hasCategoricalValueSpec()
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
Returns |
---|
Type | Description |
boolean | Whether the categoricalValueSpec field is set.
|
public boolean hasDiscreteValueSpec()
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
Returns |
---|
Type | Description |
boolean | Whether the discreteValueSpec field is set.
|
public boolean hasDoubleValueSpec()
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
Returns |
---|
Type | Description |
boolean | Whether the doubleValueSpec field is set.
|
public boolean hasIntegerValueSpec()
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
Returns |
---|
Type | Description |
boolean | Whether the integerValueSpec field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public StudySpec.ParameterSpec.Builder newBuilderForType()
protected StudySpec.ParameterSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public StudySpec.ParameterSpec.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides