public final class ToolCallEvents extends GeneratedMessage implements ToolCallEventsOrBuilderRepresents events containing tool call execution progress.
Protobuf type google.cloud.dialogflow.v2.ToolCallEvents
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ToolCallEventsImplements
ToolCallEventsOrBuilderStatic Fields
TOOL_CALL_SUGGESTIONS_FIELD_NUMBER
public static final int TOOL_CALL_SUGGESTIONS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ToolCallEvents getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ToolCallEvents.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ToolCallEvents.Builder |
|
newBuilder(ToolCallEvents prototype)
public static ToolCallEvents.Builder newBuilder(ToolCallEvents prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ToolCallEvents |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents.Builder |
|
parseDelimitedFrom(InputStream input)
public static ToolCallEvents parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ToolCallEvents parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ToolCallEvents parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ToolCallEvents parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ToolCallEvents parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ToolCallEvents parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ToolCallEvents parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ToolCallEvents parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ToolCallEvents parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ToolCallEvents parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ToolCallEvents parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ToolCallEvents parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ToolCallEvents> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ToolCallEvents> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ToolCallEvents getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ToolCallEvents |
|
getParserForType()
public Parser<ToolCallEvents> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ToolCallEvents> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getToolCallSuggestions(int index)
public ToolCallSuggestion getToolCallSuggestions(int index)Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion |
|
getToolCallSuggestionsCount()
public int getToolCallSuggestionsCount()Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getToolCallSuggestionsList()
public List<ToolCallSuggestion> getToolCallSuggestionsList()Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ToolCallSuggestion> |
|
getToolCallSuggestionsOrBuilder(int index)
public ToolCallSuggestionOrBuilder getToolCallSuggestionsOrBuilder(int index)Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestionOrBuilder |
|
getToolCallSuggestionsOrBuilderList()
public List<? extends ToolCallSuggestionOrBuilder> getToolCallSuggestionsOrBuilderList()Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2.ToolCallSuggestionOrBuilder> |
|
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 ToolCallEvents.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ToolCallEvents.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ToolCallEvents.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ToolCallEvents.Builder |
|
toBuilder()
public ToolCallEvents.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ToolCallEvents.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|