Interface MetricMetadata.ScoreRangeOrBuilder (3.100.0)

public static interface MetricMetadata.ScoreRangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Optional. The description of the score explaining the directionality etc.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. The description of the score explaining the directionality etc.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getMax()

public abstract double getMax()

Required. The maximum value of the score range (inclusive).

optional double max = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The max.

getMin()

public abstract double getMin()

Required. The minimum value of the score range (inclusive).

optional double min = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
double

The min.

getStep()

public abstract double getStep()

Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.

optional double step = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The step.

hasMax()

public abstract boolean hasMax()

Required. The maximum value of the score range (inclusive).

optional double max = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the max field is set.

hasMin()

public abstract boolean hasMin()

Required. The minimum value of the score range (inclusive).

optional double min = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the min field is set.

hasStep()

public abstract boolean hasStep()

Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.

optional double step = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the step field is set.