protobuf
protobuf copied to clipboard
Protocol Buffers - Google's data interchange format
**What version of protobuf and what language are you using?** Version: tested releases of v3.8.0 and v21.2 Language: C++ **What operating system (Linux, Windows, ...) and version?** `Linux 5.4.19.bsk.2-amd64 #5.4.19.bsk.2...
**What language does this apply to?** C++ when using CMake **Describe the problem you are trying to solve.** The CMake function [`protobuf_generate`](https://github.com/protocolbuffers/protobuf/blob/316a97bfea2de479787908b9fe9f2bd9e7949d52/cmake/protobuf-config.cmake.in) is undocumented. Aside from a [single example](https://github.com/protocolbuffers/protobuf/blob/316a97bfea2de479787908b9fe9f2bd9e7949d52/examples/CMakeLists.txt#L45) there...
I didn't check all the OS's but at least the OSX universal binary contains a `protoc` binary which isn't marked executable (i.e., `chmod +x`). https://github.com/protocolbuffers/protobuf/releases/download/v21.3/protoc-21.3-osx-universal_binary.zip This makes using the archives...
**What version of protobuf and what language are you using?** Version: 4.21.2 Language: Python **What operating system (Linux, Windows, ...) and version?** Reproduced on Linux and Windows **What runtime /...
Hi, I used the following commands to install protobuf on my **MacBook Pro of Mac OS X, Sierra** $ ./configure $ make $ make check $ sudo make install $...
In Linux,When call "ConvertMessageToJson" function trigger GOOGLE_DCHECK(target + size == res) ,Why? But Windwos is ok.
**What language does this apply to?** If it's a proto syntax change, is it for proto2 or proto3? If it's about generated code change, what programming language? all languages **Describe...
In my issue https://github.com/protocolbuffers/protobuf/issues/6875 I requested an addition of enum mappings from value to key in the enum classes generated in PHP. @haberman suggested the following solution and asked me...
In python, there is an option to sort keys: https://github.com/protocolbuffers/protobuf/blob/dfab275eca9481b5de31122db6fc91b31db3382a/python/google/protobuf/json_format.py#L105 In golang, this happens automatically. However, the CPP implementation doesn't seem to have any similar option: https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.util.json_util#JsonPrintOptions. Two examples of...
**What version of protobuf and what language are you using?** Version: v3.4.0. Language: C++ **What operating system (Linux, Windows, ...) and version?** Windows10 **What runtime / compiler are you using...