public static interface StreamingReactiveCompanionSuggestionsResponse.ReactiveModeResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getGroundingMetadata()
public abstract GroundingMetadata getGroundingMetadata()Optional. Grounding metadata for the generated response.
.google.cloud.dialogflow.v2.GroundingMetadata grounding_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GroundingMetadata |
The groundingMetadata. |
getGroundingMetadataOrBuilder()
public abstract GroundingMetadataOrBuilder getGroundingMetadataOrBuilder()Optional. Grounding metadata for the generated response.
.google.cloud.dialogflow.v2.GroundingMetadata grounding_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GroundingMetadataOrBuilder |
|
getResponse()
public abstract String getResponse()Optional. The full reactive suggestion generated by the Companion Agent. After the last streaming chunk is sent, this is the final response concatenating all the streaming response chunks together to represent the full reactive suggestion.
string response = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The response. |
getResponseBytes()
public abstract ByteString getResponseBytes()Optional. The full reactive suggestion generated by the Companion Agent. After the last streaming chunk is sent, this is the final response concatenating all the streaming response chunks together to represent the full reactive suggestion.
string response = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for response. |
getToolCalls(int index)
public abstract ToolCallSuggestion getToolCalls(int index)Optional. Captures all the rich structured tool calls and their associated citations used by the reactive agent to generate the reactive suggestion.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_calls = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestion |
|
getToolCallsCount()
public abstract int getToolCallsCount()Optional. Captures all the rich structured tool calls and their associated citations used by the reactive agent to generate the reactive suggestion.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_calls = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getToolCallsList()
public abstract List<ToolCallSuggestion> getToolCallsList()Optional. Captures all the rich structured tool calls and their associated citations used by the reactive agent to generate the reactive suggestion.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_calls = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ToolCallSuggestion> |
|
getToolCallsOrBuilder(int index)
public abstract ToolCallSuggestionOrBuilder getToolCallsOrBuilder(int index)Optional. Captures all the rich structured tool calls and their associated citations used by the reactive agent to generate the reactive suggestion.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_calls = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ToolCallSuggestionOrBuilder |
|
getToolCallsOrBuilderList()
public abstract List<? extends ToolCallSuggestionOrBuilder> getToolCallsOrBuilderList()Optional. Captures all the rich structured tool calls and their associated citations used by the reactive agent to generate the reactive suggestion.
repeated .google.cloud.dialogflow.v2.ToolCallSuggestion tool_calls = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2.ToolCallSuggestionOrBuilder> |
|
hasGroundingMetadata()
public abstract boolean hasGroundingMetadata()Optional. Grounding metadata for the generated response.
.google.cloud.dialogflow.v2.GroundingMetadata grounding_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the groundingMetadata field is set. |