Interface ActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Action,Action.Builder
@Generated
public interface ActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.getEvent()Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.Optional.getStt()Optional.Optional.getSubExecutionSteps(int index) Optional.intOptional.Optional.getSubExecutionStepsOrBuilder(int index) Optional.List<? extends SpanOrBuilder>Optional.Optional.Optional.getTts()Optional.Optional.Optional.Optional.booleanOptional.booleanOutput only.booleanhasEvent()Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOutput only.booleanOptional.booleanhasStt()Optional.booleanOptional.booleanhasTts()Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasUserUtterance
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:
- Whether the userUtterance field is set.
-
getUserUtterance
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:
- The userUtterance.
-
getUserUtteranceOrBuilder
UserUtteranceOrBuilder getUserUtteranceOrBuilder()Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3beta1.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL]; -
hasEvent
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:
- Whether the event field is set.
-
getEvent
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:
- The event.
-
getEventOrBuilder
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]; -
hasAgentUtterance
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:
- Whether the agentUtterance field is set.
-
getAgentUtterance
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:
- The agentUtterance.
-
getAgentUtteranceOrBuilder
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]; -
hasToolUse
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:
- Whether the toolUse field is set.
-
getToolUse
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:
- The toolUse.
-
getToolUseOrBuilder
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]; -
hasLlmCall
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:
- Whether the llmCall field is set.
-
getLlmCall
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:
- The llmCall.
-
getLlmCallOrBuilder
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]; -
hasIntentMatch
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:
- Whether the intentMatch field is set.
-
getIntentMatch
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:
- The intentMatch.
-
getIntentMatchOrBuilder
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]; -
hasFlowStateUpdate
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:
- Whether the flowStateUpdate field is set.
-
getFlowStateUpdate
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:
- The flowStateUpdate.
-
getFlowStateUpdateOrBuilder
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]; -
hasPlaybookInvocation
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:
- Whether the playbookInvocation field is set.
-
getPlaybookInvocation
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:
- The playbookInvocation.
-
getPlaybookInvocationOrBuilder
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]; -
hasFlowInvocation
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:
- Whether the flowInvocation field is set.
-
getFlowInvocation
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:
- The flowInvocation.
-
getFlowInvocationOrBuilder
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]; -
hasPlaybookTransition
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:
- Whether the playbookTransition field is set.
-
getPlaybookTransition
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:
- The playbookTransition.
-
getPlaybookTransitionOrBuilder
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]; -
hasFlowTransition
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:
- Whether the flowTransition field is set.
-
getFlowTransition
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:
- The flowTransition.
-
getFlowTransitionOrBuilder
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]; -
hasTts
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:
- Whether the tts field is set.
-
getTts
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:
- The tts.
-
getTtsOrBuilder
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]; -
hasStt
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:
- Whether the stt field is set.
-
getStt
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:
- The stt.
-
getSttOrBuilder
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]; -
getDisplayName
String getDisplayName()Output only. The display name of the action.
string display_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Output only. The display name of the action.
string display_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for displayName.
-
hasStartTime
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:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.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:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. Timestamp of the start of the agent action.
.google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCompleteTime
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:
- Whether the completeTime field is set.
-
getCompleteTime
com.google.protobuf.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:
- The completeTime.
-
getCompleteTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder()Output only. Timestamp of the completion of the agent action.
.google.protobuf.Timestamp complete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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]; -
getSubExecutionSteps
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]; -
getSubExecutionStepsCount
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]; -
getSubExecutionStepsOrBuilderList
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]; -
getSubExecutionStepsOrBuilder
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]; -
hasStatus
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:
- Whether the status field is set.
-
getStatus
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:
- The status.
-
getStatusOrBuilder
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]; -
getActionCase
Action.ActionCase getActionCase()
-