Enum App.ToolExecutionMode (0.1.0)

public enum App.ToolExecutionMode extends Enum<App.ToolExecutionMode> implements ProtocolMessageEnum

Defines the tool execution behavior if there are multiple tools being selected by the agent at the same time.

Protobuf enum google.cloud.ces.v1.App.ToolExecutionMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
PARALLEL

If there are multiple tools being selected, they will be executed in parallel, with the same ToolContext.

PARALLEL = 1;

PARALLEL_VALUE

If there are multiple tools being selected, they will be executed in parallel, with the same ToolContext.

PARALLEL = 1;

SEQUENTIAL

If there are multiple tools being selected, they will be executed sequentially. The next tool will only be executed after the previous tool completes and it can see updated ToolContext from the previous tool.

SEQUENTIAL = 2;

SEQUENTIAL_VALUE

If there are multiple tools being selected, they will be executed sequentially. The next tool will only be executed after the previous tool completes and it can see updated ToolContext from the previous tool.

SEQUENTIAL = 2;

TOOL_EXECUTION_MODE_UNSPECIFIED

Unspecified tool execution mode. Default to PARALLEL.

TOOL_EXECUTION_MODE_UNSPECIFIED = 0;

TOOL_EXECUTION_MODE_UNSPECIFIED_VALUE

Unspecified tool execution mode. Default to PARALLEL.

TOOL_EXECUTION_MODE_UNSPECIFIED = 0;

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()