public static enum VectorTile.Tile.GeomType extends Enum<VectorTile.Tile.GeomType> implements com.google.protobuf.ProtocolMessageEnum
GeomType is described in section 4.3.4 of the specificationProtobuf enum
vector_tile.Tile.GeomType| Enum Constant and Description |
|---|
LINESTRING
LINESTRING = 2; |
POINT
POINT = 1; |
POLYGON
POLYGON = 3; |
UNKNOWN
UNKNOWN = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
LINESTRING_VALUE
LINESTRING = 2; |
static int |
POINT_VALUE
POINT = 1; |
static int |
POLYGON_VALUE
POLYGON = 3; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
static VectorTile.Tile.GeomType |
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<VectorTile.Tile.GeomType> |
internalGetValueMap() |
static VectorTile.Tile.GeomType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static VectorTile.Tile.GeomType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static VectorTile.Tile.GeomType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VectorTile.Tile.GeomType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VectorTile.Tile.GeomType UNKNOWN
UNKNOWN = 0;public static final VectorTile.Tile.GeomType POINT
POINT = 1;public static final VectorTile.Tile.GeomType LINESTRING
LINESTRING = 2;public static final VectorTile.Tile.GeomType POLYGON
POLYGON = 3;public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int POINT_VALUE
POINT = 1;public static final int LINESTRING_VALUE
LINESTRING = 2;public static final int POLYGON_VALUE
POLYGON = 3;public static VectorTile.Tile.GeomType[] values()
for (VectorTile.Tile.GeomType c : VectorTile.Tile.GeomType.values()) System.out.println(c);
public static VectorTile.Tile.GeomType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static VectorTile.Tile.GeomType valueOf(int value)
forNumber(int) instead.public static VectorTile.Tile.GeomType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<VectorTile.Tile.GeomType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static VectorTile.Tile.GeomType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022. All rights reserved.