Enum SuggestionInput.Action (4.87.0)

public enum SuggestionInput.Action extends Enum<SuggestionInput.Action> implements ProtocolMessageEnum

Indicate what type of action to take with the tool call.

Protobuf enum google.cloud.dialogflow.v2.SuggestionInput.Action

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTION_UNSPECIFIED

Action not specified.

ACTION_UNSPECIFIED = 0;

ACTION_UNSPECIFIED_VALUE

Action not specified.

ACTION_UNSPECIFIED = 0;

CANCEL

Indicates the user chooses to not make the tool call. It is only applicable to tool calls that are waiting for user confirmation.

CANCEL = 1;

CANCEL_VALUE

Indicates the user chooses to not make the tool call. It is only applicable to tool calls that are waiting for user confirmation.

CANCEL = 1;

CONFIRM

Makes the tool call with provided parameters. This action is intended for tool calls that may write data.

CONFIRM = 3;

CONFIRM_VALUE

Makes the tool call with provided parameters. This action is intended for tool calls that may write data.

CONFIRM = 3;

REVISE

Makes the tool call with provided parameters. This action is intended for tool calls that only read but not write data.

REVISE = 2;

REVISE_VALUE

Makes the tool call with provided parameters. This action is intended for tool calls that only read but not write data.

REVISE = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()