Enum MockConfig.UnmatchedToolCallBehavior (0.9.0)

public enum MockConfig.UnmatchedToolCallBehavior extends Enum<MockConfig.UnmatchedToolCallBehavior> implements ProtocolMessageEnum

What to do when a tool call doesn't match any mocked tool calls.

Protobuf enum google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior

Implements

ProtocolMessageEnum

Static Fields

Name Description
FAIL

Throw an error for any tool calls that don't match a mock expected input pattern.

FAIL = 1;

FAIL_VALUE

Throw an error for any tool calls that don't match a mock expected input pattern.

FAIL = 1;

PASS_THROUGH

For unmatched tool calls, pass the tool call through to real tool.

PASS_THROUGH = 2;

PASS_THROUGH_VALUE

For unmatched tool calls, pass the tool call through to real tool.

PASS_THROUGH = 2;

UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED

Default value. This value is unused.

UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED = 0;

UNMATCHED_TOOL_CALL_BEHAVIOR_UNSPECIFIED_VALUE

Default value. This value is unused.

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