@Generated(value="Generated by the protocol buffer compiler") public enum Orientation extends java.lang.Enum<Orientation> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
LANDSCAPE |
ORIENTATION_UNSPECIFIED
Reserved value.
|
PORTRAIT |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
LANDSCAPE_VALUE |
static int |
ORIENTATION_UNSPECIFIED_VALUE
Reserved value.
|
static int |
PORTRAIT_VALUE |
Modifier and Type | Method and Description |
---|---|
static Orientation |
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<Orientation> |
internalGetValueMap() |
static Orientation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Orientation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Orientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Orientation ORIENTATION_UNSPECIFIED
public static final Orientation LANDSCAPE
public static final Orientation PORTRAIT
public static final Orientation UNRECOGNIZED
public static final int ORIENTATION_UNSPECIFIED_VALUE
public static final int LANDSCAPE_VALUE
public static final int PORTRAIT_VALUE
public static Orientation[] values()
for (Orientation c : Orientation.values()) System.out.println(c);
public static Orientation 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 Orientation valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Orientation forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Orientation> 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 Orientation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)