參考指南

有關使用 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 編譯器,可以透過外掛擴充套件以支援新語言。