Package com.google.cloud.dialogflow.v2
Interface HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource,HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.Builder
- Enclosing class:
- HumanAgentAssistantConfig.SuggestionQueryConfig
public static interface HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDocuments(int index) Required.com.google.protobuf.ByteStringgetDocumentsBytes(int index) Required.intRequired.Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDocumentsList
Required. Knowledge documents to query from. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`. Currently, at most 5 documents are supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- A list containing the documents.
-
getDocumentsCount
int getDocumentsCount()Required. Knowledge documents to query from. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`. Currently, at most 5 documents are supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The count of documents.
-
getDocuments
Required. Knowledge documents to query from. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`. Currently, at most 5 documents are supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The documents at the given index.
-
getDocumentsBytes
com.google.protobuf.ByteString getDocumentsBytes(int index) Required. Knowledge documents to query from. Format: `projects/<Project ID>/locations/<Location ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`. Currently, at most 5 documents are supported.
repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the documents at the given index.
-