Package com.google.apps.card.v1
Interface Suggestions.SuggestionItemOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Suggestions.SuggestionItem
,Suggestions.SuggestionItem.Builder
- Enclosing class:
- Suggestions
public static interface Suggestions.SuggestionItemOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Suggestions.SuggestionItem.ContentCase
getContentCase()
java.lang.String
getText()
The value of a suggested input to a text input field.com.google.protobuf.ByteString
getTextBytes()
The value of a suggested input to a text input field.boolean
hasText()
The value of a suggested input to a text input field.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasText
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:
- Whether the text field is set.
-
getText
java.lang.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:
- The text.
-
getTextBytes
com.google.protobuf.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:
- The bytes for text.
-
getContentCase
Suggestions.SuggestionItem.ContentCase getContentCase()
-
-