參考指南

關於在 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 本身的一些參考文件。每種語言的文件包含(如果有的話):

  • 協定緩衝區編譯器從您的 .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 Buffer 的語言中立資訊。

其他語言

protoc (Protocol Buffers 編譯器) 可以透過外掛程式擴充以支援新語言。