public static final class GeneratorSuggestion.ToolCallInfo extends GeneratedMessage implements GeneratorSuggestion.ToolCallInfoOrBuilderRequest and response for a tool call.
Protobuf type google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GeneratorSuggestion.ToolCallInfoImplements
GeneratorSuggestion.ToolCallInfoOrBuilderStatic Fields
TOOL_CALL_FIELD_NUMBER
public static final int TOOL_CALL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TOOL_CALL_RESULT_FIELD_NUMBER
public static final int TOOL_CALL_RESULT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static GeneratorSuggestion.ToolCallInfo getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static GeneratorSuggestion.ToolCallInfo.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo.Builder |
|
newBuilder(GeneratorSuggestion.ToolCallInfo prototype)
public static GeneratorSuggestion.ToolCallInfo.Builder newBuilder(GeneratorSuggestion.ToolCallInfo prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
GeneratorSuggestion.ToolCallInfo |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo.Builder |
|
parseDelimitedFrom(InputStream input)
public static GeneratorSuggestion.ToolCallInfo parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GeneratorSuggestion.ToolCallInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static GeneratorSuggestion.ToolCallInfo parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GeneratorSuggestion.ToolCallInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static GeneratorSuggestion.ToolCallInfo parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GeneratorSuggestion.ToolCallInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static GeneratorSuggestion.ToolCallInfo parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GeneratorSuggestion.ToolCallInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static GeneratorSuggestion.ToolCallInfo parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GeneratorSuggestion.ToolCallInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static GeneratorSuggestion.ToolCallInfo parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GeneratorSuggestion.ToolCallInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<GeneratorSuggestion.ToolCallInfo> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ToolCallInfo> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public GeneratorSuggestion.ToolCallInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo |
|
getParserForType()
public Parser<GeneratorSuggestion.ToolCallInfo> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ToolCallInfo> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getToolCall()
public ToolCall getToolCall()Required. Request for a tool call.
.google.cloud.dialogflow.v2.ToolCall tool_call = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolCall |
The toolCall. |
getToolCallOrBuilder()
public ToolCallOrBuilder getToolCallOrBuilder()Required. Request for a tool call.
.google.cloud.dialogflow.v2.ToolCall tool_call = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolCallOrBuilder |
|
getToolCallResult()
public ToolCallResult getToolCallResult()Required. Response for a tool call.
.google.cloud.dialogflow.v2.ToolCallResult tool_call_result = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolCallResult |
The toolCallResult. |
getToolCallResultOrBuilder()
public ToolCallResultOrBuilder getToolCallResultOrBuilder()Required. Response for a tool call.
.google.cloud.dialogflow.v2.ToolCallResult tool_call_result = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ToolCallResultOrBuilder |
|
hasToolCall()
public boolean hasToolCall()Required. Request for a tool call.
.google.cloud.dialogflow.v2.ToolCall tool_call = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the toolCall field is set. |
hasToolCallResult()
public boolean hasToolCallResult()Required. Response for a tool call.
.google.cloud.dialogflow.v2.ToolCallResult tool_call_result = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the toolCallResult field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public GeneratorSuggestion.ToolCallInfo.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GeneratorSuggestion.ToolCallInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo.Builder |
|
toBuilder()
public GeneratorSuggestion.ToolCallInfo.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
GeneratorSuggestion.ToolCallInfo.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|