Interface ConversationContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConversationContext,ConversationContext.Builder
@Generated
public interface ConversationContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe current active document the user opened.com.google.protobuf.ByteStringThe current active document the user opened.getContextDocuments(int index) The current list of documents the user is seeing.com.google.protobuf.ByteStringgetContextDocumentsBytes(int index) The current list of documents the user is seeing.intThe current list of documents the user is seeing.The current list of documents the user is seeing.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
-
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
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.
-