Interface ConversationContextOrBuilder (0.26.0)

public interface ConversationContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActiveDocument()

public abstract String getActiveDocument()

The current active document the user opened. It contains the document resource reference.

string active_document = 2;

Returns
TypeDescription
String

The activeDocument.

getActiveDocumentBytes()

public abstract ByteString getActiveDocumentBytes()

The current active document the user opened. It contains the document resource reference.

string active_document = 2;

Returns
TypeDescription
ByteString

The bytes for activeDocument.

getContextDocuments(int index)

public abstract String getContextDocuments(int index)

The current list of documents the user is seeing. It contains the document resource references.

repeated string context_documents = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The contextDocuments at the given index.

getContextDocumentsBytes(int index)

public abstract ByteString getContextDocumentsBytes(int index)

The current list of documents the user is seeing. It contains the document resource references.

repeated string context_documents = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the contextDocuments at the given index.

getContextDocumentsCount()

public abstract int getContextDocumentsCount()

The current list of documents the user is seeing. It contains the document resource references.

repeated string context_documents = 1;

Returns
TypeDescription
int

The count of contextDocuments.

getContextDocumentsList()

public abstract List<String> getContextDocumentsList()

The current list of documents the user is seeing. It contains the document resource references.

repeated string context_documents = 1;

Returns
TypeDescription
List<String>

A list containing the contextDocuments.