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
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.FormAction.ActionParameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public WidgetMarkup.FormAction.ActionParameter build()
public WidgetMarkup.FormAction.ActionParameter buildPartial()
public WidgetMarkup.FormAction.ActionParameter.Builder clear()
Overrides
public WidgetMarkup.FormAction.ActionParameter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public WidgetMarkup.FormAction.ActionParameter.Builder clearKey()
The name of the parameter for the action script.
string key = 1;
public WidgetMarkup.FormAction.ActionParameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public WidgetMarkup.FormAction.ActionParameter.Builder clearValue()
The value of the parameter.
string value = 2;
public WidgetMarkup.FormAction.ActionParameter.Builder clone()
Overrides
public WidgetMarkup.FormAction.ActionParameter getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
The name of the parameter for the action script.
string key = 1;
Returns |
---|
Type | Description |
String | The key.
|
public ByteString getKeyBytes()
The name of the parameter for the action script.
string key = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for key.
|
The value of the parameter.
string value = 2;
Returns |
---|
Type | Description |
String | The value.
|
public ByteString getValueBytes()
The value of the parameter.
string value = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for value.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public WidgetMarkup.FormAction.ActionParameter.Builder mergeFrom(WidgetMarkup.FormAction.ActionParameter other)
public WidgetMarkup.FormAction.ActionParameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public WidgetMarkup.FormAction.ActionParameter.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final WidgetMarkup.FormAction.ActionParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public WidgetMarkup.FormAction.ActionParameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public WidgetMarkup.FormAction.ActionParameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final WidgetMarkup.FormAction.ActionParameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|
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.
|