public static interface EvaluationResult.TaskCompletionResultOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getExplanation()
public abstract String getExplanation()Output only. The explanation for the task completion score.
string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The explanation. |
getExplanationBytes()
public abstract ByteString getExplanationBytes()Output only. The explanation for the task completion score.
string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for explanation. |
getLabel()
public abstract String getLabel()Output only. The label associated with each score. Score 1: Task Completed Score 0: Task Not Completed Score -1: User Goal Undefined
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The label. |
getLabelBytes()
public abstract ByteString getLabelBytes()Output only. The label associated with each score. Score 1: Task Completed Score 0: Task Not Completed Score -1: User Goal Undefined
string label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for label. |
getScore()
public abstract int getScore()Output only. The task completion score. Can be -1, 0, 1
optional int32 score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The score. |
hasScore()
public abstract boolean hasScore()Output only. The task completion score. Can be -1, 0, 1
optional int32 score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the score field is set. |