public static final class BidiStreamingAnalyzeContentResponse.ToolCall.Builder extends GeneratedMessage.Builder<BidiStreamingAnalyzeContentResponse.ToolCall.Builder> implements BidiStreamingAnalyzeContentResponse.ToolCallOrBuilderRequest for the client to execute the specified tool.
Protobuf type
google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BidiStreamingAnalyzeContentResponse.ToolCall.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BidiStreamingAnalyzeContentResponse.ToolCall build()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall |
|
buildPartial()
public BidiStreamingAnalyzeContentResponse.ToolCall buildPartial()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall |
|
clear()
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder clear()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
|
clearArgs()
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder clearArgs()The input parameters and values for the tool in JSON object format.
.google.protobuf.Struct args = 3;
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
|
clearId()
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder clearId()The unique identifier of the tool call.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
This builder for chaining. |
clearTool()
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder clearTool()The identifier of the tool to execute.
string tool = 2;
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
This builder for chaining. |
getArgs()
public Struct getArgs()The input parameters and values for the tool in JSON object format.
.google.protobuf.Struct args = 3;
| Returns | |
|---|---|
| Type | Description |
Struct |
The args. |
getArgsBuilder()
public Struct.Builder getArgsBuilder()The input parameters and values for the tool in JSON object format.
.google.protobuf.Struct args = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getArgsOrBuilder()
public StructOrBuilder getArgsOrBuilder()The input parameters and values for the tool in JSON object format.
.google.protobuf.Struct args = 3;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getDefaultInstanceForType()
public BidiStreamingAnalyzeContentResponse.ToolCall getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()The unique identifier of the tool call.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()The unique identifier of the tool call.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getTool()
public String getTool()The identifier of the tool to execute.
string tool = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The tool. |
getToolBytes()
public ByteString getToolBytes()The identifier of the tool to execute.
string tool = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tool. |
hasArgs()
public boolean hasArgs()The input parameters and values for the tool in JSON object format.
.google.protobuf.Struct args = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the args field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeArgs(Struct value)
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder mergeArgs(Struct value)The input parameters and values for the tool in JSON object format.
.google.protobuf.Struct args = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
|
mergeFrom(BidiStreamingAnalyzeContentResponse.ToolCall other)
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder mergeFrom(BidiStreamingAnalyzeContentResponse.ToolCall other)| Parameter | |
|---|---|
| Name | Description |
other |
BidiStreamingAnalyzeContentResponse.ToolCall |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
|
setArgs(Struct value)
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder setArgs(Struct value)The input parameters and values for the tool in JSON object format.
.google.protobuf.Struct args = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
|
setArgs(Struct.Builder builderForValue)
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder setArgs(Struct.Builder builderForValue)The input parameters and values for the tool in JSON object format.
.google.protobuf.Struct args = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
|
setId(String value)
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder setId(String value)The unique identifier of the tool call.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder setIdBytes(ByteString value)The unique identifier of the tool call.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
This builder for chaining. |
setTool(String value)
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder setTool(String value)The identifier of the tool to execute.
string tool = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tool to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
This builder for chaining. |
setToolBytes(ByteString value)
public BidiStreamingAnalyzeContentResponse.ToolCall.Builder setToolBytes(ByteString value)The identifier of the tool to execute.
string tool = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tool to set. |
| Returns | |
|---|---|
| Type | Description |
BidiStreamingAnalyzeContentResponse.ToolCall.Builder |
This builder for chaining. |