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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDocuments(int index)
Required.com.google.protobuf.ByteString
getDocumentsBytes(int index)
Required.int
getDocumentsCount()
Required.List<String>
getDocumentsList()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDocumentsList
List<String> 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
String getDocuments(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 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.
-
-