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
package/docs/ProtoBuf.html
CHANGED
|
@@ -23,26 +23,36 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
|
|
26
27
|
<section>
|
|
27
28
|
|
|
28
29
|
<header>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
|
|
31
|
+
<h2>
|
|
32
|
+
ProtoBuf
|
|
33
|
+
</h2>
|
|
34
|
+
|
|
32
35
|
|
|
33
36
|
</header>
|
|
34
37
|
|
|
35
38
|
<article>
|
|
36
39
|
<div class="container-overview">
|
|
37
40
|
|
|
38
|
-
|
|
39
|
-
|
|
40
41
|
|
|
41
42
|
<div class="description"><p>The ProtoBuf namespace.</p></div>
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
|
|
46
|
+
|
|
47
|
+
|
|
45
48
|
<dl class="details">
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
46
56
|
|
|
47
57
|
|
|
48
58
|
|
|
@@ -64,7 +74,7 @@
|
|
|
64
74
|
|
|
65
75
|
<dt class="tag-source">Source:</dt>
|
|
66
76
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
67
|
-
<a href="
|
|
77
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line40">line 40</a>
|
|
68
78
|
</li></ul></dd>
|
|
69
79
|
|
|
70
80
|
|
|
@@ -85,8 +95,6 @@
|
|
|
85
95
|
|
|
86
96
|
|
|
87
97
|
|
|
88
|
-
|
|
89
|
-
|
|
90
98
|
<h3 class="subsection-title">Classes</h3>
|
|
91
99
|
|
|
92
100
|
<dl>
|
|
@@ -104,13 +112,13 @@
|
|
|
104
112
|
<h3 class="subsection-title">Namespaces</h3>
|
|
105
113
|
|
|
106
114
|
<dl>
|
|
107
|
-
<dt><a href="
|
|
115
|
+
<dt><a href="ProtoBuf.DotProto.html">DotProto</a></dt>
|
|
108
116
|
<dd></dd>
|
|
109
117
|
|
|
110
|
-
<dt><a href="
|
|
118
|
+
<dt><a href="ProtoBuf.Reflect.html">Reflect</a></dt>
|
|
111
119
|
<dd></dd>
|
|
112
120
|
|
|
113
|
-
<dt><a href="
|
|
121
|
+
<dt><a href="ProtoBuf.Util.html">Util</a></dt>
|
|
114
122
|
<dd></dd>
|
|
115
123
|
</dl>
|
|
116
124
|
|
|
@@ -118,30 +126,37 @@
|
|
|
118
126
|
|
|
119
127
|
<h3 class="subsection-title">Members</h3>
|
|
120
128
|
|
|
121
|
-
|
|
129
|
+
|
|
122
130
|
|
|
123
|
-
<
|
|
124
|
-
<h4 class="name" id="ByteBuffer"><span class="type-signature">(static, non-null) </span>ByteBuffer<span class="type-signature"> :function</span></h4>
|
|
131
|
+
<h4 class="name" id=".ByteBuffer"><span class="type-signature">(static, non-null) </span>ByteBuffer<span class="type-signature"> :function</span></h4>
|
|
125
132
|
|
|
126
|
-
|
|
127
|
-
</dt>
|
|
128
|
-
<dd>
|
|
129
|
-
|
|
130
133
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
<h5>Type:</h5>
|
|
139
|
+
<ul>
|
|
140
|
+
<li>
|
|
141
|
+
|
|
136
142
|
<span class="param-type">function</span>
|
|
137
143
|
|
|
138
144
|
|
|
139
|
-
|
|
140
|
-
|
|
145
|
+
</li>
|
|
146
|
+
</ul>
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
<dl class="details">
|
|
153
|
+
|
|
141
154
|
|
|
142
155
|
|
|
143
156
|
|
|
144
|
-
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
145
160
|
|
|
146
161
|
|
|
147
162
|
|
|
@@ -163,7 +178,7 @@
|
|
|
163
178
|
|
|
164
179
|
<dt class="tag-source">Source:</dt>
|
|
165
180
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
166
|
-
<a href="
|
|
181
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line46">line 46</a>
|
|
167
182
|
</li></ul></dd>
|
|
168
183
|
|
|
169
184
|
|
|
@@ -175,40 +190,46 @@
|
|
|
175
190
|
</dl>
|
|
176
191
|
|
|
177
192
|
|
|
178
|
-
|
|
179
193
|
|
|
180
|
-
|
|
181
|
-
|
|
194
|
+
|
|
195
|
+
|
|
182
196
|
|
|
183
197
|
|
|
184
198
|
|
|
185
|
-
<
|
|
186
|
-
<h4 class="name" id="convertFieldsToCamelCase"><span class="type-signature">(static) </span>convertFieldsToCamelCase<span class="type-signature"> :boolean</span></h4>
|
|
199
|
+
<h4 class="name" id=".convertFieldsToCamelCase"><span class="type-signature">(static) </span>convertFieldsToCamelCase<span class="type-signature"> :boolean</span></h4>
|
|
187
200
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
<
|
|
193
|
-
<p>If set to <code>true</code>, field names will be converted from underscore notation to camel case. Defaults to <code>false</code>.
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
<div class="description">
|
|
205
|
+
<p>If set to <code>true</code>, field names will be converted from underscore notation to camel case. Defaults to <code>false</code>.
|
|
194
206
|
Must be set prior to parsing.</p>
|
|
195
|
-
|
|
196
|
-
|
|
207
|
+
</div>
|
|
197
208
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
<h5>Type:</h5>
|
|
212
|
+
<ul>
|
|
213
|
+
<li>
|
|
214
|
+
|
|
203
215
|
<span class="param-type">boolean</span>
|
|
204
216
|
|
|
205
217
|
|
|
206
|
-
|
|
207
|
-
|
|
218
|
+
</li>
|
|
219
|
+
</ul>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
<dl class="details">
|
|
226
|
+
|
|
208
227
|
|
|
209
228
|
|
|
210
229
|
|
|
211
|
-
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
212
233
|
|
|
213
234
|
|
|
214
235
|
|
|
@@ -230,7 +251,7 @@
|
|
|
230
251
|
|
|
231
252
|
<dt class="tag-source">Source:</dt>
|
|
232
253
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
233
|
-
<a href="
|
|
254
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line274">line 274</a>
|
|
234
255
|
</li></ul></dd>
|
|
235
256
|
|
|
236
257
|
|
|
@@ -242,39 +263,45 @@
|
|
|
242
263
|
</dl>
|
|
243
264
|
|
|
244
265
|
|
|
245
|
-
|
|
246
266
|
|
|
247
|
-
|
|
248
|
-
|
|
267
|
+
|
|
268
|
+
|
|
249
269
|
|
|
250
270
|
|
|
251
271
|
|
|
252
|
-
<
|
|
253
|
-
<h4 class="name" id="ID_MAX"><span class="type-signature">(static, constant) </span>ID_MAX<span class="type-signature"> :number</span></h4>
|
|
272
|
+
<h4 class="name" id=".ID_MAX"><span class="type-signature">(static, constant) </span>ID_MAX<span class="type-signature"> :number</span></h4>
|
|
254
273
|
|
|
255
|
-
|
|
256
|
-
</dt>
|
|
257
|
-
<dd>
|
|
258
|
-
|
|
259
|
-
<div class="description">
|
|
260
|
-
<p>Maximum field id.</p>
|
|
261
|
-
</div>
|
|
262
|
-
|
|
263
274
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
<div class="description">
|
|
278
|
+
<p>Maximum field id.</p>
|
|
279
|
+
</div>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
<h5>Type:</h5>
|
|
284
|
+
<ul>
|
|
285
|
+
<li>
|
|
286
|
+
|
|
269
287
|
<span class="param-type">number</span>
|
|
270
288
|
|
|
271
289
|
|
|
272
|
-
|
|
273
|
-
|
|
290
|
+
</li>
|
|
291
|
+
</ul>
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
<dl class="details">
|
|
298
|
+
|
|
274
299
|
|
|
275
300
|
|
|
276
301
|
|
|
277
|
-
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
278
305
|
|
|
279
306
|
|
|
280
307
|
|
|
@@ -296,7 +323,7 @@
|
|
|
296
323
|
|
|
297
324
|
<dt class="tag-source">Source:</dt>
|
|
298
325
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
299
|
-
<a href="
|
|
326
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line266">line 266</a>
|
|
300
327
|
</li></ul></dd>
|
|
301
328
|
|
|
302
329
|
|
|
@@ -308,39 +335,45 @@
|
|
|
308
335
|
</dl>
|
|
309
336
|
|
|
310
337
|
|
|
311
|
-
|
|
312
338
|
|
|
313
|
-
|
|
314
|
-
|
|
339
|
+
|
|
340
|
+
|
|
315
341
|
|
|
316
342
|
|
|
317
343
|
|
|
318
|
-
<
|
|
319
|
-
<h4 class="name" id="ID_MIN"><span class="type-signature">(static, constant) </span>ID_MIN<span class="type-signature"> :number</span></h4>
|
|
344
|
+
<h4 class="name" id=".ID_MIN"><span class="type-signature">(static, constant) </span>ID_MIN<span class="type-signature"> :number</span></h4>
|
|
320
345
|
|
|
321
|
-
|
|
322
|
-
</dt>
|
|
323
|
-
<dd>
|
|
324
|
-
|
|
325
|
-
<div class="description">
|
|
326
|
-
<p>Minimum field id.</p>
|
|
327
|
-
</div>
|
|
328
|
-
|
|
329
346
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
<div class="description">
|
|
350
|
+
<p>Minimum field id.</p>
|
|
351
|
+
</div>
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
<h5>Type:</h5>
|
|
356
|
+
<ul>
|
|
357
|
+
<li>
|
|
358
|
+
|
|
335
359
|
<span class="param-type">number</span>
|
|
336
360
|
|
|
337
361
|
|
|
338
|
-
|
|
339
|
-
|
|
362
|
+
</li>
|
|
363
|
+
</ul>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
<dl class="details">
|
|
370
|
+
|
|
340
371
|
|
|
341
372
|
|
|
342
373
|
|
|
343
|
-
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
344
377
|
|
|
345
378
|
|
|
346
379
|
|
|
@@ -362,7 +395,7 @@
|
|
|
362
395
|
|
|
363
396
|
<dt class="tag-source">Source:</dt>
|
|
364
397
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
365
|
-
<a href="
|
|
398
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line258">line 258</a>
|
|
366
399
|
</li></ul></dd>
|
|
367
400
|
|
|
368
401
|
|
|
@@ -374,39 +407,45 @@
|
|
|
374
407
|
</dl>
|
|
375
408
|
|
|
376
409
|
|
|
377
|
-
|
|
378
410
|
|
|
379
|
-
|
|
380
|
-
|
|
411
|
+
|
|
412
|
+
|
|
381
413
|
|
|
382
414
|
|
|
383
415
|
|
|
384
|
-
<
|
|
385
|
-
<h4 class="name" id="Lang"><span class="type-signature">(static, non-null) </span>Lang<span class="type-signature"> :Object.<string, RegExp></span></h4>
|
|
416
|
+
<h4 class="name" id=".Lang"><span class="type-signature">(static, non-null) </span>Lang<span class="type-signature"> :Object.<string, !RegExp></span></h4>
|
|
386
417
|
|
|
387
|
-
|
|
388
|
-
</dt>
|
|
389
|
-
<dd>
|
|
390
|
-
|
|
391
|
-
<div class="description">
|
|
392
|
-
<p>Language expressions.</p>
|
|
393
|
-
</div>
|
|
394
|
-
|
|
395
418
|
|
|
396
|
-
|
|
397
|
-
<h5>Type:</h5>
|
|
398
|
-
<ul>
|
|
399
|
-
<li>
|
|
400
|
-
|
|
401
|
-
<span class="param-type">Object.<string, RegExp></span>
|
|
402
419
|
|
|
403
420
|
|
|
404
|
-
|
|
405
|
-
|
|
421
|
+
<div class="description">
|
|
422
|
+
<p>Language expressions.</p>
|
|
423
|
+
</div>
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
<h5>Type:</h5>
|
|
428
|
+
<ul>
|
|
429
|
+
<li>
|
|
430
|
+
|
|
431
|
+
<span class="param-type">Object.<string, !RegExp></span>
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
</li>
|
|
435
|
+
</ul>
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
<dl class="details">
|
|
442
|
+
|
|
406
443
|
|
|
407
444
|
|
|
408
445
|
|
|
409
|
-
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
410
449
|
|
|
411
450
|
|
|
412
451
|
|
|
@@ -428,7 +467,7 @@
|
|
|
428
467
|
|
|
429
468
|
<dt class="tag-source">Source:</dt>
|
|
430
469
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
431
|
-
<a href="
|
|
470
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line414">line 414</a>
|
|
432
471
|
</li></ul></dd>
|
|
433
472
|
|
|
434
473
|
|
|
@@ -440,35 +479,41 @@
|
|
|
440
479
|
</dl>
|
|
441
480
|
|
|
442
481
|
|
|
443
|
-
|
|
444
482
|
|
|
445
|
-
|
|
446
|
-
|
|
483
|
+
|
|
484
|
+
|
|
447
485
|
|
|
448
486
|
|
|
449
487
|
|
|
450
|
-
<
|
|
451
|
-
<h4 class="name" id="Long"><span class="type-signature">(static, nullable) </span>Long<span class="type-signature"> :function</span></h4>
|
|
488
|
+
<h4 class="name" id=".Long"><span class="type-signature">(static, nullable) </span>Long<span class="type-signature"> :function</span></h4>
|
|
452
489
|
|
|
453
|
-
|
|
454
|
-
</dt>
|
|
455
|
-
<dd>
|
|
456
|
-
|
|
457
490
|
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
<h5>Type:</h5>
|
|
496
|
+
<ul>
|
|
497
|
+
<li>
|
|
498
|
+
|
|
463
499
|
<span class="param-type">function</span>
|
|
464
500
|
|
|
465
501
|
|
|
466
|
-
|
|
467
|
-
|
|
502
|
+
</li>
|
|
503
|
+
</ul>
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
<dl class="details">
|
|
510
|
+
|
|
468
511
|
|
|
469
512
|
|
|
470
513
|
|
|
471
|
-
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
472
517
|
|
|
473
518
|
|
|
474
519
|
|
|
@@ -490,7 +535,7 @@
|
|
|
490
535
|
|
|
491
536
|
<dt class="tag-source">Source:</dt>
|
|
492
537
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
493
|
-
<a href="
|
|
538
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line52">line 52</a>
|
|
494
539
|
</li></ul></dd>
|
|
495
540
|
|
|
496
541
|
|
|
@@ -502,39 +547,45 @@
|
|
|
502
547
|
</dl>
|
|
503
548
|
|
|
504
549
|
|
|
505
|
-
|
|
506
550
|
|
|
507
|
-
|
|
508
|
-
|
|
551
|
+
|
|
552
|
+
|
|
509
553
|
|
|
510
554
|
|
|
511
555
|
|
|
512
|
-
<
|
|
513
|
-
<h4 class="name" id="MAP_KEY_TYPES"><span class="type-signature">(static, constant, non-null) </span>MAP_KEY_TYPES<span class="type-signature"> :Array.<!Object.<string, {name: string, wireType: number, defaultValue: *}>></span></h4>
|
|
556
|
+
<h4 class="name" id=".MAP_KEY_TYPES"><span class="type-signature">(static, constant, non-null) </span>MAP_KEY_TYPES<span class="type-signature"> :Array.<!Object.<string, {name: string, wireType: number, defaultValue: *}>></span></h4>
|
|
514
557
|
|
|
515
|
-
|
|
516
|
-
</dt>
|
|
517
|
-
<dd>
|
|
518
|
-
|
|
519
|
-
<div class="description">
|
|
520
|
-
<p>Valid map key types.</p>
|
|
521
|
-
</div>
|
|
522
|
-
|
|
523
558
|
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
<div class="description">
|
|
562
|
+
<p>Valid map key types.</p>
|
|
563
|
+
</div>
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
<h5>Type:</h5>
|
|
568
|
+
<ul>
|
|
569
|
+
<li>
|
|
570
|
+
|
|
529
571
|
<span class="param-type">Array.<!Object.<string, {name: string, wireType: number, defaultValue: *}>></span>
|
|
530
572
|
|
|
531
573
|
|
|
532
|
-
|
|
533
|
-
|
|
574
|
+
</li>
|
|
575
|
+
</ul>
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
<dl class="details">
|
|
582
|
+
|
|
534
583
|
|
|
535
584
|
|
|
536
585
|
|
|
537
|
-
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
|
|
538
589
|
|
|
539
590
|
|
|
540
591
|
|
|
@@ -556,7 +607,7 @@
|
|
|
556
607
|
|
|
557
608
|
<dt class="tag-source">Source:</dt>
|
|
558
609
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
559
|
-
<a href="
|
|
610
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line236">line 236</a>
|
|
560
611
|
</li></ul></dd>
|
|
561
612
|
|
|
562
613
|
|
|
@@ -568,39 +619,45 @@
|
|
|
568
619
|
</dl>
|
|
569
620
|
|
|
570
621
|
|
|
571
|
-
|
|
572
622
|
|
|
573
|
-
|
|
574
|
-
|
|
623
|
+
|
|
624
|
+
|
|
575
625
|
|
|
576
626
|
|
|
577
627
|
|
|
578
|
-
<
|
|
579
|
-
<h4 class="name" id="PACKABLE_WIRE_TYPES"><span class="type-signature">(static, constant, non-null) </span>PACKABLE_WIRE_TYPES<span class="type-signature"> :Array.<number></span></h4>
|
|
628
|
+
<h4 class="name" id=".PACKABLE_WIRE_TYPES"><span class="type-signature">(static, constant, non-null) </span>PACKABLE_WIRE_TYPES<span class="type-signature"> :Array.<number></span></h4>
|
|
580
629
|
|
|
581
|
-
|
|
582
|
-
</dt>
|
|
583
|
-
<dd>
|
|
584
|
-
|
|
585
|
-
<div class="description">
|
|
586
|
-
<p>Packable wire types.</p>
|
|
587
|
-
</div>
|
|
588
|
-
|
|
589
630
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
<div class="description">
|
|
634
|
+
<p>Packable wire types.</p>
|
|
635
|
+
</div>
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
<h5>Type:</h5>
|
|
640
|
+
<ul>
|
|
641
|
+
<li>
|
|
642
|
+
|
|
595
643
|
<span class="param-type">Array.<number></span>
|
|
596
644
|
|
|
597
645
|
|
|
598
|
-
|
|
599
|
-
|
|
646
|
+
</li>
|
|
647
|
+
</ul>
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
<dl class="details">
|
|
654
|
+
|
|
600
655
|
|
|
601
656
|
|
|
602
657
|
|
|
603
|
-
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
604
661
|
|
|
605
662
|
|
|
606
663
|
|
|
@@ -622,7 +679,7 @@
|
|
|
622
679
|
|
|
623
680
|
<dt class="tag-source">Source:</dt>
|
|
624
681
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
625
|
-
<a href="
|
|
682
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line123">line 123</a>
|
|
626
683
|
</li></ul></dd>
|
|
627
684
|
|
|
628
685
|
|
|
@@ -634,40 +691,46 @@
|
|
|
634
691
|
</dl>
|
|
635
692
|
|
|
636
693
|
|
|
637
|
-
|
|
638
694
|
|
|
639
|
-
|
|
640
|
-
|
|
695
|
+
|
|
696
|
+
|
|
641
697
|
|
|
642
698
|
|
|
643
699
|
|
|
644
|
-
<
|
|
645
|
-
<h4 class="name" id="populateAccessors"><span class="type-signature">(static) </span>populateAccessors<span class="type-signature"> :boolean</span></h4>
|
|
700
|
+
<h4 class="name" id=".populateAccessors"><span class="type-signature">(static) </span>populateAccessors<span class="type-signature"> :boolean</span></h4>
|
|
646
701
|
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
<
|
|
652
|
-
<p>By default, messages are populated with (setX, set_x) accessors for each field. This can be disabled by
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
<div class="description">
|
|
706
|
+
<p>By default, messages are populated with (setX, set_x) accessors for each field. This can be disabled by
|
|
653
707
|
setting this to <code>false</code> prior to building messages.</p>
|
|
654
|
-
|
|
655
|
-
|
|
708
|
+
</div>
|
|
656
709
|
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
<h5>Type:</h5>
|
|
713
|
+
<ul>
|
|
714
|
+
<li>
|
|
715
|
+
|
|
662
716
|
<span class="param-type">boolean</span>
|
|
663
717
|
|
|
664
718
|
|
|
665
|
-
|
|
666
|
-
|
|
719
|
+
</li>
|
|
720
|
+
</ul>
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
<dl class="details">
|
|
727
|
+
|
|
667
728
|
|
|
668
729
|
|
|
669
730
|
|
|
670
|
-
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
671
734
|
|
|
672
735
|
|
|
673
736
|
|
|
@@ -689,7 +752,7 @@
|
|
|
689
752
|
|
|
690
753
|
<dt class="tag-source">Source:</dt>
|
|
691
754
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
692
|
-
<a href="
|
|
755
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line282">line 282</a>
|
|
693
756
|
</li></ul></dd>
|
|
694
757
|
|
|
695
758
|
|
|
@@ -701,40 +764,46 @@
|
|
|
701
764
|
</dl>
|
|
702
765
|
|
|
703
766
|
|
|
704
|
-
|
|
705
767
|
|
|
706
|
-
|
|
707
|
-
|
|
768
|
+
|
|
769
|
+
|
|
708
770
|
|
|
709
771
|
|
|
710
772
|
|
|
711
|
-
<
|
|
712
|
-
<h4 class="name" id="populateDefaults"><span class="type-signature">(static) </span>populateDefaults<span class="type-signature"> :boolean</span></h4>
|
|
773
|
+
<h4 class="name" id=".populateDefaults"><span class="type-signature">(static) </span>populateDefaults<span class="type-signature"> :boolean</span></h4>
|
|
713
774
|
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
<
|
|
719
|
-
<p>By default, messages are populated with default values if a field is not present on the wire. To disable
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
<div class="description">
|
|
779
|
+
<p>By default, messages are populated with default values if a field is not present on the wire. To disable
|
|
720
780
|
this behavior, set this setting to <code>false</code>.</p>
|
|
721
|
-
|
|
722
|
-
|
|
781
|
+
</div>
|
|
723
782
|
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
<h5>Type:</h5>
|
|
786
|
+
<ul>
|
|
787
|
+
<li>
|
|
788
|
+
|
|
729
789
|
<span class="param-type">boolean</span>
|
|
730
790
|
|
|
731
791
|
|
|
732
|
-
|
|
733
|
-
|
|
792
|
+
</li>
|
|
793
|
+
</ul>
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
<dl class="details">
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
734
803
|
|
|
735
804
|
|
|
736
805
|
|
|
737
|
-
|
|
806
|
+
|
|
738
807
|
|
|
739
808
|
|
|
740
809
|
|
|
@@ -756,7 +825,7 @@
|
|
|
756
825
|
|
|
757
826
|
<dt class="tag-source">Source:</dt>
|
|
758
827
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
759
|
-
<a href="
|
|
828
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line290">line 290</a>
|
|
760
829
|
</li></ul></dd>
|
|
761
830
|
|
|
762
831
|
|
|
@@ -768,39 +837,45 @@
|
|
|
768
837
|
</dl>
|
|
769
838
|
|
|
770
839
|
|
|
771
|
-
|
|
772
840
|
|
|
773
|
-
|
|
774
|
-
|
|
841
|
+
|
|
842
|
+
|
|
775
843
|
|
|
776
844
|
|
|
777
845
|
|
|
778
|
-
<
|
|
779
|
-
|
|
846
|
+
<h4 class="name" id=".TYPES"><span class="type-signature">(static, constant, non-null) </span>TYPES<span class="type-signature"> :Object.<string, {name: string, wireType: number, defaultValue: *}></span></h4>
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
<div class="description">
|
|
852
|
+
<p>Types.</p>
|
|
853
|
+
</div>
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
<h5>Type:</h5>
|
|
858
|
+
<ul>
|
|
859
|
+
<li>
|
|
860
|
+
|
|
861
|
+
<span class="param-type">Object.<string, {name: string, wireType: number, defaultValue: *}></span>
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
</li>
|
|
865
|
+
</ul>
|
|
780
866
|
|
|
781
|
-
|
|
782
|
-
</dt>
|
|
783
|
-
<dd>
|
|
784
|
-
|
|
785
|
-
<div class="description">
|
|
786
|
-
<p>Types.</p>
|
|
787
|
-
</div>
|
|
788
|
-
|
|
789
867
|
|
|
790
|
-
|
|
791
|
-
<h5>Type:</h5>
|
|
792
|
-
<ul>
|
|
793
|
-
<li>
|
|
794
|
-
|
|
795
|
-
<span class="param-type">Object.<string, Object></span>
|
|
796
868
|
|
|
797
869
|
|
|
798
|
-
|
|
799
|
-
|
|
870
|
+
|
|
871
|
+
<dl class="details">
|
|
872
|
+
|
|
800
873
|
|
|
801
874
|
|
|
802
875
|
|
|
803
|
-
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
|
|
804
879
|
|
|
805
880
|
|
|
806
881
|
|
|
@@ -822,7 +897,7 @@
|
|
|
822
897
|
|
|
823
898
|
<dt class="tag-source">Source:</dt>
|
|
824
899
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
825
|
-
<a href="
|
|
900
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line136">line 136</a>
|
|
826
901
|
</li></ul></dd>
|
|
827
902
|
|
|
828
903
|
|
|
@@ -834,39 +909,45 @@
|
|
|
834
909
|
</dl>
|
|
835
910
|
|
|
836
911
|
|
|
837
|
-
|
|
838
912
|
|
|
839
|
-
|
|
840
|
-
|
|
913
|
+
|
|
914
|
+
|
|
841
915
|
|
|
842
916
|
|
|
843
917
|
|
|
844
|
-
<
|
|
845
|
-
<h4 class="name" id="VERSION"><span class="type-signature">(static, constant) </span>VERSION<span class="type-signature"> :string</span></h4>
|
|
918
|
+
<h4 class="name" id=".VERSION"><span class="type-signature">(static, constant) </span>VERSION<span class="type-signature"> :string</span></h4>
|
|
846
919
|
|
|
847
|
-
|
|
848
|
-
</dt>
|
|
849
|
-
<dd>
|
|
850
|
-
|
|
851
|
-
<div class="description">
|
|
852
|
-
<p>ProtoBuf.js version.</p>
|
|
853
|
-
</div>
|
|
854
|
-
|
|
855
920
|
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
<div class="description">
|
|
924
|
+
<p>ProtoBuf.js version.</p>
|
|
925
|
+
</div>
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
<h5>Type:</h5>
|
|
930
|
+
<ul>
|
|
931
|
+
<li>
|
|
932
|
+
|
|
861
933
|
<span class="param-type">string</span>
|
|
862
934
|
|
|
863
935
|
|
|
864
|
-
|
|
865
|
-
|
|
936
|
+
</li>
|
|
937
|
+
</ul>
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
<dl class="details">
|
|
944
|
+
|
|
866
945
|
|
|
867
946
|
|
|
868
947
|
|
|
869
|
-
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
870
951
|
|
|
871
952
|
|
|
872
953
|
|
|
@@ -888,7 +969,7 @@
|
|
|
888
969
|
|
|
889
970
|
<dt class="tag-source">Source:</dt>
|
|
890
971
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
891
|
-
<a href="
|
|
972
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line60">line 60</a>
|
|
892
973
|
</li></ul></dd>
|
|
893
974
|
|
|
894
975
|
|
|
@@ -900,39 +981,45 @@
|
|
|
900
981
|
</dl>
|
|
901
982
|
|
|
902
983
|
|
|
903
|
-
|
|
904
984
|
|
|
905
|
-
|
|
906
|
-
|
|
985
|
+
|
|
986
|
+
|
|
907
987
|
|
|
908
988
|
|
|
909
989
|
|
|
910
|
-
<
|
|
911
|
-
<h4 class="name" id="WIRE_TYPES"><span class="type-signature">(static, constant) </span>WIRE_TYPES<span class="type-signature"> :Object.<string, number></span></h4>
|
|
990
|
+
<h4 class="name" id=".WIRE_TYPES"><span class="type-signature">(static, constant) </span>WIRE_TYPES<span class="type-signature"> :Object.<string, number></span></h4>
|
|
912
991
|
|
|
913
|
-
|
|
914
|
-
</dt>
|
|
915
|
-
<dd>
|
|
916
|
-
|
|
917
|
-
<div class="description">
|
|
918
|
-
<p>Wire types.</p>
|
|
919
|
-
</div>
|
|
920
|
-
|
|
921
992
|
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
<div class="description">
|
|
996
|
+
<p>Wire types.</p>
|
|
997
|
+
</div>
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
<h5>Type:</h5>
|
|
1002
|
+
<ul>
|
|
1003
|
+
<li>
|
|
1004
|
+
|
|
927
1005
|
<span class="param-type">Object.<string, number></span>
|
|
928
1006
|
|
|
929
1007
|
|
|
930
|
-
|
|
931
|
-
|
|
1008
|
+
</li>
|
|
1009
|
+
</ul>
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
<dl class="details">
|
|
1016
|
+
|
|
932
1017
|
|
|
933
1018
|
|
|
934
1019
|
|
|
935
|
-
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
|
|
936
1023
|
|
|
937
1024
|
|
|
938
1025
|
|
|
@@ -954,7 +1041,7 @@
|
|
|
954
1041
|
|
|
955
1042
|
<dt class="tag-source">Source:</dt>
|
|
956
1043
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
957
|
-
<a href="
|
|
1044
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line68">line 68</a>
|
|
958
1045
|
</li></ul></dd>
|
|
959
1046
|
|
|
960
1047
|
|
|
@@ -966,40 +1053,46 @@
|
|
|
966
1053
|
</dl>
|
|
967
1054
|
|
|
968
1055
|
|
|
969
|
-
|
|
970
1056
|
|
|
971
|
-
|
|
972
|
-
|
|
1057
|
+
|
|
1058
|
+
|
|
973
1059
|
|
|
974
1060
|
|
|
975
1061
|
|
|
976
|
-
<
|
|
977
|
-
|
|
1062
|
+
<h4 class="name" id=".WIRE_TYPES.BITS32"><span class="type-signature">(static, constant) </span>WIRE_TYPES.BITS32<span class="type-signature"> :number</span></h4>
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
<div class="description">
|
|
1068
|
+
<p>Fixed 32 bits wire type.</p>
|
|
1069
|
+
</div>
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
<h5>Type:</h5>
|
|
1074
|
+
<ul>
|
|
1075
|
+
<li>
|
|
1076
|
+
|
|
1077
|
+
<span class="param-type">number</span>
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
</li>
|
|
1081
|
+
</ul>
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
<dl class="details">
|
|
978
1088
|
|
|
979
1089
|
|
|
980
|
-
</dt>
|
|
981
|
-
<dd>
|
|
982
|
-
|
|
983
|
-
<div class="description">
|
|
984
|
-
<p>Fixed 32 bits wire type.</p>
|
|
985
|
-
</div>
|
|
986
|
-
|
|
987
1090
|
|
|
988
1091
|
|
|
989
|
-
<h5>Type:</h5>
|
|
990
|
-
<ul>
|
|
991
|
-
<li>
|
|
992
|
-
|
|
993
|
-
<span class="param-type">number</span>
|
|
994
|
-
|
|
995
1092
|
|
|
996
|
-
</li>
|
|
997
|
-
</ul>
|
|
998
1093
|
|
|
999
1094
|
|
|
1000
1095
|
|
|
1001
|
-
<dl class="details">
|
|
1002
|
-
|
|
1003
1096
|
|
|
1004
1097
|
|
|
1005
1098
|
|
|
@@ -1020,7 +1113,7 @@
|
|
|
1020
1113
|
|
|
1021
1114
|
<dt class="tag-source">Source:</dt>
|
|
1022
1115
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1023
|
-
<a href="
|
|
1116
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line115">line 115</a>
|
|
1024
1117
|
</li></ul></dd>
|
|
1025
1118
|
|
|
1026
1119
|
|
|
@@ -1032,39 +1125,45 @@
|
|
|
1032
1125
|
</dl>
|
|
1033
1126
|
|
|
1034
1127
|
|
|
1035
|
-
|
|
1036
1128
|
|
|
1037
|
-
|
|
1038
|
-
|
|
1129
|
+
|
|
1130
|
+
|
|
1039
1131
|
|
|
1040
1132
|
|
|
1041
1133
|
|
|
1042
|
-
<
|
|
1043
|
-
<h4 class="name" id="WIRE_TYPES.BITS64"><span class="type-signature">(static, constant) </span>WIRE_TYPES.BITS64<span class="type-signature"> :number</span></h4>
|
|
1134
|
+
<h4 class="name" id=".WIRE_TYPES.BITS64"><span class="type-signature">(static, constant) </span>WIRE_TYPES.BITS64<span class="type-signature"> :number</span></h4>
|
|
1044
1135
|
|
|
1045
|
-
|
|
1046
|
-
</dt>
|
|
1047
|
-
<dd>
|
|
1048
|
-
|
|
1049
|
-
<div class="description">
|
|
1050
|
-
<p>Fixed 64 bits wire type.</p>
|
|
1051
|
-
</div>
|
|
1052
|
-
|
|
1053
1136
|
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
<div class="description">
|
|
1140
|
+
<p>Fixed 64 bits wire type.</p>
|
|
1141
|
+
</div>
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
<h5>Type:</h5>
|
|
1146
|
+
<ul>
|
|
1147
|
+
<li>
|
|
1148
|
+
|
|
1059
1149
|
<span class="param-type">number</span>
|
|
1060
1150
|
|
|
1061
1151
|
|
|
1062
|
-
|
|
1063
|
-
|
|
1152
|
+
</li>
|
|
1153
|
+
</ul>
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
<dl class="details">
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
|
|
1064
1163
|
|
|
1065
1164
|
|
|
1066
1165
|
|
|
1067
|
-
|
|
1166
|
+
|
|
1068
1167
|
|
|
1069
1168
|
|
|
1070
1169
|
|
|
@@ -1086,7 +1185,7 @@
|
|
|
1086
1185
|
|
|
1087
1186
|
<dt class="tag-source">Source:</dt>
|
|
1088
1187
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1089
|
-
<a href="
|
|
1188
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line83">line 83</a>
|
|
1090
1189
|
</li></ul></dd>
|
|
1091
1190
|
|
|
1092
1191
|
|
|
@@ -1098,39 +1197,45 @@
|
|
|
1098
1197
|
</dl>
|
|
1099
1198
|
|
|
1100
1199
|
|
|
1101
|
-
|
|
1102
1200
|
|
|
1103
|
-
|
|
1104
|
-
|
|
1201
|
+
|
|
1202
|
+
|
|
1105
1203
|
|
|
1106
1204
|
|
|
1107
1205
|
|
|
1108
|
-
<
|
|
1109
|
-
<h4 class="name" id="WIRE_TYPES.ENDGROUP"><span class="type-signature">(static, constant) </span>WIRE_TYPES.ENDGROUP<span class="type-signature"> :number</span></h4>
|
|
1206
|
+
<h4 class="name" id=".WIRE_TYPES.ENDGROUP"><span class="type-signature">(static, constant) </span>WIRE_TYPES.ENDGROUP<span class="type-signature"> :number</span></h4>
|
|
1110
1207
|
|
|
1111
|
-
|
|
1112
|
-
</dt>
|
|
1113
|
-
<dd>
|
|
1114
|
-
|
|
1115
|
-
<div class="description">
|
|
1116
|
-
<p>End group wire type.</p>
|
|
1117
|
-
</div>
|
|
1118
|
-
|
|
1119
1208
|
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
<div class="description">
|
|
1212
|
+
<p>End group wire type.</p>
|
|
1213
|
+
</div>
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
<h5>Type:</h5>
|
|
1218
|
+
<ul>
|
|
1219
|
+
<li>
|
|
1220
|
+
|
|
1125
1221
|
<span class="param-type">number</span>
|
|
1126
1222
|
|
|
1127
1223
|
|
|
1128
|
-
|
|
1129
|
-
|
|
1224
|
+
</li>
|
|
1225
|
+
</ul>
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
<dl class="details">
|
|
1232
|
+
|
|
1130
1233
|
|
|
1131
1234
|
|
|
1132
1235
|
|
|
1133
|
-
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
|
|
1134
1239
|
|
|
1135
1240
|
|
|
1136
1241
|
|
|
@@ -1152,7 +1257,7 @@
|
|
|
1152
1257
|
|
|
1153
1258
|
<dt class="tag-source">Source:</dt>
|
|
1154
1259
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1155
|
-
<a href="
|
|
1260
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line107">line 107</a>
|
|
1156
1261
|
</li></ul></dd>
|
|
1157
1262
|
|
|
1158
1263
|
|
|
@@ -1164,39 +1269,45 @@
|
|
|
1164
1269
|
</dl>
|
|
1165
1270
|
|
|
1166
1271
|
|
|
1167
|
-
|
|
1168
1272
|
|
|
1169
|
-
|
|
1170
|
-
|
|
1273
|
+
|
|
1274
|
+
|
|
1171
1275
|
|
|
1172
1276
|
|
|
1173
1277
|
|
|
1174
|
-
<
|
|
1175
|
-
<h4 class="name" id="WIRE_TYPES.LDELIM"><span class="type-signature">(static, constant) </span>WIRE_TYPES.LDELIM<span class="type-signature"> :number</span></h4>
|
|
1278
|
+
<h4 class="name" id=".WIRE_TYPES.LDELIM"><span class="type-signature">(static, constant) </span>WIRE_TYPES.LDELIM<span class="type-signature"> :number</span></h4>
|
|
1176
1279
|
|
|
1177
|
-
|
|
1178
|
-
</dt>
|
|
1179
|
-
<dd>
|
|
1180
|
-
|
|
1181
|
-
<div class="description">
|
|
1182
|
-
<p>Length delimited wire type.</p>
|
|
1183
|
-
</div>
|
|
1184
|
-
|
|
1185
1280
|
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
<div class="description">
|
|
1284
|
+
<p>Length delimited wire type.</p>
|
|
1285
|
+
</div>
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
<h5>Type:</h5>
|
|
1290
|
+
<ul>
|
|
1291
|
+
<li>
|
|
1292
|
+
|
|
1191
1293
|
<span class="param-type">number</span>
|
|
1192
1294
|
|
|
1193
1295
|
|
|
1194
|
-
|
|
1195
|
-
|
|
1296
|
+
</li>
|
|
1297
|
+
</ul>
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
<dl class="details">
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
|
|
1196
1307
|
|
|
1197
1308
|
|
|
1198
1309
|
|
|
1199
|
-
|
|
1310
|
+
|
|
1200
1311
|
|
|
1201
1312
|
|
|
1202
1313
|
|
|
@@ -1218,7 +1329,7 @@
|
|
|
1218
1329
|
|
|
1219
1330
|
<dt class="tag-source">Source:</dt>
|
|
1220
1331
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1221
|
-
<a href="
|
|
1332
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line91">line 91</a>
|
|
1222
1333
|
</li></ul></dd>
|
|
1223
1334
|
|
|
1224
1335
|
|
|
@@ -1230,39 +1341,45 @@
|
|
|
1230
1341
|
</dl>
|
|
1231
1342
|
|
|
1232
1343
|
|
|
1233
|
-
|
|
1234
1344
|
|
|
1235
|
-
|
|
1236
|
-
|
|
1345
|
+
|
|
1346
|
+
|
|
1237
1347
|
|
|
1238
1348
|
|
|
1239
1349
|
|
|
1240
|
-
<
|
|
1241
|
-
<h4 class="name" id="WIRE_TYPES.STARTGROUP"><span class="type-signature">(static, constant) </span>WIRE_TYPES.STARTGROUP<span class="type-signature"> :number</span></h4>
|
|
1350
|
+
<h4 class="name" id=".WIRE_TYPES.STARTGROUP"><span class="type-signature">(static, constant) </span>WIRE_TYPES.STARTGROUP<span class="type-signature"> :number</span></h4>
|
|
1242
1351
|
|
|
1243
|
-
|
|
1244
|
-
</dt>
|
|
1245
|
-
<dd>
|
|
1246
|
-
|
|
1247
|
-
<div class="description">
|
|
1248
|
-
<p>Start group wire type.</p>
|
|
1249
|
-
</div>
|
|
1250
|
-
|
|
1251
1352
|
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
<div class="description">
|
|
1356
|
+
<p>Start group wire type.</p>
|
|
1357
|
+
</div>
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
<h5>Type:</h5>
|
|
1362
|
+
<ul>
|
|
1363
|
+
<li>
|
|
1364
|
+
|
|
1257
1365
|
<span class="param-type">number</span>
|
|
1258
1366
|
|
|
1259
1367
|
|
|
1260
|
-
|
|
1261
|
-
|
|
1368
|
+
</li>
|
|
1369
|
+
</ul>
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
<dl class="details">
|
|
1376
|
+
|
|
1262
1377
|
|
|
1263
1378
|
|
|
1264
1379
|
|
|
1265
|
-
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
|
|
1266
1383
|
|
|
1267
1384
|
|
|
1268
1385
|
|
|
@@ -1284,7 +1401,7 @@
|
|
|
1284
1401
|
|
|
1285
1402
|
<dt class="tag-source">Source:</dt>
|
|
1286
1403
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1287
|
-
<a href="
|
|
1404
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line99">line 99</a>
|
|
1288
1405
|
</li></ul></dd>
|
|
1289
1406
|
|
|
1290
1407
|
|
|
@@ -1296,39 +1413,45 @@
|
|
|
1296
1413
|
</dl>
|
|
1297
1414
|
|
|
1298
1415
|
|
|
1299
|
-
|
|
1300
1416
|
|
|
1301
|
-
|
|
1302
|
-
|
|
1417
|
+
|
|
1418
|
+
|
|
1303
1419
|
|
|
1304
1420
|
|
|
1305
1421
|
|
|
1306
|
-
<
|
|
1307
|
-
<h4 class="name" id="WIRE_TYPES.VARINT"><span class="type-signature">(static) </span>WIRE_TYPES.VARINT<span class="type-signature"> :number</span></h4>
|
|
1422
|
+
<h4 class="name" id=".WIRE_TYPES.VARINT"><span class="type-signature">(static) </span>WIRE_TYPES.VARINT<span class="type-signature"> :number</span></h4>
|
|
1308
1423
|
|
|
1309
|
-
|
|
1310
|
-
</dt>
|
|
1311
|
-
<dd>
|
|
1312
|
-
|
|
1313
|
-
<div class="description">
|
|
1314
|
-
<p>Varint wire type.</p>
|
|
1315
|
-
</div>
|
|
1316
|
-
|
|
1317
1424
|
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
<div class="description">
|
|
1428
|
+
<p>Varint wire type.</p>
|
|
1429
|
+
</div>
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
<h5>Type:</h5>
|
|
1434
|
+
<ul>
|
|
1435
|
+
<li>
|
|
1436
|
+
|
|
1323
1437
|
<span class="param-type">number</span>
|
|
1324
1438
|
|
|
1325
1439
|
|
|
1326
|
-
|
|
1327
|
-
|
|
1440
|
+
</li>
|
|
1441
|
+
</ul>
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
<dl class="details">
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
|
|
1328
1451
|
|
|
1329
1452
|
|
|
1330
1453
|
|
|
1331
|
-
|
|
1454
|
+
|
|
1332
1455
|
|
|
1333
1456
|
|
|
1334
1457
|
|
|
@@ -1350,7 +1473,7 @@
|
|
|
1350
1473
|
|
|
1351
1474
|
<dt class="tag-source">Source:</dt>
|
|
1352
1475
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1353
|
-
<a href="
|
|
1476
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line75">line 75</a>
|
|
1354
1477
|
</li></ul></dd>
|
|
1355
1478
|
|
|
1356
1479
|
|
|
@@ -1362,39 +1485,41 @@
|
|
|
1362
1485
|
</dl>
|
|
1363
1486
|
|
|
1364
1487
|
|
|
1365
|
-
|
|
1366
1488
|
|
|
1367
|
-
|
|
1368
|
-
</dd>
|
|
1369
1489
|
|
|
1370
|
-
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
|
|
1371
1493
|
|
|
1372
1494
|
|
|
1373
1495
|
|
|
1374
1496
|
<h3 class="subsection-title">Methods</h3>
|
|
1375
1497
|
|
|
1376
|
-
|
|
1498
|
+
|
|
1377
1499
|
|
|
1378
|
-
<dt>
|
|
1379
|
-
<h4 class="name" id="loadJson"><span class="type-signature">(static) </span>loadJson<span class="signature">(json, builder<span class="signature-attributes">opt</span>, filename<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>}</span></h4>
|
|
1380
1500
|
|
|
1381
1501
|
|
|
1382
|
-
</dt>
|
|
1383
|
-
<dd>
|
|
1384
1502
|
|
|
1385
|
-
|
|
1386
|
-
<div class="description">
|
|
1387
|
-
<p>Loads a .json definition and returns the Builder.</p>
|
|
1388
|
-
</div>
|
|
1389
|
-
|
|
1503
|
+
<h4 class="name" id=".loadJson"><span class="type-signature">(static) </span>loadJson<span class="signature">(json, builder<span class="signature-attributes">opt</span>, filename<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>}</span></h4>
|
|
1390
1504
|
|
|
1391
1505
|
|
|
1392
1506
|
|
|
1393
|
-
|
|
1394
1507
|
|
|
1508
|
+
|
|
1509
|
+
<div class="description">
|
|
1510
|
+
<p>Loads a .json definition and returns the Builder.</p>
|
|
1511
|
+
</div>
|
|
1512
|
+
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
<h5>Parameters:</h5>
|
|
1395
1522
|
|
|
1396
|
-
<h5>Parameters:</h5>
|
|
1397
|
-
|
|
1398
1523
|
|
|
1399
1524
|
<table class="params">
|
|
1400
1525
|
<thead>
|
|
@@ -1528,10 +1653,20 @@
|
|
|
1528
1653
|
|
|
1529
1654
|
</tbody>
|
|
1530
1655
|
</table>
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
<dl class="details">
|
|
1663
|
+
|
|
1531
1664
|
|
|
1532
1665
|
|
|
1533
1666
|
|
|
1534
|
-
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
|
|
1535
1670
|
|
|
1536
1671
|
|
|
1537
1672
|
|
|
@@ -1553,7 +1688,7 @@
|
|
|
1553
1688
|
|
|
1554
1689
|
<dt class="tag-source">Source:</dt>
|
|
1555
1690
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1556
|
-
<a href="
|
|
1691
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line5217">line 5217</a>
|
|
1557
1692
|
</li></ul></dd>
|
|
1558
1693
|
|
|
1559
1694
|
|
|
@@ -1565,25 +1700,26 @@
|
|
|
1565
1700
|
</dl>
|
|
1566
1701
|
|
|
1567
1702
|
|
|
1568
|
-
|
|
1569
1703
|
|
|
1570
|
-
|
|
1571
1704
|
|
|
1572
|
-
|
|
1573
1705
|
|
|
1574
|
-
|
|
1575
1706
|
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1707
|
+
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
<h5>Throws:</h5>
|
|
1713
|
+
|
|
1714
|
+
|
|
1580
1715
|
|
|
1581
1716
|
<dl>
|
|
1582
1717
|
<dt>
|
|
1583
1718
|
<div class="param-desc">
|
|
1584
|
-
If the definition cannot be parsed or built
|
|
1719
|
+
<p>If the definition cannot be parsed or built</p>
|
|
1585
1720
|
</div>
|
|
1586
1721
|
</dt>
|
|
1722
|
+
<dd></dd>
|
|
1587
1723
|
<dt>
|
|
1588
1724
|
<dl>
|
|
1589
1725
|
<dt>
|
|
@@ -1597,15 +1733,16 @@
|
|
|
1597
1733
|
</dd>
|
|
1598
1734
|
</dl>
|
|
1599
1735
|
</dt>
|
|
1736
|
+
<dd></dd>
|
|
1600
1737
|
</dl>
|
|
1601
1738
|
|
|
1602
1739
|
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
1740
|
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
<h5>Returns:</h5>
|
|
1744
|
+
|
|
1745
|
+
|
|
1609
1746
|
<div class="param-desc">
|
|
1610
1747
|
<p>Builder to create new messages</p>
|
|
1611
1748
|
</div>
|
|
@@ -1624,33 +1761,35 @@
|
|
|
1624
1761
|
</dd>
|
|
1625
1762
|
</dl>
|
|
1626
1763
|
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
1764
|
|
|
1630
|
-
|
|
1765
|
+
|
|
1766
|
+
|
|
1631
1767
|
|
|
1632
1768
|
|
|
1633
1769
|
|
|
1634
|
-
<dt>
|
|
1635
|
-
<h4 class="name" id="loadJsonFile"><span class="type-signature">(static) </span>loadJsonFile<span class="signature">(filename, callback<span class="signature-attributes">opt</span>, builder<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>|undefined}</span></h4>
|
|
1636
1770
|
|
|
1637
1771
|
|
|
1638
|
-
</dt>
|
|
1639
|
-
<dd>
|
|
1640
1772
|
|
|
1641
|
-
|
|
1642
|
-
<div class="description">
|
|
1643
|
-
<p>Loads a .json file and returns the Builder.</p>
|
|
1644
|
-
</div>
|
|
1645
|
-
|
|
1773
|
+
<h4 class="name" id=".loadJsonFile"><span class="type-signature">(static) </span>loadJsonFile<span class="signature">(filename, callback<span class="signature-attributes">opt</span>, builder<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>|undefined}</span></h4>
|
|
1646
1774
|
|
|
1647
1775
|
|
|
1648
1776
|
|
|
1649
|
-
|
|
1650
1777
|
|
|
1778
|
+
|
|
1779
|
+
<div class="description">
|
|
1780
|
+
<p>Loads a .json file and returns the Builder.</p>
|
|
1781
|
+
</div>
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
<h5>Parameters:</h5>
|
|
1651
1792
|
|
|
1652
|
-
<h5>Parameters:</h5>
|
|
1653
|
-
|
|
1654
1793
|
|
|
1655
1794
|
<table class="params">
|
|
1656
1795
|
<thead>
|
|
@@ -1778,10 +1917,20 @@
|
|
|
1778
1917
|
|
|
1779
1918
|
</tbody>
|
|
1780
1919
|
</table>
|
|
1920
|
+
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
<dl class="details">
|
|
1927
|
+
|
|
1781
1928
|
|
|
1782
1929
|
|
|
1783
1930
|
|
|
1784
|
-
|
|
1931
|
+
|
|
1932
|
+
|
|
1933
|
+
|
|
1785
1934
|
|
|
1786
1935
|
|
|
1787
1936
|
|
|
@@ -1803,7 +1952,7 @@
|
|
|
1803
1952
|
|
|
1804
1953
|
<dt class="tag-source">Source:</dt>
|
|
1805
1954
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1806
|
-
<a href="
|
|
1955
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line5242">line 5242</a>
|
|
1807
1956
|
</li></ul></dd>
|
|
1808
1957
|
|
|
1809
1958
|
|
|
@@ -1815,20 +1964,20 @@
|
|
|
1815
1964
|
</dl>
|
|
1816
1965
|
|
|
1817
1966
|
|
|
1818
|
-
|
|
1819
1967
|
|
|
1820
|
-
|
|
1821
1968
|
|
|
1822
|
-
|
|
1823
1969
|
|
|
1824
|
-
|
|
1825
1970
|
|
|
1826
|
-
|
|
1827
1971
|
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1972
|
+
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
|
|
1976
|
+
|
|
1977
|
+
|
|
1978
|
+
<h5>Returns:</h5>
|
|
1979
|
+
|
|
1980
|
+
|
|
1832
1981
|
<div class="param-desc">
|
|
1833
1982
|
<p>The Builder if synchronous (no callback specified, will be NULL if the
|
|
1834
1983
|
request has failed), else undefined</p>
|
|
@@ -1851,33 +2000,35 @@
|
|
|
1851
2000
|
</dd>
|
|
1852
2001
|
</dl>
|
|
1853
2002
|
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
2003
|
|
|
1857
|
-
|
|
2004
|
+
|
|
2005
|
+
|
|
1858
2006
|
|
|
1859
2007
|
|
|
1860
2008
|
|
|
1861
|
-
<dt>
|
|
1862
|
-
<h4 class="name" id="loadProto"><span class="type-signature">(static) </span>loadProto<span class="signature">(proto, builder<span class="signature-attributes">opt</span>, filename<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>}</span></h4>
|
|
1863
2009
|
|
|
1864
2010
|
|
|
1865
|
-
</dt>
|
|
1866
|
-
<dd>
|
|
1867
2011
|
|
|
1868
|
-
|
|
1869
|
-
<div class="description">
|
|
1870
|
-
<p>Loads a .proto string and returns the Builder.</p>
|
|
1871
|
-
</div>
|
|
1872
|
-
|
|
2012
|
+
<h4 class="name" id=".loadProto"><span class="type-signature">(static) </span>loadProto<span class="signature">(proto, builder<span class="signature-attributes">opt</span>, filename<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>}</span></h4>
|
|
1873
2013
|
|
|
1874
2014
|
|
|
1875
2015
|
|
|
1876
|
-
|
|
1877
2016
|
|
|
2017
|
+
|
|
2018
|
+
<div class="description">
|
|
2019
|
+
<p>Loads a .proto string and returns the Builder.</p>
|
|
2020
|
+
</div>
|
|
2021
|
+
|
|
2022
|
+
|
|
2023
|
+
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
<h5>Parameters:</h5>
|
|
1878
2031
|
|
|
1879
|
-
<h5>Parameters:</h5>
|
|
1880
|
-
|
|
1881
2032
|
|
|
1882
2033
|
<table class="params">
|
|
1883
2034
|
<thead>
|
|
@@ -2008,10 +2159,20 @@
|
|
|
2008
2159
|
|
|
2009
2160
|
</tbody>
|
|
2010
2161
|
</table>
|
|
2162
|
+
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
|
|
2167
|
+
|
|
2168
|
+
<dl class="details">
|
|
2169
|
+
|
|
2011
2170
|
|
|
2012
2171
|
|
|
2013
2172
|
|
|
2014
|
-
|
|
2173
|
+
|
|
2174
|
+
|
|
2175
|
+
|
|
2015
2176
|
|
|
2016
2177
|
|
|
2017
2178
|
|
|
@@ -2033,7 +2194,7 @@
|
|
|
2033
2194
|
|
|
2034
2195
|
<dt class="tag-source">Source:</dt>
|
|
2035
2196
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2036
|
-
<a href="
|
|
2197
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line5124">line 5124</a>
|
|
2037
2198
|
</li></ul></dd>
|
|
2038
2199
|
|
|
2039
2200
|
|
|
@@ -2045,25 +2206,26 @@
|
|
|
2045
2206
|
</dl>
|
|
2046
2207
|
|
|
2047
2208
|
|
|
2048
|
-
|
|
2049
2209
|
|
|
2050
|
-
|
|
2051
2210
|
|
|
2052
|
-
|
|
2053
2211
|
|
|
2054
|
-
|
|
2055
2212
|
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2213
|
+
|
|
2214
|
+
|
|
2215
|
+
|
|
2216
|
+
|
|
2217
|
+
|
|
2218
|
+
<h5>Throws:</h5>
|
|
2219
|
+
|
|
2220
|
+
|
|
2060
2221
|
|
|
2061
2222
|
<dl>
|
|
2062
2223
|
<dt>
|
|
2063
2224
|
<div class="param-desc">
|
|
2064
|
-
If the definition cannot be parsed or built
|
|
2225
|
+
<p>If the definition cannot be parsed or built</p>
|
|
2065
2226
|
</div>
|
|
2066
2227
|
</dt>
|
|
2228
|
+
<dd></dd>
|
|
2067
2229
|
<dt>
|
|
2068
2230
|
<dl>
|
|
2069
2231
|
<dt>
|
|
@@ -2077,15 +2239,16 @@
|
|
|
2077
2239
|
</dd>
|
|
2078
2240
|
</dl>
|
|
2079
2241
|
</dt>
|
|
2242
|
+
<dd></dd>
|
|
2080
2243
|
</dl>
|
|
2081
2244
|
|
|
2082
2245
|
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
2246
|
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2247
|
+
|
|
2248
|
+
|
|
2249
|
+
<h5>Returns:</h5>
|
|
2250
|
+
|
|
2251
|
+
|
|
2089
2252
|
<div class="param-desc">
|
|
2090
2253
|
<p>Builder to create new messages</p>
|
|
2091
2254
|
</div>
|
|
@@ -2104,33 +2267,35 @@
|
|
|
2104
2267
|
</dd>
|
|
2105
2268
|
</dl>
|
|
2106
2269
|
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
2270
|
|
|
2110
|
-
|
|
2271
|
+
|
|
2272
|
+
|
|
2111
2273
|
|
|
2112
2274
|
|
|
2113
2275
|
|
|
2114
|
-
<dt>
|
|
2115
|
-
<h4 class="name" id="loadProtoFile"><span class="type-signature">(static) </span>loadProtoFile<span class="signature">(filename, callback<span class="signature-attributes">opt</span>, builder<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>|undefined}</span></h4>
|
|
2116
2276
|
|
|
2117
2277
|
|
|
2118
|
-
</dt>
|
|
2119
|
-
<dd>
|
|
2120
2278
|
|
|
2121
|
-
|
|
2122
|
-
<div class="description">
|
|
2123
|
-
<p>Loads a .proto file and returns the Builder.</p>
|
|
2124
|
-
</div>
|
|
2125
|
-
|
|
2279
|
+
<h4 class="name" id=".loadProtoFile"><span class="type-signature">(static) </span>loadProtoFile<span class="signature">(filename, callback<span class="signature-attributes">opt</span>, builder<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>|undefined}</span></h4>
|
|
2126
2280
|
|
|
2127
2281
|
|
|
2128
2282
|
|
|
2129
|
-
|
|
2130
2283
|
|
|
2284
|
+
|
|
2285
|
+
<div class="description">
|
|
2286
|
+
<p>Loads a .proto file and returns the Builder.</p>
|
|
2287
|
+
</div>
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
|
|
2291
|
+
|
|
2292
|
+
|
|
2293
|
+
|
|
2294
|
+
|
|
2295
|
+
|
|
2296
|
+
|
|
2297
|
+
<h5>Parameters:</h5>
|
|
2131
2298
|
|
|
2132
|
-
<h5>Parameters:</h5>
|
|
2133
|
-
|
|
2134
2299
|
|
|
2135
2300
|
<table class="params">
|
|
2136
2301
|
<thead>
|
|
@@ -2258,10 +2423,20 @@
|
|
|
2258
2423
|
|
|
2259
2424
|
</tbody>
|
|
2260
2425
|
</table>
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
|
|
2432
|
+
<dl class="details">
|
|
2433
|
+
|
|
2261
2434
|
|
|
2262
2435
|
|
|
2263
2436
|
|
|
2264
|
-
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
|
|
2265
2440
|
|
|
2266
2441
|
|
|
2267
2442
|
|
|
@@ -2283,7 +2458,7 @@
|
|
|
2283
2458
|
|
|
2284
2459
|
<dt class="tag-source">Source:</dt>
|
|
2285
2460
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2286
|
-
<a href="
|
|
2461
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line5155">line 5155</a>
|
|
2287
2462
|
</li></ul></dd>
|
|
2288
2463
|
|
|
2289
2464
|
|
|
@@ -2295,20 +2470,20 @@
|
|
|
2295
2470
|
</dl>
|
|
2296
2471
|
|
|
2297
2472
|
|
|
2298
|
-
|
|
2299
2473
|
|
|
2300
|
-
|
|
2301
2474
|
|
|
2302
|
-
|
|
2303
2475
|
|
|
2304
|
-
|
|
2305
2476
|
|
|
2306
|
-
|
|
2307
2477
|
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
|
|
2482
|
+
|
|
2483
|
+
|
|
2484
|
+
<h5>Returns:</h5>
|
|
2485
|
+
|
|
2486
|
+
|
|
2312
2487
|
<div class="param-desc">
|
|
2313
2488
|
<p>The Builder if synchronous (no callback specified, will be NULL if the
|
|
2314
2489
|
request has failed), else undefined</p>
|
|
@@ -2331,33 +2506,35 @@
|
|
|
2331
2506
|
</dd>
|
|
2332
2507
|
</dl>
|
|
2333
2508
|
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
2509
|
|
|
2337
|
-
|
|
2510
|
+
|
|
2511
|
+
|
|
2338
2512
|
|
|
2339
2513
|
|
|
2340
2514
|
|
|
2341
|
-
<dt>
|
|
2342
|
-
<h4 class="name" id="newBuilder"><span class="type-signature">(static) </span>newBuilder<span class="signature">(options<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>}</span></h4>
|
|
2343
2515
|
|
|
2344
2516
|
|
|
2345
|
-
</dt>
|
|
2346
|
-
<dd>
|
|
2347
2517
|
|
|
2348
|
-
|
|
2349
|
-
<div class="description">
|
|
2350
|
-
<p>Constructs a new empty Builder.</p>
|
|
2351
|
-
</div>
|
|
2352
|
-
|
|
2518
|
+
<h4 class="name" id=".newBuilder"><span class="type-signature">(static) </span>newBuilder<span class="signature">(options<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → (non-null) {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>}</span></h4>
|
|
2353
2519
|
|
|
2354
2520
|
|
|
2355
2521
|
|
|
2356
|
-
|
|
2357
2522
|
|
|
2523
|
+
|
|
2524
|
+
<div class="description">
|
|
2525
|
+
<p>Constructs a new empty Builder.</p>
|
|
2526
|
+
</div>
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
|
|
2534
|
+
|
|
2535
|
+
|
|
2536
|
+
<h5>Parameters:</h5>
|
|
2358
2537
|
|
|
2359
|
-
<h5>Parameters:</h5>
|
|
2360
|
-
|
|
2361
2538
|
|
|
2362
2539
|
<table class="params">
|
|
2363
2540
|
<thead>
|
|
@@ -2415,10 +2592,20 @@
|
|
|
2415
2592
|
|
|
2416
2593
|
</tbody>
|
|
2417
2594
|
</table>
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
|
|
2599
|
+
|
|
2600
|
+
|
|
2601
|
+
<dl class="details">
|
|
2602
|
+
|
|
2418
2603
|
|
|
2419
2604
|
|
|
2420
2605
|
|
|
2421
|
-
|
|
2606
|
+
|
|
2607
|
+
|
|
2608
|
+
|
|
2422
2609
|
|
|
2423
2610
|
|
|
2424
2611
|
|
|
@@ -2440,7 +2627,7 @@
|
|
|
2440
2627
|
|
|
2441
2628
|
<dt class="tag-source">Source:</dt>
|
|
2442
2629
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2443
|
-
<a href="
|
|
2630
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line5199">line 5199</a>
|
|
2444
2631
|
</li></ul></dd>
|
|
2445
2632
|
|
|
2446
2633
|
|
|
@@ -2452,20 +2639,20 @@
|
|
|
2452
2639
|
</dl>
|
|
2453
2640
|
|
|
2454
2641
|
|
|
2455
|
-
|
|
2456
2642
|
|
|
2457
|
-
|
|
2458
2643
|
|
|
2459
|
-
|
|
2460
2644
|
|
|
2461
|
-
|
|
2462
2645
|
|
|
2463
|
-
|
|
2464
2646
|
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
<h5>Returns:</h5>
|
|
2654
|
+
|
|
2655
|
+
|
|
2469
2656
|
<div class="param-desc">
|
|
2470
2657
|
<p>Builder</p>
|
|
2471
2658
|
</div>
|
|
@@ -2484,33 +2671,35 @@
|
|
|
2484
2671
|
</dd>
|
|
2485
2672
|
</dl>
|
|
2486
2673
|
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
2674
|
|
|
2490
|
-
|
|
2675
|
+
|
|
2676
|
+
|
|
2491
2677
|
|
|
2492
2678
|
|
|
2493
2679
|
|
|
2494
|
-
<dt>
|
|
2495
|
-
<h4 class="name" id="protoFromFile"><span class="type-signature">(static) </span>protoFromFile<span class="signature">(filename, callback<span class="signature-attributes">opt</span>, builder<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>|undefined}</span></h4>
|
|
2496
2680
|
|
|
2497
2681
|
|
|
2498
|
-
</dt>
|
|
2499
|
-
<dd>
|
|
2500
2682
|
|
|
2501
|
-
|
|
2502
|
-
<div class="description">
|
|
2503
|
-
<p>Loads a .proto file and returns the Builder. This is an alias of <a href="ProtoBuf.html#loadProtoFile">ProtoBuf.loadProtoFile</a>.</p>
|
|
2504
|
-
</div>
|
|
2505
|
-
|
|
2683
|
+
<h4 class="name" id=".protoFromFile"><span class="type-signature">(static) </span>protoFromFile<span class="signature">(filename, callback<span class="signature-attributes">opt</span>, builder<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>|undefined}</span></h4>
|
|
2506
2684
|
|
|
2507
2685
|
|
|
2508
2686
|
|
|
2509
|
-
|
|
2510
2687
|
|
|
2688
|
+
|
|
2689
|
+
<div class="description">
|
|
2690
|
+
<p>Loads a .proto file and returns the Builder. This is an alias of <a href="ProtoBuf.html#.loadProtoFile">ProtoBuf.loadProtoFile</a>.</p>
|
|
2691
|
+
</div>
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
|
|
2701
|
+
<h5>Parameters:</h5>
|
|
2511
2702
|
|
|
2512
|
-
<h5>Parameters:</h5>
|
|
2513
|
-
|
|
2514
2703
|
|
|
2515
2704
|
<table class="params">
|
|
2516
2705
|
<thead>
|
|
@@ -2638,10 +2827,20 @@
|
|
|
2638
2827
|
|
|
2639
2828
|
</tbody>
|
|
2640
2829
|
</table>
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
<dl class="details">
|
|
2837
|
+
|
|
2641
2838
|
|
|
2642
2839
|
|
|
2643
2840
|
|
|
2644
|
-
|
|
2841
|
+
|
|
2842
|
+
|
|
2843
|
+
|
|
2645
2844
|
|
|
2646
2845
|
|
|
2647
2846
|
|
|
@@ -2663,7 +2862,7 @@
|
|
|
2663
2862
|
|
|
2664
2863
|
<dt class="tag-source">Source:</dt>
|
|
2665
2864
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2666
|
-
<a href="
|
|
2865
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line5190">line 5190</a>
|
|
2667
2866
|
</li></ul></dd>
|
|
2668
2867
|
|
|
2669
2868
|
|
|
@@ -2675,20 +2874,20 @@
|
|
|
2675
2874
|
</dl>
|
|
2676
2875
|
|
|
2677
2876
|
|
|
2678
|
-
|
|
2679
2877
|
|
|
2680
|
-
|
|
2681
2878
|
|
|
2682
|
-
|
|
2683
2879
|
|
|
2684
|
-
|
|
2685
2880
|
|
|
2686
|
-
|
|
2687
2881
|
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2882
|
+
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
<h5>Returns:</h5>
|
|
2889
|
+
|
|
2890
|
+
|
|
2692
2891
|
<div class="param-desc">
|
|
2693
2892
|
<p>The Builder if synchronous (no callback specified, will be NULL if the
|
|
2694
2893
|
request has failed), else undefined</p>
|
|
@@ -2711,33 +2910,35 @@
|
|
|
2711
2910
|
</dd>
|
|
2712
2911
|
</dl>
|
|
2713
2912
|
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
2913
|
|
|
2717
|
-
|
|
2914
|
+
|
|
2915
|
+
|
|
2718
2916
|
|
|
2719
2917
|
|
|
2720
2918
|
|
|
2721
|
-
<dt>
|
|
2722
|
-
<h4 class="name" id="protoFromString"><span class="type-signature">(static) </span>protoFromString<span class="signature">(proto, builder<span class="signature-attributes">opt</span>, filename<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>}</span></h4>
|
|
2723
2919
|
|
|
2724
2920
|
|
|
2725
|
-
</dt>
|
|
2726
|
-
<dd>
|
|
2727
2921
|
|
|
2728
|
-
|
|
2729
|
-
<div class="description">
|
|
2730
|
-
<p>Loads a .proto string and returns the Builder. This is an alias of <a href="ProtoBuf.html#loadProto">ProtoBuf.loadProto</a>.</p>
|
|
2731
|
-
</div>
|
|
2732
|
-
|
|
2922
|
+
<h4 class="name" id=".protoFromString"><span class="type-signature">(static) </span>protoFromString<span class="signature">(proto, builder<span class="signature-attributes">opt</span>, filename<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="ProtoBuf.Builder.html">ProtoBuf.Builder</a>}</span></h4>
|
|
2733
2923
|
|
|
2734
2924
|
|
|
2735
2925
|
|
|
2736
|
-
|
|
2737
2926
|
|
|
2927
|
+
|
|
2928
|
+
<div class="description">
|
|
2929
|
+
<p>Loads a .proto string and returns the Builder. This is an alias of <a href="ProtoBuf.html#.loadProto">ProtoBuf.loadProto</a>.</p>
|
|
2930
|
+
</div>
|
|
2931
|
+
|
|
2932
|
+
|
|
2933
|
+
|
|
2934
|
+
|
|
2935
|
+
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
<h5>Parameters:</h5>
|
|
2738
2941
|
|
|
2739
|
-
<h5>Parameters:</h5>
|
|
2740
|
-
|
|
2741
2942
|
|
|
2742
2943
|
<table class="params">
|
|
2743
2944
|
<thead>
|
|
@@ -2865,10 +3066,20 @@
|
|
|
2865
3066
|
|
|
2866
3067
|
</tbody>
|
|
2867
3068
|
</table>
|
|
3069
|
+
|
|
3070
|
+
|
|
3071
|
+
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
<dl class="details">
|
|
3076
|
+
|
|
2868
3077
|
|
|
2869
3078
|
|
|
2870
3079
|
|
|
2871
|
-
|
|
3080
|
+
|
|
3081
|
+
|
|
3082
|
+
|
|
2872
3083
|
|
|
2873
3084
|
|
|
2874
3085
|
|
|
@@ -2890,7 +3101,7 @@
|
|
|
2890
3101
|
|
|
2891
3102
|
<dt class="tag-source">Source:</dt>
|
|
2892
3103
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2893
|
-
<a href="
|
|
3104
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line5141">line 5141</a>
|
|
2894
3105
|
</li></ul></dd>
|
|
2895
3106
|
|
|
2896
3107
|
|
|
@@ -2902,25 +3113,26 @@
|
|
|
2902
3113
|
</dl>
|
|
2903
3114
|
|
|
2904
3115
|
|
|
2905
|
-
|
|
2906
3116
|
|
|
2907
|
-
|
|
2908
3117
|
|
|
2909
|
-
|
|
2910
3118
|
|
|
2911
|
-
|
|
2912
3119
|
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
3120
|
+
|
|
3121
|
+
|
|
3122
|
+
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
<h5>Throws:</h5>
|
|
3126
|
+
|
|
3127
|
+
|
|
2917
3128
|
|
|
2918
3129
|
<dl>
|
|
2919
3130
|
<dt>
|
|
2920
3131
|
<div class="param-desc">
|
|
2921
|
-
If the definition cannot be parsed or built
|
|
3132
|
+
<p>If the definition cannot be parsed or built</p>
|
|
2922
3133
|
</div>
|
|
2923
3134
|
</dt>
|
|
3135
|
+
<dd></dd>
|
|
2924
3136
|
<dt>
|
|
2925
3137
|
<dl>
|
|
2926
3138
|
<dt>
|
|
@@ -2934,15 +3146,16 @@
|
|
|
2934
3146
|
</dd>
|
|
2935
3147
|
</dl>
|
|
2936
3148
|
</dt>
|
|
3149
|
+
<dd></dd>
|
|
2937
3150
|
</dl>
|
|
2938
3151
|
|
|
2939
3152
|
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
3153
|
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
3154
|
+
|
|
3155
|
+
|
|
3156
|
+
<h5>Returns:</h5>
|
|
3157
|
+
|
|
3158
|
+
|
|
2946
3159
|
<div class="param-desc">
|
|
2947
3160
|
<p>Builder to create new messages</p>
|
|
2948
3161
|
</div>
|
|
@@ -2961,12 +3174,11 @@
|
|
|
2961
3174
|
</dd>
|
|
2962
3175
|
</dl>
|
|
2963
3176
|
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
3177
|
|
|
2967
|
-
</dd>
|
|
2968
3178
|
|
|
2969
|
-
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
|
|
2970
3182
|
|
|
2971
3183
|
|
|
2972
3184
|
|
|
@@ -2982,13 +3194,13 @@
|
|
|
2982
3194
|
</div>
|
|
2983
3195
|
|
|
2984
3196
|
<nav>
|
|
2985
|
-
<h2><a href="index.html">
|
|
3197
|
+
<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>
|
|
2986
3198
|
</nav>
|
|
2987
3199
|
|
|
2988
|
-
<br
|
|
3200
|
+
<br class="clear">
|
|
2989
3201
|
|
|
2990
3202
|
<footer>
|
|
2991
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.
|
|
3203
|
+
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)
|
|
2992
3204
|
</footer>
|
|
2993
3205
|
|
|
2994
3206
|
<script> prettyPrint(); </script>
|