参考指南

有关使用 C++、Java、Python、Go、C#、Objective-C、Ruby、PHP 和 Dart 中的 protocol buffer 类的参考文档,以及 Protocol Buffers 本身的某些参考文档。

本节包含有关使用 C++、Java、Python、Go、C#、Objective-C、Ruby、PHP 和 Dart 中的 protocol buffer 类的参考文档,以及 Protocol Buffers 本身的某些参考文档。每种语言的文档包括(如果可用):

  • 关于 protocol buffer 编译器从您的 .proto 文件生成的代码的参考指南。
  • 为提供的源代码生成的 API 文档。

请注意,还有更多语言的 API 正在开发中——有关详细信息,请参阅 其他语言


C++ 参考

有关使用 C++ 中的 protocol buffer 类的参考文档。

C# 参考

有关使用 C# 中的 protocol buffer 类的参考文档

Dart 参考

有关使用 Dart 中的 protocol buffer 类的参考文档

Go 参考

有关使用 Go 中的 protocol buffer 类的参考文档

Java 参考

有关使用 Java 中的 protocol buffer 类的参考文档。

Kotlin 参考

有关使用 Kotlin 中的 protocol buffer 类的参考文档。

Objective-C 参考

有关使用 Objective-C 中的 protocol buffer 类的参考文档。

PHP 参考

有关使用 PHP 中的 protocol buffer 类的参考文档。

Python 参考

有关使用 Python 中的 protocol buffer 类的参考文档。

Ruby 参考

有关使用 Ruby 中的 protocol buffer 类的参考文档。

Rust 参考

有关使用 Rust 中的 protocol buffer 类的参考文档。

Protocol Buffers 参考

有关如何使用 protocol buffers 的与语言无关的信息。

其他语言

protoc,Protocol Buffers 编译器,可以通过插件扩展以支持新语言。