Interface ActionOrBuilder (0.54.0)

public interface ActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionCase()

public abstract Action.ActionCase getActionCase()
Returns
Type Description
Action.ActionCase

getAgentUtterance()

public abstract AgentUtterance getAgentUtterance()

Optional. Action performed by the agent as a message.

.google.cloud.dialogflow.cx.v3beta1.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentUtterance

The agentUtterance.

getAgentUtteranceOrBuilder()

public abstract AgentUtteranceOrBuilder getAgentUtteranceOrBuilder()

Optional. Action performed by the agent as a message.

.google.cloud.dialogflow.cx.v3beta1.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentUtteranceOrBuilder

getFlowInvocation()

public abstract FlowInvocation getFlowInvocation()

Optional. Action performed on behalf of the agent by invoking a CX flow.

.google.cloud.dialogflow.cx.v3beta1.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FlowInvocation

The flowInvocation.

getFlowInvocationOrBuilder()

public abstract FlowInvocationOrBuilder getFlowInvocationOrBuilder()

Optional. Action performed on behalf of the agent by invoking a CX flow.

.google.cloud.dialogflow.cx.v3beta1.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FlowInvocationOrBuilder

getPlaybookInvocation()

public abstract PlaybookInvocation getPlaybookInvocation()

Optional. Action performed on behalf of the agent by invoking a child playbook.

.google.cloud.dialogflow.cx.v3beta1.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookInvocation

The playbookInvocation.

getPlaybookInvocationOrBuilder()

public abstract PlaybookInvocationOrBuilder getPlaybookInvocationOrBuilder()

Optional. Action performed on behalf of the agent by invoking a child playbook.

.google.cloud.dialogflow.cx.v3beta1.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookInvocationOrBuilder

getToolUse()

public abstract ToolUse getToolUse()

Optional. Action performed on behalf of the agent by calling a plugin tool.

.google.cloud.dialogflow.cx.v3beta1.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ToolUse

The toolUse.

getToolUseOrBuilder()

public abstract ToolUseOrBuilder getToolUseOrBuilder()

Optional. Action performed on behalf of the agent by calling a plugin tool.

.google.cloud.dialogflow.cx.v3beta1.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ToolUseOrBuilder

getUserUtterance()

public abstract UserUtterance getUserUtterance()

Optional. Agent obtained a message from the customer.

.google.cloud.dialogflow.cx.v3beta1.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UserUtterance

The userUtterance.

getUserUtteranceOrBuilder()

public abstract UserUtteranceOrBuilder getUserUtteranceOrBuilder()

Optional. Agent obtained a message from the customer.

.google.cloud.dialogflow.cx.v3beta1.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UserUtteranceOrBuilder

hasAgentUtterance()

public abstract boolean hasAgentUtterance()

Optional. Action performed by the agent as a message.

.google.cloud.dialogflow.cx.v3beta1.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the agentUtterance field is set.

hasFlowInvocation()

public abstract boolean hasFlowInvocation()

Optional. Action performed on behalf of the agent by invoking a CX flow.

.google.cloud.dialogflow.cx.v3beta1.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the flowInvocation field is set.

hasPlaybookInvocation()

public abstract boolean hasPlaybookInvocation()

Optional. Action performed on behalf of the agent by invoking a child playbook.

.google.cloud.dialogflow.cx.v3beta1.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the playbookInvocation field is set.

hasToolUse()

public abstract boolean hasToolUse()

Optional. Action performed on behalf of the agent by calling a plugin tool.

.google.cloud.dialogflow.cx.v3beta1.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the toolUse field is set.

hasUserUtterance()

public abstract boolean hasUserUtterance()

Optional. Agent obtained a message from the customer.

.google.cloud.dialogflow.cx.v3beta1.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the userUtterance field is set.