Class Osmformat.HeaderBlock

    • Method Detail

      • hasBbox

        public boolean hasBbox()
        optional .OSMPBF.HeaderBBox bbox = 1;
      • getRequiredFeaturesList

        public List<String> getRequiredFeaturesList()
        repeated string required_features = 4;
         Additional tags to aid in parsing this dataset 
         
      • getRequiredFeaturesCount

        public int getRequiredFeaturesCount()
        repeated string required_features = 4;
         Additional tags to aid in parsing this dataset 
         
      • getRequiredFeatures

        public String getRequiredFeatures(int index)
        repeated string required_features = 4;
         Additional tags to aid in parsing this dataset 
         
      • getRequiredFeaturesBytes

        public com.google.protobuf.ByteString getRequiredFeaturesBytes(int index)
        repeated string required_features = 4;
         Additional tags to aid in parsing this dataset 
         
      • getOptionalFeaturesList

        public List<String> getOptionalFeaturesList()
        repeated string optional_features = 5;
      • getOptionalFeaturesCount

        public int getOptionalFeaturesCount()
        repeated string optional_features = 5;
      • getOptionalFeatures

        public String getOptionalFeatures(int index)
        repeated string optional_features = 5;
      • getOptionalFeaturesBytes

        public com.google.protobuf.ByteString getOptionalFeaturesBytes(int index)
        repeated string optional_features = 5;
      • hasWritingprogram

        public boolean hasWritingprogram()
        optional string writingprogram = 16;
      • getWritingprogram

        public String getWritingprogram()
        optional string writingprogram = 16;
      • getWritingprogramBytes

        public com.google.protobuf.ByteString getWritingprogramBytes()
        optional string writingprogram = 16;
      • hasSource

        public boolean hasSource()
        optional string source = 17;
         From the bbox field.
         
      • getSource

        public String getSource()
        optional string source = 17;
         From the bbox field.
         
      • getSourceBytes

        public com.google.protobuf.ByteString getSourceBytes()
        optional string source = 17;
         From the bbox field.
         
      • 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.HeaderBlock parseFrom(com.google.protobuf.ByteString data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.HeaderBlock 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.HeaderBlock parseFrom(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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