public static final class Trial.Parameter extends GeneratedMessageV3 implements Trial.ParameterOrBuilder
A message representing a parameter to be tuned.
Protobuf type google.cloud.aiplatform.v1.Trial.Parameter
Fields
public static final int PARAMETER_ID_FIELD_NUMBER
Field Value
public static final int VALUE_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static Trial.Parameter getDefaultInstance()
Returns
public Trial.Parameter getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
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.
|
public Parser<Trial.Parameter> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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 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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static Trial.Parameter.Builder newBuilder()
Returns
public static Trial.Parameter.Builder newBuilder(Trial.Parameter prototype)
Parameter
Returns
public Trial.Parameter.Builder newBuilderForType()
Returns
protected Trial.Parameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Trial.Parameter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Trial.Parameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Trial.Parameter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Trial.Parameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Trial.Parameter parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Trial.Parameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Trial.Parameter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Trial.Parameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Trial.Parameter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Trial.Parameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Trial.Parameter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Trial.Parameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Trial.Parameter> parser()
Returns
public Trial.Parameter.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions