- 2.65.0 (latest)
- 2.64.1
- 2.63.2
- 2.62.0
- 2.61.3
- 2.60.0
- 2.59.2
- 2.58.0
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public static final class Card.CardAction.Builder extends GeneratedMessage.Builder<Card.CardAction.Builder> implements Card.CardActionOrBuilderA card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser.
Protobuf type google.apps.card.v1.Card.CardAction
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Card.CardAction.BuilderImplements
Card.CardActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Card.CardAction build()| Returns | |
|---|---|
| Type | Description |
Card.CardAction |
|
buildPartial()
public Card.CardAction buildPartial()| Returns | |
|---|---|
| Type | Description |
Card.CardAction |
|
clear()
public Card.CardAction.Builder clear()| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
|
clearActionLabel()
public Card.CardAction.Builder clearActionLabel()The label that displays as the action menu item.
string action_label = 1;
| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
This builder for chaining. |
clearOnClick()
public Card.CardAction.Builder clearOnClick() The onClick action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
|
getActionLabel()
public String getActionLabel()The label that displays as the action menu item.
string action_label = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The actionLabel. |
getActionLabelBytes()
public ByteString getActionLabelBytes()The label that displays as the action menu item.
string action_label = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for actionLabel. |
getDefaultInstanceForType()
public Card.CardAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Card.CardAction |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOnClick()
public OnClick getOnClick() The onClick action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
| Returns | |
|---|---|
| Type | Description |
OnClick |
The onClick. |
getOnClickBuilder()
public OnClick.Builder getOnClickBuilder() The onClick action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
| Returns | |
|---|---|
| Type | Description |
OnClick.Builder |
|
getOnClickOrBuilder()
public OnClickOrBuilder getOnClickOrBuilder() The onClick action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
| Returns | |
|---|---|
| Type | Description |
OnClickOrBuilder |
|
hasOnClick()
public boolean hasOnClick() The onClick action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the onClick field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Card.CardAction other)
public Card.CardAction.Builder mergeFrom(Card.CardAction other)| Parameter | |
|---|---|
| Name | Description |
other |
Card.CardAction |
| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Card.CardAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Card.CardAction.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
|
mergeOnClick(OnClick value)
public Card.CardAction.Builder mergeOnClick(OnClick value) The onClick action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
OnClick |
| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
|
setActionLabel(String value)
public Card.CardAction.Builder setActionLabel(String value)The label that displays as the action menu item.
string action_label = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe actionLabel to set. |
| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
This builder for chaining. |
setActionLabelBytes(ByteString value)
public Card.CardAction.Builder setActionLabelBytes(ByteString value)The label that displays as the action menu item.
string action_label = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for actionLabel to set. |
| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
This builder for chaining. |
setOnClick(OnClick value)
public Card.CardAction.Builder setOnClick(OnClick value) The onClick action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
OnClick |
| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
|
setOnClick(OnClick.Builder builderForValue)
public Card.CardAction.Builder setOnClick(OnClick.Builder builderForValue) The onClick action for this action item.
.google.apps.card.v1.OnClick on_click = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OnClick.Builder |
| Returns | |
|---|---|
| Type | Description |
Card.CardAction.Builder |
|