Interface KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder (4.54.0)

public static interface KnowledgeAssistAnswer.KnowledgeAnswer.GenerativeSource.SnippetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getText()

public abstract String getText()

Text taken from that URI.

string text = 3;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Text taken from that URI.

string text = 3;

Returns
Type Description
ByteString

The bytes for text.

getTitle()

public abstract String getTitle()

Title of the document.

string title = 4;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Title of the document.

string title = 4;

Returns
Type Description
ByteString

The bytes for title.

getUri()

public abstract String getUri()

URI the data is sourced from.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

URI the data is sourced from.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.