Package vector_tile
Interface VectorTile.Tile.FeatureOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VectorTile.Tile.Feature
,VectorTile.Tile.Feature.Builder
- Enclosing class:
- VectorTile.Tile
public static interface VectorTile.Tile.FeatureOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
getGeometry
(int index) Contains a stream of commands and parameters (vertices).int
Contains a stream of commands and parameters (vertices).Contains a stream of commands and parameters (vertices).long
getId()
optional uint64 id = 1 [default = 0];
int
getTags
(int index) Tags of this feature are encoded as repeated pairs of integers.int
Tags of this feature are encoded as repeated pairs of integers.Tags of this feature are encoded as repeated pairs of integers.getType()
The type of geometry stored in this feature.boolean
hasId()
optional uint64 id = 1 [default = 0];
boolean
hasType()
The type of geometry stored in this feature.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasId
boolean hasId()optional uint64 id = 1 [default = 0];
-
getId
long getId()optional uint64 id = 1 [default = 0];
-
getTagsList
Tags of this feature are encoded as repeated pairs of integers. A detailed description of tags is located in sections 4.2 and 4.4 of the specification
repeated uint32 tags = 2 [packed = true];
-
getTagsCount
int getTagsCount()Tags of this feature are encoded as repeated pairs of integers. A detailed description of tags is located in sections 4.2 and 4.4 of the specification
repeated uint32 tags = 2 [packed = true];
-
getTags
int getTags(int index) Tags of this feature are encoded as repeated pairs of integers. A detailed description of tags is located in sections 4.2 and 4.4 of the specification
repeated uint32 tags = 2 [packed = true];
-
hasType
boolean hasType()The type of geometry stored in this feature.
optional .vector_tile.Tile.GeomType type = 3 [default = UNKNOWN];
-
getType
VectorTile.Tile.GeomType getType()The type of geometry stored in this feature.
optional .vector_tile.Tile.GeomType type = 3 [default = UNKNOWN];
-
getGeometryList
Contains a stream of commands and parameters (vertices). A detailed description on geometry encoding is located in section 4.3 of the specification.
repeated uint32 geometry = 4 [packed = true];
-
getGeometryCount
int getGeometryCount()Contains a stream of commands and parameters (vertices). A detailed description on geometry encoding is located in section 4.3 of the specification.
repeated uint32 geometry = 4 [packed = true];
-
getGeometry
int getGeometry(int index) Contains a stream of commands and parameters (vertices). A detailed description on geometry encoding is located in section 4.3 of the specification.
repeated uint32 geometry = 4 [packed = true];
-