public enum PagesPerSheet extends java.lang.Enum<PagesPerSheet> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.print.PagesPerSheet
Enum Constant and Description |
---|
FOUR |
NINE |
ONE |
PAGES_PER_SHEET_UNSPECIFIED |
SIX |
SIXTEEN |
TWO |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
FOUR_VALUE |
static int |
NINE_VALUE |
static int |
ONE_VALUE |
static int |
PAGES_PER_SHEET_UNSPECIFIED_VALUE |
static int |
SIX_VALUE |
static int |
SIXTEEN_VALUE |
static int |
TWO_VALUE |
Modifier and Type | Method and Description |
---|---|
static PagesPerSheet |
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<PagesPerSheet> |
internalGetValueMap() |
static PagesPerSheet |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PagesPerSheet |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PagesPerSheet |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PagesPerSheet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PagesPerSheet PAGES_PER_SHEET_UNSPECIFIED
public static final PagesPerSheet ONE
public static final PagesPerSheet TWO
public static final PagesPerSheet FOUR
public static final PagesPerSheet SIX
public static final PagesPerSheet NINE
public static final PagesPerSheet SIXTEEN
public static final PagesPerSheet UNRECOGNIZED
public static final int PAGES_PER_SHEET_UNSPECIFIED_VALUE
public static final int ONE_VALUE
public static final int TWO_VALUE
public static final int FOUR_VALUE
public static final int SIX_VALUE
public static final int NINE_VALUE
public static final int SIXTEEN_VALUE
public static PagesPerSheet[] values()
for (PagesPerSheet c : PagesPerSheet.values()) System.out.println(c);
public static PagesPerSheet 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 PagesPerSheet valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PagesPerSheet forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PagesPerSheet> 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 PagesPerSheet valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)