Class WidgetMarkup.FormAction.ActionParameter.Builder (0.12.0)

public static final class WidgetMarkup.FormAction.ActionParameter.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WidgetMarkup.FormAction.ActionParameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WidgetMarkup.FormAction.ActionParameter.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public WidgetMarkup.FormAction.ActionParameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WidgetMarkup.FormAction.ActionParameter.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public WidgetMarkup.FormAction.ActionParameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WidgetMarkup.FormAction.ActionParameter.Builder
Overrides

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.

clone()

public WidgetMarkup.FormAction.ActionParameter.Builder clone()
Returns
Type Description
WidgetMarkup.FormAction.ActionParameter.Builder
Overrides

getDefaultInstanceForType()

public WidgetMarkup.FormAction.ActionParameter getDefaultInstanceForType()
Returns
Type Description
WidgetMarkup.FormAction.ActionParameter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WidgetMarkup.FormAction.ActionParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WidgetMarkup.FormAction.ActionParameter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WidgetMarkup.FormAction.ActionParameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WidgetMarkup.FormAction.ActionParameter.Builder
Overrides

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 String

The 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 ByteString

The bytes for key to set.

Returns
Type Description
WidgetMarkup.FormAction.ActionParameter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WidgetMarkup.FormAction.ActionParameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WidgetMarkup.FormAction.ActionParameter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WidgetMarkup.FormAction.ActionParameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WidgetMarkup.FormAction.ActionParameter.Builder
Overrides

setValue(String value)

public WidgetMarkup.FormAction.ActionParameter.Builder setValue(String value)

The value of the parameter.

string value = 2;

Parameter
Name Description
value String

The 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 ByteString

The bytes for value to set.

Returns
Type Description
WidgetMarkup.FormAction.ActionParameter.Builder

This builder for chaining.