Package com.google.type
Enum Class DayOfWeek
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<DayOfWeek>
,Constable
Represents a day of the week.Protobuf enum
google.type.DayOfWeek
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe day of the week is unspecified.FridayMondaySaturdaySundayThursdayTuesdayWednesday -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The day of the week is unspecified.static final int
Fridaystatic final int
Mondaystatic final int
Saturdaystatic final int
Sundaystatic final int
Thursdaystatic final int
Tuesdaystatic final int
Wednesday -
Method Summary
Modifier and TypeMethodDescriptionstatic DayOfWeek
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>
static com.google.protobuf.Internal.EnumVerifier
static DayOfWeek
valueOf
(int value) Deprecated.static DayOfWeek
Returns the enum constant of this class with the specified name.static DayOfWeek[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DAY_OF_WEEK_UNSPECIFIED
The day of the week is unspecified.
DAY_OF_WEEK_UNSPECIFIED = 0;
-
MONDAY
Monday
MONDAY = 1;
-
TUESDAY
Tuesday
TUESDAY = 2;
-
WEDNESDAY
Wednesday
WEDNESDAY = 3;
-
THURSDAY
Thursday
THURSDAY = 4;
-
FRIDAY
Friday
FRIDAY = 5;
-
SATURDAY
Saturday
SATURDAY = 6;
-
SUNDAY
Sunday
SUNDAY = 7;
-
UNRECOGNIZED
-
-
Field Details
-
DAY_OF_WEEK_UNSPECIFIED_VALUE
public static final int DAY_OF_WEEK_UNSPECIFIED_VALUEThe day of the week is unspecified.
DAY_OF_WEEK_UNSPECIFIED = 0;
- See Also:
-
MONDAY_VALUE
public static final int MONDAY_VALUEMonday
MONDAY = 1;
- See Also:
-
TUESDAY_VALUE
public static final int TUESDAY_VALUETuesday
TUESDAY = 2;
- See Also:
-
WEDNESDAY_VALUE
public static final int WEDNESDAY_VALUEWednesday
WEDNESDAY = 3;
- See Also:
-
THURSDAY_VALUE
public static final int THURSDAY_VALUEThursday
THURSDAY = 4;
- See Also:
-
FRIDAY_VALUE
public static final int FRIDAY_VALUEFriday
FRIDAY = 5;
- See Also:
-
SATURDAY_VALUE
public static final int SATURDAY_VALUESaturday
SATURDAY = 6;
- See Also:
-
SUNDAY_VALUE
public static final int SUNDAY_VALUESunday
SUNDAY = 7;
- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
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 nameNullPointerException
- if the argument is null
-
forNumber
-
internalGetValueMap
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-