@dfinity/nns-proto 0.0.1

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