public static final class VectorTile.Tile.Layer extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<VectorTile.Tile.Layer> implements VectorTile.Tile.LayerOrBuilder
Layers are described in section 4.1 of the specificationProtobuf type
vector_tile.Tile.Layer| Modifier and Type | Class and Description |
|---|---|
static class |
VectorTile.Tile.Layer.Builder
Layers are described in section 4.1 of the specification
|
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EXTENT_FIELD_NUMBER |
static int |
FEATURES_FIELD_NUMBER |
static int |
KEYS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<VectorTile.Tile.Layer> |
PARSER
Deprecated.
|
static int |
VALUES_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static VectorTile.Tile.Layer |
getDefaultInstance() |
VectorTile.Tile.Layer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getExtent()
Although this is an "optional" field it is required by the specification.
|
VectorTile.Tile.Feature |
getFeatures(int index)
The actual features in this tile.
|
int |
getFeaturesCount()
The actual features in this tile.
|
List<VectorTile.Tile.Feature> |
getFeaturesList()
The actual features in this tile.
|
VectorTile.Tile.FeatureOrBuilder |
getFeaturesOrBuilder(int index)
The actual features in this tile.
|
List<? extends VectorTile.Tile.FeatureOrBuilder> |
getFeaturesOrBuilderList()
The actual features in this tile.
|
String |
getKeys(int index)
Dictionary encoding for keys
|
com.google.protobuf.ByteString |
getKeysBytes(int index)
Dictionary encoding for keys
|
int |
getKeysCount()
Dictionary encoding for keys
|
com.google.protobuf.ProtocolStringList |
getKeysList()
Dictionary encoding for keys
|
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
com.google.protobuf.Parser<VectorTile.Tile.Layer> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
VectorTile.Tile.Value |
getValues(int index)
Dictionary encoding for values
|
int |
getValuesCount()
Dictionary encoding for values
|
List<VectorTile.Tile.Value> |
getValuesList()
Dictionary encoding for values
|
VectorTile.Tile.ValueOrBuilder |
getValuesOrBuilder(int index)
Dictionary encoding for values
|
List<? extends VectorTile.Tile.ValueOrBuilder> |
getValuesOrBuilderList()
Dictionary encoding for values
|
int |
getVersion()
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
|
boolean |
hasExtent()
Although this is an "optional" field it is required by the specification.
|
int |
hashCode() |
boolean |
hasName()
required string name = 1; |
boolean |
hasVersion()
Any compliant implementation must first read the version
number encoded in this message and choose the correct
implementation for this version number before proceeding to
decode other parts of this message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VectorTile.Tile.Layer.Builder |
newBuilder() |
static VectorTile.Tile.Layer.Builder |
newBuilder(VectorTile.Tile.Layer prototype) |
VectorTile.Tile.Layer.Builder |
newBuilderForType() |
protected VectorTile.Tile.Layer.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static VectorTile.Tile.Layer |
parseDelimitedFrom(InputStream input) |
static VectorTile.Tile.Layer |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VectorTile.Tile.Layer |
parseFrom(byte[] data) |
static VectorTile.Tile.Layer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VectorTile.Tile.Layer |
parseFrom(ByteBuffer data) |
static VectorTile.Tile.Layer |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VectorTile.Tile.Layer |
parseFrom(com.google.protobuf.ByteString data) |
static VectorTile.Tile.Layer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VectorTile.Tile.Layer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VectorTile.Tile.Layer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VectorTile.Tile.Layer |
parseFrom(InputStream input) |
static VectorTile.Tile.Layer |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VectorTile.Tile.Layer> |
parser() |
VectorTile.Tile.Layer.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final int VERSION_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
public static final int EXTENT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<VectorTile.Tile.Layer> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasVersion()
Any compliant implementation must first read the version number encoded in this message and choose the correct implementation for this version number before proceeding to decode other parts of this message.
required uint32 version = 15 [default = 1];hasVersion in interface VectorTile.Tile.LayerOrBuilderpublic int getVersion()
Any compliant implementation must first read the version number encoded in this message and choose the correct implementation for this version number before proceeding to decode other parts of this message.
required uint32 version = 15 [default = 1];getVersion in interface VectorTile.Tile.LayerOrBuilderpublic boolean hasName()
required string name = 1;hasName in interface VectorTile.Tile.LayerOrBuilderpublic String getName()
required string name = 1;getName in interface VectorTile.Tile.LayerOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
required string name = 1;getNameBytes in interface VectorTile.Tile.LayerOrBuilderpublic List<VectorTile.Tile.Feature> getFeaturesList()
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;getFeaturesList in interface VectorTile.Tile.LayerOrBuilderpublic List<? extends VectorTile.Tile.FeatureOrBuilder> getFeaturesOrBuilderList()
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;getFeaturesOrBuilderList in interface VectorTile.Tile.LayerOrBuilderpublic int getFeaturesCount()
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;getFeaturesCount in interface VectorTile.Tile.LayerOrBuilderpublic VectorTile.Tile.Feature getFeatures(int index)
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;getFeatures in interface VectorTile.Tile.LayerOrBuilderpublic VectorTile.Tile.FeatureOrBuilder getFeaturesOrBuilder(int index)
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;getFeaturesOrBuilder in interface VectorTile.Tile.LayerOrBuilderpublic com.google.protobuf.ProtocolStringList getKeysList()
Dictionary encoding for keys
repeated string keys = 3;getKeysList in interface VectorTile.Tile.LayerOrBuilderpublic int getKeysCount()
Dictionary encoding for keys
repeated string keys = 3;getKeysCount in interface VectorTile.Tile.LayerOrBuilderpublic String getKeys(int index)
Dictionary encoding for keys
repeated string keys = 3;getKeys in interface VectorTile.Tile.LayerOrBuilderpublic com.google.protobuf.ByteString getKeysBytes(int index)
Dictionary encoding for keys
repeated string keys = 3;getKeysBytes in interface VectorTile.Tile.LayerOrBuilderpublic List<VectorTile.Tile.Value> getValuesList()
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;getValuesList in interface VectorTile.Tile.LayerOrBuilderpublic List<? extends VectorTile.Tile.ValueOrBuilder> getValuesOrBuilderList()
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;getValuesOrBuilderList in interface VectorTile.Tile.LayerOrBuilderpublic int getValuesCount()
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;getValuesCount in interface VectorTile.Tile.LayerOrBuilderpublic VectorTile.Tile.Value getValues(int index)
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;getValues in interface VectorTile.Tile.LayerOrBuilderpublic VectorTile.Tile.ValueOrBuilder getValuesOrBuilder(int index)
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;getValuesOrBuilder in interface VectorTile.Tile.LayerOrBuilderpublic boolean hasExtent()
Although this is an "optional" field it is required by the specification. See https://github.com/mapbox/vector-tile-spec/issues/47
optional uint32 extent = 5 [default = 4096];hasExtent in interface VectorTile.Tile.LayerOrBuilderpublic int getExtent()
Although this is an "optional" field it is required by the specification. See https://github.com/mapbox/vector-tile-spec/issues/47
optional uint32 extent = 5 [default = 4096];getExtent in interface VectorTile.Tile.LayerOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<VectorTile.Tile.Layer>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static VectorTile.Tile.Layer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VectorTile.Tile.Layer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VectorTile.Tile.Layer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VectorTile.Tile.Layer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VectorTile.Tile.Layer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VectorTile.Tile.Layer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VectorTile.Tile.Layer parseFrom(InputStream input) throws IOException
IOExceptionpublic static VectorTile.Tile.Layer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VectorTile.Tile.Layer parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VectorTile.Tile.Layer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VectorTile.Tile.Layer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VectorTile.Tile.Layer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VectorTile.Tile.Layer.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VectorTile.Tile.Layer.Builder newBuilder()
public static VectorTile.Tile.Layer.Builder newBuilder(VectorTile.Tile.Layer prototype)
public VectorTile.Tile.Layer.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VectorTile.Tile.Layer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VectorTile.Tile.Layer getDefaultInstance()
public static com.google.protobuf.Parser<VectorTile.Tile.Layer> parser()
public com.google.protobuf.Parser<VectorTile.Tile.Layer> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VectorTile.Tile.Layer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<VectorTile.Tile.Layer>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.