Interface Trial.ParameterOrBuilder (3.50.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the value field is set.