Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Protocol Buffers - Google's data interchange format

License

NotificationsYou must be signed in to change notification settings

SafetyCulture/protobuf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. 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.

Protocol Compiler Installation

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 Runtime Installation

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:

LanguageSource
C++ (include C++ runtime and protoc)src
Javajava
Pythonpython
Objective-Cobjectivec
C#csharp
JavaScriptjs
Rubyruby
Goprotocolbuffers/protobuf-go
PHPphp
Dartdart-lang/protobuf

Quick Start

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.

Documentation

The complete documentation for Protocol Buffers is available via theweb at:

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

About

Protocol Buffers - Google's data interchange format

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++31.1%
  • C#20.9%
  • Java16.0%
  • Objective-C9.5%
  • JavaScript6.0%
  • C5.0%
  • Other11.5%

[8]ページ先頭

©2009-2025 Movatter.jp