public static final class ToolCallEvents.Builder extends GeneratedMessage.Builder<ToolCallEvents.Builder> implements ToolCallEventsOrBuilder
Represents events containing tool call execution progress.
Protobuf type google.cloud.dialogflow.v2.ToolCallEvents
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ToolCallEvents.Builder addAllToolCallSuggestions(Iterable<? extends ToolCallSuggestion> values)
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 |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.ToolCallSuggestion>
|
public ToolCallEvents.Builder addToolCallSuggestions(ToolCallSuggestion value)
Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
public ToolCallEvents.Builder addToolCallSuggestions(ToolCallSuggestion.Builder builderForValue)
Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
public ToolCallEvents.Builder addToolCallSuggestions(int index, ToolCallSuggestion value)
Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
public ToolCallEvents.Builder addToolCallSuggestions(int index, ToolCallSuggestion.Builder builderForValue)
Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
public ToolCallSuggestion.Builder addToolCallSuggestionsBuilder()
Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
public ToolCallSuggestion.Builder addToolCallSuggestionsBuilder(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
|
public ToolCallEvents build()
public ToolCallEvents buildPartial()
public ToolCallEvents.Builder clear()
Overrides
public ToolCallEvents.Builder clearToolCallSuggestions()
Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
public ToolCallEvents getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
public ToolCallSuggestion.Builder getToolCallSuggestionsBuilder(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
|
public List<ToolCallSuggestion.Builder> getToolCallSuggestionsBuilderList()
Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
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 |
|
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];
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
|
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> |
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ToolCallEvents.Builder mergeFrom(ToolCallEvents other)
public ToolCallEvents.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ToolCallEvents.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public ToolCallEvents.Builder removeToolCallSuggestions(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
|
public ToolCallEvents.Builder setToolCallSuggestions(int index, ToolCallSuggestion value)
Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];
public ToolCallEvents.Builder setToolCallSuggestions(int index, ToolCallSuggestion.Builder builderForValue)
Optional. Tool call suggestions associated with these events.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_call_suggestions = 1 [(.google.api.field_behavior) = OPTIONAL];