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