- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Action.Builder extends GeneratedMessageV3.Builder<Action.Builder> implements ActionOrBuilder
Action performed by end user or Dialogflow agent in the conversation.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Action
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Action.BuilderImplements
ActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Action.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.Builder |
build()
public Action build()
Returns | |
---|---|
Type | Description |
Action |
buildPartial()
public Action buildPartial()
Returns | |
---|---|
Type | Description |
Action |
clear()
public Action.Builder clear()
Returns | |
---|---|
Type | Description |
Action.Builder |
clearAction()
public Action.Builder clearAction()
Returns | |
---|---|
Type | Description |
Action.Builder |
clearAgentUtterance()
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];
Returns | |
---|---|
Type | Description |
Action.Builder |
clearField(Descriptors.FieldDescriptor field)
public Action.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Action.Builder |
clearFlowInvocation()
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];
Returns | |
---|---|
Type | Description |
Action.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Action.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Action.Builder |
clearPlaybookInvocation()
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];
Returns | |
---|---|
Type | Description |
Action.Builder |
clearToolUse()
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];
Returns | |
---|---|
Type | Description |
Action.Builder |
clearUserUtterance()
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];
Returns | |
---|---|
Type | Description |
Action.Builder |
clone()
public Action.Builder clone()
Returns | |
---|---|
Type | Description |
Action.Builder |
getActionCase()
public Action.ActionCase getActionCase()
Returns | |
---|---|
Type | Description |
Action.ActionCase |
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];
Returns | |
---|---|
Type | Description |
AgentUtterance |
The agentUtterance. |
getAgentUtteranceBuilder()
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];
Returns | |
---|---|
Type | Description |
AgentUtterance.Builder |
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];
Returns | |
---|---|
Type | Description |
AgentUtteranceOrBuilder |
getDefaultInstanceForType()
public Action getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Action |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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];
Returns | |
---|---|
Type | Description |
FlowInvocation |
The flowInvocation. |
getFlowInvocationBuilder()
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];
Returns | |
---|---|
Type | Description |
FlowInvocation.Builder |
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];
Returns | |
---|---|
Type | Description |
FlowInvocationOrBuilder |
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];
Returns | |
---|---|
Type | Description |
PlaybookInvocation |
The playbookInvocation. |
getPlaybookInvocationBuilder()
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];
Returns | |
---|---|
Type | Description |
PlaybookInvocation.Builder |
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];
Returns | |
---|---|
Type | Description |
PlaybookInvocationOrBuilder |
getToolUse()
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. |
getToolUseBuilder()
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];
Returns | |
---|---|
Type | Description |
ToolUse.Builder |
getToolUseOrBuilder()
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];
Returns | |
---|---|
Type | Description |
ToolUseOrBuilder |
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];
Returns | |
---|---|
Type | Description |
UserUtterance |
The userUtterance. |
getUserUtteranceBuilder()
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];
Returns | |
---|---|
Type | Description |
UserUtterance.Builder |
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];
Returns | |
---|---|
Type | Description |
UserUtteranceOrBuilder |
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. |
hasToolUse()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAgentUtterance(AgentUtterance value)
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];
Parameter | |
---|---|
Name | Description |
value |
AgentUtterance |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeFlowInvocation(FlowInvocation value)
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];
Parameter | |
---|---|
Name | Description |
value |
FlowInvocation |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeFrom(Action other)
public Action.Builder mergeFrom(Action other)
Parameter | |
---|---|
Name | Description |
other |
Action |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Action.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Action.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Action.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergePlaybookInvocation(PlaybookInvocation value)
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];
Parameter | |
---|---|
Name | Description |
value |
PlaybookInvocation |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeToolUse(ToolUse value)
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];
Parameter | |
---|---|
Name | Description |
value |
ToolUse |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Action.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Action.Builder |
mergeUserUtterance(UserUtterance value)
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];
Parameter | |
---|---|
Name | Description |
value |
UserUtterance |
Returns | |
---|---|
Type | Description |
Action.Builder |
setAgentUtterance(AgentUtterance value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
AgentUtterance |
Returns | |
---|---|
Type | Description |
Action.Builder |
setAgentUtterance(AgentUtterance.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
AgentUtterance.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Action.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.Builder |
setFlowInvocation(FlowInvocation value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
FlowInvocation |
Returns | |
---|---|
Type | Description |
Action.Builder |
setFlowInvocation(FlowInvocation.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
FlowInvocation.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |
setPlaybookInvocation(PlaybookInvocation value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
PlaybookInvocation |
Returns | |
---|---|
Type | Description |
Action.Builder |
setPlaybookInvocation(PlaybookInvocation.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
PlaybookInvocation.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Action.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.Builder |
setToolUse(ToolUse value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
ToolUse |
Returns | |
---|---|
Type | Description |
Action.Builder |
setToolUse(ToolUse.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
ToolUse.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Action.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Action.Builder |
setUserUtterance(UserUtterance value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
UserUtterance |
Returns | |
---|---|
Type | Description |
Action.Builder |
setUserUtterance(UserUtterance.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
UserUtterance.Builder |
Returns | |
---|---|
Type | Description |
Action.Builder |