教程

本节中的每个教程将向您展示如何使用您喜欢的语言实现一个简单的应用程序,介绍该语言的 protocol buffer API,并演示如何创建和使用 .proto 文件的基础知识。

每个应用程序的完整示例代码也已提供。

这些教程不要求您了解 protocol buffers,但假定您已经熟悉所选语言的编程,包括文件 I/O 的使用。


Protocol Buffer Basics: C++

A basic C++ programmers introduction to working with protocol buffers.

Protocol Buffer Basics: C#

A basic C# programmers introduction to working with protocol buffers.

Protocol Buffer Basics: Dart

A basic Dart programmers introduction to working with protocol buffers.

Protocol Buffer Basics: Go

A basic Go programmers introduction to working with protocol buffers.

Protocol Buffer Basics: Java

A basic Java programmers introduction to working with protocol buffers.

Protocol Buffer Basics: Kotlin

A basic Kotlin programmers introduction to working with protocol buffers.

Protocol Buffer Basics: Python

A basic Python programmers introduction to working with protocol buffers.