public static enum WorldClockProtocol.DayOfWeek extends Enum<WorldClockProtocol.DayOfWeek> implements com.google.protobuf.ProtocolMessageEnum
io.netty.example.worldclock.DayOfWeek| Enum Constant and Description |
|---|
FRIDAY
FRIDAY = 6; |
MONDAY
MONDAY = 2; |
SATURDAY
SATURDAY = 7; |
SUNDAY
SUNDAY = 1; |
THURSDAY
THURSDAY = 5; |
TUESDAY
TUESDAY = 3; |
WEDNESDAY
WEDNESDAY = 4; |
| Modifier and Type | Field and Description |
|---|---|
static int |
FRIDAY_VALUE
FRIDAY = 6; |
static int |
MONDAY_VALUE
MONDAY = 2; |
static int |
SATURDAY_VALUE
SATURDAY = 7; |
static int |
SUNDAY_VALUE
SUNDAY = 1; |
static int |
THURSDAY_VALUE
THURSDAY = 5; |
static int |
TUESDAY_VALUE
TUESDAY = 3; |
static int |
WEDNESDAY_VALUE
WEDNESDAY = 4; |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<WorldClockProtocol.DayOfWeek> |
internalGetValueMap() |
static WorldClockProtocol.DayOfWeek |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WorldClockProtocol.DayOfWeek |
valueOf(int value) |
static WorldClockProtocol.DayOfWeek |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorldClockProtocol.DayOfWeek[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorldClockProtocol.DayOfWeek SUNDAY
SUNDAY = 1;public static final WorldClockProtocol.DayOfWeek MONDAY
MONDAY = 2;public static final WorldClockProtocol.DayOfWeek TUESDAY
TUESDAY = 3;public static final WorldClockProtocol.DayOfWeek WEDNESDAY
WEDNESDAY = 4;public static final WorldClockProtocol.DayOfWeek THURSDAY
THURSDAY = 5;public static final WorldClockProtocol.DayOfWeek FRIDAY
FRIDAY = 6;public static final WorldClockProtocol.DayOfWeek SATURDAY
SATURDAY = 7;public static final int SUNDAY_VALUE
SUNDAY = 1;public static final int MONDAY_VALUE
MONDAY = 2;public static final int TUESDAY_VALUE
TUESDAY = 3;public static final int WEDNESDAY_VALUE
WEDNESDAY = 4;public static final int THURSDAY_VALUE
THURSDAY = 5;public static final int FRIDAY_VALUE
FRIDAY = 6;public static final int SATURDAY_VALUE
SATURDAY = 7;public static WorldClockProtocol.DayOfWeek[] values()
for (WorldClockProtocol.DayOfWeek c : WorldClockProtocol.DayOfWeek.values()) System.out.println(c);
public static WorldClockProtocol.DayOfWeek valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static WorldClockProtocol.DayOfWeek valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<WorldClockProtocol.DayOfWeek> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static WorldClockProtocol.DayOfWeek valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2013 The Netty Project. All rights reserved.