Interface ResponseRecallInstanceOrBuilder (3.42.0)

public interface ResponseRecallInstanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrediction()

public abstract String getPrediction()

Required. Output of the evaluated model.

optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The prediction.

getPredictionBytes()

public abstract ByteString getPredictionBytes()

Required. Output of the evaluated model.

optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for prediction.

getReference()

public abstract String getReference()

Required. Ground truth used to compare against the prediction.

optional string reference = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The reference.

getReferenceBytes()

public abstract ByteString getReferenceBytes()

Required. Ground truth used to compare against the prediction.

optional string reference = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for reference.

hasPrediction()

public abstract boolean hasPrediction()

Required. Output of the evaluated model.

optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the prediction field is set.

hasReference()

public abstract boolean hasReference()

Required. Ground truth used to compare against the prediction.

optional string reference = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the reference field is set.