public static final class Trial.Parameter.Builder extends GeneratedMessageV3.Builder<Trial.Parameter.Builder> implements Trial.ParameterOrBuilder
A message representing a parameter to be tuned.
Protobuf type google.cloud.aiplatform.v1.Trial.Parameter
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Trial.Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Trial.Parameter build()
Returns
public Trial.Parameter buildPartial()
Returns
public Trial.Parameter.Builder clear()
Returns
Overrides
public Trial.Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Trial.Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Trial.Parameter.Builder clearParameterId()
Output only. The ID of the parameter. The parameter should be defined in
StudySpec's Parameters.
string parameter_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Trial.Parameter.Builder clearValue()
Output only. The value of the parameter.
number_value
will be set if a parameter defined in StudySpec is
in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is
in type 'CATEGORICAL'.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Trial.Parameter.Builder clone()
Returns
Overrides
public Trial.Parameter getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getParameterId()
Output only. The ID of the parameter. The parameter should be defined in
StudySpec's Parameters.
string parameter_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The parameterId.
|
public ByteString getParameterIdBytes()
Output only. The ID of the parameter. The parameter should be defined in
StudySpec's Parameters.
string parameter_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for parameterId.
|
Output only. The value of the parameter.
number_value
will be set if a parameter defined in StudySpec is
in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is
in type 'CATEGORICAL'.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
Value | The value.
|
public Value.Builder getValueBuilder()
Output only. The value of the parameter.
number_value
will be set if a parameter defined in StudySpec is
in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is
in type 'CATEGORICAL'.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public ValueOrBuilder getValueOrBuilder()
Output only. The value of the parameter.
number_value
will be set if a parameter defined in StudySpec is
in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is
in type 'CATEGORICAL'.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public boolean hasValue()
Output only. The value of the parameter.
number_value
will be set if a parameter defined in StudySpec is
in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is
in type 'CATEGORICAL'.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the value field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Trial.Parameter.Builder mergeFrom(Trial.Parameter other)
Parameter
Returns
public Trial.Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Trial.Parameter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Trial.Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Trial.Parameter.Builder mergeValue(Value value)
Output only. The value of the parameter.
number_value
will be set if a parameter defined in StudySpec is
in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is
in type 'CATEGORICAL'.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | Value
|
Returns
public Trial.Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Trial.Parameter.Builder setParameterId(String value)
Output only. The ID of the parameter. The parameter should be defined in
StudySpec's Parameters.
string parameter_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The parameterId to set.
|
Returns
public Trial.Parameter.Builder setParameterIdBytes(ByteString value)
Output only. The ID of the parameter. The parameter should be defined in
StudySpec's Parameters.
string parameter_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for parameterId to set.
|
Returns
public Trial.Parameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Trial.Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Trial.Parameter.Builder setValue(Value value)
Output only. The value of the parameter.
number_value
will be set if a parameter defined in StudySpec is
in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is
in type 'CATEGORICAL'.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | Value
|
Returns
public Trial.Parameter.Builder setValue(Value.Builder builderForValue)
Output only. The value of the parameter.
number_value
will be set if a parameter defined in StudySpec is
in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is
in type 'CATEGORICAL'.
.google.protobuf.Value value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
builderForValue | Builder
|
Returns