Enum Class DayOfWeek

java.lang.Object
java.lang.Enum<DayOfWeek>
com.google.type.DayOfWeek
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<DayOfWeek>, Constable

public enum DayOfWeek extends Enum<DayOfWeek> implements com.google.protobuf.Internal.EnumLite
 Represents a day of the week.
 
Protobuf enum google.type.DayOfWeek
  • Enum Constant Details

    • DAY_OF_WEEK_UNSPECIFIED

      public static final DayOfWeek DAY_OF_WEEK_UNSPECIFIED
       The day of the week is unspecified.
       
      DAY_OF_WEEK_UNSPECIFIED = 0;
    • MONDAY

      public static final DayOfWeek MONDAY
       Monday
       
      MONDAY = 1;
    • TUESDAY

      public static final DayOfWeek TUESDAY
       Tuesday
       
      TUESDAY = 2;
    • WEDNESDAY

      public static final DayOfWeek WEDNESDAY
       Wednesday
       
      WEDNESDAY = 3;
    • THURSDAY

      public static final DayOfWeek THURSDAY
       Thursday
       
      THURSDAY = 4;
    • FRIDAY

      public static final DayOfWeek FRIDAY
       Friday
       
      FRIDAY = 5;
    • SATURDAY

      public static final DayOfWeek SATURDAY
       Saturday
       
      SATURDAY = 6;
    • SUNDAY

      public static final DayOfWeek SUNDAY
       Sunday
       
      SUNDAY = 7;
    • UNRECOGNIZED

      public static final DayOfWeek UNRECOGNIZED
  • Field Details

    • DAY_OF_WEEK_UNSPECIFIED_VALUE

      public static final int DAY_OF_WEEK_UNSPECIFIED_VALUE
       The day of the week is unspecified.
       
      DAY_OF_WEEK_UNSPECIFIED = 0;
      See Also:
    • MONDAY_VALUE

      public static final int MONDAY_VALUE
       Monday
       
      MONDAY = 1;
      See Also:
    • TUESDAY_VALUE

      public static final int TUESDAY_VALUE
       Tuesday
       
      TUESDAY = 2;
      See Also:
    • WEDNESDAY_VALUE

      public static final int WEDNESDAY_VALUE
       Wednesday
       
      WEDNESDAY = 3;
      See Also:
    • THURSDAY_VALUE

      public static final int THURSDAY_VALUE
       Thursday
       
      THURSDAY = 4;
      See Also:
    • FRIDAY_VALUE

      public static final int FRIDAY_VALUE
       Friday
       
      FRIDAY = 5;
      See Also:
    • SATURDAY_VALUE

      public static final int SATURDAY_VALUE
       Saturday
       
      SATURDAY = 6;
      See Also:
    • SUNDAY_VALUE

      public static final int SUNDAY_VALUE
       Sunday
       
      SUNDAY = 7;
      See Also:
  • Method Details

    • values

      public static DayOfWeek[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DayOfWeek valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
    • valueOf

      @Deprecated public static DayOfWeek valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static DayOfWeek forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<DayOfWeek> internalGetValueMap()
    • internalGetVerifier

      public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()