public static enum TestProtos.Letter extends java.lang.Enum<TestProtos.Letter> implements com.google.protobuf.ProtocolMessageEnum
org.apache.flink.test.Letter
Enum Constant and Description |
---|
A
A = 0; |
B
B = 1; |
C
C = 2; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
A_VALUE
A = 0; |
static int |
B_VALUE
B = 1; |
static int |
C_VALUE
C = 2; |
Modifier and Type | Method and Description |
---|---|
static TestProtos.Letter |
forNumber(int value) |
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<TestProtos.Letter> |
internalGetValueMap() |
static TestProtos.Letter |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TestProtos.Letter |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TestProtos.Letter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestProtos.Letter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestProtos.Letter A
A = 0;
public static final TestProtos.Letter B
B = 1;
public static final TestProtos.Letter C
C = 2;
public static final TestProtos.Letter UNRECOGNIZED
public static final int A_VALUE
A = 0;
public static final int B_VALUE
B = 1;
public static final int C_VALUE
C = 2;
public static TestProtos.Letter[] values()
for (TestProtos.Letter c : TestProtos.Letter.values()) System.out.println(c);
public static TestProtos.Letter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static TestProtos.Letter valueOf(int value)
forNumber(int)
instead.public static TestProtos.Letter forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TestProtos.Letter> 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 TestProtos.Letter valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.