Interface GroundedGenerationContent.PartOrBuilder (0.49.0)

public static interface GroundedGenerationContent.PartOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataCase()

public abstract GroundedGenerationContent.Part.DataCase getDataCase()
Returns
Type Description
GroundedGenerationContent.Part.DataCase

getText()

public abstract String getText()

Inline text.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Inline text.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

hasText()

public abstract boolean hasText()

Inline text.

string text = 1;

Returns
Type Description
boolean

Whether the text field is set.