protobufjs 4.1.2 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.travis.yml +3 -1
- package/README.md +147 -25
- package/bin/pbjs +2 -2
- package/bower.json +3 -3
- package/cli/pbjs/targets/amd.js +1 -1
- package/cli/pbjs/targets/json.js +9 -1
- package/cli/pbjs/targets/proto.js +48 -24
- package/cli/pbjs/util.js +1 -1
- package/cli/pbjs.js +9 -2
- package/dist/README.md +10 -10
- package/dist/{ProtoBuf-light.js → protobuf-light.js} +207 -152
- package/dist/protobuf-light.min.js +94 -0
- package/dist/protobuf-light.min.js.gz +0 -0
- package/dist/protobuf-light.min.map +8 -0
- package/dist/{ProtoBuf.js → protobuf.js} +265 -175
- package/dist/protobuf.min.js +116 -0
- package/dist/protobuf.min.js.gz +0 -0
- package/dist/protobuf.min.map +8 -0
- package/docs/ProtoBuf.Builder.Message.html +1473 -967
- 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 +919 -652
- 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 +271 -180
- 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/donate.png +0 -0
- 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 → protobuf.js} +933 -922
- package/index.js +1 -18
- package/jsdoc.json +1 -1
- package/package.json +11 -11
- package/protobuf.png +0 -0
- package/scripts/build.js +53 -58
- package/src/ProtoBuf/Builder/Message.js +18 -9
- package/src/ProtoBuf/Builder/Service.js +3 -0
- package/src/ProtoBuf/Builder.js +34 -10
- package/src/ProtoBuf/DotProto/Parser.js +58 -23
- package/src/ProtoBuf/Reflect/Element.js +17 -4
- package/src/ProtoBuf/Reflect/Message/Field.js +6 -5
- package/src/ProtoBuf/Reflect/Message.js +9 -4
- package/src/ProtoBuf/Util.js +116 -116
- package/src/bower.json +2 -2
- package/src/google/protobuf/descriptor.json +55 -15
- package/src/{ProtoBuf.js → protobuf.js} +0 -0
- package/src/wrap.js +4 -4
- 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-weak.proto +7 -0
- 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 +107 -82
- package/ProtoBuf.png +0 -0
- package/dist/ProtoBuf-light.min.js +0 -87
- package/dist/ProtoBuf-light.min.js.gz +0 -0
- package/dist/ProtoBuf-light.min.map +0 -8
- package/dist/ProtoBuf.min.js +0 -108
- package/dist/ProtoBuf.min.js.gz +0 -0
- package/dist/ProtoBuf.min.map +0 -8
- package/externs/ByteBuffer.js +0 -767
- package/externs/Long.js +0 -328
- 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/issue42/innerextend.proto +0 -18
- package/sandbox/issue42/main.js +0 -8
- package/sandbox/issue42/outerextend.proto +0 -17
- package/tests/gtfs-realtime.proto +0 -552
- package/webpack.config.js +0 -9
|
@@ -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, 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>
|
|
@@ -605,6 +647,42 @@
|
|
|
605
647
|
|
|
606
648
|
|
|
607
649
|
|
|
650
|
+
<tr>
|
|
651
|
+
|
|
652
|
+
<td class="name"><code>length</code></td>
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
<td class="type">
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
<span class="param-type">number</span>
|
|
659
|
+
|
|
|
660
|
+
|
|
661
|
+
<span class="param-type">string</span>
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
</td>
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
<td class="attributes">
|
|
669
|
+
|
|
670
|
+
<optional><br>
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
</td>
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
<td class="description last"><p>Message length. Defaults to decode all the remainig data.</p></td>
|
|
682
|
+
</tr>
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
608
686
|
<tr>
|
|
609
687
|
|
|
610
688
|
<td class="name"><code>enc</code></td>
|
|
@@ -639,10 +717,20 @@
|
|
|
639
717
|
|
|
640
718
|
</tbody>
|
|
641
719
|
</table>
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
<dl class="details">
|
|
727
|
+
|
|
642
728
|
|
|
643
729
|
|
|
644
730
|
|
|
645
|
-
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
646
734
|
|
|
647
735
|
|
|
648
736
|
|
|
@@ -664,7 +752,7 @@
|
|
|
664
752
|
|
|
665
753
|
<dt class="tag-source">Source:</dt>
|
|
666
754
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
667
|
-
<a href="
|
|
755
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2928">line 2928</a>
|
|
668
756
|
</li></ul></dd>
|
|
669
757
|
|
|
670
758
|
|
|
@@ -674,9 +762,9 @@
|
|
|
674
762
|
<dt class="tag-see">See:</dt>
|
|
675
763
|
<dd class="tag-see">
|
|
676
764
|
<ul>
|
|
677
|
-
<li><a href="ProtoBuf.Builder.Message.html
|
|
765
|
+
<li><a href="ProtoBuf.Builder.Message.html#.decode64">ProtoBuf.Builder.Message.decode64</a></li>
|
|
678
766
|
|
|
679
|
-
<li><a href="ProtoBuf.Builder.Message.html
|
|
767
|
+
<li><a href="ProtoBuf.Builder.Message.html#.decodeHex">ProtoBuf.Builder.Message.decodeHex</a></li>
|
|
680
768
|
</ul>
|
|
681
769
|
</dd>
|
|
682
770
|
|
|
@@ -685,25 +773,27 @@
|
|
|
685
773
|
</dl>
|
|
686
774
|
|
|
687
775
|
|
|
688
|
-
|
|
689
776
|
|
|
690
|
-
|
|
691
777
|
|
|
692
|
-
|
|
693
778
|
|
|
694
|
-
|
|
695
779
|
|
|
696
|
-
|
|
697
|
-
<h5>Throws:</h5>
|
|
698
|
-
|
|
699
|
-
|
|
700
780
|
|
|
701
|
-
<dl>
|
|
702
|
-
<dt>
|
|
703
|
-
<div class="param-desc">
|
|
704
|
-
If the message cannot be decoded or if required fields are missing. The later still
|
|
705
781
|
returns the decoded message with missing fields in the `decoded` property on the error.
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
<h5>Throws:</h5>
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
<dl>
|
|
791
|
+
<dt>
|
|
792
|
+
<div class="param-desc">
|
|
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>
|
|
706
795
|
</div>
|
|
707
796
|
</dt>
|
|
797
|
+
<dd></dd>
|
|
708
798
|
<dt>
|
|
709
799
|
<dl>
|
|
710
800
|
<dt>
|
|
@@ -717,15 +807,16 @@
|
|
|
717
807
|
</dd>
|
|
718
808
|
</dl>
|
|
719
809
|
</dt>
|
|
810
|
+
<dd></dd>
|
|
720
811
|
</dl>
|
|
721
812
|
|
|
722
813
|
|
|
723
|
-
|
|
724
|
-
|
|
725
814
|
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
<h5>Returns:</h5>
|
|
818
|
+
|
|
819
|
+
|
|
729
820
|
<div class="param-desc">
|
|
730
821
|
<p>Decoded message</p>
|
|
731
822
|
</div>
|
|
@@ -744,33 +835,35 @@
|
|
|
744
835
|
</dd>
|
|
745
836
|
</dl>
|
|
746
837
|
|
|
747
|
-
|
|
748
|
-
|
|
749
838
|
|
|
750
|
-
|
|
839
|
+
|
|
840
|
+
|
|
751
841
|
|
|
752
842
|
|
|
753
843
|
|
|
754
|
-
<dt>
|
|
755
|
-
<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>
|
|
756
844
|
|
|
757
845
|
|
|
758
|
-
</dt>
|
|
759
|
-
<dd>
|
|
760
846
|
|
|
761
|
-
|
|
762
|
-
<div class="description">
|
|
763
|
-
<p>Decodes the message from the specified base64 encoded string.</p>
|
|
764
|
-
</div>
|
|
765
|
-
|
|
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>
|
|
766
848
|
|
|
767
849
|
|
|
768
850
|
|
|
769
|
-
|
|
770
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>
|
|
771
866
|
|
|
772
|
-
<h5>Parameters:</h5>
|
|
773
|
-
|
|
774
867
|
|
|
775
868
|
<table class="params">
|
|
776
869
|
<thead>
|
|
@@ -816,10 +909,20 @@
|
|
|
816
909
|
|
|
817
910
|
</tbody>
|
|
818
911
|
</table>
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
<dl class="details">
|
|
919
|
+
|
|
819
920
|
|
|
820
921
|
|
|
821
922
|
|
|
822
|
-
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
|
|
823
926
|
|
|
824
927
|
|
|
825
928
|
|
|
@@ -841,7 +944,7 @@
|
|
|
841
944
|
|
|
842
945
|
<dt class="tag-source">Source:</dt>
|
|
843
946
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
844
|
-
<a href="
|
|
947
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2995">line 2995</a>
|
|
845
948
|
</li></ul></dd>
|
|
846
949
|
|
|
847
950
|
|
|
@@ -853,25 +956,27 @@
|
|
|
853
956
|
</dl>
|
|
854
957
|
|
|
855
958
|
|
|
856
|
-
|
|
857
959
|
|
|
858
|
-
|
|
859
960
|
|
|
860
|
-
|
|
861
961
|
|
|
862
|
-
|
|
863
962
|
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
<h5>Throws:</h5>
|
|
969
|
+
|
|
970
|
+
|
|
868
971
|
|
|
869
972
|
<dl>
|
|
870
973
|
<dt>
|
|
871
974
|
<div class="param-desc">
|
|
872
|
-
If the message cannot be decoded or if required fields are missing. The later still
|
|
873
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>
|
|
874
978
|
</div>
|
|
875
979
|
</dt>
|
|
980
|
+
<dd></dd>
|
|
876
981
|
<dt>
|
|
877
982
|
<dl>
|
|
878
983
|
<dt>
|
|
@@ -885,15 +990,16 @@
|
|
|
885
990
|
</dd>
|
|
886
991
|
</dl>
|
|
887
992
|
</dt>
|
|
993
|
+
<dd></dd>
|
|
888
994
|
</dl>
|
|
889
995
|
|
|
890
996
|
|
|
891
|
-
|
|
892
|
-
|
|
893
997
|
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
<h5>Returns:</h5>
|
|
1001
|
+
|
|
1002
|
+
|
|
897
1003
|
<div class="param-desc">
|
|
898
1004
|
<p>Decoded message</p>
|
|
899
1005
|
</div>
|
|
@@ -912,33 +1018,35 @@
|
|
|
912
1018
|
</dd>
|
|
913
1019
|
</dl>
|
|
914
1020
|
|
|
915
|
-
|
|
916
|
-
|
|
917
1021
|
|
|
918
|
-
|
|
1022
|
+
|
|
1023
|
+
|
|
919
1024
|
|
|
920
1025
|
|
|
921
1026
|
|
|
922
|
-
<dt>
|
|
923
|
-
<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>
|
|
924
1027
|
|
|
925
1028
|
|
|
926
|
-
</dt>
|
|
927
|
-
<dd>
|
|
928
1029
|
|
|
929
|
-
|
|
930
|
-
<div class="description">
|
|
931
|
-
<p>Decodes a varint32 length-delimited message from the specified buffer or string.</p>
|
|
932
|
-
</div>
|
|
933
|
-
|
|
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>
|
|
934
1031
|
|
|
935
1032
|
|
|
936
1033
|
|
|
937
|
-
|
|
938
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>
|
|
939
1049
|
|
|
940
|
-
<h5>Parameters:</h5>
|
|
941
|
-
|
|
942
1050
|
|
|
943
1051
|
<table class="params">
|
|
944
1052
|
<thead>
|
|
@@ -1036,10 +1144,20 @@
|
|
|
1036
1144
|
|
|
1037
1145
|
</tbody>
|
|
1038
1146
|
</table>
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
<dl class="details">
|
|
1154
|
+
|
|
1039
1155
|
|
|
1040
1156
|
|
|
1041
1157
|
|
|
1042
|
-
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
|
|
1043
1161
|
|
|
1044
1162
|
|
|
1045
1163
|
|
|
@@ -1061,7 +1179,7 @@
|
|
|
1061
1179
|
|
|
1062
1180
|
<dt class="tag-source">Source:</dt>
|
|
1063
1181
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1064
|
-
<a href="
|
|
1182
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2961">line 2961</a>
|
|
1065
1183
|
</li></ul></dd>
|
|
1066
1184
|
|
|
1067
1185
|
|
|
@@ -1073,25 +1191,27 @@
|
|
|
1073
1191
|
</dl>
|
|
1074
1192
|
|
|
1075
1193
|
|
|
1076
|
-
|
|
1077
1194
|
|
|
1078
|
-
|
|
1079
1195
|
|
|
1080
|
-
|
|
1081
1196
|
|
|
1082
|
-
|
|
1083
1197
|
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
<h5>Throws:</h5>
|
|
1204
|
+
|
|
1205
|
+
|
|
1088
1206
|
|
|
1089
1207
|
<dl>
|
|
1090
1208
|
<dt>
|
|
1091
1209
|
<div class="param-desc">
|
|
1092
|
-
If the message cannot be decoded or if required fields are missing. The later still
|
|
1093
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>
|
|
1094
1213
|
</div>
|
|
1095
1214
|
</dt>
|
|
1215
|
+
<dd></dd>
|
|
1096
1216
|
<dt>
|
|
1097
1217
|
<dl>
|
|
1098
1218
|
<dt>
|
|
@@ -1105,15 +1225,16 @@
|
|
|
1105
1225
|
</dd>
|
|
1106
1226
|
</dl>
|
|
1107
1227
|
</dt>
|
|
1228
|
+
<dd></dd>
|
|
1108
1229
|
</dl>
|
|
1109
1230
|
|
|
1110
1231
|
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
1232
|
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
<h5>Returns:</h5>
|
|
1236
|
+
|
|
1237
|
+
|
|
1117
1238
|
<div class="param-desc">
|
|
1118
1239
|
<p>Decoded message or <code>null</code> if not enough bytes are available yet</p>
|
|
1119
1240
|
</div>
|
|
@@ -1132,33 +1253,35 @@
|
|
|
1132
1253
|
</dd>
|
|
1133
1254
|
</dl>
|
|
1134
1255
|
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
1256
|
|
|
1138
|
-
|
|
1257
|
+
|
|
1258
|
+
|
|
1139
1259
|
|
|
1140
1260
|
|
|
1141
1261
|
|
|
1142
|
-
<dt>
|
|
1143
|
-
<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>
|
|
1144
1262
|
|
|
1145
1263
|
|
|
1146
|
-
</dt>
|
|
1147
|
-
<dd>
|
|
1148
1264
|
|
|
1149
|
-
|
|
1150
|
-
<div class="description">
|
|
1151
|
-
<p>Decodes the message from the specified hex encoded string.</p>
|
|
1152
|
-
</div>
|
|
1153
|
-
|
|
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>
|
|
1154
1266
|
|
|
1155
1267
|
|
|
1156
1268
|
|
|
1157
|
-
|
|
1158
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>
|
|
1159
1284
|
|
|
1160
|
-
<h5>Parameters:</h5>
|
|
1161
|
-
|
|
1162
1285
|
|
|
1163
1286
|
<table class="params">
|
|
1164
1287
|
<thead>
|
|
@@ -1204,10 +1327,20 @@
|
|
|
1204
1327
|
|
|
1205
1328
|
</tbody>
|
|
1206
1329
|
</table>
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
<dl class="details">
|
|
1337
|
+
|
|
1207
1338
|
|
|
1208
1339
|
|
|
1209
1340
|
|
|
1210
|
-
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
|
|
1211
1344
|
|
|
1212
1345
|
|
|
1213
1346
|
|
|
@@ -1229,7 +1362,7 @@
|
|
|
1229
1362
|
|
|
1230
1363
|
<dt class="tag-source">Source:</dt>
|
|
1231
1364
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1232
|
-
<a href="
|
|
1365
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line3009">line 3009</a>
|
|
1233
1366
|
</li></ul></dd>
|
|
1234
1367
|
|
|
1235
1368
|
|
|
@@ -1241,25 +1374,27 @@
|
|
|
1241
1374
|
</dl>
|
|
1242
1375
|
|
|
1243
1376
|
|
|
1244
|
-
|
|
1245
1377
|
|
|
1246
|
-
|
|
1247
1378
|
|
|
1248
|
-
|
|
1249
1379
|
|
|
1250
|
-
|
|
1251
1380
|
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
<h5>Throws:</h5>
|
|
1387
|
+
|
|
1388
|
+
|
|
1256
1389
|
|
|
1257
1390
|
<dl>
|
|
1258
1391
|
<dt>
|
|
1259
1392
|
<div class="param-desc">
|
|
1260
|
-
If the message cannot be decoded or if required fields are missing. The later still
|
|
1261
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>
|
|
1262
1396
|
</div>
|
|
1263
1397
|
</dt>
|
|
1398
|
+
<dd></dd>
|
|
1264
1399
|
<dt>
|
|
1265
1400
|
<dl>
|
|
1266
1401
|
<dt>
|
|
@@ -1273,15 +1408,16 @@
|
|
|
1273
1408
|
</dd>
|
|
1274
1409
|
</dl>
|
|
1275
1410
|
</dt>
|
|
1411
|
+
<dd></dd>
|
|
1276
1412
|
</dl>
|
|
1277
1413
|
|
|
1278
1414
|
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
1415
|
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
<h5>Returns:</h5>
|
|
1419
|
+
|
|
1420
|
+
|
|
1285
1421
|
<div class="param-desc">
|
|
1286
1422
|
<p>Decoded message</p>
|
|
1287
1423
|
</div>
|
|
@@ -1300,33 +1436,35 @@
|
|
|
1300
1436
|
</dd>
|
|
1301
1437
|
</dl>
|
|
1302
1438
|
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
1439
|
|
|
1306
|
-
|
|
1440
|
+
|
|
1441
|
+
|
|
1307
1442
|
|
|
1308
1443
|
|
|
1309
1444
|
|
|
1310
|
-
<dt>
|
|
1311
|
-
<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>
|
|
1312
1445
|
|
|
1313
1446
|
|
|
1314
|
-
</dt>
|
|
1315
|
-
<dd>
|
|
1316
1447
|
|
|
1317
|
-
|
|
1318
|
-
<div class="description">
|
|
1319
|
-
<p>Decodes the message from a JSON string.</p>
|
|
1320
|
-
</div>
|
|
1321
|
-
|
|
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>
|
|
1322
1449
|
|
|
1323
1450
|
|
|
1324
1451
|
|
|
1325
|
-
|
|
1326
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>
|
|
1327
1467
|
|
|
1328
|
-
<h5>Parameters:</h5>
|
|
1329
|
-
|
|
1330
1468
|
|
|
1331
1469
|
<table class="params">
|
|
1332
1470
|
<thead>
|
|
@@ -1372,10 +1510,20 @@
|
|
|
1372
1510
|
|
|
1373
1511
|
</tbody>
|
|
1374
1512
|
</table>
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
<dl class="details">
|
|
1520
|
+
|
|
1375
1521
|
|
|
1376
1522
|
|
|
1377
1523
|
|
|
1378
|
-
|
|
1524
|
+
|
|
1525
|
+
|
|
1526
|
+
|
|
1379
1527
|
|
|
1380
1528
|
|
|
1381
1529
|
|
|
@@ -1397,7 +1545,7 @@
|
|
|
1397
1545
|
|
|
1398
1546
|
<dt class="tag-source">Source:</dt>
|
|
1399
1547
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1400
|
-
<a href="
|
|
1548
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line3023">line 3023</a>
|
|
1401
1549
|
</li></ul></dd>
|
|
1402
1550
|
|
|
1403
1551
|
|
|
@@ -1409,25 +1557,27 @@
|
|
|
1409
1557
|
</dl>
|
|
1410
1558
|
|
|
1411
1559
|
|
|
1412
|
-
|
|
1413
1560
|
|
|
1414
|
-
|
|
1415
1561
|
|
|
1416
|
-
|
|
1417
1562
|
|
|
1418
|
-
|
|
1419
1563
|
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
<h5>Throws:</h5>
|
|
1570
|
+
|
|
1571
|
+
|
|
1424
1572
|
|
|
1425
1573
|
<dl>
|
|
1426
1574
|
<dt>
|
|
1427
1575
|
<div class="param-desc">
|
|
1428
|
-
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>
|
|
1429
1578
|
</div>
|
|
1430
1579
|
</dt>
|
|
1580
|
+
<dd></dd>
|
|
1431
1581
|
<dt>
|
|
1432
1582
|
<dl>
|
|
1433
1583
|
<dt>
|
|
@@ -1441,15 +1591,16 @@
|
|
|
1441
1591
|
</dd>
|
|
1442
1592
|
</dl>
|
|
1443
1593
|
</dt>
|
|
1594
|
+
<dd></dd>
|
|
1444
1595
|
</dl>
|
|
1445
1596
|
|
|
1446
1597
|
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
1598
|
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1599
|
+
|
|
1600
|
+
|
|
1601
|
+
<h5>Returns:</h5>
|
|
1602
|
+
|
|
1603
|
+
|
|
1453
1604
|
<div class="param-desc">
|
|
1454
1605
|
<p>Decoded message</p>
|
|
1455
1606
|
</div>
|
|
@@ -1468,33 +1619,35 @@
|
|
|
1468
1619
|
</dd>
|
|
1469
1620
|
</dl>
|
|
1470
1621
|
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
1622
|
|
|
1474
|
-
|
|
1623
|
+
|
|
1624
|
+
|
|
1475
1625
|
|
|
1476
1626
|
|
|
1477
1627
|
|
|
1478
|
-
<dt>
|
|
1479
|
-
<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>
|
|
1480
1628
|
|
|
1481
1629
|
|
|
1482
|
-
</dt>
|
|
1483
|
-
<dd>
|
|
1484
1630
|
|
|
1485
|
-
|
|
1486
|
-
<div class="description">
|
|
1487
|
-
<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>
|
|
1488
|
-
</div>
|
|
1489
|
-
|
|
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>
|
|
1490
1632
|
|
|
1491
1633
|
|
|
1492
1634
|
|
|
1493
|
-
|
|
1494
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>
|
|
1495
1650
|
|
|
1496
|
-
<h5>Parameters:</h5>
|
|
1497
|
-
|
|
1498
1651
|
|
|
1499
1652
|
<table class="params">
|
|
1500
1653
|
<thead>
|
|
@@ -1614,10 +1767,20 @@
|
|
|
1614
1767
|
|
|
1615
1768
|
</tbody>
|
|
1616
1769
|
</table>
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
<dl class="details">
|
|
1777
|
+
|
|
1617
1778
|
|
|
1618
1779
|
|
|
1619
1780
|
|
|
1620
|
-
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
|
|
1621
1784
|
|
|
1622
1785
|
|
|
1623
1786
|
|
|
@@ -1639,7 +1802,7 @@
|
|
|
1639
1802
|
|
|
1640
1803
|
<dt class="tag-source">Source:</dt>
|
|
1641
1804
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1642
|
-
<a href="
|
|
1805
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2453">line 2453</a>
|
|
1643
1806
|
</li></ul></dd>
|
|
1644
1807
|
|
|
1645
1808
|
|
|
@@ -1651,25 +1814,26 @@
|
|
|
1651
1814
|
</dl>
|
|
1652
1815
|
|
|
1653
1816
|
|
|
1654
|
-
|
|
1655
1817
|
|
|
1656
|
-
|
|
1657
1818
|
|
|
1658
|
-
|
|
1659
1819
|
|
|
1660
|
-
|
|
1661
1820
|
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
<h5>Throws:</h5>
|
|
1827
|
+
|
|
1828
|
+
|
|
1666
1829
|
|
|
1667
1830
|
<dl>
|
|
1668
1831
|
<dt>
|
|
1669
1832
|
<div class="param-desc">
|
|
1670
|
-
If the value cannot be added
|
|
1833
|
+
<p>If the value cannot be added</p>
|
|
1671
1834
|
</div>
|
|
1672
1835
|
</dt>
|
|
1836
|
+
<dd></dd>
|
|
1673
1837
|
<dt>
|
|
1674
1838
|
<dl>
|
|
1675
1839
|
<dt>
|
|
@@ -1683,15 +1847,16 @@
|
|
|
1683
1847
|
</dd>
|
|
1684
1848
|
</dl>
|
|
1685
1849
|
</dt>
|
|
1850
|
+
<dd></dd>
|
|
1686
1851
|
</dl>
|
|
1687
1852
|
|
|
1688
1853
|
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
1854
|
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
<h5>Returns:</h5>
|
|
1858
|
+
|
|
1859
|
+
|
|
1695
1860
|
<div class="param-desc">
|
|
1696
1861
|
<p>this</p>
|
|
1697
1862
|
</div>
|
|
@@ -1710,33 +1875,35 @@
|
|
|
1710
1875
|
</dd>
|
|
1711
1876
|
</dl>
|
|
1712
1877
|
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
1878
|
|
|
1716
|
-
|
|
1879
|
+
|
|
1880
|
+
|
|
1717
1881
|
|
|
1718
1882
|
|
|
1719
1883
|
|
|
1720
|
-
<dt>
|
|
1721
|
-
<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>
|
|
1722
1884
|
|
|
1723
1885
|
|
|
1724
|
-
</dt>
|
|
1725
|
-
<dd>
|
|
1726
1886
|
|
|
1727
|
-
|
|
1728
|
-
<div class="description">
|
|
1729
|
-
<p>Encodes the message.</p>
|
|
1730
|
-
</div>
|
|
1731
|
-
|
|
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>
|
|
1732
1888
|
|
|
1733
1889
|
|
|
1734
1890
|
|
|
1735
|
-
|
|
1736
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>
|
|
1737
1906
|
|
|
1738
|
-
<h5>Parameters:</h5>
|
|
1739
|
-
|
|
1740
1907
|
|
|
1741
1908
|
<table class="params">
|
|
1742
1909
|
<thead>
|
|
@@ -1830,10 +1997,20 @@
|
|
|
1830
1997
|
|
|
1831
1998
|
</tbody>
|
|
1832
1999
|
</table>
|
|
2000
|
+
|
|
2001
|
+
|
|
2002
|
+
|
|
2003
|
+
|
|
2004
|
+
|
|
2005
|
+
|
|
2006
|
+
<dl class="details">
|
|
2007
|
+
|
|
1833
2008
|
|
|
1834
2009
|
|
|
1835
2010
|
|
|
1836
|
-
|
|
2011
|
+
|
|
2012
|
+
|
|
2013
|
+
|
|
1837
2014
|
|
|
1838
2015
|
|
|
1839
2016
|
|
|
@@ -1855,7 +2032,7 @@
|
|
|
1855
2032
|
|
|
1856
2033
|
<dt class="tag-source">Source:</dt>
|
|
1857
2034
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1858
|
-
<a href="
|
|
2035
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2651">line 2651</a>
|
|
1859
2036
|
</li></ul></dd>
|
|
1860
2037
|
|
|
1861
2038
|
|
|
@@ -1878,25 +2055,27 @@
|
|
|
1878
2055
|
</dl>
|
|
1879
2056
|
|
|
1880
2057
|
|
|
1881
|
-
|
|
1882
2058
|
|
|
1883
|
-
|
|
1884
2059
|
|
|
1885
|
-
|
|
1886
2060
|
|
|
1887
|
-
|
|
1888
2061
|
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
2062
|
+
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
|
+
<h5>Throws:</h5>
|
|
2068
|
+
|
|
2069
|
+
|
|
1893
2070
|
|
|
1894
2071
|
<dl>
|
|
1895
2072
|
<dt>
|
|
1896
2073
|
<div class="param-desc">
|
|
1897
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
1898
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>
|
|
1899
2077
|
</div>
|
|
1900
2078
|
</dt>
|
|
2079
|
+
<dd></dd>
|
|
1901
2080
|
<dt>
|
|
1902
2081
|
<dl>
|
|
1903
2082
|
<dt>
|
|
@@ -1910,15 +2089,16 @@
|
|
|
1910
2089
|
</dd>
|
|
1911
2090
|
</dl>
|
|
1912
2091
|
</dt>
|
|
2092
|
+
<dd></dd>
|
|
1913
2093
|
</dl>
|
|
1914
2094
|
|
|
1915
2095
|
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
2096
|
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
<h5>Returns:</h5>
|
|
2100
|
+
|
|
2101
|
+
|
|
1922
2102
|
<div class="param-desc">
|
|
1923
2103
|
<p>Encoded message as a ByteBuffer</p>
|
|
1924
2104
|
</div>
|
|
@@ -1937,33 +2117,35 @@
|
|
|
1937
2117
|
</dd>
|
|
1938
2118
|
</dl>
|
|
1939
2119
|
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
2120
|
|
|
1943
|
-
|
|
2121
|
+
|
|
2122
|
+
|
|
1944
2123
|
|
|
1945
2124
|
|
|
1946
2125
|
|
|
1947
|
-
<dt>
|
|
1948
|
-
<h4 class="name" id="$get"><span class="type-signature"></span>$get<span class="signature">(key)</span><span class="type-signature"> → {*}</span></h4>
|
|
1949
2126
|
|
|
1950
2127
|
|
|
1951
|
-
</dt>
|
|
1952
|
-
<dd>
|
|
1953
2128
|
|
|
1954
|
-
|
|
1955
|
-
<div class="description">
|
|
1956
|
-
<p>Gets a field's value. This is an alias for <a href="ProtoBuf.Builder.Message.html#$get">ProtoBuf.Builder.Message#$get</a>.</p>
|
|
1957
|
-
</div>
|
|
1958
|
-
|
|
2129
|
+
<h4 class="name" id="$get"><span class="type-signature"></span>$get<span class="signature">(key)</span><span class="type-signature"> → {*}</span></h4>
|
|
1959
2130
|
|
|
1960
2131
|
|
|
1961
2132
|
|
|
1962
|
-
|
|
1963
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>
|
|
1964
2148
|
|
|
1965
|
-
<h5>Parameters:</h5>
|
|
1966
|
-
|
|
1967
2149
|
|
|
1968
2150
|
<table class="params">
|
|
1969
2151
|
<thead>
|
|
@@ -2009,10 +2191,20 @@
|
|
|
2009
2191
|
|
|
2010
2192
|
</tbody>
|
|
2011
2193
|
</table>
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
<dl class="details">
|
|
2201
|
+
|
|
2012
2202
|
|
|
2013
2203
|
|
|
2014
2204
|
|
|
2015
|
-
|
|
2205
|
+
|
|
2206
|
+
|
|
2207
|
+
|
|
2016
2208
|
|
|
2017
2209
|
|
|
2018
2210
|
|
|
@@ -2034,7 +2226,7 @@
|
|
|
2034
2226
|
|
|
2035
2227
|
<dt class="tag-source">Source:</dt>
|
|
2036
2228
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2037
|
-
<a href="
|
|
2229
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2541">line 2541</a>
|
|
2038
2230
|
</li></ul></dd>
|
|
2039
2231
|
|
|
2040
2232
|
|
|
@@ -2046,25 +2238,26 @@
|
|
|
2046
2238
|
</dl>
|
|
2047
2239
|
|
|
2048
2240
|
|
|
2049
|
-
|
|
2050
2241
|
|
|
2051
|
-
|
|
2052
2242
|
|
|
2053
|
-
|
|
2054
2243
|
|
|
2055
|
-
|
|
2056
2244
|
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2245
|
+
|
|
2246
|
+
|
|
2247
|
+
|
|
2248
|
+
|
|
2249
|
+
|
|
2250
|
+
<h5>Throws:</h5>
|
|
2251
|
+
|
|
2252
|
+
|
|
2061
2253
|
|
|
2062
2254
|
<dl>
|
|
2063
2255
|
<dt>
|
|
2064
2256
|
<div class="param-desc">
|
|
2065
|
-
If there is no such field
|
|
2257
|
+
<p>If there is no such field</p>
|
|
2066
2258
|
</div>
|
|
2067
2259
|
</dt>
|
|
2260
|
+
<dd></dd>
|
|
2068
2261
|
<dt>
|
|
2069
2262
|
<dl>
|
|
2070
2263
|
<dt>
|
|
@@ -2078,15 +2271,16 @@
|
|
|
2078
2271
|
</dd>
|
|
2079
2272
|
</dl>
|
|
2080
2273
|
</dt>
|
|
2274
|
+
<dd></dd>
|
|
2081
2275
|
</dl>
|
|
2082
2276
|
|
|
2083
2277
|
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
2278
|
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2279
|
+
|
|
2280
|
+
|
|
2281
|
+
<h5>Returns:</h5>
|
|
2282
|
+
|
|
2283
|
+
|
|
2090
2284
|
<div class="param-desc">
|
|
2091
2285
|
<p>Value</p>
|
|
2092
2286
|
</div>
|
|
@@ -2105,33 +2299,35 @@
|
|
|
2105
2299
|
</dd>
|
|
2106
2300
|
</dl>
|
|
2107
2301
|
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
2302
|
|
|
2111
|
-
|
|
2303
|
+
|
|
2304
|
+
|
|
2112
2305
|
|
|
2113
2306
|
|
|
2114
2307
|
|
|
2115
|
-
<dt>
|
|
2116
|
-
<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>
|
|
2117
2308
|
|
|
2118
2309
|
|
|
2119
|
-
</dt>
|
|
2120
|
-
<dd>
|
|
2121
2310
|
|
|
2122
|
-
|
|
2123
|
-
<div class="description">
|
|
2124
|
-
<p>Sets a field's value. This is an alias for [@link ProtoBuf.Builder.Message#set}.</p>
|
|
2125
|
-
</div>
|
|
2126
|
-
|
|
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>
|
|
2127
2312
|
|
|
2128
2313
|
|
|
2129
2314
|
|
|
2130
|
-
|
|
2131
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>
|
|
2132
2330
|
|
|
2133
|
-
<h5>Parameters:</h5>
|
|
2134
|
-
|
|
2135
2331
|
|
|
2136
2332
|
<table class="params">
|
|
2137
2333
|
<thead>
|
|
@@ -2259,10 +2455,20 @@
|
|
|
2259
2455
|
|
|
2260
2456
|
</tbody>
|
|
2261
2457
|
</table>
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
<dl class="details">
|
|
2465
|
+
|
|
2262
2466
|
|
|
2263
2467
|
|
|
2264
2468
|
|
|
2265
|
-
|
|
2469
|
+
|
|
2470
|
+
|
|
2471
|
+
|
|
2266
2472
|
|
|
2267
2473
|
|
|
2268
2474
|
|
|
@@ -2284,7 +2490,7 @@
|
|
|
2284
2490
|
|
|
2285
2491
|
<dt class="tag-source">Source:</dt>
|
|
2286
2492
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2287
|
-
<a href="
|
|
2493
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2508">line 2508</a>
|
|
2288
2494
|
</li></ul></dd>
|
|
2289
2495
|
|
|
2290
2496
|
|
|
@@ -2296,25 +2502,26 @@
|
|
|
2296
2502
|
</dl>
|
|
2297
2503
|
|
|
2298
2504
|
|
|
2299
|
-
|
|
2300
2505
|
|
|
2301
|
-
|
|
2302
2506
|
|
|
2303
|
-
|
|
2304
2507
|
|
|
2305
|
-
|
|
2306
2508
|
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
|
|
2514
|
+
<h5>Throws:</h5>
|
|
2515
|
+
|
|
2516
|
+
|
|
2311
2517
|
|
|
2312
2518
|
<dl>
|
|
2313
2519
|
<dt>
|
|
2314
2520
|
<div class="param-desc">
|
|
2315
|
-
If the value cannot be set
|
|
2521
|
+
<p>If the value cannot be set</p>
|
|
2316
2522
|
</div>
|
|
2317
2523
|
</dt>
|
|
2524
|
+
<dd></dd>
|
|
2318
2525
|
<dt>
|
|
2319
2526
|
<dl>
|
|
2320
2527
|
<dt>
|
|
@@ -2328,38 +2535,41 @@
|
|
|
2328
2535
|
</dd>
|
|
2329
2536
|
</dl>
|
|
2330
2537
|
</dt>
|
|
2538
|
+
<dd></dd>
|
|
2331
2539
|
</dl>
|
|
2332
2540
|
|
|
2333
2541
|
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
2542
|
|
|
2337
2543
|
|
|
2338
|
-
|
|
2339
|
-
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
|
|
2340
2547
|
|
|
2341
2548
|
|
|
2342
2549
|
|
|
2343
|
-
<dt>
|
|
2344
|
-
<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>
|
|
2345
2550
|
|
|
2346
2551
|
|
|
2347
|
-
</dt>
|
|
2348
|
-
<dd>
|
|
2349
2552
|
|
|
2350
|
-
|
|
2351
|
-
<div class="description">
|
|
2352
|
-
<p>Adds a value to a repeated field.</p>
|
|
2353
|
-
</div>
|
|
2354
|
-
|
|
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>
|
|
2355
2554
|
|
|
2356
2555
|
|
|
2357
2556
|
|
|
2358
|
-
|
|
2359
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>
|
|
2360
2572
|
|
|
2361
|
-
<h5>Parameters:</h5>
|
|
2362
|
-
|
|
2363
2573
|
|
|
2364
2574
|
<table class="params">
|
|
2365
2575
|
<thead>
|
|
@@ -2479,10 +2689,20 @@
|
|
|
2479
2689
|
|
|
2480
2690
|
</tbody>
|
|
2481
2691
|
</table>
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
<dl class="details">
|
|
2699
|
+
|
|
2482
2700
|
|
|
2483
2701
|
|
|
2484
2702
|
|
|
2485
|
-
|
|
2703
|
+
|
|
2704
|
+
|
|
2705
|
+
|
|
2486
2706
|
|
|
2487
2707
|
|
|
2488
2708
|
|
|
@@ -2504,7 +2724,7 @@
|
|
|
2504
2724
|
|
|
2505
2725
|
<dt class="tag-source">Source:</dt>
|
|
2506
2726
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2507
|
-
<a href="
|
|
2727
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2425">line 2425</a>
|
|
2508
2728
|
</li></ul></dd>
|
|
2509
2729
|
|
|
2510
2730
|
|
|
@@ -2516,25 +2736,26 @@
|
|
|
2516
2736
|
</dl>
|
|
2517
2737
|
|
|
2518
2738
|
|
|
2519
|
-
|
|
2520
2739
|
|
|
2521
|
-
|
|
2522
2740
|
|
|
2523
|
-
|
|
2524
2741
|
|
|
2525
|
-
|
|
2526
2742
|
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
<h5>Throws:</h5>
|
|
2749
|
+
|
|
2750
|
+
|
|
2531
2751
|
|
|
2532
2752
|
<dl>
|
|
2533
2753
|
<dt>
|
|
2534
2754
|
<div class="param-desc">
|
|
2535
|
-
If the value cannot be added
|
|
2755
|
+
<p>If the value cannot be added</p>
|
|
2536
2756
|
</div>
|
|
2537
2757
|
</dt>
|
|
2758
|
+
<dd></dd>
|
|
2538
2759
|
<dt>
|
|
2539
2760
|
<dl>
|
|
2540
2761
|
<dt>
|
|
@@ -2548,15 +2769,16 @@
|
|
|
2548
2769
|
</dd>
|
|
2549
2770
|
</dl>
|
|
2550
2771
|
</dt>
|
|
2772
|
+
<dd></dd>
|
|
2551
2773
|
</dl>
|
|
2552
2774
|
|
|
2553
2775
|
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
2776
|
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
<h5>Returns:</h5>
|
|
2780
|
+
|
|
2781
|
+
|
|
2560
2782
|
<div class="param-desc">
|
|
2561
2783
|
<p>this</p>
|
|
2562
2784
|
</div>
|
|
@@ -2575,34 +2797,45 @@
|
|
|
2575
2797
|
</dd>
|
|
2576
2798
|
</dl>
|
|
2577
2799
|
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
2800
|
|
|
2581
|
-
|
|
2801
|
+
|
|
2802
|
+
|
|
2582
2803
|
|
|
2583
2804
|
|
|
2584
2805
|
|
|
2585
|
-
<dt>
|
|
2586
|
-
<h4 class="name" id="calculate"><span class="type-signature"></span>calculate<span class="signature">()</span><span class="type-signature"> → {number}</span></h4>
|
|
2587
2806
|
|
|
2588
2807
|
|
|
2589
|
-
</dt>
|
|
2590
|
-
<dd>
|
|
2591
2808
|
|
|
2592
|
-
|
|
2593
|
-
<div class="description">
|
|
2594
|
-
<p>Calculates the byte length of the message.</p>
|
|
2595
|
-
</div>
|
|
2596
|
-
|
|
2809
|
+
<h4 class="name" id="calculate"><span class="type-signature"></span>calculate<span class="signature">()</span><span class="type-signature"> → {number}</span></h4>
|
|
2597
2810
|
|
|
2598
2811
|
|
|
2599
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
|
+
|
|
2600
2833
|
|
|
2601
2834
|
|
|
2602
2835
|
|
|
2603
2836
|
|
|
2604
2837
|
|
|
2605
|
-
|
|
2838
|
+
|
|
2606
2839
|
|
|
2607
2840
|
|
|
2608
2841
|
|
|
@@ -2624,7 +2857,7 @@
|
|
|
2624
2857
|
|
|
2625
2858
|
<dt class="tag-source">Source:</dt>
|
|
2626
2859
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2627
|
-
<a href="
|
|
2860
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2695">line 2695</a>
|
|
2628
2861
|
</li></ul></dd>
|
|
2629
2862
|
|
|
2630
2863
|
|
|
@@ -2636,25 +2869,26 @@
|
|
|
2636
2869
|
</dl>
|
|
2637
2870
|
|
|
2638
2871
|
|
|
2639
|
-
|
|
2640
2872
|
|
|
2641
|
-
|
|
2642
2873
|
|
|
2643
|
-
|
|
2644
2874
|
|
|
2645
|
-
|
|
2646
2875
|
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
<h5>Throws:</h5>
|
|
2882
|
+
|
|
2883
|
+
|
|
2651
2884
|
|
|
2652
2885
|
<dl>
|
|
2653
2886
|
<dt>
|
|
2654
2887
|
<div class="param-desc">
|
|
2655
|
-
If the message cannot be calculated or if required fields are missing
|
|
2888
|
+
<p>If the message cannot be calculated or if required fields are missing.</p>
|
|
2656
2889
|
</div>
|
|
2657
2890
|
</dt>
|
|
2891
|
+
<dd></dd>
|
|
2658
2892
|
<dt>
|
|
2659
2893
|
<dl>
|
|
2660
2894
|
<dt>
|
|
@@ -2668,15 +2902,16 @@
|
|
|
2668
2902
|
</dd>
|
|
2669
2903
|
</dl>
|
|
2670
2904
|
</dt>
|
|
2905
|
+
<dd></dd>
|
|
2671
2906
|
</dl>
|
|
2672
2907
|
|
|
2673
2908
|
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
2909
|
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
<h5>Returns:</h5>
|
|
2913
|
+
|
|
2914
|
+
|
|
2680
2915
|
<div class="param-desc">
|
|
2681
2916
|
<p>Byte length</p>
|
|
2682
2917
|
</div>
|
|
@@ -2695,34 +2930,45 @@
|
|
|
2695
2930
|
</dd>
|
|
2696
2931
|
</dl>
|
|
2697
2932
|
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
2933
|
|
|
2701
|
-
|
|
2934
|
+
|
|
2935
|
+
|
|
2702
2936
|
|
|
2703
2937
|
|
|
2704
2938
|
|
|
2705
|
-
<dt>
|
|
2706
|
-
<h4 class="name" id="encode64"><span class="type-signature"></span>encode64<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
2707
2939
|
|
|
2708
2940
|
|
|
2709
|
-
</dt>
|
|
2710
|
-
<dd>
|
|
2711
2941
|
|
|
2712
|
-
|
|
2713
|
-
<div class="description">
|
|
2714
|
-
<p>Directly encodes the message to a base64 encoded string.</p>
|
|
2715
|
-
</div>
|
|
2716
|
-
|
|
2942
|
+
<h4 class="name" id="encode64"><span class="type-signature"></span>encode64<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
2717
2943
|
|
|
2718
2944
|
|
|
2719
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
|
+
|
|
2720
2966
|
|
|
2721
2967
|
|
|
2722
2968
|
|
|
2723
2969
|
|
|
2724
2970
|
|
|
2725
|
-
|
|
2971
|
+
|
|
2726
2972
|
|
|
2727
2973
|
|
|
2728
2974
|
|
|
@@ -2744,7 +2990,7 @@
|
|
|
2744
2990
|
|
|
2745
2991
|
<dt class="tag-source">Source:</dt>
|
|
2746
2992
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2747
|
-
<a href="
|
|
2993
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2788">line 2788</a>
|
|
2748
2994
|
</li></ul></dd>
|
|
2749
2995
|
|
|
2750
2996
|
|
|
@@ -2756,25 +3002,27 @@
|
|
|
2756
3002
|
</dl>
|
|
2757
3003
|
|
|
2758
3004
|
|
|
2759
|
-
|
|
2760
3005
|
|
|
2761
|
-
|
|
2762
3006
|
|
|
2763
|
-
|
|
2764
3007
|
|
|
2765
|
-
|
|
2766
3008
|
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
|
|
3012
|
+
|
|
3013
|
+
|
|
3014
|
+
<h5>Throws:</h5>
|
|
3015
|
+
|
|
3016
|
+
|
|
2771
3017
|
|
|
2772
3018
|
<dl>
|
|
2773
3019
|
<dt>
|
|
2774
3020
|
<div class="param-desc">
|
|
2775
|
-
If the underlying buffer cannot be encoded or if required fields are missing. The later
|
|
2776
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>
|
|
2777
3024
|
</div>
|
|
2778
3025
|
</dt>
|
|
3026
|
+
<dd></dd>
|
|
2779
3027
|
<dt>
|
|
2780
3028
|
<dl>
|
|
2781
3029
|
<dt>
|
|
@@ -2788,15 +3036,16 @@
|
|
|
2788
3036
|
</dd>
|
|
2789
3037
|
</dl>
|
|
2790
3038
|
</dt>
|
|
3039
|
+
<dd></dd>
|
|
2791
3040
|
</dl>
|
|
2792
3041
|
|
|
2793
3042
|
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
<h5>Returns:</h5>
|
|
2798
3043
|
|
|
2799
|
-
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
<h5>Returns:</h5>
|
|
3047
|
+
|
|
3048
|
+
|
|
2800
3049
|
<div class="param-desc">
|
|
2801
3050
|
<p>Base64 encoded string</p>
|
|
2802
3051
|
</div>
|
|
@@ -2815,34 +3064,45 @@
|
|
|
2815
3064
|
</dd>
|
|
2816
3065
|
</dl>
|
|
2817
3066
|
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
3067
|
|
|
2821
|
-
|
|
3068
|
+
|
|
3069
|
+
|
|
2822
3070
|
|
|
2823
3071
|
|
|
2824
3072
|
|
|
2825
|
-
<dt>
|
|
2826
|
-
<h4 class="name" id="encodeAB"><span class="type-signature"></span>encodeAB<span class="signature">()</span><span class="type-signature"> → {ArrayBuffer}</span></h4>
|
|
2827
3073
|
|
|
2828
3074
|
|
|
2829
|
-
</dt>
|
|
2830
|
-
<dd>
|
|
2831
3075
|
|
|
2832
|
-
|
|
2833
|
-
<div class="description">
|
|
2834
|
-
<p>Directly encodes the message to an ArrayBuffer.</p>
|
|
2835
|
-
</div>
|
|
2836
|
-
|
|
3076
|
+
<h4 class="name" id="encodeAB"><span class="type-signature"></span>encodeAB<span class="signature">()</span><span class="type-signature"> → {ArrayBuffer}</span></h4>
|
|
2837
3077
|
|
|
2838
3078
|
|
|
2839
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
|
+
|
|
2840
3100
|
|
|
2841
3101
|
|
|
2842
3102
|
|
|
2843
3103
|
|
|
2844
3104
|
|
|
2845
|
-
|
|
3105
|
+
|
|
2846
3106
|
|
|
2847
3107
|
|
|
2848
3108
|
|
|
@@ -2864,7 +3124,7 @@
|
|
|
2864
3124
|
|
|
2865
3125
|
<dt class="tag-source">Source:</dt>
|
|
2866
3126
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2867
|
-
<a href="
|
|
3127
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2730">line 2730</a>
|
|
2868
3128
|
</li></ul></dd>
|
|
2869
3129
|
|
|
2870
3130
|
|
|
@@ -2876,25 +3136,27 @@
|
|
|
2876
3136
|
</dl>
|
|
2877
3137
|
|
|
2878
3138
|
|
|
2879
|
-
|
|
2880
3139
|
|
|
2881
|
-
|
|
2882
3140
|
|
|
2883
|
-
|
|
2884
3141
|
|
|
2885
|
-
|
|
2886
3142
|
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
3143
|
+
|
|
3144
|
+
|
|
3145
|
+
|
|
3146
|
+
|
|
3147
|
+
|
|
3148
|
+
<h5>Throws:</h5>
|
|
3149
|
+
|
|
3150
|
+
|
|
2891
3151
|
|
|
2892
3152
|
<dl>
|
|
2893
3153
|
<dt>
|
|
2894
3154
|
<div class="param-desc">
|
|
2895
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
2896
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>
|
|
2897
3158
|
</div>
|
|
2898
3159
|
</dt>
|
|
3160
|
+
<dd></dd>
|
|
2899
3161
|
<dt>
|
|
2900
3162
|
<dl>
|
|
2901
3163
|
<dt>
|
|
@@ -2908,15 +3170,16 @@
|
|
|
2908
3170
|
</dd>
|
|
2909
3171
|
</dl>
|
|
2910
3172
|
</dt>
|
|
3173
|
+
<dd></dd>
|
|
2911
3174
|
</dl>
|
|
2912
3175
|
|
|
2913
3176
|
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
<h5>Returns:</h5>
|
|
2918
3177
|
|
|
2919
|
-
|
|
3178
|
+
|
|
3179
|
+
|
|
3180
|
+
<h5>Returns:</h5>
|
|
3181
|
+
|
|
3182
|
+
|
|
2920
3183
|
<div class="param-desc">
|
|
2921
3184
|
<p>Encoded message as ArrayBuffer</p>
|
|
2922
3185
|
</div>
|
|
@@ -2935,33 +3198,35 @@
|
|
|
2935
3198
|
</dd>
|
|
2936
3199
|
</dl>
|
|
2937
3200
|
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
3201
|
|
|
2941
|
-
|
|
3202
|
+
|
|
3203
|
+
|
|
2942
3204
|
|
|
2943
3205
|
|
|
2944
3206
|
|
|
2945
|
-
<dt>
|
|
2946
|
-
<h4 class="name" id="encodeDelimited"><span class="type-signature"></span>encodeDelimited<span class="signature">(buffer<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {ByteBuffer}</span></h4>
|
|
2947
3207
|
|
|
2948
3208
|
|
|
2949
|
-
</dt>
|
|
2950
|
-
<dd>
|
|
2951
3209
|
|
|
2952
|
-
|
|
2953
|
-
<div class="description">
|
|
2954
|
-
<p>Encodes the varint32 length-delimited message.</p>
|
|
2955
|
-
</div>
|
|
2956
|
-
|
|
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>
|
|
2957
3211
|
|
|
2958
3212
|
|
|
2959
3213
|
|
|
2960
|
-
|
|
2961
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>
|
|
2962
3229
|
|
|
2963
|
-
<h5>Parameters:</h5>
|
|
2964
|
-
|
|
2965
3230
|
|
|
2966
3231
|
<table class="params">
|
|
2967
3232
|
<thead>
|
|
@@ -3020,12 +3285,55 @@
|
|
|
3020
3285
|
</tr>
|
|
3021
3286
|
|
|
3022
3287
|
|
|
3288
|
+
|
|
3289
|
+
<tr>
|
|
3290
|
+
|
|
3291
|
+
<td class="name"><code>noVerify</code></td>
|
|
3292
|
+
|
|
3293
|
+
|
|
3294
|
+
<td class="type">
|
|
3295
|
+
|
|
3296
|
+
|
|
3297
|
+
<span class="param-type">boolean</span>
|
|
3298
|
+
|
|
3299
|
+
|
|
3300
|
+
|
|
3301
|
+
</td>
|
|
3302
|
+
|
|
3303
|
+
|
|
3304
|
+
<td class="attributes">
|
|
3305
|
+
|
|
3306
|
+
<optional><br>
|
|
3307
|
+
|
|
3308
|
+
|
|
3309
|
+
|
|
3310
|
+
|
|
3311
|
+
|
|
3312
|
+
</td>
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
|
|
3316
|
+
|
|
3317
|
+
<td class="description last"><p>Whether to not verify field values, defaults to <code>false</code></p></td>
|
|
3318
|
+
</tr>
|
|
3319
|
+
|
|
3320
|
+
|
|
3023
3321
|
</tbody>
|
|
3024
3322
|
</table>
|
|
3323
|
+
|
|
3324
|
+
|
|
3325
|
+
|
|
3326
|
+
|
|
3327
|
+
|
|
3328
|
+
|
|
3329
|
+
<dl class="details">
|
|
3330
|
+
|
|
3025
3331
|
|
|
3026
3332
|
|
|
3027
3333
|
|
|
3028
|
-
|
|
3334
|
+
|
|
3335
|
+
|
|
3336
|
+
|
|
3029
3337
|
|
|
3030
3338
|
|
|
3031
3339
|
|
|
@@ -3047,7 +3355,7 @@
|
|
|
3047
3355
|
|
|
3048
3356
|
<dt class="tag-source">Source:</dt>
|
|
3049
3357
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3050
|
-
<a href="
|
|
3358
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2707">line 2707</a>
|
|
3051
3359
|
</li></ul></dd>
|
|
3052
3360
|
|
|
3053
3361
|
|
|
@@ -3059,25 +3367,27 @@
|
|
|
3059
3367
|
</dl>
|
|
3060
3368
|
|
|
3061
3369
|
|
|
3062
|
-
|
|
3063
3370
|
|
|
3064
|
-
|
|
3065
3371
|
|
|
3066
|
-
|
|
3067
3372
|
|
|
3068
|
-
|
|
3069
3373
|
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3374
|
+
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
|
|
3378
|
+
|
|
3379
|
+
<h5>Throws:</h5>
|
|
3380
|
+
|
|
3381
|
+
|
|
3074
3382
|
|
|
3075
3383
|
<dl>
|
|
3076
3384
|
<dt>
|
|
3077
3385
|
<div class="param-desc">
|
|
3078
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
3079
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>
|
|
3080
3389
|
</div>
|
|
3081
3390
|
</dt>
|
|
3391
|
+
<dd></dd>
|
|
3082
3392
|
<dt>
|
|
3083
3393
|
<dl>
|
|
3084
3394
|
<dt>
|
|
@@ -3091,15 +3401,16 @@
|
|
|
3091
3401
|
</dd>
|
|
3092
3402
|
</dl>
|
|
3093
3403
|
</dt>
|
|
3404
|
+
<dd></dd>
|
|
3094
3405
|
</dl>
|
|
3095
3406
|
|
|
3096
3407
|
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
3408
|
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
<h5>Returns:</h5>
|
|
3412
|
+
|
|
3413
|
+
|
|
3103
3414
|
<div class="param-desc">
|
|
3104
3415
|
<p>Encoded message as a ByteBuffer</p>
|
|
3105
3416
|
</div>
|
|
@@ -3118,34 +3429,45 @@
|
|
|
3118
3429
|
</dd>
|
|
3119
3430
|
</dl>
|
|
3120
3431
|
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
3432
|
|
|
3124
|
-
|
|
3433
|
+
|
|
3434
|
+
|
|
3125
3435
|
|
|
3126
3436
|
|
|
3127
3437
|
|
|
3128
|
-
<dt>
|
|
3129
|
-
<h4 class="name" id="encodeHex"><span class="type-signature"></span>encodeHex<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
3130
3438
|
|
|
3131
3439
|
|
|
3132
|
-
</dt>
|
|
3133
|
-
<dd>
|
|
3134
3440
|
|
|
3135
|
-
|
|
3136
|
-
<div class="description">
|
|
3137
|
-
<p>Directly encodes the message to a hex encoded string.</p>
|
|
3138
|
-
</div>
|
|
3139
|
-
|
|
3441
|
+
<h4 class="name" id="encodeHex"><span class="type-signature"></span>encodeHex<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
3140
3442
|
|
|
3141
3443
|
|
|
3142
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
|
+
|
|
3143
3465
|
|
|
3144
3466
|
|
|
3145
3467
|
|
|
3146
3468
|
|
|
3147
3469
|
|
|
3148
|
-
|
|
3470
|
+
|
|
3149
3471
|
|
|
3150
3472
|
|
|
3151
3473
|
|
|
@@ -3167,7 +3489,7 @@
|
|
|
3167
3489
|
|
|
3168
3490
|
<dt class="tag-source">Source:</dt>
|
|
3169
3491
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3170
|
-
<a href="
|
|
3492
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2817">line 2817</a>
|
|
3171
3493
|
</li></ul></dd>
|
|
3172
3494
|
|
|
3173
3495
|
|
|
@@ -3179,25 +3501,27 @@
|
|
|
3179
3501
|
</dl>
|
|
3180
3502
|
|
|
3181
3503
|
|
|
3182
|
-
|
|
3183
3504
|
|
|
3184
|
-
|
|
3185
3505
|
|
|
3186
|
-
|
|
3187
3506
|
|
|
3188
|
-
|
|
3189
3507
|
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3508
|
+
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
|
|
3512
|
+
|
|
3513
|
+
<h5>Throws:</h5>
|
|
3514
|
+
|
|
3515
|
+
|
|
3194
3516
|
|
|
3195
3517
|
<dl>
|
|
3196
3518
|
<dt>
|
|
3197
3519
|
<div class="param-desc">
|
|
3198
|
-
If the underlying buffer cannot be encoded or if required fields are missing. The later
|
|
3199
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>
|
|
3200
3523
|
</div>
|
|
3201
3524
|
</dt>
|
|
3525
|
+
<dd></dd>
|
|
3202
3526
|
<dt>
|
|
3203
3527
|
<dl>
|
|
3204
3528
|
<dt>
|
|
@@ -3211,15 +3535,16 @@
|
|
|
3211
3535
|
</dd>
|
|
3212
3536
|
</dl>
|
|
3213
3537
|
</dt>
|
|
3538
|
+
<dd></dd>
|
|
3214
3539
|
</dl>
|
|
3215
3540
|
|
|
3216
3541
|
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
<h5>Returns:</h5>
|
|
3221
3542
|
|
|
3222
|
-
|
|
3543
|
+
|
|
3544
|
+
|
|
3545
|
+
<h5>Returns:</h5>
|
|
3546
|
+
|
|
3547
|
+
|
|
3223
3548
|
<div class="param-desc">
|
|
3224
3549
|
<p>Hex encoded string</p>
|
|
3225
3550
|
</div>
|
|
@@ -3238,34 +3563,45 @@
|
|
|
3238
3563
|
</dd>
|
|
3239
3564
|
</dl>
|
|
3240
3565
|
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
3566
|
|
|
3244
|
-
|
|
3567
|
+
|
|
3568
|
+
|
|
3245
3569
|
|
|
3246
3570
|
|
|
3247
3571
|
|
|
3248
|
-
<dt>
|
|
3249
|
-
<h4 class="name" id="encodeJSON"><span class="type-signature"></span>encodeJSON<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
3250
3572
|
|
|
3251
3573
|
|
|
3252
|
-
</dt>
|
|
3253
|
-
<dd>
|
|
3254
3574
|
|
|
3255
|
-
|
|
3256
|
-
<div class="description">
|
|
3257
|
-
<p>Encodes a message to JSON.</p>
|
|
3258
|
-
</div>
|
|
3259
|
-
|
|
3575
|
+
<h4 class="name" id="encodeJSON"><span class="type-signature"></span>encodeJSON<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
3260
3576
|
|
|
3261
3577
|
|
|
3262
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
|
+
|
|
3263
3599
|
|
|
3264
3600
|
|
|
3265
3601
|
|
|
3266
3602
|
|
|
3267
3603
|
|
|
3268
|
-
|
|
3604
|
+
|
|
3269
3605
|
|
|
3270
3606
|
|
|
3271
3607
|
|
|
@@ -3287,7 +3623,7 @@
|
|
|
3287
3623
|
|
|
3288
3624
|
<dt class="tag-source">Source:</dt>
|
|
3289
3625
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3290
|
-
<a href="
|
|
3626
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2918">line 2918</a>
|
|
3291
3627
|
</li></ul></dd>
|
|
3292
3628
|
|
|
3293
3629
|
|
|
@@ -3299,20 +3635,20 @@
|
|
|
3299
3635
|
</dl>
|
|
3300
3636
|
|
|
3301
3637
|
|
|
3302
|
-
|
|
3303
3638
|
|
|
3304
|
-
|
|
3305
3639
|
|
|
3306
|
-
|
|
3307
3640
|
|
|
3308
|
-
|
|
3309
3641
|
|
|
3310
|
-
|
|
3311
3642
|
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3643
|
+
|
|
3644
|
+
|
|
3645
|
+
|
|
3646
|
+
|
|
3647
|
+
|
|
3648
|
+
|
|
3649
|
+
<h5>Returns:</h5>
|
|
3650
|
+
|
|
3651
|
+
|
|
3316
3652
|
<div class="param-desc">
|
|
3317
3653
|
<p>JSON string</p>
|
|
3318
3654
|
</div>
|
|
@@ -3331,34 +3667,45 @@
|
|
|
3331
3667
|
</dd>
|
|
3332
3668
|
</dl>
|
|
3333
3669
|
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
3670
|
|
|
3337
|
-
|
|
3671
|
+
|
|
3672
|
+
|
|
3338
3673
|
|
|
3339
3674
|
|
|
3340
3675
|
|
|
3341
|
-
<dt>
|
|
3342
|
-
<h4 class="name" id="encodeNB"><span class="type-signature"></span>encodeNB<span class="signature">()</span><span class="type-signature"> → (non-null) {Buffer}</span></h4>
|
|
3343
3676
|
|
|
3344
3677
|
|
|
3345
|
-
</dt>
|
|
3346
|
-
<dd>
|
|
3347
3678
|
|
|
3348
|
-
|
|
3349
|
-
<div class="description">
|
|
3350
|
-
<p>Directly encodes the message to a node Buffer.</p>
|
|
3351
|
-
</div>
|
|
3352
|
-
|
|
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>
|
|
3353
3680
|
|
|
3354
3681
|
|
|
3355
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
|
+
|
|
3356
3703
|
|
|
3357
3704
|
|
|
3358
3705
|
|
|
3359
3706
|
|
|
3360
3707
|
|
|
3361
|
-
|
|
3708
|
+
|
|
3362
3709
|
|
|
3363
3710
|
|
|
3364
3711
|
|
|
@@ -3380,7 +3727,7 @@
|
|
|
3380
3727
|
|
|
3381
3728
|
<dt class="tag-source">Source:</dt>
|
|
3382
3729
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3383
|
-
<a href="
|
|
3730
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2759">line 2759</a>
|
|
3384
3731
|
</li></ul></dd>
|
|
3385
3732
|
|
|
3386
3733
|
|
|
@@ -3392,25 +3739,27 @@
|
|
|
3392
3739
|
</dl>
|
|
3393
3740
|
|
|
3394
3741
|
|
|
3395
|
-
|
|
3396
3742
|
|
|
3397
|
-
|
|
3398
3743
|
|
|
3399
|
-
|
|
3400
3744
|
|
|
3401
|
-
|
|
3402
3745
|
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3746
|
+
|
|
3747
|
+
|
|
3748
|
+
|
|
3749
|
+
|
|
3750
|
+
|
|
3751
|
+
<h5>Throws:</h5>
|
|
3752
|
+
|
|
3753
|
+
|
|
3407
3754
|
|
|
3408
3755
|
<dl>
|
|
3409
3756
|
<dt>
|
|
3410
3757
|
<div class="param-desc">
|
|
3411
|
-
If the message cannot be encoded, not running under node.js or if required fields are
|
|
3412
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>
|
|
3413
3761
|
</div>
|
|
3414
3762
|
</dt>
|
|
3763
|
+
<dd></dd>
|
|
3415
3764
|
<dt>
|
|
3416
3765
|
<dl>
|
|
3417
3766
|
<dt>
|
|
@@ -3424,15 +3773,16 @@
|
|
|
3424
3773
|
</dd>
|
|
3425
3774
|
</dl>
|
|
3426
3775
|
</dt>
|
|
3776
|
+
<dd></dd>
|
|
3427
3777
|
</dl>
|
|
3428
3778
|
|
|
3429
3779
|
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
3780
|
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3781
|
+
|
|
3782
|
+
|
|
3783
|
+
<h5>Returns:</h5>
|
|
3784
|
+
|
|
3785
|
+
|
|
3436
3786
|
|
|
3437
3787
|
|
|
3438
3788
|
<dl>
|
|
@@ -3447,33 +3797,35 @@
|
|
|
3447
3797
|
</dd>
|
|
3448
3798
|
</dl>
|
|
3449
3799
|
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
3800
|
|
|
3453
|
-
|
|
3801
|
+
|
|
3802
|
+
|
|
3454
3803
|
|
|
3455
3804
|
|
|
3456
3805
|
|
|
3457
|
-
<dt>
|
|
3458
|
-
<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>
|
|
3459
3806
|
|
|
3460
3807
|
|
|
3461
|
-
</dt>
|
|
3462
|
-
<dd>
|
|
3463
3808
|
|
|
3464
|
-
|
|
3465
|
-
<div class="description">
|
|
3466
|
-
<p>Gets a field's value.</p>
|
|
3467
|
-
</div>
|
|
3468
|
-
|
|
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>
|
|
3469
3810
|
|
|
3470
3811
|
|
|
3471
3812
|
|
|
3472
|
-
|
|
3473
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>
|
|
3474
3828
|
|
|
3475
|
-
<h5>Parameters:</h5>
|
|
3476
|
-
|
|
3477
3829
|
|
|
3478
3830
|
<table class="params">
|
|
3479
3831
|
<thead>
|
|
@@ -3562,10 +3914,20 @@
|
|
|
3562
3914
|
|
|
3563
3915
|
</tbody>
|
|
3564
3916
|
</table>
|
|
3917
|
+
|
|
3918
|
+
|
|
3919
|
+
|
|
3920
|
+
|
|
3921
|
+
|
|
3922
|
+
|
|
3923
|
+
<dl class="details">
|
|
3924
|
+
|
|
3565
3925
|
|
|
3566
3926
|
|
|
3567
3927
|
|
|
3568
|
-
|
|
3928
|
+
|
|
3929
|
+
|
|
3930
|
+
|
|
3569
3931
|
|
|
3570
3932
|
|
|
3571
3933
|
|
|
@@ -3587,7 +3949,7 @@
|
|
|
3587
3949
|
|
|
3588
3950
|
<dt class="tag-source">Source:</dt>
|
|
3589
3951
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3590
|
-
<a href="
|
|
3952
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2520">line 2520</a>
|
|
3591
3953
|
</li></ul></dd>
|
|
3592
3954
|
|
|
3593
3955
|
|
|
@@ -3599,25 +3961,26 @@
|
|
|
3599
3961
|
</dl>
|
|
3600
3962
|
|
|
3601
3963
|
|
|
3602
|
-
|
|
3603
3964
|
|
|
3604
|
-
|
|
3605
3965
|
|
|
3606
|
-
|
|
3607
3966
|
|
|
3608
|
-
|
|
3609
3967
|
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3968
|
+
|
|
3969
|
+
|
|
3970
|
+
|
|
3971
|
+
|
|
3972
|
+
|
|
3973
|
+
<h5>Throws:</h5>
|
|
3974
|
+
|
|
3975
|
+
|
|
3614
3976
|
|
|
3615
3977
|
<dl>
|
|
3616
3978
|
<dt>
|
|
3617
3979
|
<div class="param-desc">
|
|
3618
|
-
If there is no such field
|
|
3980
|
+
<p>If there is no such field</p>
|
|
3619
3981
|
</div>
|
|
3620
3982
|
</dt>
|
|
3983
|
+
<dd></dd>
|
|
3621
3984
|
<dt>
|
|
3622
3985
|
<dl>
|
|
3623
3986
|
<dt>
|
|
@@ -3631,15 +3994,16 @@
|
|
|
3631
3994
|
</dd>
|
|
3632
3995
|
</dl>
|
|
3633
3996
|
</dt>
|
|
3997
|
+
<dd></dd>
|
|
3634
3998
|
</dl>
|
|
3635
3999
|
|
|
3636
4000
|
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
<h5>Returns:</h5>
|
|
3641
4001
|
|
|
3642
|
-
|
|
4002
|
+
|
|
4003
|
+
|
|
4004
|
+
<h5>Returns:</h5>
|
|
4005
|
+
|
|
4006
|
+
|
|
3643
4007
|
<div class="param-desc">
|
|
3644
4008
|
<p>Value</p>
|
|
3645
4009
|
</div>
|
|
@@ -3658,35 +4022,46 @@
|
|
|
3658
4022
|
</dd>
|
|
3659
4023
|
</dl>
|
|
3660
4024
|
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
4025
|
|
|
3664
|
-
|
|
4026
|
+
|
|
4027
|
+
|
|
3665
4028
|
|
|
3666
4029
|
|
|
3667
4030
|
|
|
3668
|
-
<dt>
|
|
3669
|
-
<h4 class="name" id="get[SomeField]"><span class="type-signature">(abstract) </span>get[SomeField]<span class="signature">()</span><span class="type-signature"> → {*}</span></h4>
|
|
3670
4031
|
|
|
3671
4032
|
|
|
3672
|
-
|
|
3673
|
-
<
|
|
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>
|
|
3674
4035
|
|
|
3675
4036
|
|
|
3676
|
-
|
|
3677
|
-
|
|
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
|
|
3678
4042
|
another field.</p>
|
|
3679
|
-
|
|
3680
|
-
|
|
4043
|
+
</div>
|
|
4044
|
+
|
|
3681
4045
|
|
|
3682
|
-
|
|
4046
|
+
|
|
4047
|
+
|
|
4048
|
+
|
|
4049
|
+
|
|
4050
|
+
|
|
4051
|
+
|
|
4052
|
+
|
|
4053
|
+
|
|
4054
|
+
|
|
4055
|
+
|
|
4056
|
+
|
|
4057
|
+
<dl class="details">
|
|
3683
4058
|
|
|
3684
4059
|
|
|
3685
4060
|
|
|
3686
4061
|
|
|
3687
4062
|
|
|
3688
4063
|
|
|
3689
|
-
|
|
4064
|
+
|
|
3690
4065
|
|
|
3691
4066
|
|
|
3692
4067
|
|
|
@@ -3708,7 +4083,7 @@
|
|
|
3708
4083
|
|
|
3709
4084
|
<dt class="tag-source">Source:</dt>
|
|
3710
4085
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3711
|
-
<a href="
|
|
4086
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2625">line 2625</a>
|
|
3712
4087
|
</li></ul></dd>
|
|
3713
4088
|
|
|
3714
4089
|
|
|
@@ -3720,20 +4095,20 @@
|
|
|
3720
4095
|
</dl>
|
|
3721
4096
|
|
|
3722
4097
|
|
|
3723
|
-
|
|
3724
4098
|
|
|
3725
|
-
|
|
3726
4099
|
|
|
3727
|
-
|
|
3728
4100
|
|
|
3729
|
-
|
|
3730
4101
|
|
|
3731
|
-
|
|
3732
4102
|
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
4103
|
+
|
|
4104
|
+
|
|
4105
|
+
|
|
4106
|
+
|
|
4107
|
+
|
|
4108
|
+
|
|
4109
|
+
<h5>Returns:</h5>
|
|
4110
|
+
|
|
4111
|
+
|
|
3737
4112
|
<div class="param-desc">
|
|
3738
4113
|
<p>The value</p>
|
|
3739
4114
|
</div>
|
|
@@ -3752,35 +4127,46 @@
|
|
|
3752
4127
|
</dd>
|
|
3753
4128
|
</dl>
|
|
3754
4129
|
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
4130
|
|
|
3758
|
-
|
|
4131
|
+
|
|
4132
|
+
|
|
3759
4133
|
|
|
3760
4134
|
|
|
3761
4135
|
|
|
3762
|
-
<dt>
|
|
3763
|
-
<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>
|
|
3764
4136
|
|
|
3765
4137
|
|
|
3766
|
-
|
|
3767
|
-
<
|
|
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>
|
|
3768
4140
|
|
|
3769
4141
|
|
|
3770
|
-
|
|
3771
|
-
|
|
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
|
|
3772
4147
|
another field.</p>
|
|
3773
|
-
|
|
3774
|
-
|
|
4148
|
+
</div>
|
|
4149
|
+
|
|
4150
|
+
|
|
4151
|
+
|
|
4152
|
+
|
|
3775
4153
|
|
|
3776
|
-
|
|
4154
|
+
|
|
4155
|
+
|
|
4156
|
+
|
|
4157
|
+
|
|
4158
|
+
|
|
4159
|
+
|
|
4160
|
+
|
|
4161
|
+
|
|
4162
|
+
<dl class="details">
|
|
3777
4163
|
|
|
3778
4164
|
|
|
3779
4165
|
|
|
3780
4166
|
|
|
3781
4167
|
|
|
3782
4168
|
|
|
3783
|
-
|
|
4169
|
+
|
|
3784
4170
|
|
|
3785
4171
|
|
|
3786
4172
|
|
|
@@ -3802,7 +4188,7 @@
|
|
|
3802
4188
|
|
|
3803
4189
|
<dt class="tag-source">Source:</dt>
|
|
3804
4190
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3805
|
-
<a href="
|
|
4191
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2636">line 2636</a>
|
|
3806
4192
|
</li></ul></dd>
|
|
3807
4193
|
|
|
3808
4194
|
|
|
@@ -3814,20 +4200,20 @@
|
|
|
3814
4200
|
</dl>
|
|
3815
4201
|
|
|
3816
4202
|
|
|
3817
|
-
|
|
3818
4203
|
|
|
3819
|
-
|
|
3820
4204
|
|
|
3821
|
-
|
|
3822
4205
|
|
|
3823
|
-
|
|
3824
4206
|
|
|
3825
|
-
|
|
3826
4207
|
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
4208
|
+
|
|
4209
|
+
|
|
4210
|
+
|
|
4211
|
+
|
|
4212
|
+
|
|
4213
|
+
|
|
4214
|
+
<h5>Returns:</h5>
|
|
4215
|
+
|
|
4216
|
+
|
|
3831
4217
|
<div class="param-desc">
|
|
3832
4218
|
<p>The value</p>
|
|
3833
4219
|
</div>
|
|
@@ -3846,33 +4232,35 @@
|
|
|
3846
4232
|
</dd>
|
|
3847
4233
|
</dl>
|
|
3848
4234
|
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
4235
|
|
|
3852
|
-
|
|
4236
|
+
|
|
4237
|
+
|
|
3853
4238
|
|
|
3854
4239
|
|
|
3855
4240
|
|
|
3856
|
-
<dt>
|
|
3857
|
-
<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>
|
|
3858
4241
|
|
|
3859
4242
|
|
|
3860
|
-
</dt>
|
|
3861
|
-
<dd>
|
|
3862
4243
|
|
|
3863
|
-
|
|
3864
|
-
<div class="description">
|
|
3865
|
-
<p>Sets a field's value.</p>
|
|
3866
|
-
</div>
|
|
3867
|
-
|
|
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>
|
|
3868
4245
|
|
|
3869
4246
|
|
|
3870
4247
|
|
|
3871
|
-
|
|
3872
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>
|
|
3873
4263
|
|
|
3874
|
-
<h5>Parameters:</h5>
|
|
3875
|
-
|
|
3876
4264
|
|
|
3877
4265
|
<table class="params">
|
|
3878
4266
|
<thead>
|
|
@@ -4000,10 +4388,20 @@
|
|
|
4000
4388
|
|
|
4001
4389
|
</tbody>
|
|
4002
4390
|
</table>
|
|
4391
|
+
|
|
4392
|
+
|
|
4393
|
+
|
|
4394
|
+
|
|
4395
|
+
|
|
4396
|
+
|
|
4397
|
+
<dl class="details">
|
|
4398
|
+
|
|
4003
4399
|
|
|
4004
4400
|
|
|
4005
4401
|
|
|
4006
|
-
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
|
|
4007
4405
|
|
|
4008
4406
|
|
|
4009
4407
|
|
|
@@ -4025,7 +4423,7 @@
|
|
|
4025
4423
|
|
|
4026
4424
|
<dt class="tag-source">Source:</dt>
|
|
4027
4425
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4028
|
-
<a href="
|
|
4426
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2466">line 2466</a>
|
|
4029
4427
|
</li></ul></dd>
|
|
4030
4428
|
|
|
4031
4429
|
|
|
@@ -4037,25 +4435,26 @@
|
|
|
4037
4435
|
</dl>
|
|
4038
4436
|
|
|
4039
4437
|
|
|
4040
|
-
|
|
4041
4438
|
|
|
4042
|
-
|
|
4043
4439
|
|
|
4044
|
-
|
|
4045
4440
|
|
|
4046
|
-
|
|
4047
4441
|
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4442
|
+
|
|
4443
|
+
|
|
4444
|
+
|
|
4445
|
+
|
|
4446
|
+
|
|
4447
|
+
<h5>Throws:</h5>
|
|
4448
|
+
|
|
4449
|
+
|
|
4052
4450
|
|
|
4053
4451
|
<dl>
|
|
4054
4452
|
<dt>
|
|
4055
4453
|
<div class="param-desc">
|
|
4056
|
-
If the value cannot be set
|
|
4454
|
+
<p>If the value cannot be set</p>
|
|
4057
4455
|
</div>
|
|
4058
4456
|
</dt>
|
|
4457
|
+
<dd></dd>
|
|
4059
4458
|
<dt>
|
|
4060
4459
|
<dl>
|
|
4061
4460
|
<dt>
|
|
@@ -4069,15 +4468,16 @@
|
|
|
4069
4468
|
</dd>
|
|
4070
4469
|
</dl>
|
|
4071
4470
|
</dt>
|
|
4471
|
+
<dd></dd>
|
|
4072
4472
|
</dl>
|
|
4073
4473
|
|
|
4074
4474
|
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
<h5>Returns:</h5>
|
|
4079
4475
|
|
|
4080
|
-
|
|
4476
|
+
|
|
4477
|
+
|
|
4478
|
+
<h5>Returns:</h5>
|
|
4479
|
+
|
|
4480
|
+
|
|
4081
4481
|
<div class="param-desc">
|
|
4082
4482
|
<p>this</p>
|
|
4083
4483
|
</div>
|
|
@@ -4096,34 +4496,36 @@
|
|
|
4096
4496
|
</dd>
|
|
4097
4497
|
</dl>
|
|
4098
4498
|
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
4499
|
|
|
4102
|
-
|
|
4500
|
+
|
|
4501
|
+
|
|
4103
4502
|
|
|
4104
4503
|
|
|
4105
4504
|
|
|
4106
|
-
<dt>
|
|
4107
|
-
<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>
|
|
4108
4505
|
|
|
4109
4506
|
|
|
4110
|
-
|
|
4111
|
-
<
|
|
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>
|
|
4112
4509
|
|
|
4113
4510
|
|
|
4114
|
-
|
|
4115
|
-
|
|
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
|
|
4116
4516
|
another field.</p>
|
|
4117
|
-
|
|
4118
|
-
|
|
4517
|
+
</div>
|
|
4119
4518
|
|
|
4120
|
-
|
|
4121
4519
|
|
|
4122
|
-
|
|
4123
4520
|
|
|
4521
|
+
|
|
4522
|
+
|
|
4523
|
+
|
|
4524
|
+
|
|
4525
|
+
|
|
4526
|
+
|
|
4527
|
+
<h5>Parameters:</h5>
|
|
4124
4528
|
|
|
4125
|
-
<h5>Parameters:</h5>
|
|
4126
|
-
|
|
4127
4529
|
|
|
4128
4530
|
<table class="params">
|
|
4129
4531
|
<thead>
|
|
@@ -4212,10 +4614,20 @@
|
|
|
4212
4614
|
|
|
4213
4615
|
</tbody>
|
|
4214
4616
|
</table>
|
|
4617
|
+
|
|
4618
|
+
|
|
4619
|
+
|
|
4620
|
+
|
|
4621
|
+
|
|
4622
|
+
|
|
4623
|
+
<dl class="details">
|
|
4624
|
+
|
|
4215
4625
|
|
|
4216
4626
|
|
|
4217
4627
|
|
|
4218
|
-
|
|
4628
|
+
|
|
4629
|
+
|
|
4630
|
+
|
|
4219
4631
|
|
|
4220
4632
|
|
|
4221
4633
|
|
|
@@ -4237,7 +4649,7 @@
|
|
|
4237
4649
|
|
|
4238
4650
|
<dt class="tag-source">Source:</dt>
|
|
4239
4651
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4240
|
-
<a href="
|
|
4652
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2597">line 2597</a>
|
|
4241
4653
|
</li></ul></dd>
|
|
4242
4654
|
|
|
4243
4655
|
|
|
@@ -4249,25 +4661,26 @@
|
|
|
4249
4661
|
</dl>
|
|
4250
4662
|
|
|
4251
4663
|
|
|
4252
|
-
|
|
4253
4664
|
|
|
4254
|
-
|
|
4255
4665
|
|
|
4256
|
-
|
|
4257
4666
|
|
|
4258
|
-
|
|
4259
4667
|
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4668
|
+
|
|
4669
|
+
|
|
4670
|
+
|
|
4671
|
+
|
|
4672
|
+
|
|
4673
|
+
<h5>Throws:</h5>
|
|
4674
|
+
|
|
4675
|
+
|
|
4264
4676
|
|
|
4265
4677
|
<dl>
|
|
4266
4678
|
<dt>
|
|
4267
4679
|
<div class="param-desc">
|
|
4268
|
-
If the value cannot be set
|
|
4680
|
+
<p>If the value cannot be set</p>
|
|
4269
4681
|
</div>
|
|
4270
4682
|
</dt>
|
|
4683
|
+
<dd></dd>
|
|
4271
4684
|
<dt>
|
|
4272
4685
|
<dl>
|
|
4273
4686
|
<dt>
|
|
@@ -4281,15 +4694,16 @@
|
|
|
4281
4694
|
</dd>
|
|
4282
4695
|
</dl>
|
|
4283
4696
|
</dt>
|
|
4697
|
+
<dd></dd>
|
|
4284
4698
|
</dl>
|
|
4285
4699
|
|
|
4286
4700
|
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
<h5>Returns:</h5>
|
|
4291
4701
|
|
|
4292
|
-
|
|
4702
|
+
|
|
4703
|
+
|
|
4704
|
+
<h5>Returns:</h5>
|
|
4705
|
+
|
|
4706
|
+
|
|
4293
4707
|
<div class="param-desc">
|
|
4294
4708
|
<p>this</p>
|
|
4295
4709
|
</div>
|
|
@@ -4308,34 +4722,36 @@
|
|
|
4308
4722
|
</dd>
|
|
4309
4723
|
</dl>
|
|
4310
4724
|
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
4725
|
|
|
4314
|
-
|
|
4726
|
+
|
|
4727
|
+
|
|
4315
4728
|
|
|
4316
4729
|
|
|
4317
4730
|
|
|
4318
|
-
<dt>
|
|
4319
|
-
<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>
|
|
4320
4731
|
|
|
4321
4732
|
|
|
4322
|
-
|
|
4323
|
-
<
|
|
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>
|
|
4324
4735
|
|
|
4325
4736
|
|
|
4326
|
-
|
|
4327
|
-
|
|
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
|
|
4328
4742
|
another field.</p>
|
|
4329
|
-
|
|
4330
|
-
|
|
4743
|
+
</div>
|
|
4744
|
+
|
|
4745
|
+
|
|
4331
4746
|
|
|
4332
|
-
|
|
4333
4747
|
|
|
4334
|
-
|
|
4335
4748
|
|
|
4749
|
+
|
|
4750
|
+
|
|
4751
|
+
|
|
4752
|
+
|
|
4753
|
+
<h5>Parameters:</h5>
|
|
4336
4754
|
|
|
4337
|
-
<h5>Parameters:</h5>
|
|
4338
|
-
|
|
4339
4755
|
|
|
4340
4756
|
<table class="params">
|
|
4341
4757
|
<thead>
|
|
@@ -4424,10 +4840,20 @@
|
|
|
4424
4840
|
|
|
4425
4841
|
</tbody>
|
|
4426
4842
|
</table>
|
|
4843
|
+
|
|
4844
|
+
|
|
4845
|
+
|
|
4846
|
+
|
|
4847
|
+
|
|
4848
|
+
|
|
4849
|
+
<dl class="details">
|
|
4850
|
+
|
|
4427
4851
|
|
|
4428
4852
|
|
|
4429
4853
|
|
|
4430
|
-
|
|
4854
|
+
|
|
4855
|
+
|
|
4856
|
+
|
|
4431
4857
|
|
|
4432
4858
|
|
|
4433
4859
|
|
|
@@ -4449,7 +4875,7 @@
|
|
|
4449
4875
|
|
|
4450
4876
|
<dt class="tag-source">Source:</dt>
|
|
4451
4877
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4452
|
-
<a href="
|
|
4878
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2611">line 2611</a>
|
|
4453
4879
|
</li></ul></dd>
|
|
4454
4880
|
|
|
4455
4881
|
|
|
@@ -4461,25 +4887,26 @@
|
|
|
4461
4887
|
</dl>
|
|
4462
4888
|
|
|
4463
4889
|
|
|
4464
|
-
|
|
4465
4890
|
|
|
4466
|
-
|
|
4467
4891
|
|
|
4468
|
-
|
|
4469
4892
|
|
|
4470
|
-
|
|
4471
4893
|
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4894
|
+
|
|
4895
|
+
|
|
4896
|
+
|
|
4897
|
+
|
|
4898
|
+
|
|
4899
|
+
<h5>Throws:</h5>
|
|
4900
|
+
|
|
4901
|
+
|
|
4476
4902
|
|
|
4477
4903
|
<dl>
|
|
4478
4904
|
<dt>
|
|
4479
4905
|
<div class="param-desc">
|
|
4480
|
-
If the value cannot be set
|
|
4906
|
+
<p>If the value cannot be set</p>
|
|
4481
4907
|
</div>
|
|
4482
4908
|
</dt>
|
|
4909
|
+
<dd></dd>
|
|
4483
4910
|
<dt>
|
|
4484
4911
|
<dl>
|
|
4485
4912
|
<dt>
|
|
@@ -4493,15 +4920,16 @@
|
|
|
4493
4920
|
</dd>
|
|
4494
4921
|
</dl>
|
|
4495
4922
|
</dt>
|
|
4923
|
+
<dd></dd>
|
|
4496
4924
|
</dl>
|
|
4497
4925
|
|
|
4498
4926
|
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
<h5>Returns:</h5>
|
|
4503
4927
|
|
|
4504
|
-
|
|
4928
|
+
|
|
4929
|
+
|
|
4930
|
+
<h5>Returns:</h5>
|
|
4931
|
+
|
|
4932
|
+
|
|
4505
4933
|
<div class="param-desc">
|
|
4506
4934
|
<p>this</p>
|
|
4507
4935
|
</div>
|
|
@@ -4520,34 +4948,45 @@
|
|
|
4520
4948
|
</dd>
|
|
4521
4949
|
</dl>
|
|
4522
4950
|
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
4951
|
|
|
4526
|
-
|
|
4952
|
+
|
|
4953
|
+
|
|
4527
4954
|
|
|
4528
4955
|
|
|
4529
4956
|
|
|
4530
|
-
<dt>
|
|
4531
|
-
<h4 class="name" id="toArrayBuffer"><span class="type-signature"></span>toArrayBuffer<span class="signature">()</span><span class="type-signature"> → {ArrayBuffer}</span></h4>
|
|
4532
4957
|
|
|
4533
4958
|
|
|
4534
|
-
</dt>
|
|
4535
|
-
<dd>
|
|
4536
4959
|
|
|
4537
|
-
|
|
4538
|
-
<div class="description">
|
|
4539
|
-
<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>
|
|
4540
|
-
</div>
|
|
4541
|
-
|
|
4960
|
+
<h4 class="name" id="toArrayBuffer"><span class="type-signature"></span>toArrayBuffer<span class="signature">()</span><span class="type-signature"> → {ArrayBuffer}</span></h4>
|
|
4542
4961
|
|
|
4543
4962
|
|
|
4544
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
|
+
|
|
4545
4984
|
|
|
4546
4985
|
|
|
4547
4986
|
|
|
4548
4987
|
|
|
4549
4988
|
|
|
4550
|
-
|
|
4989
|
+
|
|
4551
4990
|
|
|
4552
4991
|
|
|
4553
4992
|
|
|
@@ -4569,7 +5008,7 @@
|
|
|
4569
5008
|
|
|
4570
5009
|
<dt class="tag-source">Source:</dt>
|
|
4571
5010
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4572
|
-
<a href="
|
|
5011
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2748">line 2748</a>
|
|
4573
5012
|
</li></ul></dd>
|
|
4574
5013
|
|
|
4575
5014
|
|
|
@@ -4581,25 +5020,27 @@
|
|
|
4581
5020
|
</dl>
|
|
4582
5021
|
|
|
4583
5022
|
|
|
4584
|
-
|
|
4585
5023
|
|
|
4586
|
-
|
|
4587
5024
|
|
|
4588
|
-
|
|
4589
5025
|
|
|
4590
|
-
|
|
4591
5026
|
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
5027
|
+
|
|
5028
|
+
|
|
5029
|
+
|
|
5030
|
+
|
|
5031
|
+
|
|
5032
|
+
<h5>Throws:</h5>
|
|
5033
|
+
|
|
5034
|
+
|
|
4596
5035
|
|
|
4597
5036
|
<dl>
|
|
4598
5037
|
<dt>
|
|
4599
5038
|
<div class="param-desc">
|
|
4600
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
4601
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>
|
|
4602
5042
|
</div>
|
|
4603
5043
|
</dt>
|
|
5044
|
+
<dd></dd>
|
|
4604
5045
|
<dt>
|
|
4605
5046
|
<dl>
|
|
4606
5047
|
<dt>
|
|
@@ -4613,15 +5054,16 @@
|
|
|
4613
5054
|
</dd>
|
|
4614
5055
|
</dl>
|
|
4615
5056
|
</dt>
|
|
5057
|
+
<dd></dd>
|
|
4616
5058
|
</dl>
|
|
4617
5059
|
|
|
4618
5060
|
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
5061
|
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
5062
|
+
|
|
5063
|
+
|
|
5064
|
+
<h5>Returns:</h5>
|
|
5065
|
+
|
|
5066
|
+
|
|
4625
5067
|
<div class="param-desc">
|
|
4626
5068
|
<p>Encoded message as ArrayBuffer</p>
|
|
4627
5069
|
</div>
|
|
@@ -4640,34 +5082,45 @@
|
|
|
4640
5082
|
</dd>
|
|
4641
5083
|
</dl>
|
|
4642
5084
|
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
5085
|
|
|
4646
|
-
|
|
5086
|
+
|
|
5087
|
+
|
|
4647
5088
|
|
|
4648
5089
|
|
|
4649
5090
|
|
|
4650
|
-
<dt>
|
|
4651
|
-
<h4 class="name" id="toBase64"><span class="type-signature"></span>toBase64<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
4652
5091
|
|
|
4653
5092
|
|
|
4654
|
-
</dt>
|
|
4655
|
-
<dd>
|
|
4656
5093
|
|
|
4657
|
-
|
|
4658
|
-
<div class="description">
|
|
4659
|
-
<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>
|
|
4660
|
-
</div>
|
|
4661
|
-
|
|
5094
|
+
<h4 class="name" id="toBase64"><span class="type-signature"></span>toBase64<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
4662
5095
|
|
|
4663
5096
|
|
|
4664
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
|
+
|
|
4665
5118
|
|
|
4666
5119
|
|
|
4667
5120
|
|
|
4668
5121
|
|
|
4669
5122
|
|
|
4670
|
-
|
|
5123
|
+
|
|
4671
5124
|
|
|
4672
5125
|
|
|
4673
5126
|
|
|
@@ -4689,7 +5142,7 @@
|
|
|
4689
5142
|
|
|
4690
5143
|
<dt class="tag-source">Source:</dt>
|
|
4691
5144
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4692
|
-
<a href="
|
|
5145
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2806">line 2806</a>
|
|
4693
5146
|
</li></ul></dd>
|
|
4694
5147
|
|
|
4695
5148
|
|
|
@@ -4701,25 +5154,27 @@
|
|
|
4701
5154
|
</dl>
|
|
4702
5155
|
|
|
4703
5156
|
|
|
4704
|
-
|
|
4705
5157
|
|
|
4706
|
-
|
|
4707
5158
|
|
|
4708
|
-
|
|
4709
5159
|
|
|
4710
|
-
|
|
4711
5160
|
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
5161
|
+
|
|
5162
|
+
|
|
5163
|
+
|
|
5164
|
+
|
|
5165
|
+
|
|
5166
|
+
<h5>Throws:</h5>
|
|
5167
|
+
|
|
5168
|
+
|
|
4716
5169
|
|
|
4717
5170
|
<dl>
|
|
4718
5171
|
<dt>
|
|
4719
5172
|
<div class="param-desc">
|
|
4720
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
4721
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>
|
|
4722
5176
|
</div>
|
|
4723
5177
|
</dt>
|
|
5178
|
+
<dd></dd>
|
|
4724
5179
|
<dt>
|
|
4725
5180
|
<dl>
|
|
4726
5181
|
<dt>
|
|
@@ -4733,15 +5188,16 @@
|
|
|
4733
5188
|
</dd>
|
|
4734
5189
|
</dl>
|
|
4735
5190
|
</dt>
|
|
5191
|
+
<dd></dd>
|
|
4736
5192
|
</dl>
|
|
4737
5193
|
|
|
4738
5194
|
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
<h5>Returns:</h5>
|
|
4743
5195
|
|
|
4744
|
-
|
|
5196
|
+
|
|
5197
|
+
|
|
5198
|
+
<h5>Returns:</h5>
|
|
5199
|
+
|
|
5200
|
+
|
|
4745
5201
|
<div class="param-desc">
|
|
4746
5202
|
<p>Base64 encoded string</p>
|
|
4747
5203
|
</div>
|
|
@@ -4760,34 +5216,45 @@
|
|
|
4760
5216
|
</dd>
|
|
4761
5217
|
</dl>
|
|
4762
5218
|
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
5219
|
|
|
4766
|
-
|
|
5220
|
+
|
|
5221
|
+
|
|
4767
5222
|
|
|
4768
5223
|
|
|
4769
5224
|
|
|
4770
|
-
<dt>
|
|
4771
|
-
<h4 class="name" id="toBuffer"><span class="type-signature"></span>toBuffer<span class="signature">()</span><span class="type-signature"> → (non-null) {Buffer}</span></h4>
|
|
4772
5225
|
|
|
4773
5226
|
|
|
4774
|
-
</dt>
|
|
4775
|
-
<dd>
|
|
4776
5227
|
|
|
4777
|
-
|
|
4778
|
-
<div class="description">
|
|
4779
|
-
<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>
|
|
4780
|
-
</div>
|
|
4781
|
-
|
|
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>
|
|
4782
5229
|
|
|
4783
5230
|
|
|
4784
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
|
+
|
|
4785
5252
|
|
|
4786
5253
|
|
|
4787
5254
|
|
|
4788
5255
|
|
|
4789
5256
|
|
|
4790
|
-
|
|
5257
|
+
|
|
4791
5258
|
|
|
4792
5259
|
|
|
4793
5260
|
|
|
@@ -4809,7 +5276,7 @@
|
|
|
4809
5276
|
|
|
4810
5277
|
<dt class="tag-source">Source:</dt>
|
|
4811
5278
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4812
|
-
<a href="
|
|
5279
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2777">line 2777</a>
|
|
4813
5280
|
</li></ul></dd>
|
|
4814
5281
|
|
|
4815
5282
|
|
|
@@ -4821,25 +5288,27 @@
|
|
|
4821
5288
|
</dl>
|
|
4822
5289
|
|
|
4823
5290
|
|
|
4824
|
-
|
|
4825
5291
|
|
|
4826
|
-
|
|
4827
5292
|
|
|
4828
|
-
|
|
4829
5293
|
|
|
4830
|
-
|
|
4831
5294
|
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
5295
|
+
|
|
5296
|
+
|
|
5297
|
+
|
|
5298
|
+
|
|
5299
|
+
|
|
5300
|
+
<h5>Throws:</h5>
|
|
5301
|
+
|
|
5302
|
+
|
|
4836
5303
|
|
|
4837
5304
|
<dl>
|
|
4838
5305
|
<dt>
|
|
4839
5306
|
<div class="param-desc">
|
|
4840
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
4841
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>
|
|
4842
5310
|
</div>
|
|
4843
5311
|
</dt>
|
|
5312
|
+
<dd></dd>
|
|
4844
5313
|
<dt>
|
|
4845
5314
|
<dl>
|
|
4846
5315
|
<dt>
|
|
@@ -4853,15 +5322,16 @@
|
|
|
4853
5322
|
</dd>
|
|
4854
5323
|
</dl>
|
|
4855
5324
|
</dt>
|
|
5325
|
+
<dd></dd>
|
|
4856
5326
|
</dl>
|
|
4857
5327
|
|
|
4858
5328
|
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
5329
|
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
5330
|
+
|
|
5331
|
+
|
|
5332
|
+
<h5>Returns:</h5>
|
|
5333
|
+
|
|
5334
|
+
|
|
4865
5335
|
|
|
4866
5336
|
|
|
4867
5337
|
<dl>
|
|
@@ -4876,34 +5346,45 @@
|
|
|
4876
5346
|
</dd>
|
|
4877
5347
|
</dl>
|
|
4878
5348
|
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
5349
|
|
|
4882
|
-
|
|
5350
|
+
|
|
5351
|
+
|
|
4883
5352
|
|
|
4884
5353
|
|
|
4885
5354
|
|
|
4886
|
-
<dt>
|
|
4887
|
-
<h4 class="name" id="toHex"><span class="type-signature"></span>toHex<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
4888
5355
|
|
|
4889
5356
|
|
|
4890
|
-
</dt>
|
|
4891
|
-
<dd>
|
|
4892
5357
|
|
|
4893
|
-
|
|
4894
|
-
<div class="description">
|
|
4895
|
-
<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>
|
|
4896
|
-
</div>
|
|
4897
|
-
|
|
5358
|
+
<h4 class="name" id="toHex"><span class="type-signature"></span>toHex<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
4898
5359
|
|
|
4899
5360
|
|
|
4900
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
|
+
|
|
4901
5382
|
|
|
4902
5383
|
|
|
4903
5384
|
|
|
4904
5385
|
|
|
4905
5386
|
|
|
4906
|
-
|
|
5387
|
+
|
|
4907
5388
|
|
|
4908
5389
|
|
|
4909
5390
|
|
|
@@ -4925,7 +5406,7 @@
|
|
|
4925
5406
|
|
|
4926
5407
|
<dt class="tag-source">Source:</dt>
|
|
4927
5408
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4928
|
-
<a href="
|
|
5409
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2835">line 2835</a>
|
|
4929
5410
|
</li></ul></dd>
|
|
4930
5411
|
|
|
4931
5412
|
|
|
@@ -4937,25 +5418,27 @@
|
|
|
4937
5418
|
</dl>
|
|
4938
5419
|
|
|
4939
5420
|
|
|
4940
|
-
|
|
4941
5421
|
|
|
4942
|
-
|
|
4943
5422
|
|
|
4944
|
-
|
|
4945
5423
|
|
|
4946
|
-
|
|
4947
5424
|
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
5425
|
+
|
|
5426
|
+
|
|
5427
|
+
|
|
5428
|
+
|
|
5429
|
+
|
|
5430
|
+
<h5>Throws:</h5>
|
|
5431
|
+
|
|
5432
|
+
|
|
4952
5433
|
|
|
4953
5434
|
<dl>
|
|
4954
5435
|
<dt>
|
|
4955
5436
|
<div class="param-desc">
|
|
4956
|
-
If the message cannot be encoded or if required fields are missing. The later still
|
|
4957
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>
|
|
4958
5440
|
</div>
|
|
4959
5441
|
</dt>
|
|
5442
|
+
<dd></dd>
|
|
4960
5443
|
<dt>
|
|
4961
5444
|
<dl>
|
|
4962
5445
|
<dt>
|
|
@@ -4969,15 +5452,16 @@
|
|
|
4969
5452
|
</dd>
|
|
4970
5453
|
</dl>
|
|
4971
5454
|
</dt>
|
|
5455
|
+
<dd></dd>
|
|
4972
5456
|
</dl>
|
|
4973
5457
|
|
|
4974
5458
|
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
<h5>Returns:</h5>
|
|
4979
5459
|
|
|
4980
|
-
|
|
5460
|
+
|
|
5461
|
+
|
|
5462
|
+
<h5>Returns:</h5>
|
|
5463
|
+
|
|
5464
|
+
|
|
4981
5465
|
<div class="param-desc">
|
|
4982
5466
|
<p>Hex encoded string</p>
|
|
4983
5467
|
</div>
|
|
@@ -4996,33 +5480,35 @@
|
|
|
4996
5480
|
</dd>
|
|
4997
5481
|
</dl>
|
|
4998
5482
|
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
5483
|
|
|
5002
|
-
|
|
5484
|
+
|
|
5485
|
+
|
|
5003
5486
|
|
|
5004
5487
|
|
|
5005
5488
|
|
|
5006
|
-
<dt>
|
|
5007
|
-
<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>
|
|
5008
5489
|
|
|
5009
5490
|
|
|
5010
|
-
</dt>
|
|
5011
|
-
<dd>
|
|
5012
5491
|
|
|
5013
|
-
|
|
5014
|
-
<div class="description">
|
|
5015
|
-
<p>Returns the message's raw payload.</p>
|
|
5016
|
-
</div>
|
|
5017
|
-
|
|
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>
|
|
5018
5493
|
|
|
5019
5494
|
|
|
5020
5495
|
|
|
5021
|
-
|
|
5022
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>
|
|
5023
5511
|
|
|
5024
|
-
<h5>Parameters:</h5>
|
|
5025
|
-
|
|
5026
5512
|
|
|
5027
5513
|
<table class="params">
|
|
5028
5514
|
<thead>
|
|
@@ -5111,10 +5597,20 @@
|
|
|
5111
5597
|
|
|
5112
5598
|
</tbody>
|
|
5113
5599
|
</table>
|
|
5600
|
+
|
|
5601
|
+
|
|
5602
|
+
|
|
5603
|
+
|
|
5604
|
+
|
|
5605
|
+
|
|
5606
|
+
<dl class="details">
|
|
5607
|
+
|
|
5114
5608
|
|
|
5115
5609
|
|
|
5116
5610
|
|
|
5117
|
-
|
|
5611
|
+
|
|
5612
|
+
|
|
5613
|
+
|
|
5118
5614
|
|
|
5119
5615
|
|
|
5120
5616
|
|
|
@@ -5136,7 +5632,7 @@
|
|
|
5136
5632
|
|
|
5137
5633
|
<dt class="tag-source">Source:</dt>
|
|
5138
5634
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5139
|
-
<a href="
|
|
5635
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line2909">line 2909</a>
|
|
5140
5636
|
</li></ul></dd>
|
|
5141
5637
|
|
|
5142
5638
|
|
|
@@ -5148,20 +5644,20 @@
|
|
|
5148
5644
|
</dl>
|
|
5149
5645
|
|
|
5150
5646
|
|
|
5151
|
-
|
|
5152
5647
|
|
|
5153
|
-
|
|
5154
5648
|
|
|
5155
|
-
|
|
5156
5649
|
|
|
5157
|
-
|
|
5158
5650
|
|
|
5159
|
-
|
|
5160
5651
|
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5652
|
+
|
|
5653
|
+
|
|
5654
|
+
|
|
5655
|
+
|
|
5656
|
+
|
|
5657
|
+
|
|
5658
|
+
<h5>Returns:</h5>
|
|
5659
|
+
|
|
5660
|
+
|
|
5165
5661
|
<div class="param-desc">
|
|
5166
5662
|
<p>Raw payload</p>
|
|
5167
5663
|
</div>
|
|
@@ -5180,34 +5676,45 @@
|
|
|
5180
5676
|
</dd>
|
|
5181
5677
|
</dl>
|
|
5182
5678
|
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
5679
|
|
|
5186
|
-
|
|
5680
|
+
|
|
5681
|
+
|
|
5187
5682
|
|
|
5188
5683
|
|
|
5189
5684
|
|
|
5190
|
-
<dt>
|
|
5191
|
-
<h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
5192
5685
|
|
|
5193
5686
|
|
|
5194
|
-
</dt>
|
|
5195
|
-
<dd>
|
|
5196
5687
|
|
|
5197
|
-
|
|
5198
|
-
<div class="description">
|
|
5199
|
-
<p>Returns a string representation of this Message.</p>
|
|
5200
|
-
</div>
|
|
5201
|
-
|
|
5688
|
+
<h4 class="name" id="toString"><span class="type-signature"></span>toString<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
|
|
5202
5689
|
|
|
5203
5690
|
|
|
5204
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
|
+
|
|
5205
5712
|
|
|
5206
5713
|
|
|
5207
5714
|
|
|
5208
5715
|
|
|
5209
5716
|
|
|
5210
|
-
|
|
5717
|
+
|
|
5211
5718
|
|
|
5212
5719
|
|
|
5213
5720
|
|
|
@@ -5229,7 +5736,7 @@
|
|
|
5229
5736
|
|
|
5230
5737
|
<dt class="tag-source">Source:</dt>
|
|
5231
5738
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5232
|
-
<a href="
|
|
5739
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line3039">line 3039</a>
|
|
5233
5740
|
</li></ul></dd>
|
|
5234
5741
|
|
|
5235
5742
|
|
|
@@ -5241,20 +5748,20 @@
|
|
|
5241
5748
|
</dl>
|
|
5242
5749
|
|
|
5243
5750
|
|
|
5244
|
-
|
|
5245
5751
|
|
|
5246
|
-
|
|
5247
5752
|
|
|
5248
|
-
|
|
5249
5753
|
|
|
5250
|
-
|
|
5251
5754
|
|
|
5252
|
-
|
|
5253
5755
|
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5756
|
+
|
|
5757
|
+
|
|
5758
|
+
|
|
5759
|
+
|
|
5760
|
+
|
|
5761
|
+
|
|
5762
|
+
<h5>Returns:</h5>
|
|
5763
|
+
|
|
5764
|
+
|
|
5258
5765
|
<div class="param-desc">
|
|
5259
5766
|
<p>String representation as of ".Fully.Qualified.MessageName"</p>
|
|
5260
5767
|
</div>
|
|
@@ -5273,12 +5780,11 @@
|
|
|
5273
5780
|
</dd>
|
|
5274
5781
|
</dl>
|
|
5275
5782
|
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
5783
|
|
|
5279
|
-
</dd>
|
|
5280
5784
|
|
|
5281
|
-
|
|
5785
|
+
|
|
5786
|
+
|
|
5787
|
+
|
|
5282
5788
|
|
|
5283
5789
|
|
|
5284
5790
|
|
|
@@ -5294,13 +5800,13 @@
|
|
|
5294
5800
|
</div>
|
|
5295
5801
|
|
|
5296
5802
|
<nav>
|
|
5297
|
-
<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>
|
|
5298
5804
|
</nav>
|
|
5299
5805
|
|
|
5300
|
-
<br
|
|
5806
|
+
<br class="clear">
|
|
5301
5807
|
|
|
5302
5808
|
<footer>
|
|
5303
|
-
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)
|
|
5304
5810
|
</footer>
|
|
5305
5811
|
|
|
5306
5812
|
<script> prettyPrint(); </script>
|