Class Osmformat.DenseNodes

    • Method Detail

      • getDescriptor

        public static final proto4.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class proto4.GeneratedMessage
      • getId

        public long getId​(int index)
         DELTA coded
         
        repeated sint64 id = 1 [packed = true];
        Specified by:
        getId in interface Osmformat.DenseNodesOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The id at the given index.
      • hasDenseinfo

        public boolean hasDenseinfo()
         repeated Info info = 4;
         
        optional .DenseInfo denseinfo = 5;
        Specified by:
        hasDenseinfo in interface Osmformat.DenseNodesOrBuilder
        Returns:
        Whether the denseinfo field is set.
      • getLat

        public long getLat​(int index)
         DELTA coded
         
        repeated sint64 lat = 8 [packed = true];
        Specified by:
        getLat in interface Osmformat.DenseNodesOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The lat at the given index.
      • getLon

        public long getLon​(int index)
         DELTA coded
         
        repeated sint64 lon = 9 [packed = true];
        Specified by:
        getLon in interface Osmformat.DenseNodesOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The lon at the given index.
      • getKeysValsList

        public List<Integer> getKeysValsList()
         Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
         
        repeated int32 keys_vals = 10 [packed = true];
        Specified by:
        getKeysValsList in interface Osmformat.DenseNodesOrBuilder
        Returns:
        A list containing the keysVals.
      • getKeysValsCount

        public int getKeysValsCount()
         Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
         
        repeated int32 keys_vals = 10 [packed = true];
        Specified by:
        getKeysValsCount in interface Osmformat.DenseNodesOrBuilder
        Returns:
        The count of keysVals.
      • getKeysVals

        public int getKeysVals​(int index)
         Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
         
        repeated int32 keys_vals = 10 [packed = true];
        Specified by:
        getKeysVals in interface Osmformat.DenseNodesOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The keysVals at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface proto4.MessageLiteOrBuilder
        Overrides:
        isInitialized in class proto4.GeneratedMessage
      • writeTo

        public void writeTo​(proto4.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface proto4.MessageLite
        Overrides:
        writeTo in class proto4.GeneratedMessage
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface proto4.MessageLite
        Overrides:
        getSerializedSize in class proto4.GeneratedMessage
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface proto4.Message
        Overrides:
        equals in class proto4.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface proto4.Message
        Overrides:
        hashCode in class proto4.AbstractMessage
      • parseFrom

        public static Osmformat.DenseNodes parseFrom​(ByteBuffer data)
                                              throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.DenseNodes parseFrom​(ByteBuffer data,
                                                     proto4.ExtensionRegistryLite extensionRegistry)
                                              throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.DenseNodes parseFrom​(proto4.ByteString data)
                                              throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.DenseNodes parseFrom​(proto4.ByteString data,
                                                     proto4.ExtensionRegistryLite extensionRegistry)
                                              throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.DenseNodes parseFrom​(byte[] data)
                                              throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.DenseNodes parseFrom​(byte[] data,
                                                     proto4.ExtensionRegistryLite extensionRegistry)
                                              throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • newBuilderForType

        public Osmformat.DenseNodes.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface proto4.Message
        Specified by:
        newBuilderForType in interface proto4.MessageLite
      • toBuilder

        public Osmformat.DenseNodes.Builder toBuilder()
        Specified by:
        toBuilder in interface proto4.Message
        Specified by:
        toBuilder in interface proto4.MessageLite
      • newBuilderForType

        protected Osmformat.DenseNodes.Builder newBuilderForType​(proto4.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class proto4.AbstractMessage
      • getParserForType

        public proto4.Parser<Osmformat.DenseNodes> getParserForType()
        Specified by:
        getParserForType in interface proto4.Message
        Specified by:
        getParserForType in interface proto4.MessageLite
        Overrides:
        getParserForType in class proto4.GeneratedMessage
      • getDefaultInstanceForType

        public Osmformat.DenseNodes getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface proto4.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface proto4.MessageOrBuilder