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,43 +23,47 @@
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><a href="ProtoBuf.Reflect.Service.html">.Service</a>.</span>
31
30
 
32
- Method
33
- </h2>
31
+ <h2>
32
+ <span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.Reflect.html">.Reflect</a><a href="ProtoBuf.Reflect.Service.html">.Service</a>.</span>
33
+
34
+ Method
35
+ </h2>
36
+
34
37
 
35
38
  </header>
36
39
 
37
40
  <article>
38
41
  <div class="container-overview">
39
42
 
43
+
40
44
 
41
45
 
42
-
43
- <dt>
46
+
44
47
  <h4 class="name" id="Method"><span class="type-signature"></span>new Method<span class="signature">(builder<span class="signature-attributes">non-null</span>, svc<span class="signature-attributes">non-null</span>, name, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
45
48
 
46
49
 
47
- </dt>
48
- <dd>
49
50
 
50
-
51
- <div class="description">
52
- <p>Abstract service method.</p>
53
- </div>
54
-
55
51
 
56
-
57
52
 
58
-
53
+ <div class="description">
54
+ <p>Abstract service method.</p>
55
+ </div>
56
+
59
57
 
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+ <h5>Parameters:</h5>
60
66
 
61
- <h5>Parameters:</h5>
62
-
63
67
 
64
68
  <table class="params">
65
69
  <thead>
@@ -210,10 +214,20 @@
210
214
 
211
215
  </tbody>
212
216
  </table>
217
+
218
+
219
+
220
+
221
+
222
+
223
+ <dl class="details">
224
+
213
225
 
214
226
 
215
227
 
216
- <dl class="details">
228
+
229
+
230
+
217
231
 
218
232
 
219
233
 
@@ -235,7 +249,7 @@
235
249
 
236
250
  <dt class="tag-source">Source:</dt>
237
251
  <dd class="tag-source"><ul class="dummy"><li>
238
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line4101">line 4101</a>
252
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4167">line 4167</a>
239
253
  </li></ul></dd>
240
254
 
241
255
 
@@ -247,20 +261,19 @@
247
261
  </dl>
248
262
 
249
263
 
250
-
251
264
 
252
-
253
265
 
254
-
255
266
 
256
-
257
267
 
258
-
259
268
 
260
-
261
269
 
262
-
263
- </dd>
270
+
271
+
272
+
273
+
274
+
275
+
276
+
264
277
 
265
278
 
266
279
  </div>
@@ -268,10 +281,13 @@
268
281
 
269
282
  <h3 class="subsection-title">Extends</h3>
270
283
 
271
- <ul>
272
- <li><a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></li>
273
- </ul>
274
-
284
+
285
+
286
+
287
+ <ul>
288
+ <li><a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></li>
289
+ </ul>
290
+
275
291
 
276
292
 
277
293
 
@@ -286,35 +302,34 @@
286
302
 
287
303
  <h3 class="subsection-title">Members</h3>
288
304
 
289
- <dl>
305
+
290
306
 
291
- <dt>
292
- <h4 class="name" id="builder"><span class="type-signature">(non-null) </span>builder<span class="type-signature"> :<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a></span></h4>
307
+ <h4 class="name" id="builder"><span class="type-signature">(non-null) </span>builder<span class="type-signature"> :<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a></span></h4>
293
308
 
294
-
295
- </dt>
296
- <dd>
297
-
298
- <div class="description">
299
- <p>Builder reference.</p>
300
- </div>
301
-
302
309
 
303
-
304
- <h5>Type:</h5>
305
- <ul>
306
- <li>
307
-
310
+
311
+
312
+ <div class="description">
313
+ <p>Builder reference.</p>
314
+ </div>
315
+
316
+
317
+
318
+ <h5>Type:</h5>
319
+ <ul>
320
+ <li>
321
+
308
322
  <span class="param-type"><a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a></span>
309
323
 
310
324
 
311
- </li>
312
- </ul>
313
-
325
+ </li>
326
+ </ul>
327
+
328
+
329
+
330
+
314
331
 
315
-
316
332
  <dl class="details">
317
-
318
333
 
319
334
 
320
335
 
@@ -324,7 +339,15 @@
324
339
  <dt class="inherited-from">Inherited From:</dt>
325
340
  <dd class="inherited-from"><ul class="dummy"><li>
326
341
  <a href="ProtoBuf.Reflect.T.html#builder">ProtoBuf.Reflect.T#builder</a>
327
- </li></dd>
342
+ </li></ul></dd>
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
328
351
 
329
352
 
330
353
 
@@ -340,7 +363,7 @@
340
363
 
341
364
  <dt class="tag-source">Source:</dt>
342
365
  <dd class="tag-source"><ul class="dummy"><li>
343
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1382">line 1382</a>
366
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1417">line 1417</a>
344
367
  </li></ul></dd>
345
368
 
346
369
 
@@ -352,25 +375,50 @@
352
375
  </dl>
353
376
 
354
377
 
355
-
356
378
 
357
-
358
- </dd>
379
+
380
+
359
381
 
360
382
 
361
383
 
362
- <dt>
363
- <h4 class="name" id="className"><span class="type-signature"></span>className<span class="type-signature"></span></h4>
384
+ <h4 class="name" id="className"><span class="type-signature"></span>className<span class="type-signature"> :string</span></h4>
385
+
386
+
387
+
388
+
389
+ <div class="description">
390
+ <p>Fully qualified class name</p>
391
+ </div>
392
+
393
+
394
+
395
+ <h5>Type:</h5>
396
+ <ul>
397
+ <li>
398
+
399
+ <span class="param-type">string</span>
400
+
401
+
402
+ </li>
403
+ </ul>
404
+
405
+
406
+
407
+
408
+
409
+ <dl class="details">
364
410
 
365
411
 
366
- </dt>
367
- <dd>
412
+
368
413
 
369
414
 
370
415
 
371
416
 
372
417
 
373
- <dl class="details">
418
+ <dt class="tag-overrides">Overrides:</dt>
419
+ <dd class="tag-overrides"><ul class="dummy"><li>
420
+ <a href="ProtoBuf.Reflect.T.html#className">ProtoBuf.Reflect.T#className</a>
421
+ </li></ul></dd>
374
422
 
375
423
 
376
424
 
@@ -392,7 +440,7 @@
392
440
 
393
441
  <dt class="tag-source">Source:</dt>
394
442
  <dd class="tag-source"><ul class="dummy"><li>
395
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line4107">line 4107</a>
443
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1438">line 1438</a>
396
444
  </li></ul></dd>
397
445
 
398
446
 
@@ -404,40 +452,38 @@
404
452
  </dl>
405
453
 
406
454
 
407
-
408
455
 
409
-
410
- </dd>
456
+
457
+
411
458
 
412
459
 
413
460
 
414
- <dt>
415
- <h4 class="name" id="name"><span class="type-signature"></span>name<span class="type-signature"> :string</span></h4>
461
+ <h4 class="name" id="name"><span class="type-signature"></span>name<span class="type-signature"> :string</span></h4>
416
462
 
417
-
418
- </dt>
419
- <dd>
420
-
421
- <div class="description">
422
- <p>Object name in namespace.</p>
423
- </div>
424
-
425
463
 
426
-
427
- <h5>Type:</h5>
428
- <ul>
429
- <li>
430
-
464
+
465
+
466
+ <div class="description">
467
+ <p>Object name in namespace.</p>
468
+ </div>
469
+
470
+
471
+
472
+ <h5>Type:</h5>
473
+ <ul>
474
+ <li>
475
+
431
476
  <span class="param-type">string</span>
432
477
 
433
478
 
434
- </li>
435
- </ul>
436
-
479
+ </li>
480
+ </ul>
481
+
482
+
483
+
484
+
437
485
 
438
-
439
486
  <dl class="details">
440
-
441
487
 
442
488
 
443
489
 
@@ -447,7 +493,15 @@
447
493
  <dt class="inherited-from">Inherited From:</dt>
448
494
  <dd class="inherited-from"><ul class="dummy"><li>
449
495
  <a href="ProtoBuf.Reflect.T.html#name">ProtoBuf.Reflect.T#name</a>
450
- </li></dd>
496
+ </li></ul></dd>
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
451
505
 
452
506
 
453
507
 
@@ -463,7 +517,7 @@
463
517
 
464
518
  <dt class="tag-source">Source:</dt>
465
519
  <dd class="tag-source"><ul class="dummy"><li>
466
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1396">line 1396</a>
520
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1431">line 1431</a>
467
521
  </li></ul></dd>
468
522
 
469
523
 
@@ -475,39 +529,45 @@
475
529
  </dl>
476
530
 
477
531
 
478
-
479
532
 
480
-
481
- </dd>
533
+
534
+
482
535
 
483
536
 
484
537
 
485
- <dt>
486
- <h4 class="name" id="options"><span class="type-signature"></span>options<span class="type-signature"> :Object.&lt;string, *></span></h4>
538
+ <h4 class="name" id="options"><span class="type-signature"></span>options<span class="type-signature"> :Object.&lt;string, *></span></h4>
487
539
 
488
-
489
- </dt>
490
- <dd>
491
-
492
- <div class="description">
493
- <p>Options.</p>
494
- </div>
495
-
496
540
 
497
-
498
- <h5>Type:</h5>
499
- <ul>
500
- <li>
501
-
541
+
542
+
543
+ <div class="description">
544
+ <p>Options.</p>
545
+ </div>
546
+
547
+
548
+
549
+ <h5>Type:</h5>
550
+ <ul>
551
+ <li>
552
+
502
553
  <span class="param-type">Object.&lt;string, *></span>
503
554
 
504
555
 
505
- </li>
506
- </ul>
556
+ </li>
557
+ </ul>
558
+
559
+
560
+
561
+
562
+
563
+ <dl class="details">
564
+
507
565
 
508
566
 
509
567
 
510
- <dl class="details">
568
+
569
+
570
+
511
571
 
512
572
 
513
573
 
@@ -529,7 +589,7 @@
529
589
 
530
590
  <dt class="tag-source">Source:</dt>
531
591
  <dd class="tag-source"><ul class="dummy"><li>
532
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line4114">line 4114</a>
592
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4180">line 4180</a>
533
593
  </li></ul></dd>
534
594
 
535
595
 
@@ -541,40 +601,38 @@
541
601
  </dl>
542
602
 
543
603
 
544
-
545
604
 
546
-
547
- </dd>
605
+
606
+
548
607
 
549
608
 
550
609
 
551
- <dt>
552
- <h4 class="name" id="parent"><span class="type-signature">(nullable) </span>parent<span class="type-signature"> :<a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></span></h4>
610
+ <h4 class="name" id="parent"><span class="type-signature">(nullable) </span>parent<span class="type-signature"> :<a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></span></h4>
553
611
 
554
-
555
- </dt>
556
- <dd>
557
-
558
- <div class="description">
559
- <p>Parent object.</p>
560
- </div>
561
-
562
612
 
563
-
564
- <h5>Type:</h5>
565
- <ul>
566
- <li>
567
-
613
+
614
+
615
+ <div class="description">
616
+ <p>Parent object.</p>
617
+ </div>
618
+
619
+
620
+
621
+ <h5>Type:</h5>
622
+ <ul>
623
+ <li>
624
+
568
625
  <span class="param-type"><a href="ProtoBuf.Reflect.T.html">ProtoBuf.Reflect.T</a></span>
569
626
 
570
627
 
571
- </li>
572
- </ul>
573
-
628
+ </li>
629
+ </ul>
630
+
631
+
632
+
633
+
574
634
 
575
-
576
635
  <dl class="details">
577
-
578
636
 
579
637
 
580
638
 
@@ -584,7 +642,15 @@
584
642
  <dt class="inherited-from">Inherited From:</dt>
585
643
  <dd class="inherited-from"><ul class="dummy"><li>
586
644
  <a href="ProtoBuf.Reflect.T.html#parent">ProtoBuf.Reflect.T#parent</a>
587
- </li></dd>
645
+ </li></ul></dd>
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+
588
654
 
589
655
 
590
656
 
@@ -600,7 +666,7 @@
600
666
 
601
667
  <dt class="tag-source">Source:</dt>
602
668
  <dd class="tag-source"><ul class="dummy"><li>
603
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1389">line 1389</a>
669
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1424">line 1424</a>
604
670
  </li></ul></dd>
605
671
 
606
672
 
@@ -612,41 +678,44 @@
612
678
  </dl>
613
679
 
614
680
 
615
-
616
681
 
617
-
618
- </dd>
619
682
 
620
- </dl>
683
+
684
+
685
+
621
686
 
622
687
 
623
688
 
624
689
  <h3 class="subsection-title">Methods</h3>
625
690
 
626
- <dl>
691
+
627
692
 
628
- <dt>
629
- <h4 class="name" id="build"><span class="type-signature"></span>build<span class="signature">()</span><span class="type-signature"></span></h4>
630
693
 
631
694
 
632
- </dt>
633
- <dd>
634
695
 
635
-
636
- <div class="description">
637
- <p>Builds this type.</p>
638
- </div>
639
-
696
+ <h4 class="name" id="build"><span class="type-signature"></span>build<span class="signature">()</span><span class="type-signature"></span></h4>
640
697
 
641
698
 
642
699
 
643
-
644
700
 
645
-
646
701
 
647
-
702
+ <div class="description">
703
+ <p>Builds this type.</p>
704
+ </div>
705
+
706
+
707
+
708
+
709
+
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+
648
718
  <dl class="details">
649
-
650
719
 
651
720
 
652
721
 
@@ -656,7 +725,15 @@
656
725
  <dt class="inherited-from">Inherited From:</dt>
657
726
  <dd class="inherited-from"><ul class="dummy"><li>
658
727
  <a href="ProtoBuf.Reflect.T.html#build">ProtoBuf.Reflect.T#build</a>
659
- </li></dd>
728
+ </li></ul></dd>
729
+
730
+
731
+
732
+
733
+
734
+
735
+
736
+
660
737
 
661
738
 
662
739
 
@@ -672,7 +749,7 @@
672
749
 
673
750
  <dt class="tag-source">Source:</dt>
674
751
  <dd class="tag-source"><ul class="dummy"><li>
675
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1444">line 1444</a>
752
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1479">line 1479</a>
676
753
  </li></ul></dd>
677
754
 
678
755
 
@@ -684,25 +761,26 @@
684
761
  </dl>
685
762
 
686
763
 
687
-
688
764
 
689
-
690
765
 
691
-
692
766
 
693
-
694
767
 
695
-
696
- <h5>Throws:</h5>
697
-
698
-
768
+
769
+
770
+
771
+
772
+
773
+ <h5>Throws:</h5>
774
+
775
+
699
776
 
700
777
  <dl>
701
778
  <dt>
702
779
  <div class="param-desc">
703
- If this type cannot be built directly
780
+ <p>If this type cannot be built directly</p>
704
781
  </div>
705
782
  </dt>
783
+ <dd></dd>
706
784
  <dt>
707
785
  <dl>
708
786
  <dt>
@@ -716,39 +794,51 @@
716
794
  </dd>
717
795
  </dl>
718
796
  </dt>
797
+ <dd></dd>
719
798
  </dl>
720
799
 
721
800
 
722
-
723
-
724
801
 
725
802
 
726
-
727
- </dd>
803
+
804
+
805
+
728
806
 
729
807
 
730
808
 
731
- <dt>
732
- <h4 class="name" id="buildOpt"><span class="type-signature"></span>buildOpt<span class="signature">()</span><span class="type-signature"> &rarr; {Object.&lt;string, *>}</span></h4>
733
809
 
734
810
 
735
- </dt>
736
- <dd>
737
811
 
738
-
739
- <div class="description">
740
- <p>Builds the method's '$options' property.</p>
741
- </div>
742
-
812
+ <h4 class="name" id="buildOpt"><span class="type-signature"></span>buildOpt<span class="signature">()</span><span class="type-signature"> &rarr; {Object.&lt;string, *>}</span></h4>
743
813
 
744
814
 
745
815
 
816
+
817
+
818
+ <div class="description">
819
+ <p>Builds the method's '$options' property.</p>
820
+ </div>
821
+
822
+
823
+
824
+
825
+
826
+
827
+
828
+
829
+
830
+
831
+
832
+
833
+
834
+ <dl class="details">
835
+
746
836
 
747
837
 
748
838
 
749
839
 
750
840
 
751
- <dl class="details">
841
+
752
842
 
753
843
 
754
844
 
@@ -770,7 +860,7 @@
770
860
 
771
861
  <dt class="tag-source">Source:</dt>
772
862
  <dd class="tag-source"><ul class="dummy"><li>
773
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line4123">line 4123</a>
863
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4189">line 4189</a>
774
864
  </li></ul></dd>
775
865
 
776
866
 
@@ -782,20 +872,20 @@
782
872
  </dl>
783
873
 
784
874
 
785
-
786
875
 
787
-
788
876
 
789
-
790
877
 
791
-
792
878
 
793
-
794
879
 
795
-
796
- <h5>Returns:</h5>
797
-
798
-
880
+
881
+
882
+
883
+
884
+
885
+
886
+ <h5>Returns:</h5>
887
+
888
+
799
889
 
800
890
 
801
891
  <dl>
@@ -810,35 +900,38 @@
810
900
  </dd>
811
901
  </dl>
812
902
 
813
-
814
-
815
903
 
816
- </dd>
904
+
905
+
817
906
 
818
907
 
819
908
 
820
- <dt>
821
- <h4 class="name" id="fqn"><span class="type-signature"></span>fqn<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span></h4>
822
909
 
823
910
 
824
- </dt>
825
- <dd>
826
911
 
827
-
828
- <div class="description">
829
- <p>Returns the fully qualified name of this object.</p>
830
- </div>
831
-
912
+ <h4 class="name" id="fqn"><span class="type-signature"></span>fqn<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span></h4>
832
913
 
833
914
 
834
915
 
835
-
836
916
 
837
-
838
917
 
839
-
918
+ <div class="description">
919
+ <p>Returns the fully qualified name of this object.</p>
920
+ </div>
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+
931
+
932
+
933
+
840
934
  <dl class="details">
841
-
842
935
 
843
936
 
844
937
 
@@ -848,7 +941,15 @@
848
941
  <dt class="inherited-from">Inherited From:</dt>
849
942
  <dd class="inherited-from"><ul class="dummy"><li>
850
943
  <a href="ProtoBuf.Reflect.T.html#fqn">ProtoBuf.Reflect.T#fqn</a>
851
- </li></dd>
944
+ </li></ul></dd>
945
+
946
+
947
+
948
+
949
+
950
+
951
+
952
+
852
953
 
853
954
 
854
955
 
@@ -864,7 +965,7 @@
864
965
 
865
966
  <dt class="tag-source">Source:</dt>
866
967
  <dd class="tag-source"><ul class="dummy"><li>
867
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1417">line 1417</a>
968
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1452">line 1452</a>
868
969
  </li></ul></dd>
869
970
 
870
971
 
@@ -876,20 +977,20 @@
876
977
  </dl>
877
978
 
878
979
 
879
-
880
980
 
881
-
882
981
 
883
-
884
982
 
885
-
886
983
 
887
-
888
984
 
889
-
890
- <h5>Returns:</h5>
891
-
892
-
985
+
986
+
987
+
988
+
989
+
990
+
991
+ <h5>Returns:</h5>
992
+
993
+
893
994
  <div class="param-desc">
894
995
  <p>Fully qualified name as of &quot;.PATH.TO.THIS&quot;</p>
895
996
  </div>
@@ -908,33 +1009,35 @@
908
1009
  </dd>
909
1010
  </dl>
910
1011
 
911
-
912
-
913
1012
 
914
- </dd>
1013
+
1014
+
915
1015
 
916
1016
 
917
1017
 
918
- <dt>
919
- <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">(includeClass<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
920
1018
 
921
1019
 
922
- </dt>
923
- <dd>
924
1020
 
925
-
926
- <div class="description">
927
- <p>Returns a string representation of this Reflect object (its fully qualified name).</p>
928
- </div>
929
-
1021
+ <h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">(includeClass<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
930
1022
 
931
1023
 
932
1024
 
933
-
934
1025
 
1026
+
1027
+ <div class="description">
1028
+ <p>Returns a string representation of this Reflect object (its fully qualified name).</p>
1029
+ </div>
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+ <h5>Parameters:</h5>
935
1040
 
936
- <h5>Parameters:</h5>
937
-
938
1041
 
939
1042
  <table class="params">
940
1043
  <thead>
@@ -992,11 +1095,13 @@
992
1095
 
993
1096
  </tbody>
994
1097
  </table>
995
-
996
1098
 
997
-
1099
+
1100
+
1101
+
1102
+
1103
+
998
1104
  <dl class="details">
999
-
1000
1105
 
1001
1106
 
1002
1107
 
@@ -1006,7 +1111,15 @@
1006
1111
  <dt class="inherited-from">Inherited From:</dt>
1007
1112
  <dd class="inherited-from"><ul class="dummy"><li>
1008
1113
  <a href="ProtoBuf.Reflect.T.html#toString">ProtoBuf.Reflect.T#toString</a>
1009
- </li></dd>
1114
+ </li></ul></dd>
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1010
1123
 
1011
1124
 
1012
1125
 
@@ -1022,7 +1135,7 @@
1022
1135
 
1023
1136
  <dt class="tag-source">Source:</dt>
1024
1137
  <dd class="tag-source"><ul class="dummy"><li>
1025
- <a href="ProtoBuf.js.html">ProtoBuf.js</a>, <a href="ProtoBuf.js.html#line1435">line 1435</a>
1138
+ <a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line1470">line 1470</a>
1026
1139
  </li></ul></dd>
1027
1140
 
1028
1141
 
@@ -1034,32 +1147,31 @@
1034
1147
  </dl>
1035
1148
 
1036
1149
 
1037
-
1038
1150
 
1039
-
1040
1151
 
1041
-
1042
1152
 
1043
-
1044
1153
 
1045
-
1046
1154
 
1047
-
1048
- <h5>Returns:</h5>
1049
-
1050
-
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+ <h5>Returns:</h5>
1162
+
1163
+
1051
1164
  <div class="param-desc">
1052
1165
  <p>String representation</p>
1053
1166
  </div>
1054
1167
 
1055
1168
 
1056
1169
 
1057
-
1058
-
1059
1170
 
1060
- </dd>
1061
1171
 
1062
- </dl>
1172
+
1173
+
1174
+
1063
1175
 
1064
1176
 
1065
1177
 
@@ -1075,13 +1187,13 @@
1075
1187
  </div>
1076
1188
 
1077
1189
  <nav>
1078
- <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>
1190
+ <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>
1079
1191
  </nav>
1080
1192
 
1081
- <br clear="both">
1193
+ <br class="clear">
1082
1194
 
1083
1195
  <footer>
1084
- 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)
1196
+ 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)
1085
1197
  </footer>
1086
1198
 
1087
1199
  <script> prettyPrint(); </script>