public static enum Geojson.Geometry.TypeCase extends java.lang.Enum<Geojson.Geometry.TypeCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
GEOMETRYCOLLECTION |
LINESTRING |
MULTILINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT |
POLYGON |
TYPE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static Geojson.Geometry.TypeCase |
forNumber(int value) |
int |
getNumber() |
static Geojson.Geometry.TypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Geojson.Geometry.TypeCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Geojson.Geometry.TypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Geojson.Geometry.TypeCase POINT
public static final Geojson.Geometry.TypeCase MULTIPOINT
public static final Geojson.Geometry.TypeCase LINESTRING
public static final Geojson.Geometry.TypeCase MULTILINESTRING
public static final Geojson.Geometry.TypeCase POLYGON
public static final Geojson.Geometry.TypeCase MULTIPOLYGON
public static final Geojson.Geometry.TypeCase GEOMETRYCOLLECTION
public static final Geojson.Geometry.TypeCase TYPE_NOT_SET
public static Geojson.Geometry.TypeCase[] values()
for (Geojson.Geometry.TypeCase c : Geojson.Geometry.TypeCase.values()) System.out.println(c);
public static Geojson.Geometry.TypeCase 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 null@Deprecated public static Geojson.Geometry.TypeCase valueOf(int value)
forNumber(int) instead.public static Geojson.Geometry.TypeCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite