Send feedback
Class OnClick (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class OnClick extends GeneratedMessageV3 implements OnClickOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
Field Value Type Description int
CARD_FIELD_NUMBER
public static final int CARD_FIELD_NUMBER
Field Value Type Description int
OPEN_DYNAMIC_LINK_ACTION_FIELD_NUMBER
public static final int OPEN_DYNAMIC_LINK_ACTION_FIELD_NUMBER
Field Value Type Description int
OPEN_LINK_FIELD_NUMBER
public static final int OPEN_LINK_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static OnClick getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static OnClick . Builder newBuilder ()
newBuilder(OnClick prototype)
public static OnClick . Builder newBuilder ( OnClick prototype )
Parameter Name Description prototype
OnClick
public static OnClick parseDelimitedFrom ( InputStream input )
public static OnClick parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static OnClick parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OnClick parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static OnClick parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OnClick parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static OnClick parseFrom ( CodedInputStream input )
public static OnClick parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static OnClick parseFrom ( InputStream input )
public static OnClick parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static OnClick parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OnClick parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<OnClick> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
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.
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.
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 ()
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.
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.
getOpenLinkOrBuilder()
public OpenLinkOrBuilder getOpenLinkOrBuilder ()
If specified, this onClick
triggers an open link action.
.google.apps.card.v1.OpenLink open_link = 2;
getParserForType()
public Parser<OnClick> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
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.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public OnClick . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OnClick . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public OnClick . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]