Class Osmformat.Relation

    • Method Detail

      • getParserForType

        public com.google.protobuf.Parser<Osmformat.Relation> getParserForType()
      • hasId

        public boolean hasId()
        required int64 id = 1;
      • getId

        public long getId()
        required int64 id = 1;
      • getKeysList

        public List<Integer> getKeysList()
        repeated uint32 keys = 2 [packed = true];
         Parallel arrays.
         
      • getKeysCount

        public int getKeysCount()
        repeated uint32 keys = 2 [packed = true];
         Parallel arrays.
         
      • getKeys

        public int getKeys(int index)
        repeated uint32 keys = 2 [packed = true];
         Parallel arrays.
         
      • getValsList

        public List<Integer> getValsList()
        repeated uint32 vals = 3 [packed = true];
      • getValsCount

        public int getValsCount()
        repeated uint32 vals = 3 [packed = true];
      • getVals

        public int getVals(int index)
        repeated uint32 vals = 3 [packed = true];
      • hasInfo

        public boolean hasInfo()
        optional .OSMPBF.Info info = 4;
      • getInfo

        public Osmformat.Info getInfo()
        optional .OSMPBF.Info info = 4;
      • getRolesSidList

        public List<Integer> getRolesSidList()
        repeated int32 roles_sid = 8 [packed = true];
         Parallel arrays
         
      • getRolesSidCount

        public int getRolesSidCount()
        repeated int32 roles_sid = 8 [packed = true];
         Parallel arrays
         
      • getRolesSid

        public int getRolesSid(int index)
        repeated int32 roles_sid = 8 [packed = true];
         Parallel arrays
         
      • getMemidsList

        public List<Long> getMemidsList()
        repeated sint64 memids = 9 [packed = true];
         DELTA encoded
         
      • getMemidsCount

        public int getMemidsCount()
        repeated sint64 memids = 9 [packed = true];
         DELTA encoded
         
      • getMemids

        public long getMemids(int index)
        repeated sint64 memids = 9 [packed = true];
         DELTA encoded
         
      • getTypesCount

        public int getTypesCount()
        repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
      • isInitialized

        public final boolean isInitialized()
      • writeTo

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

        public int getSerializedSize()
      • parseFrom

        public static Osmformat.Relation parseFrom(com.google.protobuf.ByteString data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.Relation parseFrom(com.google.protobuf.ByteString data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.Relation parseFrom(byte[] data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.Relation parseFrom(byte[] data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.Relation parseFrom(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Throws:
        IOException