Interface Trial.ParameterOrBuilder (3.7.0)

public static interface Trial.ParameterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParameterId()

public abstract 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
TypeDescription
String

The parameterId.

getParameterIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for parameterId.

getValue()

public abstract 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
TypeDescription
Value

The value.

getValueOrBuilder()

public abstract 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
TypeDescription
ValueOrBuilder

hasValue()

public abstract 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
TypeDescription
boolean

Whether the value field is set.