文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > Protocol Buffer中文翻译
侵权投诉

Protocol Buffer中文翻译

Protocol Buffer的官方网站中文翻译文档

Protocol Buffer中文翻译

1

简介....................................................................................................................................................... 3 1.1 1.2 1.3 1.4 1.5 2

概览 ............................................................................................................................................ 3 什么是protocol buffer ................................................................................................................. 3 他们如何工作 .............................................................................................................................. 3 为什么不用XML.......................................................................................................................... 4 一点历史 ..................................................................................................................................... 5

语言指导................................................................................................................................................ 6

2.1 定义一个消息类型 ....................................................................................................................... 7

2.1.1

2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.2 2.3 2.4 2.5 2.6 2.7 2.8

指定字段类型 ..................................................................................................................... 7 分配标识号 ......................................................................................................................... 7 指定字段规则 ..................................................................................................................... 7 添加更多消息类型 .............................................................................................................. 8 添加注释 ............................................................................................................................ 8 从你的.proto文件生成了什么? .......................................................................................... 9

标量数值类型 .............................................................................................................................. 9 可选的字段和默认值.................................................................................................................. 10 枚举 .......................................................................................................................................... 10 使用其他消息类型 ..................................................................................................................... 11 2.5.1 导入定义 .......................................................................................................................... 11 嵌套类型 ................................................................................................................................... 12 2.6.1 Groups .............................................................................................................................. 13 更新一个消息类型 ..................................................................................................................... 13 扩展 .......................................................................................................................................... 14 2.8.1

嵌套的扩展 ....................................................................................................................... 15

2.8.2 选择可扩展的标符号 ......................................................................................................... 16

2.9 包(Package) ......................................................................................................................... 16 2.9.1 包及名称的解析 ................................................................................................................ 16 2.10 定义服务(Service).................................................................................................................. 16 2.11 选项(Options).................................................................................................................... 18 2.12 自定义选项 ............................................................................................................................ 20 2.13 生成访问类 ............................................................................................................................ 22 编码风格.............................................................................................................................................. 23 3.1

消息和字段名 ............................................................................................................................ 23

3.2 枚举 .......................................................................................................................................... 23 3.3 服务 .......................................................................................................................................... 24 编码..................................................................................................................................................... 24 4.1 一个简单的消息......................................................................................................................... 24 4.2

3

4

Base 128 Varints ...................................................................................................................... 24

第1页

你可能喜欢

  • 翻译的功能
  • 翻译软件
  • 翻译服务
  • 应用翻译
  • 数字翻译

热门文档

相关文档

  • Protocol Buffer

    Protocol Buffer_计算机软件及应用_IT/计算机_专业资料。Protocol Buffers 简介 PB...Google Protocol Buffer... 14页 免费 Protocol Buffer中文翻译... 38页 1下载...

  • ProtoBuffer

    需要说 明的是,Blog 的内容并非 line by line 的翻译,其中包含一些经验性总结...int long int long boolean String ByteString 七、Protocol Buffer 消息升级原则...

  • Protocol Buffer入门

    Protocol Buffer入门_其它语言学习_外语学习_教育专区。Protocol Buffer入门protobuf 介绍按照官网的描述:protobuf 是 google 提供的一个开源序列化框架。主要应用于 通信...

  • Google Protocol Buffer

    Google Protocol Buffer_IT/计算机_专业资料。详细介绍了Google Protocol Buffer的主要原理和实例开发,并从应用角度总结了Protocol Buffer的广阔前景和作用范围Google...

  • protobuf Protocol Buffer proto 应用和原理详解

    protobuf Protocol Buffer proto 应用和原理详解_IT/计算机_专业资料。google protobuf...Protocol Buffer入门 6页 1下载券 Protocol Buffer中文翻译... 38页 1下载券...

  • protocol buffer

    protocol buffer_IT/计算机_专业资料。protocol buffer 文章分类:Java 编程 文章分类...Protocol Buffer中文翻译... 38页 1下载券 Protocol Buffer 10页 免费 喜欢此...

  • TRANSLATION PROTOCOL

    BitTorrent Protocol Sp... 8页 1下载券 Protocol Buffer中文翻译... 38页 ...TRANSLATION PROTOCOL http://www.dsccq.com/ 电磁脉冲阀 卸料器 除尘配件 除尘...

  • Google Protocol Buffer (PB)简明入门

    021-65330277 2 / 14 Google Protocol Buffer (PB)简明入门 写在最前:本文以在 Windows 下 C++中使用 Protocol Buffer(以下简称 PB)为例展示如何安 装和使用 ...

  • 酵母双杂交操作步骤(中文翻译)

    而不是之前的 AH109) (在 protocol 的 24~28 页) 1.试剂: 2.原理: ?...b) 准备 Z buffer/X-gal 溶液。 c) 为每一个要测试的平板准备好一张无菌...

  • pregel 翻译

    pregel 翻译_IT/计算机_专业资料。Pregel:A System for Large-Scale Graph Processing...这种设计方式可能看上有有一些局限性, 但用户可以用 protocol buffer 来管理...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email