Package com.google.apps.card.v1
Interface Card.CardActionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Card.CardAction
,Card.CardAction.Builder
- Enclosing class:
- Card
public static interface Card.CardActionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getActionLabel()
The label that displays as the action menu item.com.google.protobuf.ByteString
getActionLabelBytes()
The label that displays as the action menu item.OnClick
getOnClick()
The `onClick` action for this action item.OnClickOrBuilder
getOnClickOrBuilder()
The `onClick` action for this action item.boolean
hasOnClick()
The `onClick` action for this action item.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getActionLabel
java.lang.String getActionLabel()
The label that displays as the action menu item.
string action_label = 1;
- Returns:
- The actionLabel.
-
getActionLabelBytes
com.google.protobuf.ByteString getActionLabelBytes()
The label that displays as the action menu item.
string action_label = 1;
- Returns:
- The bytes for actionLabel.
-
hasOnClick
boolean hasOnClick()
The `onClick` action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
- Returns:
- Whether the onClick field is set.
-
getOnClick
OnClick getOnClick()
The `onClick` action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
- Returns:
- The onClick.
-
getOnClickOrBuilder
OnClickOrBuilder getOnClickOrBuilder()
The `onClick` action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
-
-