Interface Suggestions.SuggestionItemOrBuilder (2.40.0)

public static interface Suggestions.SuggestionItemOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentCase()

public abstract Suggestions.SuggestionItem.ContentCase getContentCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the text field is set.