public static final class Trial.Parameter.Builder extends GeneratedMessage.Builder<Trial.Parameter.Builder> implements Trial.ParameterOrBuilderA message representing a parameter to be tuned.
Protobuf type google.cloud.aiplatform.v1beta1.Trial.Parameter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Trial.Parameter.BuilderImplements
Trial.ParameterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Trial.Parameter build()| Returns | |
|---|---|
| Type | Description |
Trial.Parameter |
|
buildPartial()
public Trial.Parameter buildPartial()| Returns | |
|---|---|
| Type | Description |
Trial.Parameter |
|
clear()
public Trial.Parameter.Builder clear()| Returns | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
|
clearParameterId()
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 | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
This builder for chaining. |
clearValue()
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 | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
|
getDefaultInstanceForType()
public Trial.Parameter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Trial.Parameter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParameterId()
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. |
getParameterIdBytes()
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. |
getValue()
public Value getValue() 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. |
getValueBuilder()
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 | |
|---|---|
| Type | Description |
Builder |
|
getValueOrBuilder()
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 | |
|---|---|
| Type | Description |
ValueOrBuilder |
|
hasValue()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Trial.Parameter other)
public Trial.Parameter.Builder mergeFrom(Trial.Parameter other)| Parameter | |
|---|---|
| Name | Description |
other |
Trial.Parameter |
| Returns | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Trial.Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Trial.Parameter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
|
mergeValue(Value value)
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 | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
|
setParameterId(String value)
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 |
StringThe parameterId to set. |
| Returns | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
This builder for chaining. |
setParameterIdBytes(ByteString value)
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 |
ByteStringThe bytes for parameterId to set. |
| Returns | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
This builder for chaining. |
setValue(Value value)
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 | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
|
setValue(Value.Builder builderForValue)
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 | |
|---|---|
| Type | Description |
Trial.Parameter.Builder |
|