public static interface BidiStreamingAnalyzeContentRequest.TurnInput.ToolResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getId()
public abstract String getId()Required. The matching ID of the tool call the response is for.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public abstract ByteString getIdBytes()Required. The matching ID of the tool call the response is for.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getResponse()
public abstract Struct getResponse()Optional. The tool execution result in JSON object format.
.google.protobuf.Struct response = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The response. |
getResponseOrBuilder()
public abstract StructOrBuilder getResponseOrBuilder()Optional. The tool execution result in JSON object format.
.google.protobuf.Struct response = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getTool()
public abstract String getTool()Required. The identifier of the tool that got executed.
string tool = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The tool. |
getToolBytes()
public abstract ByteString getToolBytes()Required. The identifier of the tool that got executed.
string tool = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tool. |
hasResponse()
public abstract boolean hasResponse()Optional. The tool execution result in JSON object format.
.google.protobuf.Struct response = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the response field is set. |