public static final class WidgetMarkup.FormAction.ActionParameter.Builder extends GeneratedMessage.Builder<WidgetMarkup.FormAction.ActionParameter.Builder> implements WidgetMarkup.FormAction.ActionParameterOrBuilder List of string parameters to supply when the action method is invoked.
For example, consider three snooze buttons: snooze now, snooze one day,
snooze next week. You might use action method = snooze(), passing the
snooze type and snooze time in the list of string parameters.
Protobuf type google.chat.v1.WidgetMarkup.FormAction.ActionParameter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WidgetMarkup.FormAction.ActionParameter.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public WidgetMarkup.FormAction.ActionParameter build()| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter |
|
buildPartial()
public WidgetMarkup.FormAction.ActionParameter buildPartial()| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter |
|
clear()
public WidgetMarkup.FormAction.ActionParameter.Builder clear()| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter.Builder |
|
clearKey()
public WidgetMarkup.FormAction.ActionParameter.Builder clearKey()The name of the parameter for the action script.
string key = 1;
| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter.Builder |
This builder for chaining. |
clearValue()
public WidgetMarkup.FormAction.ActionParameter.Builder clearValue()The value of the parameter.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public WidgetMarkup.FormAction.ActionParameter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKey()
public String getKey()The name of the parameter for the action script.
string key = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()The name of the parameter for the action script.
string key = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getValue()
public String getValue()The value of the parameter.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()The value of the parameter.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(WidgetMarkup.FormAction.ActionParameter other)
public WidgetMarkup.FormAction.ActionParameter.Builder mergeFrom(WidgetMarkup.FormAction.ActionParameter other)| Parameter | |
|---|---|
| Name | Description |
other |
WidgetMarkup.FormAction.ActionParameter |
| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WidgetMarkup.FormAction.ActionParameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WidgetMarkup.FormAction.ActionParameter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter.Builder |
|
setKey(String value)
public WidgetMarkup.FormAction.ActionParameter.Builder setKey(String value)The name of the parameter for the action script.
string key = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public WidgetMarkup.FormAction.ActionParameter.Builder setKeyBytes(ByteString value)The name of the parameter for the action script.
string key = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter.Builder |
This builder for chaining. |
setValue(String value)
public WidgetMarkup.FormAction.ActionParameter.Builder setValue(String value)The value of the parameter.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public WidgetMarkup.FormAction.ActionParameter.Builder setValueBytes(ByteString value)The value of the parameter.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetMarkup.FormAction.ActionParameter.Builder |
This builder for chaining. |