Send feedback
Class WidgetMarkup.OnClick.Builder (0.19.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.19.0 keyboard_arrow_down
public static final class WidgetMarkup . OnClick . Builder extends GeneratedMessageV3 . Builder<WidgetMarkup . OnClick . Builder > implements WidgetMarkup . OnClickOrBuilder
An onclick
action (for example, open a link).
Protobuf type google.chat.v1.WidgetMarkup.OnClick
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
public static final Descriptors . Descriptor getDescriptor ()
Methods
public WidgetMarkup . OnClick . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public WidgetMarkup . OnClick build ()
public WidgetMarkup . OnClick buildPartial ()
public WidgetMarkup . OnClick . Builder clear ()
Overrides
public WidgetMarkup . OnClick . Builder clearAction ()
A form action is triggered by this onclick
action if specified.
.google.chat.v1.WidgetMarkup.FormAction action = 1;
public WidgetMarkup . OnClick . Builder clearData ()
public WidgetMarkup . OnClick . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public WidgetMarkup . OnClick . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public WidgetMarkup . OnClick . Builder clearOpenLink ()
This onclick
action triggers an open link action if specified.
.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
public WidgetMarkup . OnClick . Builder clone ()
Overrides
public WidgetMarkup . FormAction getAction ()
A form action is triggered by this onclick
action if specified.
.google.chat.v1.WidgetMarkup.FormAction action = 1;
public WidgetMarkup . FormAction . Builder getActionBuilder ()
A form action is triggered by this onclick
action if specified.
.google.chat.v1.WidgetMarkup.FormAction action = 1;
public WidgetMarkup . FormActionOrBuilder getActionOrBuilder ()
A form action is triggered by this onclick
action if specified.
.google.chat.v1.WidgetMarkup.FormAction action = 1;
public WidgetMarkup . OnClick . DataCase getDataCase ()
public WidgetMarkup . OnClick getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public WidgetMarkup . OpenLink getOpenLink ()
This onclick
action triggers an open link action if specified.
.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
public WidgetMarkup . OpenLink . Builder getOpenLinkBuilder ()
This onclick
action triggers an open link action if specified.
.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
public WidgetMarkup . OpenLinkOrBuilder getOpenLinkOrBuilder ()
This onclick
action triggers an open link action if specified.
.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
public boolean hasAction ()
A form action is triggered by this onclick
action if specified.
.google.chat.v1.WidgetMarkup.FormAction action = 1;
Returns
Type
Description
boolean
Whether the action field is set.
public boolean hasOpenLink ()
This onclick
action triggers an open link action if specified.
.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
Returns
Type
Description
boolean
Whether the openLink field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public WidgetMarkup . OnClick . Builder mergeAction ( WidgetMarkup . FormAction value )
A form action is triggered by this onclick
action if specified.
.google.chat.v1.WidgetMarkup.FormAction action = 1;
public WidgetMarkup . OnClick . Builder mergeFrom ( WidgetMarkup . OnClick other )
public WidgetMarkup . OnClick . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public WidgetMarkup . OnClick . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public WidgetMarkup . OnClick . Builder mergeOpenLink ( WidgetMarkup . OpenLink value )
This onclick
action triggers an open link action if specified.
.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
public final WidgetMarkup . OnClick . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public WidgetMarkup . OnClick . Builder setAction ( WidgetMarkup . FormAction value )
A form action is triggered by this onclick
action if specified.
.google.chat.v1.WidgetMarkup.FormAction action = 1;
public WidgetMarkup . OnClick . Builder setAction ( WidgetMarkup . FormAction . Builder builderForValue )
A form action is triggered by this onclick
action if specified.
.google.chat.v1.WidgetMarkup.FormAction action = 1;
public WidgetMarkup . OnClick . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public WidgetMarkup . OnClick . Builder setOpenLink ( WidgetMarkup . OpenLink value )
This onclick
action triggers an open link action if specified.
.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
public WidgetMarkup . OnClick . Builder setOpenLink ( WidgetMarkup . OpenLink . Builder builderForValue )
This onclick
action triggers an open link action if specified.
.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
public WidgetMarkup . OnClick . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final WidgetMarkup . OnClick . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-28 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-28 UTC."],[],[]]