Interface ConversationContextOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ConversationContext, ConversationContext.Builder

    public interface ConversationContextOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getActiveDocument()
      The current active document the user opened.
      com.google.protobuf.ByteString getActiveDocumentBytes()
      The current active document the user opened.
      String getContextDocuments​(int index)
      The current list of documents the user is seeing.
      com.google.protobuf.ByteString getContextDocumentsBytes​(int index)
      The current list of documents the user is seeing.
      int getContextDocumentsCount()
      The current list of documents the user is seeing.
      List<String> getContextDocumentsList()
      The current list of documents the user is seeing.
      • 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

      • getContextDocumentsList

        List<String> getContextDocumentsList()
         The current list of documents the user is seeing.
         It contains the document resource references.
         
        repeated string context_documents = 1;
        Returns:
        A list containing the contextDocuments.
      • getContextDocumentsCount

        int getContextDocumentsCount()
         The current list of documents the user is seeing.
         It contains the document resource references.
         
        repeated string context_documents = 1;
        Returns:
        The count of contextDocuments.
      • getContextDocuments

        String getContextDocuments​(int index)
         The current list of documents the user is seeing.
         It contains the document resource references.
         
        repeated string context_documents = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The contextDocuments at the given index.
      • getContextDocumentsBytes

        com.google.protobuf.ByteString getContextDocumentsBytes​(int index)
         The current list of documents the user is seeing.
         It contains the document resource references.
         
        repeated string context_documents = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the contextDocuments at the given index.
      • getActiveDocument

        String getActiveDocument()
         The current active document the user opened.
         It contains the document resource reference.
         
        string active_document = 2;
        Returns:
        The activeDocument.
      • getActiveDocumentBytes

        com.google.protobuf.ByteString getActiveDocumentBytes()
         The current active document the user opened.
         It contains the document resource reference.
         
        string active_document = 2;
        Returns:
        The bytes for activeDocument.