@Generated(value="Generated by the protocol buffer compiler") public enum DuplexMode extends java.lang.Enum<DuplexMode> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
DUPLEX_MODE_UNSPECIFIED
Reserved value.
|
LONG_EDGE
Two-sided printing, flipping on the long edge.
|
SHORT_EDGE
Two-sided printing, flipping on the short edge.
|
SIMPLEX
One-sided printing.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
DUPLEX_MODE_UNSPECIFIED_VALUE
Reserved value.
|
static int |
LONG_EDGE_VALUE
Two-sided printing, flipping on the long edge.
|
static int |
SHORT_EDGE_VALUE
Two-sided printing, flipping on the short edge.
|
static int |
SIMPLEX_VALUE
One-sided printing.
|
Modifier and Type | Method and Description |
---|---|
static DuplexMode |
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<DuplexMode> |
internalGetValueMap() |
static DuplexMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DuplexMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DuplexMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DuplexMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DuplexMode DUPLEX_MODE_UNSPECIFIED
public static final DuplexMode SIMPLEX
public static final DuplexMode LONG_EDGE
public static final DuplexMode SHORT_EDGE
public static final DuplexMode UNRECOGNIZED
public static final int DUPLEX_MODE_UNSPECIFIED_VALUE
public static final int SIMPLEX_VALUE
public static final int LONG_EDGE_VALUE
public static final int SHORT_EDGE_VALUE
public static DuplexMode[] values()
for (DuplexMode c : DuplexMode.values()) System.out.println(c);
public static DuplexMode 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 DuplexMode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static DuplexMode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DuplexMode> 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 DuplexMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)