@dfinity/nns 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/candid/governance.certified.idl.d.ts +2 -0
  2. package/dist/candid/governance.certified.idl.js +704 -0
  3. package/dist/candid/governance.did +338 -0
  4. package/dist/candid/governance.idl.d.ts +5 -0
  5. package/dist/candid/governance.idl.js +712 -0
  6. package/dist/candid/governanceTypes.d.ts +413 -0
  7. package/dist/candid/nns_dapp.certified.idl.js +206 -0
  8. package/dist/candid/nns_dapp.did +240 -0
  9. package/dist/candid/nns_dapp.idl.js +206 -0
  10. package/dist/candid/payloads.did +168 -0
  11. package/dist/candid/payloads.idl.d.ts +20 -0
  12. package/dist/candid/payloads.idl.js +163 -0
  13. package/dist/cjs/index.cjs.js +32 -32
  14. package/dist/cjs/index.cjs.js.map +2 -2
  15. package/dist/esm/account_identifier.js +1 -1
  16. package/dist/esm/{chunk-NYI672WX.js → chunk-2DZXLOEC.js} +3 -3
  17. package/dist/esm/{chunk-NYI672WX.js.map → chunk-2DZXLOEC.js.map} +2 -2
  18. package/dist/esm/{chunk-SO23SIWX.js → chunk-D2W3ELRE.js} +2 -2
  19. package/dist/esm/{chunk-SO23SIWX.js.map → chunk-D2W3ELRE.js.map} +0 -0
  20. package/dist/esm/{chunk-X2SHUWG3.js → chunk-QR4654XK.js} +2 -2
  21. package/dist/esm/{chunk-X2SHUWG3.js.map → chunk-QR4654XK.js.map} +0 -0
  22. package/dist/esm/{chunk-YL3F3CIN.js → chunk-RUFBUR7C.js} +2 -2
  23. package/dist/esm/{chunk-YL3F3CIN.js.map → chunk-RUFBUR7C.js.map} +0 -0
  24. package/dist/esm/{chunk-RPOIUQZO.js → chunk-ZWZRSVU4.js} +2 -2
  25. package/dist/esm/{chunk-RPOIUQZO.js.map → chunk-ZWZRSVU4.js.map} +2 -2
  26. package/dist/esm/governance.js +1 -1
  27. package/dist/esm/icp.js +1 -1
  28. package/dist/esm/index.js +1 -1
  29. package/dist/esm/ledger.js +1 -1
  30. package/dist/proto/base_types.proto +60 -0
  31. package/dist/proto/base_types_pb.d.ts +144 -0
  32. package/dist/proto/base_types_pb.js +1071 -0
  33. package/dist/proto/ledger.proto +277 -0
  34. package/dist/proto/ledger_pb.d.ts +911 -0
  35. package/dist/proto/ledger_pb.js +6555 -0
  36. package/dist/types/governance.d.ts +5 -1
  37. package/package.json +2 -2
@@ -0,0 +1,1071 @@
1
+ /**
2
+ * @fileoverview
3
+ * @enhanceable
4
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
5
+ * field starts with 'MSG_' and isn't a translatable message.
6
+ * @public
7
+ */
8
+ // GENERATED CODE -- DO NOT EDIT!
9
+
10
+ var jspb = require('google-protobuf');
11
+ var goog = jspb;
12
+ var global = Function('return this')();
13
+
14
+ var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
15
+ goog.exportSymbol('proto.ic_base_types.pb.v1.CanisterAuthzInfo', null, global);
16
+ goog.exportSymbol('proto.ic_base_types.pb.v1.CanisterId', null, global);
17
+ goog.exportSymbol('proto.ic_base_types.pb.v1.MethodAuthzInfo', null, global);
18
+ goog.exportSymbol('proto.ic_base_types.pb.v1.NeuronId', null, global);
19
+ goog.exportSymbol('proto.ic_base_types.pb.v1.PrincipalId', null, global);
20
+ goog.exportSymbol('proto.ic_base_types.pb.v1.ProposalId', null, global);
21
+ goog.exportSymbol('proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021', null, global);
22
+ goog.exportSymbol('proto.ic_base_types.pb.v1.tuiSignedMessage', null, global);
23
+
24
+ /**
25
+ * Generated by JsPbCodeGenerator.
26
+ * @param {Array=} opt_data Optional initial data array, typically from a
27
+ * server response, or constructed directly in Javascript. The array is used
28
+ * in place and becomes part of the constructed object. It is not cloned.
29
+ * If no data is provided, the constructed object will be empty, but still
30
+ * valid.
31
+ * @extends {jspb.Message}
32
+ * @constructor
33
+ */
34
+ proto.ic_base_types.pb.v1.PrincipalId = function(opt_data) {
35
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
36
+ };
37
+ goog.inherits(proto.ic_base_types.pb.v1.PrincipalId, jspb.Message);
38
+ if (goog.DEBUG && !COMPILED) {
39
+ proto.ic_base_types.pb.v1.PrincipalId.displayName = 'proto.ic_base_types.pb.v1.PrincipalId';
40
+ }
41
+
42
+
43
+ if (jspb.Message.GENERATE_TO_OBJECT) {
44
+ /**
45
+ * Creates an object representation of this proto suitable for use in Soy templates.
46
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
47
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
48
+ * For the list of reserved names please see:
49
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
50
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
51
+ * for transitional soy proto support: http://goto/soy-param-migration
52
+ * @return {!Object}
53
+ */
54
+ proto.ic_base_types.pb.v1.PrincipalId.prototype.toObject = function(opt_includeInstance) {
55
+ return proto.ic_base_types.pb.v1.PrincipalId.toObject(opt_includeInstance, this);
56
+ };
57
+
58
+
59
+ /**
60
+ * Static version of the {@see toObject} method.
61
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
62
+ * instance for transitional soy proto support:
63
+ * http://goto/soy-param-migration
64
+ * @param {!proto.ic_base_types.pb.v1.PrincipalId} msg The msg instance to transform.
65
+ * @return {!Object}
66
+ * @suppress {unusedLocalVariables} f is only used for nested messages
67
+ */
68
+ proto.ic_base_types.pb.v1.PrincipalId.toObject = function(includeInstance, msg) {
69
+ var f, obj = {
70
+ serializedId: msg.getSerializedId_asB64()
71
+ };
72
+
73
+ if (includeInstance) {
74
+ obj.$jspbMessageInstance = msg;
75
+ }
76
+ return obj;
77
+ };
78
+ }
79
+
80
+
81
+ /**
82
+ * Deserializes binary data (in protobuf wire format).
83
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
84
+ * @return {!proto.ic_base_types.pb.v1.PrincipalId}
85
+ */
86
+ proto.ic_base_types.pb.v1.PrincipalId.deserializeBinary = function(bytes) {
87
+ var reader = new jspb.BinaryReader(bytes);
88
+ var msg = new proto.ic_base_types.pb.v1.PrincipalId;
89
+ return proto.ic_base_types.pb.v1.PrincipalId.deserializeBinaryFromReader(msg, reader);
90
+ };
91
+
92
+
93
+ /**
94
+ * Deserializes binary data (in protobuf wire format) from the
95
+ * given reader into the given message object.
96
+ * @param {!proto.ic_base_types.pb.v1.PrincipalId} msg The message object to deserialize into.
97
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
98
+ * @return {!proto.ic_base_types.pb.v1.PrincipalId}
99
+ */
100
+ proto.ic_base_types.pb.v1.PrincipalId.deserializeBinaryFromReader = function(msg, reader) {
101
+ while (reader.nextField()) {
102
+ if (reader.isEndGroup()) {
103
+ break;
104
+ }
105
+ var field = reader.getFieldNumber();
106
+ switch (field) {
107
+ case 1:
108
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
109
+ msg.setSerializedId(value);
110
+ break;
111
+ default:
112
+ reader.skipField();
113
+ break;
114
+ }
115
+ }
116
+ return msg;
117
+ };
118
+
119
+
120
+ /**
121
+ * Serializes the message to binary data (in protobuf wire format).
122
+ * @return {!Uint8Array}
123
+ */
124
+ proto.ic_base_types.pb.v1.PrincipalId.prototype.serializeBinary = function() {
125
+ var writer = new jspb.BinaryWriter();
126
+ proto.ic_base_types.pb.v1.PrincipalId.serializeBinaryToWriter(this, writer);
127
+ return writer.getResultBuffer();
128
+ };
129
+
130
+
131
+ /**
132
+ * Serializes the given message to binary data (in protobuf wire
133
+ * format), writing to the given BinaryWriter.
134
+ * @param {!proto.ic_base_types.pb.v1.PrincipalId} message
135
+ * @param {!jspb.BinaryWriter} writer
136
+ * @suppress {unusedLocalVariables} f is only used for nested messages
137
+ */
138
+ proto.ic_base_types.pb.v1.PrincipalId.serializeBinaryToWriter = function(message, writer) {
139
+ var f = undefined;
140
+ f = message.getSerializedId_asU8();
141
+ if (f.length > 0) {
142
+ writer.writeBytes(
143
+ 1,
144
+ f
145
+ );
146
+ }
147
+ };
148
+
149
+
150
+ /**
151
+ * optional bytes serialized_id = 1;
152
+ * @return {!(string|Uint8Array)}
153
+ */
154
+ proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId = function() {
155
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
156
+ };
157
+
158
+
159
+ /**
160
+ * optional bytes serialized_id = 1;
161
+ * This is a type-conversion wrapper around `getSerializedId()`
162
+ * @return {string}
163
+ */
164
+ proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId_asB64 = function() {
165
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
166
+ this.getSerializedId()));
167
+ };
168
+
169
+
170
+ /**
171
+ * optional bytes serialized_id = 1;
172
+ * Note that Uint8Array is not supported on all browsers.
173
+ * @see http://caniuse.com/Uint8Array
174
+ * This is a type-conversion wrapper around `getSerializedId()`
175
+ * @return {!Uint8Array}
176
+ */
177
+ proto.ic_base_types.pb.v1.PrincipalId.prototype.getSerializedId_asU8 = function() {
178
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
179
+ this.getSerializedId()));
180
+ };
181
+
182
+
183
+ /** @param {!(string|Uint8Array)} value */
184
+ proto.ic_base_types.pb.v1.PrincipalId.prototype.setSerializedId = function(value) {
185
+ jspb.Message.setProto3BytesField(this, 1, value);
186
+ };
187
+
188
+
189
+
190
+ /**
191
+ * Generated by JsPbCodeGenerator.
192
+ * @param {Array=} opt_data Optional initial data array, typically from a
193
+ * server response, or constructed directly in Javascript. The array is used
194
+ * in place and becomes part of the constructed object. It is not cloned.
195
+ * If no data is provided, the constructed object will be empty, but still
196
+ * valid.
197
+ * @extends {jspb.Message}
198
+ * @constructor
199
+ */
200
+ proto.ic_base_types.pb.v1.CanisterId = function(opt_data) {
201
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
202
+ };
203
+ goog.inherits(proto.ic_base_types.pb.v1.CanisterId, jspb.Message);
204
+ if (goog.DEBUG && !COMPILED) {
205
+ proto.ic_base_types.pb.v1.CanisterId.displayName = 'proto.ic_base_types.pb.v1.CanisterId';
206
+ }
207
+
208
+
209
+ if (jspb.Message.GENERATE_TO_OBJECT) {
210
+ /**
211
+ * Creates an object representation of this proto suitable for use in Soy templates.
212
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
213
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
214
+ * For the list of reserved names please see:
215
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
216
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
217
+ * for transitional soy proto support: http://goto/soy-param-migration
218
+ * @return {!Object}
219
+ */
220
+ proto.ic_base_types.pb.v1.CanisterId.prototype.toObject = function(opt_includeInstance) {
221
+ return proto.ic_base_types.pb.v1.CanisterId.toObject(opt_includeInstance, this);
222
+ };
223
+
224
+
225
+ /**
226
+ * Static version of the {@see toObject} method.
227
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
228
+ * instance for transitional soy proto support:
229
+ * http://goto/soy-param-migration
230
+ * @param {!proto.ic_base_types.pb.v1.CanisterId} msg The msg instance to transform.
231
+ * @return {!Object}
232
+ * @suppress {unusedLocalVariables} f is only used for nested messages
233
+ */
234
+ proto.ic_base_types.pb.v1.CanisterId.toObject = function(includeInstance, msg) {
235
+ var f, obj = {
236
+ serializedId: msg.getSerializedId_asB64()
237
+ };
238
+
239
+ if (includeInstance) {
240
+ obj.$jspbMessageInstance = msg;
241
+ }
242
+ return obj;
243
+ };
244
+ }
245
+
246
+
247
+ /**
248
+ * Deserializes binary data (in protobuf wire format).
249
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
250
+ * @return {!proto.ic_base_types.pb.v1.CanisterId}
251
+ */
252
+ proto.ic_base_types.pb.v1.CanisterId.deserializeBinary = function(bytes) {
253
+ var reader = new jspb.BinaryReader(bytes);
254
+ var msg = new proto.ic_base_types.pb.v1.CanisterId;
255
+ return proto.ic_base_types.pb.v1.CanisterId.deserializeBinaryFromReader(msg, reader);
256
+ };
257
+
258
+
259
+ /**
260
+ * Deserializes binary data (in protobuf wire format) from the
261
+ * given reader into the given message object.
262
+ * @param {!proto.ic_base_types.pb.v1.CanisterId} msg The message object to deserialize into.
263
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
264
+ * @return {!proto.ic_base_types.pb.v1.CanisterId}
265
+ */
266
+ proto.ic_base_types.pb.v1.CanisterId.deserializeBinaryFromReader = function(msg, reader) {
267
+ while (reader.nextField()) {
268
+ if (reader.isEndGroup()) {
269
+ break;
270
+ }
271
+ var field = reader.getFieldNumber();
272
+ switch (field) {
273
+ case 1:
274
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
275
+ msg.setSerializedId(value);
276
+ break;
277
+ default:
278
+ reader.skipField();
279
+ break;
280
+ }
281
+ }
282
+ return msg;
283
+ };
284
+
285
+
286
+ /**
287
+ * Serializes the message to binary data (in protobuf wire format).
288
+ * @return {!Uint8Array}
289
+ */
290
+ proto.ic_base_types.pb.v1.CanisterId.prototype.serializeBinary = function() {
291
+ var writer = new jspb.BinaryWriter();
292
+ proto.ic_base_types.pb.v1.CanisterId.serializeBinaryToWriter(this, writer);
293
+ return writer.getResultBuffer();
294
+ };
295
+
296
+
297
+ /**
298
+ * Serializes the given message to binary data (in protobuf wire
299
+ * format), writing to the given BinaryWriter.
300
+ * @param {!proto.ic_base_types.pb.v1.CanisterId} message
301
+ * @param {!jspb.BinaryWriter} writer
302
+ * @suppress {unusedLocalVariables} f is only used for nested messages
303
+ */
304
+ proto.ic_base_types.pb.v1.CanisterId.serializeBinaryToWriter = function(message, writer) {
305
+ var f = undefined;
306
+ f = message.getSerializedId_asU8();
307
+ if (f.length > 0) {
308
+ writer.writeBytes(
309
+ 1,
310
+ f
311
+ );
312
+ }
313
+ };
314
+
315
+
316
+ /**
317
+ * optional bytes serialized_id = 1;
318
+ * @return {!(string|Uint8Array)}
319
+ */
320
+ proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId = function() {
321
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
322
+ };
323
+
324
+
325
+ /**
326
+ * optional bytes serialized_id = 1;
327
+ * This is a type-conversion wrapper around `getSerializedId()`
328
+ * @return {string}
329
+ */
330
+ proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId_asB64 = function() {
331
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
332
+ this.getSerializedId()));
333
+ };
334
+
335
+
336
+ /**
337
+ * optional bytes serialized_id = 1;
338
+ * Note that Uint8Array is not supported on all browsers.
339
+ * @see http://caniuse.com/Uint8Array
340
+ * This is a type-conversion wrapper around `getSerializedId()`
341
+ * @return {!Uint8Array}
342
+ */
343
+ proto.ic_base_types.pb.v1.CanisterId.prototype.getSerializedId_asU8 = function() {
344
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
345
+ this.getSerializedId()));
346
+ };
347
+
348
+
349
+ /** @param {!(string|Uint8Array)} value */
350
+ proto.ic_base_types.pb.v1.CanisterId.prototype.setSerializedId = function(value) {
351
+ jspb.Message.setProto3BytesField(this, 1, value);
352
+ };
353
+
354
+
355
+
356
+ /**
357
+ * Generated by JsPbCodeGenerator.
358
+ * @param {Array=} opt_data Optional initial data array, typically from a
359
+ * server response, or constructed directly in Javascript. The array is used
360
+ * in place and becomes part of the constructed object. It is not cloned.
361
+ * If no data is provided, the constructed object will be empty, but still
362
+ * valid.
363
+ * @extends {jspb.Message}
364
+ * @constructor
365
+ */
366
+ proto.ic_base_types.pb.v1.NeuronId = function(opt_data) {
367
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
368
+ };
369
+ goog.inherits(proto.ic_base_types.pb.v1.NeuronId, jspb.Message);
370
+ if (goog.DEBUG && !COMPILED) {
371
+ proto.ic_base_types.pb.v1.NeuronId.displayName = 'proto.ic_base_types.pb.v1.NeuronId';
372
+ }
373
+
374
+
375
+ if (jspb.Message.GENERATE_TO_OBJECT) {
376
+ /**
377
+ * Creates an object representation of this proto suitable for use in Soy templates.
378
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
379
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
380
+ * For the list of reserved names please see:
381
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
382
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
383
+ * for transitional soy proto support: http://goto/soy-param-migration
384
+ * @return {!Object}
385
+ */
386
+ proto.ic_base_types.pb.v1.NeuronId.prototype.toObject = function(opt_includeInstance) {
387
+ return proto.ic_base_types.pb.v1.NeuronId.toObject(opt_includeInstance, this);
388
+ };
389
+
390
+
391
+ /**
392
+ * Static version of the {@see toObject} method.
393
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
394
+ * instance for transitional soy proto support:
395
+ * http://goto/soy-param-migration
396
+ * @param {!proto.ic_base_types.pb.v1.NeuronId} msg The msg instance to transform.
397
+ * @return {!Object}
398
+ * @suppress {unusedLocalVariables} f is only used for nested messages
399
+ */
400
+ proto.ic_base_types.pb.v1.NeuronId.toObject = function(includeInstance, msg) {
401
+ var f, obj = {
402
+ id: jspb.Message.getFieldWithDefault(msg, 2, "0")
403
+ };
404
+
405
+ if (includeInstance) {
406
+ obj.$jspbMessageInstance = msg;
407
+ }
408
+ return obj;
409
+ };
410
+ }
411
+
412
+
413
+ /**
414
+ * Deserializes binary data (in protobuf wire format).
415
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
416
+ * @return {!proto.ic_base_types.pb.v1.NeuronId}
417
+ */
418
+ proto.ic_base_types.pb.v1.NeuronId.deserializeBinary = function(bytes) {
419
+ var reader = new jspb.BinaryReader(bytes);
420
+ var msg = new proto.ic_base_types.pb.v1.NeuronId;
421
+ return proto.ic_base_types.pb.v1.NeuronId.deserializeBinaryFromReader(msg, reader);
422
+ };
423
+
424
+
425
+ /**
426
+ * Deserializes binary data (in protobuf wire format) from the
427
+ * given reader into the given message object.
428
+ * @param {!proto.ic_base_types.pb.v1.NeuronId} msg The message object to deserialize into.
429
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
430
+ * @return {!proto.ic_base_types.pb.v1.NeuronId}
431
+ */
432
+ proto.ic_base_types.pb.v1.NeuronId.deserializeBinaryFromReader = function(msg, reader) {
433
+ while (reader.nextField()) {
434
+ if (reader.isEndGroup()) {
435
+ break;
436
+ }
437
+ var field = reader.getFieldNumber();
438
+ switch (field) {
439
+ case 2:
440
+ var value = /** @type {string} */ (reader.readUint64String());
441
+ msg.setId(value);
442
+ break;
443
+ default:
444
+ reader.skipField();
445
+ break;
446
+ }
447
+ }
448
+ return msg;
449
+ };
450
+
451
+
452
+ /**
453
+ * Serializes the message to binary data (in protobuf wire format).
454
+ * @return {!Uint8Array}
455
+ */
456
+ proto.ic_base_types.pb.v1.NeuronId.prototype.serializeBinary = function() {
457
+ var writer = new jspb.BinaryWriter();
458
+ proto.ic_base_types.pb.v1.NeuronId.serializeBinaryToWriter(this, writer);
459
+ return writer.getResultBuffer();
460
+ };
461
+
462
+
463
+ /**
464
+ * Serializes the given message to binary data (in protobuf wire
465
+ * format), writing to the given BinaryWriter.
466
+ * @param {!proto.ic_base_types.pb.v1.NeuronId} message
467
+ * @param {!jspb.BinaryWriter} writer
468
+ * @suppress {unusedLocalVariables} f is only used for nested messages
469
+ */
470
+ proto.ic_base_types.pb.v1.NeuronId.serializeBinaryToWriter = function(message, writer) {
471
+ var f = undefined;
472
+ f = message.getId();
473
+ if (parseInt(f, 10) !== 0) {
474
+ writer.writeUint64String(
475
+ 2,
476
+ f
477
+ );
478
+ }
479
+ };
480
+
481
+
482
+ /**
483
+ * optional uint64 id = 2;
484
+ * @return {string}
485
+ */
486
+ proto.ic_base_types.pb.v1.NeuronId.prototype.getId = function() {
487
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
488
+ };
489
+
490
+
491
+ /** @param {string} value */
492
+ proto.ic_base_types.pb.v1.NeuronId.prototype.setId = function(value) {
493
+ jspb.Message.setProto3StringIntField(this, 2, value);
494
+ };
495
+
496
+
497
+
498
+ /**
499
+ * Generated by JsPbCodeGenerator.
500
+ * @param {Array=} opt_data Optional initial data array, typically from a
501
+ * server response, or constructed directly in Javascript. The array is used
502
+ * in place and becomes part of the constructed object. It is not cloned.
503
+ * If no data is provided, the constructed object will be empty, but still
504
+ * valid.
505
+ * @extends {jspb.Message}
506
+ * @constructor
507
+ */
508
+ proto.ic_base_types.pb.v1.ProposalId = function(opt_data) {
509
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
510
+ };
511
+ goog.inherits(proto.ic_base_types.pb.v1.ProposalId, jspb.Message);
512
+ if (goog.DEBUG && !COMPILED) {
513
+ proto.ic_base_types.pb.v1.ProposalId.displayName = 'proto.ic_base_types.pb.v1.ProposalId';
514
+ }
515
+
516
+
517
+ if (jspb.Message.GENERATE_TO_OBJECT) {
518
+ /**
519
+ * Creates an object representation of this proto suitable for use in Soy templates.
520
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
521
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
522
+ * For the list of reserved names please see:
523
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
524
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
525
+ * for transitional soy proto support: http://goto/soy-param-migration
526
+ * @return {!Object}
527
+ */
528
+ proto.ic_base_types.pb.v1.ProposalId.prototype.toObject = function(opt_includeInstance) {
529
+ return proto.ic_base_types.pb.v1.ProposalId.toObject(opt_includeInstance, this);
530
+ };
531
+
532
+
533
+ /**
534
+ * Static version of the {@see toObject} method.
535
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
536
+ * instance for transitional soy proto support:
537
+ * http://goto/soy-param-migration
538
+ * @param {!proto.ic_base_types.pb.v1.ProposalId} msg The msg instance to transform.
539
+ * @return {!Object}
540
+ * @suppress {unusedLocalVariables} f is only used for nested messages
541
+ */
542
+ proto.ic_base_types.pb.v1.ProposalId.toObject = function(includeInstance, msg) {
543
+ var f, obj = {
544
+ id: jspb.Message.getFieldWithDefault(msg, 1, "0")
545
+ };
546
+
547
+ if (includeInstance) {
548
+ obj.$jspbMessageInstance = msg;
549
+ }
550
+ return obj;
551
+ };
552
+ }
553
+
554
+
555
+ /**
556
+ * Deserializes binary data (in protobuf wire format).
557
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
558
+ * @return {!proto.ic_base_types.pb.v1.ProposalId}
559
+ */
560
+ proto.ic_base_types.pb.v1.ProposalId.deserializeBinary = function(bytes) {
561
+ var reader = new jspb.BinaryReader(bytes);
562
+ var msg = new proto.ic_base_types.pb.v1.ProposalId;
563
+ return proto.ic_base_types.pb.v1.ProposalId.deserializeBinaryFromReader(msg, reader);
564
+ };
565
+
566
+
567
+ /**
568
+ * Deserializes binary data (in protobuf wire format) from the
569
+ * given reader into the given message object.
570
+ * @param {!proto.ic_base_types.pb.v1.ProposalId} msg The message object to deserialize into.
571
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
572
+ * @return {!proto.ic_base_types.pb.v1.ProposalId}
573
+ */
574
+ proto.ic_base_types.pb.v1.ProposalId.deserializeBinaryFromReader = function(msg, reader) {
575
+ while (reader.nextField()) {
576
+ if (reader.isEndGroup()) {
577
+ break;
578
+ }
579
+ var field = reader.getFieldNumber();
580
+ switch (field) {
581
+ case 1:
582
+ var value = /** @type {string} */ (reader.readUint64String());
583
+ msg.setId(value);
584
+ break;
585
+ default:
586
+ reader.skipField();
587
+ break;
588
+ }
589
+ }
590
+ return msg;
591
+ };
592
+
593
+
594
+ /**
595
+ * Serializes the message to binary data (in protobuf wire format).
596
+ * @return {!Uint8Array}
597
+ */
598
+ proto.ic_base_types.pb.v1.ProposalId.prototype.serializeBinary = function() {
599
+ var writer = new jspb.BinaryWriter();
600
+ proto.ic_base_types.pb.v1.ProposalId.serializeBinaryToWriter(this, writer);
601
+ return writer.getResultBuffer();
602
+ };
603
+
604
+
605
+ /**
606
+ * Serializes the given message to binary data (in protobuf wire
607
+ * format), writing to the given BinaryWriter.
608
+ * @param {!proto.ic_base_types.pb.v1.ProposalId} message
609
+ * @param {!jspb.BinaryWriter} writer
610
+ * @suppress {unusedLocalVariables} f is only used for nested messages
611
+ */
612
+ proto.ic_base_types.pb.v1.ProposalId.serializeBinaryToWriter = function(message, writer) {
613
+ var f = undefined;
614
+ f = message.getId();
615
+ if (parseInt(f, 10) !== 0) {
616
+ writer.writeUint64String(
617
+ 1,
618
+ f
619
+ );
620
+ }
621
+ };
622
+
623
+
624
+ /**
625
+ * optional uint64 id = 1;
626
+ * @return {string}
627
+ */
628
+ proto.ic_base_types.pb.v1.ProposalId.prototype.getId = function() {
629
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
630
+ };
631
+
632
+
633
+ /** @param {string} value */
634
+ proto.ic_base_types.pb.v1.ProposalId.prototype.setId = function(value) {
635
+ jspb.Message.setProto3StringIntField(this, 1, value);
636
+ };
637
+
638
+
639
+
640
+ /**
641
+ * Generated by JsPbCodeGenerator.
642
+ * @param {Array=} opt_data Optional initial data array, typically from a
643
+ * server response, or constructed directly in Javascript. The array is used
644
+ * in place and becomes part of the constructed object. It is not cloned.
645
+ * If no data is provided, the constructed object will be empty, but still
646
+ * valid.
647
+ * @extends {jspb.Message}
648
+ * @constructor
649
+ */
650
+ proto.ic_base_types.pb.v1.MethodAuthzInfo = function(opt_data) {
651
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ic_base_types.pb.v1.MethodAuthzInfo.repeatedFields_, null);
652
+ };
653
+ goog.inherits(proto.ic_base_types.pb.v1.MethodAuthzInfo, jspb.Message);
654
+ if (goog.DEBUG && !COMPILED) {
655
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.displayName = 'proto.ic_base_types.pb.v1.MethodAuthzInfo';
656
+ }
657
+ /**
658
+ * List of repeated fields within this message type.
659
+ * @private {!Array<number>}
660
+ * @const
661
+ */
662
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.repeatedFields_ = [2];
663
+
664
+
665
+
666
+ if (jspb.Message.GENERATE_TO_OBJECT) {
667
+ /**
668
+ * Creates an object representation of this proto suitable for use in Soy templates.
669
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
670
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
671
+ * For the list of reserved names please see:
672
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
673
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
674
+ * for transitional soy proto support: http://goto/soy-param-migration
675
+ * @return {!Object}
676
+ */
677
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.toObject = function(opt_includeInstance) {
678
+ return proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject(opt_includeInstance, this);
679
+ };
680
+
681
+
682
+ /**
683
+ * Static version of the {@see toObject} method.
684
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
685
+ * instance for transitional soy proto support:
686
+ * http://goto/soy-param-migration
687
+ * @param {!proto.ic_base_types.pb.v1.MethodAuthzInfo} msg The msg instance to transform.
688
+ * @return {!Object}
689
+ * @suppress {unusedLocalVariables} f is only used for nested messages
690
+ */
691
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject = function(includeInstance, msg) {
692
+ var f, obj = {
693
+ methodName: jspb.Message.getFieldWithDefault(msg, 1, ""),
694
+ principalIdsList: msg.getPrincipalIdsList_asB64()
695
+ };
696
+
697
+ if (includeInstance) {
698
+ obj.$jspbMessageInstance = msg;
699
+ }
700
+ return obj;
701
+ };
702
+ }
703
+
704
+
705
+ /**
706
+ * Deserializes binary data (in protobuf wire format).
707
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
708
+ * @return {!proto.ic_base_types.pb.v1.MethodAuthzInfo}
709
+ */
710
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinary = function(bytes) {
711
+ var reader = new jspb.BinaryReader(bytes);
712
+ var msg = new proto.ic_base_types.pb.v1.MethodAuthzInfo;
713
+ return proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader(msg, reader);
714
+ };
715
+
716
+
717
+ /**
718
+ * Deserializes binary data (in protobuf wire format) from the
719
+ * given reader into the given message object.
720
+ * @param {!proto.ic_base_types.pb.v1.MethodAuthzInfo} msg The message object to deserialize into.
721
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
722
+ * @return {!proto.ic_base_types.pb.v1.MethodAuthzInfo}
723
+ */
724
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader = function(msg, reader) {
725
+ while (reader.nextField()) {
726
+ if (reader.isEndGroup()) {
727
+ break;
728
+ }
729
+ var field = reader.getFieldNumber();
730
+ switch (field) {
731
+ case 1:
732
+ var value = /** @type {string} */ (reader.readString());
733
+ msg.setMethodName(value);
734
+ break;
735
+ case 2:
736
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
737
+ msg.addPrincipalIds(value);
738
+ break;
739
+ default:
740
+ reader.skipField();
741
+ break;
742
+ }
743
+ }
744
+ return msg;
745
+ };
746
+
747
+
748
+ /**
749
+ * Serializes the message to binary data (in protobuf wire format).
750
+ * @return {!Uint8Array}
751
+ */
752
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.serializeBinary = function() {
753
+ var writer = new jspb.BinaryWriter();
754
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.serializeBinaryToWriter(this, writer);
755
+ return writer.getResultBuffer();
756
+ };
757
+
758
+
759
+ /**
760
+ * Serializes the given message to binary data (in protobuf wire
761
+ * format), writing to the given BinaryWriter.
762
+ * @param {!proto.ic_base_types.pb.v1.MethodAuthzInfo} message
763
+ * @param {!jspb.BinaryWriter} writer
764
+ * @suppress {unusedLocalVariables} f is only used for nested messages
765
+ */
766
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.serializeBinaryToWriter = function(message, writer) {
767
+ var f = undefined;
768
+ f = message.getMethodName();
769
+ if (f.length > 0) {
770
+ writer.writeString(
771
+ 1,
772
+ f
773
+ );
774
+ }
775
+ f = message.getPrincipalIdsList_asU8();
776
+ if (f.length > 0) {
777
+ writer.writeRepeatedBytes(
778
+ 2,
779
+ f
780
+ );
781
+ }
782
+ };
783
+
784
+
785
+ /**
786
+ * optional string method_name = 1;
787
+ * @return {string}
788
+ */
789
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getMethodName = function() {
790
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
791
+ };
792
+
793
+
794
+ /** @param {string} value */
795
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.setMethodName = function(value) {
796
+ jspb.Message.setProto3StringField(this, 1, value);
797
+ };
798
+
799
+
800
+ /**
801
+ * repeated bytes principal_ids = 2;
802
+ * @return {!(Array<!Uint8Array>|Array<string>)}
803
+ */
804
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList = function() {
805
+ return /** @type {!(Array<!Uint8Array>|Array<string>)} */ (jspb.Message.getRepeatedField(this, 2));
806
+ };
807
+
808
+
809
+ /**
810
+ * repeated bytes principal_ids = 2;
811
+ * This is a type-conversion wrapper around `getPrincipalIdsList()`
812
+ * @return {!Array<string>}
813
+ */
814
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList_asB64 = function() {
815
+ return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
816
+ this.getPrincipalIdsList()));
817
+ };
818
+
819
+
820
+ /**
821
+ * repeated bytes principal_ids = 2;
822
+ * Note that Uint8Array is not supported on all browsers.
823
+ * @see http://caniuse.com/Uint8Array
824
+ * This is a type-conversion wrapper around `getPrincipalIdsList()`
825
+ * @return {!Array<!Uint8Array>}
826
+ */
827
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.getPrincipalIdsList_asU8 = function() {
828
+ return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
829
+ this.getPrincipalIdsList()));
830
+ };
831
+
832
+
833
+ /** @param {!(Array<!Uint8Array>|Array<string>)} value */
834
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.setPrincipalIdsList = function(value) {
835
+ jspb.Message.setField(this, 2, value || []);
836
+ };
837
+
838
+
839
+ /**
840
+ * @param {!(string|Uint8Array)} value
841
+ * @param {number=} opt_index
842
+ */
843
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.addPrincipalIds = function(value, opt_index) {
844
+ jspb.Message.addToRepeatedField(this, 2, value, opt_index);
845
+ };
846
+
847
+
848
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.prototype.clearPrincipalIdsList = function() {
849
+ this.setPrincipalIdsList([]);
850
+ };
851
+
852
+
853
+
854
+ /**
855
+ * Generated by JsPbCodeGenerator.
856
+ * @param {Array=} opt_data Optional initial data array, typically from a
857
+ * server response, or constructed directly in Javascript. The array is used
858
+ * in place and becomes part of the constructed object. It is not cloned.
859
+ * If no data is provided, the constructed object will be empty, but still
860
+ * valid.
861
+ * @extends {jspb.Message}
862
+ * @constructor
863
+ */
864
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo = function(opt_data) {
865
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ic_base_types.pb.v1.CanisterAuthzInfo.repeatedFields_, null);
866
+ };
867
+ goog.inherits(proto.ic_base_types.pb.v1.CanisterAuthzInfo, jspb.Message);
868
+ if (goog.DEBUG && !COMPILED) {
869
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.displayName = 'proto.ic_base_types.pb.v1.CanisterAuthzInfo';
870
+ }
871
+ /**
872
+ * List of repeated fields within this message type.
873
+ * @private {!Array<number>}
874
+ * @const
875
+ */
876
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.repeatedFields_ = [1];
877
+
878
+
879
+
880
+ if (jspb.Message.GENERATE_TO_OBJECT) {
881
+ /**
882
+ * Creates an object representation of this proto suitable for use in Soy templates.
883
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
884
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
885
+ * For the list of reserved names please see:
886
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
887
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
888
+ * for transitional soy proto support: http://goto/soy-param-migration
889
+ * @return {!Object}
890
+ */
891
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.toObject = function(opt_includeInstance) {
892
+ return proto.ic_base_types.pb.v1.CanisterAuthzInfo.toObject(opt_includeInstance, this);
893
+ };
894
+
895
+
896
+ /**
897
+ * Static version of the {@see toObject} method.
898
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
899
+ * instance for transitional soy proto support:
900
+ * http://goto/soy-param-migration
901
+ * @param {!proto.ic_base_types.pb.v1.CanisterAuthzInfo} msg The msg instance to transform.
902
+ * @return {!Object}
903
+ * @suppress {unusedLocalVariables} f is only used for nested messages
904
+ */
905
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.toObject = function(includeInstance, msg) {
906
+ var f, obj = {
907
+ methodsAuthzList: jspb.Message.toObjectList(msg.getMethodsAuthzList(),
908
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.toObject, includeInstance)
909
+ };
910
+
911
+ if (includeInstance) {
912
+ obj.$jspbMessageInstance = msg;
913
+ }
914
+ return obj;
915
+ };
916
+ }
917
+
918
+
919
+ /**
920
+ * Deserializes binary data (in protobuf wire format).
921
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
922
+ * @return {!proto.ic_base_types.pb.v1.CanisterAuthzInfo}
923
+ */
924
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinary = function(bytes) {
925
+ var reader = new jspb.BinaryReader(bytes);
926
+ var msg = new proto.ic_base_types.pb.v1.CanisterAuthzInfo;
927
+ return proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinaryFromReader(msg, reader);
928
+ };
929
+
930
+
931
+ /**
932
+ * Deserializes binary data (in protobuf wire format) from the
933
+ * given reader into the given message object.
934
+ * @param {!proto.ic_base_types.pb.v1.CanisterAuthzInfo} msg The message object to deserialize into.
935
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
936
+ * @return {!proto.ic_base_types.pb.v1.CanisterAuthzInfo}
937
+ */
938
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.deserializeBinaryFromReader = function(msg, reader) {
939
+ while (reader.nextField()) {
940
+ if (reader.isEndGroup()) {
941
+ break;
942
+ }
943
+ var field = reader.getFieldNumber();
944
+ switch (field) {
945
+ case 1:
946
+ var value = new proto.ic_base_types.pb.v1.MethodAuthzInfo;
947
+ reader.readMessage(value,proto.ic_base_types.pb.v1.MethodAuthzInfo.deserializeBinaryFromReader);
948
+ msg.addMethodsAuthz(value);
949
+ break;
950
+ default:
951
+ reader.skipField();
952
+ break;
953
+ }
954
+ }
955
+ return msg;
956
+ };
957
+
958
+
959
+ /**
960
+ * Serializes the message to binary data (in protobuf wire format).
961
+ * @return {!Uint8Array}
962
+ */
963
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.serializeBinary = function() {
964
+ var writer = new jspb.BinaryWriter();
965
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.serializeBinaryToWriter(this, writer);
966
+ return writer.getResultBuffer();
967
+ };
968
+
969
+
970
+ /**
971
+ * Serializes the given message to binary data (in protobuf wire
972
+ * format), writing to the given BinaryWriter.
973
+ * @param {!proto.ic_base_types.pb.v1.CanisterAuthzInfo} message
974
+ * @param {!jspb.BinaryWriter} writer
975
+ * @suppress {unusedLocalVariables} f is only used for nested messages
976
+ */
977
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.serializeBinaryToWriter = function(message, writer) {
978
+ var f = undefined;
979
+ f = message.getMethodsAuthzList();
980
+ if (f.length > 0) {
981
+ writer.writeRepeatedMessage(
982
+ 1,
983
+ f,
984
+ proto.ic_base_types.pb.v1.MethodAuthzInfo.serializeBinaryToWriter
985
+ );
986
+ }
987
+ };
988
+
989
+
990
+ /**
991
+ * repeated MethodAuthzInfo methods_authz = 1;
992
+ * @return {!Array<!proto.ic_base_types.pb.v1.MethodAuthzInfo>}
993
+ */
994
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.getMethodsAuthzList = function() {
995
+ return /** @type{!Array<!proto.ic_base_types.pb.v1.MethodAuthzInfo>} */ (
996
+ jspb.Message.getRepeatedWrapperField(this, proto.ic_base_types.pb.v1.MethodAuthzInfo, 1));
997
+ };
998
+
999
+
1000
+ /** @param {!Array<!proto.ic_base_types.pb.v1.MethodAuthzInfo>} value */
1001
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.setMethodsAuthzList = function(value) {
1002
+ jspb.Message.setRepeatedWrapperField(this, 1, value);
1003
+ };
1004
+
1005
+
1006
+ /**
1007
+ * @param {!proto.ic_base_types.pb.v1.MethodAuthzInfo=} opt_value
1008
+ * @param {number=} opt_index
1009
+ * @return {!proto.ic_base_types.pb.v1.MethodAuthzInfo}
1010
+ */
1011
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.addMethodsAuthz = function(opt_value, opt_index) {
1012
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ic_base_types.pb.v1.MethodAuthzInfo, opt_index);
1013
+ };
1014
+
1015
+
1016
+ proto.ic_base_types.pb.v1.CanisterAuthzInfo.prototype.clearMethodsAuthzList = function() {
1017
+ this.setMethodsAuthzList([]);
1018
+ };
1019
+
1020
+
1021
+
1022
+ /**
1023
+ * A tuple of {field number, class constructor} for the extension
1024
+ * field named `tuiSignedMessage`.
1025
+ * @type {!jspb.ExtensionFieldInfo<boolean>}
1026
+ */
1027
+ proto.ic_base_types.pb.v1.tuiSignedMessage = new jspb.ExtensionFieldInfo(
1028
+ 20000,
1029
+ {tuiSignedMessage: 0},
1030
+ null,
1031
+ /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
1032
+ null),
1033
+ 0);
1034
+
1035
+ google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[20000] = new jspb.ExtensionFieldBinaryInfo(
1036
+ proto.ic_base_types.pb.v1.tuiSignedMessage,
1037
+ jspb.BinaryReader.prototype.readBool,
1038
+ jspb.BinaryWriter.prototype.writeBool,
1039
+ undefined,
1040
+ undefined,
1041
+ false);
1042
+ // This registers the extension field with the extended class, so that
1043
+ // toObject() will function correctly.
1044
+ google_protobuf_descriptor_pb.MessageOptions.extensions[20000] = proto.ic_base_types.pb.v1.tuiSignedMessage;
1045
+
1046
+
1047
+ /**
1048
+ * A tuple of {field number, class constructor} for the extension
1049
+ * field named `tuiSignedDisplayQ22021`.
1050
+ * @type {!jspb.ExtensionFieldInfo<boolean>}
1051
+ */
1052
+ proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021 = new jspb.ExtensionFieldInfo(
1053
+ 20001,
1054
+ {tuiSignedDisplayQ22021: 0},
1055
+ null,
1056
+ /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
1057
+ null),
1058
+ 0);
1059
+
1060
+ google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[20001] = new jspb.ExtensionFieldBinaryInfo(
1061
+ proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021,
1062
+ jspb.BinaryReader.prototype.readBool,
1063
+ jspb.BinaryWriter.prototype.writeBool,
1064
+ undefined,
1065
+ undefined,
1066
+ false);
1067
+ // This registers the extension field with the extended class, so that
1068
+ // toObject() will function correctly.
1069
+ google_protobuf_descriptor_pb.FieldOptions.extensions[20001] = proto.ic_base_types.pb.v1.tuiSignedDisplayQ22021;
1070
+
1071
+ goog.object.extend(exports, proto.ic_base_types.pb.v1);