Interface MockConfigOrBuilder (0.9.0)

public interface MockConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMockedToolCalls(int index)

public abstract MockedToolCall getMockedToolCalls(int index)

Optional. All tool calls to mock for the duration of the session.

repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MockedToolCall

getMockedToolCallsCount()

public abstract int getMockedToolCallsCount()

Optional. All tool calls to mock for the duration of the session.

repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getMockedToolCallsList()

public abstract List<MockedToolCall> getMockedToolCallsList()

Optional. All tool calls to mock for the duration of the session.

repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<MockedToolCall>

getMockedToolCallsOrBuilder(int index)

public abstract MockedToolCallOrBuilder getMockedToolCallsOrBuilder(int index)

Optional. All tool calls to mock for the duration of the session.

repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MockedToolCallOrBuilder

getMockedToolCallsOrBuilderList()

public abstract List<? extends MockedToolCallOrBuilder> getMockedToolCallsOrBuilderList()

Optional. All tool calls to mock for the duration of the session.

repeated .google.cloud.ces.v1beta.MockedToolCall mocked_tool_calls = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.MockedToolCallOrBuilder>

getUnmatchedToolCallBehavior()

public abstract MockConfig.UnmatchedToolCallBehavior getUnmatchedToolCallBehavior()

Required. Beavhior for tool calls that don't match any args patterns in mocked_tool_calls.

.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MockConfig.UnmatchedToolCallBehavior

The unmatchedToolCallBehavior.

getUnmatchedToolCallBehaviorValue()

public abstract int getUnmatchedToolCallBehaviorValue()

Required. Beavhior for tool calls that don't match any args patterns in mocked_tool_calls.

.google.cloud.ces.v1beta.MockConfig.UnmatchedToolCallBehavior unmatched_tool_call_behavior = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for unmatchedToolCallBehavior.