Package crosby.binary

Interface Osmformat.RelationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Osmformat.Relation, Osmformat.Relation.Builder
    Enclosing class:
    Osmformat

    public static interface Osmformat.RelationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getId()
      required int64 id = 1;
      Osmformat.Info getInfo()
      optional .OSMPBF.Info info = 4;
      Osmformat.InfoOrBuilder getInfoOrBuilder()
      optional .OSMPBF.Info info = 4;
      int getKeys​(int index)
      Parallel arrays.
      int getKeysCount()
      Parallel arrays.
      java.util.List<java.lang.Integer> getKeysList()
      Parallel arrays.
      long getMemids​(int index)
      DELTA encoded
      int getMemidsCount()
      DELTA encoded
      java.util.List<java.lang.Long> getMemidsList()
      DELTA encoded
      int getRolesSid​(int index)
      Parallel arrays
      int getRolesSidCount()
      Parallel arrays
      java.util.List<java.lang.Integer> getRolesSidList()
      Parallel arrays
      Osmformat.Relation.MemberType getTypes​(int index)
      repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
      int getTypesCount()
      repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
      java.util.List<Osmformat.Relation.MemberType> getTypesList()
      repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
      int getVals​(int index)
      repeated uint32 vals = 3 [packed = true];
      int getValsCount()
      repeated uint32 vals = 3 [packed = true];
      java.util.List<java.lang.Integer> getValsList()
      repeated uint32 vals = 3 [packed = true];
      boolean hasId()
      required int64 id = 1;
      boolean hasInfo()
      optional .OSMPBF.Info info = 4;
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasId

        boolean hasId()
        required int64 id = 1;
        Returns:
        Whether the id field is set.
      • getId

        long getId()
        required int64 id = 1;
        Returns:
        The id.
      • getKeysList

        java.util.List<java.lang.Integer> getKeysList()
         Parallel arrays.
         
        repeated uint32 keys = 2 [packed = true];
        Returns:
        A list containing the keys.
      • getKeysCount

        int getKeysCount()
         Parallel arrays.
         
        repeated uint32 keys = 2 [packed = true];
        Returns:
        The count of keys.
      • getKeys

        int getKeys​(int index)
         Parallel arrays.
         
        repeated uint32 keys = 2 [packed = true];
        Parameters:
        index - The index of the element to return.
        Returns:
        The keys at the given index.
      • getValsList

        java.util.List<java.lang.Integer> getValsList()
        repeated uint32 vals = 3 [packed = true];
        Returns:
        A list containing the vals.
      • getValsCount

        int getValsCount()
        repeated uint32 vals = 3 [packed = true];
        Returns:
        The count of vals.
      • getVals

        int getVals​(int index)
        repeated uint32 vals = 3 [packed = true];
        Parameters:
        index - The index of the element to return.
        Returns:
        The vals at the given index.
      • hasInfo

        boolean hasInfo()
        optional .OSMPBF.Info info = 4;
        Returns:
        Whether the info field is set.
      • getInfo

        Osmformat.Info getInfo()
        optional .OSMPBF.Info info = 4;
        Returns:
        The info.
      • getRolesSidList

        java.util.List<java.lang.Integer> getRolesSidList()
         Parallel arrays
         
        repeated int32 roles_sid = 8 [packed = true];
        Returns:
        A list containing the rolesSid.
      • getRolesSidCount

        int getRolesSidCount()
         Parallel arrays
         
        repeated int32 roles_sid = 8 [packed = true];
        Returns:
        The count of rolesSid.
      • getRolesSid

        int getRolesSid​(int index)
         Parallel arrays
         
        repeated int32 roles_sid = 8 [packed = true];
        Parameters:
        index - The index of the element to return.
        Returns:
        The rolesSid at the given index.
      • getMemidsList

        java.util.List<java.lang.Long> getMemidsList()
         DELTA encoded
         
        repeated sint64 memids = 9 [packed = true];
        Returns:
        A list containing the memids.
      • getMemidsCount

        int getMemidsCount()
         DELTA encoded
         
        repeated sint64 memids = 9 [packed = true];
        Returns:
        The count of memids.
      • getMemids

        long getMemids​(int index)
         DELTA encoded
         
        repeated sint64 memids = 9 [packed = true];
        Parameters:
        index - The index of the element to return.
        Returns:
        The memids at the given index.
      • getTypesList

        java.util.List<Osmformat.Relation.MemberType> getTypesList()
        repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
        Returns:
        A list containing the types.
      • getTypesCount

        int getTypesCount()
        repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
        Returns:
        The count of types.
      • getTypes

        Osmformat.Relation.MemberType getTypes​(int index)
        repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
        Parameters:
        index - The index of the element to return.
        Returns:
        The types at the given index.