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