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.v1beta1.Trial.Parameter
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Trial.Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Trial.Parameter build()
public Trial.Parameter buildPartial()
public Trial.Parameter.Builder clear()
Overrides
public Trial.Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Trial.Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
public Trial.Parameter.Builder clone()
Overrides
public Trial.Parameter getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
Overrides
public final boolean isInitialized()
Overrides
public Trial.Parameter.Builder mergeFrom(Trial.Parameter other)
public Trial.Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Trial.Parameter.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final Trial.Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
public Trial.Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public Trial.Parameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Trial.Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|