public static final class OnClick.Builder extends GeneratedMessageV3.Builder<OnClick.Builder> implements OnClickOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OnClick.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public OnClick buildPartial()
clear()
public OnClick.Builder clear()
Overrides
clearAction()
public OnClick.Builder clearAction()
If specified, an action is triggered by this onClick
.
.google.apps.card.v1.Action action = 1;
clearCard()
public OnClick.Builder clearCard()
A new card is pushed to the card stack after clicking if specified.
Google Workspace
Add-ons:
.google.apps.card.v1.Card card = 4;
clearData()
public OnClick.Builder clearData()
clearField(Descriptors.FieldDescriptor field)
public OnClick.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OnClick.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOpenDynamicLinkAction()
public OnClick.Builder clearOpenDynamicLinkAction()
An add-on triggers this action when the action needs to open a
link. This differs from the open_link
above in that this needs to talk
to server to get the link. Thus some preparation work is required for
web client to do before the open link action response comes back.
Google Workspace
Add-ons:
.google.apps.card.v1.Action open_dynamic_link_action = 3;
clearOpenLink()
public OnClick.Builder clearOpenLink()
If specified, this onClick
triggers an open link action.
.google.apps.card.v1.OpenLink open_link = 2;
clone()
public OnClick.Builder clone()
Overrides
getAction()
public Action getAction()
If specified, an action is triggered by this onClick
.
.google.apps.card.v1.Action action = 1;
Returns |
---|
Type | Description |
Action | The action.
|
getActionBuilder()
public Action.Builder getActionBuilder()
If specified, an action is triggered by this onClick
.
.google.apps.card.v1.Action action = 1;
getActionOrBuilder()
public ActionOrBuilder getActionOrBuilder()
If specified, an action is triggered by this onClick
.
.google.apps.card.v1.Action action = 1;
getCard()
A new card is pushed to the card stack after clicking if specified.
Google Workspace
Add-ons:
.google.apps.card.v1.Card card = 4;
Returns |
---|
Type | Description |
Card | The card.
|
getCardBuilder()
public Card.Builder getCardBuilder()
A new card is pushed to the card stack after clicking if specified.
Google Workspace
Add-ons:
.google.apps.card.v1.Card card = 4;
getCardOrBuilder()
public CardOrBuilder getCardOrBuilder()
A new card is pushed to the card stack after clicking if specified.
Google Workspace
Add-ons:
.google.apps.card.v1.Card card = 4;
getDataCase()
public OnClick.DataCase getDataCase()
getDefaultInstanceForType()
public OnClick getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOpenDynamicLinkAction()
public Action getOpenDynamicLinkAction()
An add-on triggers this action when the action needs to open a
link. This differs from the open_link
above in that this needs to talk
to server to get the link. Thus some preparation work is required for
web client to do before the open link action response comes back.
Google Workspace
Add-ons:
.google.apps.card.v1.Action open_dynamic_link_action = 3;
Returns |
---|
Type | Description |
Action | The openDynamicLinkAction.
|
getOpenDynamicLinkActionBuilder()
public Action.Builder getOpenDynamicLinkActionBuilder()
An add-on triggers this action when the action needs to open a
link. This differs from the open_link
above in that this needs to talk
to server to get the link. Thus some preparation work is required for
web client to do before the open link action response comes back.
Google Workspace
Add-ons:
.google.apps.card.v1.Action open_dynamic_link_action = 3;
getOpenDynamicLinkActionOrBuilder()
public ActionOrBuilder getOpenDynamicLinkActionOrBuilder()
An add-on triggers this action when the action needs to open a
link. This differs from the open_link
above in that this needs to talk
to server to get the link. Thus some preparation work is required for
web client to do before the open link action response comes back.
Google Workspace
Add-ons:
.google.apps.card.v1.Action open_dynamic_link_action = 3;
getOpenLink()
public OpenLink getOpenLink()
If specified, this onClick
triggers an open link action.
.google.apps.card.v1.OpenLink open_link = 2;
Returns |
---|
Type | Description |
OpenLink | The openLink.
|
getOpenLinkBuilder()
public OpenLink.Builder getOpenLinkBuilder()
If specified, this onClick
triggers an open link action.
.google.apps.card.v1.OpenLink open_link = 2;
getOpenLinkOrBuilder()
public OpenLinkOrBuilder getOpenLinkOrBuilder()
If specified, this onClick
triggers an open link action.
.google.apps.card.v1.OpenLink open_link = 2;
hasAction()
public boolean hasAction()
If specified, an action is triggered by this onClick
.
.google.apps.card.v1.Action action = 1;
Returns |
---|
Type | Description |
boolean | Whether the action field is set.
|
hasCard()
A new card is pushed to the card stack after clicking if specified.
Google Workspace
Add-ons:
.google.apps.card.v1.Card card = 4;
Returns |
---|
Type | Description |
boolean | Whether the card field is set.
|
hasOpenDynamicLinkAction()
public boolean hasOpenDynamicLinkAction()
An add-on triggers this action when the action needs to open a
link. This differs from the open_link
above in that this needs to talk
to server to get the link. Thus some preparation work is required for
web client to do before the open link action response comes back.
Google Workspace
Add-ons:
.google.apps.card.v1.Action open_dynamic_link_action = 3;
Returns |
---|
Type | Description |
boolean | Whether the openDynamicLinkAction field is set.
|
hasOpenLink()
public boolean hasOpenLink()
If specified, this onClick
triggers an open link action.
.google.apps.card.v1.OpenLink open_link = 2;
Returns |
---|
Type | Description |
boolean | Whether the openLink field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAction(Action value)
public OnClick.Builder mergeAction(Action value)
If specified, an action is triggered by this onClick
.
.google.apps.card.v1.Action action = 1;
Parameter |
---|
Name | Description |
value | Action
|
mergeCard(Card value)
public OnClick.Builder mergeCard(Card value)
A new card is pushed to the card stack after clicking if specified.
Google Workspace
Add-ons:
.google.apps.card.v1.Card card = 4;
Parameter |
---|
Name | Description |
value | Card
|
mergeFrom(OnClick other)
public OnClick.Builder mergeFrom(OnClick other)
Parameter |
---|
Name | Description |
other | OnClick
|
public OnClick.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OnClick.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeOpenDynamicLinkAction(Action value)
public OnClick.Builder mergeOpenDynamicLinkAction(Action value)
An add-on triggers this action when the action needs to open a
link. This differs from the open_link
above in that this needs to talk
to server to get the link. Thus some preparation work is required for
web client to do before the open link action response comes back.
Google Workspace
Add-ons:
.google.apps.card.v1.Action open_dynamic_link_action = 3;
Parameter |
---|
Name | Description |
value | Action
|
mergeOpenLink(OpenLink value)
public OnClick.Builder mergeOpenLink(OpenLink value)
If specified, this onClick
triggers an open link action.
.google.apps.card.v1.OpenLink open_link = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OnClick.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAction(Action value)
public OnClick.Builder setAction(Action value)
If specified, an action is triggered by this onClick
.
.google.apps.card.v1.Action action = 1;
Parameter |
---|
Name | Description |
value | Action
|
setAction(Action.Builder builderForValue)
public OnClick.Builder setAction(Action.Builder builderForValue)
If specified, an action is triggered by this onClick
.
.google.apps.card.v1.Action action = 1;
setCard(Card value)
public OnClick.Builder setCard(Card value)
A new card is pushed to the card stack after clicking if specified.
Google Workspace
Add-ons:
.google.apps.card.v1.Card card = 4;
Parameter |
---|
Name | Description |
value | Card
|
setCard(Card.Builder builderForValue)
public OnClick.Builder setCard(Card.Builder builderForValue)
A new card is pushed to the card stack after clicking if specified.
Google Workspace
Add-ons:
.google.apps.card.v1.Card card = 4;
setField(Descriptors.FieldDescriptor field, Object value)
public OnClick.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOpenDynamicLinkAction(Action value)
public OnClick.Builder setOpenDynamicLinkAction(Action value)
An add-on triggers this action when the action needs to open a
link. This differs from the open_link
above in that this needs to talk
to server to get the link. Thus some preparation work is required for
web client to do before the open link action response comes back.
Google Workspace
Add-ons:
.google.apps.card.v1.Action open_dynamic_link_action = 3;
Parameter |
---|
Name | Description |
value | Action
|
setOpenDynamicLinkAction(Action.Builder builderForValue)
public OnClick.Builder setOpenDynamicLinkAction(Action.Builder builderForValue)
An add-on triggers this action when the action needs to open a
link. This differs from the open_link
above in that this needs to talk
to server to get the link. Thus some preparation work is required for
web client to do before the open link action response comes back.
Google Workspace
Add-ons:
.google.apps.card.v1.Action open_dynamic_link_action = 3;
setOpenLink(OpenLink value)
public OnClick.Builder setOpenLink(OpenLink value)
If specified, this onClick
triggers an open link action.
.google.apps.card.v1.OpenLink open_link = 2;
setOpenLink(OpenLink.Builder builderForValue)
public OnClick.Builder setOpenLink(OpenLink.Builder builderForValue)
If specified, this onClick
triggers an open link action.
.google.apps.card.v1.OpenLink open_link = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OnClick.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OnClick.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides