資源簡介
使用rpc的時候,使用 protobuf工具,但是去官網下載實在是太慢了。所以放到這里。
什么是 Google Protocol Buffer? 假如您在網上搜索,應該會得到類似這樣的文字介紹:
Google Protocol Buffer( 簡稱 Protobuf) 是 Google 公司內部的混合語言數據標準,目前已經正在使用的有超過 48,162 種報文格式定義和超過 12,183 個 .proto 文件。他們用于 RPC 系統和持續數據存儲系統。
Protocol Buffers 是一種輕便高效的結構化數據存儲格式,可以用于結構化數據串行化,或者說序列化。它很適合做數據存儲或 RPC 數據交換格式。可用于通訊協議、數據存儲等領域的語言無關、平臺無關、可擴展的序列化結構數據格式。目前提供了 C++、Java、Python 三種語言的 API。
或許您和我一樣,在第一次看完這些介紹后還是不明白 Protobuf 究竟是什么,那么我想一個簡單的例子應該比較有助于理解它。
什么是 Google Protocol Buffer? 假如您在網上搜索,應該會得到類似這樣的文字介紹:
Google Protocol Buffer( 簡稱 Protobuf) 是 Google 公司內部的混合語言數據標準,目前已經正在使用的有超過 48,162 種報文格式定義和超過 12,183 個 .proto 文件。他們用于 RPC 系統和持續數據存儲系統。
Protocol Buffers 是一種輕便高效的結構化數據存儲格式,可以用于結構化數據串行化,或者說序列化。它很適合做數據存儲或 RPC 數據交換格式。可用于通訊協議、數據存儲等領域的語言無關、平臺無關、可擴展的序列化結構數據格式。目前提供了 C++、Java、Python 三種語言的 API。
或許您和我一樣,在第一次看完這些介紹后還是不明白 Protobuf 究竟是什么,那么我想一個簡單的例子應該比較有助于理解它。

代碼片段和文件信息
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-08-06?20:53??include\
?????目錄???????????0??2019-08-06?20:53??include\google\
?????目錄???????????0??2019-08-06?20:53??include\google\protobuf\
?????文件????????2422??2019-08-06?20:53??include\google\protobuf\empty.proto
?????文件????????3780??2019-08-06?20:53??include\google\protobuf\struct.proto
?????文件????????6200??2019-08-06?20:53??include\google\protobuf\timestamp.proto
?????目錄???????????0??2019-08-06?20:53??include\google\protobuf\compiler\
?????文件????????8201??2019-08-06?20:53??include\google\protobuf\compiler\plugin.proto
?????文件???????36675??2019-08-06?20:53??include\google\protobuf\descriptor.proto
?????文件????????6129??2019-08-06?20:53??include\google\protobuf\type.proto
?????文件????????5878??2019-08-06?20:53??include\google\protobuf\any.proto
?????文件????????4035??2019-08-06?20:53??include\google\protobuf\wrappers.proto
?????文件????????4889??2019-08-06?20:53??include\google\protobuf\duration.proto
?????文件????????2352??2019-08-06?20:53??include\google\protobuf\source_context.proto
?????文件????????8206??2019-08-06?20:53??include\google\protobuf\field_mask.proto
?????文件????????7734??2019-08-06?20:53??include\google\protobuf\api.proto
?????目錄???????????0??2019-08-06?20:53??bin\
?????文件?????4969752??2019-08-05?21:53??bin\protoc
?????文件?????????724??2019-08-06?20:53??readme.txt
-----------?---------??----------?-----??----
?????目錄???????????0??2019-08-06?20:53??include\
?????目錄???????????0??2019-08-06?20:53??include\google\
?????目錄???????????0??2019-08-06?20:53??include\google\protobuf\
?????文件????????2422??2019-08-06?20:53??include\google\protobuf\empty.proto
?????文件????????3780??2019-08-06?20:53??include\google\protobuf\struct.proto
?????文件????????6200??2019-08-06?20:53??include\google\protobuf\timestamp.proto
?????目錄???????????0??2019-08-06?20:53??include\google\protobuf\compiler\
?????文件????????8201??2019-08-06?20:53??include\google\protobuf\compiler\plugin.proto
?????文件???????36675??2019-08-06?20:53??include\google\protobuf\desc
?????文件????????6129??2019-08-06?20:53??include\google\protobuf\type.proto
?????文件????????5878??2019-08-06?20:53??include\google\protobuf\any.proto
?????文件????????4035??2019-08-06?20:53??include\google\protobuf\wrappers.proto
?????文件????????4889??2019-08-06?20:53??include\google\protobuf\duration.proto
?????文件????????2352??2019-08-06?20:53??include\google\protobuf\source_context.proto
?????文件????????8206??2019-08-06?20:53??include\google\protobuf\field_mask.proto
?????文件????????7734??2019-08-06?20:53??include\google\protobuf\api.proto
?????目錄???????????0??2019-08-06?20:53??bin\
?????文件?????4969752??2019-08-05?21:53??bin\protoc
?????文件?????????724??2019-08-06?20:53??readme.txt
- 上一篇:javaweb 崔希凡全套筆記
- 下一篇:c3p0-0.9.1.2
評論
共有 條評論