C++ Java Objective-C C# Protocol Buffer C Other
Latest commit 373809e Mar 23, 2017 @xfxyjwf xfxyjwf committed on GitHub Merge pull request #2897 from cgrushko/patch-5
Compile the Java proto runtime with Java 6
Permalink
Failed to load latest commit information.
BERJAYA benchmarks Added C++ benchmark. (#1525) Sep 23, 2016
BERJAYA cmake add delimited_message_util.cc to libprotobuf.cmake Mar 16, 2017
BERJAYA conformance Merge pull request #2819 from haberman/pythonexcept Mar 9, 2017
BERJAYA csharp Add file option php_class_prefix (#2849) Mar 17, 2017
BERJAYA docs Fix Bad Link for Common Lisp Mar 8, 2017
BERJAYA editors [master] Add dependency cl. Fixes google/protobuf#295. Aug 5, 2016
BERJAYA examples Integrate from internal code base. Jul 13, 2016
BERJAYA java Merge pull request #2860 from prehistoric-penguin/master Mar 20, 2017
BERJAYA javanano Add a notice for nano. Mar 16, 2017
BERJAYA jenkins Update commit number in Docker to update composer dependency (#2869) Mar 21, 2017
BERJAYA js JS: ensure that extension values are serialized even if they're falsy Mar 6, 2017
BERJAYA m4 Fixed cross compilations with the Autotools build Jan 3, 2017
BERJAYA more_tests Add makefile for extended tests to be run before release. Jan 12, 2010
BERJAYA objectivec Document deep copy in the header Mar 15, 2017
BERJAYA php Update commit number in Docker to update composer dependency (#2869) Mar 21, 2017
BERJAYA protoc-artifacts Prefer the term "3-Clause BSD License" over "New BSD License" Feb 28, 2017
BERJAYA python Merge pull request #2613 from aausch/fix_memory_leak Mar 7, 2017
BERJAYA ruby Ruby: only link against specific version of memcpy if we're using glibc Mar 17, 2017
BERJAYA src Merge pull request #2861 from byronyi/#710 Mar 20, 2017
BERJAYA third_party Added C++ benchmark. (#1525) Sep 23, 2016
BERJAYA util/python Remove hack for building Python support with Bazel. Feb 25, 2016
BERJAYA .gitignore Add conformance test for php (#2655) Feb 1, 2017
BERJAYA .gitmodules Added C++ benchmark. (#1525) Sep 23, 2016
BERJAYA .travis.yml Add python compatibility tests against v2.5.0 amd run on Travis. Jan 26, 2017
BERJAYA BUILD Compile the Java proto runtime with Java 6 Mar 22, 2017
BERJAYA CHANGES.txt Prefer the term "3-Clause BSD License" over "New BSD License" Feb 28, 2017
BERJAYA CONTRIBUTORS.txt Add nano proto authors and update LICENSE file to include Android.mk. Nov 20, 2014
BERJAYA LICENSE Add support for POWER Linux Nov 3, 2015
BERJAYA Makefile.am Add file option php_class_prefix (#2849) Mar 17, 2017
BERJAYA Protobuf.podspec Prefer the term "3-Clause BSD License" over "New BSD License" Feb 28, 2017
BERJAYA README.md README.md: Make docs URL a link Feb 18, 2017
BERJAYA WORKSPACE Fix gson dependency. Sep 21, 2016
BERJAYA appveyor.bat Rename UNICODE to protobuf_UNICODE Sep 2, 2016
BERJAYA appveyor.yml Use "appveyor DownloadFile" Oct 10, 2016
BERJAYA autogen.sh Update gmock links. Aug 26, 2016
BERJAYA composer.json Fixed issue with autoloading - Invalid paths (#2538) Dec 28, 2016
BERJAYA configure.ac Hide unnecessary exported library symbols Mar 13, 2017
BERJAYA generate_changelog.py generate_changelog.py: flush output so piping works correctly. Dec 10, 2016
BERJAYA generate_descriptor_proto.sh Add file option php_class_prefix (#2849) Mar 17, 2017
BERJAYA gmock.BUILD Update repo to use google test Sep 9, 2016
BERJAYA post_process_dist.sh Add php files for make dist. Oct 10, 2016
BERJAYA protobuf-lite.pc.in Uncomment conflict fields from pkg-config files. May 12, 2015
BERJAYA protobuf.bzl Bazel can build protobuf when it's not in the root Feb 8, 2017
BERJAYA protobuf.pc.in Uncomment conflict fields from pkg-config files. May 12, 2015
BERJAYA six.BUILD Add srcs_version = "PY2AND3" in BUILD files Dec 3, 2015
BERJAYA tests.sh Add file option php_class_prefix (#2849) Mar 17, 2017
BERJAYA update_file_lists.sh Fix bugs on windows Aug 26, 2015

README.md

Protocol Buffers - Google's data interchange format

Build Status Build status Build Status Build Status Build Status

Copyright 2008 Google Inc.

https://developers.google.com/protocol-buffers/

Overview

Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can find protobuf's documentation on the Google Developers site.

This README file contains protobuf installation instructions. To install protobuf, you need to install the protocol compiler (used to compile .proto files) and the protobuf runtime for your chosen programming language.

Protocol Compiler Installation

The protocol compiler is written in C++. If you are using C++, please follow the C++ Installation Instructions to install protoc along with the C++ runtime.

For non-C++ users, the simplest way to install the protocol compiler is to download a pre-built binary from our release page:

https://github.com/google/protobuf/releases

In the downloads section of each release, you can find pre-built binaries in zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary as 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 release page, check out the maven repo here:

http://repo1.maven.org/maven2/com/google/protobuf/protoc/

These pre-built binaries are only provided for released versions. If you want to 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 from source.

If you would like to build protoc binary from source, see the C++ Installation Instructions.

Protobuf Runtime Installation

Protobuf supports several different programming languages. For each programming language, you can find instructions in the corresponding source directory about how 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
JavaNano javanano
JavaScript js
Ruby ruby
Go golang/protobuf
PHP php

Usage

The complete documentation for Protocol Buffers is available via the web at:

https://developers.google.com/protocol-buffers/