public static enum Pb3Test.Corpus extends Enum<Pb3Test.Corpus> implements com.google.protobuf.ProtocolMessageEnum
org.apache.flink.formats.protobuf.testproto.Pb3Test.Corpus| Enum Constant and Description |
|---|
IMAGES
IMAGES = 2; |
LOCAL
LOCAL = 3; |
NEWS
NEWS = 4; |
PRODUCTS
PRODUCTS = 5; |
UNIVERSAL
UNIVERSAL = 0; |
UNRECOGNIZED |
VIDEO
VIDEO = 7; |
WEB
WEB = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
IMAGES_VALUE
IMAGES = 2; |
static int |
LOCAL_VALUE
LOCAL = 3; |
static int |
NEWS_VALUE
NEWS = 4; |
static int |
PRODUCTS_VALUE
PRODUCTS = 5; |
static int |
UNIVERSAL_VALUE
UNIVERSAL = 0; |
static int |
VIDEO_VALUE
VIDEO = 7; |
static int |
WEB_VALUE
WEB = 1; |
| Modifier and Type | Method and Description |
|---|---|
static Pb3Test.Corpus |
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<Pb3Test.Corpus> |
internalGetValueMap() |
static Pb3Test.Corpus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Pb3Test.Corpus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Pb3Test.Corpus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pb3Test.Corpus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pb3Test.Corpus UNIVERSAL
UNIVERSAL = 0;public static final Pb3Test.Corpus WEB
WEB = 1;public static final Pb3Test.Corpus IMAGES
IMAGES = 2;public static final Pb3Test.Corpus LOCAL
LOCAL = 3;public static final Pb3Test.Corpus NEWS
NEWS = 4;public static final Pb3Test.Corpus PRODUCTS
PRODUCTS = 5;public static final Pb3Test.Corpus VIDEO
VIDEO = 7;public static final Pb3Test.Corpus UNRECOGNIZED
public static final int UNIVERSAL_VALUE
UNIVERSAL = 0;public static final int WEB_VALUE
WEB = 1;public static final int IMAGES_VALUE
IMAGES = 2;public static final int LOCAL_VALUE
LOCAL = 3;public static final int NEWS_VALUE
NEWS = 4;public static final int PRODUCTS_VALUE
PRODUCTS = 5;public static final int VIDEO_VALUE
VIDEO = 7;public static Pb3Test.Corpus[] values()
for (Pb3Test.Corpus c : Pb3Test.Corpus.values()) System.out.println(c);
public static Pb3Test.Corpus 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.ProtocolMessageEnum@Deprecated public static Pb3Test.Corpus valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Pb3Test.Corpus forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Pb3Test.Corpus> 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 Pb3Test.Corpus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.