c

com.google.apps.card.v1

DateTimePicker

final class DateTimePicker extends GeneratedMessageV3 with DateTimePickerOrBuilder

Lets users input a date, a time, or both a date and a time. For an example in
Google Chat apps, see [Let a user pick a date and
time](https://developers.google.com/workspace/chat/design-interactive-card-dialog#let_a_user_pick_a_date_and_time).

Users can input text or use the picker to select dates and times. If users
input an invalid date or time, the picker shows an error that prompts users
to input the information correctly.

[Google Workspace
Add-ons and Chat apps](https://developers.google.com/workspace/extend):

Protobuf type google.apps.card.v1.DateTimePicker

Source
DateTimePicker.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DateTimePicker
  2. DateTimePickerOrBuilder
  3. GeneratedMessageV3
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(obj: AnyRef): Boolean
    Definition Classes
    DateTimePicker → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  10. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getDefaultInstanceForType(): DateTimePicker
    Definition Classes
    DateTimePicker → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  13. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  14. def getField(arg0: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  15. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  16. def getLabel(): String

    The text that prompts users to input a date, a time, or a date and time.
    For example, if users are scheduling an appointment, use a label such as
    `Appointment date` or `Appointment date and time`.
    

    The text that prompts users to input a date, a time, or a date and time.
    For example, if users are scheduling an appointment, use a label such as
    `Appointment date` or `Appointment date and time`.
    

    string label = 2;

    returns

    The label.

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  17. def getLabelBytes(): ByteString

    The text that prompts users to input a date, a time, or a date and time.
    For example, if users are scheduling an appointment, use a label such as
    `Appointment date` or `Appointment date and time`.
    

    The text that prompts users to input a date, a time, or a date and time.
    For example, if users are scheduling an appointment, use a label such as
    `Appointment date` or `Appointment date and time`.
    

    string label = 2;

    returns

    The bytes for label.

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  18. def getName(): String

    The name by which the `DateTimePicker` is identified in a form input event.
    
    For details about working with form inputs, see [Receive form
    data](https://developers.google.com/workspace/chat/read-form-data).
    

    The name by which the `DateTimePicker` is identified in a form input event.
    
    For details about working with form inputs, see [Receive form
    data](https://developers.google.com/workspace/chat/read-form-data).
    

    string name = 1;

    returns

    The name.

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  19. def getNameBytes(): ByteString

    The name by which the `DateTimePicker` is identified in a form input event.
    
    For details about working with form inputs, see [Receive form
    data](https://developers.google.com/workspace/chat/read-form-data).
    

    The name by which the `DateTimePicker` is identified in a form input event.
    
    For details about working with form inputs, see [Receive form
    data](https://developers.google.com/workspace/chat/read-form-data).
    

    string name = 1;

    returns

    The bytes for name.

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  20. def getOnChangeAction(): Action

    Triggered when the user clicks **Save** or **Clear** from the
    `DateTimePicker` interface.
    

    Triggered when the user clicks **Save** or **Clear** from the
    `DateTimePicker` interface.
    

    .google.apps.card.v1.Action on_change_action = 6;

    returns

    The onChangeAction.

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  21. def getOnChangeActionOrBuilder(): ActionOrBuilder

    Triggered when the user clicks **Save** or **Clear** from the
    `DateTimePicker` interface.
    

    Triggered when the user clicks **Save** or **Clear** from the
    `DateTimePicker` interface.
    

    .google.apps.card.v1.Action on_change_action = 6;

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  22. def getOneofFieldDescriptor(arg0: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  23. def getParserForType(): Parser[DateTimePicker]
    Definition Classes
    DateTimePicker → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  24. def getRepeatedField(arg0: FieldDescriptor, arg1: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  25. def getRepeatedFieldCount(arg0: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  26. def getSerializedSize(): Int
    Definition Classes
    DateTimePicker → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  27. def getTimezoneOffsetDate(): Int

    The number representing the time zone offset from UTC, in minutes.
    If set, the `value_ms_epoch` is displayed in the specified time zone.
    If unset, the value defaults to the user's time zone setting.
    

    The number representing the time zone offset from UTC, in minutes.
    If set, the `value_ms_epoch` is displayed in the specified time zone.
    If unset, the value defaults to the user's time zone setting.
    

    int32 timezone_offset_date = 5;

    returns

    The timezoneOffsetDate.

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  28. def getType(): DateTimePickerType

    Whether the widget supports inputting a date, a time, or the date and time.
    

    Whether the widget supports inputting a date, a time, or the date and time.
    

    .google.apps.card.v1.DateTimePicker.DateTimePickerType type = 3;

    returns

    The type.

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  29. def getTypeValue(): Int

    Whether the widget supports inputting a date, a time, or the date and time.
    

    Whether the widget supports inputting a date, a time, or the date and time.
    

    .google.apps.card.v1.DateTimePicker.DateTimePickerType type = 3;

    returns

    The enum numeric value on the wire for type.

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  30. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  31. def getValueMsEpoch(): Long

    The default value displayed in the widget, in milliseconds since [Unix
    epoch time](https://en.wikipedia.org/wiki/Unix_time).
    
    Specify the value based on the type of picker (`DateTimePickerType`):
    
    * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to
      represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`.
    * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent
      January 1, 2023, use `1672531200000`.
    * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use
      `43200000` (or `12 * 60 * 60 * 1000`).
    

    The default value displayed in the widget, in milliseconds since [Unix
    epoch time](https://en.wikipedia.org/wiki/Unix_time).
    
    Specify the value based on the type of picker (`DateTimePickerType`):
    
    * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to
      represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`.
    * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent
      January 1, 2023, use `1672531200000`.
    * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use
      `43200000` (or `12 * 60 * 60 * 1000`).
    

    int64 value_ms_epoch = 4;

    returns

    The valueMsEpoch.

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  32. def hasField(arg0: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  33. def hasOnChangeAction(): Boolean

    Triggered when the user clicks **Save** or **Clear** from the
    `DateTimePicker` interface.
    

    Triggered when the user clicks **Save** or **Clear** from the
    `DateTimePicker` interface.
    

    .google.apps.card.v1.Action on_change_action = 6;

    returns

    Whether the onChangeAction field is set.

    Definition Classes
    DateTimePickerDateTimePickerOrBuilder
    Annotations
    @Override()
  34. def hasOneof(arg0: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  35. def hashCode(): Int
    Definition Classes
    DateTimePicker → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  36. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[v1]
    Definition Classes
    DateTimePicker → GeneratedMessageV3
    Annotations
    @Override()
  37. def internalGetMapField(arg0: Int): MapField[_ <: AnyRef, _ <: AnyRef]
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  38. final def isInitialized(): Boolean
    Definition Classes
    DateTimePicker → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. def makeExtensionsImmutable(): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[v1]
    Definition Classes
    DateTimePicker → GeneratedMessageV3
    Annotations
    @Override()
  43. def newBuilderForType(): Builder
    Definition Classes
    DateTimePicker → Message → MessageLite
    Annotations
    @Override()
  44. def newBuilderForType(arg0: BuilderParent): Builder
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3 → AbstractMessage
  45. def newInstance(unused: UnusedPrivateParameter): AnyRef
    Attributes
    protected[v1]
    Definition Classes
    DateTimePicker → GeneratedMessageV3
    Annotations
    @Override() @SuppressWarnings()
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. def parseUnknownField(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  49. def parseUnknownFieldProto3(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def toBuilder(): Builder
    Definition Classes
    DateTimePicker → Message → MessageLite
    Annotations
    @Override()
  52. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  53. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  54. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. def writeDelimitedTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  59. def writeReplace(): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.ObjectStreamException])
  60. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    DateTimePicker → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  61. def writeTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])

Deprecated Value Members

  1. def mergeFromAndMakeImmutableInternal(arg0: CodedInputStream, arg1: ExtensionRegistryLite): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
    Deprecated

Inherited from GeneratedMessageV3

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped