public static enum LocalTimeProtocol.DayOfWeek extends Enum<LocalTimeProtocol.DayOfWeek> implements com.google.protobuf.ProtocolMessageEnum
org.jboss.netty.example.localtime.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<LocalTimeProtocol.DayOfWeek> |
internalGetValueMap() |
static LocalTimeProtocol.DayOfWeek |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LocalTimeProtocol.DayOfWeek |
valueOf(int value) |
static LocalTimeProtocol.DayOfWeek |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalTimeProtocol.DayOfWeek[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalTimeProtocol.DayOfWeek SUNDAY
SUNDAY = 1;
public static final LocalTimeProtocol.DayOfWeek MONDAY
MONDAY = 2;
public static final LocalTimeProtocol.DayOfWeek TUESDAY
TUESDAY = 3;
public static final LocalTimeProtocol.DayOfWeek WEDNESDAY
WEDNESDAY = 4;
public static final LocalTimeProtocol.DayOfWeek THURSDAY
THURSDAY = 5;
public static final LocalTimeProtocol.DayOfWeek FRIDAY
FRIDAY = 6;
public static final LocalTimeProtocol.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 LocalTimeProtocol.DayOfWeek[] values()
for (LocalTimeProtocol.DayOfWeek c : LocalTimeProtocol.DayOfWeek.values()) System.out.println(c);
public static LocalTimeProtocol.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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static LocalTimeProtocol.DayOfWeek valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<LocalTimeProtocol.DayOfWeek> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LocalTimeProtocol.DayOfWeek valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2017 The Netty Project. All rights reserved.