public static final class Trial.Parameter extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int PARAMETER_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Trial.Parameter getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Trial.Parameter.Builder newBuilder()
public static Trial.Parameter.Builder newBuilder(Trial.Parameter prototype)
public static Trial.Parameter parseDelimitedFrom(InputStream input)
public static Trial.Parameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Trial.Parameter parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Trial.Parameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Trial.Parameter parseFrom(ByteString data)
public static Trial.Parameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Trial.Parameter parseFrom(CodedInputStream input)
public static Trial.Parameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Trial.Parameter parseFrom(InputStream input)
public static Trial.Parameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Trial.Parameter parseFrom(ByteBuffer data)
public static Trial.Parameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Trial.Parameter> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Trial.Parameter getDefaultInstanceForType()
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()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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];
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Trial.Parameter.Builder newBuilderForType()
protected Trial.Parameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Trial.Parameter.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides