Package com.google.apps.card.v1
Interface OverflowMenu.OverflowMenuItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OverflowMenu.OverflowMenuItem,OverflowMenu.OverflowMenuItem.Builder
- Enclosing class:
- OverflowMenu
public static interface OverflowMenu.OverflowMenuItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the menu option is disabled.Required.Required.The icon displayed in front of the text.The icon displayed in front of the text.getText()Required.com.google.protobuf.ByteStringRequired.booleanRequired.booleanThe icon displayed in front of the text.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStartIcon
boolean hasStartIcon()The icon displayed in front of the text.
.google.apps.card.v1.Icon start_icon = 1;- Returns:
- Whether the startIcon field is set.
-
getStartIcon
Icon getStartIcon()The icon displayed in front of the text.
.google.apps.card.v1.Icon start_icon = 1;- Returns:
- The startIcon.
-
getStartIconOrBuilder
IconOrBuilder getStartIconOrBuilder()The icon displayed in front of the text.
.google.apps.card.v1.Icon start_icon = 1; -
getText
String getText()Required. The text that identifies or describes the item to users.
string text = 2;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Required. The text that identifies or describes the item to users.
string text = 2;- Returns:
- The bytes for text.
-
hasOnClick
boolean hasOnClick()Required. The action invoked when a menu option is selected. This `OnClick` cannot contain an `OverflowMenu`, any specified `OverflowMenu` is dropped and the menu item disabled.
.google.apps.card.v1.OnClick on_click = 3;- Returns:
- Whether the onClick field is set.
-
getOnClick
OnClick getOnClick()Required. The action invoked when a menu option is selected. This `OnClick` cannot contain an `OverflowMenu`, any specified `OverflowMenu` is dropped and the menu item disabled.
.google.apps.card.v1.OnClick on_click = 3;- Returns:
- The onClick.
-
getOnClickOrBuilder
OnClickOrBuilder getOnClickOrBuilder()Required. The action invoked when a menu option is selected. This `OnClick` cannot contain an `OverflowMenu`, any specified `OverflowMenu` is dropped and the menu item disabled.
.google.apps.card.v1.OnClick on_click = 3; -
getDisabled
boolean getDisabled()Whether the menu option is disabled. Defaults to false.
bool disabled = 4;- Returns:
- The disabled.
-