Class BidiStreamingAnalyzeContentResponse.ToolCall (4.100.0)

public static final class BidiStreamingAnalyzeContentResponse.ToolCall extends GeneratedMessage implements BidiStreamingAnalyzeContentResponse.ToolCallOrBuilder

Request for the client to execute the specified tool.

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

Inheritance

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

Static Fields

ARGS_FIELD_NUMBER

public static final int ARGS_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

TOOL_FIELD_NUMBER

public static final int TOOL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(BidiStreamingAnalyzeContentResponse.ToolCall prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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.

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.ToolCall.Builder newBuilderForType()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ToolCall.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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