protobufjs 5.0.1 → 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.
- package/.travis.yml +2 -1
- package/README.md +144 -22
- package/bin/pbjs +2 -2
- package/bower.json +2 -2
- package/cli/pbjs/targets/amd.js +1 -1
- package/cli/pbjs/targets/json.js +8 -0
- package/cli/pbjs/util.js +1 -1
- package/cli/pbjs.js +1 -1
- package/dist/protobuf-light.js +166 -128
- package/dist/protobuf-light.min.js +88 -81
- package/dist/protobuf-light.min.js.gz +0 -0
- package/dist/protobuf-light.min.map +4 -4
- package/dist/protobuf.js +171 -129
- package/dist/protobuf.min.js +106 -98
- package/dist/protobuf.min.js.gz +0 -0
- package/dist/protobuf.min.map +4 -4
- package/docs/ProtoBuf.Builder.Message.html +1408 -971
- package/docs/ProtoBuf.Builder.Service.html +266 -197
- package/docs/ProtoBuf.Builder.html +758 -542
- package/docs/ProtoBuf.DotProto.Parser.html +223 -161
- package/docs/ProtoBuf.DotProto.Tokenizer.html +344 -248
- package/docs/ProtoBuf.DotProto.html +20 -12
- package/docs/ProtoBuf.Element.html +554 -554
- package/docs/ProtoBuf.Map.html +158 -123
- package/docs/ProtoBuf.Reflect.Element.html +286 -143
- package/docs/ProtoBuf.Reflect.Enum.Value.html +329 -228
- package/docs/ProtoBuf.Reflect.Enum.html +757 -537
- package/docs/ProtoBuf.Reflect.Extension.html +73 -56
- package/docs/ProtoBuf.Reflect.Message.ExtensionField.html +1013 -740
- package/docs/ProtoBuf.Reflect.Message.Field.html +926 -649
- package/docs/ProtoBuf.Reflect.Message.OneOf.html +327 -245
- package/docs/ProtoBuf.Reflect.Message.html +915 -651
- package/docs/ProtoBuf.Reflect.Namespace.html +648 -447
- package/docs/ProtoBuf.Reflect.Service.Method.html +363 -251
- package/docs/ProtoBuf.Reflect.Service.RPCMethod.html +545 -397
- package/docs/ProtoBuf.Reflect.Service.html +721 -511
- package/docs/ProtoBuf.Reflect.T.html +268 -197
- package/docs/ProtoBuf.Reflect.html +20 -12
- package/docs/ProtoBuf.Util.html +169 -118
- package/docs/ProtoBuf.html +840 -628
- package/docs/ProtoBuf.js.html +177 -134
- package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
- package/docs/index.html +7 -5
- package/docs/styles/jsdoc-default.css +95 -75
- package/docs/styles/prettify-tomorrow.css +1 -1
- package/examples/protoify/json.js +123 -123
- package/examples/protoify/json.json +123 -123
- package/examples/websocket/server.js +4 -4
- package/externs/protobuf.js +1 -1
- package/jsdoc.json +1 -1
- package/package.json +2 -2
- package/scripts/build.js +53 -53
- package/src/ProtoBuf/Builder/Message.js +9 -5
- package/src/ProtoBuf/Builder.js +19 -2
- package/src/ProtoBuf/DotProto/Parser.js +5 -1
- package/src/ProtoBuf/Reflect/Element.js +13 -1
- package/src/ProtoBuf/Reflect/Message/Field.js +2 -2
- package/src/ProtoBuf/Reflect/Message.js +6 -1
- package/src/ProtoBuf/Util.js +116 -116
- package/src/bower.json +1 -1
- package/src/google/protobuf/descriptor.json +27 -1
- package/tests/bench.txt +373 -373
- package/tests/complex.json +8 -1
- package/tests/custom-options.json +169 -169
- package/tests/extend.json +71 -71
- package/tests/imports.json +83 -83
- package/tests/nodeunit-browser/nodeunit.css +70 -70
- package/tests/nodeunit-browser/nodeunit.js +2108 -2108
- package/tests/options.json +32 -32
- package/tests/proto2js/Bar.json +46 -46
- package/tests/suite.js +43 -1
- package/sandbox/gapi/googleapis/google/api/annotations.proto +0 -29
- package/sandbox/gapi/googleapis/google/api/http.proto +0 -245
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/datastore.proto +0 -281
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/entity.proto +0 -189
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/query.proto +0 -281
- package/sandbox/gapi/googleapis/google/longrunning/operations.proto +0 -144
- package/sandbox/gapi/googleapis/google/protobuf/any.proto +0 -98
- package/sandbox/gapi/googleapis/google/protobuf/any_test.proto +0 -41
- package/sandbox/gapi/googleapis/google/protobuf/api.proto +0 -201
- package/sandbox/gapi/googleapis/google/protobuf/descriptor.proto +0 -773
- package/sandbox/gapi/googleapis/google/protobuf/duration.proto +0 -95
- package/sandbox/gapi/googleapis/google/protobuf/empty.proto +0 -50
- package/sandbox/gapi/googleapis/google/protobuf/field_mask.proto +0 -167
- package/sandbox/gapi/googleapis/google/protobuf/map_lite_unittest.proto +0 -130
- package/sandbox/gapi/googleapis/google/protobuf/map_proto2_unittest.proto +0 -60
- package/sandbox/gapi/googleapis/google/protobuf/map_unittest.proto +0 -129
- package/sandbox/gapi/googleapis/google/protobuf/map_unittest_proto3.proto +0 -120
- package/sandbox/gapi/googleapis/google/protobuf/source_context.proto +0 -47
- package/sandbox/gapi/googleapis/google/protobuf/struct.proto +0 -94
- package/sandbox/gapi/googleapis/google/protobuf/timestamp.proto +0 -107
- package/sandbox/gapi/googleapis/google/protobuf/type.proto +0 -176
- package/sandbox/gapi/googleapis/google/protobuf/unittest.proto +0 -878
- package/sandbox/gapi/googleapis/google/protobuf/unittest_arena.proto +0 -46
- package/sandbox/gapi/googleapis/google/protobuf/unittest_custom_options.proto +0 -394
- package/sandbox/gapi/googleapis/google/protobuf/unittest_drop_unknown_fields.proto +0 -58
- package/sandbox/gapi/googleapis/google/protobuf/unittest_embed_optimize_for.proto +0 -51
- package/sandbox/gapi/googleapis/google/protobuf/unittest_empty.proto +0 -38
- package/sandbox/gapi/googleapis/google/protobuf/unittest_enormous_descriptor.proto +0 -1048
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import.proto +0 -66
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_lite.proto +0 -52
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_proto3.proto +0 -68
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public.proto +0 -41
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_lite.proto +0 -43
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_proto3.proto +0 -42
- package/sandbox/gapi/googleapis/google/protobuf/unittest_lite.proto +0 -385
- package/sandbox/gapi/googleapis/google/protobuf/unittest_lite_imports_nonlite.proto +0 -44
- package/sandbox/gapi/googleapis/google/protobuf/unittest_mset.proto +0 -82
- package/sandbox/gapi/googleapis/google/protobuf/unittest_mset_wire_format.proto +0 -52
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena.proto +0 -202
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_import.proto +0 -37
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_lite.proto +0 -42
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_field_presence.proto +0 -138
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_generic_services.proto +0 -54
- package/sandbox/gapi/googleapis/google/protobuf/unittest_optimize_for.proto +0 -67
- package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum.proto +0 -71
- package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum2.proto +0 -50
- package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3.proto +0 -388
- package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3_arena.proto +0 -206
- package/sandbox/gapi/googleapis/google/protobuf/unittest_well_known_types.proto +0 -112
- package/sandbox/gapi/googleapis/google/protobuf/unknown_enum_test.proto +0 -62
- package/sandbox/gapi/googleapis/google/protobuf/wrappers.proto +0 -117
- package/sandbox/gapi/googleapis/google/rpc/code.proto +0 -190
- package/sandbox/gapi/googleapis/google/rpc/error_details.proto +0 -157
- package/sandbox/gapi/googleapis/google/rpc/status.proto +0 -90
- package/sandbox/gapi/googleapis/google/type/color.proto +0 -163
- package/sandbox/gapi/googleapis/google/type/date.proto +0 -43
- package/sandbox/gapi/googleapis/google/type/dayofweek.proto +0 -50
- package/sandbox/gapi/googleapis/google/type/latlng.proto +0 -36
- package/sandbox/gapi/googleapis/google/type/money.proto +0 -40
- package/sandbox/gapi/googleapis/google/type/timeofday.proto +0 -42
- package/sandbox/gapi/test.js +0 -17
- package/sandbox/gapi/test.proto +0 -12
- package/sandbox/issue146/MyOptions.proto +0 -28
- package/sandbox/issue146/Sample.proto +0 -21
- package/sandbox/issue146/main.js +0 -3
- package/sandbox/issue147/enum.proto +0 -8
- package/sandbox/issue147/main.js +0 -3
- package/sandbox/issue182/commands.proto +0 -10
- package/sandbox/issue182/execute.js +0 -22
- package/sandbox/issue182/session_commands.proto +0 -14
- package/sandbox/issue289/A.proto +0 -8
- package/sandbox/issue289/B.proto +0 -8
- package/sandbox/issue289/common.proto +0 -5
- package/sandbox/issue289/main.js +0 -7
- package/sandbox/issue300/IAuth.proto +0 -14
- package/sandbox/issue300/Request.proto +0 -14
- package/sandbox/issue300/main.js +0 -26
- package/sandbox/issue347/index.js +0 -27
- package/sandbox/issue355/main.proto +0 -15
- package/sandbox/issue42/innerextend.proto +0 -18
- package/sandbox/issue42/main.js +0 -8
- package/sandbox/issue42/outerextend.proto +0 -17
|
@@ -23,45 +23,51 @@
|
|
|
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.Builder.html">.Builder</a>.</span>
|
|
31
|
-
|
|
32
|
-
Message
|
|
33
|
-
</h2>
|
|
34
30
|
|
|
35
|
-
<
|
|
31
|
+
<h2>
|
|
32
|
+
<span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.Builder.html">.Builder</a>.</span>
|
|
33
|
+
|
|
34
|
+
Message
|
|
35
|
+
</h2>
|
|
36
|
+
|
|
37
|
+
<div class="class-description"><p>Barebone of all runtime messages.</p></div>
|
|
38
|
+
|
|
36
39
|
|
|
37
40
|
</header>
|
|
38
41
|
|
|
39
42
|
<article>
|
|
40
43
|
<div class="container-overview">
|
|
41
44
|
|
|
45
|
+
|
|
42
46
|
|
|
43
47
|
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
<h2>Constructor</h2>
|
|
49
|
+
|
|
50
|
+
|
|
46
51
|
<h4 class="name" id="Message"><span class="type-signature"></span>new Message<span class="signature">(values, …var_args)</span><span class="type-signature"></span></h4>
|
|
47
52
|
|
|
48
53
|
|
|
49
|
-
</dt>
|
|
50
|
-
<dd>
|
|
51
54
|
|
|
52
|
-
|
|
53
|
-
<div class="description">
|
|
54
|
-
<p>Constructs a new runtime Message.</p>
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
55
|
|
|
58
|
-
|
|
59
56
|
|
|
60
|
-
|
|
57
|
+
<div class="description">
|
|
58
|
+
<p>Constructs a new runtime Message.</p>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
61
|
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
<h5>Parameters:</h5>
|
|
62
70
|
|
|
63
|
-
<h5>Parameters:</h5>
|
|
64
|
-
|
|
65
71
|
|
|
66
72
|
<table class="params">
|
|
67
73
|
<thead>
|
|
@@ -153,10 +159,20 @@
|
|
|
153
159
|
|
|
154
160
|
</tbody>
|
|
155
161
|
</table>
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
<dl class="details">
|
|
169
|
+
|
|
156
170
|
|
|
157
171
|
|
|
158
172
|
|
|
159
|
-
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
160
176
|
|
|
161
177
|
|
|
162
178
|
|
|
@@ -178,7 +194,7 @@
|
|
|
178
194
|
|
|
179
195
|
<dt class="tag-source">Source:</dt>
|
|
180
196
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
181
|
-
<a href="
|
|
197
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2375">line 2375</a>
|
|
182
198
|
</li></ul></dd>
|
|
183
199
|
|
|
184
200
|
|
|
@@ -190,25 +206,26 @@
|
|
|
190
206
|
</dl>
|
|
191
207
|
|
|
192
208
|
|
|
193
|
-
|
|
194
209
|
|
|
195
|
-
|
|
196
210
|
|
|
197
|
-
|
|
198
211
|
|
|
199
|
-
|
|
200
212
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
<h5>Throws:</h5>
|
|
219
|
+
|
|
220
|
+
|
|
205
221
|
|
|
206
222
|
<dl>
|
|
207
223
|
<dt>
|
|
208
224
|
<div class="param-desc">
|
|
209
|
-
If the message cannot be created
|
|
225
|
+
<p>If the message cannot be created</p>
|
|
210
226
|
</div>
|
|
211
227
|
</dt>
|
|
228
|
+
<dd></dd>
|
|
212
229
|
<dt>
|
|
213
230
|
<dl>
|
|
214
231
|
<dt>
|
|
@@ -222,20 +239,18 @@
|
|
|
222
239
|
</dd>
|
|
223
240
|
</dl>
|
|
224
241
|
</dt>
|
|
242
|
+
<dd></dd>
|
|
225
243
|
</dl>
|
|
226
244
|
|
|
227
245
|
|
|
228
|
-
|
|
229
|
-
|
|
230
246
|
|
|
231
247
|
|
|
232
|
-
|
|
233
|
-
</dd>
|
|
234
248
|
|
|
235
|
-
|
|
236
|
-
|
|
249
|
+
|
|
250
|
+
|
|
237
251
|
|
|
238
252
|
|
|
253
|
+
</div>
|
|
239
254
|
|
|
240
255
|
|
|
241
256
|
|
|
@@ -250,34 +265,41 @@
|
|
|
250
265
|
|
|
251
266
|
<h3 class="subsection-title">Members</h3>
|
|
252
267
|
|
|
253
|
-
|
|
268
|
+
|
|
254
269
|
|
|
255
|
-
<
|
|
256
|
-
<h4 class="name" id="$options"><span class="type-signature">(static) </span>$options<span class="type-signature"> :Object.<string, *></span></h4>
|
|
270
|
+
<h4 class="name" id=".$options"><span class="type-signature">(static) </span>$options<span class="type-signature"> :Object.<string, *></span></h4>
|
|
257
271
|
|
|
258
|
-
|
|
259
|
-
</dt>
|
|
260
|
-
<dd>
|
|
261
|
-
|
|
262
|
-
<div class="description">
|
|
263
|
-
<p>Message options.</p>
|
|
264
|
-
</div>
|
|
265
|
-
|
|
266
272
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
<div class="description">
|
|
276
|
+
<p>Message options.</p>
|
|
277
|
+
</div>
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
<h5>Type:</h5>
|
|
282
|
+
<ul>
|
|
283
|
+
<li>
|
|
284
|
+
|
|
272
285
|
<span class="param-type">Object.<string, *></span>
|
|
273
286
|
|
|
274
287
|
|
|
275
|
-
|
|
276
|
-
|
|
288
|
+
</li>
|
|
289
|
+
</ul>
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
<dl class="details">
|
|
296
|
+
|
|
277
297
|
|
|
278
298
|
|
|
279
299
|
|
|
280
|
-
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
281
303
|
|
|
282
304
|
|
|
283
305
|
|
|
@@ -299,7 +321,7 @@
|
|
|
299
321
|
|
|
300
322
|
<dt class="tag-source">Source:</dt>
|
|
301
323
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
302
|
-
<a href="
|
|
324
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line3052">line 3052</a>
|
|
303
325
|
</li></ul></dd>
|
|
304
326
|
|
|
305
327
|
|
|
@@ -311,39 +333,45 @@
|
|
|
311
333
|
</dl>
|
|
312
334
|
|
|
313
335
|
|
|
314
|
-
|
|
315
336
|
|
|
316
|
-
|
|
317
|
-
|
|
337
|
+
|
|
338
|
+
|
|
318
339
|
|
|
319
340
|
|
|
320
341
|
|
|
321
|
-
<
|
|
322
|
-
<h4 class="name" id="$type"><span class="type-signature">(static, non-null) </span>$type<span class="type-signature"> :<a href="ProtoBuf.Reflect.Message.html">ProtoBuf.Reflect.Message</a></span></h4>
|
|
342
|
+
<h4 class="name" id=".$type"><span class="type-signature">(static, non-null) </span>$type<span class="type-signature"> :<a href="ProtoBuf.Reflect.Message.html">ProtoBuf.Reflect.Message</a></span></h4>
|
|
323
343
|
|
|
324
|
-
|
|
325
|
-
</dt>
|
|
326
|
-
<dd>
|
|
327
|
-
|
|
328
|
-
<div class="description">
|
|
329
|
-
<p>Reflection type.</p>
|
|
330
|
-
</div>
|
|
331
|
-
|
|
332
344
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
<div class="description">
|
|
348
|
+
<p>Reflection type.</p>
|
|
349
|
+
</div>
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
<h5>Type:</h5>
|
|
354
|
+
<ul>
|
|
355
|
+
<li>
|
|
356
|
+
|
|
338
357
|
<span class="param-type"><a href="ProtoBuf.Reflect.Message.html">ProtoBuf.Reflect.Message</a></span>
|
|
339
358
|
|
|
340
359
|
|
|
341
|
-
|
|
342
|
-
|
|
360
|
+
</li>
|
|
361
|
+
</ul>
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
<dl class="details">
|
|
368
|
+
|
|
343
369
|
|
|
344
370
|
|
|
345
371
|
|
|
346
|
-
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
347
375
|
|
|
348
376
|
|
|
349
377
|
|
|
@@ -365,7 +393,7 @@
|
|
|
365
393
|
|
|
366
394
|
<dt class="tag-source">Source:</dt>
|
|
367
395
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
368
|
-
<a href="
|
|
396
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line3068">line 3068</a>
|
|
369
397
|
</li></ul></dd>
|
|
370
398
|
|
|
371
399
|
|
|
@@ -377,39 +405,45 @@
|
|
|
377
405
|
</dl>
|
|
378
406
|
|
|
379
407
|
|
|
380
|
-
|
|
381
408
|
|
|
382
|
-
|
|
383
|
-
|
|
409
|
+
|
|
410
|
+
|
|
384
411
|
|
|
385
412
|
|
|
386
413
|
|
|
387
|
-
<
|
|
388
|
-
<h4 class="name" id="$options"><span class="type-signature"></span>$options<span class="type-signature"> :Object.<string, *></span></h4>
|
|
414
|
+
<h4 class="name" id="$options"><span class="type-signature"></span>$options<span class="type-signature"> :Object.<string, *></span></h4>
|
|
389
415
|
|
|
390
|
-
|
|
391
|
-
</dt>
|
|
392
|
-
<dd>
|
|
393
|
-
|
|
394
|
-
<div class="description">
|
|
395
|
-
<p>Message options.</p>
|
|
396
|
-
</div>
|
|
397
|
-
|
|
398
416
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
<div class="description">
|
|
420
|
+
<p>Message options.</p>
|
|
421
|
+
</div>
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
<h5>Type:</h5>
|
|
426
|
+
<ul>
|
|
427
|
+
<li>
|
|
428
|
+
|
|
404
429
|
<span class="param-type">Object.<string, *></span>
|
|
405
430
|
|
|
406
431
|
|
|
407
|
-
|
|
408
|
-
|
|
432
|
+
</li>
|
|
433
|
+
</ul>
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
<dl class="details">
|
|
440
|
+
|
|
409
441
|
|
|
410
442
|
|
|
411
443
|
|
|
412
|
-
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
413
447
|
|
|
414
448
|
|
|
415
449
|
|
|
@@ -431,7 +465,7 @@
|
|
|
431
465
|
|
|
432
466
|
<dt class="tag-source">Source:</dt>
|
|
433
467
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
434
|
-
<a href="
|
|
468
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line3060">line 3060</a>
|
|
435
469
|
</li></ul></dd>
|
|
436
470
|
|
|
437
471
|
|
|
@@ -443,39 +477,45 @@
|
|
|
443
477
|
</dl>
|
|
444
478
|
|
|
445
479
|
|
|
446
|
-
|
|
447
480
|
|
|
448
|
-
|
|
449
|
-
|
|
481
|
+
|
|
482
|
+
|
|
450
483
|
|
|
451
484
|
|
|
452
485
|
|
|
453
|
-
<
|
|
454
|
-
<h4 class="name" id="$type"><span class="type-signature">(non-null) </span>$type<span class="type-signature"> :<a href="ProtoBuf.Reflect.Message.html">ProtoBuf.Reflect.Message</a></span></h4>
|
|
486
|
+
<h4 class="name" id="$type"><span class="type-signature">(non-null) </span>$type<span class="type-signature"> :<a href="ProtoBuf.Reflect.Message.html">ProtoBuf.Reflect.Message</a></span></h4>
|
|
455
487
|
|
|
456
|
-
|
|
457
|
-
</dt>
|
|
458
|
-
<dd>
|
|
459
|
-
|
|
460
|
-
<div class="description">
|
|
461
|
-
<p>Reflection type.</p>
|
|
462
|
-
</div>
|
|
463
|
-
|
|
464
488
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
<div class="description">
|
|
492
|
+
<p>Reflection type.</p>
|
|
493
|
+
</div>
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
<h5>Type:</h5>
|
|
498
|
+
<ul>
|
|
499
|
+
<li>
|
|
500
|
+
|
|
470
501
|
<span class="param-type"><a href="ProtoBuf.Reflect.Message.html">ProtoBuf.Reflect.Message</a></span>
|
|
471
502
|
|
|
472
503
|
|
|
473
|
-
|
|
474
|
-
|
|
504
|
+
</li>
|
|
505
|
+
</ul>
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
<dl class="details">
|
|
512
|
+
|
|
475
513
|
|
|
476
514
|
|
|
477
515
|
|
|
478
|
-
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
479
519
|
|
|
480
520
|
|
|
481
521
|
|
|
@@ -497,7 +537,7 @@
|
|
|
497
537
|
|
|
498
538
|
<dt class="tag-source">Source:</dt>
|
|
499
539
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
500
|
-
<a href="
|
|
540
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line3076">line 3076</a>
|
|
501
541
|
</li></ul></dd>
|
|
502
542
|
|
|
503
543
|
|
|
@@ -509,39 +549,41 @@
|
|
|
509
549
|
</dl>
|
|
510
550
|
|
|
511
551
|
|
|
512
|
-
|
|
513
552
|
|
|
514
|
-
|
|
515
|
-
</dd>
|
|
516
553
|
|
|
517
|
-
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
518
557
|
|
|
519
558
|
|
|
520
559
|
|
|
521
560
|
<h3 class="subsection-title">Methods</h3>
|
|
522
561
|
|
|
523
|
-
|
|
562
|
+
|
|
524
563
|
|
|
525
|
-
<dt>
|
|
526
|
-
<h4 class="name" id="decode"><span class="type-signature">(static) </span>decode<span class="signature">(buffer, length<span class="signature-attributes">opt</span>, enc<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
527
564
|
|
|
528
565
|
|
|
529
|
-
</dt>
|
|
530
|
-
<dd>
|
|
531
566
|
|
|
532
|
-
|
|
533
|
-
<div class="description">
|
|
534
|
-
<p>Decodes a message from the specified buffer or string.</p>
|
|
535
|
-
</div>
|
|
536
|
-
|
|
567
|
+
<h4 class="name" id=".decode"><span class="type-signature">(static) </span>decode<span class="signature">(buffer, length<span class="signature-attributes">opt</span>, enc<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
537
568
|
|
|
538
569
|
|
|
539
570
|
|
|
540
|
-
|
|
541
571
|
|
|
572
|
+
|
|
573
|
+
<div class="description">
|
|
574
|
+
<p>Decodes a message from the specified buffer or string.</p>
|
|
575
|
+
</div>
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
<h5>Parameters:</h5>
|
|
542
586
|
|
|
543
|
-
<h5>Parameters:</h5>
|
|
544
|
-
|
|
545
587
|
|
|
546
588
|
<table class="params">
|
|
547
589
|
<thead>
|
|
@@ -675,10 +717,20 @@
|
|
|
675
717
|
|
|
676
718
|
</tbody>
|
|
677
719
|
</table>
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
<dl class="details">
|
|
727
|
+
|
|
678
728
|
|
|
679
729
|
|
|
680
730
|
|
|
681
|
-
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
682
734
|
|
|
683
735
|
|
|
684
736
|
|
|
@@ -700,7 +752,7 @@
|
|
|
700
752
|
|
|
701
753
|
<dt class="tag-source">Source:</dt>
|
|
702
754
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
703
|
-
<a href="
|
|
755
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2928">line 2928</a>
|
|
704
756
|
</li></ul></dd>
|
|
705
757
|
|
|
706
758
|
|
|
@@ -710,9 +762,9 @@
|
|
|
710
762
|
<dt class="tag-see">See:</dt>
|
|
711
763
|
<dd class="tag-see">
|
|
712
764
|
<ul>
|
|
713
|
-
<li><a href="ProtoBuf.Builder.Message.html
|
|
765
|
+
<li><a href="ProtoBuf.Builder.Message.html#.decode64">ProtoBuf.Builder.Message.decode64</a></li>
|
|
714
766
|
|
|
715
|
-
<li><a href="ProtoBuf.Builder.Message.html
|
|
767
|
+
<li><a href="ProtoBuf.Builder.Message.html#.decodeHex">ProtoBuf.Builder.Message.decodeHex</a></li>
|
|
716
768
|
</ul>
|
|
717
769
|
</dd>
|
|
718
770
|
|
|
@@ -721,25 +773,27 @@
|
|
|
721
773
|
</dl>
|
|
722
774
|
|
|
723
775
|
|
|
724
|
-
|
|
725
776
|
|
|
726
|
-
|
|
727
777
|
|
|
728
|
-
|
|
729
778
|
|
|
730
|
-
|
|
731
779
|
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
<h5>Throws:</h5>
|
|
786
|
+
|
|
787
|
+
|
|
736
788
|
|
|
737
789
|
<dl>
|
|
738
790
|
<dt>
|
|
739
791
|
<div class="param-desc">
|
|
740
|
-
If the message cannot be decoded or if required fields are missing. The later still
|
|
741
792
|
returns the decoded message with missing fields in the `decoded` property on the error.
|
|
793
|
+
<p>If the message cannot be decoded or if required fields are missing. The later still
|
|
794
|
+
returns the decoded message with missing fields in the <code>decoded</code> property on the error.</p>
|
|
742
795
|
</div>
|
|
743
796
|
</dt>
|
|
797
|
+
<dd></dd>
|
|
744
798
|
<dt>
|
|
745
799
|
<dl>
|
|
746
800
|
<dt>
|
|
@@ -753,15 +807,16 @@
|
|
|
753
807
|
</dd>
|
|
754
808
|
</dl>
|
|
755
809
|
</dt>
|
|
810
|
+
<dd></dd>
|
|
756
811
|
</dl>
|
|
757
812
|
|
|
758
813
|
|
|
759
|
-
|
|
760
|
-
|
|
761
814
|
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
<h5>Returns:</h5>
|
|
818
|
+
|
|
819
|
+
|
|
765
820
|
<div class="param-desc">
|
|
766
821
|
<p>Decoded message</p>
|
|
767
822
|
</div>
|
|
@@ -780,33 +835,35 @@
|
|
|
780
835
|
</dd>
|
|
781
836
|
</dl>
|
|
782
837
|
|
|
783
|
-
|
|
784
|
-
|
|
785
838
|
|
|
786
|
-
|
|
839
|
+
|
|
840
|
+
|
|
787
841
|
|
|
788
842
|
|
|
789
843
|
|
|
790
|
-
<dt>
|
|
791
|
-
<h4 class="name" id="decode64"><span class="type-signature">(static) </span>decode64<span class="signature">(str)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
792
844
|
|
|
793
845
|
|
|
794
|
-
</dt>
|
|
795
|
-
<dd>
|
|
796
846
|
|
|
797
|
-
|
|
798
|
-
<div class="description">
|
|
799
|
-
<p>Decodes the message from the specified base64 encoded string.</p>
|
|
800
|
-
</div>
|
|
801
|
-
|
|
847
|
+
<h4 class="name" id=".decode64"><span class="type-signature">(static) </span>decode64<span class="signature">(str)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
802
848
|
|
|
803
849
|
|
|
804
850
|
|
|
805
|
-
|
|
806
851
|
|
|
852
|
+
|
|
853
|
+
<div class="description">
|
|
854
|
+
<p>Decodes the message from the specified base64 encoded string.</p>
|
|
855
|
+
</div>
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
<h5>Parameters:</h5>
|
|
807
866
|
|
|
808
|
-
<h5>Parameters:</h5>
|
|
809
|
-
|
|
810
867
|
|
|
811
868
|
<table class="params">
|
|
812
869
|
<thead>
|
|
@@ -852,10 +909,20 @@
|
|
|
852
909
|
|
|
853
910
|
</tbody>
|
|
854
911
|
</table>
|
|
855
|
-
|
|
856
912
|
|
|
857
|
-
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
|
|
858
918
|
<dl class="details">
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
|
|
859
926
|
|
|
860
927
|
|
|
861
928
|
|
|
@@ -877,7 +944,7 @@
|
|
|
877
944
|
|
|
878
945
|
<dt class="tag-source">Source:</dt>
|
|
879
946
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
880
|
-
<a href="
|
|
947
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2995">line 2995</a>
|
|
881
948
|
</li></ul></dd>
|
|
882
949
|
|
|
883
950
|
|
|
@@ -889,25 +956,27 @@
|
|
|
889
956
|
</dl>
|
|
890
957
|
|
|
891
958
|
|
|
892
|
-
|
|
893
959
|
|
|
894
|
-
|
|
895
960
|
|
|
896
|
-
|
|
897
961
|
|
|
898
|
-
|
|
899
962
|
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
<h5>Throws:</h5>
|
|
969
|
+
|
|
970
|
+
|
|
904
971
|
|
|
905
972
|
<dl>
|
|
906
973
|
<dt>
|
|
907
974
|
<div class="param-desc">
|
|
908
|
-
If the message cannot be decoded or if required fields are missing. The later still
|
|
909
975
|
returns the decoded message with missing fields in the `decoded` property on the error.
|
|
976
|
+
<p>If the message cannot be decoded or if required fields are missing. The later still
|
|
977
|
+
returns the decoded message with missing fields in the <code>decoded</code> property on the error.</p>
|
|
910
978
|
</div>
|
|
911
979
|
</dt>
|
|
980
|
+
<dd></dd>
|
|
912
981
|
<dt>
|
|
913
982
|
<dl>
|
|
914
983
|
<dt>
|
|
@@ -921,15 +990,16 @@
|
|
|
921
990
|
</dd>
|
|
922
991
|
</dl>
|
|
923
992
|
</dt>
|
|
993
|
+
<dd></dd>
|
|
924
994
|
</dl>
|
|
925
995
|
|
|
926
996
|
|
|
927
|
-
|
|
928
|
-
|
|
929
997
|
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
<h5>Returns:</h5>
|
|
1001
|
+
|
|
1002
|
+
|
|
933
1003
|
<div class="param-desc">
|
|
934
1004
|
<p>Decoded message</p>
|
|
935
1005
|
</div>
|
|
@@ -948,33 +1018,35 @@
|
|
|
948
1018
|
</dd>
|
|
949
1019
|
</dl>
|
|
950
1020
|
|
|
951
|
-
|
|
952
|
-
|
|
953
1021
|
|
|
954
|
-
|
|
1022
|
+
|
|
1023
|
+
|
|
955
1024
|
|
|
956
1025
|
|
|
957
1026
|
|
|
958
|
-
<dt>
|
|
959
|
-
<h4 class="name" id="decodeDelimited"><span class="type-signature">(static) </span>decodeDelimited<span class="signature">(buffer, enc<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
960
1027
|
|
|
961
1028
|
|
|
962
|
-
</dt>
|
|
963
|
-
<dd>
|
|
964
1029
|
|
|
965
|
-
|
|
966
|
-
<div class="description">
|
|
967
|
-
<p>Decodes a varint32 length-delimited message from the specified buffer or string.</p>
|
|
968
|
-
</div>
|
|
969
|
-
|
|
1030
|
+
<h4 class="name" id=".decodeDelimited"><span class="type-signature">(static) </span>decodeDelimited<span class="signature">(buffer, enc<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
970
1031
|
|
|
971
1032
|
|
|
972
1033
|
|
|
973
|
-
|
|
974
1034
|
|
|
1035
|
+
|
|
1036
|
+
<div class="description">
|
|
1037
|
+
<p>Decodes a varint32 length-delimited message from the specified buffer or string.</p>
|
|
1038
|
+
</div>
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
<h5>Parameters:</h5>
|
|
975
1049
|
|
|
976
|
-
<h5>Parameters:</h5>
|
|
977
|
-
|
|
978
1050
|
|
|
979
1051
|
<table class="params">
|
|
980
1052
|
<thead>
|
|
@@ -1072,10 +1144,20 @@
|
|
|
1072
1144
|
|
|
1073
1145
|
</tbody>
|
|
1074
1146
|
</table>
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
<dl class="details">
|
|
1154
|
+
|
|
1075
1155
|
|
|
1076
1156
|
|
|
1077
1157
|
|
|
1078
|
-
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
|
|
1079
1161
|
|
|
1080
1162
|
|
|
1081
1163
|
|
|
@@ -1097,7 +1179,7 @@
|
|
|
1097
1179
|
|
|
1098
1180
|
<dt class="tag-source">Source:</dt>
|
|
1099
1181
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1100
|
-
<a href="
|
|
1182
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2961">line 2961</a>
|
|
1101
1183
|
</li></ul></dd>
|
|
1102
1184
|
|
|
1103
1185
|
|
|
@@ -1109,25 +1191,27 @@
|
|
|
1109
1191
|
</dl>
|
|
1110
1192
|
|
|
1111
1193
|
|
|
1112
|
-
|
|
1113
1194
|
|
|
1114
|
-
|
|
1115
1195
|
|
|
1116
|
-
|
|
1117
1196
|
|
|
1118
|
-
|
|
1119
1197
|
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
<h5>Throws:</h5>
|
|
1204
|
+
|
|
1205
|
+
|
|
1124
1206
|
|
|
1125
1207
|
<dl>
|
|
1126
1208
|
<dt>
|
|
1127
1209
|
<div class="param-desc">
|
|
1128
|
-
If the message cannot be decoded or if required fields are missing. The later still
|
|
1129
1210
|
returns the decoded message with missing fields in the `decoded` property on the error.
|
|
1211
|
+
<p>If the message cannot be decoded or if required fields are missing. The later still
|
|
1212
|
+
returns the decoded message with missing fields in the <code>decoded</code> property on the error.</p>
|
|
1130
1213
|
</div>
|
|
1131
1214
|
</dt>
|
|
1215
|
+
<dd></dd>
|
|
1132
1216
|
<dt>
|
|
1133
1217
|
<dl>
|
|
1134
1218
|
<dt>
|
|
@@ -1141,15 +1225,16 @@
|
|
|
1141
1225
|
</dd>
|
|
1142
1226
|
</dl>
|
|
1143
1227
|
</dt>
|
|
1228
|
+
<dd></dd>
|
|
1144
1229
|
</dl>
|
|
1145
1230
|
|
|
1146
1231
|
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
1232
|
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
<h5>Returns:</h5>
|
|
1236
|
+
|
|
1237
|
+
|
|
1153
1238
|
<div class="param-desc">
|
|
1154
1239
|
<p>Decoded message or <code>null</code> if not enough bytes are available yet</p>
|
|
1155
1240
|
</div>
|
|
@@ -1168,33 +1253,35 @@
|
|
|
1168
1253
|
</dd>
|
|
1169
1254
|
</dl>
|
|
1170
1255
|
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
1256
|
|
|
1174
|
-
|
|
1257
|
+
|
|
1258
|
+
|
|
1175
1259
|
|
|
1176
1260
|
|
|
1177
1261
|
|
|
1178
|
-
<dt>
|
|
1179
|
-
<h4 class="name" id="decodeHex"><span class="type-signature">(static) </span>decodeHex<span class="signature">(str)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
1180
1262
|
|
|
1181
1263
|
|
|
1182
|
-
</dt>
|
|
1183
|
-
<dd>
|
|
1184
1264
|
|
|
1185
|
-
|
|
1186
|
-
<div class="description">
|
|
1187
|
-
<p>Decodes the message from the specified hex encoded string.</p>
|
|
1188
|
-
</div>
|
|
1189
|
-
|
|
1265
|
+
<h4 class="name" id=".decodeHex"><span class="type-signature">(static) </span>decodeHex<span class="signature">(str)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
1190
1266
|
|
|
1191
1267
|
|
|
1192
1268
|
|
|
1193
|
-
|
|
1194
1269
|
|
|
1270
|
+
|
|
1271
|
+
<div class="description">
|
|
1272
|
+
<p>Decodes the message from the specified hex encoded string.</p>
|
|
1273
|
+
</div>
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
<h5>Parameters:</h5>
|
|
1195
1284
|
|
|
1196
|
-
<h5>Parameters:</h5>
|
|
1197
|
-
|
|
1198
1285
|
|
|
1199
1286
|
<table class="params">
|
|
1200
1287
|
<thead>
|
|
@@ -1240,10 +1327,20 @@
|
|
|
1240
1327
|
|
|
1241
1328
|
</tbody>
|
|
1242
1329
|
</table>
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
<dl class="details">
|
|
1337
|
+
|
|
1243
1338
|
|
|
1244
1339
|
|
|
1245
1340
|
|
|
1246
|
-
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
|
|
1247
1344
|
|
|
1248
1345
|
|
|
1249
1346
|
|
|
@@ -1265,7 +1362,7 @@
|
|
|
1265
1362
|
|
|
1266
1363
|
<dt class="tag-source">Source:</dt>
|
|
1267
1364
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1268
|
-
<a href="
|
|
1365
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line3009">line 3009</a>
|
|
1269
1366
|
</li></ul></dd>
|
|
1270
1367
|
|
|
1271
1368
|
|
|
@@ -1277,25 +1374,27 @@
|
|
|
1277
1374
|
</dl>
|
|
1278
1375
|
|
|
1279
1376
|
|
|
1280
|
-
|
|
1281
1377
|
|
|
1282
|
-
|
|
1283
1378
|
|
|
1284
|
-
|
|
1285
1379
|
|
|
1286
|
-
|
|
1287
1380
|
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
<h5>Throws:</h5>
|
|
1387
|
+
|
|
1388
|
+
|
|
1292
1389
|
|
|
1293
1390
|
<dl>
|
|
1294
1391
|
<dt>
|
|
1295
1392
|
<div class="param-desc">
|
|
1296
|
-
If the message cannot be decoded or if required fields are missing. The later still
|
|
1297
1393
|
returns the decoded message with missing fields in the `decoded` property on the error.
|
|
1394
|
+
<p>If the message cannot be decoded or if required fields are missing. The later still
|
|
1395
|
+
returns the decoded message with missing fields in the <code>decoded</code> property on the error.</p>
|
|
1298
1396
|
</div>
|
|
1299
1397
|
</dt>
|
|
1398
|
+
<dd></dd>
|
|
1300
1399
|
<dt>
|
|
1301
1400
|
<dl>
|
|
1302
1401
|
<dt>
|
|
@@ -1309,15 +1408,16 @@
|
|
|
1309
1408
|
</dd>
|
|
1310
1409
|
</dl>
|
|
1311
1410
|
</dt>
|
|
1411
|
+
<dd></dd>
|
|
1312
1412
|
</dl>
|
|
1313
1413
|
|
|
1314
1414
|
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
1415
|
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
<h5>Returns:</h5>
|
|
1419
|
+
|
|
1420
|
+
|
|
1321
1421
|
<div class="param-desc">
|
|
1322
1422
|
<p>Decoded message</p>
|
|
1323
1423
|
</div>
|
|
@@ -1336,33 +1436,35 @@
|
|
|
1336
1436
|
</dd>
|
|
1337
1437
|
</dl>
|
|
1338
1438
|
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
1439
|
|
|
1342
|
-
|
|
1440
|
+
|
|
1441
|
+
|
|
1343
1442
|
|
|
1344
1443
|
|
|
1345
1444
|
|
|
1346
|
-
<dt>
|
|
1347
|
-
<h4 class="name" id="decodeJSON"><span class="type-signature">(static) </span>decodeJSON<span class="signature">(str)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
1348
1445
|
|
|
1349
1446
|
|
|
1350
|
-
</dt>
|
|
1351
|
-
<dd>
|
|
1352
1447
|
|
|
1353
|
-
|
|
1354
|
-
<div class="description">
|
|
1355
|
-
<p>Decodes the message from a JSON string.</p>
|
|
1356
|
-
</div>
|
|
1357
|
-
|
|
1448
|
+
<h4 class="name" id=".decodeJSON"><span class="type-signature">(static) </span>decodeJSON<span class="signature">(str)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
1358
1449
|
|
|
1359
1450
|
|
|
1360
1451
|
|
|
1361
|
-
|
|
1362
1452
|
|
|
1453
|
+
|
|
1454
|
+
<div class="description">
|
|
1455
|
+
<p>Decodes the message from a JSON string.</p>
|
|
1456
|
+
</div>
|
|
1457
|
+
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
<h5>Parameters:</h5>
|
|
1363
1467
|
|
|
1364
|
-
<h5>Parameters:</h5>
|
|
1365
|
-
|
|
1366
1468
|
|
|
1367
1469
|
<table class="params">
|
|
1368
1470
|
<thead>
|
|
@@ -1408,10 +1510,20 @@
|
|
|
1408
1510
|
|
|
1409
1511
|
</tbody>
|
|
1410
1512
|
</table>
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
<dl class="details">
|
|
1520
|
+
|
|
1411
1521
|
|
|
1412
1522
|
|
|
1413
1523
|
|
|
1414
|
-
|
|
1524
|
+
|
|
1525
|
+
|
|
1526
|
+
|
|
1415
1527
|
|
|
1416
1528
|
|
|
1417
1529
|
|
|
@@ -1433,7 +1545,7 @@
|
|
|
1433
1545
|
|
|
1434
1546
|
<dt class="tag-source">Source:</dt>
|
|
1435
1547
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1436
|
-
<a href="
|
|
1548
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line3023">line 3023</a>
|
|
1437
1549
|
</li></ul></dd>
|
|
1438
1550
|
|
|
1439
1551
|
|
|
@@ -1445,25 +1557,27 @@
|
|
|
1445
1557
|
</dl>
|
|
1446
1558
|
|
|
1447
1559
|
|
|
1448
|
-
|
|
1449
1560
|
|
|
1450
|
-
|
|
1451
1561
|
|
|
1452
|
-
|
|
1453
1562
|
|
|
1454
|
-
|
|
1455
1563
|
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
<h5>Throws:</h5>
|
|
1570
|
+
|
|
1571
|
+
|
|
1460
1572
|
|
|
1461
1573
|
<dl>
|
|
1462
1574
|
<dt>
|
|
1463
1575
|
<div class="param-desc">
|
|
1464
|
-
If the message cannot be decoded or if required fields are
|
|
1576
|
+
<p>If the message cannot be decoded or if required fields are
|
|
1577
|
+
missing.</p>
|
|
1465
1578
|
</div>
|
|
1466
1579
|
</dt>
|
|
1580
|
+
<dd></dd>
|
|
1467
1581
|
<dt>
|
|
1468
1582
|
<dl>
|
|
1469
1583
|
<dt>
|
|
@@ -1477,15 +1591,16 @@
|
|
|
1477
1591
|
</dd>
|
|
1478
1592
|
</dl>
|
|
1479
1593
|
</dt>
|
|
1594
|
+
<dd></dd>
|
|
1480
1595
|
</dl>
|
|
1481
1596
|
|
|
1482
1597
|
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
1598
|
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1599
|
+
|
|
1600
|
+
|
|
1601
|
+
<h5>Returns:</h5>
|
|
1602
|
+
|
|
1603
|
+
|
|
1489
1604
|
<div class="param-desc">
|
|
1490
1605
|
<p>Decoded message</p>
|
|
1491
1606
|
</div>
|
|
@@ -1504,33 +1619,35 @@
|
|
|
1504
1619
|
</dd>
|
|
1505
1620
|
</dl>
|
|
1506
1621
|
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
1622
|
|
|
1510
|
-
|
|
1623
|
+
|
|
1624
|
+
|
|
1511
1625
|
|
|
1512
1626
|
|
|
1513
1627
|
|
|
1514
|
-
<dt>
|
|
1515
|
-
<h4 class="name" id="$add"><span class="type-signature"></span>$add<span class="signature">(key, value, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
1516
1628
|
|
|
1517
1629
|
|
|
1518
|
-
</dt>
|
|
1519
|
-
<dd>
|
|
1520
1630
|
|
|
1521
|
-
|
|
1522
|
-
<div class="description">
|
|
1523
|
-
<p>Adds a value to a repeated field. This is an alias for <a href="ProtoBuf.Builder.Message.html#add">ProtoBuf.Builder.Message#add</a>.</p>
|
|
1524
|
-
</div>
|
|
1525
|
-
|
|
1631
|
+
<h4 class="name" id="$add"><span class="type-signature"></span>$add<span class="signature">(key, value, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
1526
1632
|
|
|
1527
1633
|
|
|
1528
1634
|
|
|
1529
|
-
|
|
1530
1635
|
|
|
1636
|
+
|
|
1637
|
+
<div class="description">
|
|
1638
|
+
<p>Adds a value to a repeated field. This is an alias for <a href="ProtoBuf.Builder.Message.html#add">ProtoBuf.Builder.Message#add</a>.</p>
|
|
1639
|
+
</div>
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
<h5>Parameters:</h5>
|
|
1531
1650
|
|
|
1532
|
-
<h5>Parameters:</h5>
|
|
1533
|
-
|
|
1534
1651
|
|
|
1535
1652
|
<table class="params">
|
|
1536
1653
|
<thead>
|
|
@@ -1650,10 +1767,20 @@
|
|
|
1650
1767
|
|
|
1651
1768
|
</tbody>
|
|
1652
1769
|
</table>
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
<dl class="details">
|
|
1777
|
+
|
|
1653
1778
|
|
|
1654
1779
|
|
|
1655
1780
|
|
|
1656
|
-
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
|
|
1657
1784
|
|
|
1658
1785
|
|
|
1659
1786
|
|
|
@@ -1675,7 +1802,7 @@
|
|
|
1675
1802
|
|
|
1676
1803
|
<dt class="tag-source">Source:</dt>
|
|
1677
1804
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1678
|
-
<a href="
|
|
1805
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2453">line 2453</a>
|
|
1679
1806
|
</li></ul></dd>
|
|
1680
1807
|
|
|
1681
1808
|
|
|
@@ -1687,25 +1814,26 @@
|
|
|
1687
1814
|
</dl>
|
|
1688
1815
|
|
|
1689
1816
|
|
|
1690
|
-
|
|
1691
1817
|
|
|
1692
|
-
|
|
1693
1818
|
|
|
1694
|
-
|
|
1695
1819
|
|
|
1696
|
-
|
|
1697
1820
|
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
<h5>Throws:</h5>
|
|
1827
|
+
|
|
1828
|
+
|
|
1702
1829
|
|
|
1703
1830
|
<dl>
|
|
1704
1831
|
<dt>
|
|
1705
1832
|
<div class="param-desc">
|
|
1706
|
-
If the value cannot be added
|
|
1833
|
+
<p>If the value cannot be added</p>
|
|
1707
1834
|
</div>
|
|
1708
1835
|
</dt>
|
|
1836
|
+
<dd></dd>
|
|
1709
1837
|
<dt>
|
|
1710
1838
|
<dl>
|
|
1711
1839
|
<dt>
|
|
@@ -1719,15 +1847,16 @@
|
|
|
1719
1847
|
</dd>
|
|
1720
1848
|
</dl>
|
|
1721
1849
|
</dt>
|
|
1850
|
+
<dd></dd>
|
|
1722
1851
|
</dl>
|
|
1723
1852
|
|
|
1724
1853
|
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
1854
|
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
<h5>Returns:</h5>
|
|
1858
|
+
|
|
1859
|
+
|
|
1731
1860
|
<div class="param-desc">
|
|
1732
1861
|
<p>this</p>
|
|
1733
1862
|
</div>
|
|
@@ -1746,33 +1875,35 @@
|
|
|
1746
1875
|
</dd>
|
|
1747
1876
|
</dl>
|
|
1748
1877
|
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
1878
|
|
|
1752
|
-
|
|
1879
|
+
|
|
1880
|
+
|
|
1753
1881
|
|
|
1754
1882
|
|
|
1755
1883
|
|
|
1756
|
-
<dt>
|
|
1757
|
-
<h4 class="name" id="$encode"><span class="type-signature"></span>$encode<span class="signature">(buffer<span class="signature-attributes">opt</span>, noVerify<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {ByteBuffer}</span></h4>
|
|
1758
1884
|
|
|
1759
1885
|
|
|
1760
|
-
</dt>
|
|
1761
|
-
<dd>
|
|
1762
1886
|
|
|
1763
|
-
|
|
1764
|
-
<div class="description">
|
|
1765
|
-
<p>Encodes the message.</p>
|
|
1766
|
-
</div>
|
|
1767
|
-
|
|
1887
|
+
<h4 class="name" id="$encode"><span class="type-signature"></span>$encode<span class="signature">(buffer<span class="signature-attributes">opt</span>, noVerify<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {ByteBuffer}</span></h4>
|
|
1768
1888
|
|
|
1769
1889
|
|
|
1770
1890
|
|
|
1771
|
-
|
|
1772
1891
|
|
|
1892
|
+
|
|
1893
|
+
<div class="description">
|
|
1894
|
+
<p>Encodes the message.</p>
|
|
1895
|
+
</div>
|
|
1896
|
+
|
|
1897
|
+
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
<h5>Parameters:</h5>
|
|
1773
1906
|
|
|
1774
|
-
<h5>Parameters:</h5>
|
|
1775
|
-
|
|
1776
1907
|
|
|
1777
1908
|
<table class="params">
|
|
1778
1909
|
<thead>
|
|
@@ -1866,10 +1997,20 @@
|
|
|
1866
1997
|
|
|
1867
1998
|
</tbody>
|
|
1868
1999
|
</table>
|
|
2000
|
+
|
|
2001
|
+
|
|
2002
|
+
|
|
2003
|
+
|
|
2004
|
+
|
|
2005
|
+
|
|
2006
|
+
<dl class="details">
|
|
2007
|
+
|
|
1869
2008
|
|
|
1870
2009
|
|
|
1871
2010
|
|
|
1872
|
-
|
|
2011
|
+
|
|
2012
|
+
|
|
2013
|
+
|
|
1873
2014
|
|
|
1874
2015
|
|
|
1875
2016
|
|
|
@@ -1891,7 +2032,7 @@
|
|
|
1891
2032
|
|
|
1892
2033
|
<dt class="tag-source">Source:</dt>
|
|
1893
2034
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1894
|
-
<a href="
|
|
2035
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2651">line 2651</a>
|
|
1895
2036
|
</li></ul></dd>
|
|
1896
2037
|
|
|
1897
2038
|
|
|
@@ -1914,25 +2055,27 @@
|
|
|
1914
2055
|
</dl>
|
|
1915
2056
|
|
|
1916
2057
|
|
|
1917
|
-
|
|
1918
2058
|
|
|
1919
|
-
|
|
1920
2059
|
|
|
1921
|
-
|
|
1922
2060
|
|
|
1923
|
-
|
|
1924
2061
|
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
2062
|
+
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
|
+
<h5>Throws:</h5>
|
|
2068
|
+
|
|
2069
|
+
|
|
1929
2070
|
|
|
1930
2071
|
<dl>
|
|
1931
2072
|
<dt>
|
|
1932
2073
|
<div class="param-desc">
|
|
1933
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
1934
2074
|
returns the encoded ByteBuffer in the `encoded` property on the error.
|
|
2075
|
+
<p>If the message cannot be encoded or if required fields are missing. The later still
|
|
2076
|
+
returns the encoded ByteBuffer in the <code>encoded</code> property on the error.</p>
|
|
1935
2077
|
</div>
|
|
1936
2078
|
</dt>
|
|
2079
|
+
<dd></dd>
|
|
1937
2080
|
<dt>
|
|
1938
2081
|
<dl>
|
|
1939
2082
|
<dt>
|
|
@@ -1946,15 +2089,16 @@
|
|
|
1946
2089
|
</dd>
|
|
1947
2090
|
</dl>
|
|
1948
2091
|
</dt>
|
|
2092
|
+
<dd></dd>
|
|
1949
2093
|
</dl>
|
|
1950
2094
|
|
|
1951
2095
|
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
2096
|
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
<h5>Returns:</h5>
|
|
2100
|
+
|
|
2101
|
+
|
|
1958
2102
|
<div class="param-desc">
|
|
1959
2103
|
<p>Encoded message as a ByteBuffer</p>
|
|
1960
2104
|
</div>
|
|
@@ -1973,33 +2117,35 @@
|
|
|
1973
2117
|
</dd>
|
|
1974
2118
|
</dl>
|
|
1975
2119
|
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
2120
|
|
|
1979
|
-
|
|
2121
|
+
|
|
2122
|
+
|
|
1980
2123
|
|
|
1981
2124
|
|
|
1982
2125
|
|
|
1983
|
-
<dt>
|
|
1984
|
-
<h4 class="name" id="$get"><span class="type-signature"></span>$get<span class="signature">(key)</span><span class="type-signature"> → {*}</span></h4>
|
|
1985
2126
|
|
|
1986
2127
|
|
|
1987
|
-
</dt>
|
|
1988
|
-
<dd>
|
|
1989
2128
|
|
|
1990
|
-
|
|
1991
|
-
<div class="description">
|
|
1992
|
-
<p>Gets a field's value. This is an alias for <a href="ProtoBuf.Builder.Message.html#$get">ProtoBuf.Builder.Message#$get</a>.</p>
|
|
1993
|
-
</div>
|
|
1994
|
-
|
|
2129
|
+
<h4 class="name" id="$get"><span class="type-signature"></span>$get<span class="signature">(key)</span><span class="type-signature"> → {*}</span></h4>
|
|
1995
2130
|
|
|
1996
2131
|
|
|
1997
2132
|
|
|
1998
|
-
|
|
1999
2133
|
|
|
2134
|
+
|
|
2135
|
+
<div class="description">
|
|
2136
|
+
<p>Gets a field's value. This is an alias for <a href="ProtoBuf.Builder.Message.html#$get">ProtoBuf.Builder.Message#$get</a>.</p>
|
|
2137
|
+
</div>
|
|
2138
|
+
|
|
2139
|
+
|
|
2140
|
+
|
|
2141
|
+
|
|
2142
|
+
|
|
2143
|
+
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
<h5>Parameters:</h5>
|
|
2000
2148
|
|
|
2001
|
-
<h5>Parameters:</h5>
|
|
2002
|
-
|
|
2003
2149
|
|
|
2004
2150
|
<table class="params">
|
|
2005
2151
|
<thead>
|
|
@@ -2045,10 +2191,20 @@
|
|
|
2045
2191
|
|
|
2046
2192
|
</tbody>
|
|
2047
2193
|
</table>
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
<dl class="details">
|
|
2201
|
+
|
|
2048
2202
|
|
|
2049
2203
|
|
|
2050
2204
|
|
|
2051
|
-
|
|
2205
|
+
|
|
2206
|
+
|
|
2207
|
+
|
|
2052
2208
|
|
|
2053
2209
|
|
|
2054
2210
|
|
|
@@ -2070,7 +2226,7 @@
|
|
|
2070
2226
|
|
|
2071
2227
|
<dt class="tag-source">Source:</dt>
|
|
2072
2228
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2073
|
-
<a href="
|
|
2229
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2541">line 2541</a>
|
|
2074
2230
|
</li></ul></dd>
|
|
2075
2231
|
|
|
2076
2232
|
|
|
@@ -2082,25 +2238,26 @@
|
|
|
2082
2238
|
</dl>
|
|
2083
2239
|
|
|
2084
2240
|
|
|
2085
|
-
|
|
2086
2241
|
|
|
2087
|
-
|
|
2088
2242
|
|
|
2089
|
-
|
|
2090
2243
|
|
|
2091
|
-
|
|
2092
2244
|
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2245
|
+
|
|
2246
|
+
|
|
2247
|
+
|
|
2248
|
+
|
|
2249
|
+
|
|
2250
|
+
<h5>Throws:</h5>
|
|
2251
|
+
|
|
2252
|
+
|
|
2097
2253
|
|
|
2098
2254
|
<dl>
|
|
2099
2255
|
<dt>
|
|
2100
2256
|
<div class="param-desc">
|
|
2101
|
-
If there is no such field
|
|
2257
|
+
<p>If there is no such field</p>
|
|
2102
2258
|
</div>
|
|
2103
2259
|
</dt>
|
|
2260
|
+
<dd></dd>
|
|
2104
2261
|
<dt>
|
|
2105
2262
|
<dl>
|
|
2106
2263
|
<dt>
|
|
@@ -2114,15 +2271,16 @@
|
|
|
2114
2271
|
</dd>
|
|
2115
2272
|
</dl>
|
|
2116
2273
|
</dt>
|
|
2274
|
+
<dd></dd>
|
|
2117
2275
|
</dl>
|
|
2118
2276
|
|
|
2119
2277
|
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
2278
|
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2279
|
+
|
|
2280
|
+
|
|
2281
|
+
<h5>Returns:</h5>
|
|
2282
|
+
|
|
2283
|
+
|
|
2126
2284
|
<div class="param-desc">
|
|
2127
2285
|
<p>Value</p>
|
|
2128
2286
|
</div>
|
|
@@ -2141,33 +2299,35 @@
|
|
|
2141
2299
|
</dd>
|
|
2142
2300
|
</dl>
|
|
2143
2301
|
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
2302
|
|
|
2147
|
-
|
|
2303
|
+
|
|
2304
|
+
|
|
2148
2305
|
|
|
2149
2306
|
|
|
2150
2307
|
|
|
2151
|
-
<dt>
|
|
2152
|
-
<h4 class="name" id="$set"><span class="type-signature"></span>$set<span class="signature">(keyOrObj, value<span class="signature-attributes">opt</span>, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
|
|
2153
2308
|
|
|
2154
2309
|
|
|
2155
|
-
</dt>
|
|
2156
|
-
<dd>
|
|
2157
2310
|
|
|
2158
|
-
|
|
2159
|
-
<div class="description">
|
|
2160
|
-
<p>Sets a field's value. This is an alias for [@link ProtoBuf.Builder.Message#set}.</p>
|
|
2161
|
-
</div>
|
|
2162
|
-
|
|
2311
|
+
<h4 class="name" id="$set"><span class="type-signature"></span>$set<span class="signature">(keyOrObj, value<span class="signature-attributes">opt</span>, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
|
|
2163
2312
|
|
|
2164
2313
|
|
|
2165
2314
|
|
|
2166
|
-
|
|
2167
2315
|
|
|
2316
|
+
|
|
2317
|
+
<div class="description">
|
|
2318
|
+
<p>Sets a field's value. This is an alias for [@link ProtoBuf.Builder.Message#set}.</p>
|
|
2319
|
+
</div>
|
|
2320
|
+
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
|
|
2327
|
+
|
|
2328
|
+
|
|
2329
|
+
<h5>Parameters:</h5>
|
|
2168
2330
|
|
|
2169
|
-
<h5>Parameters:</h5>
|
|
2170
|
-
|
|
2171
2331
|
|
|
2172
2332
|
<table class="params">
|
|
2173
2333
|
<thead>
|
|
@@ -2295,10 +2455,20 @@
|
|
|
2295
2455
|
|
|
2296
2456
|
</tbody>
|
|
2297
2457
|
</table>
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
<dl class="details">
|
|
2465
|
+
|
|
2298
2466
|
|
|
2299
2467
|
|
|
2300
2468
|
|
|
2301
|
-
|
|
2469
|
+
|
|
2470
|
+
|
|
2471
|
+
|
|
2302
2472
|
|
|
2303
2473
|
|
|
2304
2474
|
|
|
@@ -2320,7 +2490,7 @@
|
|
|
2320
2490
|
|
|
2321
2491
|
<dt class="tag-source">Source:</dt>
|
|
2322
2492
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2323
|
-
<a href="
|
|
2493
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2508">line 2508</a>
|
|
2324
2494
|
</li></ul></dd>
|
|
2325
2495
|
|
|
2326
2496
|
|
|
@@ -2332,25 +2502,26 @@
|
|
|
2332
2502
|
</dl>
|
|
2333
2503
|
|
|
2334
2504
|
|
|
2335
|
-
|
|
2336
2505
|
|
|
2337
|
-
|
|
2338
2506
|
|
|
2339
|
-
|
|
2340
2507
|
|
|
2341
|
-
|
|
2342
2508
|
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
|
|
2514
|
+
<h5>Throws:</h5>
|
|
2515
|
+
|
|
2516
|
+
|
|
2347
2517
|
|
|
2348
2518
|
<dl>
|
|
2349
2519
|
<dt>
|
|
2350
2520
|
<div class="param-desc">
|
|
2351
|
-
If the value cannot be set
|
|
2521
|
+
<p>If the value cannot be set</p>
|
|
2352
2522
|
</div>
|
|
2353
2523
|
</dt>
|
|
2524
|
+
<dd></dd>
|
|
2354
2525
|
<dt>
|
|
2355
2526
|
<dl>
|
|
2356
2527
|
<dt>
|
|
@@ -2364,38 +2535,41 @@
|
|
|
2364
2535
|
</dd>
|
|
2365
2536
|
</dl>
|
|
2366
2537
|
</dt>
|
|
2538
|
+
<dd></dd>
|
|
2367
2539
|
</dl>
|
|
2368
2540
|
|
|
2369
2541
|
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
2542
|
|
|
2373
2543
|
|
|
2374
|
-
|
|
2375
|
-
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
|
|
2376
2547
|
|
|
2377
2548
|
|
|
2378
2549
|
|
|
2379
|
-
<dt>
|
|
2380
|
-
<h4 class="name" id="add"><span class="type-signature"></span>add<span class="signature">(key, value, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
2381
2550
|
|
|
2382
2551
|
|
|
2383
|
-
</dt>
|
|
2384
|
-
<dd>
|
|
2385
2552
|
|
|
2386
|
-
|
|
2387
|
-
<div class="description">
|
|
2388
|
-
<p>Adds a value to a repeated field.</p>
|
|
2389
|
-
</div>
|
|
2390
|
-
|
|
2553
|
+
<h4 class="name" id="add"><span class="type-signature"></span>add<span class="signature">(key, value, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
2391
2554
|
|
|
2392
2555
|
|
|
2393
2556
|
|
|
2394
|
-
|
|
2395
2557
|
|
|
2558
|
+
|
|
2559
|
+
<div class="description">
|
|
2560
|
+
<p>Adds a value to a repeated field.</p>
|
|
2561
|
+
</div>
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
<h5>Parameters:</h5>
|
|
2396
2572
|
|
|
2397
|
-
<h5>Parameters:</h5>
|
|
2398
|
-
|
|
2399
2573
|
|
|
2400
2574
|
<table class="params">
|
|
2401
2575
|
<thead>
|
|
@@ -2515,10 +2689,20 @@
|
|
|
2515
2689
|
|
|
2516
2690
|
</tbody>
|
|
2517
2691
|
</table>
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
<dl class="details">
|
|
2699
|
+
|
|
2518
2700
|
|
|
2519
2701
|
|
|
2520
2702
|
|
|
2521
|
-
|
|
2703
|
+
|
|
2704
|
+
|
|
2705
|
+
|
|
2522
2706
|
|
|
2523
2707
|
|
|
2524
2708
|
|
|
@@ -2540,7 +2724,7 @@
|
|
|
2540
2724
|
|
|
2541
2725
|
<dt class="tag-source">Source:</dt>
|
|
2542
2726
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2543
|
-
<a href="
|
|
2727
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2425">line 2425</a>
|
|
2544
2728
|
</li></ul></dd>
|
|
2545
2729
|
|
|
2546
2730
|
|
|
@@ -2552,25 +2736,26 @@
|
|
|
2552
2736
|
</dl>
|
|
2553
2737
|
|
|
2554
2738
|
|
|
2555
|
-
|
|
2556
2739
|
|
|
2557
|
-
|
|
2558
2740
|
|
|
2559
|
-
|
|
2560
2741
|
|
|
2561
|
-
|
|
2562
2742
|
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
<h5>Throws:</h5>
|
|
2749
|
+
|
|
2750
|
+
|
|
2567
2751
|
|
|
2568
2752
|
<dl>
|
|
2569
2753
|
<dt>
|
|
2570
2754
|
<div class="param-desc">
|
|
2571
|
-
If the value cannot be added
|
|
2755
|
+
<p>If the value cannot be added</p>
|
|
2572
2756
|
</div>
|
|
2573
2757
|
</dt>
|
|
2758
|
+
<dd></dd>
|
|
2574
2759
|
<dt>
|
|
2575
2760
|
<dl>
|
|
2576
2761
|
<dt>
|
|
@@ -2584,15 +2769,16 @@
|
|
|
2584
2769
|
</dd>
|
|
2585
2770
|
</dl>
|
|
2586
2771
|
</dt>
|
|
2772
|
+
<dd></dd>
|
|
2587
2773
|
</dl>
|
|
2588
2774
|
|
|
2589
2775
|
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
2776
|
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
<h5>Returns:</h5>
|
|
2780
|
+
|
|
2781
|
+
|
|
2596
2782
|
<div class="param-desc">
|
|
2597
2783
|
<p>this</p>
|
|
2598
2784
|
</div>
|
|
@@ -2611,34 +2797,45 @@
|
|
|
2611
2797
|
</dd>
|
|
2612
2798
|
</dl>
|
|
2613
2799
|
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
2800
|
|
|
2617
|
-
|
|
2801
|
+
|
|
2802
|
+
|
|
2618
2803
|
|
|
2619
2804
|
|
|
2620
2805
|
|
|
2621
|
-
<dt>
|
|
2622
|
-
<h4 class="name" id="calculate"><span class="type-signature"></span>calculate<span class="signature">()</span><span class="type-signature"> → {number}</span></h4>
|
|
2623
2806
|
|
|
2624
2807
|
|
|
2625
|
-
</dt>
|
|
2626
|
-
<dd>
|
|
2627
2808
|
|
|
2628
|
-
|
|
2629
|
-
<div class="description">
|
|
2630
|
-
<p>Calculates the byte length of the message.</p>
|
|
2631
|
-
</div>
|
|
2632
|
-
|
|
2809
|
+
<h4 class="name" id="calculate"><span class="type-signature"></span>calculate<span class="signature">()</span><span class="type-signature"> → {number}</span></h4>
|
|
2633
2810
|
|
|
2634
2811
|
|
|
2635
2812
|
|
|
2813
|
+
|
|
2814
|
+
|
|
2815
|
+
<div class="description">
|
|
2816
|
+
<p>Calculates the byte length of the message.</p>
|
|
2817
|
+
</div>
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
<dl class="details">
|
|
2832
|
+
|
|
2636
2833
|
|
|
2637
2834
|
|
|
2638
2835
|
|
|
2639
2836
|
|
|
2640
2837
|
|
|
2641
|
-
|
|
2838
|
+
|
|
2642
2839
|
|
|
2643
2840
|
|
|
2644
2841
|
|
|
@@ -2660,7 +2857,7 @@
|
|
|
2660
2857
|
|
|
2661
2858
|
<dt class="tag-source">Source:</dt>
|
|
2662
2859
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2663
|
-
<a href="
|
|
2860
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2695">line 2695</a>
|
|
2664
2861
|
</li></ul></dd>
|
|
2665
2862
|
|
|
2666
2863
|
|
|
@@ -2672,26 +2869,27 @@
|
|
|
2672
2869
|
</dl>
|
|
2673
2870
|
|
|
2674
2871
|
|
|
2675
|
-
|
|
2676
2872
|
|
|
2677
|
-
|
|
2678
2873
|
|
|
2679
|
-
|
|
2680
2874
|
|
|
2681
|
-
|
|
2682
2875
|
|
|
2683
|
-
|
|
2684
|
-
<h5>Throws:</h5>
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
2876
|
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
<h5>Throws:</h5>
|
|
2882
|
+
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
<dl>
|
|
2886
|
+
<dt>
|
|
2887
|
+
<div class="param-desc">
|
|
2888
|
+
<p>If the message cannot be calculated or if required fields are missing.</p>
|
|
2889
|
+
</div>
|
|
2890
|
+
</dt>
|
|
2891
|
+
<dd></dd>
|
|
2892
|
+
<dt>
|
|
2695
2893
|
<dl>
|
|
2696
2894
|
<dt>
|
|
2697
2895
|
Type
|
|
@@ -2704,15 +2902,16 @@
|
|
|
2704
2902
|
</dd>
|
|
2705
2903
|
</dl>
|
|
2706
2904
|
</dt>
|
|
2905
|
+
<dd></dd>
|
|
2707
2906
|
</dl>
|
|
2708
2907
|
|
|
2709
2908
|
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
<h5>Returns:</h5>
|
|
2714
2909
|
|
|
2715
|
-
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
<h5>Returns:</h5>
|
|
2913
|
+
|
|
2914
|
+
|
|
2716
2915
|
<div class="param-desc">
|
|
2717
2916
|
<p>Byte length</p>
|
|
2718
2917
|
</div>
|
|
@@ -2731,34 +2930,45 @@
|
|
|
2731
2930
|
</dd>
|
|
2732
2931
|
</dl>
|
|
2733
2932
|
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
2933
|
|
|
2737
|
-
|
|
2934
|
+
|
|
2935
|
+
|
|
2738
2936
|
|
|
2739
2937
|
|
|
2740
2938
|
|
|
2741
|
-
<dt>
|
|
2742
|
-
<h4 class="name" id="encode64"><span class="type-signature"></span>encode64<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
2743
2939
|
|
|
2744
2940
|
|
|
2745
|
-
</dt>
|
|
2746
|
-
<dd>
|
|
2747
2941
|
|
|
2748
|
-
|
|
2749
|
-
<div class="description">
|
|
2750
|
-
<p>Directly encodes the message to a base64 encoded string.</p>
|
|
2751
|
-
</div>
|
|
2752
|
-
|
|
2942
|
+
<h4 class="name" id="encode64"><span class="type-signature"></span>encode64<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
2753
2943
|
|
|
2754
2944
|
|
|
2755
2945
|
|
|
2946
|
+
|
|
2947
|
+
|
|
2948
|
+
<div class="description">
|
|
2949
|
+
<p>Directly encodes the message to a base64 encoded string.</p>
|
|
2950
|
+
</div>
|
|
2951
|
+
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
|
|
2957
|
+
|
|
2958
|
+
|
|
2959
|
+
|
|
2960
|
+
|
|
2961
|
+
|
|
2962
|
+
|
|
2963
|
+
|
|
2964
|
+
<dl class="details">
|
|
2965
|
+
|
|
2756
2966
|
|
|
2757
2967
|
|
|
2758
2968
|
|
|
2759
2969
|
|
|
2760
2970
|
|
|
2761
|
-
|
|
2971
|
+
|
|
2762
2972
|
|
|
2763
2973
|
|
|
2764
2974
|
|
|
@@ -2780,7 +2990,7 @@
|
|
|
2780
2990
|
|
|
2781
2991
|
<dt class="tag-source">Source:</dt>
|
|
2782
2992
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2783
|
-
<a href="
|
|
2993
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2788">line 2788</a>
|
|
2784
2994
|
</li></ul></dd>
|
|
2785
2995
|
|
|
2786
2996
|
|
|
@@ -2792,25 +3002,27 @@
|
|
|
2792
3002
|
</dl>
|
|
2793
3003
|
|
|
2794
3004
|
|
|
2795
|
-
|
|
2796
3005
|
|
|
2797
|
-
|
|
2798
3006
|
|
|
2799
|
-
|
|
2800
3007
|
|
|
2801
|
-
|
|
2802
3008
|
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
|
|
3012
|
+
|
|
3013
|
+
|
|
3014
|
+
<h5>Throws:</h5>
|
|
3015
|
+
|
|
3016
|
+
|
|
2807
3017
|
|
|
2808
3018
|
<dl>
|
|
2809
3019
|
<dt>
|
|
2810
3020
|
<div class="param-desc">
|
|
2811
|
-
If the underlying buffer cannot be encoded or if required fields are missing. The later
|
|
2812
3021
|
still returns the encoded base64 string in the `encoded` property on the error.
|
|
3022
|
+
<p>If the underlying buffer cannot be encoded or if required fields are missing. The later
|
|
3023
|
+
still returns the encoded base64 string in the <code>encoded</code> property on the error.</p>
|
|
2813
3024
|
</div>
|
|
2814
3025
|
</dt>
|
|
3026
|
+
<dd></dd>
|
|
2815
3027
|
<dt>
|
|
2816
3028
|
<dl>
|
|
2817
3029
|
<dt>
|
|
@@ -2824,15 +3036,16 @@
|
|
|
2824
3036
|
</dd>
|
|
2825
3037
|
</dl>
|
|
2826
3038
|
</dt>
|
|
3039
|
+
<dd></dd>
|
|
2827
3040
|
</dl>
|
|
2828
3041
|
|
|
2829
3042
|
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
<h5>Returns:</h5>
|
|
2834
3043
|
|
|
2835
|
-
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
<h5>Returns:</h5>
|
|
3047
|
+
|
|
3048
|
+
|
|
2836
3049
|
<div class="param-desc">
|
|
2837
3050
|
<p>Base64 encoded string</p>
|
|
2838
3051
|
</div>
|
|
@@ -2851,34 +3064,45 @@
|
|
|
2851
3064
|
</dd>
|
|
2852
3065
|
</dl>
|
|
2853
3066
|
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
3067
|
|
|
2857
|
-
|
|
3068
|
+
|
|
3069
|
+
|
|
2858
3070
|
|
|
2859
3071
|
|
|
2860
3072
|
|
|
2861
|
-
<dt>
|
|
2862
|
-
<h4 class="name" id="encodeAB"><span class="type-signature"></span>encodeAB<span class="signature">()</span><span class="type-signature"> → {ArrayBuffer}</span></h4>
|
|
2863
3073
|
|
|
2864
3074
|
|
|
2865
|
-
</dt>
|
|
2866
|
-
<dd>
|
|
2867
3075
|
|
|
2868
|
-
|
|
2869
|
-
<div class="description">
|
|
2870
|
-
<p>Directly encodes the message to an ArrayBuffer.</p>
|
|
2871
|
-
</div>
|
|
2872
|
-
|
|
3076
|
+
<h4 class="name" id="encodeAB"><span class="type-signature"></span>encodeAB<span class="signature">()</span><span class="type-signature"> → {ArrayBuffer}</span></h4>
|
|
2873
3077
|
|
|
2874
3078
|
|
|
2875
3079
|
|
|
3080
|
+
|
|
3081
|
+
|
|
3082
|
+
<div class="description">
|
|
3083
|
+
<p>Directly encodes the message to an ArrayBuffer.</p>
|
|
3084
|
+
</div>
|
|
3085
|
+
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
|
|
3089
|
+
|
|
3090
|
+
|
|
3091
|
+
|
|
3092
|
+
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
<dl class="details">
|
|
3099
|
+
|
|
2876
3100
|
|
|
2877
3101
|
|
|
2878
3102
|
|
|
2879
3103
|
|
|
2880
3104
|
|
|
2881
|
-
|
|
3105
|
+
|
|
2882
3106
|
|
|
2883
3107
|
|
|
2884
3108
|
|
|
@@ -2900,7 +3124,7 @@
|
|
|
2900
3124
|
|
|
2901
3125
|
<dt class="tag-source">Source:</dt>
|
|
2902
3126
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2903
|
-
<a href="
|
|
3127
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2730">line 2730</a>
|
|
2904
3128
|
</li></ul></dd>
|
|
2905
3129
|
|
|
2906
3130
|
|
|
@@ -2912,25 +3136,27 @@
|
|
|
2912
3136
|
</dl>
|
|
2913
3137
|
|
|
2914
3138
|
|
|
2915
|
-
|
|
2916
3139
|
|
|
2917
|
-
|
|
2918
3140
|
|
|
2919
|
-
|
|
2920
3141
|
|
|
2921
|
-
|
|
2922
3142
|
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
3143
|
+
|
|
3144
|
+
|
|
3145
|
+
|
|
3146
|
+
|
|
3147
|
+
|
|
3148
|
+
<h5>Throws:</h5>
|
|
3149
|
+
|
|
3150
|
+
|
|
2927
3151
|
|
|
2928
3152
|
<dl>
|
|
2929
3153
|
<dt>
|
|
2930
3154
|
<div class="param-desc">
|
|
2931
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
2932
3155
|
returns the encoded ArrayBuffer in the `encoded` property on the error.
|
|
3156
|
+
<p>If the message cannot be encoded or if required fields are missing. The later still
|
|
3157
|
+
returns the encoded ArrayBuffer in the <code>encoded</code> property on the error.</p>
|
|
2933
3158
|
</div>
|
|
2934
3159
|
</dt>
|
|
3160
|
+
<dd></dd>
|
|
2935
3161
|
<dt>
|
|
2936
3162
|
<dl>
|
|
2937
3163
|
<dt>
|
|
@@ -2944,15 +3170,16 @@
|
|
|
2944
3170
|
</dd>
|
|
2945
3171
|
</dl>
|
|
2946
3172
|
</dt>
|
|
3173
|
+
<dd></dd>
|
|
2947
3174
|
</dl>
|
|
2948
3175
|
|
|
2949
3176
|
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
<h5>Returns:</h5>
|
|
2954
3177
|
|
|
2955
|
-
|
|
3178
|
+
|
|
3179
|
+
|
|
3180
|
+
<h5>Returns:</h5>
|
|
3181
|
+
|
|
3182
|
+
|
|
2956
3183
|
<div class="param-desc">
|
|
2957
3184
|
<p>Encoded message as ArrayBuffer</p>
|
|
2958
3185
|
</div>
|
|
@@ -2971,33 +3198,35 @@
|
|
|
2971
3198
|
</dd>
|
|
2972
3199
|
</dl>
|
|
2973
3200
|
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
3201
|
|
|
2977
|
-
|
|
3202
|
+
|
|
3203
|
+
|
|
2978
3204
|
|
|
2979
3205
|
|
|
2980
3206
|
|
|
2981
|
-
<dt>
|
|
2982
|
-
<h4 class="name" id="encodeDelimited"><span class="type-signature"></span>encodeDelimited<span class="signature">(buffer<span class="signature-attributes">opt</span>, noVerify<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {ByteBuffer}</span></h4>
|
|
2983
3207
|
|
|
2984
3208
|
|
|
2985
|
-
</dt>
|
|
2986
|
-
<dd>
|
|
2987
3209
|
|
|
2988
|
-
|
|
2989
|
-
<div class="description">
|
|
2990
|
-
<p>Encodes the varint32 length-delimited message.</p>
|
|
2991
|
-
</div>
|
|
2992
|
-
|
|
3210
|
+
<h4 class="name" id="encodeDelimited"><span class="type-signature"></span>encodeDelimited<span class="signature">(buffer<span class="signature-attributes">opt</span>, noVerify<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {ByteBuffer}</span></h4>
|
|
2993
3211
|
|
|
2994
3212
|
|
|
2995
3213
|
|
|
2996
|
-
|
|
2997
3214
|
|
|
3215
|
+
|
|
3216
|
+
<div class="description">
|
|
3217
|
+
<p>Encodes the varint32 length-delimited message.</p>
|
|
3218
|
+
</div>
|
|
3219
|
+
|
|
3220
|
+
|
|
3221
|
+
|
|
3222
|
+
|
|
3223
|
+
|
|
3224
|
+
|
|
3225
|
+
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
<h5>Parameters:</h5>
|
|
2998
3229
|
|
|
2999
|
-
<h5>Parameters:</h5>
|
|
3000
|
-
|
|
3001
3230
|
|
|
3002
3231
|
<table class="params">
|
|
3003
3232
|
<thead>
|
|
@@ -3091,10 +3320,20 @@
|
|
|
3091
3320
|
|
|
3092
3321
|
</tbody>
|
|
3093
3322
|
</table>
|
|
3323
|
+
|
|
3324
|
+
|
|
3325
|
+
|
|
3326
|
+
|
|
3327
|
+
|
|
3328
|
+
|
|
3329
|
+
<dl class="details">
|
|
3330
|
+
|
|
3094
3331
|
|
|
3095
3332
|
|
|
3096
3333
|
|
|
3097
|
-
|
|
3334
|
+
|
|
3335
|
+
|
|
3336
|
+
|
|
3098
3337
|
|
|
3099
3338
|
|
|
3100
3339
|
|
|
@@ -3116,7 +3355,7 @@
|
|
|
3116
3355
|
|
|
3117
3356
|
<dt class="tag-source">Source:</dt>
|
|
3118
3357
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3119
|
-
<a href="
|
|
3358
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2707">line 2707</a>
|
|
3120
3359
|
</li></ul></dd>
|
|
3121
3360
|
|
|
3122
3361
|
|
|
@@ -3128,25 +3367,27 @@
|
|
|
3128
3367
|
</dl>
|
|
3129
3368
|
|
|
3130
3369
|
|
|
3131
|
-
|
|
3132
3370
|
|
|
3133
|
-
|
|
3134
3371
|
|
|
3135
|
-
|
|
3136
3372
|
|
|
3137
|
-
|
|
3138
3373
|
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3374
|
+
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
|
|
3378
|
+
|
|
3379
|
+
<h5>Throws:</h5>
|
|
3380
|
+
|
|
3381
|
+
|
|
3143
3382
|
|
|
3144
3383
|
<dl>
|
|
3145
3384
|
<dt>
|
|
3146
3385
|
<div class="param-desc">
|
|
3147
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
3148
3386
|
returns the encoded ByteBuffer in the `encoded` property on the error.
|
|
3387
|
+
<p>If the message cannot be encoded or if required fields are missing. The later still
|
|
3388
|
+
returns the encoded ByteBuffer in the <code>encoded</code> property on the error.</p>
|
|
3149
3389
|
</div>
|
|
3150
3390
|
</dt>
|
|
3391
|
+
<dd></dd>
|
|
3151
3392
|
<dt>
|
|
3152
3393
|
<dl>
|
|
3153
3394
|
<dt>
|
|
@@ -3160,15 +3401,16 @@
|
|
|
3160
3401
|
</dd>
|
|
3161
3402
|
</dl>
|
|
3162
3403
|
</dt>
|
|
3404
|
+
<dd></dd>
|
|
3163
3405
|
</dl>
|
|
3164
3406
|
|
|
3165
3407
|
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
<h5>Returns:</h5>
|
|
3170
3408
|
|
|
3171
|
-
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
<h5>Returns:</h5>
|
|
3412
|
+
|
|
3413
|
+
|
|
3172
3414
|
<div class="param-desc">
|
|
3173
3415
|
<p>Encoded message as a ByteBuffer</p>
|
|
3174
3416
|
</div>
|
|
@@ -3187,34 +3429,45 @@
|
|
|
3187
3429
|
</dd>
|
|
3188
3430
|
</dl>
|
|
3189
3431
|
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
3432
|
|
|
3193
|
-
|
|
3433
|
+
|
|
3434
|
+
|
|
3194
3435
|
|
|
3195
3436
|
|
|
3196
3437
|
|
|
3197
|
-
<dt>
|
|
3198
|
-
<h4 class="name" id="encodeHex"><span class="type-signature"></span>encodeHex<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
3199
3438
|
|
|
3200
3439
|
|
|
3201
|
-
</dt>
|
|
3202
|
-
<dd>
|
|
3203
3440
|
|
|
3204
|
-
|
|
3205
|
-
<div class="description">
|
|
3206
|
-
<p>Directly encodes the message to a hex encoded string.</p>
|
|
3207
|
-
</div>
|
|
3208
|
-
|
|
3441
|
+
<h4 class="name" id="encodeHex"><span class="type-signature"></span>encodeHex<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
3209
3442
|
|
|
3210
3443
|
|
|
3211
3444
|
|
|
3445
|
+
|
|
3446
|
+
|
|
3447
|
+
<div class="description">
|
|
3448
|
+
<p>Directly encodes the message to a hex encoded string.</p>
|
|
3449
|
+
</div>
|
|
3450
|
+
|
|
3451
|
+
|
|
3452
|
+
|
|
3453
|
+
|
|
3454
|
+
|
|
3455
|
+
|
|
3456
|
+
|
|
3457
|
+
|
|
3458
|
+
|
|
3459
|
+
|
|
3460
|
+
|
|
3461
|
+
|
|
3462
|
+
|
|
3463
|
+
<dl class="details">
|
|
3464
|
+
|
|
3212
3465
|
|
|
3213
3466
|
|
|
3214
3467
|
|
|
3215
3468
|
|
|
3216
3469
|
|
|
3217
|
-
|
|
3470
|
+
|
|
3218
3471
|
|
|
3219
3472
|
|
|
3220
3473
|
|
|
@@ -3236,7 +3489,7 @@
|
|
|
3236
3489
|
|
|
3237
3490
|
<dt class="tag-source">Source:</dt>
|
|
3238
3491
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3239
|
-
<a href="
|
|
3492
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2817">line 2817</a>
|
|
3240
3493
|
</li></ul></dd>
|
|
3241
3494
|
|
|
3242
3495
|
|
|
@@ -3248,25 +3501,27 @@
|
|
|
3248
3501
|
</dl>
|
|
3249
3502
|
|
|
3250
3503
|
|
|
3251
|
-
|
|
3252
3504
|
|
|
3253
|
-
|
|
3254
3505
|
|
|
3255
|
-
|
|
3256
3506
|
|
|
3257
|
-
|
|
3258
3507
|
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3508
|
+
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
|
|
3512
|
+
|
|
3513
|
+
<h5>Throws:</h5>
|
|
3514
|
+
|
|
3515
|
+
|
|
3263
3516
|
|
|
3264
3517
|
<dl>
|
|
3265
3518
|
<dt>
|
|
3266
3519
|
<div class="param-desc">
|
|
3267
|
-
If the underlying buffer cannot be encoded or if required fields are missing. The later
|
|
3268
3520
|
still returns the encoded hex string in the `encoded` property on the error.
|
|
3521
|
+
<p>If the underlying buffer cannot be encoded or if required fields are missing. The later
|
|
3522
|
+
still returns the encoded hex string in the <code>encoded</code> property on the error.</p>
|
|
3269
3523
|
</div>
|
|
3270
3524
|
</dt>
|
|
3525
|
+
<dd></dd>
|
|
3271
3526
|
<dt>
|
|
3272
3527
|
<dl>
|
|
3273
3528
|
<dt>
|
|
@@ -3280,15 +3535,16 @@
|
|
|
3280
3535
|
</dd>
|
|
3281
3536
|
</dl>
|
|
3282
3537
|
</dt>
|
|
3538
|
+
<dd></dd>
|
|
3283
3539
|
</dl>
|
|
3284
3540
|
|
|
3285
3541
|
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
3542
|
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3543
|
+
|
|
3544
|
+
|
|
3545
|
+
<h5>Returns:</h5>
|
|
3546
|
+
|
|
3547
|
+
|
|
3292
3548
|
<div class="param-desc">
|
|
3293
3549
|
<p>Hex encoded string</p>
|
|
3294
3550
|
</div>
|
|
@@ -3307,34 +3563,45 @@
|
|
|
3307
3563
|
</dd>
|
|
3308
3564
|
</dl>
|
|
3309
3565
|
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
3566
|
|
|
3313
|
-
|
|
3567
|
+
|
|
3568
|
+
|
|
3314
3569
|
|
|
3315
3570
|
|
|
3316
3571
|
|
|
3317
|
-
<dt>
|
|
3318
|
-
<h4 class="name" id="encodeJSON"><span class="type-signature"></span>encodeJSON<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
3319
3572
|
|
|
3320
3573
|
|
|
3321
|
-
</dt>
|
|
3322
|
-
<dd>
|
|
3323
3574
|
|
|
3324
|
-
|
|
3325
|
-
<div class="description">
|
|
3326
|
-
<p>Encodes a message to JSON.</p>
|
|
3327
|
-
</div>
|
|
3328
|
-
|
|
3575
|
+
<h4 class="name" id="encodeJSON"><span class="type-signature"></span>encodeJSON<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
3329
3576
|
|
|
3330
3577
|
|
|
3331
3578
|
|
|
3579
|
+
|
|
3580
|
+
|
|
3581
|
+
<div class="description">
|
|
3582
|
+
<p>Encodes a message to JSON.</p>
|
|
3583
|
+
</div>
|
|
3584
|
+
|
|
3585
|
+
|
|
3586
|
+
|
|
3587
|
+
|
|
3588
|
+
|
|
3589
|
+
|
|
3590
|
+
|
|
3591
|
+
|
|
3592
|
+
|
|
3593
|
+
|
|
3594
|
+
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
<dl class="details">
|
|
3598
|
+
|
|
3332
3599
|
|
|
3333
3600
|
|
|
3334
3601
|
|
|
3335
3602
|
|
|
3336
3603
|
|
|
3337
|
-
|
|
3604
|
+
|
|
3338
3605
|
|
|
3339
3606
|
|
|
3340
3607
|
|
|
@@ -3356,7 +3623,7 @@
|
|
|
3356
3623
|
|
|
3357
3624
|
<dt class="tag-source">Source:</dt>
|
|
3358
3625
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3359
|
-
<a href="
|
|
3626
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2918">line 2918</a>
|
|
3360
3627
|
</li></ul></dd>
|
|
3361
3628
|
|
|
3362
3629
|
|
|
@@ -3368,20 +3635,20 @@
|
|
|
3368
3635
|
</dl>
|
|
3369
3636
|
|
|
3370
3637
|
|
|
3371
|
-
|
|
3372
3638
|
|
|
3373
|
-
|
|
3374
3639
|
|
|
3375
|
-
|
|
3376
3640
|
|
|
3377
|
-
|
|
3378
3641
|
|
|
3379
|
-
|
|
3380
3642
|
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3643
|
+
|
|
3644
|
+
|
|
3645
|
+
|
|
3646
|
+
|
|
3647
|
+
|
|
3648
|
+
|
|
3649
|
+
<h5>Returns:</h5>
|
|
3650
|
+
|
|
3651
|
+
|
|
3385
3652
|
<div class="param-desc">
|
|
3386
3653
|
<p>JSON string</p>
|
|
3387
3654
|
</div>
|
|
@@ -3400,34 +3667,45 @@
|
|
|
3400
3667
|
</dd>
|
|
3401
3668
|
</dl>
|
|
3402
3669
|
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
3670
|
|
|
3406
|
-
|
|
3671
|
+
|
|
3672
|
+
|
|
3407
3673
|
|
|
3408
3674
|
|
|
3409
3675
|
|
|
3410
|
-
<dt>
|
|
3411
|
-
<h4 class="name" id="encodeNB"><span class="type-signature"></span>encodeNB<span class="signature">()</span><span class="type-signature"> → (non-null) {Buffer}</span></h4>
|
|
3412
3676
|
|
|
3413
3677
|
|
|
3414
|
-
</dt>
|
|
3415
|
-
<dd>
|
|
3416
3678
|
|
|
3417
|
-
|
|
3418
|
-
<div class="description">
|
|
3419
|
-
<p>Directly encodes the message to a node Buffer.</p>
|
|
3420
|
-
</div>
|
|
3421
|
-
|
|
3679
|
+
<h4 class="name" id="encodeNB"><span class="type-signature"></span>encodeNB<span class="signature">()</span><span class="type-signature"> → (non-null) {Buffer}</span></h4>
|
|
3422
3680
|
|
|
3423
3681
|
|
|
3424
3682
|
|
|
3683
|
+
|
|
3684
|
+
|
|
3685
|
+
<div class="description">
|
|
3686
|
+
<p>Directly encodes the message to a node Buffer.</p>
|
|
3687
|
+
</div>
|
|
3688
|
+
|
|
3689
|
+
|
|
3690
|
+
|
|
3691
|
+
|
|
3692
|
+
|
|
3693
|
+
|
|
3694
|
+
|
|
3695
|
+
|
|
3696
|
+
|
|
3697
|
+
|
|
3698
|
+
|
|
3699
|
+
|
|
3700
|
+
|
|
3701
|
+
<dl class="details">
|
|
3702
|
+
|
|
3425
3703
|
|
|
3426
3704
|
|
|
3427
3705
|
|
|
3428
3706
|
|
|
3429
3707
|
|
|
3430
|
-
|
|
3708
|
+
|
|
3431
3709
|
|
|
3432
3710
|
|
|
3433
3711
|
|
|
@@ -3449,7 +3727,7 @@
|
|
|
3449
3727
|
|
|
3450
3728
|
<dt class="tag-source">Source:</dt>
|
|
3451
3729
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3452
|
-
<a href="
|
|
3730
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2759">line 2759</a>
|
|
3453
3731
|
</li></ul></dd>
|
|
3454
3732
|
|
|
3455
3733
|
|
|
@@ -3461,25 +3739,27 @@
|
|
|
3461
3739
|
</dl>
|
|
3462
3740
|
|
|
3463
3741
|
|
|
3464
|
-
|
|
3465
3742
|
|
|
3466
|
-
|
|
3467
3743
|
|
|
3468
|
-
|
|
3469
3744
|
|
|
3470
|
-
|
|
3471
3745
|
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3746
|
+
|
|
3747
|
+
|
|
3748
|
+
|
|
3749
|
+
|
|
3750
|
+
|
|
3751
|
+
<h5>Throws:</h5>
|
|
3752
|
+
|
|
3753
|
+
|
|
3476
3754
|
|
|
3477
3755
|
<dl>
|
|
3478
3756
|
<dt>
|
|
3479
3757
|
<div class="param-desc">
|
|
3480
|
-
If the message cannot be encoded, not running under node.js or if required fields are
|
|
3481
3758
|
missing. The later still returns the encoded node Buffer in the `encoded` property on the error.
|
|
3759
|
+
<p>If the message cannot be encoded, not running under node.js or if required fields are
|
|
3760
|
+
missing. The later still returns the encoded node Buffer in the <code>encoded</code> property on the error.</p>
|
|
3482
3761
|
</div>
|
|
3483
3762
|
</dt>
|
|
3763
|
+
<dd></dd>
|
|
3484
3764
|
<dt>
|
|
3485
3765
|
<dl>
|
|
3486
3766
|
<dt>
|
|
@@ -3493,15 +3773,16 @@
|
|
|
3493
3773
|
</dd>
|
|
3494
3774
|
</dl>
|
|
3495
3775
|
</dt>
|
|
3776
|
+
<dd></dd>
|
|
3496
3777
|
</dl>
|
|
3497
3778
|
|
|
3498
3779
|
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
<h5>Returns:</h5>
|
|
3503
3780
|
|
|
3504
|
-
|
|
3781
|
+
|
|
3782
|
+
|
|
3783
|
+
<h5>Returns:</h5>
|
|
3784
|
+
|
|
3785
|
+
|
|
3505
3786
|
|
|
3506
3787
|
|
|
3507
3788
|
<dl>
|
|
@@ -3516,33 +3797,35 @@
|
|
|
3516
3797
|
</dd>
|
|
3517
3798
|
</dl>
|
|
3518
3799
|
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
3800
|
|
|
3522
|
-
|
|
3801
|
+
|
|
3802
|
+
|
|
3523
3803
|
|
|
3524
3804
|
|
|
3525
3805
|
|
|
3526
|
-
<dt>
|
|
3527
|
-
<h4 class="name" id="get"><span class="type-signature"></span>get<span class="signature">(key, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {*}</span></h4>
|
|
3528
3806
|
|
|
3529
3807
|
|
|
3530
|
-
</dt>
|
|
3531
|
-
<dd>
|
|
3532
3808
|
|
|
3533
|
-
|
|
3534
|
-
<div class="description">
|
|
3535
|
-
<p>Gets a field's value.</p>
|
|
3536
|
-
</div>
|
|
3537
|
-
|
|
3809
|
+
<h4 class="name" id="get"><span class="type-signature"></span>get<span class="signature">(key, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {*}</span></h4>
|
|
3538
3810
|
|
|
3539
3811
|
|
|
3540
3812
|
|
|
3541
|
-
|
|
3542
3813
|
|
|
3814
|
+
|
|
3815
|
+
<div class="description">
|
|
3816
|
+
<p>Gets a field's value.</p>
|
|
3817
|
+
</div>
|
|
3818
|
+
|
|
3819
|
+
|
|
3820
|
+
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
|
|
3827
|
+
<h5>Parameters:</h5>
|
|
3543
3828
|
|
|
3544
|
-
<h5>Parameters:</h5>
|
|
3545
|
-
|
|
3546
3829
|
|
|
3547
3830
|
<table class="params">
|
|
3548
3831
|
<thead>
|
|
@@ -3631,10 +3914,20 @@
|
|
|
3631
3914
|
|
|
3632
3915
|
</tbody>
|
|
3633
3916
|
</table>
|
|
3917
|
+
|
|
3918
|
+
|
|
3919
|
+
|
|
3920
|
+
|
|
3921
|
+
|
|
3922
|
+
|
|
3923
|
+
<dl class="details">
|
|
3924
|
+
|
|
3634
3925
|
|
|
3635
3926
|
|
|
3636
3927
|
|
|
3637
|
-
|
|
3928
|
+
|
|
3929
|
+
|
|
3930
|
+
|
|
3638
3931
|
|
|
3639
3932
|
|
|
3640
3933
|
|
|
@@ -3656,7 +3949,7 @@
|
|
|
3656
3949
|
|
|
3657
3950
|
<dt class="tag-source">Source:</dt>
|
|
3658
3951
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3659
|
-
<a href="
|
|
3952
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2520">line 2520</a>
|
|
3660
3953
|
</li></ul></dd>
|
|
3661
3954
|
|
|
3662
3955
|
|
|
@@ -3668,25 +3961,26 @@
|
|
|
3668
3961
|
</dl>
|
|
3669
3962
|
|
|
3670
3963
|
|
|
3671
|
-
|
|
3672
3964
|
|
|
3673
|
-
|
|
3674
3965
|
|
|
3675
|
-
|
|
3676
3966
|
|
|
3677
|
-
|
|
3678
3967
|
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3968
|
+
|
|
3969
|
+
|
|
3970
|
+
|
|
3971
|
+
|
|
3972
|
+
|
|
3973
|
+
<h5>Throws:</h5>
|
|
3974
|
+
|
|
3975
|
+
|
|
3683
3976
|
|
|
3684
3977
|
<dl>
|
|
3685
3978
|
<dt>
|
|
3686
3979
|
<div class="param-desc">
|
|
3687
|
-
If there is no such field
|
|
3980
|
+
<p>If there is no such field</p>
|
|
3688
3981
|
</div>
|
|
3689
3982
|
</dt>
|
|
3983
|
+
<dd></dd>
|
|
3690
3984
|
<dt>
|
|
3691
3985
|
<dl>
|
|
3692
3986
|
<dt>
|
|
@@ -3700,15 +3994,16 @@
|
|
|
3700
3994
|
</dd>
|
|
3701
3995
|
</dl>
|
|
3702
3996
|
</dt>
|
|
3997
|
+
<dd></dd>
|
|
3703
3998
|
</dl>
|
|
3704
3999
|
|
|
3705
4000
|
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
4001
|
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
4002
|
+
|
|
4003
|
+
|
|
4004
|
+
<h5>Returns:</h5>
|
|
4005
|
+
|
|
4006
|
+
|
|
3712
4007
|
<div class="param-desc">
|
|
3713
4008
|
<p>Value</p>
|
|
3714
4009
|
</div>
|
|
@@ -3727,35 +4022,46 @@
|
|
|
3727
4022
|
</dd>
|
|
3728
4023
|
</dl>
|
|
3729
4024
|
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
4025
|
|
|
3733
|
-
|
|
4026
|
+
|
|
4027
|
+
|
|
3734
4028
|
|
|
3735
4029
|
|
|
3736
4030
|
|
|
3737
|
-
<dt>
|
|
3738
|
-
<h4 class="name" id="get[SomeField]"><span class="type-signature">(abstract) </span>get[SomeField]<span class="signature">()</span><span class="type-signature"> → {*}</span></h4>
|
|
3739
4031
|
|
|
3740
4032
|
|
|
3741
|
-
|
|
3742
|
-
<
|
|
4033
|
+
|
|
4034
|
+
<h4 class="name" id="get%5BSomeField%5D"><span class="type-signature">(abstract) </span>get[SomeField]<span class="signature">()</span><span class="type-signature"> → {*}</span></h4>
|
|
3743
4035
|
|
|
3744
4036
|
|
|
3745
|
-
|
|
3746
|
-
|
|
4037
|
+
|
|
4038
|
+
|
|
4039
|
+
|
|
4040
|
+
<div class="description">
|
|
4041
|
+
<p>Gets a value. This method is present for each field, but only if there is no name conflict with
|
|
3747
4042
|
another field.</p>
|
|
3748
|
-
|
|
3749
|
-
|
|
4043
|
+
</div>
|
|
4044
|
+
|
|
4045
|
+
|
|
4046
|
+
|
|
4047
|
+
|
|
4048
|
+
|
|
3750
4049
|
|
|
3751
|
-
|
|
4050
|
+
|
|
4051
|
+
|
|
4052
|
+
|
|
4053
|
+
|
|
4054
|
+
|
|
4055
|
+
|
|
4056
|
+
|
|
4057
|
+
<dl class="details">
|
|
3752
4058
|
|
|
3753
4059
|
|
|
3754
4060
|
|
|
3755
4061
|
|
|
3756
4062
|
|
|
3757
4063
|
|
|
3758
|
-
|
|
4064
|
+
|
|
3759
4065
|
|
|
3760
4066
|
|
|
3761
4067
|
|
|
@@ -3777,7 +4083,7 @@
|
|
|
3777
4083
|
|
|
3778
4084
|
<dt class="tag-source">Source:</dt>
|
|
3779
4085
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3780
|
-
<a href="
|
|
4086
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2625">line 2625</a>
|
|
3781
4087
|
</li></ul></dd>
|
|
3782
4088
|
|
|
3783
4089
|
|
|
@@ -3789,20 +4095,20 @@
|
|
|
3789
4095
|
</dl>
|
|
3790
4096
|
|
|
3791
4097
|
|
|
3792
|
-
|
|
3793
4098
|
|
|
3794
|
-
|
|
3795
4099
|
|
|
3796
|
-
|
|
3797
4100
|
|
|
3798
|
-
|
|
3799
4101
|
|
|
3800
|
-
|
|
3801
4102
|
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
4103
|
+
|
|
4104
|
+
|
|
4105
|
+
|
|
4106
|
+
|
|
4107
|
+
|
|
4108
|
+
|
|
4109
|
+
<h5>Returns:</h5>
|
|
4110
|
+
|
|
4111
|
+
|
|
3806
4112
|
<div class="param-desc">
|
|
3807
4113
|
<p>The value</p>
|
|
3808
4114
|
</div>
|
|
@@ -3821,35 +4127,46 @@
|
|
|
3821
4127
|
</dd>
|
|
3822
4128
|
</dl>
|
|
3823
4129
|
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
4130
|
|
|
3827
|
-
|
|
4131
|
+
|
|
4132
|
+
|
|
3828
4133
|
|
|
3829
4134
|
|
|
3830
4135
|
|
|
3831
|
-
<dt>
|
|
3832
|
-
<h4 class="name" id="get_[some_field]"><span class="type-signature">(abstract) </span>get_[some_field]<span class="signature">()</span><span class="type-signature"> → {*}</span></h4>
|
|
3833
4136
|
|
|
3834
4137
|
|
|
3835
|
-
|
|
3836
|
-
<
|
|
4138
|
+
|
|
4139
|
+
<h4 class="name" id="get_%5Bsome_field%5D"><span class="type-signature">(abstract) </span>get_[some_field]<span class="signature">()</span><span class="type-signature"> → {*}</span></h4>
|
|
3837
4140
|
|
|
3838
4141
|
|
|
3839
|
-
|
|
3840
|
-
|
|
4142
|
+
|
|
4143
|
+
|
|
4144
|
+
|
|
4145
|
+
<div class="description">
|
|
4146
|
+
<p>Gets a value. This method is present for each field, but only if there is no name conflict with
|
|
3841
4147
|
another field.</p>
|
|
3842
|
-
|
|
3843
|
-
|
|
4148
|
+
</div>
|
|
4149
|
+
|
|
4150
|
+
|
|
4151
|
+
|
|
4152
|
+
|
|
3844
4153
|
|
|
3845
|
-
|
|
4154
|
+
|
|
4155
|
+
|
|
4156
|
+
|
|
4157
|
+
|
|
4158
|
+
|
|
4159
|
+
|
|
4160
|
+
|
|
4161
|
+
|
|
4162
|
+
<dl class="details">
|
|
3846
4163
|
|
|
3847
4164
|
|
|
3848
4165
|
|
|
3849
4166
|
|
|
3850
4167
|
|
|
3851
4168
|
|
|
3852
|
-
|
|
4169
|
+
|
|
3853
4170
|
|
|
3854
4171
|
|
|
3855
4172
|
|
|
@@ -3871,7 +4188,7 @@
|
|
|
3871
4188
|
|
|
3872
4189
|
<dt class="tag-source">Source:</dt>
|
|
3873
4190
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3874
|
-
<a href="
|
|
4191
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2636">line 2636</a>
|
|
3875
4192
|
</li></ul></dd>
|
|
3876
4193
|
|
|
3877
4194
|
|
|
@@ -3883,20 +4200,20 @@
|
|
|
3883
4200
|
</dl>
|
|
3884
4201
|
|
|
3885
4202
|
|
|
3886
|
-
|
|
3887
4203
|
|
|
3888
|
-
|
|
3889
4204
|
|
|
3890
|
-
|
|
3891
4205
|
|
|
3892
|
-
|
|
3893
4206
|
|
|
3894
|
-
|
|
3895
4207
|
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
4208
|
+
|
|
4209
|
+
|
|
4210
|
+
|
|
4211
|
+
|
|
4212
|
+
|
|
4213
|
+
|
|
4214
|
+
<h5>Returns:</h5>
|
|
4215
|
+
|
|
4216
|
+
|
|
3900
4217
|
<div class="param-desc">
|
|
3901
4218
|
<p>The value</p>
|
|
3902
4219
|
</div>
|
|
@@ -3915,33 +4232,35 @@
|
|
|
3915
4232
|
</dd>
|
|
3916
4233
|
</dl>
|
|
3917
4234
|
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
4235
|
|
|
3921
|
-
|
|
4236
|
+
|
|
4237
|
+
|
|
3922
4238
|
|
|
3923
4239
|
|
|
3924
4240
|
|
|
3925
|
-
<dt>
|
|
3926
|
-
<h4 class="name" id="set"><span class="type-signature"></span>set<span class="signature">(keyOrObj, value<span class="signature-attributes">opt</span>, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
3927
4241
|
|
|
3928
4242
|
|
|
3929
|
-
</dt>
|
|
3930
|
-
<dd>
|
|
3931
4243
|
|
|
3932
|
-
|
|
3933
|
-
<div class="description">
|
|
3934
|
-
<p>Sets a field's value.</p>
|
|
3935
|
-
</div>
|
|
3936
|
-
|
|
4244
|
+
<h4 class="name" id="set"><span class="type-signature"></span>set<span class="signature">(keyOrObj, value<span class="signature-attributes">opt</span>, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
3937
4245
|
|
|
3938
4246
|
|
|
3939
4247
|
|
|
3940
|
-
|
|
3941
4248
|
|
|
4249
|
+
|
|
4250
|
+
<div class="description">
|
|
4251
|
+
<p>Sets a field's value.</p>
|
|
4252
|
+
</div>
|
|
4253
|
+
|
|
4254
|
+
|
|
4255
|
+
|
|
4256
|
+
|
|
4257
|
+
|
|
4258
|
+
|
|
4259
|
+
|
|
4260
|
+
|
|
4261
|
+
|
|
4262
|
+
<h5>Parameters:</h5>
|
|
3942
4263
|
|
|
3943
|
-
<h5>Parameters:</h5>
|
|
3944
|
-
|
|
3945
4264
|
|
|
3946
4265
|
<table class="params">
|
|
3947
4266
|
<thead>
|
|
@@ -4069,10 +4388,20 @@
|
|
|
4069
4388
|
|
|
4070
4389
|
</tbody>
|
|
4071
4390
|
</table>
|
|
4391
|
+
|
|
4392
|
+
|
|
4393
|
+
|
|
4394
|
+
|
|
4395
|
+
|
|
4396
|
+
|
|
4397
|
+
<dl class="details">
|
|
4398
|
+
|
|
4072
4399
|
|
|
4073
4400
|
|
|
4074
4401
|
|
|
4075
|
-
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
|
|
4076
4405
|
|
|
4077
4406
|
|
|
4078
4407
|
|
|
@@ -4094,7 +4423,7 @@
|
|
|
4094
4423
|
|
|
4095
4424
|
<dt class="tag-source">Source:</dt>
|
|
4096
4425
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4097
|
-
<a href="
|
|
4426
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2466">line 2466</a>
|
|
4098
4427
|
</li></ul></dd>
|
|
4099
4428
|
|
|
4100
4429
|
|
|
@@ -4106,25 +4435,26 @@
|
|
|
4106
4435
|
</dl>
|
|
4107
4436
|
|
|
4108
4437
|
|
|
4109
|
-
|
|
4110
4438
|
|
|
4111
|
-
|
|
4112
4439
|
|
|
4113
|
-
|
|
4114
4440
|
|
|
4115
|
-
|
|
4116
4441
|
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4442
|
+
|
|
4443
|
+
|
|
4444
|
+
|
|
4445
|
+
|
|
4446
|
+
|
|
4447
|
+
<h5>Throws:</h5>
|
|
4448
|
+
|
|
4449
|
+
|
|
4121
4450
|
|
|
4122
4451
|
<dl>
|
|
4123
4452
|
<dt>
|
|
4124
4453
|
<div class="param-desc">
|
|
4125
|
-
If the value cannot be set
|
|
4454
|
+
<p>If the value cannot be set</p>
|
|
4126
4455
|
</div>
|
|
4127
4456
|
</dt>
|
|
4457
|
+
<dd></dd>
|
|
4128
4458
|
<dt>
|
|
4129
4459
|
<dl>
|
|
4130
4460
|
<dt>
|
|
@@ -4138,15 +4468,16 @@
|
|
|
4138
4468
|
</dd>
|
|
4139
4469
|
</dl>
|
|
4140
4470
|
</dt>
|
|
4471
|
+
<dd></dd>
|
|
4141
4472
|
</dl>
|
|
4142
4473
|
|
|
4143
4474
|
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
<h5>Returns:</h5>
|
|
4148
4475
|
|
|
4149
|
-
|
|
4476
|
+
|
|
4477
|
+
|
|
4478
|
+
<h5>Returns:</h5>
|
|
4479
|
+
|
|
4480
|
+
|
|
4150
4481
|
<div class="param-desc">
|
|
4151
4482
|
<p>this</p>
|
|
4152
4483
|
</div>
|
|
@@ -4165,34 +4496,36 @@
|
|
|
4165
4496
|
</dd>
|
|
4166
4497
|
</dl>
|
|
4167
4498
|
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
4499
|
|
|
4171
|
-
|
|
4500
|
+
|
|
4501
|
+
|
|
4172
4502
|
|
|
4173
4503
|
|
|
4174
4504
|
|
|
4175
|
-
<dt>
|
|
4176
|
-
<h4 class="name" id="set[SomeField]"><span class="type-signature">(abstract) </span>set[SomeField]<span class="signature">(value, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
4177
4505
|
|
|
4178
4506
|
|
|
4179
|
-
|
|
4180
|
-
<
|
|
4507
|
+
|
|
4508
|
+
<h4 class="name" id="set%5BSomeField%5D"><span class="type-signature">(abstract) </span>set[SomeField]<span class="signature">(value, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
4181
4509
|
|
|
4182
4510
|
|
|
4183
|
-
|
|
4184
|
-
|
|
4511
|
+
|
|
4512
|
+
|
|
4513
|
+
|
|
4514
|
+
<div class="description">
|
|
4515
|
+
<p>Sets a value. This method is present for each field, but only if there is no name conflict with
|
|
4185
4516
|
another field.</p>
|
|
4186
|
-
|
|
4187
|
-
|
|
4517
|
+
</div>
|
|
4188
4518
|
|
|
4189
|
-
|
|
4190
4519
|
|
|
4191
|
-
|
|
4192
4520
|
|
|
4521
|
+
|
|
4522
|
+
|
|
4523
|
+
|
|
4524
|
+
|
|
4525
|
+
|
|
4526
|
+
|
|
4527
|
+
<h5>Parameters:</h5>
|
|
4193
4528
|
|
|
4194
|
-
<h5>Parameters:</h5>
|
|
4195
|
-
|
|
4196
4529
|
|
|
4197
4530
|
<table class="params">
|
|
4198
4531
|
<thead>
|
|
@@ -4281,10 +4614,20 @@
|
|
|
4281
4614
|
|
|
4282
4615
|
</tbody>
|
|
4283
4616
|
</table>
|
|
4617
|
+
|
|
4618
|
+
|
|
4619
|
+
|
|
4620
|
+
|
|
4621
|
+
|
|
4622
|
+
|
|
4623
|
+
<dl class="details">
|
|
4624
|
+
|
|
4284
4625
|
|
|
4285
4626
|
|
|
4286
4627
|
|
|
4287
|
-
|
|
4628
|
+
|
|
4629
|
+
|
|
4630
|
+
|
|
4288
4631
|
|
|
4289
4632
|
|
|
4290
4633
|
|
|
@@ -4306,7 +4649,7 @@
|
|
|
4306
4649
|
|
|
4307
4650
|
<dt class="tag-source">Source:</dt>
|
|
4308
4651
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4309
|
-
<a href="
|
|
4652
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2597">line 2597</a>
|
|
4310
4653
|
</li></ul></dd>
|
|
4311
4654
|
|
|
4312
4655
|
|
|
@@ -4318,25 +4661,26 @@
|
|
|
4318
4661
|
</dl>
|
|
4319
4662
|
|
|
4320
4663
|
|
|
4321
|
-
|
|
4322
4664
|
|
|
4323
|
-
|
|
4324
4665
|
|
|
4325
|
-
|
|
4326
4666
|
|
|
4327
|
-
|
|
4328
4667
|
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4668
|
+
|
|
4669
|
+
|
|
4670
|
+
|
|
4671
|
+
|
|
4672
|
+
|
|
4673
|
+
<h5>Throws:</h5>
|
|
4674
|
+
|
|
4675
|
+
|
|
4333
4676
|
|
|
4334
4677
|
<dl>
|
|
4335
4678
|
<dt>
|
|
4336
4679
|
<div class="param-desc">
|
|
4337
|
-
If the value cannot be set
|
|
4680
|
+
<p>If the value cannot be set</p>
|
|
4338
4681
|
</div>
|
|
4339
4682
|
</dt>
|
|
4683
|
+
<dd></dd>
|
|
4340
4684
|
<dt>
|
|
4341
4685
|
<dl>
|
|
4342
4686
|
<dt>
|
|
@@ -4350,15 +4694,16 @@
|
|
|
4350
4694
|
</dd>
|
|
4351
4695
|
</dl>
|
|
4352
4696
|
</dt>
|
|
4697
|
+
<dd></dd>
|
|
4353
4698
|
</dl>
|
|
4354
4699
|
|
|
4355
4700
|
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
<h5>Returns:</h5>
|
|
4360
4701
|
|
|
4361
|
-
|
|
4702
|
+
|
|
4703
|
+
|
|
4704
|
+
<h5>Returns:</h5>
|
|
4705
|
+
|
|
4706
|
+
|
|
4362
4707
|
<div class="param-desc">
|
|
4363
4708
|
<p>this</p>
|
|
4364
4709
|
</div>
|
|
@@ -4377,34 +4722,36 @@
|
|
|
4377
4722
|
</dd>
|
|
4378
4723
|
</dl>
|
|
4379
4724
|
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
4725
|
|
|
4383
|
-
|
|
4726
|
+
|
|
4727
|
+
|
|
4384
4728
|
|
|
4385
4729
|
|
|
4386
4730
|
|
|
4387
|
-
<dt>
|
|
4388
|
-
<h4 class="name" id="set_[some_field]"><span class="type-signature">(abstract) </span>set_[some_field]<span class="signature">(value, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
4389
4731
|
|
|
4390
4732
|
|
|
4391
|
-
|
|
4392
|
-
<
|
|
4733
|
+
|
|
4734
|
+
<h4 class="name" id="set_%5Bsome_field%5D"><span class="type-signature">(abstract) </span>set_[some_field]<span class="signature">(value, noAssert<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.Message.html">ProtoBuf.Builder.Message</a>}</span></h4>
|
|
4393
4735
|
|
|
4394
4736
|
|
|
4395
|
-
|
|
4396
|
-
|
|
4737
|
+
|
|
4738
|
+
|
|
4739
|
+
|
|
4740
|
+
<div class="description">
|
|
4741
|
+
<p>Sets a value. This method is present for each field, but only if there is no name conflict with
|
|
4397
4742
|
another field.</p>
|
|
4398
|
-
|
|
4399
|
-
|
|
4743
|
+
</div>
|
|
4744
|
+
|
|
4745
|
+
|
|
4400
4746
|
|
|
4401
|
-
|
|
4402
4747
|
|
|
4403
|
-
|
|
4404
4748
|
|
|
4749
|
+
|
|
4750
|
+
|
|
4751
|
+
|
|
4752
|
+
|
|
4753
|
+
<h5>Parameters:</h5>
|
|
4405
4754
|
|
|
4406
|
-
<h5>Parameters:</h5>
|
|
4407
|
-
|
|
4408
4755
|
|
|
4409
4756
|
<table class="params">
|
|
4410
4757
|
<thead>
|
|
@@ -4493,10 +4840,20 @@
|
|
|
4493
4840
|
|
|
4494
4841
|
</tbody>
|
|
4495
4842
|
</table>
|
|
4843
|
+
|
|
4844
|
+
|
|
4845
|
+
|
|
4846
|
+
|
|
4847
|
+
|
|
4848
|
+
|
|
4849
|
+
<dl class="details">
|
|
4850
|
+
|
|
4496
4851
|
|
|
4497
4852
|
|
|
4498
4853
|
|
|
4499
|
-
|
|
4854
|
+
|
|
4855
|
+
|
|
4856
|
+
|
|
4500
4857
|
|
|
4501
4858
|
|
|
4502
4859
|
|
|
@@ -4518,7 +4875,7 @@
|
|
|
4518
4875
|
|
|
4519
4876
|
<dt class="tag-source">Source:</dt>
|
|
4520
4877
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4521
|
-
<a href="
|
|
4878
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2611">line 2611</a>
|
|
4522
4879
|
</li></ul></dd>
|
|
4523
4880
|
|
|
4524
4881
|
|
|
@@ -4530,25 +4887,26 @@
|
|
|
4530
4887
|
</dl>
|
|
4531
4888
|
|
|
4532
4889
|
|
|
4533
|
-
|
|
4534
4890
|
|
|
4535
|
-
|
|
4536
4891
|
|
|
4537
|
-
|
|
4538
4892
|
|
|
4539
|
-
|
|
4540
4893
|
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4894
|
+
|
|
4895
|
+
|
|
4896
|
+
|
|
4897
|
+
|
|
4898
|
+
|
|
4899
|
+
<h5>Throws:</h5>
|
|
4900
|
+
|
|
4901
|
+
|
|
4545
4902
|
|
|
4546
4903
|
<dl>
|
|
4547
4904
|
<dt>
|
|
4548
4905
|
<div class="param-desc">
|
|
4549
|
-
If the value cannot be set
|
|
4906
|
+
<p>If the value cannot be set</p>
|
|
4550
4907
|
</div>
|
|
4551
4908
|
</dt>
|
|
4909
|
+
<dd></dd>
|
|
4552
4910
|
<dt>
|
|
4553
4911
|
<dl>
|
|
4554
4912
|
<dt>
|
|
@@ -4562,15 +4920,16 @@
|
|
|
4562
4920
|
</dd>
|
|
4563
4921
|
</dl>
|
|
4564
4922
|
</dt>
|
|
4923
|
+
<dd></dd>
|
|
4565
4924
|
</dl>
|
|
4566
4925
|
|
|
4567
4926
|
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
<h5>Returns:</h5>
|
|
4572
4927
|
|
|
4573
|
-
|
|
4928
|
+
|
|
4929
|
+
|
|
4930
|
+
<h5>Returns:</h5>
|
|
4931
|
+
|
|
4932
|
+
|
|
4574
4933
|
<div class="param-desc">
|
|
4575
4934
|
<p>this</p>
|
|
4576
4935
|
</div>
|
|
@@ -4589,34 +4948,45 @@
|
|
|
4589
4948
|
</dd>
|
|
4590
4949
|
</dl>
|
|
4591
4950
|
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
4951
|
|
|
4595
|
-
|
|
4952
|
+
|
|
4953
|
+
|
|
4596
4954
|
|
|
4597
4955
|
|
|
4598
4956
|
|
|
4599
|
-
<dt>
|
|
4600
|
-
<h4 class="name" id="toArrayBuffer"><span class="type-signature"></span>toArrayBuffer<span class="signature">()</span><span class="type-signature"> → {ArrayBuffer}</span></h4>
|
|
4601
4957
|
|
|
4602
4958
|
|
|
4603
|
-
</dt>
|
|
4604
|
-
<dd>
|
|
4605
4959
|
|
|
4606
|
-
|
|
4607
|
-
<div class="description">
|
|
4608
|
-
<p>Returns the message as an ArrayBuffer. This is an alias for <a href="ProtoBuf.Builder.Message.html#encodeAB">ProtoBuf.Builder.Message#encodeAB</a>.</p>
|
|
4609
|
-
</div>
|
|
4610
|
-
|
|
4960
|
+
<h4 class="name" id="toArrayBuffer"><span class="type-signature"></span>toArrayBuffer<span class="signature">()</span><span class="type-signature"> → {ArrayBuffer}</span></h4>
|
|
4611
4961
|
|
|
4612
4962
|
|
|
4613
4963
|
|
|
4964
|
+
|
|
4965
|
+
|
|
4966
|
+
<div class="description">
|
|
4967
|
+
<p>Returns the message as an ArrayBuffer. This is an alias for <a href="ProtoBuf.Builder.Message.html#encodeAB">ProtoBuf.Builder.Message#encodeAB</a>.</p>
|
|
4968
|
+
</div>
|
|
4969
|
+
|
|
4970
|
+
|
|
4971
|
+
|
|
4972
|
+
|
|
4973
|
+
|
|
4974
|
+
|
|
4975
|
+
|
|
4976
|
+
|
|
4977
|
+
|
|
4978
|
+
|
|
4979
|
+
|
|
4980
|
+
|
|
4981
|
+
|
|
4982
|
+
<dl class="details">
|
|
4983
|
+
|
|
4614
4984
|
|
|
4615
4985
|
|
|
4616
4986
|
|
|
4617
4987
|
|
|
4618
4988
|
|
|
4619
|
-
|
|
4989
|
+
|
|
4620
4990
|
|
|
4621
4991
|
|
|
4622
4992
|
|
|
@@ -4638,7 +5008,7 @@
|
|
|
4638
5008
|
|
|
4639
5009
|
<dt class="tag-source">Source:</dt>
|
|
4640
5010
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4641
|
-
<a href="
|
|
5011
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2748">line 2748</a>
|
|
4642
5012
|
</li></ul></dd>
|
|
4643
5013
|
|
|
4644
5014
|
|
|
@@ -4650,25 +5020,27 @@
|
|
|
4650
5020
|
</dl>
|
|
4651
5021
|
|
|
4652
5022
|
|
|
4653
|
-
|
|
4654
5023
|
|
|
4655
|
-
|
|
4656
5024
|
|
|
4657
|
-
|
|
4658
5025
|
|
|
4659
|
-
|
|
4660
5026
|
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
5027
|
+
|
|
5028
|
+
|
|
5029
|
+
|
|
5030
|
+
|
|
5031
|
+
|
|
5032
|
+
<h5>Throws:</h5>
|
|
5033
|
+
|
|
5034
|
+
|
|
4665
5035
|
|
|
4666
5036
|
<dl>
|
|
4667
5037
|
<dt>
|
|
4668
5038
|
<div class="param-desc">
|
|
4669
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
4670
5039
|
returns the encoded ArrayBuffer in the `encoded` property on the error.
|
|
5040
|
+
<p>If the message cannot be encoded or if required fields are missing. The later still
|
|
5041
|
+
returns the encoded ArrayBuffer in the <code>encoded</code> property on the error.</p>
|
|
4671
5042
|
</div>
|
|
4672
5043
|
</dt>
|
|
5044
|
+
<dd></dd>
|
|
4673
5045
|
<dt>
|
|
4674
5046
|
<dl>
|
|
4675
5047
|
<dt>
|
|
@@ -4682,15 +5054,16 @@
|
|
|
4682
5054
|
</dd>
|
|
4683
5055
|
</dl>
|
|
4684
5056
|
</dt>
|
|
5057
|
+
<dd></dd>
|
|
4685
5058
|
</dl>
|
|
4686
5059
|
|
|
4687
5060
|
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
5061
|
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
5062
|
+
|
|
5063
|
+
|
|
5064
|
+
<h5>Returns:</h5>
|
|
5065
|
+
|
|
5066
|
+
|
|
4694
5067
|
<div class="param-desc">
|
|
4695
5068
|
<p>Encoded message as ArrayBuffer</p>
|
|
4696
5069
|
</div>
|
|
@@ -4709,34 +5082,45 @@
|
|
|
4709
5082
|
</dd>
|
|
4710
5083
|
</dl>
|
|
4711
5084
|
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
5085
|
|
|
4715
|
-
|
|
5086
|
+
|
|
5087
|
+
|
|
4716
5088
|
|
|
4717
5089
|
|
|
4718
5090
|
|
|
4719
|
-
<dt>
|
|
4720
|
-
<h4 class="name" id="toBase64"><span class="type-signature"></span>toBase64<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
4721
5091
|
|
|
4722
5092
|
|
|
4723
|
-
</dt>
|
|
4724
|
-
<dd>
|
|
4725
5093
|
|
|
4726
|
-
|
|
4727
|
-
<div class="description">
|
|
4728
|
-
<p>Returns the message as a base64 encoded string. This is an alias for <a href="ProtoBuf.Builder.Message.html#encode64">ProtoBuf.Builder.Message#encode64</a>.</p>
|
|
4729
|
-
</div>
|
|
4730
|
-
|
|
5094
|
+
<h4 class="name" id="toBase64"><span class="type-signature"></span>toBase64<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
4731
5095
|
|
|
4732
5096
|
|
|
4733
5097
|
|
|
5098
|
+
|
|
5099
|
+
|
|
5100
|
+
<div class="description">
|
|
5101
|
+
<p>Returns the message as a base64 encoded string. This is an alias for <a href="ProtoBuf.Builder.Message.html#encode64">ProtoBuf.Builder.Message#encode64</a>.</p>
|
|
5102
|
+
</div>
|
|
5103
|
+
|
|
5104
|
+
|
|
5105
|
+
|
|
5106
|
+
|
|
5107
|
+
|
|
5108
|
+
|
|
5109
|
+
|
|
5110
|
+
|
|
5111
|
+
|
|
5112
|
+
|
|
5113
|
+
|
|
5114
|
+
|
|
5115
|
+
|
|
5116
|
+
<dl class="details">
|
|
5117
|
+
|
|
4734
5118
|
|
|
4735
5119
|
|
|
4736
5120
|
|
|
4737
5121
|
|
|
4738
5122
|
|
|
4739
|
-
|
|
5123
|
+
|
|
4740
5124
|
|
|
4741
5125
|
|
|
4742
5126
|
|
|
@@ -4758,7 +5142,7 @@
|
|
|
4758
5142
|
|
|
4759
5143
|
<dt class="tag-source">Source:</dt>
|
|
4760
5144
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4761
|
-
<a href="
|
|
5145
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2806">line 2806</a>
|
|
4762
5146
|
</li></ul></dd>
|
|
4763
5147
|
|
|
4764
5148
|
|
|
@@ -4770,25 +5154,27 @@
|
|
|
4770
5154
|
</dl>
|
|
4771
5155
|
|
|
4772
5156
|
|
|
4773
|
-
|
|
4774
5157
|
|
|
4775
|
-
|
|
4776
5158
|
|
|
4777
|
-
|
|
4778
5159
|
|
|
4779
|
-
|
|
4780
5160
|
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
5161
|
+
|
|
5162
|
+
|
|
5163
|
+
|
|
5164
|
+
|
|
5165
|
+
|
|
5166
|
+
<h5>Throws:</h5>
|
|
5167
|
+
|
|
5168
|
+
|
|
4785
5169
|
|
|
4786
5170
|
<dl>
|
|
4787
5171
|
<dt>
|
|
4788
5172
|
<div class="param-desc">
|
|
4789
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
4790
5173
|
returns the encoded base64 string in the `encoded` property on the error.
|
|
5174
|
+
<p>If the message cannot be encoded or if required fields are missing. The later still
|
|
5175
|
+
returns the encoded base64 string in the <code>encoded</code> property on the error.</p>
|
|
4791
5176
|
</div>
|
|
4792
5177
|
</dt>
|
|
5178
|
+
<dd></dd>
|
|
4793
5179
|
<dt>
|
|
4794
5180
|
<dl>
|
|
4795
5181
|
<dt>
|
|
@@ -4802,15 +5188,16 @@
|
|
|
4802
5188
|
</dd>
|
|
4803
5189
|
</dl>
|
|
4804
5190
|
</dt>
|
|
5191
|
+
<dd></dd>
|
|
4805
5192
|
</dl>
|
|
4806
5193
|
|
|
4807
5194
|
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
<h5>Returns:</h5>
|
|
4812
5195
|
|
|
4813
|
-
|
|
5196
|
+
|
|
5197
|
+
|
|
5198
|
+
<h5>Returns:</h5>
|
|
5199
|
+
|
|
5200
|
+
|
|
4814
5201
|
<div class="param-desc">
|
|
4815
5202
|
<p>Base64 encoded string</p>
|
|
4816
5203
|
</div>
|
|
@@ -4829,34 +5216,45 @@
|
|
|
4829
5216
|
</dd>
|
|
4830
5217
|
</dl>
|
|
4831
5218
|
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
5219
|
|
|
4835
|
-
|
|
5220
|
+
|
|
5221
|
+
|
|
4836
5222
|
|
|
4837
5223
|
|
|
4838
5224
|
|
|
4839
|
-
<dt>
|
|
4840
|
-
<h4 class="name" id="toBuffer"><span class="type-signature"></span>toBuffer<span class="signature">()</span><span class="type-signature"> → (non-null) {Buffer}</span></h4>
|
|
4841
5225
|
|
|
4842
5226
|
|
|
4843
|
-
</dt>
|
|
4844
|
-
<dd>
|
|
4845
5227
|
|
|
4846
|
-
|
|
4847
|
-
<div class="description">
|
|
4848
|
-
<p>Returns the message as a node Buffer. This is an alias for <a href="ProtoBuf.Builder.Message.html#encodeNB">ProtoBuf.Builder.Message#encodeNB</a>.</p>
|
|
4849
|
-
</div>
|
|
4850
|
-
|
|
5228
|
+
<h4 class="name" id="toBuffer"><span class="type-signature"></span>toBuffer<span class="signature">()</span><span class="type-signature"> → (non-null) {Buffer}</span></h4>
|
|
4851
5229
|
|
|
4852
5230
|
|
|
4853
5231
|
|
|
5232
|
+
|
|
5233
|
+
|
|
5234
|
+
<div class="description">
|
|
5235
|
+
<p>Returns the message as a node Buffer. This is an alias for <a href="ProtoBuf.Builder.Message.html#encodeNB">ProtoBuf.Builder.Message#encodeNB</a>.</p>
|
|
5236
|
+
</div>
|
|
5237
|
+
|
|
5238
|
+
|
|
5239
|
+
|
|
5240
|
+
|
|
5241
|
+
|
|
5242
|
+
|
|
5243
|
+
|
|
5244
|
+
|
|
5245
|
+
|
|
5246
|
+
|
|
5247
|
+
|
|
5248
|
+
|
|
5249
|
+
|
|
5250
|
+
<dl class="details">
|
|
5251
|
+
|
|
4854
5252
|
|
|
4855
5253
|
|
|
4856
5254
|
|
|
4857
5255
|
|
|
4858
5256
|
|
|
4859
|
-
|
|
5257
|
+
|
|
4860
5258
|
|
|
4861
5259
|
|
|
4862
5260
|
|
|
@@ -4878,7 +5276,7 @@
|
|
|
4878
5276
|
|
|
4879
5277
|
<dt class="tag-source">Source:</dt>
|
|
4880
5278
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4881
|
-
<a href="
|
|
5279
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2777">line 2777</a>
|
|
4882
5280
|
</li></ul></dd>
|
|
4883
5281
|
|
|
4884
5282
|
|
|
@@ -4890,25 +5288,27 @@
|
|
|
4890
5288
|
</dl>
|
|
4891
5289
|
|
|
4892
5290
|
|
|
4893
|
-
|
|
4894
5291
|
|
|
4895
|
-
|
|
4896
5292
|
|
|
4897
|
-
|
|
4898
5293
|
|
|
4899
|
-
|
|
4900
5294
|
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
5295
|
+
|
|
5296
|
+
|
|
5297
|
+
|
|
5298
|
+
|
|
5299
|
+
|
|
5300
|
+
<h5>Throws:</h5>
|
|
5301
|
+
|
|
5302
|
+
|
|
4905
5303
|
|
|
4906
5304
|
<dl>
|
|
4907
5305
|
<dt>
|
|
4908
5306
|
<div class="param-desc">
|
|
4909
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
4910
5307
|
returns the encoded node Buffer in the `encoded` property on the error.
|
|
5308
|
+
<p>If the message cannot be encoded or if required fields are missing. The later still
|
|
5309
|
+
returns the encoded node Buffer in the <code>encoded</code> property on the error.</p>
|
|
4911
5310
|
</div>
|
|
4912
5311
|
</dt>
|
|
5312
|
+
<dd></dd>
|
|
4913
5313
|
<dt>
|
|
4914
5314
|
<dl>
|
|
4915
5315
|
<dt>
|
|
@@ -4922,15 +5322,16 @@
|
|
|
4922
5322
|
</dd>
|
|
4923
5323
|
</dl>
|
|
4924
5324
|
</dt>
|
|
5325
|
+
<dd></dd>
|
|
4925
5326
|
</dl>
|
|
4926
5327
|
|
|
4927
5328
|
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
5329
|
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
5330
|
+
|
|
5331
|
+
|
|
5332
|
+
<h5>Returns:</h5>
|
|
5333
|
+
|
|
5334
|
+
|
|
4934
5335
|
|
|
4935
5336
|
|
|
4936
5337
|
<dl>
|
|
@@ -4945,34 +5346,45 @@
|
|
|
4945
5346
|
</dd>
|
|
4946
5347
|
</dl>
|
|
4947
5348
|
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
5349
|
|
|
4951
|
-
|
|
5350
|
+
|
|
5351
|
+
|
|
4952
5352
|
|
|
4953
5353
|
|
|
4954
5354
|
|
|
4955
|
-
<dt>
|
|
4956
|
-
<h4 class="name" id="toHex"><span class="type-signature"></span>toHex<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
4957
5355
|
|
|
4958
5356
|
|
|
4959
|
-
</dt>
|
|
4960
|
-
<dd>
|
|
4961
5357
|
|
|
4962
|
-
|
|
4963
|
-
<div class="description">
|
|
4964
|
-
<p>Returns the message as a hex encoded string. This is an alias for <a href="ProtoBuf.Builder.Message.html#encodeHex">ProtoBuf.Builder.Message#encodeHex</a>.</p>
|
|
4965
|
-
</div>
|
|
4966
|
-
|
|
5358
|
+
<h4 class="name" id="toHex"><span class="type-signature"></span>toHex<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
4967
5359
|
|
|
4968
5360
|
|
|
4969
5361
|
|
|
5362
|
+
|
|
5363
|
+
|
|
5364
|
+
<div class="description">
|
|
5365
|
+
<p>Returns the message as a hex encoded string. This is an alias for <a href="ProtoBuf.Builder.Message.html#encodeHex">ProtoBuf.Builder.Message#encodeHex</a>.</p>
|
|
5366
|
+
</div>
|
|
5367
|
+
|
|
5368
|
+
|
|
5369
|
+
|
|
5370
|
+
|
|
5371
|
+
|
|
5372
|
+
|
|
5373
|
+
|
|
5374
|
+
|
|
5375
|
+
|
|
5376
|
+
|
|
5377
|
+
|
|
5378
|
+
|
|
5379
|
+
|
|
5380
|
+
<dl class="details">
|
|
5381
|
+
|
|
4970
5382
|
|
|
4971
5383
|
|
|
4972
5384
|
|
|
4973
5385
|
|
|
4974
5386
|
|
|
4975
|
-
|
|
5387
|
+
|
|
4976
5388
|
|
|
4977
5389
|
|
|
4978
5390
|
|
|
@@ -4994,7 +5406,7 @@
|
|
|
4994
5406
|
|
|
4995
5407
|
<dt class="tag-source">Source:</dt>
|
|
4996
5408
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4997
|
-
<a href="
|
|
5409
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2835">line 2835</a>
|
|
4998
5410
|
</li></ul></dd>
|
|
4999
5411
|
|
|
5000
5412
|
|
|
@@ -5006,25 +5418,27 @@
|
|
|
5006
5418
|
</dl>
|
|
5007
5419
|
|
|
5008
5420
|
|
|
5009
|
-
|
|
5010
5421
|
|
|
5011
|
-
|
|
5012
5422
|
|
|
5013
|
-
|
|
5014
5423
|
|
|
5015
|
-
|
|
5016
5424
|
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5425
|
+
|
|
5426
|
+
|
|
5427
|
+
|
|
5428
|
+
|
|
5429
|
+
|
|
5430
|
+
<h5>Throws:</h5>
|
|
5431
|
+
|
|
5432
|
+
|
|
5021
5433
|
|
|
5022
5434
|
<dl>
|
|
5023
5435
|
<dt>
|
|
5024
5436
|
<div class="param-desc">
|
|
5025
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
5026
5437
|
returns the encoded hex string in the `encoded` property on the error.
|
|
5438
|
+
<p>If the message cannot be encoded or if required fields are missing. The later still
|
|
5439
|
+
returns the encoded hex string in the <code>encoded</code> property on the error.</p>
|
|
5027
5440
|
</div>
|
|
5028
5441
|
</dt>
|
|
5442
|
+
<dd></dd>
|
|
5029
5443
|
<dt>
|
|
5030
5444
|
<dl>
|
|
5031
5445
|
<dt>
|
|
@@ -5038,15 +5452,16 @@
|
|
|
5038
5452
|
</dd>
|
|
5039
5453
|
</dl>
|
|
5040
5454
|
</dt>
|
|
5455
|
+
<dd></dd>
|
|
5041
5456
|
</dl>
|
|
5042
5457
|
|
|
5043
5458
|
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
<h5>Returns:</h5>
|
|
5048
5459
|
|
|
5049
|
-
|
|
5460
|
+
|
|
5461
|
+
|
|
5462
|
+
<h5>Returns:</h5>
|
|
5463
|
+
|
|
5464
|
+
|
|
5050
5465
|
<div class="param-desc">
|
|
5051
5466
|
<p>Hex encoded string</p>
|
|
5052
5467
|
</div>
|
|
@@ -5065,33 +5480,35 @@
|
|
|
5065
5480
|
</dd>
|
|
5066
5481
|
</dl>
|
|
5067
5482
|
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
5483
|
|
|
5071
|
-
|
|
5484
|
+
|
|
5485
|
+
|
|
5072
5486
|
|
|
5073
5487
|
|
|
5074
5488
|
|
|
5075
|
-
<dt>
|
|
5076
|
-
<h4 class="name" id="toRaw"><span class="type-signature"></span>toRaw<span class="signature">(binaryAsBase64<span class="signature-attributes">opt</span>, longsAsStrings)</span><span class="type-signature"> → {Object.<string, *>}</span></h4>
|
|
5077
5489
|
|
|
5078
5490
|
|
|
5079
|
-
</dt>
|
|
5080
|
-
<dd>
|
|
5081
5491
|
|
|
5082
|
-
|
|
5083
|
-
<div class="description">
|
|
5084
|
-
<p>Returns the message's raw payload.</p>
|
|
5085
|
-
</div>
|
|
5086
|
-
|
|
5492
|
+
<h4 class="name" id="toRaw"><span class="type-signature"></span>toRaw<span class="signature">(binaryAsBase64<span class="signature-attributes">opt</span>, longsAsStrings)</span><span class="type-signature"> → {Object.<string, *>}</span></h4>
|
|
5087
5493
|
|
|
5088
5494
|
|
|
5089
5495
|
|
|
5090
|
-
|
|
5091
5496
|
|
|
5497
|
+
|
|
5498
|
+
<div class="description">
|
|
5499
|
+
<p>Returns the message's raw payload.</p>
|
|
5500
|
+
</div>
|
|
5501
|
+
|
|
5502
|
+
|
|
5503
|
+
|
|
5504
|
+
|
|
5505
|
+
|
|
5506
|
+
|
|
5507
|
+
|
|
5508
|
+
|
|
5509
|
+
|
|
5510
|
+
<h5>Parameters:</h5>
|
|
5092
5511
|
|
|
5093
|
-
<h5>Parameters:</h5>
|
|
5094
|
-
|
|
5095
5512
|
|
|
5096
5513
|
<table class="params">
|
|
5097
5514
|
<thead>
|
|
@@ -5180,10 +5597,20 @@
|
|
|
5180
5597
|
|
|
5181
5598
|
</tbody>
|
|
5182
5599
|
</table>
|
|
5600
|
+
|
|
5601
|
+
|
|
5602
|
+
|
|
5603
|
+
|
|
5604
|
+
|
|
5605
|
+
|
|
5606
|
+
<dl class="details">
|
|
5607
|
+
|
|
5183
5608
|
|
|
5184
5609
|
|
|
5185
5610
|
|
|
5186
|
-
|
|
5611
|
+
|
|
5612
|
+
|
|
5613
|
+
|
|
5187
5614
|
|
|
5188
5615
|
|
|
5189
5616
|
|
|
@@ -5205,7 +5632,7 @@
|
|
|
5205
5632
|
|
|
5206
5633
|
<dt class="tag-source">Source:</dt>
|
|
5207
5634
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5208
|
-
<a href="
|
|
5635
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2909">line 2909</a>
|
|
5209
5636
|
</li></ul></dd>
|
|
5210
5637
|
|
|
5211
5638
|
|
|
@@ -5217,20 +5644,20 @@
|
|
|
5217
5644
|
</dl>
|
|
5218
5645
|
|
|
5219
5646
|
|
|
5220
|
-
|
|
5221
5647
|
|
|
5222
|
-
|
|
5223
5648
|
|
|
5224
|
-
|
|
5225
5649
|
|
|
5226
|
-
|
|
5227
5650
|
|
|
5228
|
-
|
|
5229
5651
|
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5652
|
+
|
|
5653
|
+
|
|
5654
|
+
|
|
5655
|
+
|
|
5656
|
+
|
|
5657
|
+
|
|
5658
|
+
<h5>Returns:</h5>
|
|
5659
|
+
|
|
5660
|
+
|
|
5234
5661
|
<div class="param-desc">
|
|
5235
5662
|
<p>Raw payload</p>
|
|
5236
5663
|
</div>
|
|
@@ -5249,34 +5676,45 @@
|
|
|
5249
5676
|
</dd>
|
|
5250
5677
|
</dl>
|
|
5251
5678
|
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
5679
|
|
|
5255
|
-
|
|
5680
|
+
|
|
5681
|
+
|
|
5256
5682
|
|
|
5257
5683
|
|
|
5258
5684
|
|
|
5259
|
-
<dt>
|
|
5260
|
-
<h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
5261
5685
|
|
|
5262
5686
|
|
|
5263
|
-
</dt>
|
|
5264
|
-
<dd>
|
|
5265
5687
|
|
|
5266
|
-
|
|
5267
|
-
<div class="description">
|
|
5268
|
-
<p>Returns a string representation of this Message.</p>
|
|
5269
|
-
</div>
|
|
5270
|
-
|
|
5688
|
+
<h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
5271
5689
|
|
|
5272
5690
|
|
|
5273
5691
|
|
|
5692
|
+
|
|
5693
|
+
|
|
5694
|
+
<div class="description">
|
|
5695
|
+
<p>Returns a string representation of this Message.</p>
|
|
5696
|
+
</div>
|
|
5697
|
+
|
|
5698
|
+
|
|
5699
|
+
|
|
5700
|
+
|
|
5701
|
+
|
|
5702
|
+
|
|
5703
|
+
|
|
5704
|
+
|
|
5705
|
+
|
|
5706
|
+
|
|
5707
|
+
|
|
5708
|
+
|
|
5709
|
+
|
|
5710
|
+
<dl class="details">
|
|
5711
|
+
|
|
5274
5712
|
|
|
5275
5713
|
|
|
5276
5714
|
|
|
5277
5715
|
|
|
5278
5716
|
|
|
5279
|
-
|
|
5717
|
+
|
|
5280
5718
|
|
|
5281
5719
|
|
|
5282
5720
|
|
|
@@ -5298,7 +5736,7 @@
|
|
|
5298
5736
|
|
|
5299
5737
|
<dt class="tag-source">Source:</dt>
|
|
5300
5738
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5301
|
-
<a href="
|
|
5739
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line3039">line 3039</a>
|
|
5302
5740
|
</li></ul></dd>
|
|
5303
5741
|
|
|
5304
5742
|
|
|
@@ -5310,20 +5748,20 @@
|
|
|
5310
5748
|
</dl>
|
|
5311
5749
|
|
|
5312
5750
|
|
|
5313
|
-
|
|
5314
5751
|
|
|
5315
|
-
|
|
5316
5752
|
|
|
5317
|
-
|
|
5318
5753
|
|
|
5319
|
-
|
|
5320
5754
|
|
|
5321
|
-
|
|
5322
5755
|
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5756
|
+
|
|
5757
|
+
|
|
5758
|
+
|
|
5759
|
+
|
|
5760
|
+
|
|
5761
|
+
|
|
5762
|
+
<h5>Returns:</h5>
|
|
5763
|
+
|
|
5764
|
+
|
|
5327
5765
|
<div class="param-desc">
|
|
5328
5766
|
<p>String representation as of ".Fully.Qualified.MessageName"</p>
|
|
5329
5767
|
</div>
|
|
@@ -5342,12 +5780,11 @@
|
|
|
5342
5780
|
</dd>
|
|
5343
5781
|
</dl>
|
|
5344
5782
|
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
5783
|
|
|
5348
|
-
</dd>
|
|
5349
5784
|
|
|
5350
|
-
|
|
5785
|
+
|
|
5786
|
+
|
|
5787
|
+
|
|
5351
5788
|
|
|
5352
5789
|
|
|
5353
5790
|
|
|
@@ -5363,13 +5800,13 @@
|
|
|
5363
5800
|
</div>
|
|
5364
5801
|
|
|
5365
5802
|
<nav>
|
|
5366
|
-
<h2><a href="index.html">
|
|
5803
|
+
<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>
|
|
5367
5804
|
</nav>
|
|
5368
5805
|
|
|
5369
|
-
<br
|
|
5806
|
+
<br class="clear">
|
|
5370
5807
|
|
|
5371
5808
|
<footer>
|
|
5372
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.
|
|
5809
|
+
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)
|
|
5373
5810
|
</footer>
|
|
5374
5811
|
|
|
5375
5812
|
<script> prettyPrint(); </script>
|