Interface PointwiseMetricResultOrBuilder (3.56.0)

public interface PointwiseMetricResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExplanation()

public abstract String getExplanation()

Output only. Explanation for pointwise metric score.

string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The explanation.

getExplanationBytes()

public abstract ByteString getExplanationBytes()

Output only. Explanation for pointwise metric score.

string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for explanation.

getScore()

public abstract float getScore()

Output only. Pointwise metric score.

optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The score.

hasScore()

public abstract boolean hasScore()

Output only. Pointwise metric score.

optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the score field is set.