Package vector_tile
Class VectorTile.Tile.Layer
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<VectorTile.Tile.Layer>
vector_tile.VectorTile.Tile.Layer
- All Implemented Interfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<VectorTile.Tile.Layer>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,VectorTile.Tile.LayerOrBuilder
- Enclosing class:
VectorTile.Tile
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLayers are described in section 4.1 of the specificationNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriterNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<VectorTile.Tile.Layer> Deprecated.static final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic VectorTile.Tile.Layerstatic final com.google.protobuf.Descriptors.DescriptorintAlthough this is an "optional" field it is required by the specification.getFeatures(int index) The actual features in this tile.intThe actual features in this tile.The actual features in this tile.getFeaturesOrBuilder(int index) The actual features in this tile.List<? extends VectorTile.Tile.FeatureOrBuilder> The actual features in this tile.getKeys(int index) Dictionary encoding for keyscom.google.protobuf.ByteStringgetKeysBytes(int index) Dictionary encoding for keysintDictionary encoding for keyscom.google.protobuf.ProtocolStringListDictionary encoding for keysgetName()required string name = 1;com.google.protobuf.ByteStringrequired string name = 1;com.google.protobuf.Parser<VectorTile.Tile.Layer> intfinal com.google.protobuf.UnknownFieldSetgetValues(int index) Dictionary encoding for valuesintDictionary encoding for valuesDictionary encoding for valuesgetValuesOrBuilder(int index) Dictionary encoding for valuesList<? extends VectorTile.Tile.ValueOrBuilder> Dictionary encoding for valuesintAny 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.booleanAlthough this is an "optional" field it is required by the specification.inthashCode()booleanhasName()required string name = 1;booleanAny 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.FieldAccessorTablefinal booleannewBuilder(VectorTile.Tile.Layer prototype) protected VectorTile.Tile.Layer.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static VectorTile.Tile.LayerparseDelimitedFrom(InputStream input) static VectorTile.Tile.LayerparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VectorTile.Tile.LayerparseFrom(byte[] data) static VectorTile.Tile.LayerparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VectorTile.Tile.LayerparseFrom(com.google.protobuf.ByteString data) static VectorTile.Tile.LayerparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VectorTile.Tile.LayerparseFrom(com.google.protobuf.CodedInputStream input) static VectorTile.Tile.LayerparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VectorTile.Tile.LayerparseFrom(InputStream input) static VectorTile.Tile.LayerparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VectorTile.Tile.LayerparseFrom(ByteBuffer data) static VectorTile.Tile.LayerparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VectorTile.Tile.Layer> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
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, parseUnknownFieldProto3Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER- See Also:
-
KEYS_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER- See Also:
-
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER- See Also:
-
EXTENT_FIELD_NUMBER
public static final int EXTENT_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasVersion
public 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];- Specified by:
hasVersionin interfaceVectorTile.Tile.LayerOrBuilder
-
getVersion
public 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];- Specified by:
getVersionin interfaceVectorTile.Tile.LayerOrBuilder
-
hasName
public boolean hasName()required string name = 1;- Specified by:
hasNamein interfaceVectorTile.Tile.LayerOrBuilder
-
getName
required string name = 1;- Specified by:
getNamein interfaceVectorTile.Tile.LayerOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()required string name = 1;- Specified by:
getNameBytesin interfaceVectorTile.Tile.LayerOrBuilder
-
getFeaturesList
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;- Specified by:
getFeaturesListin interfaceVectorTile.Tile.LayerOrBuilder
-
getFeaturesOrBuilderList
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;- Specified by:
getFeaturesOrBuilderListin interfaceVectorTile.Tile.LayerOrBuilder
-
getFeaturesCount
public int getFeaturesCount()The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;- Specified by:
getFeaturesCountin interfaceVectorTile.Tile.LayerOrBuilder
-
getFeatures
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;- Specified by:
getFeaturesin interfaceVectorTile.Tile.LayerOrBuilder
-
getFeaturesOrBuilder
The actual features in this tile.
repeated .vector_tile.Tile.Feature features = 2;- Specified by:
getFeaturesOrBuilderin interfaceVectorTile.Tile.LayerOrBuilder
-
getKeysList
public com.google.protobuf.ProtocolStringList getKeysList()Dictionary encoding for keys
repeated string keys = 3;- Specified by:
getKeysListin interfaceVectorTile.Tile.LayerOrBuilder
-
getKeysCount
public int getKeysCount()Dictionary encoding for keys
repeated string keys = 3;- Specified by:
getKeysCountin interfaceVectorTile.Tile.LayerOrBuilder
-
getKeys
Dictionary encoding for keys
repeated string keys = 3;- Specified by:
getKeysin interfaceVectorTile.Tile.LayerOrBuilder
-
getKeysBytes
public com.google.protobuf.ByteString getKeysBytes(int index) Dictionary encoding for keys
repeated string keys = 3;- Specified by:
getKeysBytesin interfaceVectorTile.Tile.LayerOrBuilder
-
getValuesList
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;- Specified by:
getValuesListin interfaceVectorTile.Tile.LayerOrBuilder
-
getValuesOrBuilderList
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;- Specified by:
getValuesOrBuilderListin interfaceVectorTile.Tile.LayerOrBuilder
-
getValuesCount
public int getValuesCount()Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;- Specified by:
getValuesCountin interfaceVectorTile.Tile.LayerOrBuilder
-
getValues
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;- Specified by:
getValuesin interfaceVectorTile.Tile.LayerOrBuilder
-
getValuesOrBuilder
Dictionary encoding for values
repeated .vector_tile.Tile.Value values = 4;- Specified by:
getValuesOrBuilderin interfaceVectorTile.Tile.LayerOrBuilder
-
hasExtent
public 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];- Specified by:
hasExtentin interfaceVectorTile.Tile.LayerOrBuilder
-
getExtent
public 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];- Specified by:
getExtentin interfaceVectorTile.Tile.LayerOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<VectorTile.Tile.Layer>
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static VectorTile.Tile.Layer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static VectorTile.Tile.Layer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VectorTile.Tile.Layer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<VectorTile.Tile.Layer>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-