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 specification
 
Protobuf type vector_tile.Tile.Layer
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Layers are described in section 4.1 of the specification

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage

    com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final com.google.protobuf.Parser<VectorTile.Tile.Layer>
    Deprecated.
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    int
    Although this is an "optional" field it is required by the specification.
    getFeatures(int index)
    The actual features in this tile.
    int
    The actual features in this tile.
    The actual features in this tile.
    The actual features in this tile.
    The actual features in this tile.
    getKeys(int index)
    Dictionary encoding for keys
    com.google.protobuf.ByteString
    getKeysBytes(int index)
    Dictionary encoding for keys
    int
    Dictionary encoding for keys
    com.google.protobuf.ProtocolStringList
    Dictionary encoding for keys
    required string name = 1;
    com.google.protobuf.ByteString
    required string name = 1;
    com.google.protobuf.Parser<VectorTile.Tile.Layer>
     
    int
     
    final com.google.protobuf.UnknownFieldSet
     
    getValues(int index)
    Dictionary encoding for values
    int
    Dictionary encoding for values
    Dictionary encoding for values
    getValuesOrBuilder(int index)
    Dictionary encoding for values
    Dictionary encoding for values
    int
    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
    Although this is an "optional" field it is required by the specification.
    int
     
    boolean
    required string name = 1;
    boolean
    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
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<VectorTile.Tile.Layer>
     
     
    void
    writeTo(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, parseUnknownFieldProto3

    Methods 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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder

    getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • Field Details

  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.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:
      hasVersion in interface VectorTile.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:
      getVersion in interface VectorTile.Tile.LayerOrBuilder
    • hasName

      public boolean hasName()
      required string name = 1;
      Specified by:
      hasName in interface VectorTile.Tile.LayerOrBuilder
    • getName

      public String getName()
      required string name = 1;
      Specified by:
      getName in interface VectorTile.Tile.LayerOrBuilder
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      required string name = 1;
      Specified by:
      getNameBytes in interface VectorTile.Tile.LayerOrBuilder
    • getFeaturesList

      public List<VectorTile.Tile.Feature> getFeaturesList()
       The actual features in this tile.
       
      repeated .vector_tile.Tile.Feature features = 2;
      Specified by:
      getFeaturesList in interface VectorTile.Tile.LayerOrBuilder
    • getFeaturesOrBuilderList

      public List<? extends VectorTile.Tile.FeatureOrBuilder> getFeaturesOrBuilderList()
       The actual features in this tile.
       
      repeated .vector_tile.Tile.Feature features = 2;
      Specified by:
      getFeaturesOrBuilderList in interface VectorTile.Tile.LayerOrBuilder
    • getFeaturesCount

      public int getFeaturesCount()
       The actual features in this tile.
       
      repeated .vector_tile.Tile.Feature features = 2;
      Specified by:
      getFeaturesCount in interface VectorTile.Tile.LayerOrBuilder
    • getFeatures

      public VectorTile.Tile.Feature getFeatures(int index)
       The actual features in this tile.
       
      repeated .vector_tile.Tile.Feature features = 2;
      Specified by:
      getFeatures in interface VectorTile.Tile.LayerOrBuilder
    • getFeaturesOrBuilder

      public VectorTile.Tile.FeatureOrBuilder getFeaturesOrBuilder(int index)
       The actual features in this tile.
       
      repeated .vector_tile.Tile.Feature features = 2;
      Specified by:
      getFeaturesOrBuilder in interface VectorTile.Tile.LayerOrBuilder
    • getKeysList

      public com.google.protobuf.ProtocolStringList getKeysList()
       Dictionary encoding for keys
       
      repeated string keys = 3;
      Specified by:
      getKeysList in interface VectorTile.Tile.LayerOrBuilder
    • getKeysCount

      public int getKeysCount()
       Dictionary encoding for keys
       
      repeated string keys = 3;
      Specified by:
      getKeysCount in interface VectorTile.Tile.LayerOrBuilder
    • getKeys

      public String getKeys(int index)
       Dictionary encoding for keys
       
      repeated string keys = 3;
      Specified by:
      getKeys in interface VectorTile.Tile.LayerOrBuilder
    • getKeysBytes

      public com.google.protobuf.ByteString getKeysBytes(int index)
       Dictionary encoding for keys
       
      repeated string keys = 3;
      Specified by:
      getKeysBytes in interface VectorTile.Tile.LayerOrBuilder
    • getValuesList

      public List<VectorTile.Tile.Value> getValuesList()
       Dictionary encoding for values
       
      repeated .vector_tile.Tile.Value values = 4;
      Specified by:
      getValuesList in interface VectorTile.Tile.LayerOrBuilder
    • getValuesOrBuilderList

      public List<? extends VectorTile.Tile.ValueOrBuilder> getValuesOrBuilderList()
       Dictionary encoding for values
       
      repeated .vector_tile.Tile.Value values = 4;
      Specified by:
      getValuesOrBuilderList in interface VectorTile.Tile.LayerOrBuilder
    • getValuesCount

      public int getValuesCount()
       Dictionary encoding for values
       
      repeated .vector_tile.Tile.Value values = 4;
      Specified by:
      getValuesCount in interface VectorTile.Tile.LayerOrBuilder
    • getValues

      public VectorTile.Tile.Value getValues(int index)
       Dictionary encoding for values
       
      repeated .vector_tile.Tile.Value values = 4;
      Specified by:
      getValues in interface VectorTile.Tile.LayerOrBuilder
    • getValuesOrBuilder

      public VectorTile.Tile.ValueOrBuilder getValuesOrBuilder(int index)
       Dictionary encoding for values
       
      repeated .vector_tile.Tile.Value values = 4;
      Specified by:
      getValuesOrBuilder in interface VectorTile.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:
      hasExtent in interface VectorTile.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:
      getExtent in interface VectorTile.Tile.LayerOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<VectorTile.Tile.Layer>
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static VectorTile.Tile.Layer parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VectorTile.Tile.Layer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VectorTile.Tile.Layer parseDelimitedFrom(InputStream input) throws IOException
      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

      public VectorTile.Tile.Layer.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static VectorTile.Tile.Layer.Builder newBuilder()
    • newBuilder

      public static VectorTile.Tile.Layer.Builder newBuilder(VectorTile.Tile.Layer prototype)
    • toBuilder

      public VectorTile.Tile.Layer.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected VectorTile.Tile.Layer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static VectorTile.Tile.Layer getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VectorTile.Tile.Layer> parser()
    • getParserForType

      public com.google.protobuf.Parser<VectorTile.Tile.Layer> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public VectorTile.Tile.Layer getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<VectorTile.Tile.Layer>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder