Interface HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySourceOrBuilder

    • 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.MessageLiteOrBuilder

        isInitialized
      • 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, only one document is 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, only one document is 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, only one document is 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, only one document is 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.