- Notifications
You must be signed in to change notification settings - Fork0
Protocol Buffers - Google's data interchange format
License
SafetyCulture/protobuf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Copyright 2008 Google Inc.
https://developers.google.com/protocol-buffers/
Protocol Buffers (a.k.a., protobuf) are Google's language-neutral,platform-neutral, extensible mechanism for serializing structured data. Youcan findprotobuf's documentation on the Google Developers site.
This README file contains protobuf installation instructions. To installprotobuf, you need to install the protocol compiler (used to compile .protofiles) and the protobuf runtime for your chosen programming language.
The protocol compiler is written in C++. If you are using C++, please followtheC++ Installation Instructions to install protoc alongwith the C++ runtime.
For non-C++ users, the simplest way to install the protocol compiler is todownload a pre-built binary from our release page:
https://github.com/protocolbuffers/protobuf/releases
In the downloads section of each release, you can find pre-built binaries inzip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binaryas well as a set of standard .proto files distributed along with protobuf.
If you are looking for an old version that is not available in the releasepage, check out the maven repo here:
https://repo1.maven.org/maven2/com/google/protobuf/protoc/
These pre-built binaries are only provided for released versions. If you wantto use the github master version at HEAD, or you need to modify protobuf code,or you are using C++, it's recommended to build your own protoc binary fromsource.
If you would like to build protoc binary from source, see theC++ InstallationInstructions.
Protobuf supports several different programming languages. For each programminglanguage, you can find instructions in the corresponding source directory abouthow to install protobuf runtime for that specific language:
Language | Source |
---|---|
C++ (include C++ runtime and protoc) | src |
Java | java |
Python | python |
Objective-C | objectivec |
C# | csharp |
JavaScript | js |
Ruby | ruby |
Go | protocolbuffers/protobuf-go |
PHP | php |
Dart | dart-lang/protobuf |
The best way to learn how to use protobuf is to follow the tutorials in ourdeveloper guide:
https://developers.google.com/protocol-buffers/docs/tutorials
If you want to learn from code examples, take a look at the examples in theexamples directory.
The complete documentation for Protocol Buffers is available via theweb at:
About
Protocol Buffers - Google's data interchange format
Resources
License
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Languages
- C++31.1%
- C#20.9%
- Java16.0%
- Objective-C9.5%
- JavaScript6.0%
- C5.0%
- Other11.5%