You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

615 lines
24 KiB

8 years ago
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta name="theme-color" content="#375EAB">
  7. <title>proto3_proto - The Go Programming Language</title>
  8. <link type="text/css" rel="stylesheet" href="../../../../../../lib/godoc/style.css">
  9. <link rel="stylesheet" href="../../../../../../lib/godoc/jquery.treeview.css">
  10. <script type="text/javascript">window.initFuncs = [];</script>
  11. </head>
  12. <body>
  13. <div id='lowframe' style="position: fixed; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;">
  14. ...
  15. </div><!-- #lowframe -->
  16. <div id="topbar" class="wide"><div class="container">
  17. <div class="top-heading" id="heading-wide"><a href="http://localhost:6060/">The Go Programming Language</a></div>
  18. <div class="top-heading" id="heading-narrow"><a href="http://localhost:6060/">Go</a></div>
  19. <a href="index.html#" id="menu-button"><span id="menu-button-arrow">&#9661;</span></a>
  20. <form method="GET" action="http://localhost:6060/search">
  21. <div id="menu">
  22. <a href="http://localhost:6060/doc/">Documents</a>
  23. <a href="http://localhost:6060/pkg/">Packages</a>
  24. <a href="http://localhost:6060/project/">The Project</a>
  25. <a href="http://localhost:6060/help/">Help</a>
  26. <a href="http://localhost:6060/blog/">Blog</a>
  27. <input type="text" id="search" name="q" class="inactive" value="Search" placeholder="Search">
  28. </div>
  29. </form>
  30. </div></div>
  31. <div id="page" class="wide">
  32. <div class="container">
  33. <h1>Package proto3_proto</h1>
  34. <div id="nav"></div>
  35. <!--
  36. Copyright 2009 The Go Authors. All rights reserved.
  37. Use of this source code is governed by a BSD-style
  38. license that can be found in the LICENSE file.
  39. -->
  40. <!--
  41. Note: Static (i.e., not template-generated) href and id
  42. attributes start with "pkg-" to make it impossible for
  43. them to conflict with generated attributes (some of which
  44. correspond to Go identifiers).
  45. -->
  46. <script type='text/javascript'>
  47. document.ANALYSIS_DATA = null;
  48. document.CALLGRAPH = null;
  49. </script>
  50. <div id="short-nav">
  51. <dl>
  52. <dd><code>import "github.com/golang/protobuf/proto/proto3_proto"</code></dd>
  53. </dl>
  54. <dl>
  55. <dd><a href="index.html#pkg-overview" class="overviewLink">Overview</a></dd>
  56. <dd><a href="index.html#pkg-index" class="indexLink">Index</a></dd>
  57. </dl>
  58. </div>
  59. <!-- The package's Name is printed as title by the top-level template -->
  60. <div id="pkg-overview" class="toggleVisible">
  61. <div class="collapsed">
  62. <h2 class="toggleButton" title="Click to show Overview section">Overview ▹</h2>
  63. </div>
  64. <div class="expanded">
  65. <h2 class="toggleButton" title="Click to hide Overview section">Overview ▾</h2>
  66. <p>
  67. Package proto3_proto is a generated protocol buffer package.
  68. </p>
  69. <p>
  70. It is generated from these files:
  71. </p>
  72. <pre>proto3_proto/proto3.proto
  73. </pre>
  74. <p>
  75. It has these top-level messages:
  76. </p>
  77. <pre>Message
  78. Nested
  79. MessageWithMap
  80. </pre>
  81. </div>
  82. </div>
  83. <div id="pkg-index" class="toggleVisible">
  84. <div class="collapsed">
  85. <h2 class="toggleButton" title="Click to show Index section">Index ▹</h2>
  86. </div>
  87. <div class="expanded">
  88. <h2 class="toggleButton" title="Click to hide Index section">Index ▾</h2>
  89. <!-- Table of contents for API; must be named manual-nav to turn off auto nav. -->
  90. <div id="manual-nav">
  91. <dl>
  92. <dd><a href="index.html#pkg-variables">Variables</a></dd>
  93. <dd><a href="index.html#Message">type Message</a></dd>
  94. <dd>&nbsp; &nbsp; <a href="index.html#Message.Descriptor">func (*Message) Descriptor() ([]byte, []int)</a></dd>
  95. <dd>&nbsp; &nbsp; <a href="index.html#Message.GetAnything">func (m *Message) GetAnything() *google_protobuf.Any</a></dd>
  96. <dd>&nbsp; &nbsp; <a href="index.html#Message.GetChildren">func (m *Message) GetChildren() []*Message</a></dd>
  97. <dd>&nbsp; &nbsp; <a href="index.html#Message.GetManyThings">func (m *Message) GetManyThings() []*google_protobuf.Any</a></dd>
  98. <dd>&nbsp; &nbsp; <a href="index.html#Message.GetNested">func (m *Message) GetNested() *Nested</a></dd>
  99. <dd>&nbsp; &nbsp; <a href="index.html#Message.GetProto2Field">func (m *Message) GetProto2Field() *testdata.SubDefaults</a></dd>
  100. <dd>&nbsp; &nbsp; <a href="index.html#Message.GetProto2Value">func (m *Message) GetProto2Value() map[string]*testdata.SubDefaults</a></dd>
  101. <dd>&nbsp; &nbsp; <a href="index.html#Message.GetSubmessage">func (m *Message) GetSubmessage() *Message</a></dd>
  102. <dd>&nbsp; &nbsp; <a href="index.html#Message.GetTerrain">func (m *Message) GetTerrain() map[string]*Nested</a></dd>
  103. <dd>&nbsp; &nbsp; <a href="index.html#Message.ProtoMessage">func (*Message) ProtoMessage()</a></dd>
  104. <dd>&nbsp; &nbsp; <a href="index.html#Message.Reset">func (m *Message) Reset()</a></dd>
  105. <dd>&nbsp; &nbsp; <a href="index.html#Message.String">func (m *Message) String() string</a></dd>
  106. <dd><a href="index.html#MessageWithMap">type MessageWithMap</a></dd>
  107. <dd>&nbsp; &nbsp; <a href="index.html#MessageWithMap.Descriptor">func (*MessageWithMap) Descriptor() ([]byte, []int)</a></dd>
  108. <dd>&nbsp; &nbsp; <a href="index.html#MessageWithMap.GetByteMapping">func (m *MessageWithMap) GetByteMapping() map[bool][]byte</a></dd>
  109. <dd>&nbsp; &nbsp; <a href="index.html#MessageWithMap.ProtoMessage">func (*MessageWithMap) ProtoMessage()</a></dd>
  110. <dd>&nbsp; &nbsp; <a href="index.html#MessageWithMap.Reset">func (m *MessageWithMap) Reset()</a></dd>
  111. <dd>&nbsp; &nbsp; <a href="index.html#MessageWithMap.String">func (m *MessageWithMap) String() string</a></dd>
  112. <dd><a href="index.html#Message_Humour">type Message_Humour</a></dd>
  113. <dd>&nbsp; &nbsp; <a href="index.html#Message_Humour.EnumDescriptor">func (Message_Humour) EnumDescriptor() ([]byte, []int)</a></dd>
  114. <dd>&nbsp; &nbsp; <a href="index.html#Message_Humour.String">func (x Message_Humour) String() string</a></dd>
  115. <dd><a href="index.html#Nested">type Nested</a></dd>
  116. <dd>&nbsp; &nbsp; <a href="index.html#Nested.Descriptor">func (*Nested) Descriptor() ([]byte, []int)</a></dd>
  117. <dd>&nbsp; &nbsp; <a href="index.html#Nested.ProtoMessage">func (*Nested) ProtoMessage()</a></dd>
  118. <dd>&nbsp; &nbsp; <a href="index.html#Nested.Reset">func (m *Nested) Reset()</a></dd>
  119. <dd>&nbsp; &nbsp; <a href="index.html#Nested.String">func (m *Nested) String() string</a></dd>
  120. </dl>
  121. </div><!-- #manual-nav -->
  122. <h4>Package files</h4>
  123. <p>
  124. <span style="font-size:90%">
  125. <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go">proto3.pb.go</a>
  126. </span>
  127. </p>
  128. </div><!-- .expanded -->
  129. </div><!-- #pkg-index -->
  130. <div id="pkg-callgraph" class="toggle" style="display: none">
  131. <div class="collapsed">
  132. <h2 class="toggleButton" title="Click to show Internal Call Graph section">Internal call graph ▹</h2>
  133. </div> <!-- .expanded -->
  134. <div class="expanded">
  135. <h2 class="toggleButton" title="Click to hide Internal Call Graph section">Internal call graph ▾</h2>
  136. <p>
  137. In the call graph viewer below, each node
  138. is a function belonging to this package
  139. and its children are the functions it
  140. calls&mdash;perhaps dynamically.
  141. </p>
  142. <p>
  143. The root nodes are the entry points of the
  144. package: functions that may be called from
  145. outside the package.
  146. There may be non-exported or anonymous
  147. functions among them if they are called
  148. dynamically from another package.
  149. </p>
  150. <p>
  151. Click a node to visit that function's source code.
  152. From there you can visit its callers by
  153. clicking its declaring <code>func</code>
  154. token.
  155. </p>
  156. <p>
  157. Functions may be omitted if they were
  158. determined to be unreachable in the
  159. particular programs or tests that were
  160. analyzed.
  161. </p>
  162. <!-- Zero means show all package entry points. -->
  163. <ul style="margin-left: 0.5in" id="callgraph-0" class="treeview"></ul>
  164. </div>
  165. </div> <!-- #pkg-callgraph -->
  166. <h2 id="pkg-variables">Variables</h2>
  167. <pre>var <span id="Message_Humour_name">Message_Humour_name</span> = map[<a href="../../../../../builtin/index.html#int32">int32</a>]<a href="../../../../../builtin/index.html#string">string</a>{
  168. 0: &#34;UNKNOWN&#34;,
  169. 1: &#34;PUNS&#34;,
  170. 2: &#34;SLAPSTICK&#34;,
  171. 3: &#34;BILL_BAILEY&#34;,
  172. }</pre>
  173. <pre>var <span id="Message_Humour_value">Message_Humour_value</span> = map[<a href="../../../../../builtin/index.html#string">string</a>]<a href="../../../../../builtin/index.html#int32">int32</a>{
  174. &#34;UNKNOWN&#34;: 0,
  175. &#34;PUNS&#34;: 1,
  176. &#34;SLAPSTICK&#34;: 2,
  177. &#34;BILL_BAILEY&#34;: 3,
  178. }</pre>
  179. <h2 id="Message">type <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=1453:3872#L50">Message</a></h2>
  180. <pre>type Message struct {
  181. Name <a href="../../../../../builtin/index.html#string">string</a> `protobuf:&#34;bytes,1,opt,name=name&#34; json:&#34;name,omitempty&#34;`
  182. Hilarity <a href="index.html#Message_Humour">Message_Humour</a> `protobuf:&#34;varint,2,opt,name=hilarity,enum=proto3_proto.Message_Humour&#34; json:&#34;hilarity,omitempty&#34;`
  183. HeightInCm <a href="../../../../../builtin/index.html#uint32">uint32</a> `protobuf:&#34;varint,3,opt,name=height_in_cm,json=heightInCm&#34; json:&#34;height_in_cm,omitempty&#34;`
  184. Data []<a href="../../../../../builtin/index.html#byte">byte</a> `protobuf:&#34;bytes,4,opt,name=data,proto3&#34; json:&#34;data,omitempty&#34;`
  185. ResultCount <a href="../../../../../builtin/index.html#int64">int64</a> `protobuf:&#34;varint,7,opt,name=result_count,json=resultCount&#34; json:&#34;result_count,omitempty&#34;`
  186. TrueScotsman <a href="../../../../../builtin/index.html#bool">bool</a> `protobuf:&#34;varint,8,opt,name=true_scotsman,json=trueScotsman&#34; json:&#34;true_scotsman,omitempty&#34;`
  187. Score <a href="../../../../../builtin/index.html#float32">float32</a> `protobuf:&#34;fixed32,9,opt,name=score&#34; json:&#34;score,omitempty&#34;`
  188. Key []<a href="../../../../../builtin/index.html#uint64">uint64</a> `protobuf:&#34;varint,5,rep,name=key&#34; json:&#34;key,omitempty&#34;`
  189. ShortKey []<a href="../../../../../builtin/index.html#int32">int32</a> `protobuf:&#34;varint,19,rep,name=short_key,json=shortKey&#34; json:&#34;short_key,omitempty&#34;`
  190. Nested *<a href="index.html#Nested">Nested</a> `protobuf:&#34;bytes,6,opt,name=nested&#34; json:&#34;nested,omitempty&#34;`
  191. RFunny []<a href="index.html#Message_Humour">Message_Humour</a> `protobuf:&#34;varint,16,rep,name=r_funny,json=rFunny,enum=proto3_proto.Message_Humour&#34; json:&#34;r_funny,omitempty&#34;`
  192. Terrain map[<a href="../../../../../builtin/index.html#string">string</a>]*<a href="index.html#Nested">Nested</a> `protobuf:&#34;bytes,10,rep,name=terrain&#34; json:&#34;terrain,omitempty&#34; protobuf_key:&#34;bytes,1,opt,name=key&#34; protobuf_val:&#34;bytes,2,opt,name=value&#34;`
  193. Proto2Field *<a href="../testdata/index.html">testdata</a>.<a href="../testdata/index.html#SubDefaults">SubDefaults</a> `protobuf:&#34;bytes,11,opt,name=proto2_field,json=proto2Field&#34; json:&#34;proto2_field,omitempty&#34;`
  194. Proto2Value map[<a href="../../../../../builtin/index.html#string">string</a>]*<a href="../testdata/index.html">testdata</a>.<a href="../testdata/index.html#SubDefaults">SubDefaults</a> `protobuf:&#34;bytes,13,rep,name=proto2_value,json=proto2Value&#34; json:&#34;proto2_value,omitempty&#34; protobuf_key:&#34;bytes,1,opt,name=key&#34; protobuf_val:&#34;bytes,2,opt,name=value&#34;`
  195. Anything *<a href="http://localhost:6060/pkg/github.com/golang/protobuf/ptypes/any/">google_protobuf</a>.<a href="http://localhost:6060/pkg/github.com/golang/protobuf/ptypes/any/#Any">Any</a> `protobuf:&#34;bytes,14,opt,name=anything&#34; json:&#34;anything,omitempty&#34;`
  196. ManyThings []*<a href="http://localhost:6060/pkg/github.com/golang/protobuf/ptypes/any/">google_protobuf</a>.<a href="http://localhost:6060/pkg/github.com/golang/protobuf/ptypes/any/#Any">Any</a> `protobuf:&#34;bytes,15,rep,name=many_things,json=manyThings&#34; json:&#34;many_things,omitempty&#34;`
  197. Submessage *<a href="index.html#Message">Message</a> `protobuf:&#34;bytes,17,opt,name=submessage&#34; json:&#34;submessage,omitempty&#34;`
  198. Children []*<a href="index.html#Message">Message</a> `protobuf:&#34;bytes,18,rep,name=children&#34; json:&#34;children,omitempty&#34;`
  199. }</pre>
  200. <h3 id="Message.Descriptor">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=4069:4113#L74">Descriptor</a></h3>
  201. <pre>func (*<a href="index.html#Message">Message</a>) Descriptor() ([]<a href="../../../../../builtin/index.html#byte">byte</a>, []<a href="../../../../../builtin/index.html#int">int</a>)</pre>
  202. <h3 id="Message.GetAnything">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=4588:4640#L104">GetAnything</a></h3>
  203. <pre>func (m *<a href="index.html#Message">Message</a>) GetAnything() *<a href="http://localhost:6060/pkg/github.com/golang/protobuf/ptypes/any/">google_protobuf</a>.<a href="http://localhost:6060/pkg/github.com/golang/protobuf/ptypes/any/#Any">Any</a></pre>
  204. <h3 id="Message.GetChildren">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=4910:4952#L125">GetChildren</a></h3>
  205. <pre>func (m *<a href="index.html#Message">Message</a>) GetChildren() []*<a href="index.html#Message">Message</a></pre>
  206. <h3 id="Message.GetManyThings">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=4696:4752#L111">GetManyThings</a></h3>
  207. <pre>func (m *<a href="index.html#Message">Message</a>) GetManyThings() []*<a href="http://localhost:6060/pkg/github.com/golang/protobuf/ptypes/any/">google_protobuf</a>.<a href="http://localhost:6060/pkg/github.com/golang/protobuf/ptypes/any/#Any">Any</a></pre>
  208. <h3 id="Message.GetNested">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=4152:4189#L76">GetNested</a></h3>
  209. <pre>func (m *<a href="index.html#Message">Message</a>) GetNested() *<a href="index.html#Nested">Nested</a></pre>
  210. <h3 id="Message.GetProto2Field">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=4347:4403#L90">GetProto2Field</a></h3>
  211. <pre>func (m *<a href="index.html#Message">Message</a>) GetProto2Field() *<a href="../testdata/index.html">testdata</a>.<a href="../testdata/index.html#SubDefaults">SubDefaults</a></pre>
  212. <h3 id="Message.GetProto2Value">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=4462:4529#L97">GetProto2Value</a></h3>
  213. <pre>func (m *<a href="index.html#Message">Message</a>) GetProto2Value() map[<a href="../../../../../builtin/index.html#string">string</a>]*<a href="../testdata/index.html">testdata</a>.<a href="../testdata/index.html#SubDefaults">SubDefaults</a></pre>
  214. <h3 id="Message.GetSubmessage">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=4810:4852#L118">GetSubmessage</a></h3>
  215. <pre>func (m *<a href="index.html#Message">Message</a>) GetSubmessage() *<a href="index.html#Message">Message</a></pre>
  216. <h3 id="Message.GetTerrain">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=4243:4292#L83">GetTerrain</a></h3>
  217. <pre>func (m *<a href="index.html#Message">Message</a>) GetTerrain() map[<a href="../../../../../builtin/index.html#string">string</a>]*<a href="index.html#Nested">Nested</a></pre>
  218. <h3 id="Message.ProtoMessage">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=4021:4051#L73">ProtoMessage</a></h3>
  219. <pre>func (*<a href="index.html#Message">Message</a>) ProtoMessage()</pre>
  220. <h3 id="Message.Reset">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=3874:3899#L71">Reset</a></h3>
  221. <pre>func (m *<a href="index.html#Message">Message</a>) Reset()</pre>
  222. <h3 id="Message.String">func (*Message) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=3938:3971#L72">String</a></h3>
  223. <pre>func (m *<a href="index.html#Message">Message</a>) String() <a href="../../../../../builtin/index.html#string">string</a></pre>
  224. <h2 id="MessageWithMap">type <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5450:5681#L142">MessageWithMap</a></h2>
  225. <pre>type MessageWithMap struct {
  226. ByteMapping map[<a href="../../../../../builtin/index.html#bool">bool</a>][]<a href="../../../../../builtin/index.html#byte">byte</a> `protobuf:&#34;bytes,1,rep,name=byte_mapping,json=byteMapping&#34; json:&#34;byte_mapping,omitempty&#34; protobuf_key:&#34;varint,1,opt,name=key&#34; protobuf_val:&#34;bytes,2,opt,name=value,proto3&#34;`
  227. }</pre>
  228. <h3 id="MessageWithMap.Descriptor">func (*MessageWithMap) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5906:5957#L149">Descriptor</a></h3>
  229. <pre>func (*<a href="index.html#MessageWithMap">MessageWithMap</a>) Descriptor() ([]<a href="../../../../../builtin/index.html#byte">byte</a>, []<a href="../../../../../builtin/index.html#int">int</a>)</pre>
  230. <h3 id="MessageWithMap.GetByteMapping">func (*MessageWithMap) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5996:6053#L151">GetByteMapping</a></h3>
  231. <pre>func (m *<a href="index.html#MessageWithMap">MessageWithMap</a>) GetByteMapping() map[<a href="../../../../../builtin/index.html#bool">bool</a>][]<a href="../../../../../builtin/index.html#byte">byte</a></pre>
  232. <h3 id="MessageWithMap.ProtoMessage">func (*MessageWithMap) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5851:5888#L148">ProtoMessage</a></h3>
  233. <pre>func (*<a href="index.html#MessageWithMap">MessageWithMap</a>) ProtoMessage()</pre>
  234. <h3 id="MessageWithMap.Reset">func (*MessageWithMap) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5683:5715#L146">Reset</a></h3>
  235. <pre>func (m *<a href="index.html#MessageWithMap">MessageWithMap</a>) Reset()</pre>
  236. <h3 id="MessageWithMap.String">func (*MessageWithMap) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5761:5801#L147">String</a></h3>
  237. <pre>func (m *<a href="index.html#MessageWithMap">MessageWithMap</a>) String() <a href="../../../../../builtin/index.html#string">string</a></pre>
  238. <h2 id="Message_Humour">type <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=828:853#L23">Message_Humour</a></h2>
  239. <pre>type Message_Humour <a href="../../../../../builtin/index.html#int32">int32</a></pre>
  240. <pre>const (
  241. <span id="Message_UNKNOWN">Message_UNKNOWN</span> <a href="index.html#Message_Humour">Message_Humour</a> = 0
  242. <span id="Message_PUNS">Message_PUNS</span> <a href="index.html#Message_Humour">Message_Humour</a> = 1
  243. <span id="Message_SLAPSTICK">Message_SLAPSTICK</span> <a href="index.html#Message_Humour">Message_Humour</a> = 2
  244. <span id="Message_BILL_BAILEY">Message_BILL_BAILEY</span> <a href="index.html#Message_Humour">Message_Humour</a> = 3
  245. )</pre>
  246. <h3 id="Message_Humour.EnumDescriptor">func (Message_Humour) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=1357:1411#L48">EnumDescriptor</a></h3>
  247. <pre>func (<a href="index.html#Message_Humour">Message_Humour</a>) EnumDescriptor() ([]<a href="../../../../../builtin/index.html#byte">byte</a>, []<a href="../../../../../builtin/index.html#int">int</a>)</pre>
  248. <h3 id="Message_Humour.String">func (Message_Humour) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=1259:1298#L45">String</a></h3>
  249. <pre>func (x <a href="index.html#Message_Humour">Message_Humour</a>) String() <a href="../../../../../builtin/index.html#string">string</a></pre>
  250. <h2 id="Nested">type <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5008:5175#L132">Nested</a></h2>
  251. <pre>type Nested struct {
  252. Bunny <a href="../../../../../builtin/index.html#string">string</a> `protobuf:&#34;bytes,1,opt,name=bunny&#34; json:&#34;bunny,omitempty&#34;`
  253. Cute <a href="../../../../../builtin/index.html#bool">bool</a> `protobuf:&#34;varint,2,opt,name=cute&#34; json:&#34;cute,omitempty&#34;`
  254. }</pre>
  255. <h3 id="Nested.Descriptor">func (*Nested) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5368:5411#L140">Descriptor</a></h3>
  256. <pre>func (*<a href="index.html#Nested">Nested</a>) Descriptor() ([]<a href="../../../../../builtin/index.html#byte">byte</a>, []<a href="../../../../../builtin/index.html#int">int</a>)</pre>
  257. <h3 id="Nested.ProtoMessage">func (*Nested) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5321:5350#L139">ProtoMessage</a></h3>
  258. <pre>func (*<a href="index.html#Nested">Nested</a>) ProtoMessage()</pre>
  259. <h3 id="Nested.Reset">func (*Nested) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5177:5201#L137">Reset</a></h3>
  260. <pre>func (m *<a href="index.html#Nested">Nested</a>) Reset()</pre>
  261. <h3 id="Nested.String">func (*Nested) <a href="http://localhost:6060/src/github.com/golang/protobuf/proto/proto3_proto/proto3.pb.go?s=5239:5271#L138">String</a></h3>
  262. <pre>func (m *<a href="index.html#Nested">Nested</a>) String() <a href="../../../../../builtin/index.html#string">string</a></pre>
  263. <div id="footer">
  264. Build version go1.6.<br>
  265. Except as <a href="https://developers.google.com/site-policies#restrictions">noted</a>,
  266. the content of this page is licensed under the
  267. Creative Commons Attribution 3.0 License,
  268. and code is licensed under a <a href="http://localhost:6060/LICENSE">BSD license</a>.<br>
  269. <a href="http://localhost:6060/doc/tos.html">Terms of Service</a> |
  270. <a href="http://www.google.com/intl/en/policies/privacy/">Privacy Policy</a>
  271. </div>
  272. </div><!-- .container -->
  273. </div><!-- #page -->
  274. <!-- TODO(adonovan): load these from <head> using "defer" attribute? -->
  275. <script type="text/javascript" src="../../../../../../lib/godoc/jquery.js"></script>
  276. <script type="text/javascript" src="../../../../../../lib/godoc/jquery.treeview.js"></script>
  277. <script type="text/javascript" src="../../../../../../lib/godoc/jquery.treeview.edit.js"></script>
  278. <script type="text/javascript" src="../../../../../../lib/godoc/godocs.js"></script>
  279. </body>
  280. </html>