public static final class Action.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder> implements ActionOrBuilder
Action performed by end user or Dialogflow agent in the conversation.Protobuf type
google.cloud.dialogflow.cx.v3beta1.ActiongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public Action.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public Action getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Action build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Action buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Action.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public Action.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public Action.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public Action.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public Action.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public Action.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public Action.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Action.Builder>public Action.Builder mergeFrom(Action other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public Action.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Action.Builder>IOExceptionpublic Action.ActionCase getActionCase()
getActionCase in interface ActionOrBuilderpublic Action.Builder clearAction()
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];
hasUserUtterance in interface ActionOrBuilderpublic UserUtterance getUserUtterance()
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3beta1.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];
getUserUtterance in interface ActionOrBuilderpublic Action.Builder setUserUtterance(UserUtterance value)
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3beta1.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];
public Action.Builder setUserUtterance(UserUtterance.Builder builderForValue)
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3beta1.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];
public Action.Builder mergeUserUtterance(UserUtterance value)
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3beta1.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];
public Action.Builder clearUserUtterance()
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3beta1.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];
public UserUtterance.Builder getUserUtteranceBuilder()
Optional. Agent obtained a message from the customer.
.google.cloud.dialogflow.cx.v3beta1.UserUtterance user_utterance = 1 [(.google.api.field_behavior) = OPTIONAL];
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];
getUserUtteranceOrBuilder in interface ActionOrBuilderpublic 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];
hasAgentUtterance in interface ActionOrBuilderpublic 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];
getAgentUtterance in interface ActionOrBuilderpublic Action.Builder setAgentUtterance(AgentUtterance value)
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3beta1.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];
public Action.Builder setAgentUtterance(AgentUtterance.Builder builderForValue)
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3beta1.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];
public Action.Builder mergeAgentUtterance(AgentUtterance value)
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3beta1.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];
public Action.Builder clearAgentUtterance()
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3beta1.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];
public AgentUtterance.Builder getAgentUtteranceBuilder()
Optional. Action performed by the agent as a message.
.google.cloud.dialogflow.cx.v3beta1.AgentUtterance agent_utterance = 2 [(.google.api.field_behavior) = OPTIONAL];
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];
getAgentUtteranceOrBuilder in interface ActionOrBuilderpublic 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];
hasToolUse in interface ActionOrBuilderpublic 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];
getToolUse in interface ActionOrBuilderpublic Action.Builder setToolUse(ToolUse value)
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];
public Action.Builder setToolUse(ToolUse.Builder builderForValue)
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];
public Action.Builder mergeToolUse(ToolUse value)
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];
public Action.Builder clearToolUse()
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];
public ToolUse.Builder getToolUseBuilder()
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];
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];
getToolUseOrBuilder in interface ActionOrBuilderpublic 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];
hasPlaybookInvocation in interface ActionOrBuilderpublic 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];
getPlaybookInvocation in interface ActionOrBuilderpublic Action.Builder setPlaybookInvocation(PlaybookInvocation value)
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];
public Action.Builder setPlaybookInvocation(PlaybookInvocation.Builder builderForValue)
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];
public Action.Builder mergePlaybookInvocation(PlaybookInvocation value)
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];
public Action.Builder clearPlaybookInvocation()
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];
public PlaybookInvocation.Builder getPlaybookInvocationBuilder()
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];
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];
getPlaybookInvocationOrBuilder in interface ActionOrBuilderpublic 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];
hasFlowInvocation in interface ActionOrBuilderpublic 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];
getFlowInvocation in interface ActionOrBuilderpublic Action.Builder setFlowInvocation(FlowInvocation value)
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];
public Action.Builder setFlowInvocation(FlowInvocation.Builder builderForValue)
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];
public Action.Builder mergeFlowInvocation(FlowInvocation value)
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];
public Action.Builder clearFlowInvocation()
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];
public FlowInvocation.Builder getFlowInvocationBuilder()
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];
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];
getFlowInvocationOrBuilder in interface ActionOrBuilderpublic final Action.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>public final Action.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Action.Builder>Copyright © 2025 Google LLC. All rights reserved.