Interface ToolCallSuggestionOrBuilder (4.105.0)

public interface ToolCallSuggestionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTextUpdate()

public abstract String getTextUpdate()

Optional. The conversational text update generated by the agent accompanying this tool call (e.g. "The status of your order 12345 is currently being retrieved..."). This is a status update emitted alongside in-flight tool execution and is not accumulated into the final response.

string text_update = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The textUpdate.

getTextUpdateBytes()

public abstract ByteString getTextUpdateBytes()

Optional. The conversational text update generated by the agent accompanying this tool call (e.g. "The status of your order 12345 is currently being retrieved..."). This is a status update emitted alongside in-flight tool execution and is not accumulated into the final response.

string text_update = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for textUpdate.

getToolCallInfo()

public abstract GeneratorSuggestion.ToolCallInfo getToolCallInfo()

Optional. Tool execution request/response details.

.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GeneratorSuggestion.ToolCallInfo

The toolCallInfo.

getToolCallInfoOrBuilder()

public abstract GeneratorSuggestion.ToolCallInfoOrBuilder getToolCallInfoOrBuilder()

Optional. Tool execution request/response details.

.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GeneratorSuggestion.ToolCallInfoOrBuilder

hasToolCallInfo()

public abstract boolean hasToolCallInfo()

Optional. Tool execution request/response details.

.google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the toolCallInfo field is set.