public interface ExecuteToolResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCitations()
public abstract Citations getCitations()Citations that provide the source information for the tool's execution.
.google.cloud.ces.v1beta.Citations citations = 5;
| Returns | |
|---|---|
| Type | Description |
Citations |
The citations. |
getCitationsOrBuilder()
public abstract CitationsOrBuilder getCitationsOrBuilder()Citations that provide the source information for the tool's execution.
.google.cloud.ces.v1beta.Citations citations = 5;
| Returns | |
|---|---|
| Type | Description |
CitationsOrBuilder |
|
getGoogleSearchSuggestions()
public abstract GoogleSearchSuggestions getGoogleSearchSuggestions()The suggestions returned from Google Search as a result of invoking the Google Search Tool during the tool execution.
.google.cloud.ces.v1beta.GoogleSearchSuggestions google_search_suggestions = 6;
| Returns | |
|---|---|
| Type | Description |
GoogleSearchSuggestions |
The googleSearchSuggestions. |
getGoogleSearchSuggestionsOrBuilder()
public abstract GoogleSearchSuggestionsOrBuilder getGoogleSearchSuggestionsOrBuilder()The suggestions returned from Google Search as a result of invoking the Google Search Tool during the tool execution.
.google.cloud.ces.v1beta.GoogleSearchSuggestions google_search_suggestions = 6;
| Returns | |
|---|---|
| Type | Description |
GoogleSearchSuggestionsOrBuilder |
|
getResponse()
public abstract Struct getResponse()The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result.
.google.protobuf.Struct response = 2;
| Returns | |
|---|---|
| Type | Description |
Struct |
The response. |
getResponseOrBuilder()
public abstract StructOrBuilder getResponseOrBuilder()The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result.
.google.protobuf.Struct response = 2;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getTool()
public abstract String getTool() The name of the tool that got executed.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The tool. |
getToolBytes()
public abstract ByteString getToolBytes() The name of the tool that got executed.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tool. |
getToolIdentifierCase()
public abstract ExecuteToolResponse.ToolIdentifierCase getToolIdentifierCase()| Returns | |
|---|---|
| Type | Description |
ExecuteToolResponse.ToolIdentifierCase |
|
getToolsetTool()
public abstract ToolsetTool getToolsetTool()The toolset tool that got executed.
.google.cloud.ces.v1beta.ToolsetTool toolset_tool = 3;
| Returns | |
|---|---|
| Type | Description |
ToolsetTool |
The toolsetTool. |
getToolsetToolOrBuilder()
public abstract ToolsetToolOrBuilder getToolsetToolOrBuilder()The toolset tool that got executed.
.google.cloud.ces.v1beta.ToolsetTool toolset_tool = 3;
| Returns | |
|---|---|
| Type | Description |
ToolsetToolOrBuilder |
|
getVariables()
public abstract Struct getVariables()The variable values at the end of the tool execution.
.google.protobuf.Struct variables = 4;
| Returns | |
|---|---|
| Type | Description |
Struct |
The variables. |
getVariablesOrBuilder()
public abstract StructOrBuilder getVariablesOrBuilder()The variable values at the end of the tool execution.
.google.protobuf.Struct variables = 4;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
hasCitations()
public abstract boolean hasCitations()Citations that provide the source information for the tool's execution.
.google.cloud.ces.v1beta.Citations citations = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the citations field is set. |
hasGoogleSearchSuggestions()
public abstract boolean hasGoogleSearchSuggestions()The suggestions returned from Google Search as a result of invoking the Google Search Tool during the tool execution.
.google.cloud.ces.v1beta.GoogleSearchSuggestions google_search_suggestions = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the googleSearchSuggestions field is set. |
hasResponse()
public abstract boolean hasResponse()The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result.
.google.protobuf.Struct response = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the response field is set. |
hasTool()
public abstract boolean hasTool() The name of the tool that got executed.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string tool = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tool field is set. |
hasToolsetTool()
public abstract boolean hasToolsetTool()The toolset tool that got executed.
.google.cloud.ces.v1beta.ToolsetTool toolset_tool = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the toolsetTool field is set. |
hasVariables()
public abstract boolean hasVariables()The variable values at the end of the tool execution.
.google.protobuf.Struct variables = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the variables field is set. |