public static interface TestSetTurnResult.Builder extends SdkPojo, CopyableBuilder<TestSetTurnResult.Builder,TestSetTurnResult>
| Modifier and Type | Method and Description |
|---|---|
TestSetTurnResult.Builder |
agent(AgentTurnResult agent)
Contains information about the agent messages in the turn.
|
default TestSetTurnResult.Builder |
agent(Consumer<AgentTurnResult.Builder> agent)
Contains information about the agent messages in the turn.
|
default TestSetTurnResult.Builder |
user(Consumer<UserTurnResult.Builder> user)
Contains information about the user messages in the turn.
|
TestSetTurnResult.Builder |
user(UserTurnResult user)
Contains information about the user messages in the turn.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTestSetTurnResult.Builder agent(AgentTurnResult agent)
Contains information about the agent messages in the turn.
agent - Contains information about the agent messages in the turn.default TestSetTurnResult.Builder agent(Consumer<AgentTurnResult.Builder> agent)
Contains information about the agent messages in the turn.
This is a convenience method that creates an instance of theAgentTurnResult.Builder avoiding the
need to create one manually via AgentTurnResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to agent(AgentTurnResult).
agent - a consumer that will call methods on AgentTurnResult.Builderagent(AgentTurnResult)TestSetTurnResult.Builder user(UserTurnResult user)
Contains information about the user messages in the turn.
user - Contains information about the user messages in the turn.default TestSetTurnResult.Builder user(Consumer<UserTurnResult.Builder> user)
Contains information about the user messages in the turn.
This is a convenience method that creates an instance of theUserTurnResult.Builder avoiding the need
to create one manually via UserTurnResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to user(UserTurnResult).
user - a consumer that will call methods on UserTurnResult.Builderuser(UserTurnResult)Copyright © 2023. All rights reserved.