- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class StudySpec.ParameterSpec.Builder extends GeneratedMessageV3.Builder<StudySpec.ParameterSpec.Builder> implements StudySpec.ParameterSpecOrBuilder
Represents a single parameter to optimize.
Protobuf type google.cloud.aiplatform.v1.StudySpec.ParameterSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StudySpec.ParameterSpec.BuilderImplements
StudySpec.ParameterSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllConditionalParameterSpecs(Iterable<? extends StudySpec.ParameterSpec.ConditionalParameterSpec> values)
public StudySpec.ParameterSpec.Builder addAllConditionalParameterSpecs(Iterable<? extends StudySpec.ParameterSpec.ConditionalParameterSpec> values)
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 |
values | Iterable<? extends com.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec> |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
addConditionalParameterSpecs(StudySpec.ParameterSpec.ConditionalParameterSpec value)
public StudySpec.ParameterSpec.Builder addConditionalParameterSpecs(StudySpec.ParameterSpec.ConditionalParameterSpec value)
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 |
value | StudySpec.ParameterSpec.ConditionalParameterSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
addConditionalParameterSpecs(StudySpec.ParameterSpec.ConditionalParameterSpec.Builder builderForValue)
public StudySpec.ParameterSpec.Builder addConditionalParameterSpecs(StudySpec.ParameterSpec.ConditionalParameterSpec.Builder builderForValue)
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 |
builderForValue | StudySpec.ParameterSpec.ConditionalParameterSpec.Builder |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
addConditionalParameterSpecs(int index, StudySpec.ParameterSpec.ConditionalParameterSpec value)
public StudySpec.ParameterSpec.Builder addConditionalParameterSpecs(int index, StudySpec.ParameterSpec.ConditionalParameterSpec value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | StudySpec.ParameterSpec.ConditionalParameterSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
addConditionalParameterSpecs(int index, StudySpec.ParameterSpec.ConditionalParameterSpec.Builder builderForValue)
public StudySpec.ParameterSpec.Builder addConditionalParameterSpecs(int index, StudySpec.ParameterSpec.ConditionalParameterSpec.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | StudySpec.ParameterSpec.ConditionalParameterSpec.Builder |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
addConditionalParameterSpecsBuilder()
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder addConditionalParameterSpecsBuilder()
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 |
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder |
addConditionalParameterSpecsBuilder(int index)
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder addConditionalParameterSpecsBuilder(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 |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StudySpec.ParameterSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
build()
public StudySpec.ParameterSpec build()
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec |
buildPartial()
public StudySpec.ParameterSpec buildPartial()
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec |
clear()
public StudySpec.ParameterSpec.Builder clear()
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
clearCategoricalValueSpec()
public StudySpec.ParameterSpec.Builder clearCategoricalValueSpec()
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
clearConditionalParameterSpecs()
public StudySpec.ParameterSpec.Builder clearConditionalParameterSpecs()
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 |
StudySpec.ParameterSpec.Builder |
clearDiscreteValueSpec()
public StudySpec.ParameterSpec.Builder clearDiscreteValueSpec()
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
clearDoubleValueSpec()
public StudySpec.ParameterSpec.Builder clearDoubleValueSpec()
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
clearField(Descriptors.FieldDescriptor field)
public StudySpec.ParameterSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
clearIntegerValueSpec()
public StudySpec.ParameterSpec.Builder clearIntegerValueSpec()
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StudySpec.ParameterSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
clearParameterId()
public StudySpec.ParameterSpec.Builder clearParameterId()
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 |
StudySpec.ParameterSpec.Builder | This builder for chaining. |
clearParameterValueSpec()
public StudySpec.ParameterSpec.Builder clearParameterValueSpec()
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
clearScaleType()
public StudySpec.ParameterSpec.Builder clearScaleType()
How the parameter should be scaled.
Leave unset for CATEGORICAL
parameters.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType scale_type = 6;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder | This builder for chaining. |
clone()
public StudySpec.ParameterSpec.Builder clone()
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
getCategoricalValueSpec()
public StudySpec.ParameterSpec.CategoricalValueSpec getCategoricalValueSpec()
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.CategoricalValueSpec | The categoricalValueSpec. |
getCategoricalValueSpecBuilder()
public StudySpec.ParameterSpec.CategoricalValueSpec.Builder getCategoricalValueSpecBuilder()
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.CategoricalValueSpec.Builder |
getCategoricalValueSpecOrBuilder()
public StudySpec.ParameterSpec.CategoricalValueSpecOrBuilder getCategoricalValueSpecOrBuilder()
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.CategoricalValueSpecOrBuilder |
getConditionalParameterSpecs(int index)
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 |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.ConditionalParameterSpec |
getConditionalParameterSpecsBuilder(int index)
public StudySpec.ParameterSpec.ConditionalParameterSpec.Builder getConditionalParameterSpecsBuilder(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 |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.ConditionalParameterSpec.Builder |
getConditionalParameterSpecsBuilderList()
public List<StudySpec.ParameterSpec.ConditionalParameterSpec.Builder> getConditionalParameterSpecsBuilderList()
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<Builder> |
getConditionalParameterSpecsCount()
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 |
getConditionalParameterSpecsList()
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;
Returns | |
---|---|
Type | Description |
List<ConditionalParameterSpec> |
getConditionalParameterSpecsOrBuilder(int index)
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 |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder |
getConditionalParameterSpecsOrBuilderList()
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> |
getDefaultInstanceForType()
public StudySpec.ParameterSpec getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDiscreteValueSpec()
public StudySpec.ParameterSpec.DiscreteValueSpec getDiscreteValueSpec()
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.DiscreteValueSpec | The discreteValueSpec. |
getDiscreteValueSpecBuilder()
public StudySpec.ParameterSpec.DiscreteValueSpec.Builder getDiscreteValueSpecBuilder()
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.DiscreteValueSpec.Builder |
getDiscreteValueSpecOrBuilder()
public StudySpec.ParameterSpec.DiscreteValueSpecOrBuilder getDiscreteValueSpecOrBuilder()
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.DiscreteValueSpecOrBuilder |
getDoubleValueSpec()
public StudySpec.ParameterSpec.DoubleValueSpec getDoubleValueSpec()
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.DoubleValueSpec | The doubleValueSpec. |
getDoubleValueSpecBuilder()
public StudySpec.ParameterSpec.DoubleValueSpec.Builder getDoubleValueSpecBuilder()
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.DoubleValueSpec.Builder |
getDoubleValueSpecOrBuilder()
public StudySpec.ParameterSpec.DoubleValueSpecOrBuilder getDoubleValueSpecOrBuilder()
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.DoubleValueSpecOrBuilder |
getIntegerValueSpec()
public StudySpec.ParameterSpec.IntegerValueSpec getIntegerValueSpec()
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.IntegerValueSpec | The integerValueSpec. |
getIntegerValueSpecBuilder()
public StudySpec.ParameterSpec.IntegerValueSpec.Builder getIntegerValueSpecBuilder()
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.IntegerValueSpec.Builder |
getIntegerValueSpecOrBuilder()
public StudySpec.ParameterSpec.IntegerValueSpecOrBuilder getIntegerValueSpecOrBuilder()
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.IntegerValueSpecOrBuilder |
getParameterId()
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. |
getParameterIdBytes()
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. |
getParameterValueSpecCase()
public StudySpec.ParameterSpec.ParameterValueSpecCase getParameterValueSpecCase()
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.ParameterValueSpecCase |
getScaleType()
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;
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.ScaleType | The scaleType. |
getScaleTypeValue()
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. |
hasCategoricalValueSpec()
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. |
hasDiscreteValueSpec()
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. |
hasDoubleValueSpec()
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. |
hasIntegerValueSpec()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCategoricalValueSpec(StudySpec.ParameterSpec.CategoricalValueSpec value)
public StudySpec.ParameterSpec.Builder mergeCategoricalValueSpec(StudySpec.ParameterSpec.CategoricalValueSpec value)
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
Parameter | |
---|---|
Name | Description |
value | StudySpec.ParameterSpec.CategoricalValueSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
mergeDiscreteValueSpec(StudySpec.ParameterSpec.DiscreteValueSpec value)
public StudySpec.ParameterSpec.Builder mergeDiscreteValueSpec(StudySpec.ParameterSpec.DiscreteValueSpec value)
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
Parameter | |
---|---|
Name | Description |
value | StudySpec.ParameterSpec.DiscreteValueSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
mergeDoubleValueSpec(StudySpec.ParameterSpec.DoubleValueSpec value)
public StudySpec.ParameterSpec.Builder mergeDoubleValueSpec(StudySpec.ParameterSpec.DoubleValueSpec value)
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
Parameter | |
---|---|
Name | Description |
value | StudySpec.ParameterSpec.DoubleValueSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
mergeFrom(StudySpec.ParameterSpec other)
public StudySpec.ParameterSpec.Builder mergeFrom(StudySpec.ParameterSpec other)
Parameter | |
---|---|
Name | Description |
other | StudySpec.ParameterSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StudySpec.ParameterSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StudySpec.ParameterSpec.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
mergeIntegerValueSpec(StudySpec.ParameterSpec.IntegerValueSpec value)
public StudySpec.ParameterSpec.Builder mergeIntegerValueSpec(StudySpec.ParameterSpec.IntegerValueSpec value)
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
Parameter | |
---|---|
Name | Description |
value | StudySpec.ParameterSpec.IntegerValueSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StudySpec.ParameterSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
removeConditionalParameterSpecs(int index)
public StudySpec.ParameterSpec.Builder removeConditionalParameterSpecs(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 |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setCategoricalValueSpec(StudySpec.ParameterSpec.CategoricalValueSpec value)
public StudySpec.ParameterSpec.Builder setCategoricalValueSpec(StudySpec.ParameterSpec.CategoricalValueSpec value)
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
Parameter | |
---|---|
Name | Description |
value | StudySpec.ParameterSpec.CategoricalValueSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setCategoricalValueSpec(StudySpec.ParameterSpec.CategoricalValueSpec.Builder builderForValue)
public StudySpec.ParameterSpec.Builder setCategoricalValueSpec(StudySpec.ParameterSpec.CategoricalValueSpec.Builder builderForValue)
The value spec for a 'CATEGORICAL' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec categorical_value_spec = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | StudySpec.ParameterSpec.CategoricalValueSpec.Builder |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setConditionalParameterSpecs(int index, StudySpec.ParameterSpec.ConditionalParameterSpec value)
public StudySpec.ParameterSpec.Builder setConditionalParameterSpecs(int index, StudySpec.ParameterSpec.ConditionalParameterSpec value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | StudySpec.ParameterSpec.ConditionalParameterSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setConditionalParameterSpecs(int index, StudySpec.ParameterSpec.ConditionalParameterSpec.Builder builderForValue)
public StudySpec.ParameterSpec.Builder setConditionalParameterSpecs(int index, StudySpec.ParameterSpec.ConditionalParameterSpec.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | StudySpec.ParameterSpec.ConditionalParameterSpec.Builder |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setDiscreteValueSpec(StudySpec.ParameterSpec.DiscreteValueSpec value)
public StudySpec.ParameterSpec.Builder setDiscreteValueSpec(StudySpec.ParameterSpec.DiscreteValueSpec value)
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
Parameter | |
---|---|
Name | Description |
value | StudySpec.ParameterSpec.DiscreteValueSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setDiscreteValueSpec(StudySpec.ParameterSpec.DiscreteValueSpec.Builder builderForValue)
public StudySpec.ParameterSpec.Builder setDiscreteValueSpec(StudySpec.ParameterSpec.DiscreteValueSpec.Builder builderForValue)
The value spec for a 'DISCRETE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpec discrete_value_spec = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | StudySpec.ParameterSpec.DiscreteValueSpec.Builder |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setDoubleValueSpec(StudySpec.ParameterSpec.DoubleValueSpec value)
public StudySpec.ParameterSpec.Builder setDoubleValueSpec(StudySpec.ParameterSpec.DoubleValueSpec value)
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
Parameter | |
---|---|
Name | Description |
value | StudySpec.ParameterSpec.DoubleValueSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setDoubleValueSpec(StudySpec.ParameterSpec.DoubleValueSpec.Builder builderForValue)
public StudySpec.ParameterSpec.Builder setDoubleValueSpec(StudySpec.ParameterSpec.DoubleValueSpec.Builder builderForValue)
The value spec for a 'DOUBLE' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec double_value_spec = 2;
Parameter | |
---|---|
Name | Description |
builderForValue | StudySpec.ParameterSpec.DoubleValueSpec.Builder |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StudySpec.ParameterSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setIntegerValueSpec(StudySpec.ParameterSpec.IntegerValueSpec value)
public StudySpec.ParameterSpec.Builder setIntegerValueSpec(StudySpec.ParameterSpec.IntegerValueSpec value)
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
Parameter | |
---|---|
Name | Description |
value | StudySpec.ParameterSpec.IntegerValueSpec |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setIntegerValueSpec(StudySpec.ParameterSpec.IntegerValueSpec.Builder builderForValue)
public StudySpec.ParameterSpec.Builder setIntegerValueSpec(StudySpec.ParameterSpec.IntegerValueSpec.Builder builderForValue)
The value spec for an 'INTEGER' parameter.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec integer_value_spec = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | StudySpec.ParameterSpec.IntegerValueSpec.Builder |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setParameterId(String value)
public StudySpec.ParameterSpec.Builder setParameterId(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The parameterId to set. |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder | This builder for chaining. |
setParameterIdBytes(ByteString value)
public StudySpec.ParameterSpec.Builder setParameterIdBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parameterId to set. |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StudySpec.ParameterSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |
setScaleType(StudySpec.ParameterSpec.ScaleType value)
public StudySpec.ParameterSpec.Builder setScaleType(StudySpec.ParameterSpec.ScaleType value)
How the parameter should be scaled.
Leave unset for CATEGORICAL
parameters.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType scale_type = 6;
Parameter | |
---|---|
Name | Description |
value | StudySpec.ParameterSpec.ScaleType The scaleType to set. |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder | This builder for chaining. |
setScaleTypeValue(int value)
public StudySpec.ParameterSpec.Builder setScaleTypeValue(int value)
How the parameter should be scaled.
Leave unset for CATEGORICAL
parameters.
.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType scale_type = 6;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for scaleType to set. |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final StudySpec.ParameterSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StudySpec.ParameterSpec.Builder |