Interface GroundingChunk.RetrievedContextOrBuilder (3.49.0)

public static interface GroundingChunk.RetrievedContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTitle()

public abstract String getTitle()

Title of the attribution.

optional string title = 2;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Title of the attribution.

optional string title = 2;

Returns
Type Description
ByteString

The bytes for title.

getUri()

public abstract String getUri()

URI reference of the attribution.

optional string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

URI reference of the attribution.

optional string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

hasTitle()

public abstract boolean hasTitle()

Title of the attribution.

optional string title = 2;

Returns
Type Description
boolean

Whether the title field is set.

hasUri()

public abstract boolean hasUri()

URI reference of the attribution.

optional string uri = 1;

Returns
Type Description
boolean

Whether the uri field is set.