Warning, /libraries/kosmindoormap/src/osm/pbf/fileformat.proto is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: 2010 Scott A. Crosby. <scott@sacrosby.com> 0003 0004 SPDX-License-Identifier: MIT 0005 */ 0006 0007 syntax = "proto2"; 0008 option optimize_for = LITE_RUNTIME; 0009 option java_package = "crosby.binary"; 0010 package OSMPBF; 0011 0012 //protoc --java_out=../.. fileformat.proto 0013 0014 0015 // 0016 // STORAGE LAYER: Storing primitives. 0017 // 0018 0019 message Blob { 0020 optional bytes raw = 1; // No compression 0021 optional int32 raw_size = 2; // When compressed, the uncompressed size 0022 0023 // Possible compressed versions of the data. 0024 optional bytes zlib_data = 3; 0025 0026 // PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED. 0027 optional bytes lzma_data = 4; 0028 0029 // Formerly used for bzip2 compressed data. Depreciated in 2010. 0030 optional bytes OBSOLETE_bzip2_data = 5 [deprecated=true]; // Don't reuse this tag number. 0031 } 0032 0033 /* A file contains an sequence of fileblock headers, each prefixed by 0034 their length in network byte order, followed by a data block 0035 containing the actual data. types staring with a "_" are reserved. 0036 */ 0037 0038 message BlobHeader { 0039 required string type = 1; 0040 optional bytes indexdata = 2; 0041 required int32 datasize = 3; 0042 }