public enum DecoratedText.SwitchControl.ControlType extends Enum<DecoratedText.SwitchControl.ControlType> implements ProtocolMessageEnum
How the switch appears in the user interface.
Google Workspace Add-ons and Chat apps:
Protobuf enum google.apps.card.v1.DecoratedText.SwitchControl.ControlType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
CHECKBOX |
Deprecated in favor of |
CHECKBOX_VALUE |
Deprecated in favor of |
CHECK_BOX |
A checkbox. |
CHECK_BOX_VALUE |
A checkbox. |
SWITCH |
A toggle-style switch. |
SWITCH_VALUE |
A toggle-style switch. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |