Class Action.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Action.Builder>
com.google.cloud.dialogflow.cx.v3.Action.Builder
- All Implemented Interfaces:
ActionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Action
public static final class Action.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Action.Builder>
implements ActionOrBuilder
Action performed by end user or Dialogflow agent in the conversation.Protobuf type
google.cloud.dialogflow.cx.v3.Action-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.Optional.Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.mergeToolUse(ToolUse value) Optional.mergeUserUtterance(UserUtterance value) Optional.setAgentUtterance(AgentUtterance value) Optional.setAgentUtterance(AgentUtterance.Builder builderForValue) Optional.setFlowInvocation(FlowInvocation value) Optional.setFlowInvocation(FlowInvocation.Builder builderForValue) Optional.setFlowTransition(FlowTransition value) Optional.setFlowTransition(FlowTransition.Builder builderForValue) Optional.Optional.setPlaybookInvocation(PlaybookInvocation.Builder builderForValue) Optional.Optional.setPlaybookTransition(PlaybookTransition.Builder builderForValue) Optional.setToolUse(ToolUse value) Optional.setToolUse(ToolUse.Builder builderForValue) Optional.setUserUtterance(UserUtterance value) Optional.setUserUtterance(UserUtterance.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Action.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Action.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Action.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Action.Builder>
-
mergeFrom
public Action.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.Builder>- Throws:
IOException
-
getActionCase
- Specified by:
getActionCasein interfaceActionOrBuilder
-
clearAction
-
hasUserUtterance
public boolean hasUserUtterance()Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasUserUtterancein interfaceActionOrBuilder- Returns:
- Whether the userUtterance field is set.
-
getUserUtterance
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserUtterancein interfaceActionOrBuilder- Returns:
- The userUtterance.
-
setUserUtterance
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL]; -
setUserUtterance
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL]; -
mergeUserUtterance
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL]; -
clearUserUtterance
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getUserUtteranceBuilder
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getUserUtteranceOrBuilder
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUserUtteranceOrBuilderin interfaceActionOrBuilder
-
hasAgentUtterance
public boolean hasAgentUtterance()Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAgentUtterancein interfaceActionOrBuilder- Returns:
- Whether the agentUtterance field is set.
-
getAgentUtterance
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAgentUtterancein interfaceActionOrBuilder- Returns:
- The agentUtterance.
-
setAgentUtterance
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setAgentUtterance
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeAgentUtterance
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearAgentUtterance
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getAgentUtteranceBuilder
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getAgentUtteranceOrBuilder
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAgentUtteranceOrBuilderin interfaceActionOrBuilder
-
hasToolUse
public boolean hasToolUse()Optional. Action performed on behalf of the agent by calling a plugin tool.
.google.cloud.dialogflow.cx.v3.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasToolUsein interfaceActionOrBuilder- Returns:
- Whether the toolUse field is set.
-
getToolUse
Optional. Action performed on behalf of the agent by calling a plugin tool.
.google.cloud.dialogflow.cx.v3.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getToolUsein interfaceActionOrBuilder- Returns:
- The toolUse.
-
setToolUse
Optional. Action performed on behalf of the agent by calling a plugin tool.
.google.cloud.dialogflow.cx.v3.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setToolUse
Optional. Action performed on behalf of the agent by calling a plugin tool.
.google.cloud.dialogflow.cx.v3.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeToolUse
Optional. Action performed on behalf of the agent by calling a plugin tool.
.google.cloud.dialogflow.cx.v3.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearToolUse
Optional. Action performed on behalf of the agent by calling a plugin tool.
.google.cloud.dialogflow.cx.v3.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getToolUseBuilder
Optional. Action performed on behalf of the agent by calling a plugin tool.
.google.cloud.dialogflow.cx.v3.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getToolUseOrBuilder
Optional. Action performed on behalf of the agent by calling a plugin tool.
.google.cloud.dialogflow.cx.v3.ToolUse tool_use = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getToolUseOrBuilderin interfaceActionOrBuilder
-
hasPlaybookInvocation
public boolean hasPlaybookInvocation()Optional. Action performed on behalf of the agent by invoking a child playbook.
.google.cloud.dialogflow.cx.v3.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPlaybookInvocationin interfaceActionOrBuilder- Returns:
- Whether the playbookInvocation field is set.
-
getPlaybookInvocation
Optional. Action performed on behalf of the agent by invoking a child playbook.
.google.cloud.dialogflow.cx.v3.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookInvocationin interfaceActionOrBuilder- Returns:
- The playbookInvocation.
-
setPlaybookInvocation
Optional. Action performed on behalf of the agent by invoking a child playbook.
.google.cloud.dialogflow.cx.v3.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setPlaybookInvocation
Optional. Action performed on behalf of the agent by invoking a child playbook.
.google.cloud.dialogflow.cx.v3.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergePlaybookInvocation
Optional. Action performed on behalf of the agent by invoking a child playbook.
.google.cloud.dialogflow.cx.v3.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearPlaybookInvocation
Optional. Action performed on behalf of the agent by invoking a child playbook.
.google.cloud.dialogflow.cx.v3.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookInvocationBuilder
Optional. Action performed on behalf of the agent by invoking a child playbook.
.google.cloud.dialogflow.cx.v3.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookInvocationOrBuilder
Optional. Action performed on behalf of the agent by invoking a child playbook.
.google.cloud.dialogflow.cx.v3.PlaybookInvocation playbook_invocation = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookInvocationOrBuilderin interfaceActionOrBuilder
-
hasFlowInvocation
public boolean hasFlowInvocation()Optional. Action performed on behalf of the agent by invoking a CX flow.
.google.cloud.dialogflow.cx.v3.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasFlowInvocationin interfaceActionOrBuilder- Returns:
- Whether the flowInvocation field is set.
-
getFlowInvocation
Optional. Action performed on behalf of the agent by invoking a CX flow.
.google.cloud.dialogflow.cx.v3.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFlowInvocationin interfaceActionOrBuilder- Returns:
- The flowInvocation.
-
setFlowInvocation
Optional. Action performed on behalf of the agent by invoking a CX flow.
.google.cloud.dialogflow.cx.v3.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setFlowInvocation
Optional. Action performed on behalf of the agent by invoking a CX flow.
.google.cloud.dialogflow.cx.v3.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeFlowInvocation
Optional. Action performed on behalf of the agent by invoking a CX flow.
.google.cloud.dialogflow.cx.v3.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearFlowInvocation
Optional. Action performed on behalf of the agent by invoking a CX flow.
.google.cloud.dialogflow.cx.v3.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getFlowInvocationBuilder
Optional. Action performed on behalf of the agent by invoking a CX flow.
.google.cloud.dialogflow.cx.v3.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getFlowInvocationOrBuilder
Optional. Action performed on behalf of the agent by invoking a CX flow.
.google.cloud.dialogflow.cx.v3.FlowInvocation flow_invocation = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFlowInvocationOrBuilderin interfaceActionOrBuilder
-
hasPlaybookTransition
public boolean hasPlaybookTransition()Optional. Action performed on behalf of the agent by transitioning to a target playbook.
.google.cloud.dialogflow.cx.v3.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPlaybookTransitionin interfaceActionOrBuilder- Returns:
- Whether the playbookTransition field is set.
-
getPlaybookTransition
Optional. Action performed on behalf of the agent by transitioning to a target playbook.
.google.cloud.dialogflow.cx.v3.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookTransitionin interfaceActionOrBuilder- Returns:
- The playbookTransition.
-
setPlaybookTransition
Optional. Action performed on behalf of the agent by transitioning to a target playbook.
.google.cloud.dialogflow.cx.v3.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL]; -
setPlaybookTransition
Optional. Action performed on behalf of the agent by transitioning to a target playbook.
.google.cloud.dialogflow.cx.v3.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL]; -
mergePlaybookTransition
Optional. Action performed on behalf of the agent by transitioning to a target playbook.
.google.cloud.dialogflow.cx.v3.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL]; -
clearPlaybookTransition
Optional. Action performed on behalf of the agent by transitioning to a target playbook.
.google.cloud.dialogflow.cx.v3.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookTransitionBuilder
Optional. Action performed on behalf of the agent by transitioning to a target playbook.
.google.cloud.dialogflow.cx.v3.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaybookTransitionOrBuilder
Optional. Action performed on behalf of the agent by transitioning to a target playbook.
.google.cloud.dialogflow.cx.v3.PlaybookTransition playbook_transition = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPlaybookTransitionOrBuilderin interfaceActionOrBuilder
-
hasFlowTransition
public boolean hasFlowTransition()Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
.google.cloud.dialogflow.cx.v3.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasFlowTransitionin interfaceActionOrBuilder- Returns:
- Whether the flowTransition field is set.
-
getFlowTransition
Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
.google.cloud.dialogflow.cx.v3.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFlowTransitionin interfaceActionOrBuilder- Returns:
- The flowTransition.
-
setFlowTransition
Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
.google.cloud.dialogflow.cx.v3.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL]; -
setFlowTransition
Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
.google.cloud.dialogflow.cx.v3.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL]; -
mergeFlowTransition
Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
.google.cloud.dialogflow.cx.v3.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL]; -
clearFlowTransition
Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
.google.cloud.dialogflow.cx.v3.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getFlowTransitionBuilder
Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
.google.cloud.dialogflow.cx.v3.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getFlowTransitionOrBuilder
Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
.google.cloud.dialogflow.cx.v3.FlowTransition flow_transition = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFlowTransitionOrBuilderin interfaceActionOrBuilder
-