shaka-packager/packager/third_party/protobuf
KongQun Yang f68b4252b8 Sync protobuf to v3.3.0
disable-clang-format

Change-Id: I520178aa9bb8fd8a00a7009279bf30d7cdb8d5a8
2018-05-10 23:07:59 +00:00
..
benchmarks Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
cmake Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
conformance Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
csharp Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
docs Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
editors Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
examples Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
java Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
javanano Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
jenkins Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
js Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
kokoro Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
m4 Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
objectivec Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
patches Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
php Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
protoc-artifacts Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
python Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
ruby Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
src Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
third_party/six Updated protobuf library. 2016-08-02 19:11:17 -07:00
util/python Updated protobuf library. 2016-08-02 19:11:17 -07:00
.gitignore Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
.gitmodules Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
.travis.yml Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
BUILD Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
BUILD.gn Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
CHANGES.txt Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
CONTRIBUTORS.txt Updated protobuf library. 2016-08-02 19:11:17 -07:00
DEPS Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
LICENSE Updated protobuf library. 2016-08-02 19:11:17 -07:00
Makefile.am Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
OWNERS Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
Protobuf.podspec Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
README.chromium Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
README.md Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
WORKSPACE Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
__init__.py Updated protobuf library. 2016-08-02 19:11:17 -07:00
appveyor.bat Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
appveyor.yml Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
autogen.sh Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
composer.json Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
configure.ac Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
generate_changelog.py Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
generate_descriptor_proto.sh Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
gmock.BUILD Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
mirclient.cc Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
mirclient.map Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
post_process_dist.sh Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
proto_library.gni Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
protobuf-lite.pc.in Updated protobuf library. 2016-08-02 19:11:17 -07:00
protobuf.bzl Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
protobuf.gyp Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
protobuf.pc.in Updated protobuf library. 2016-08-02 19:11:17 -07:00
protobuf_lite.gypi Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
protobuf_nacl.gyp Updated protobuf library. 2016-08-02 19:11:17 -07:00
six.BUILD Updated protobuf library. 2016-08-02 19:11:17 -07:00
tests.sh Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
update_file_lists.sh Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00

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:

https://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
Dart dart-lang/protobuf

Usage

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

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