Enum DateTimePicker.DateTimePickerType (2.37.1)

public enum DateTimePicker.DateTimePickerType extends Enum<DateTimePicker.DateTimePickerType> implements ProtocolMessageEnum

The format for the date and time in the DateTimePicker widget. Determines whether users can input a date, a time, or both a date and time.

Google Workspace Add-ons and Chat apps:

Protobuf enum google.apps.card.v1.DateTimePicker.DateTimePickerType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DATE_AND_TIME

Users input a date and time.

DATE_AND_TIME = 0;

DATE_AND_TIME_VALUE

Users input a date and time.

DATE_AND_TIME = 0;

DATE_ONLY

Users input a date.

DATE_ONLY = 1;

DATE_ONLY_VALUE

Users input a date.

DATE_ONLY = 1;

TIME_ONLY

Users input a time.

TIME_ONLY = 2;

TIME_ONLY_VALUE

Users input a time.

TIME_ONLY = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()