Enum DayOfWeek

public enum DayOfWeek extends Enum<DayOfWeek> implements ProtocolMessageEnum

Represents a day of the week.

Protobuf enum google.type.DayOfWeek

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DAY_OF_WEEK_UNSPECIFIED

The day of the week is unspecified.

DAY_OF_WEEK_UNSPECIFIED = 0;

DAY_OF_WEEK_UNSPECIFIED_VALUE

The day of the week is unspecified.

DAY_OF_WEEK_UNSPECIFIED = 0;

FRIDAY

Friday

FRIDAY = 5;

FRIDAY_VALUE

Friday

FRIDAY = 5;

MONDAY

Monday

MONDAY = 1;

MONDAY_VALUE

Monday

MONDAY = 1;

SATURDAY

Saturday

SATURDAY = 6;

SATURDAY_VALUE

Saturday

SATURDAY = 6;

SUNDAY

Sunday

SUNDAY = 7;

SUNDAY_VALUE

Sunday

SUNDAY = 7;

THURSDAY

Thursday

THURSDAY = 4;

THURSDAY_VALUE

Thursday

THURSDAY = 4;

TUESDAY

Tuesday

TUESDAY = 2;

TUESDAY_VALUE

Tuesday

TUESDAY = 2;

UNRECOGNIZED
WEDNESDAY

Wednesday

WEDNESDAY = 3;

WEDNESDAY_VALUE

Wednesday

WEDNESDAY = 3;

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()