Enum AddOnWidgetSet.WidgetType

    • Enum Constant Detail

      • WIDGET_TYPE_UNSPECIFIED

        public static final AddOnWidgetSet.WidgetType WIDGET_TYPE_UNSPECIFIED
         The default widget set.
         
        WIDGET_TYPE_UNSPECIFIED = 0;
      • STYLED_BUTTONS

        public static final AddOnWidgetSet.WidgetType STYLED_BUTTONS
         Styled buttons include filled buttons and disabled buttons.
         
        STYLED_BUTTONS = 2;
      • PERSISTENT_FORMS

        public static final AddOnWidgetSet.WidgetType PERSISTENT_FORMS
         Persistent forms allow persisting form values during actions.
         
        PERSISTENT_FORMS = 3;
      • UPDATE_SUBJECT_AND_RECIPIENTS

        public static final AddOnWidgetSet.WidgetType UPDATE_SUBJECT_AND_RECIPIENTS
         Update the subject and recipients of a draft.
         
        UPDATE_SUBJECT_AND_RECIPIENTS = 5;
      • ADDON_COMPOSE_UI_ACTION

        public static final AddOnWidgetSet.WidgetType ADDON_COMPOSE_UI_ACTION
         A Gmail add-on action that applies to the addon compose UI.
         
        ADDON_COMPOSE_UI_ACTION = 7;
    • Field Detail

      • WIDGET_TYPE_UNSPECIFIED_VALUE

        public static final int WIDGET_TYPE_UNSPECIFIED_VALUE
         The default widget set.
         
        WIDGET_TYPE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • DATE_PICKER_VALUE

        public static final int DATE_PICKER_VALUE
         The date picker.
         
        DATE_PICKER = 1;
        See Also:
        Constant Field Values
      • STYLED_BUTTONS_VALUE

        public static final int STYLED_BUTTONS_VALUE
         Styled buttons include filled buttons and disabled buttons.
         
        STYLED_BUTTONS = 2;
        See Also:
        Constant Field Values
      • PERSISTENT_FORMS_VALUE

        public static final int PERSISTENT_FORMS_VALUE
         Persistent forms allow persisting form values during actions.
         
        PERSISTENT_FORMS = 3;
        See Also:
        Constant Field Values
      • FIXED_FOOTER_VALUE

        public static final int FIXED_FOOTER_VALUE
         Fixed footer in card.
         
        FIXED_FOOTER = 4;
        See Also:
        Constant Field Values
      • UPDATE_SUBJECT_AND_RECIPIENTS_VALUE

        public static final int UPDATE_SUBJECT_AND_RECIPIENTS_VALUE
         Update the subject and recipients of a draft.
         
        UPDATE_SUBJECT_AND_RECIPIENTS = 5;
        See Also:
        Constant Field Values
      • GRID_WIDGET_VALUE

        public static final int GRID_WIDGET_VALUE
         The grid widget.
         
        GRID_WIDGET = 6;
        See Also:
        Constant Field Values
      • ADDON_COMPOSE_UI_ACTION_VALUE

        public static final int ADDON_COMPOSE_UI_ACTION_VALUE
         A Gmail add-on action that applies to the addon compose UI.
         
        ADDON_COMPOSE_UI_ACTION = 7;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static AddOnWidgetSet.WidgetType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AddOnWidgetSet.WidgetType c : AddOnWidgetSet.WidgetType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AddOnWidgetSet.WidgetType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static AddOnWidgetSet.WidgetType valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static AddOnWidgetSet.WidgetType forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<AddOnWidgetSet.WidgetType> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static AddOnWidgetSet.WidgetType valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null