public enum ZoomLevel extends java.lang.Enum<ZoomLevel>
"P_"
prefix followed by a number.
The number represents a zoom level in percents.
For example, the P_25
and P_110
values represent the 25% and 110% zoom levels accordingly.
Protobuf enum teamdev.browsercore.zoom.ZoomLevel
Enum Constant and Description |
---|
P_100 |
P_110 |
P_125 |
P_150 |
P_175 |
P_200 |
P_25 |
P_250 |
P_300 |
P_33 |
P_400 |
P_50 |
P_500 |
P_67 |
P_75 |
P_80 |
P_90 |
UNRECOGNIZED |
ZOOM_LEVEL_UNSPECIFIED
Reserved value.
|
Modifier and Type | Field and Description |
---|---|
static int |
P_100_VALUE |
static int |
P_110_VALUE |
static int |
P_125_VALUE |
static int |
P_150_VALUE |
static int |
P_175_VALUE |
static int |
P_200_VALUE |
static int |
P_25_VALUE |
static int |
P_250_VALUE |
static int |
P_300_VALUE |
static int |
P_33_VALUE |
static int |
P_400_VALUE |
static int |
P_50_VALUE |
static int |
P_500_VALUE |
static int |
P_67_VALUE |
static int |
P_75_VALUE |
static int |
P_80_VALUE |
static int |
P_90_VALUE |
static int |
ZOOM_LEVEL_UNSPECIFIED_VALUE
Reserved value.
|
Modifier and Type | Method and Description |
---|---|
static ZoomLevel |
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 <any> |
internalGetValueMap() |
static ZoomLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ZoomLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ZoomLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZoomLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZoomLevel ZOOM_LEVEL_UNSPECIFIED
public static final ZoomLevel P_25
public static final ZoomLevel P_33
public static final ZoomLevel P_50
public static final ZoomLevel P_67
public static final ZoomLevel P_75
public static final ZoomLevel P_80
public static final ZoomLevel P_90
public static final ZoomLevel P_100
public static final ZoomLevel P_110
public static final ZoomLevel P_125
public static final ZoomLevel P_150
public static final ZoomLevel P_175
public static final ZoomLevel P_200
public static final ZoomLevel P_250
public static final ZoomLevel P_300
public static final ZoomLevel P_400
public static final ZoomLevel P_500
public static final ZoomLevel UNRECOGNIZED
public static final int ZOOM_LEVEL_UNSPECIFIED_VALUE
public static final int P_25_VALUE
public static final int P_33_VALUE
public static final int P_50_VALUE
public static final int P_67_VALUE
public static final int P_75_VALUE
public static final int P_80_VALUE
public static final int P_90_VALUE
public static final int P_100_VALUE
public static final int P_110_VALUE
public static final int P_125_VALUE
public static final int P_150_VALUE
public static final int P_175_VALUE
public static final int P_200_VALUE
public static final int P_250_VALUE
public static final int P_300_VALUE
public static final int P_400_VALUE
public static final int P_500_VALUE
public static ZoomLevel[] values()
for (ZoomLevel c : ZoomLevel.values()) System.out.println(c);
public static ZoomLevel 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()
@Deprecated public static ZoomLevel valueOf(int value)
forNumber(int)
instead.public static ZoomLevel forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ZoomLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)