proto3:Language Guide - 语言指南

该文档为Google官方Protocol Buffers教程的个人翻译与理解,仅为个人学习过程中的记录,本人非英语专业人员,如果错误万望指正。

  • Defining A Message Type - 定义一个message类型
  • Scalar Value Types - 标量值类型
  • Default Values - 默认值
  • Enumerations - 枚举
  • Using Other Message Types - 使用其他message类型
  • Nested Types - 内嵌类型
  • Updating A Message Type - 更新消息类型
  • Unknown Fields - 未知字段
  • Any
  • Oneof
  • Maps
  • Packages - 包
  • Defining Services - 定义服务
  • JSON Mapping - JSON映射
  • Options - 选项
  • Generating Your Classes - 生成你的类
  • Location - 位置
  • Supported Platforms - 所支持的平台

This guide describes how to use the protocol buffer language to structure your protocol buffer data, including .protofile syntax and how to generate data access classes from your .proto files. It covers the proto3 version of the protocol buffers language: for information on the proto2 syntax, see the Proto2 Language Guide.
该指南描述了如何利用protocol buffer语言来结构化你的protocol buffer数据,包括.proto文件语法和如何通过.proto文件中定义的类来生成数据。涵盖了protocol buffers语言proto3版本;proto2相关语法信息,参见 Proto2语言指南。

This is a reference guide – for a step by step example that uses many of the features described in this document, see the tutorial for your chosen language (currently proto2 only; more proto3 documentation is coming soon).
这个是一个参考指南 - 包含了使用该文档中描述的很多特性的逐步示例,参见你所选择的语言教程(目前只有proto2;更多proto3文档即将发布)

你可能感兴趣的:(proto3:Language Guide - 语言指南)