Interface Suggestions.SuggestionItemOrBuilder (0.1.0)

public static interface Suggestions.SuggestionItemOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentCase()

public abstract Suggestions.SuggestionItem.ContentCase getContentCase()
Returns
TypeDescription
Suggestions.SuggestionItem.ContentCase

getText()

public abstract String getText()

The value of a suggested input to a text input field. This is equivalent to what users enter themselves.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The value of a suggested input to a text input field. This is equivalent to what users enter themselves.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.

hasText()

public abstract boolean hasText()

The value of a suggested input to a text input field. This is equivalent to what users enter themselves.

string text = 1;

Returns
TypeDescription
boolean

Whether the text field is set.