• Home
Name Date Size #Lines LOC

..--

python/03-May-2024-1918

BUILDD03-May-202426.3 KiB710666

CHANGES.txtD03-May-202453.6 KiB1,1831,035

CONTRIBUTORS.txtD03-May-20243.8 KiB10393

LICENSED03-May-20242.1 KiB4335

Makefile.amD03-May-202454.2 KiB770736

Protobuf.podspecD03-May-20242.1 KiB4137

README.mdD03-May-20243.7 KiB7855

WORKSPACED03-May-20241.1 KiB5444

appveyor.batD03-May-2024809 3024

appveyor.ymlD03-May-2024773 3322

autogen.shD03-May-20241.1 KiB4728

configure.acD03-May-20245.9 KiB185155

generate_descriptor_proto.shD03-May-20243.1 KiB10780

gmock.BUILDD03-May-2024661 2927

post_process_dist.shD03-May-20241.8 KiB6532

protobuf-lite.pc.inD03-May-2024298 1210

protobuf.bzlD03-May-20248.6 KiB305260

protobuf.pc.inD03-May-2024319 1311

six.BUILDD03-May-2024227 1412

tests.shD03-May-20249.4 KiB348265

update_file_lists.shD03-May-20245.9 KiB192158

README.md

1Protocol Buffers - Google's data interchange format
2===================================================
3
4[![Build Status](https://travis-ci.org/google/protobuf.svg?branch=master)](https://travis-ci.org/google/protobuf) [![Build status](https://ci.appveyor.com/api/projects/status/73ctee6ua4w2ruin?svg=true)](https://ci.appveyor.com/project/protobuf/protobuf)
5
6Copyright 2008 Google Inc.
7
8https://developers.google.com/protocol-buffers/
9
10Overview
11--------
12
13Protocol Buffers (a.k.a., protobuf) are Google's language-neutral,
14platform-neutral, extensible mechanism for serializing structured data. You
15can find [protobuf's documentation on the Google Developers site](https://developers.google.com/protocol-buffers/).
16
17This README file contains protobuf installation instructions. To install
18protobuf, you need to install the protocol compiler (used to compile .proto
19files) and the protobuf runtime for your chosen programming language.
20
21Protocol Compiler Installation
22------------------------------
23
24The protocol compiler is written in C++. If you are using C++, please follow
25the [C++ Installation Instructions](src/README.md) to install protoc along
26with the C++ runtime.
27
28For non-C++ users, the simplest way to install the protocol compiler is to
29download a pre-built binary from our release page:
30
31  [https://github.com/google/protobuf/releases](https://github.com/google/protobuf/releases)
32
33In the downloads section of each release, you can find pre-built binaries in
34zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary
35as well as a set of standard .proto files distributed along with protobuf.
36
37If you are looking for an old version that is not available in the release
38page, check out the maven repo here:
39
40  [http://repo1.maven.org/maven2/com/google/protobuf/protoc/](http://repo1.maven.org/maven2/com/google/protobuf/protoc/)
41
42These pre-built binaries are only provided for released versions. If you want
43to use the github master version at HEAD, or you need to modify protobuf code,
44or you are using C++, it's recommended to build your own protoc binary from
45source.
46
47If you would like to build protoc binary from source, see the [C++ Installation
48Instructions](src/README.md).
49
50Protobuf Runtime Installation
51-----------------------------
52
53Protobuf supports several different programming languages. For each programming
54language, you can find instructions in the corresponding source directory about
55how to install protobuf runtime for that specific language:
56
57| Language                             | Source                                                |
58|--------------------------------------|-------------------------------------------------------|
59| C++ (include C++ runtime and protoc) | [src](src)                                            |
60| Java                                 | [java](java)                                          |
61| Python                               | [python](python)                                      |
62| Objective-C                          | [objectivec](objectivec)                              |
63| C#                                   | [csharp](csharp)                                      |
64| JavaNano                             | [javanano](javanano)                                  |
65| JavaScript                           | [js](js)                                              |
66| Ruby                                 | [ruby](ruby)                                          |
67| Go                                   | [golang/protobuf](https://github.com/golang/protobuf) |
68| PHP                                  | TBD                                                   |
69
70
71Usage
72-----
73
74The complete documentation for Protocol Buffers is available via the
75web at:
76
77    https://developers.google.com/protocol-buffers/
78