Class StudySpec.ParameterSpec.Builder (3.48.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.v1beta1.StudySpec.ParameterSpec

Static 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.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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
Overrides

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
Overrides

clearCategoricalValueSpec()

public StudySpec.ParameterSpec.Builder clearCategoricalValueSpec()

The value spec for a 'CATEGORICAL' parameter.

.google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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
Overrides

clearIntegerValueSpec()

public StudySpec.ParameterSpec.Builder clearIntegerValueSpec()

The value spec for an 'INTEGER' parameter.

.google.cloud.aiplatform.v1beta1.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
Overrides

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.v1beta1.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
Overrides

getCategoricalValueSpec()

public StudySpec.ParameterSpec.CategoricalValueSpec getCategoricalValueSpec()

The value spec for a 'CATEGORICAL' parameter.

.google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec conditional_parameter_specs = 10;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpecOrBuilder>

getDefaultInstanceForType()

public StudySpec.ParameterSpec getDefaultInstanceForType()
Returns
Type Description
StudySpec.ParameterSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDiscreteValueSpec()

public StudySpec.ParameterSpec.DiscreteValueSpec getDiscreteValueSpec()

The value spec for a 'DISCRETE' parameter.

.google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCategoricalValueSpec(StudySpec.ParameterSpec.CategoricalValueSpec value)

public StudySpec.ParameterSpec.Builder mergeCategoricalValueSpec(StudySpec.ParameterSpec.CategoricalValueSpec value)

The value spec for a 'CATEGORICAL' parameter.

.google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.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
Overrides
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
Overrides

mergeIntegerValueSpec(StudySpec.ParameterSpec.IntegerValueSpec value)

public StudySpec.ParameterSpec.Builder mergeIntegerValueSpec(StudySpec.ParameterSpec.IntegerValueSpec value)

The value spec for an 'INTEGER' parameter.

.google.cloud.aiplatform.v1beta1.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
Overrides

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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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
Overrides

setIntegerValueSpec(StudySpec.ParameterSpec.IntegerValueSpec value)

public StudySpec.ParameterSpec.Builder setIntegerValueSpec(StudySpec.ParameterSpec.IntegerValueSpec value)

The value spec for an 'INTEGER' parameter.

.google.cloud.aiplatform.v1beta1.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.v1beta1.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
Overrides

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.v1beta1.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.v1beta1.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
Overrides