public static interface HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDocuments(int index)
public abstract String getDocuments(int index) Required. Knowledge documents to query from. Format:
projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>.
Currently, only one document is supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The documents at the given index. |
getDocumentsBytes(int index)
public abstract ByteString getDocumentsBytes(int index) Required. Knowledge documents to query from. Format:
projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>.
Currently, only one document is supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the documents at the given index. |
getDocumentsCount()
public abstract int getDocumentsCount() Required. Knowledge documents to query from. Format:
projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>.
Currently, only one document is supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| int | The count of documents. |
getDocumentsList()
public abstract List<String> getDocumentsList() Required. Knowledge documents to query from. Format:
projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>.
Currently, only one document is supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| List<String> | A list containing the documents. |