public interface MetricxInstanceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPrediction()
public abstract String getPrediction()Required. Output of the evaluated model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The prediction. |
getPredictionBytes()
public abstract ByteString getPredictionBytes()Required. Output of the evaluated model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for prediction. |
getReference()
public abstract String getReference()Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The reference. |
getReferenceBytes()
public abstract ByteString getReferenceBytes()Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reference. |
getSource()
public abstract String getSource()Optional. Source text in original language.
optional string source = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The source. |
getSourceBytes()
public abstract ByteString getSourceBytes()Optional. Source text in original language.
optional string source = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for source. |
hasPrediction()
public abstract boolean hasPrediction()Required. Output of the evaluated model.
optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the prediction field is set. |
hasReference()
public abstract boolean hasReference()Optional. Ground truth used to compare against the prediction.
optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reference field is set. |
hasSource()
public abstract boolean hasSource()Optional. Source text in original language.
optional string source = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the source field is set. |