public static final class VectorTile.Tile.Feature.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder> implements VectorTile.Tile.FeatureOrBuilder
Features are described in section 4.2 of the specificationProtobuf type
vector_tile.Tile.Feature| Modifier and Type | Method and Description |
|---|---|
VectorTile.Tile.Feature.Builder |
addAllGeometry(Iterable<? extends Integer> values)
Contains a stream of commands and parameters (vertices).
|
VectorTile.Tile.Feature.Builder |
addAllTags(Iterable<? extends Integer> values)
Tags of this feature are encoded as repeated pairs of
integers.
|
VectorTile.Tile.Feature.Builder |
addGeometry(int value)
Contains a stream of commands and parameters (vertices).
|
VectorTile.Tile.Feature.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VectorTile.Tile.Feature.Builder |
addTags(int value)
Tags of this feature are encoded as repeated pairs of
integers.
|
VectorTile.Tile.Feature |
build() |
VectorTile.Tile.Feature |
buildPartial() |
VectorTile.Tile.Feature.Builder |
clear() |
VectorTile.Tile.Feature.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VectorTile.Tile.Feature.Builder |
clearGeometry()
Contains a stream of commands and parameters (vertices).
|
VectorTile.Tile.Feature.Builder |
clearId()
optional uint64 id = 1 [default = 0]; |
VectorTile.Tile.Feature.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VectorTile.Tile.Feature.Builder |
clearTags()
Tags of this feature are encoded as repeated pairs of
integers.
|
VectorTile.Tile.Feature.Builder |
clearType()
The type of geometry stored in this feature.
|
VectorTile.Tile.Feature.Builder |
clone() |
VectorTile.Tile.Feature |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getGeometry(int index)
Contains a stream of commands and parameters (vertices).
|
int |
getGeometryCount()
Contains a stream of commands and parameters (vertices).
|
List<Integer> |
getGeometryList()
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 |
getTagsCount()
Tags of this feature are encoded as repeated pairs of
integers.
|
List<Integer> |
getTagsList()
Tags of this feature are encoded as repeated pairs of
integers.
|
VectorTile.Tile.GeomType |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VectorTile.Tile.Feature.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VectorTile.Tile.Feature.Builder |
mergeFrom(com.google.protobuf.Message other) |
VectorTile.Tile.Feature.Builder |
mergeFrom(VectorTile.Tile.Feature other) |
VectorTile.Tile.Feature.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VectorTile.Tile.Feature.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VectorTile.Tile.Feature.Builder |
setGeometry(int index,
int value)
Contains a stream of commands and parameters (vertices).
|
VectorTile.Tile.Feature.Builder |
setId(long value)
optional uint64 id = 1 [default = 0]; |
VectorTile.Tile.Feature.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VectorTile.Tile.Feature.Builder |
setTags(int index,
int value)
Tags of this feature are encoded as repeated pairs of
integers.
|
VectorTile.Tile.Feature.Builder |
setType(VectorTile.Tile.GeomType value)
The type of geometry stored in this feature.
|
VectorTile.Tile.Feature.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public VectorTile.Tile.Feature.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public VectorTile.Tile.Feature getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VectorTile.Tile.Feature build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VectorTile.Tile.Feature buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VectorTile.Tile.Feature.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public VectorTile.Tile.Feature.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public VectorTile.Tile.Feature.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public VectorTile.Tile.Feature.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public VectorTile.Tile.Feature.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public VectorTile.Tile.Feature.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public VectorTile.Tile.Feature.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VectorTile.Tile.Feature.Builder>public VectorTile.Tile.Feature.Builder mergeFrom(VectorTile.Tile.Feature other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public VectorTile.Tile.Feature.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VectorTile.Tile.Feature.Builder>IOExceptionpublic boolean hasId()
optional uint64 id = 1 [default = 0];hasId in interface VectorTile.Tile.FeatureOrBuilderpublic long getId()
optional uint64 id = 1 [default = 0];getId in interface VectorTile.Tile.FeatureOrBuilderpublic VectorTile.Tile.Feature.Builder setId(long value)
optional uint64 id = 1 [default = 0];public VectorTile.Tile.Feature.Builder clearId()
optional uint64 id = 1 [default = 0];public List<Integer> 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];getTagsList in interface VectorTile.Tile.FeatureOrBuilderpublic 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];getTagsCount in interface VectorTile.Tile.FeatureOrBuilderpublic 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];getTags in interface VectorTile.Tile.FeatureOrBuilderpublic VectorTile.Tile.Feature.Builder setTags(int index, int value)
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];public VectorTile.Tile.Feature.Builder addTags(int value)
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];public VectorTile.Tile.Feature.Builder addAllTags(Iterable<? extends Integer> values)
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];public VectorTile.Tile.Feature.Builder clearTags()
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];public boolean hasType()
The type of geometry stored in this feature.
optional .vector_tile.Tile.GeomType type = 3 [default = UNKNOWN];hasType in interface VectorTile.Tile.FeatureOrBuilderpublic VectorTile.Tile.GeomType getType()
The type of geometry stored in this feature.
optional .vector_tile.Tile.GeomType type = 3 [default = UNKNOWN];getType in interface VectorTile.Tile.FeatureOrBuilderpublic VectorTile.Tile.Feature.Builder setType(VectorTile.Tile.GeomType value)
The type of geometry stored in this feature.
optional .vector_tile.Tile.GeomType type = 3 [default = UNKNOWN];public VectorTile.Tile.Feature.Builder clearType()
The type of geometry stored in this feature.
optional .vector_tile.Tile.GeomType type = 3 [default = UNKNOWN];public List<Integer> 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];getGeometryList in interface VectorTile.Tile.FeatureOrBuilderpublic 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];getGeometryCount in interface VectorTile.Tile.FeatureOrBuilderpublic 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];getGeometry in interface VectorTile.Tile.FeatureOrBuilderpublic VectorTile.Tile.Feature.Builder setGeometry(int index, int value)
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];public VectorTile.Tile.Feature.Builder addGeometry(int value)
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];public VectorTile.Tile.Feature.Builder addAllGeometry(Iterable<? extends Integer> values)
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];public VectorTile.Tile.Feature.Builder clearGeometry()
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];public final VectorTile.Tile.Feature.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>public final VectorTile.Tile.Feature.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VectorTile.Tile.Feature.Builder>Copyright © 2022. All rights reserved.