public interface GroundingMetadataOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getGroundingChunks(int index)
public abstract GroundingChunk getGroundingChunks(int index)Optional. A list of supporting references retrieved from the grounding source.
repeated .google.cloud.dialogflow.v2.GroundingChunk grounding_chunks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk |
|
getGroundingChunksCount()
public abstract int getGroundingChunksCount()Optional. A list of supporting references retrieved from the grounding source.
repeated .google.cloud.dialogflow.v2.GroundingChunk grounding_chunks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getGroundingChunksList()
public abstract List<GroundingChunk> getGroundingChunksList()Optional. A list of supporting references retrieved from the grounding source.
repeated .google.cloud.dialogflow.v2.GroundingChunk grounding_chunks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<GroundingChunk> |
|
getGroundingChunksOrBuilder(int index)
public abstract GroundingChunkOrBuilder getGroundingChunksOrBuilder(int index)Optional. A list of supporting references retrieved from the grounding source.
repeated .google.cloud.dialogflow.v2.GroundingChunk grounding_chunks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GroundingChunkOrBuilder |
|
getGroundingChunksOrBuilderList()
public abstract List<? extends GroundingChunkOrBuilder> getGroundingChunksOrBuilderList()Optional. A list of supporting references retrieved from the grounding source.
repeated .google.cloud.dialogflow.v2.GroundingChunk grounding_chunks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2.GroundingChunkOrBuilder> |
|
getGroundingSupports(int index)
public abstract GroundingSupport getGroundingSupports(int index)Optional. A list of grounding supports that connect the generated content to the grounding chunks.
repeated .google.cloud.dialogflow.v2.GroundingSupport grounding_supports = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GroundingSupport |
|
getGroundingSupportsCount()
public abstract int getGroundingSupportsCount()Optional. A list of grounding supports that connect the generated content to the grounding chunks.
repeated .google.cloud.dialogflow.v2.GroundingSupport grounding_supports = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getGroundingSupportsList()
public abstract List<GroundingSupport> getGroundingSupportsList()Optional. A list of grounding supports that connect the generated content to the grounding chunks.
repeated .google.cloud.dialogflow.v2.GroundingSupport grounding_supports = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<GroundingSupport> |
|
getGroundingSupportsOrBuilder(int index)
public abstract GroundingSupportOrBuilder getGroundingSupportsOrBuilder(int index)Optional. A list of grounding supports that connect the generated content to the grounding chunks.
repeated .google.cloud.dialogflow.v2.GroundingSupport grounding_supports = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GroundingSupportOrBuilder |
|
getGroundingSupportsOrBuilderList()
public abstract List<? extends GroundingSupportOrBuilder> getGroundingSupportsOrBuilderList()Optional. A list of grounding supports that connect the generated content to the grounding chunks.
repeated .google.cloud.dialogflow.v2.GroundingSupport grounding_supports = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.v2.GroundingSupportOrBuilder> |
|
getSearchEntryPoint()
public abstract SearchEntryPoint getSearchEntryPoint()Optional. A web search entry point that can be used to display search results.
.google.cloud.dialogflow.v2.SearchEntryPoint search_entry_point = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SearchEntryPoint |
The searchEntryPoint. |
getSearchEntryPointOrBuilder()
public abstract SearchEntryPointOrBuilder getSearchEntryPointOrBuilder()Optional. A web search entry point that can be used to display search results.
.google.cloud.dialogflow.v2.SearchEntryPoint search_entry_point = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SearchEntryPointOrBuilder |
|
getWebSearchQueries(int index)
public abstract String getWebSearchQueries(int index)Optional. The web search queries that were used to generate the content.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The webSearchQueries at the given index. |
getWebSearchQueriesBytes(int index)
public abstract ByteString getWebSearchQueriesBytes(int index)Optional. The web search queries that were used to generate the content.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the webSearchQueries at the given index. |
getWebSearchQueriesCount()
public abstract int getWebSearchQueriesCount()Optional. The web search queries that were used to generate the content.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of webSearchQueries. |
getWebSearchQueriesList()
public abstract List<String> getWebSearchQueriesList()Optional. The web search queries that were used to generate the content.
repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the webSearchQueries. |
hasSearchEntryPoint()
public abstract boolean hasSearchEntryPoint()Optional. A web search entry point that can be used to display search results.
.google.cloud.dialogflow.v2.SearchEntryPoint search_entry_point = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the searchEntryPoint field is set. |