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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AGENT_UTTERANCE_FIELD_NUMBER
public static final int AGENT_UTTERANCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FLOW_INVOCATION_FIELD_NUMBER
public static final int FLOW_INVOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PLAYBOOK_INVOCATION_FIELD_NUMBER
public static final int PLAYBOOK_INVOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TOOL_USE_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()
newBuilder()
public static Action.Builder newBuilder()
newBuilder(Action prototype)
public static Action.Builder newBuilder(Action prototype)
Parameter |
Name |
Description |
prototype |
Action
|
public static Action parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Action |
|
public static Action parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
parseFrom(byte[] data)
public static Action parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Action |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
parseFrom(ByteString data)
public static Action parseFrom(ByteString data)
Returns |
Type |
Description |
Action |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(InputStream input)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
parseFrom(ByteBuffer data)
public static Action parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Action |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Action parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
parser()
public static Parser<Action> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getActionCase()
public Action.ActionCase getActionCase()
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];
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];
getDefaultInstanceForType()
public Action getDefaultInstanceForType()
Returns |
Type |
Description |
Action |
|
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];
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];
getParserForType()
public Parser<Action> getParserForType()
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];
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];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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];
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];
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];
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.
|
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.
|
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.
|
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.
|
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Action.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Action.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Action.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides