Class Action (0.89.0)

public final class Action extends GeneratedMessageV3 implements ActionOrBuilder

Action performed by end user or Dialogflow agent in the conversation.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Action

Implements

ActionOrBuilder

Static Fields

AGENT_UTTERANCE_FIELD_NUMBER

public static final int AGENT_UTTERANCE_FIELD_NUMBER
Field Value
Type Description
int

COMPLETE_TIME_FIELD_NUMBER

public static final int COMPLETE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

EVENT_FIELD_NUMBER

public static final int EVENT_FIELD_NUMBER
Field Value
Type Description
int

FLOW_INVOCATION_FIELD_NUMBER

public static final int FLOW_INVOCATION_FIELD_NUMBER
Field Value
Type Description
int

FLOW_STATE_UPDATE_FIELD_NUMBER

public static final int FLOW_STATE_UPDATE_FIELD_NUMBER
Field Value
Type Description
int

FLOW_TRANSITION_FIELD_NUMBER

public static final int FLOW_TRANSITION_FIELD_NUMBER
Field Value
Type Description
int

INTENT_MATCH_FIELD_NUMBER

public static final int INTENT_MATCH_FIELD_NUMBER
Field Value
Type Description
int

LLM_CALL_FIELD_NUMBER

public static final int LLM_CALL_FIELD_NUMBER
Field Value
Type Description
int

PLAYBOOK_INVOCATION_FIELD_NUMBER

public static final int PLAYBOOK_INVOCATION_FIELD_NUMBER
Field Value
Type Description
int

PLAYBOOK_TRANSITION_FIELD_NUMBER

public static final int PLAYBOOK_TRANSITION_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

STT_FIELD_NUMBER

public static final int STT_FIELD_NUMBER
Field Value
Type Description
int

SUB_EXECUTION_STEPS_FIELD_NUMBER

public static final int SUB_EXECUTION_STEPS_FIELD_NUMBER
Field Value
Type Description
int

TOOL_USE_FIELD_NUMBER

public static final int TOOL_USE_FIELD_NUMBER
Field Value
Type Description
int

TTS_FIELD_NUMBER

public static final int TTS_FIELD_NUMBER
Field Value
Type Description
int

USER_UTTERANCE_FIELD_NUMBER

public static final int USER_UTTERANCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Action getDefaultInstance()
Returns
Type Description
Action

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Action.Builder newBuilder()
Returns
Type Description
Action.Builder

newBuilder(Action prototype)

public static Action.Builder newBuilder(Action prototype)
Parameter
Name Description
prototype Action
Returns
Type Description
Action.Builder

parseDelimitedFrom(InputStream input)

public static Action parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Action parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Action parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Action parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Action parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Action parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Action parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Action> parser()
Returns
Type Description
Parser<Action>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActionCase()

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

getAgentUtterance()

public 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 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

getCompleteTime()

public Timestamp getCompleteTime()

Output only. Timestamp of the completion of the agent action.

.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The completeTime.

getCompleteTimeOrBuilder()

public TimestampOrBuilder getCompleteTimeOrBuilder()

Output only. Timestamp of the completion of the agent action.

.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Action getDefaultInstanceForType()
Returns
Type Description
Action

getDisplayName()

public String getDisplayName()

Output only. The display name of the action.

string display_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The display name of the action.

string display_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getEvent()

public Event getEvent()

Optional. The agent received an event from the customer or a system event is emitted.

.google.cloud.dialogflow.cx.v3beta1.Event event = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Event

The event.

getEventOrBuilder()

public EventOrBuilder getEventOrBuilder()

Optional. The agent received an event from the customer or a system event is emitted.

.google.cloud.dialogflow.cx.v3beta1.Event event = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EventOrBuilder

getFlowInvocation()

public 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 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

getFlowStateUpdate()

public Action.FlowStateUpdate getFlowStateUpdate()

Optional. Output only. The state machine update in flows.

.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate flow_state_update = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Action.FlowStateUpdate

The flowStateUpdate.

getFlowStateUpdateOrBuilder()

public Action.FlowStateUpdateOrBuilder getFlowStateUpdateOrBuilder()

Optional. Output only. The state machine update in flows.

.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate flow_state_update = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Action.FlowStateUpdateOrBuilder

getFlowTransition()

public FlowTransition getFlowTransition()

Optional. Action performed on behalf of the agent by transitioning to a target CX flow.

.google.cloud.dialogflow.cx.v3beta1.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FlowTransition

The flowTransition.

getFlowTransitionOrBuilder()

public FlowTransitionOrBuilder getFlowTransitionOrBuilder()

Optional. Action performed on behalf of the agent by transitioning to a target CX flow.

.google.cloud.dialogflow.cx.v3beta1.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FlowTransitionOrBuilder

getIntentMatch()

public Action.IntentMatch getIntentMatch()

Optional. Output only. Intent Match in flows.

.google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch intent_match = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Action.IntentMatch

The intentMatch.

getIntentMatchOrBuilder()

public Action.IntentMatchOrBuilder getIntentMatchOrBuilder()

Optional. Output only. Intent Match in flows.

.google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch intent_match = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Action.IntentMatchOrBuilder

getLlmCall()

public LlmCall getLlmCall()

Optional. Output only. LLM call performed by the agent.

.google.cloud.dialogflow.cx.v3beta1.LlmCall llm_call = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LlmCall

The llmCall.

getLlmCallOrBuilder()

public LlmCallOrBuilder getLlmCallOrBuilder()

Optional. Output only. LLM call performed by the agent.

.google.cloud.dialogflow.cx.v3beta1.LlmCall llm_call = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LlmCallOrBuilder

getParserForType()

public Parser<Action> getParserForType()
Returns
Type Description
Parser<Action>
Overrides

getPlaybookInvocation()

public 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 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

getPlaybookTransition()

public PlaybookTransition getPlaybookTransition()

Optional. Action performed on behalf of the agent by transitioning to a target playbook.

.google.cloud.dialogflow.cx.v3beta1.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookTransition

The playbookTransition.

getPlaybookTransitionOrBuilder()

public PlaybookTransitionOrBuilder getPlaybookTransitionOrBuilder()

Optional. Action performed on behalf of the agent by transitioning to a target playbook.

.google.cloud.dialogflow.cx.v3beta1.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookTransitionOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. Timestamp of the start of the agent action.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Timestamp of the start of the agent action.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getStatus()

public Status getStatus()

Optional. Output only. The status of the action.

.google.cloud.dialogflow.cx.v3beta1.Status status = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Status

The status.

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

Optional. Output only. The status of the action.

.google.cloud.dialogflow.cx.v3beta1.Status status = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StatusOrBuilder

getStt()

public Action.STT getStt()

Optional. Speech-to-text action performed by the agent.

.google.cloud.dialogflow.cx.v3beta1.Action.STT stt = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Action.STT

The stt.

getSttOrBuilder()

public Action.STTOrBuilder getSttOrBuilder()

Optional. Speech-to-text action performed by the agent.

.google.cloud.dialogflow.cx.v3beta1.Action.STT stt = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Action.STTOrBuilder

getSubExecutionSteps(int index)

public Span getSubExecutionSteps(int index)

Optional. The detailed tracing information for sub execution steps of the action.

repeated .google.cloud.dialogflow.cx.v3beta1.Span sub_execution_steps = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Span

getSubExecutionStepsCount()

public int getSubExecutionStepsCount()

Optional. The detailed tracing information for sub execution steps of the action.

repeated .google.cloud.dialogflow.cx.v3beta1.Span sub_execution_steps = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSubExecutionStepsList()

public List<Span> getSubExecutionStepsList()

Optional. The detailed tracing information for sub execution steps of the action.

repeated .google.cloud.dialogflow.cx.v3beta1.Span sub_execution_steps = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Span>

getSubExecutionStepsOrBuilder(int index)

public SpanOrBuilder getSubExecutionStepsOrBuilder(int index)

Optional. The detailed tracing information for sub execution steps of the action.

repeated .google.cloud.dialogflow.cx.v3beta1.Span sub_execution_steps = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SpanOrBuilder

getSubExecutionStepsOrBuilderList()

public List<? extends SpanOrBuilder> getSubExecutionStepsOrBuilderList()

Optional. The detailed tracing information for sub execution steps of the action.

repeated .google.cloud.dialogflow.cx.v3beta1.Span sub_execution_steps = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.SpanOrBuilder>

getToolUse()

public 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 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

getTts()

public Action.TTS getTts()

Optional. Text-to-speech action performed by the agent.

.google.cloud.dialogflow.cx.v3beta1.Action.TTS tts = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Action.TTS

The tts.

getTtsOrBuilder()

public Action.TTSOrBuilder getTtsOrBuilder()

Optional. Text-to-speech action performed by the agent.

.google.cloud.dialogflow.cx.v3beta1.Action.TTS tts = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Action.TTSOrBuilder

getUserUtterance()

public 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 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 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.

hasCompleteTime()

public boolean hasCompleteTime()

Output only. Timestamp of the completion of the agent action.

.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the completeTime field is set.

hasEvent()

public boolean hasEvent()

Optional. The agent received an event from the customer or a system event is emitted.

.google.cloud.dialogflow.cx.v3beta1.Event event = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the event field is set.

hasFlowInvocation()

public 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.

hasFlowStateUpdate()

public boolean hasFlowStateUpdate()

Optional. Output only. The state machine update in flows.

.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate flow_state_update = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the flowStateUpdate field is set.

hasFlowTransition()

public boolean hasFlowTransition()

Optional. Action performed on behalf of the agent by transitioning to a target CX flow.

.google.cloud.dialogflow.cx.v3beta1.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the flowTransition field is set.

hasIntentMatch()

public boolean hasIntentMatch()

Optional. Output only. Intent Match in flows.

.google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch intent_match = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the intentMatch field is set.

hasLlmCall()

public boolean hasLlmCall()

Optional. Output only. LLM call performed by the agent.

.google.cloud.dialogflow.cx.v3beta1.LlmCall llm_call = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the llmCall field is set.

hasPlaybookInvocation()

public 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.

hasPlaybookTransition()

public boolean hasPlaybookTransition()

Optional. Action performed on behalf of the agent by transitioning to a target playbook.

.google.cloud.dialogflow.cx.v3beta1.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the playbookTransition field is set.

hasStartTime()

public boolean hasStartTime()

Output only. Timestamp of the start of the agent action.

.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasStatus()

public boolean hasStatus()

Optional. Output only. The status of the action.

.google.cloud.dialogflow.cx.v3beta1.Status status = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the status field is set.

hasStt()

public boolean hasStt()

Optional. Speech-to-text action performed by the agent.

.google.cloud.dialogflow.cx.v3beta1.Action.STT stt = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the stt field is set.

hasToolUse()

public 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.

hasTts()

public boolean hasTts()

Optional. Text-to-speech action performed by the agent.

.google.cloud.dialogflow.cx.v3beta1.Action.TTS tts = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the tts field is set.

hasUserUtterance()

public 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Action.Builder newBuilderForType()
Returns
Type Description
Action.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Action.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Action.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Action.Builder toBuilder()
Returns
Type Description
Action.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException