Interface ConversationContextOrBuilder (0.42.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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the contextDocuments.