Interface ToolFakeConfigOrBuilder (0.1.0)

public interface ToolFakeConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCodeBlock()

public abstract CodeBlock getCodeBlock()

Optional. Code block which will be executed instead of a real tool call.

.google.cloud.ces.v1.CodeBlock code_block = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeBlock

The codeBlock.

getCodeBlockOrBuilder()

public abstract CodeBlockOrBuilder getCodeBlockOrBuilder()

Optional. Code block which will be executed instead of a real tool call.

.google.cloud.ces.v1.CodeBlock code_block = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeBlockOrBuilder

getEnableFakeMode()

public abstract boolean getEnableFakeMode()

Optional. Whether the tool is using fake mode.

bool enable_fake_mode = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableFakeMode.

getToolResponseCase()

public abstract ToolFakeConfig.ToolResponseCase getToolResponseCase()
Returns
Type Description
ToolFakeConfig.ToolResponseCase

hasCodeBlock()

public abstract boolean hasCodeBlock()

Optional. Code block which will be executed instead of a real tool call.

.google.cloud.ces.v1.CodeBlock code_block = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the codeBlock field is set.