protobufjs 4.1.2 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/.travis.yml +3 -1
  2. package/README.md +147 -25
  3. package/bin/pbjs +2 -2
  4. package/bower.json +3 -3
  5. package/cli/pbjs/targets/amd.js +1 -1
  6. package/cli/pbjs/targets/json.js +9 -1
  7. package/cli/pbjs/targets/proto.js +48 -24
  8. package/cli/pbjs/util.js +1 -1
  9. package/cli/pbjs.js +9 -2
  10. package/dist/README.md +10 -10
  11. package/dist/{ProtoBuf-light.js → protobuf-light.js} +207 -152
  12. package/dist/protobuf-light.min.js +94 -0
  13. package/dist/protobuf-light.min.js.gz +0 -0
  14. package/dist/protobuf-light.min.map +8 -0
  15. package/dist/{ProtoBuf.js → protobuf.js} +265 -175
  16. package/dist/protobuf.min.js +116 -0
  17. package/dist/protobuf.min.js.gz +0 -0
  18. package/dist/protobuf.min.map +8 -0
  19. package/docs/ProtoBuf.Builder.Message.html +1473 -967
  20. package/docs/ProtoBuf.Builder.Service.html +266 -197
  21. package/docs/ProtoBuf.Builder.html +758 -542
  22. package/docs/ProtoBuf.DotProto.Parser.html +223 -161
  23. package/docs/ProtoBuf.DotProto.Tokenizer.html +344 -248
  24. package/docs/ProtoBuf.DotProto.html +20 -12
  25. package/docs/ProtoBuf.Element.html +554 -554
  26. package/docs/ProtoBuf.Map.html +158 -123
  27. package/docs/ProtoBuf.Reflect.Element.html +286 -143
  28. package/docs/ProtoBuf.Reflect.Enum.Value.html +329 -228
  29. package/docs/ProtoBuf.Reflect.Enum.html +757 -537
  30. package/docs/ProtoBuf.Reflect.Extension.html +73 -56
  31. package/docs/ProtoBuf.Reflect.Message.ExtensionField.html +1013 -740
  32. package/docs/ProtoBuf.Reflect.Message.Field.html +926 -649
  33. package/docs/ProtoBuf.Reflect.Message.OneOf.html +327 -245
  34. package/docs/ProtoBuf.Reflect.Message.html +919 -652
  35. package/docs/ProtoBuf.Reflect.Namespace.html +648 -447
  36. package/docs/ProtoBuf.Reflect.Service.Method.html +363 -251
  37. package/docs/ProtoBuf.Reflect.Service.RPCMethod.html +545 -397
  38. package/docs/ProtoBuf.Reflect.Service.html +721 -511
  39. package/docs/ProtoBuf.Reflect.T.html +268 -197
  40. package/docs/ProtoBuf.Reflect.html +20 -12
  41. package/docs/ProtoBuf.Util.html +169 -118
  42. package/docs/ProtoBuf.html +840 -628
  43. package/docs/ProtoBuf.js.html +271 -180
  44. package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
  45. package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
  46. package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
  47. package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  48. package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  49. package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  50. package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
  51. package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
  52. package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
  53. package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
  54. package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
  55. package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
  56. package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  57. package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  58. package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  59. package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
  60. package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
  61. package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
  62. package/docs/index.html +7 -5
  63. package/docs/styles/jsdoc-default.css +95 -75
  64. package/docs/styles/prettify-tomorrow.css +1 -1
  65. package/donate.png +0 -0
  66. package/examples/protoify/json.js +123 -123
  67. package/examples/protoify/json.json +123 -123
  68. package/examples/websocket/server.js +4 -4
  69. package/externs/{ProtoBuf.js → protobuf.js} +933 -922
  70. package/index.js +1 -18
  71. package/jsdoc.json +1 -1
  72. package/package.json +11 -11
  73. package/protobuf.png +0 -0
  74. package/scripts/build.js +53 -58
  75. package/src/ProtoBuf/Builder/Message.js +18 -9
  76. package/src/ProtoBuf/Builder/Service.js +3 -0
  77. package/src/ProtoBuf/Builder.js +34 -10
  78. package/src/ProtoBuf/DotProto/Parser.js +58 -23
  79. package/src/ProtoBuf/Reflect/Element.js +17 -4
  80. package/src/ProtoBuf/Reflect/Message/Field.js +6 -5
  81. package/src/ProtoBuf/Reflect/Message.js +9 -4
  82. package/src/ProtoBuf/Util.js +116 -116
  83. package/src/bower.json +2 -2
  84. package/src/google/protobuf/descriptor.json +55 -15
  85. package/src/{ProtoBuf.js → protobuf.js} +0 -0
  86. package/src/wrap.js +4 -4
  87. package/tests/bench.txt +373 -373
  88. package/tests/complex.json +8 -1
  89. package/tests/custom-options.json +169 -169
  90. package/tests/extend.json +71 -71
  91. package/tests/imports-weak.proto +7 -0
  92. package/tests/imports.json +83 -83
  93. package/tests/nodeunit-browser/nodeunit.css +70 -70
  94. package/tests/nodeunit-browser/nodeunit.js +2108 -2108
  95. package/tests/options.json +32 -32
  96. package/tests/proto2js/Bar.json +46 -46
  97. package/tests/suite.js +107 -82
  98. package/ProtoBuf.png +0 -0
  99. package/dist/ProtoBuf-light.min.js +0 -87
  100. package/dist/ProtoBuf-light.min.js.gz +0 -0
  101. package/dist/ProtoBuf-light.min.map +0 -8
  102. package/dist/ProtoBuf.min.js +0 -108
  103. package/dist/ProtoBuf.min.js.gz +0 -0
  104. package/dist/ProtoBuf.min.map +0 -8
  105. package/externs/ByteBuffer.js +0 -767
  106. package/externs/Long.js +0 -328
  107. package/sandbox/gapi/googleapis/google/api/annotations.proto +0 -29
  108. package/sandbox/gapi/googleapis/google/api/http.proto +0 -245
  109. package/sandbox/gapi/googleapis/google/datastore/v1beta3/datastore.proto +0 -281
  110. package/sandbox/gapi/googleapis/google/datastore/v1beta3/entity.proto +0 -189
  111. package/sandbox/gapi/googleapis/google/datastore/v1beta3/query.proto +0 -281
  112. package/sandbox/gapi/googleapis/google/longrunning/operations.proto +0 -144
  113. package/sandbox/gapi/googleapis/google/protobuf/any.proto +0 -98
  114. package/sandbox/gapi/googleapis/google/protobuf/any_test.proto +0 -41
  115. package/sandbox/gapi/googleapis/google/protobuf/api.proto +0 -201
  116. package/sandbox/gapi/googleapis/google/protobuf/descriptor.proto +0 -773
  117. package/sandbox/gapi/googleapis/google/protobuf/duration.proto +0 -95
  118. package/sandbox/gapi/googleapis/google/protobuf/empty.proto +0 -50
  119. package/sandbox/gapi/googleapis/google/protobuf/field_mask.proto +0 -167
  120. package/sandbox/gapi/googleapis/google/protobuf/map_lite_unittest.proto +0 -130
  121. package/sandbox/gapi/googleapis/google/protobuf/map_proto2_unittest.proto +0 -60
  122. package/sandbox/gapi/googleapis/google/protobuf/map_unittest.proto +0 -129
  123. package/sandbox/gapi/googleapis/google/protobuf/map_unittest_proto3.proto +0 -120
  124. package/sandbox/gapi/googleapis/google/protobuf/source_context.proto +0 -47
  125. package/sandbox/gapi/googleapis/google/protobuf/struct.proto +0 -94
  126. package/sandbox/gapi/googleapis/google/protobuf/timestamp.proto +0 -107
  127. package/sandbox/gapi/googleapis/google/protobuf/type.proto +0 -176
  128. package/sandbox/gapi/googleapis/google/protobuf/unittest.proto +0 -878
  129. package/sandbox/gapi/googleapis/google/protobuf/unittest_arena.proto +0 -46
  130. package/sandbox/gapi/googleapis/google/protobuf/unittest_custom_options.proto +0 -394
  131. package/sandbox/gapi/googleapis/google/protobuf/unittest_drop_unknown_fields.proto +0 -58
  132. package/sandbox/gapi/googleapis/google/protobuf/unittest_embed_optimize_for.proto +0 -51
  133. package/sandbox/gapi/googleapis/google/protobuf/unittest_empty.proto +0 -38
  134. package/sandbox/gapi/googleapis/google/protobuf/unittest_enormous_descriptor.proto +0 -1048
  135. package/sandbox/gapi/googleapis/google/protobuf/unittest_import.proto +0 -66
  136. package/sandbox/gapi/googleapis/google/protobuf/unittest_import_lite.proto +0 -52
  137. package/sandbox/gapi/googleapis/google/protobuf/unittest_import_proto3.proto +0 -68
  138. package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public.proto +0 -41
  139. package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_lite.proto +0 -43
  140. package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_proto3.proto +0 -42
  141. package/sandbox/gapi/googleapis/google/protobuf/unittest_lite.proto +0 -385
  142. package/sandbox/gapi/googleapis/google/protobuf/unittest_lite_imports_nonlite.proto +0 -44
  143. package/sandbox/gapi/googleapis/google/protobuf/unittest_mset.proto +0 -82
  144. package/sandbox/gapi/googleapis/google/protobuf/unittest_mset_wire_format.proto +0 -52
  145. package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena.proto +0 -202
  146. package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_import.proto +0 -37
  147. package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_lite.proto +0 -42
  148. package/sandbox/gapi/googleapis/google/protobuf/unittest_no_field_presence.proto +0 -138
  149. package/sandbox/gapi/googleapis/google/protobuf/unittest_no_generic_services.proto +0 -54
  150. package/sandbox/gapi/googleapis/google/protobuf/unittest_optimize_for.proto +0 -67
  151. package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum.proto +0 -71
  152. package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum2.proto +0 -50
  153. package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3.proto +0 -388
  154. package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3_arena.proto +0 -206
  155. package/sandbox/gapi/googleapis/google/protobuf/unittest_well_known_types.proto +0 -112
  156. package/sandbox/gapi/googleapis/google/protobuf/unknown_enum_test.proto +0 -62
  157. package/sandbox/gapi/googleapis/google/protobuf/wrappers.proto +0 -117
  158. package/sandbox/gapi/googleapis/google/rpc/code.proto +0 -190
  159. package/sandbox/gapi/googleapis/google/rpc/error_details.proto +0 -157
  160. package/sandbox/gapi/googleapis/google/rpc/status.proto +0 -90
  161. package/sandbox/gapi/googleapis/google/type/color.proto +0 -163
  162. package/sandbox/gapi/googleapis/google/type/date.proto +0 -43
  163. package/sandbox/gapi/googleapis/google/type/dayofweek.proto +0 -50
  164. package/sandbox/gapi/googleapis/google/type/latlng.proto +0 -36
  165. package/sandbox/gapi/googleapis/google/type/money.proto +0 -40
  166. package/sandbox/gapi/googleapis/google/type/timeofday.proto +0 -42
  167. package/sandbox/gapi/test.js +0 -17
  168. package/sandbox/gapi/test.proto +0 -12
  169. package/sandbox/issue146/MyOptions.proto +0 -28
  170. package/sandbox/issue146/Sample.proto +0 -21
  171. package/sandbox/issue146/main.js +0 -3
  172. package/sandbox/issue147/enum.proto +0 -8
  173. package/sandbox/issue147/main.js +0 -3
  174. package/sandbox/issue182/commands.proto +0 -10
  175. package/sandbox/issue182/execute.js +0 -22
  176. package/sandbox/issue182/session_commands.proto +0 -14
  177. package/sandbox/issue289/A.proto +0 -8
  178. package/sandbox/issue289/B.proto +0 -8
  179. package/sandbox/issue289/common.proto +0 -5
  180. package/sandbox/issue289/main.js +0 -7
  181. package/sandbox/issue300/IAuth.proto +0 -14
  182. package/sandbox/issue300/Request.proto +0 -14
  183. package/sandbox/issue300/main.js +0 -26
  184. package/sandbox/issue42/innerextend.proto +0 -18
  185. package/sandbox/issue42/main.js +0 -8
  186. package/sandbox/issue42/outerextend.proto +0 -17
  187. package/tests/gtfs-realtime.proto +0 -552
  188. package/webpack.config.js +0 -9
@@ -23,48 +23,52 @@
23
23
 
24
24
 
25
25
 
26
+
26
27
  <section>
27
28
 
28
29
  <header>
29
- <h2>
30
- <span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.Reflect.html">.Reflect</a>.</span>
31
30
 
32
- Element
33
- </h2>
31
+ <h2>
32
+ <span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.Reflect.html">.Reflect</a>.</span>
33
+
34
+ Element
35
+ </h2>
36
+
34
37
 
35
38
  </header>
36
39
 
37
40
  <article>
38
41
  <div class="container-overview">
39
42
 
40
-
41
-
42
43
 
43
- <dt>
44
- <h4 class="name" id="Element"><span class="type-signature"></span>new Element<span class="signature">(type, resolvedType, isMapKey, syntax)</span><span class="type-signature"></span></h4>
45
44
 
46
45
 
47
- </dt>
48
- <dd>
46
+
47
+ <h4 class="name" id="Element"><span class="type-signature"></span>new Element<span class="signature">(type, resolvedType, isMapKey, syntax, name)</span><span class="type-signature"></span></h4>
49
48
 
50
49
 
51
- <div class="description">
52
- <p>Constructs a new Element implementation that checks and converts values for a
50
+
51
+
52
+
53
+ <div class="description">
54
+ <p>Constructs a new Element implementation that checks and converts values for a
53
55
  particular field type, as appropriate.</p>
54
56
  <p>An Element represents a single value: either the value of a singular field,
55
57
  or a value contained in one entry of a repeated field or map field. This
56
58
  class does not implement these higher-level concepts; it only encapsulates
57
59
  the low-level typechecking and conversion.</p>
58
- </div>
59
-
60
+ </div>
61
+
62
+
63
+
64
+
60
65
 
61
-
62
66
 
63
-
64
67
 
68
+
69
+
70
+ <h5>Parameters:</h5>
65
71
 
66
- <h5>Parameters:</h5>
67
-
68
72
 
69
73
  <table class="params">
70
74
  <thead>
@@ -183,12 +187,46 @@ proto2 or proto3.</p></td>
183
187
  </tr>
184
188
 
185
189
 
190
+
191
+ <tr>
192
+
193
+ <td class="name"><code>name</code></td>
194
+
195
+
196
+ <td class="type">
197
+
198
+
199
+ <span class="param-type">string</span>
200
+
201
+
202
+
203
+ </td>
204
+
205
+
206
+
207
+
208
+
209
+ <td class="description last"><p>Name of the field containing this element (for error
210
+ messages)</p></td>
211
+ </tr>
212
+
213
+
186
214
  </tbody>
187
215
  </table>
216
+
217
+
218
+
219
+
220
+
221
+
222
+ <dl class="details">
223
+
188
224
 
189
225
 
190
226
 
191
- <dl class="details">
227
+
228
+
229
+
192
230
 
193
231
 
194
232
 
@@ -210,7 +248,7 @@ proto2 or proto3.</p></td>
210
248
 
211
249
  <dt class="tag-source">Source:</dt>
212
250
  <dd class="tag-source"><ul class="dummy"><li>
213
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1683">line 1683</a>
251
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1720">line 1720</a>
214
252
  </li></ul></dd>
215
253
 
216
254
 
@@ -222,9 +260,22 @@ proto2 or proto3.</p></td>
222
260
  </dl>
223
261
 
224
262
 
225
-
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
226
276
 
227
277
 
278
+ </div>
228
279
 
229
280
 
230
281
 
@@ -232,13 +283,43 @@ proto2 or proto3.</p></td>
232
283
 
233
284
 
234
285
 
286
+
287
+
235
288
 
236
289
 
237
290
 
238
- </dd>
291
+ <h3 class="subsection-title">Members</h3>
292
+
293
+
294
+
295
+ <h4 class="name" id="isMapKey"><span class="type-signature"></span>isMapKey<span class="type-signature"> :boolean</span></h4>
296
+
297
+
298
+
299
+
300
+ <div class="description">
301
+ <p>Element is a map key.</p>
302
+ </div>
303
+
304
+
305
+
306
+ <h5>Type:</h5>
307
+ <ul>
308
+ <li>
309
+
310
+ <span class="param-type">boolean</span>
311
+
312
+
313
+ </li>
314
+ </ul>
315
+
316
+
317
+
318
+
319
+
320
+ <dl class="details">
239
321
 
240
322
 
241
- </div>
242
323
 
243
324
 
244
325
 
@@ -248,41 +329,74 @@ proto2 or proto3.</p></td>
248
329
 
249
330
 
250
331
 
251
-
332
+
252
333
 
253
334
 
254
335
 
255
336
 
256
- <h3 class="subsection-title">Members</h3>
257
337
 
258
- <dl>
259
-
260
- <dt>
261
- <h4 class="name" id="isMapKey"><span class="type-signature"></span>isMapKey<span class="type-signature"> :boolean</span></h4>
338
+
262
339
 
263
340
 
264
- </dt>
265
- <dd>
341
+
266
342
 
267
- <div class="description">
268
- <p>Element is a map key.</p>
269
- </div>
343
+
270
344
 
271
345
 
272
346
 
273
- <h5>Type:</h5>
274
- <ul>
275
- <li>
276
-
277
- <span class="param-type">boolean</span>
347
+ <dt class="tag-source">Source:</dt>
348
+ <dd class="tag-source"><ul class="dummy"><li>
349
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1738">line 1738</a>
350
+ </li></ul></dd>
351
+
278
352
 
353
+
279
354
 
280
- </li>
281
- </ul>
282
355
 
283
356
 
284
357
 
358
+ </dl>
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+ <h4 class="name" id="name"><span class="type-signature"></span>name<span class="type-signature"> :string</span></h4>
368
+
369
+
370
+
371
+
372
+ <div class="description">
373
+ <p>Name of the field containing this element (for error messages)</p>
374
+ </div>
375
+
376
+
377
+
378
+ <h5>Type:</h5>
379
+ <ul>
380
+ <li>
381
+
382
+ <span class="param-type">string</span>
383
+
384
+
385
+ </li>
386
+ </ul>
387
+
388
+
389
+
390
+
391
+
285
392
  <dl class="details">
393
+
394
+
395
+
396
+
397
+
398
+
399
+
286
400
 
287
401
 
288
402
 
@@ -304,7 +418,7 @@ proto2 or proto3.</p></td>
304
418
 
305
419
  <dt class="tag-source">Source:</dt>
306
420
  <dd class="tag-source"><ul class="dummy"><li>
307
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1701">line 1701</a>
421
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1750">line 1750</a>
308
422
  </li></ul></dd>
309
423
 
310
424
 
@@ -316,42 +430,48 @@ proto2 or proto3.</p></td>
316
430
  </dl>
317
431
 
318
432
 
319
-
320
433
 
321
-
322
- </dd>
434
+
435
+
323
436
 
324
437
 
325
438
 
326
- <dt>
327
- <h4 class="name" id="resolvedType"><span class="type-signature"></span>resolvedType<span class="type-signature"> :<a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a>|null</span></h4>
439
+ <h4 class="name" id="resolvedType"><span class="type-signature"></span>resolvedType<span class="type-signature"> :<a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a>|null</span></h4>
328
440
 
329
-
330
- </dt>
331
- <dd>
332
-
333
- <div class="description">
334
- <p>Element type reference to submessage or enum definition, if needed.</p>
335
- </div>
336
-
337
441
 
338
-
339
- <h5>Type:</h5>
340
- <ul>
341
- <li>
342
-
442
+
443
+
444
+ <div class="description">
445
+ <p>Element type reference to submessage or enum definition, if needed.</p>
446
+ </div>
447
+
448
+
449
+
450
+ <h5>Type:</h5>
451
+ <ul>
452
+ <li>
453
+
343
454
  <span class="param-type"><a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></span>
344
455
  |
345
456
 
346
457
  <span class="param-type">null</span>
347
458
 
348
459
 
349
- </li>
350
- </ul>
460
+ </li>
461
+ </ul>
462
+
463
+
464
+
465
+
466
+
467
+ <dl class="details">
468
+
351
469
 
352
470
 
353
471
 
354
- <dl class="details">
472
+
473
+
474
+
355
475
 
356
476
 
357
477
 
@@ -373,7 +493,7 @@ proto2 or proto3.</p></td>
373
493
 
374
494
  <dt class="tag-source">Source:</dt>
375
495
  <dd class="tag-source"><ul class="dummy"><li>
376
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1695">line 1695</a>
496
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1732">line 1732</a>
377
497
  </li></ul></dd>
378
498
 
379
499
 
@@ -385,39 +505,45 @@ proto2 or proto3.</p></td>
385
505
  </dl>
386
506
 
387
507
 
388
-
389
508
 
390
-
391
- </dd>
509
+
510
+
392
511
 
393
512
 
394
513
 
395
- <dt>
396
- <h4 class="name" id="syntax"><span class="type-signature"></span>syntax<span class="type-signature"> :string</span></h4>
514
+ <h4 class="name" id="syntax"><span class="type-signature"></span>syntax<span class="type-signature"> :string</span></h4>
397
515
 
398
-
399
- </dt>
400
- <dd>
401
-
402
- <div class="description">
403
- <p>Syntax level of defining message type, e.g., proto2 or proto3.</p>
404
- </div>
405
-
406
516
 
407
-
408
- <h5>Type:</h5>
409
- <ul>
410
- <li>
411
-
517
+
518
+
519
+ <div class="description">
520
+ <p>Syntax level of defining message type, e.g., proto2 or proto3.</p>
521
+ </div>
522
+
523
+
524
+
525
+ <h5>Type:</h5>
526
+ <ul>
527
+ <li>
528
+
412
529
  <span class="param-type">string</span>
413
530
 
414
531
 
415
- </li>
416
- </ul>
532
+ </li>
533
+ </ul>
534
+
535
+
536
+
537
+
538
+
539
+ <dl class="details">
540
+
417
541
 
418
542
 
419
543
 
420
- <dl class="details">
544
+
545
+
546
+
421
547
 
422
548
 
423
549
 
@@ -439,7 +565,7 @@ proto2 or proto3.</p></td>
439
565
 
440
566
  <dt class="tag-source">Source:</dt>
441
567
  <dd class="tag-source"><ul class="dummy"><li>
442
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1707">line 1707</a>
568
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1744">line 1744</a>
443
569
  </li></ul></dd>
444
570
 
445
571
 
@@ -451,39 +577,45 @@ proto2 or proto3.</p></td>
451
577
  </dl>
452
578
 
453
579
 
454
-
455
580
 
456
-
457
- </dd>
581
+
582
+
458
583
 
459
584
 
460
585
 
461
- <dt>
462
- <h4 class="name" id="type"><span class="type-signature"></span>type<span class="type-signature"> :Object</span></h4>
586
+ <h4 class="name" id="type"><span class="type-signature"></span>type<span class="type-signature"> :Object</span></h4>
463
587
 
464
-
465
- </dt>
466
- <dd>
467
-
468
- <div class="description">
469
- <p>Element type, as a string (e.g., int32).</p>
470
- </div>
471
-
472
588
 
473
-
474
- <h5>Type:</h5>
475
- <ul>
476
- <li>
477
-
589
+
590
+
591
+ <div class="description">
592
+ <p>Element type, as a string (e.g., int32).</p>
593
+ </div>
594
+
595
+
596
+
597
+ <h5>Type:</h5>
598
+ <ul>
599
+ <li>
600
+
478
601
  <span class="param-type">Object</span>
479
602
 
480
603
 
481
- </li>
482
- </ul>
604
+ </li>
605
+ </ul>
606
+
607
+
608
+
609
+
610
+
611
+ <dl class="details">
612
+
483
613
 
484
614
 
485
615
 
486
- <dl class="details">
616
+
617
+
618
+
487
619
 
488
620
 
489
621
 
@@ -505,7 +637,7 @@ proto2 or proto3.</p></td>
505
637
 
506
638
  <dt class="tag-source">Source:</dt>
507
639
  <dd class="tag-source"><ul class="dummy"><li>
508
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1689">line 1689</a>
640
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1726">line 1726</a>
509
641
  </li></ul></dd>
510
642
 
511
643
 
@@ -517,39 +649,41 @@ proto2 or proto3.</p></td>
517
649
  </dl>
518
650
 
519
651
 
520
-
521
652
 
522
-
523
- </dd>
524
653
 
525
- </dl>
654
+
655
+
656
+
526
657
 
527
658
 
528
659
 
529
660
  <h3 class="subsection-title">Methods</h3>
530
661
 
531
- <dl>
662
+
532
663
 
533
- <dt>
534
- <h4 class="name" id="defaultFieldValue"><span class="type-signature">(static) </span>defaultFieldValue<span class="signature">(type)</span><span class="type-signature"> &rarr; {*}</span></h4>
535
664
 
536
665
 
537
- </dt>
538
- <dd>
539
666
 
540
-
541
- <div class="description">
542
- <p>Returns the default value for this field in proto3.</p>
543
- </div>
544
-
667
+ <h4 class="name" id=".defaultFieldValue"><span class="type-signature">(static) </span>defaultFieldValue<span class="signature">(type)</span><span class="type-signature"> &rarr; {*}</span></h4>
545
668
 
546
669
 
547
670
 
548
-
549
671
 
672
+
673
+ <div class="description">
674
+ <p>Returns the default value for this field in proto3.</p>
675
+ </div>
676
+
677
+
678
+
679
+
680
+
681
+
682
+
683
+
684
+
685
+ <h5>Parameters:</h5>
550
686
 
551
- <h5>Parameters:</h5>
552
-
553
687
 
554
688
  <table class="params">
555
689
  <thead>
@@ -598,10 +732,20 @@ proto2 or proto3.</p></td>
598
732
 
599
733
  </tbody>
600
734
  </table>
735
+
736
+
737
+
738
+
739
+
740
+
741
+ <dl class="details">
742
+
601
743
 
602
744
 
603
745
 
604
- <dl class="details">
746
+
747
+
748
+
605
749
 
606
750
 
607
751
 
@@ -623,7 +767,7 @@ proto2 or proto3.</p></td>
623
767
 
624
768
  <dt class="tag-source">Source:</dt>
625
769
  <dd class="tag-source"><ul class="dummy"><li>
626
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1737">line 1737</a>
770
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1780">line 1780</a>
627
771
  </li></ul></dd>
628
772
 
629
773
 
@@ -635,20 +779,20 @@ proto2 or proto3.</p></td>
635
779
  </dl>
636
780
 
637
781
 
638
-
639
782
 
640
-
641
783
 
642
-
643
784
 
644
-
645
785
 
646
-
647
786
 
648
-
649
- <h5>Returns:</h5>
650
-
651
-
787
+
788
+
789
+
790
+
791
+
792
+
793
+ <h5>Returns:</h5>
794
+
795
+
652
796
  <div class="param-desc">
653
797
  <p>Default value</p>
654
798
  </div>
@@ -667,12 +811,11 @@ proto2 or proto3.</p></td>
667
811
  </dd>
668
812
  </dl>
669
813
 
670
-
671
-
672
814
 
673
- </dd>
674
815
 
675
- </dl>
816
+
817
+
818
+
676
819
 
677
820
 
678
821
 
@@ -688,13 +831,13 @@ proto2 or proto3.</p></td>
688
831
  </div>
689
832
 
690
833
  <nav>
691
- <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="ProtoBuf.Builder.html">Builder</a></li><li><a href="ProtoBuf.Builder.Message.html">Message</a></li><li><a href="ProtoBuf.Builder.Service.html">Service</a></li><li><a href="ProtoBuf.DotProto.Parser.html">Parser</a></li><li><a href="ProtoBuf.DotProto.Tokenizer.html">Tokenizer</a></li><li><a href="ProtoBuf.Map.html">Map</a></li><li><a href="ProtoBuf.Reflect.Element.html">Element</a></li><li><a href="ProtoBuf.Reflect.Enum.html">Enum</a></li><li><a href="ProtoBuf.Reflect.Enum.Value.html">Value</a></li><li><a href="ProtoBuf.Reflect.Extension.html">Extension</a></li><li><a href="ProtoBuf.Reflect.Message.html">Message</a></li><li><a href="ProtoBuf.Reflect.Message.ExtensionField.html">ExtensionField</a></li><li><a href="ProtoBuf.Reflect.Message.Field.html">Field</a></li><li><a href="ProtoBuf.Reflect.Message.OneOf.html">OneOf</a></li><li><a href="ProtoBuf.Reflect.Namespace.html">Namespace</a></li><li><a href="ProtoBuf.Reflect.Service.html">Service</a></li><li><a href="ProtoBuf.Reflect.Service.Method.html">Method</a></li><li><a href="ProtoBuf.Reflect.Service.RPCMethod.html">RPCMethod</a></li><li><a href="ProtoBuf.Reflect.T.html">T</a></li></ul><h3>Namespaces</h3><ul><li><a href="ProtoBuf.html">ProtoBuf</a></li><li><a href="ProtoBuf.DotProto.html">DotProto</a></li><li><a href="ProtoBuf.Reflect.html">Reflect</a></li><li><a href="ProtoBuf.Util.html">Util</a></li></ul>
834
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ProtoBuf.Builder.html">Builder</a></li><li><a href="ProtoBuf.Builder.Message.html">Message</a></li><li><a href="ProtoBuf.Builder.Service.html">Service</a></li><li><a href="ProtoBuf.DotProto.Parser.html">Parser</a></li><li><a href="ProtoBuf.DotProto.Tokenizer.html">Tokenizer</a></li><li><a href="ProtoBuf.Map.html">Map</a></li><li><a href="ProtoBuf.Reflect.Element.html">Element</a></li><li><a href="ProtoBuf.Reflect.Enum.html">Enum</a></li><li><a href="ProtoBuf.Reflect.Enum.Value.html">Value</a></li><li><a href="ProtoBuf.Reflect.Extension.html">Extension</a></li><li><a href="ProtoBuf.Reflect.Message.html">Message</a></li><li><a href="ProtoBuf.Reflect.Message.ExtensionField.html">ExtensionField</a></li><li><a href="ProtoBuf.Reflect.Message.Field.html">Field</a></li><li><a href="ProtoBuf.Reflect.Message.OneOf.html">OneOf</a></li><li><a href="ProtoBuf.Reflect.Namespace.html">Namespace</a></li><li><a href="ProtoBuf.Reflect.Service.html">Service</a></li><li><a href="ProtoBuf.Reflect.Service.Method.html">Method</a></li><li><a href="ProtoBuf.Reflect.Service.RPCMethod.html">RPCMethod</a></li><li><a href="ProtoBuf.Reflect.T.html">T</a></li></ul><h3>Namespaces</h3><ul><li><a href="ProtoBuf.html">ProtoBuf</a></li><li><a href="ProtoBuf.DotProto.html">DotProto</a></li><li><a href="ProtoBuf.Reflect.html">Reflect</a></li><li><a href="ProtoBuf.Util.html">Util</a></li></ul>
692
835
  </nav>
693
836
 
694
- <br clear="both">
837
+ <br class="clear">
695
838
 
696
839
  <footer>
697
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha9</a> on Wed Oct 14 2015 18:20:52 GMT+0200 (Mitteleuropäische Sommerzeit)
840
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.3</a> on Fri Jan 27 2017 17:03:55 GMT+0100 (Mitteleuropäische Zeit)
698
841
  </footer>
699
842
 
700
843
  <script> prettyPrint(); </script>