public static final class EvaluationResult.ScenarioResult extends GeneratedMessage implements EvaluationResult.ScenarioResultOrBuilder
The outcome of a scenario evaluation.
Protobuf type google.cloud.ces.v1beta.EvaluationResult.ScenarioResult
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ALL_EXPECTATIONS_SATISFIED_FIELD_NUMBER
public static final int ALL_EXPECTATIONS_SATISFIED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CONVERSATION_FIELD_NUMBER
public static final int CONVERSATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EVALUATION_EXPECTATION_RESULTS_FIELD_NUMBER
public static final int EVALUATION_EXPECTATION_RESULTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXPECTATION_OUTCOMES_FIELD_NUMBER
public static final int EXPECTATION_OUTCOMES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HALLUCINATION_RESULT_FIELD_NUMBER
public static final int HALLUCINATION_RESULT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RUBRIC_OUTCOMES_FIELD_NUMBER
public static final int RUBRIC_OUTCOMES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SPAN_LATENCIES_FIELD_NUMBER
public static final int SPAN_LATENCIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TASK_COMPLETED_FIELD_NUMBER
public static final int TASK_COMPLETED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TASK_COMPLETION_RESULT_FIELD_NUMBER
public static final int TASK_COMPLETION_RESULT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TASK_FIELD_NUMBER
public static final int TASK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TOOL_CALL_LATENCIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USER_FACTS_FIELD_NUMBER
public static final int USER_FACTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USER_GOAL_SATISFACTION_RESULT_FIELD_NUMBER
public static final int USER_GOAL_SATISFACTION_RESULT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EvaluationResult.ScenarioResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EvaluationResult.ScenarioResult.Builder newBuilder()
newBuilder(EvaluationResult.ScenarioResult prototype)
public static EvaluationResult.ScenarioResult.Builder newBuilder(EvaluationResult.ScenarioResult prototype)
public static EvaluationResult.ScenarioResult parseDelimitedFrom(InputStream input)
public static EvaluationResult.ScenarioResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EvaluationResult.ScenarioResult parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EvaluationResult.ScenarioResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EvaluationResult.ScenarioResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EvaluationResult.ScenarioResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EvaluationResult.ScenarioResult parseFrom(CodedInputStream input)
public static EvaluationResult.ScenarioResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EvaluationResult.ScenarioResult parseFrom(InputStream input)
public static EvaluationResult.ScenarioResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EvaluationResult.ScenarioResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EvaluationResult.ScenarioResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EvaluationResult.ScenarioResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAllExpectationsSatisfied()
public boolean getAllExpectationsSatisfied()
Output only. Whether all expectations were satisfied for this turn.
optional bool all_expectations_satisfied = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The allExpectationsSatisfied.
|
getConversation()
public String getConversation()
Output only. The conversation that was generated in the scenario.
string conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The conversation.
|
getConversationBytes()
public ByteString getConversationBytes()
Output only. The conversation that was generated in the scenario.
string conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for conversation.
|
getDefaultInstanceForType()
public EvaluationResult.ScenarioResult getDefaultInstanceForType()
getEvaluationExpectationResults(int index)
public EvaluationResult.EvaluationExpectationResult getEvaluationExpectationResults(int index)
Output only. The results of the evaluation expectations.
repeated .google.cloud.ces.v1beta.EvaluationResult.EvaluationExpectationResult evaluation_expectation_results = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getEvaluationExpectationResultsCount()
public int getEvaluationExpectationResultsCount()
Output only. The results of the evaluation expectations.
repeated .google.cloud.ces.v1beta.EvaluationResult.EvaluationExpectationResult evaluation_expectation_results = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getEvaluationExpectationResultsList()
public List<EvaluationResult.EvaluationExpectationResult> getEvaluationExpectationResultsList()
Output only. The results of the evaluation expectations.
repeated .google.cloud.ces.v1beta.EvaluationResult.EvaluationExpectationResult evaluation_expectation_results = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEvaluationExpectationResultsOrBuilder(int index)
public EvaluationResult.EvaluationExpectationResultOrBuilder getEvaluationExpectationResultsOrBuilder(int index)
Output only. The results of the evaluation expectations.
repeated .google.cloud.ces.v1beta.EvaluationResult.EvaluationExpectationResult evaluation_expectation_results = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getEvaluationExpectationResultsOrBuilderList()
public List<? extends EvaluationResult.EvaluationExpectationResultOrBuilder> getEvaluationExpectationResultsOrBuilderList()
Output only. The results of the evaluation expectations.
repeated .google.cloud.ces.v1beta.EvaluationResult.EvaluationExpectationResult evaluation_expectation_results = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.EvaluationResult.EvaluationExpectationResultOrBuilder> |
|
getExpectationOutcomes(int index)
public EvaluationResult.ScenarioExpectationOutcome getExpectationOutcomes(int index)
Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome expectation_outcomes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getExpectationOutcomesCount()
public int getExpectationOutcomesCount()
Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome expectation_outcomes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getExpectationOutcomesList()
public List<EvaluationResult.ScenarioExpectationOutcome> getExpectationOutcomesList()
Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome expectation_outcomes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpectationOutcomesOrBuilder(int index)
public EvaluationResult.ScenarioExpectationOutcomeOrBuilder getExpectationOutcomesOrBuilder(int index)
Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome expectation_outcomes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getExpectationOutcomesOrBuilderList()
public List<? extends EvaluationResult.ScenarioExpectationOutcomeOrBuilder> getExpectationOutcomesOrBuilderList()
Output only. The outcome of each expectation.
repeated .google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome expectation_outcomes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcomeOrBuilder> |
|
getHallucinationResult(int index)
public EvaluationResult.HallucinationResult getHallucinationResult(int index)
Output only. The result of the hallucination check.
There will be one hallucination result for each turn in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getHallucinationResultCount()
public int getHallucinationResultCount()
Output only. The result of the hallucination check.
There will be one hallucination result for each turn in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getHallucinationResultList()
public List<EvaluationResult.HallucinationResult> getHallucinationResultList()
Output only. The result of the hallucination check.
There will be one hallucination result for each turn in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getHallucinationResultOrBuilder(int index)
public EvaluationResult.HallucinationResultOrBuilder getHallucinationResultOrBuilder(int index)
Output only. The result of the hallucination check.
There will be one hallucination result for each turn in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getHallucinationResultOrBuilderList()
public List<? extends EvaluationResult.HallucinationResultOrBuilder> getHallucinationResultOrBuilderList()
Output only. The result of the hallucination check.
There will be one hallucination result for each turn in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.HallucinationResult hallucination_result = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.EvaluationResult.HallucinationResultOrBuilder> |
|
getParserForType()
public Parser<EvaluationResult.ScenarioResult> getParserForType()
Overrides
getRubricOutcomes(int index)
public EvaluationResult.ScenarioRubricOutcome getRubricOutcomes(int index)
Output only. The outcome of the rubric.
repeated .google.cloud.ces.v1beta.EvaluationResult.ScenarioRubricOutcome rubric_outcomes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getRubricOutcomesCount()
public int getRubricOutcomesCount()
Output only. The outcome of the rubric.
repeated .google.cloud.ces.v1beta.EvaluationResult.ScenarioRubricOutcome rubric_outcomes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getRubricOutcomesList()
public List<EvaluationResult.ScenarioRubricOutcome> getRubricOutcomesList()
Output only. The outcome of the rubric.
repeated .google.cloud.ces.v1beta.EvaluationResult.ScenarioRubricOutcome rubric_outcomes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRubricOutcomesOrBuilder(int index)
public EvaluationResult.ScenarioRubricOutcomeOrBuilder getRubricOutcomesOrBuilder(int index)
Output only. The outcome of the rubric.
repeated .google.cloud.ces.v1beta.EvaluationResult.ScenarioRubricOutcome rubric_outcomes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getRubricOutcomesOrBuilderList()
public List<? extends EvaluationResult.ScenarioRubricOutcomeOrBuilder> getRubricOutcomesOrBuilderList()
Output only. The outcome of the rubric.
repeated .google.cloud.ces.v1beta.EvaluationResult.ScenarioRubricOutcome rubric_outcomes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.EvaluationResult.ScenarioRubricOutcomeOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSpanLatencies(int index)
public EvaluationResult.SpanLatency getSpanLatencies(int index)
Output only. The latency of spans in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getSpanLatenciesCount()
public int getSpanLatenciesCount()
Output only. The latency of spans in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getSpanLatenciesList()
public List<EvaluationResult.SpanLatency> getSpanLatenciesList()
Output only. The latency of spans in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSpanLatenciesOrBuilder(int index)
public EvaluationResult.SpanLatencyOrBuilder getSpanLatenciesOrBuilder(int index)
Output only. The latency of spans in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getSpanLatenciesOrBuilderList()
public List<? extends EvaluationResult.SpanLatencyOrBuilder> getSpanLatenciesOrBuilderList()
Output only. The latency of spans in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.SpanLatency span_latencies = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.EvaluationResult.SpanLatencyOrBuilder> |
|
getTask()
Output only. The task that was used when running the scenario for this
result.
string task = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The task.
|
getTaskBytes()
public ByteString getTaskBytes()
Output only. The task that was used when running the scenario for this
result.
string task = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for task.
|
getTaskCompleted()
public boolean getTaskCompleted()
Output only. Whether the task was completed for this turn. This is a
composite of all expectations satisfied, no hallucinations, and user goal
satisfaction.
optional bool task_completed = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The taskCompleted.
|
getTaskCompletionResult() (deprecated)
public EvaluationResult.TaskCompletionResult getTaskCompletionResult()
Deprecated. google.cloud.ces.v1beta.EvaluationResult.ScenarioResult.task_completion_result is
deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=713
Output only. The result of the task completion check.
.google.cloud.ces.v1beta.EvaluationResult.TaskCompletionResult task_completion_result = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
getTaskCompletionResultOrBuilder() (deprecated)
public EvaluationResult.TaskCompletionResultOrBuilder getTaskCompletionResultOrBuilder()
Output only. The result of the task completion check.
.google.cloud.ces.v1beta.EvaluationResult.TaskCompletionResult task_completion_result = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
public EvaluationResult.ToolCallLatency getToolCallLatencies(int index)
Output only. The latency of each tool call execution in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
public int getToolCallLatenciesCount()
Output only. The latency of each tool call execution in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
public List<EvaluationResult.ToolCallLatency> getToolCallLatenciesList()
Output only. The latency of each tool call execution in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EvaluationResult.ToolCallLatencyOrBuilder getToolCallLatenciesOrBuilder(int index)
Output only. The latency of each tool call execution in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends EvaluationResult.ToolCallLatencyOrBuilder> getToolCallLatenciesOrBuilderList()
Output only. The latency of each tool call execution in the conversation.
repeated .google.cloud.ces.v1beta.EvaluationResult.ToolCallLatency tool_call_latencies = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.EvaluationResult.ToolCallLatencyOrBuilder> |
|
getUserFacts(int index)
public Evaluation.Scenario.UserFact getUserFacts(int index)
Output only. The user facts that were used by the scenario for this
result.
repeated .google.cloud.ces.v1beta.Evaluation.Scenario.UserFact user_facts = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getUserFactsCount()
public int getUserFactsCount()
Output only. The user facts that were used by the scenario for this
result.
repeated .google.cloud.ces.v1beta.Evaluation.Scenario.UserFact user_facts = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getUserFactsList()
public List<Evaluation.Scenario.UserFact> getUserFactsList()
Output only. The user facts that were used by the scenario for this
result.
repeated .google.cloud.ces.v1beta.Evaluation.Scenario.UserFact user_facts = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUserFactsOrBuilder(int index)
public Evaluation.Scenario.UserFactOrBuilder getUserFactsOrBuilder(int index)
Output only. The user facts that were used by the scenario for this
result.
repeated .google.cloud.ces.v1beta.Evaluation.Scenario.UserFact user_facts = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getUserFactsOrBuilderList()
public List<? extends Evaluation.Scenario.UserFactOrBuilder> getUserFactsOrBuilderList()
Output only. The user facts that were used by the scenario for this
result.
repeated .google.cloud.ces.v1beta.Evaluation.Scenario.UserFact user_facts = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.ces.v1beta.Evaluation.Scenario.UserFactOrBuilder> |
|
getUserGoalSatisfactionResult()
public EvaluationResult.UserGoalSatisfactionResult getUserGoalSatisfactionResult()
Output only. The result of the user goal satisfaction check.
.google.cloud.ces.v1beta.EvaluationResult.UserGoalSatisfactionResult user_goal_satisfaction_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUserGoalSatisfactionResultOrBuilder()
public EvaluationResult.UserGoalSatisfactionResultOrBuilder getUserGoalSatisfactionResultOrBuilder()
Output only. The result of the user goal satisfaction check.
.google.cloud.ces.v1beta.EvaluationResult.UserGoalSatisfactionResult user_goal_satisfaction_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAllExpectationsSatisfied()
public boolean hasAllExpectationsSatisfied()
Output only. Whether all expectations were satisfied for this turn.
optional bool all_expectations_satisfied = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the allExpectationsSatisfied field is set.
|
hasTaskCompleted()
public boolean hasTaskCompleted()
Output only. Whether the task was completed for this turn. This is a
composite of all expectations satisfied, no hallucinations, and user goal
satisfaction.
optional bool task_completed = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the taskCompleted field is set.
|
hasTaskCompletionResult() (deprecated)
public boolean hasTaskCompletionResult()
Deprecated. google.cloud.ces.v1beta.EvaluationResult.ScenarioResult.task_completion_result is
deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=713
Output only. The result of the task completion check.
.google.cloud.ces.v1beta.EvaluationResult.TaskCompletionResult task_completion_result = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the taskCompletionResult field is set.
|
hasUserGoalSatisfactionResult()
public boolean hasUserGoalSatisfactionResult()
Output only. The result of the user goal satisfaction check.
.google.cloud.ces.v1beta.EvaluationResult.UserGoalSatisfactionResult user_goal_satisfaction_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the userGoalSatisfactionResult field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EvaluationResult.ScenarioResult.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected EvaluationResult.ScenarioResult.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public EvaluationResult.ScenarioResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides