Interface AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContextOrBuilder (0.51.0)

public static interface AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract String getContent()

Document content to be used for answer generation.

string content = 2;

Returns
Type Description
String

The content.

getContentBytes()

public abstract ByteString getContentBytes()

Document content to be used for answer generation.

string content = 2;

Returns
Type Description
ByteString

The bytes for content.

getPageIdentifier()

public abstract String getPageIdentifier()

Page identifier.

string page_identifier = 1;

Returns
Type Description
String

The pageIdentifier.

getPageIdentifierBytes()

public abstract ByteString getPageIdentifierBytes()

Page identifier.

string page_identifier = 1;

Returns
Type Description
ByteString

The bytes for pageIdentifier.