Class BidiStreamingAnalyzeContentResponse.ToolCalls.Builder (4.100.0)

public static final class BidiStreamingAnalyzeContentResponse.ToolCalls.Builder extends GeneratedMessage.Builder<BidiStreamingAnalyzeContentResponse.ToolCalls.Builder> implements BidiStreamingAnalyzeContentResponse.ToolCallsOrBuilder

The tool calls from the server.

Protobuf type google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCalls

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllToolCalls(Iterable<? extends BidiStreamingAnalyzeContentResponse.ToolCall> values)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder addAllToolCalls(Iterable<? extends BidiStreamingAnalyzeContentResponse.ToolCall> values)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall>
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

addToolCalls(BidiStreamingAnalyzeContentResponse.ToolCall value)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder addToolCalls(BidiStreamingAnalyzeContentResponse.ToolCall value)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameter
Name Description
value BidiStreamingAnalyzeContentResponse.ToolCall
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

addToolCalls(BidiStreamingAnalyzeContentResponse.ToolCall.Builder builderForValue)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder addToolCalls(BidiStreamingAnalyzeContentResponse.ToolCall.Builder builderForValue)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameter
Name Description
builderForValue BidiStreamingAnalyzeContentResponse.ToolCall.Builder
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

addToolCalls(int index, BidiStreamingAnalyzeContentResponse.ToolCall value)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder addToolCalls(int index, BidiStreamingAnalyzeContentResponse.ToolCall value)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameters
Name Description
index int
value BidiStreamingAnalyzeContentResponse.ToolCall
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

addToolCalls(int index, BidiStreamingAnalyzeContentResponse.ToolCall.Builder builderForValue)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder addToolCalls(int index, BidiStreamingAnalyzeContentResponse.ToolCall.Builder builderForValue)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameters
Name Description
index int
builderForValue BidiStreamingAnalyzeContentResponse.ToolCall.Builder
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

addToolCallsBuilder()

public BidiStreamingAnalyzeContentResponse.ToolCall.Builder addToolCallsBuilder()

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCall.Builder

addToolCallsBuilder(int index)

public BidiStreamingAnalyzeContentResponse.ToolCall.Builder addToolCallsBuilder(int index)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameter
Name Description
index int
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCall.Builder

build()

public BidiStreamingAnalyzeContentResponse.ToolCalls build()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls

buildPartial()

public BidiStreamingAnalyzeContentResponse.ToolCalls buildPartial()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls

clear()

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder clear()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder
Overrides

clearToolCalls()

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder clearToolCalls()

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

getDefaultInstanceForType()

public BidiStreamingAnalyzeContentResponse.ToolCalls getDefaultInstanceForType()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getToolCalls(int index)

public BidiStreamingAnalyzeContentResponse.ToolCall getToolCalls(int index)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameter
Name Description
index int
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCall

getToolCallsBuilder(int index)

public BidiStreamingAnalyzeContentResponse.ToolCall.Builder getToolCallsBuilder(int index)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameter
Name Description
index int
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCall.Builder

getToolCallsBuilderList()

public List<BidiStreamingAnalyzeContentResponse.ToolCall.Builder> getToolCallsBuilderList()

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Returns
Type Description
List<Builder>

getToolCallsCount()

public int getToolCallsCount()

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Returns
Type Description
int

getToolCallsList()

public List<BidiStreamingAnalyzeContentResponse.ToolCall> getToolCallsList()

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Returns
Type Description
List<ToolCall>

getToolCallsOrBuilder(int index)

public BidiStreamingAnalyzeContentResponse.ToolCallOrBuilder getToolCallsOrBuilder(int index)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameter
Name Description
index int
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCallOrBuilder

getToolCallsOrBuilderList()

public List<? extends BidiStreamingAnalyzeContentResponse.ToolCallOrBuilder> getToolCallsOrBuilderList()

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCallOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BidiStreamingAnalyzeContentResponse.ToolCalls other)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder mergeFrom(BidiStreamingAnalyzeContentResponse.ToolCalls other)
Parameter
Name Description
other BidiStreamingAnalyzeContentResponse.ToolCalls
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder
Overrides

removeToolCalls(int index)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder removeToolCalls(int index)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameter
Name Description
index int
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

setToolCalls(int index, BidiStreamingAnalyzeContentResponse.ToolCall value)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder setToolCalls(int index, BidiStreamingAnalyzeContentResponse.ToolCall value)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameters
Name Description
index int
value BidiStreamingAnalyzeContentResponse.ToolCall
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

setToolCalls(int index, BidiStreamingAnalyzeContentResponse.ToolCall.Builder builderForValue)

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder setToolCalls(int index, BidiStreamingAnalyzeContentResponse.ToolCall.Builder builderForValue)

The list of tool calls.

repeated .google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.ToolCall tool_calls = 1;

Parameters
Name Description
index int
builderForValue BidiStreamingAnalyzeContentResponse.ToolCall.Builder
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder