Class BidiStreamingAnalyzeContentResponse.ToolCalls (4.100.0)

public static final class BidiStreamingAnalyzeContentResponse.ToolCalls extends GeneratedMessage implements BidiStreamingAnalyzeContentResponse.ToolCallsOrBuilder

The tool calls from the server.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BidiStreamingAnalyzeContentResponse.ToolCalls

Static Fields

TOOL_CALLS_FIELD_NUMBER

public static final int TOOL_CALLS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BidiStreamingAnalyzeContentResponse.ToolCalls getDefaultInstance()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls

getDescriptor()

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

newBuilder()

public static BidiStreamingAnalyzeContentResponse.ToolCalls.Builder newBuilder()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

newBuilder(BidiStreamingAnalyzeContentResponse.ToolCalls prototype)

public static BidiStreamingAnalyzeContentResponse.ToolCalls.Builder newBuilder(BidiStreamingAnalyzeContentResponse.ToolCalls prototype)
Parameter
Name Description
prototype BidiStreamingAnalyzeContentResponse.ToolCalls
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

parseDelimitedFrom(InputStream input)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse.ToolCalls parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BidiStreamingAnalyzeContentResponse.ToolCalls> parser()
Returns
Type Description
Parser<ToolCalls>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<BidiStreamingAnalyzeContentResponse.ToolCalls> getParserForType()
Returns
Type Description
Parser<ToolCalls>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder newBuilderForType()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected BidiStreamingAnalyzeContentResponse.ToolCalls.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder
Overrides

toBuilder()

public BidiStreamingAnalyzeContentResponse.ToolCalls.Builder toBuilder()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCalls.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException