Class Action
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3.Action
- All Implemented Interfaces:
ActionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Action
extends com.google.protobuf.GeneratedMessage
implements ActionOrBuilder
Action performed by end user or Dialogflow agent in the conversation.Protobuf type
google.cloud.dialogflow.cx.v3.Action- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classAction performed by end user or Dialogflow agent in the conversation.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.static Actionstatic final com.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.Optional.com.google.protobuf.Parser<Action>Optional.Optional.Optional.Optional.intOptional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.inthashCode()booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Action.Builderstatic Action.BuildernewBuilder(Action prototype) protected Action.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ActionparseDelimitedFrom(InputStream input) static ActionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionparseFrom(byte[] data) static ActionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionparseFrom(com.google.protobuf.ByteString data) static ActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionparseFrom(com.google.protobuf.CodedInputStream input) static ActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionparseFrom(InputStream input) static ActionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ActionparseFrom(ByteBuffer data) static ActionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Action>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
USER_UTTERANCE_FIELD_NUMBER
public static final int USER_UTTERANCE_FIELD_NUMBER- See Also:
-
AGENT_UTTERANCE_FIELD_NUMBER
public static final int AGENT_UTTERANCE_FIELD_NUMBER- See Also:
-
TOOL_USE_FIELD_NUMBER
public static final int TOOL_USE_FIELD_NUMBER- See Also:
-
PLAYBOOK_INVOCATION_FIELD_NUMBER
public static final int PLAYBOOK_INVOCATION_FIELD_NUMBER- See Also:
-
FLOW_INVOCATION_FIELD_NUMBER
public static final int FLOW_INVOCATION_FIELD_NUMBER- See Also:
-
PLAYBOOK_TRANSITION_FIELD_NUMBER
public static final int PLAYBOOK_TRANSITION_FIELD_NUMBER- See Also:
-
FLOW_TRANSITION_FIELD_NUMBER
public static final int FLOW_TRANSITION_FIELD_NUMBER- See Also:
-
-
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
-
getActionCase
- Specified by:
getActionCasein interfaceActionOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Action parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Action parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Action parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Action parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Action parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Action.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-