@dfinity/nns 0.2.2 → 0.3.0-nightly-2022-04-10

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 (55) hide show
  1. package/README.md +1 -6
  2. package/dist/candid/governanceTypes.d.ts +13 -9
  3. package/dist/cjs/index.cjs.js +36 -36
  4. package/dist/cjs/index.cjs.js.map +3 -3
  5. package/dist/esm/account_identifier.js +1 -1
  6. package/dist/esm/{chunk-2DZXLOEC.js → chunk-27LBXZJR.js} +3 -3
  7. package/dist/esm/{chunk-2DZXLOEC.js.map → chunk-27LBXZJR.js.map} +2 -2
  8. package/dist/esm/{chunk-HMU24NWJ.js → chunk-7AFR3LOO.js} +2 -2
  9. package/dist/esm/{chunk-HMU24NWJ.js.map → chunk-7AFR3LOO.js.map} +0 -0
  10. package/dist/esm/chunk-EXEYDII6.js +18 -0
  11. package/dist/esm/{chunk-FVDRR6PO.js.map → chunk-EXEYDII6.js.map} +3 -3
  12. package/dist/esm/chunk-F6ES4H7R.js +2 -0
  13. package/dist/esm/{chunk-QR4654XK.js.map → chunk-F6ES4H7R.js.map} +3 -3
  14. package/dist/esm/chunk-FY5QONEL.js +4 -0
  15. package/dist/esm/chunk-FY5QONEL.js.map +7 -0
  16. package/dist/esm/{chunk-D2W3ELRE.js → chunk-HQLGGFMH.js} +2 -2
  17. package/dist/esm/{chunk-D2W3ELRE.js.map → chunk-HQLGGFMH.js.map} +1 -1
  18. package/dist/esm/chunk-LSSEKDUC.js +3 -0
  19. package/dist/esm/chunk-LSSEKDUC.js.map +7 -0
  20. package/dist/esm/governance.js +1 -1
  21. package/dist/esm/icp.js +1 -1
  22. package/dist/esm/index.js +1 -1
  23. package/dist/esm/index.js.map +3 -3
  24. package/dist/esm/ledger.js +1 -1
  25. package/dist/proto/base_types_pb.js +217 -140
  26. package/dist/proto/ledger_pb.js +1571 -969
  27. package/dist/types/canisters/governance/payloads.d.ts +1 -1
  28. package/dist/types/canisters/governance/request.converters.d.ts +24 -26
  29. package/dist/types/canisters/governance/response.converters.d.ts +6 -35
  30. package/dist/types/canisters/governance/services.d.ts +9 -0
  31. package/dist/types/errors/governance.errors.d.ts +22 -0
  32. package/dist/types/errors/ledger.errors.d.ts +21 -0
  33. package/dist/types/governance.d.ts +95 -7
  34. package/dist/types/index.d.ts +4 -0
  35. package/dist/types/ledger.d.ts +9 -3
  36. package/dist/types/types/common.d.ts +4 -0
  37. package/dist/types/types/governance_converters.d.ts +1 -70
  38. package/dist/types/types/ledger.d.ts +3 -24
  39. package/dist/types/utils/converter.utils.d.ts +1 -6
  40. package/dist/types/utils/neurons.utils.d.ts +13 -0
  41. package/package.json +6 -4
  42. package/dist/candid/nns_dapp.certified.idl.js +0 -206
  43. package/dist/candid/nns_dapp.did +0 -240
  44. package/dist/candid/nns_dapp.idl.js +0 -206
  45. package/dist/esm/chunk-4FZAJTYF.js +0 -2
  46. package/dist/esm/chunk-4FZAJTYF.js.map +0 -7
  47. package/dist/esm/chunk-FVDRR6PO.js +0 -17
  48. package/dist/esm/chunk-LNMGZ6W7.js +0 -3
  49. package/dist/esm/chunk-LNMGZ6W7.js.map +0 -7
  50. package/dist/esm/chunk-QR4654XK.js +0 -2
  51. package/dist/esm/chunk-RUFBUR7C.js +0 -4
  52. package/dist/esm/chunk-RUFBUR7C.js.map +0 -7
  53. package/dist/esm/chunk-ZWZRSVU4.js +0 -2
  54. package/dist/esm/chunk-ZWZRSVU4.js.map +0 -7
  55. package/dist/types/types/option.d.ts +0 -1
@@ -1,17 +1,28 @@
1
+ // source: ledger.proto
1
2
  /**
2
3
  * @fileoverview
3
4
  * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
4
6
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
5
7
  * field starts with 'MSG_' and isn't a translatable message.
6
8
  * @public
7
9
  */
8
10
  // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
9
13
 
10
14
  var jspb = require('google-protobuf');
11
15
  var goog = jspb;
12
- var global = Function('return this')();
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));
13
23
 
14
24
  var base_types_pb = require('./base_types_pb.js');
25
+ goog.object.extend(proto, base_types_pb);
15
26
  goog.exportSymbol('proto.ic_ledger.pb.v1.Account', null, global);
16
27
  goog.exportSymbol('proto.ic_ledger.pb.v1.AccountBalanceRequest', null, global);
17
28
  goog.exportSymbol('proto.ic_ledger.pb.v1.AccountBalanceResponse', null, global);
@@ -21,10 +32,12 @@ goog.exportSymbol('proto.ic_ledger.pb.v1.BlockHeight', null, global);
21
32
  goog.exportSymbol('proto.ic_ledger.pb.v1.Burn', null, global);
22
33
  goog.exportSymbol('proto.ic_ledger.pb.v1.Certification', null, global);
23
34
  goog.exportSymbol('proto.ic_ledger.pb.v1.CyclesNotificationResponse', null, global);
35
+ goog.exportSymbol('proto.ic_ledger.pb.v1.CyclesNotificationResponse.ResponseCase', null, global);
24
36
  goog.exportSymbol('proto.ic_ledger.pb.v1.EncodedBlock', null, global);
25
37
  goog.exportSymbol('proto.ic_ledger.pb.v1.EncodedBlocks', null, global);
26
38
  goog.exportSymbol('proto.ic_ledger.pb.v1.GetBlocksRequest', null, global);
27
39
  goog.exportSymbol('proto.ic_ledger.pb.v1.GetBlocksResponse', null, global);
40
+ goog.exportSymbol('proto.ic_ledger.pb.v1.GetBlocksResponse.GetBlocksContentCase', null, global);
28
41
  goog.exportSymbol('proto.ic_ledger.pb.v1.Hash', null, global);
29
42
  goog.exportSymbol('proto.ic_ledger.pb.v1.ICPTs', null, global);
30
43
  goog.exportSymbol('proto.ic_ledger.pb.v1.Memo', null, global);
@@ -42,9 +55,9 @@ goog.exportSymbol('proto.ic_ledger.pb.v1.TipOfChainRequest', null, global);
42
55
  goog.exportSymbol('proto.ic_ledger.pb.v1.TipOfChainResponse', null, global);
43
56
  goog.exportSymbol('proto.ic_ledger.pb.v1.ToppedUp', null, global);
44
57
  goog.exportSymbol('proto.ic_ledger.pb.v1.Transaction', null, global);
58
+ goog.exportSymbol('proto.ic_ledger.pb.v1.Transaction.TransferCase', null, global);
45
59
  goog.exportSymbol('proto.ic_ledger.pb.v1.TransactionNotificationRequest', null, global);
46
60
  goog.exportSymbol('proto.ic_ledger.pb.v1.TransactionNotificationResponse', null, global);
47
-
48
61
  /**
49
62
  * Generated by JsPbCodeGenerator.
50
63
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -55,24 +68,682 @@ goog.exportSymbol('proto.ic_ledger.pb.v1.TransactionNotificationResponse', null,
55
68
  * @extends {jspb.Message}
56
69
  * @constructor
57
70
  */
58
- proto.ic_ledger.pb.v1.SendRequest = function(opt_data) {
71
+ proto.ic_ledger.pb.v1.SendRequest = function(opt_data) {
72
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
73
+ };
74
+ goog.inherits(proto.ic_ledger.pb.v1.SendRequest, jspb.Message);
75
+ if (goog.DEBUG && !COMPILED) {
76
+ /**
77
+ * @public
78
+ * @override
79
+ */
80
+ proto.ic_ledger.pb.v1.SendRequest.displayName = 'proto.ic_ledger.pb.v1.SendRequest';
81
+ }
82
+ /**
83
+ * Generated by JsPbCodeGenerator.
84
+ * @param {Array=} opt_data Optional initial data array, typically from a
85
+ * server response, or constructed directly in Javascript. The array is used
86
+ * in place and becomes part of the constructed object. It is not cloned.
87
+ * If no data is provided, the constructed object will be empty, but still
88
+ * valid.
89
+ * @extends {jspb.Message}
90
+ * @constructor
91
+ */
92
+ proto.ic_ledger.pb.v1.SendResponse = function(opt_data) {
93
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
94
+ };
95
+ goog.inherits(proto.ic_ledger.pb.v1.SendResponse, jspb.Message);
96
+ if (goog.DEBUG && !COMPILED) {
97
+ /**
98
+ * @public
99
+ * @override
100
+ */
101
+ proto.ic_ledger.pb.v1.SendResponse.displayName = 'proto.ic_ledger.pb.v1.SendResponse';
102
+ }
103
+ /**
104
+ * Generated by JsPbCodeGenerator.
105
+ * @param {Array=} opt_data Optional initial data array, typically from a
106
+ * server response, or constructed directly in Javascript. The array is used
107
+ * in place and becomes part of the constructed object. It is not cloned.
108
+ * If no data is provided, the constructed object will be empty, but still
109
+ * valid.
110
+ * @extends {jspb.Message}
111
+ * @constructor
112
+ */
113
+ proto.ic_ledger.pb.v1.NotifyRequest = function(opt_data) {
114
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
115
+ };
116
+ goog.inherits(proto.ic_ledger.pb.v1.NotifyRequest, jspb.Message);
117
+ if (goog.DEBUG && !COMPILED) {
118
+ /**
119
+ * @public
120
+ * @override
121
+ */
122
+ proto.ic_ledger.pb.v1.NotifyRequest.displayName = 'proto.ic_ledger.pb.v1.NotifyRequest';
123
+ }
124
+ /**
125
+ * Generated by JsPbCodeGenerator.
126
+ * @param {Array=} opt_data Optional initial data array, typically from a
127
+ * server response, or constructed directly in Javascript. The array is used
128
+ * in place and becomes part of the constructed object. It is not cloned.
129
+ * If no data is provided, the constructed object will be empty, but still
130
+ * valid.
131
+ * @extends {jspb.Message}
132
+ * @constructor
133
+ */
134
+ proto.ic_ledger.pb.v1.NotifyResponse = function(opt_data) {
135
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
136
+ };
137
+ goog.inherits(proto.ic_ledger.pb.v1.NotifyResponse, jspb.Message);
138
+ if (goog.DEBUG && !COMPILED) {
139
+ /**
140
+ * @public
141
+ * @override
142
+ */
143
+ proto.ic_ledger.pb.v1.NotifyResponse.displayName = 'proto.ic_ledger.pb.v1.NotifyResponse';
144
+ }
145
+ /**
146
+ * Generated by JsPbCodeGenerator.
147
+ * @param {Array=} opt_data Optional initial data array, typically from a
148
+ * server response, or constructed directly in Javascript. The array is used
149
+ * in place and becomes part of the constructed object. It is not cloned.
150
+ * If no data is provided, the constructed object will be empty, but still
151
+ * valid.
152
+ * @extends {jspb.Message}
153
+ * @constructor
154
+ */
155
+ proto.ic_ledger.pb.v1.TransactionNotificationRequest = function(opt_data) {
156
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
157
+ };
158
+ goog.inherits(proto.ic_ledger.pb.v1.TransactionNotificationRequest, jspb.Message);
159
+ if (goog.DEBUG && !COMPILED) {
160
+ /**
161
+ * @public
162
+ * @override
163
+ */
164
+ proto.ic_ledger.pb.v1.TransactionNotificationRequest.displayName = 'proto.ic_ledger.pb.v1.TransactionNotificationRequest';
165
+ }
166
+ /**
167
+ * Generated by JsPbCodeGenerator.
168
+ * @param {Array=} opt_data Optional initial data array, typically from a
169
+ * server response, or constructed directly in Javascript. The array is used
170
+ * in place and becomes part of the constructed object. It is not cloned.
171
+ * If no data is provided, the constructed object will be empty, but still
172
+ * valid.
173
+ * @extends {jspb.Message}
174
+ * @constructor
175
+ */
176
+ proto.ic_ledger.pb.v1.TransactionNotificationResponse = function(opt_data) {
177
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
178
+ };
179
+ goog.inherits(proto.ic_ledger.pb.v1.TransactionNotificationResponse, jspb.Message);
180
+ if (goog.DEBUG && !COMPILED) {
181
+ /**
182
+ * @public
183
+ * @override
184
+ */
185
+ proto.ic_ledger.pb.v1.TransactionNotificationResponse.displayName = 'proto.ic_ledger.pb.v1.TransactionNotificationResponse';
186
+ }
187
+ /**
188
+ * Generated by JsPbCodeGenerator.
189
+ * @param {Array=} opt_data Optional initial data array, typically from a
190
+ * server response, or constructed directly in Javascript. The array is used
191
+ * in place and becomes part of the constructed object. It is not cloned.
192
+ * If no data is provided, the constructed object will be empty, but still
193
+ * valid.
194
+ * @extends {jspb.Message}
195
+ * @constructor
196
+ */
197
+ proto.ic_ledger.pb.v1.CyclesNotificationResponse = function(opt_data) {
198
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_);
199
+ };
200
+ goog.inherits(proto.ic_ledger.pb.v1.CyclesNotificationResponse, jspb.Message);
201
+ if (goog.DEBUG && !COMPILED) {
202
+ /**
203
+ * @public
204
+ * @override
205
+ */
206
+ proto.ic_ledger.pb.v1.CyclesNotificationResponse.displayName = 'proto.ic_ledger.pb.v1.CyclesNotificationResponse';
207
+ }
208
+ /**
209
+ * Generated by JsPbCodeGenerator.
210
+ * @param {Array=} opt_data Optional initial data array, typically from a
211
+ * server response, or constructed directly in Javascript. The array is used
212
+ * in place and becomes part of the constructed object. It is not cloned.
213
+ * If no data is provided, the constructed object will be empty, but still
214
+ * valid.
215
+ * @extends {jspb.Message}
216
+ * @constructor
217
+ */
218
+ proto.ic_ledger.pb.v1.AccountBalanceRequest = function(opt_data) {
219
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
220
+ };
221
+ goog.inherits(proto.ic_ledger.pb.v1.AccountBalanceRequest, jspb.Message);
222
+ if (goog.DEBUG && !COMPILED) {
223
+ /**
224
+ * @public
225
+ * @override
226
+ */
227
+ proto.ic_ledger.pb.v1.AccountBalanceRequest.displayName = 'proto.ic_ledger.pb.v1.AccountBalanceRequest';
228
+ }
229
+ /**
230
+ * Generated by JsPbCodeGenerator.
231
+ * @param {Array=} opt_data Optional initial data array, typically from a
232
+ * server response, or constructed directly in Javascript. The array is used
233
+ * in place and becomes part of the constructed object. It is not cloned.
234
+ * If no data is provided, the constructed object will be empty, but still
235
+ * valid.
236
+ * @extends {jspb.Message}
237
+ * @constructor
238
+ */
239
+ proto.ic_ledger.pb.v1.AccountBalanceResponse = function(opt_data) {
240
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
241
+ };
242
+ goog.inherits(proto.ic_ledger.pb.v1.AccountBalanceResponse, jspb.Message);
243
+ if (goog.DEBUG && !COMPILED) {
244
+ /**
245
+ * @public
246
+ * @override
247
+ */
248
+ proto.ic_ledger.pb.v1.AccountBalanceResponse.displayName = 'proto.ic_ledger.pb.v1.AccountBalanceResponse';
249
+ }
250
+ /**
251
+ * Generated by JsPbCodeGenerator.
252
+ * @param {Array=} opt_data Optional initial data array, typically from a
253
+ * server response, or constructed directly in Javascript. The array is used
254
+ * in place and becomes part of the constructed object. It is not cloned.
255
+ * If no data is provided, the constructed object will be empty, but still
256
+ * valid.
257
+ * @extends {jspb.Message}
258
+ * @constructor
259
+ */
260
+ proto.ic_ledger.pb.v1.TipOfChainRequest = function(opt_data) {
261
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
262
+ };
263
+ goog.inherits(proto.ic_ledger.pb.v1.TipOfChainRequest, jspb.Message);
264
+ if (goog.DEBUG && !COMPILED) {
265
+ /**
266
+ * @public
267
+ * @override
268
+ */
269
+ proto.ic_ledger.pb.v1.TipOfChainRequest.displayName = 'proto.ic_ledger.pb.v1.TipOfChainRequest';
270
+ }
271
+ /**
272
+ * Generated by JsPbCodeGenerator.
273
+ * @param {Array=} opt_data Optional initial data array, typically from a
274
+ * server response, or constructed directly in Javascript. The array is used
275
+ * in place and becomes part of the constructed object. It is not cloned.
276
+ * If no data is provided, the constructed object will be empty, but still
277
+ * valid.
278
+ * @extends {jspb.Message}
279
+ * @constructor
280
+ */
281
+ proto.ic_ledger.pb.v1.TipOfChainResponse = function(opt_data) {
282
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
283
+ };
284
+ goog.inherits(proto.ic_ledger.pb.v1.TipOfChainResponse, jspb.Message);
285
+ if (goog.DEBUG && !COMPILED) {
286
+ /**
287
+ * @public
288
+ * @override
289
+ */
290
+ proto.ic_ledger.pb.v1.TipOfChainResponse.displayName = 'proto.ic_ledger.pb.v1.TipOfChainResponse';
291
+ }
292
+ /**
293
+ * Generated by JsPbCodeGenerator.
294
+ * @param {Array=} opt_data Optional initial data array, typically from a
295
+ * server response, or constructed directly in Javascript. The array is used
296
+ * in place and becomes part of the constructed object. It is not cloned.
297
+ * If no data is provided, the constructed object will be empty, but still
298
+ * valid.
299
+ * @extends {jspb.Message}
300
+ * @constructor
301
+ */
302
+ proto.ic_ledger.pb.v1.EncodedBlock = function(opt_data) {
303
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
304
+ };
305
+ goog.inherits(proto.ic_ledger.pb.v1.EncodedBlock, jspb.Message);
306
+ if (goog.DEBUG && !COMPILED) {
307
+ /**
308
+ * @public
309
+ * @override
310
+ */
311
+ proto.ic_ledger.pb.v1.EncodedBlock.displayName = 'proto.ic_ledger.pb.v1.EncodedBlock';
312
+ }
313
+ /**
314
+ * Generated by JsPbCodeGenerator.
315
+ * @param {Array=} opt_data Optional initial data array, typically from a
316
+ * server response, or constructed directly in Javascript. The array is used
317
+ * in place and becomes part of the constructed object. It is not cloned.
318
+ * If no data is provided, the constructed object will be empty, but still
319
+ * valid.
320
+ * @extends {jspb.Message}
321
+ * @constructor
322
+ */
323
+ proto.ic_ledger.pb.v1.GetBlocksRequest = function(opt_data) {
324
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
325
+ };
326
+ goog.inherits(proto.ic_ledger.pb.v1.GetBlocksRequest, jspb.Message);
327
+ if (goog.DEBUG && !COMPILED) {
328
+ /**
329
+ * @public
330
+ * @override
331
+ */
332
+ proto.ic_ledger.pb.v1.GetBlocksRequest.displayName = 'proto.ic_ledger.pb.v1.GetBlocksRequest';
333
+ }
334
+ /**
335
+ * Generated by JsPbCodeGenerator.
336
+ * @param {Array=} opt_data Optional initial data array, typically from a
337
+ * server response, or constructed directly in Javascript. The array is used
338
+ * in place and becomes part of the constructed object. It is not cloned.
339
+ * If no data is provided, the constructed object will be empty, but still
340
+ * valid.
341
+ * @extends {jspb.Message}
342
+ * @constructor
343
+ */
344
+ proto.ic_ledger.pb.v1.Refund = function(opt_data) {
345
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
346
+ };
347
+ goog.inherits(proto.ic_ledger.pb.v1.Refund, jspb.Message);
348
+ if (goog.DEBUG && !COMPILED) {
349
+ /**
350
+ * @public
351
+ * @override
352
+ */
353
+ proto.ic_ledger.pb.v1.Refund.displayName = 'proto.ic_ledger.pb.v1.Refund';
354
+ }
355
+ /**
356
+ * Generated by JsPbCodeGenerator.
357
+ * @param {Array=} opt_data Optional initial data array, typically from a
358
+ * server response, or constructed directly in Javascript. The array is used
359
+ * in place and becomes part of the constructed object. It is not cloned.
360
+ * If no data is provided, the constructed object will be empty, but still
361
+ * valid.
362
+ * @extends {jspb.Message}
363
+ * @constructor
364
+ */
365
+ proto.ic_ledger.pb.v1.ToppedUp = function(opt_data) {
366
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
367
+ };
368
+ goog.inherits(proto.ic_ledger.pb.v1.ToppedUp, jspb.Message);
369
+ if (goog.DEBUG && !COMPILED) {
370
+ /**
371
+ * @public
372
+ * @override
373
+ */
374
+ proto.ic_ledger.pb.v1.ToppedUp.displayName = 'proto.ic_ledger.pb.v1.ToppedUp';
375
+ }
376
+ /**
377
+ * Generated by JsPbCodeGenerator.
378
+ * @param {Array=} opt_data Optional initial data array, typically from a
379
+ * server response, or constructed directly in Javascript. The array is used
380
+ * in place and becomes part of the constructed object. It is not cloned.
381
+ * If no data is provided, the constructed object will be empty, but still
382
+ * valid.
383
+ * @extends {jspb.Message}
384
+ * @constructor
385
+ */
386
+ proto.ic_ledger.pb.v1.EncodedBlocks = function(opt_data) {
387
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ic_ledger.pb.v1.EncodedBlocks.repeatedFields_, null);
388
+ };
389
+ goog.inherits(proto.ic_ledger.pb.v1.EncodedBlocks, jspb.Message);
390
+ if (goog.DEBUG && !COMPILED) {
391
+ /**
392
+ * @public
393
+ * @override
394
+ */
395
+ proto.ic_ledger.pb.v1.EncodedBlocks.displayName = 'proto.ic_ledger.pb.v1.EncodedBlocks';
396
+ }
397
+ /**
398
+ * Generated by JsPbCodeGenerator.
399
+ * @param {Array=} opt_data Optional initial data array, typically from a
400
+ * server response, or constructed directly in Javascript. The array is used
401
+ * in place and becomes part of the constructed object. It is not cloned.
402
+ * If no data is provided, the constructed object will be empty, but still
403
+ * valid.
404
+ * @extends {jspb.Message}
405
+ * @constructor
406
+ */
407
+ proto.ic_ledger.pb.v1.GetBlocksResponse = function(opt_data) {
408
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_);
409
+ };
410
+ goog.inherits(proto.ic_ledger.pb.v1.GetBlocksResponse, jspb.Message);
411
+ if (goog.DEBUG && !COMPILED) {
412
+ /**
413
+ * @public
414
+ * @override
415
+ */
416
+ proto.ic_ledger.pb.v1.GetBlocksResponse.displayName = 'proto.ic_ledger.pb.v1.GetBlocksResponse';
417
+ }
418
+ /**
419
+ * Generated by JsPbCodeGenerator.
420
+ * @param {Array=} opt_data Optional initial data array, typically from a
421
+ * server response, or constructed directly in Javascript. The array is used
422
+ * in place and becomes part of the constructed object. It is not cloned.
423
+ * If no data is provided, the constructed object will be empty, but still
424
+ * valid.
425
+ * @extends {jspb.Message}
426
+ * @constructor
427
+ */
428
+ proto.ic_ledger.pb.v1.ICPTs = function(opt_data) {
59
429
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
60
430
  };
61
- goog.inherits(proto.ic_ledger.pb.v1.SendRequest, jspb.Message);
431
+ goog.inherits(proto.ic_ledger.pb.v1.ICPTs, jspb.Message);
62
432
  if (goog.DEBUG && !COMPILED) {
63
- proto.ic_ledger.pb.v1.SendRequest.displayName = 'proto.ic_ledger.pb.v1.SendRequest';
433
+ /**
434
+ * @public
435
+ * @override
436
+ */
437
+ proto.ic_ledger.pb.v1.ICPTs.displayName = 'proto.ic_ledger.pb.v1.ICPTs';
438
+ }
439
+ /**
440
+ * Generated by JsPbCodeGenerator.
441
+ * @param {Array=} opt_data Optional initial data array, typically from a
442
+ * server response, or constructed directly in Javascript. The array is used
443
+ * in place and becomes part of the constructed object. It is not cloned.
444
+ * If no data is provided, the constructed object will be empty, but still
445
+ * valid.
446
+ * @extends {jspb.Message}
447
+ * @constructor
448
+ */
449
+ proto.ic_ledger.pb.v1.Payment = function(opt_data) {
450
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
451
+ };
452
+ goog.inherits(proto.ic_ledger.pb.v1.Payment, jspb.Message);
453
+ if (goog.DEBUG && !COMPILED) {
454
+ /**
455
+ * @public
456
+ * @override
457
+ */
458
+ proto.ic_ledger.pb.v1.Payment.displayName = 'proto.ic_ledger.pb.v1.Payment';
459
+ }
460
+ /**
461
+ * Generated by JsPbCodeGenerator.
462
+ * @param {Array=} opt_data Optional initial data array, typically from a
463
+ * server response, or constructed directly in Javascript. The array is used
464
+ * in place and becomes part of the constructed object. It is not cloned.
465
+ * If no data is provided, the constructed object will be empty, but still
466
+ * valid.
467
+ * @extends {jspb.Message}
468
+ * @constructor
469
+ */
470
+ proto.ic_ledger.pb.v1.BlockHeight = function(opt_data) {
471
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
472
+ };
473
+ goog.inherits(proto.ic_ledger.pb.v1.BlockHeight, jspb.Message);
474
+ if (goog.DEBUG && !COMPILED) {
475
+ /**
476
+ * @public
477
+ * @override
478
+ */
479
+ proto.ic_ledger.pb.v1.BlockHeight.displayName = 'proto.ic_ledger.pb.v1.BlockHeight';
480
+ }
481
+ /**
482
+ * Generated by JsPbCodeGenerator.
483
+ * @param {Array=} opt_data Optional initial data array, typically from a
484
+ * server response, or constructed directly in Javascript. The array is used
485
+ * in place and becomes part of the constructed object. It is not cloned.
486
+ * If no data is provided, the constructed object will be empty, but still
487
+ * valid.
488
+ * @extends {jspb.Message}
489
+ * @constructor
490
+ */
491
+ proto.ic_ledger.pb.v1.Block = function(opt_data) {
492
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
493
+ };
494
+ goog.inherits(proto.ic_ledger.pb.v1.Block, jspb.Message);
495
+ if (goog.DEBUG && !COMPILED) {
496
+ /**
497
+ * @public
498
+ * @override
499
+ */
500
+ proto.ic_ledger.pb.v1.Block.displayName = 'proto.ic_ledger.pb.v1.Block';
501
+ }
502
+ /**
503
+ * Generated by JsPbCodeGenerator.
504
+ * @param {Array=} opt_data Optional initial data array, typically from a
505
+ * server response, or constructed directly in Javascript. The array is used
506
+ * in place and becomes part of the constructed object. It is not cloned.
507
+ * If no data is provided, the constructed object will be empty, but still
508
+ * valid.
509
+ * @extends {jspb.Message}
510
+ * @constructor
511
+ */
512
+ proto.ic_ledger.pb.v1.Hash = function(opt_data) {
513
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
514
+ };
515
+ goog.inherits(proto.ic_ledger.pb.v1.Hash, jspb.Message);
516
+ if (goog.DEBUG && !COMPILED) {
517
+ /**
518
+ * @public
519
+ * @override
520
+ */
521
+ proto.ic_ledger.pb.v1.Hash.displayName = 'proto.ic_ledger.pb.v1.Hash';
522
+ }
523
+ /**
524
+ * Generated by JsPbCodeGenerator.
525
+ * @param {Array=} opt_data Optional initial data array, typically from a
526
+ * server response, or constructed directly in Javascript. The array is used
527
+ * in place and becomes part of the constructed object. It is not cloned.
528
+ * If no data is provided, the constructed object will be empty, but still
529
+ * valid.
530
+ * @extends {jspb.Message}
531
+ * @constructor
532
+ */
533
+ proto.ic_ledger.pb.v1.Account = function(opt_data) {
534
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
535
+ };
536
+ goog.inherits(proto.ic_ledger.pb.v1.Account, jspb.Message);
537
+ if (goog.DEBUG && !COMPILED) {
538
+ /**
539
+ * @public
540
+ * @override
541
+ */
542
+ proto.ic_ledger.pb.v1.Account.displayName = 'proto.ic_ledger.pb.v1.Account';
543
+ }
544
+ /**
545
+ * Generated by JsPbCodeGenerator.
546
+ * @param {Array=} opt_data Optional initial data array, typically from a
547
+ * server response, or constructed directly in Javascript. The array is used
548
+ * in place and becomes part of the constructed object. It is not cloned.
549
+ * If no data is provided, the constructed object will be empty, but still
550
+ * valid.
551
+ * @extends {jspb.Message}
552
+ * @constructor
553
+ */
554
+ proto.ic_ledger.pb.v1.Transaction = function(opt_data) {
555
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ic_ledger.pb.v1.Transaction.oneofGroups_);
556
+ };
557
+ goog.inherits(proto.ic_ledger.pb.v1.Transaction, jspb.Message);
558
+ if (goog.DEBUG && !COMPILED) {
559
+ /**
560
+ * @public
561
+ * @override
562
+ */
563
+ proto.ic_ledger.pb.v1.Transaction.displayName = 'proto.ic_ledger.pb.v1.Transaction';
564
+ }
565
+ /**
566
+ * Generated by JsPbCodeGenerator.
567
+ * @param {Array=} opt_data Optional initial data array, typically from a
568
+ * server response, or constructed directly in Javascript. The array is used
569
+ * in place and becomes part of the constructed object. It is not cloned.
570
+ * If no data is provided, the constructed object will be empty, but still
571
+ * valid.
572
+ * @extends {jspb.Message}
573
+ * @constructor
574
+ */
575
+ proto.ic_ledger.pb.v1.Send = function(opt_data) {
576
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
577
+ };
578
+ goog.inherits(proto.ic_ledger.pb.v1.Send, jspb.Message);
579
+ if (goog.DEBUG && !COMPILED) {
580
+ /**
581
+ * @public
582
+ * @override
583
+ */
584
+ proto.ic_ledger.pb.v1.Send.displayName = 'proto.ic_ledger.pb.v1.Send';
585
+ }
586
+ /**
587
+ * Generated by JsPbCodeGenerator.
588
+ * @param {Array=} opt_data Optional initial data array, typically from a
589
+ * server response, or constructed directly in Javascript. The array is used
590
+ * in place and becomes part of the constructed object. It is not cloned.
591
+ * If no data is provided, the constructed object will be empty, but still
592
+ * valid.
593
+ * @extends {jspb.Message}
594
+ * @constructor
595
+ */
596
+ proto.ic_ledger.pb.v1.Mint = function(opt_data) {
597
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
598
+ };
599
+ goog.inherits(proto.ic_ledger.pb.v1.Mint, jspb.Message);
600
+ if (goog.DEBUG && !COMPILED) {
601
+ /**
602
+ * @public
603
+ * @override
604
+ */
605
+ proto.ic_ledger.pb.v1.Mint.displayName = 'proto.ic_ledger.pb.v1.Mint';
606
+ }
607
+ /**
608
+ * Generated by JsPbCodeGenerator.
609
+ * @param {Array=} opt_data Optional initial data array, typically from a
610
+ * server response, or constructed directly in Javascript. The array is used
611
+ * in place and becomes part of the constructed object. It is not cloned.
612
+ * If no data is provided, the constructed object will be empty, but still
613
+ * valid.
614
+ * @extends {jspb.Message}
615
+ * @constructor
616
+ */
617
+ proto.ic_ledger.pb.v1.Burn = function(opt_data) {
618
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
619
+ };
620
+ goog.inherits(proto.ic_ledger.pb.v1.Burn, jspb.Message);
621
+ if (goog.DEBUG && !COMPILED) {
622
+ /**
623
+ * @public
624
+ * @override
625
+ */
626
+ proto.ic_ledger.pb.v1.Burn.displayName = 'proto.ic_ledger.pb.v1.Burn';
627
+ }
628
+ /**
629
+ * Generated by JsPbCodeGenerator.
630
+ * @param {Array=} opt_data Optional initial data array, typically from a
631
+ * server response, or constructed directly in Javascript. The array is used
632
+ * in place and becomes part of the constructed object. It is not cloned.
633
+ * If no data is provided, the constructed object will be empty, but still
634
+ * valid.
635
+ * @extends {jspb.Message}
636
+ * @constructor
637
+ */
638
+ proto.ic_ledger.pb.v1.AccountIdentifier = function(opt_data) {
639
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
640
+ };
641
+ goog.inherits(proto.ic_ledger.pb.v1.AccountIdentifier, jspb.Message);
642
+ if (goog.DEBUG && !COMPILED) {
643
+ /**
644
+ * @public
645
+ * @override
646
+ */
647
+ proto.ic_ledger.pb.v1.AccountIdentifier.displayName = 'proto.ic_ledger.pb.v1.AccountIdentifier';
648
+ }
649
+ /**
650
+ * Generated by JsPbCodeGenerator.
651
+ * @param {Array=} opt_data Optional initial data array, typically from a
652
+ * server response, or constructed directly in Javascript. The array is used
653
+ * in place and becomes part of the constructed object. It is not cloned.
654
+ * If no data is provided, the constructed object will be empty, but still
655
+ * valid.
656
+ * @extends {jspb.Message}
657
+ * @constructor
658
+ */
659
+ proto.ic_ledger.pb.v1.Subaccount = function(opt_data) {
660
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
661
+ };
662
+ goog.inherits(proto.ic_ledger.pb.v1.Subaccount, jspb.Message);
663
+ if (goog.DEBUG && !COMPILED) {
664
+ /**
665
+ * @public
666
+ * @override
667
+ */
668
+ proto.ic_ledger.pb.v1.Subaccount.displayName = 'proto.ic_ledger.pb.v1.Subaccount';
669
+ }
670
+ /**
671
+ * Generated by JsPbCodeGenerator.
672
+ * @param {Array=} opt_data Optional initial data array, typically from a
673
+ * server response, or constructed directly in Javascript. The array is used
674
+ * in place and becomes part of the constructed object. It is not cloned.
675
+ * If no data is provided, the constructed object will be empty, but still
676
+ * valid.
677
+ * @extends {jspb.Message}
678
+ * @constructor
679
+ */
680
+ proto.ic_ledger.pb.v1.Memo = function(opt_data) {
681
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
682
+ };
683
+ goog.inherits(proto.ic_ledger.pb.v1.Memo, jspb.Message);
684
+ if (goog.DEBUG && !COMPILED) {
685
+ /**
686
+ * @public
687
+ * @override
688
+ */
689
+ proto.ic_ledger.pb.v1.Memo.displayName = 'proto.ic_ledger.pb.v1.Memo';
690
+ }
691
+ /**
692
+ * Generated by JsPbCodeGenerator.
693
+ * @param {Array=} opt_data Optional initial data array, typically from a
694
+ * server response, or constructed directly in Javascript. The array is used
695
+ * in place and becomes part of the constructed object. It is not cloned.
696
+ * If no data is provided, the constructed object will be empty, but still
697
+ * valid.
698
+ * @extends {jspb.Message}
699
+ * @constructor
700
+ */
701
+ proto.ic_ledger.pb.v1.TimeStamp = function(opt_data) {
702
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
703
+ };
704
+ goog.inherits(proto.ic_ledger.pb.v1.TimeStamp, jspb.Message);
705
+ if (goog.DEBUG && !COMPILED) {
706
+ /**
707
+ * @public
708
+ * @override
709
+ */
710
+ proto.ic_ledger.pb.v1.TimeStamp.displayName = 'proto.ic_ledger.pb.v1.TimeStamp';
711
+ }
712
+ /**
713
+ * Generated by JsPbCodeGenerator.
714
+ * @param {Array=} opt_data Optional initial data array, typically from a
715
+ * server response, or constructed directly in Javascript. The array is used
716
+ * in place and becomes part of the constructed object. It is not cloned.
717
+ * If no data is provided, the constructed object will be empty, but still
718
+ * valid.
719
+ * @extends {jspb.Message}
720
+ * @constructor
721
+ */
722
+ proto.ic_ledger.pb.v1.Certification = function(opt_data) {
723
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
724
+ };
725
+ goog.inherits(proto.ic_ledger.pb.v1.Certification, jspb.Message);
726
+ if (goog.DEBUG && !COMPILED) {
727
+ /**
728
+ * @public
729
+ * @override
730
+ */
731
+ proto.ic_ledger.pb.v1.Certification.displayName = 'proto.ic_ledger.pb.v1.Certification';
64
732
  }
65
733
 
66
734
 
735
+
67
736
  if (jspb.Message.GENERATE_TO_OBJECT) {
68
737
  /**
69
- * Creates an object representation of this proto suitable for use in Soy templates.
738
+ * Creates an object representation of this proto.
70
739
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
740
+ * Optional fields that are not set will be set to undefined.
71
741
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
72
742
  * For the list of reserved names please see:
73
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
74
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
75
- * for transitional soy proto support: http://goto/soy-param-migration
743
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
744
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
745
+ * JSPB instance for transitional soy proto support:
746
+ * http://goto/soy-param-migration
76
747
  * @return {!Object}
77
748
  */
78
749
  proto.ic_ledger.pb.v1.SendRequest.prototype.toObject = function(opt_includeInstance) {
@@ -82,8 +753,8 @@ proto.ic_ledger.pb.v1.SendRequest.prototype.toObject = function(opt_includeInsta
82
753
 
83
754
  /**
84
755
  * Static version of the {@see toObject} method.
85
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
86
- * instance for transitional soy proto support:
756
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
757
+ * the JSPB instance for transitional soy proto support:
87
758
  * http://goto/soy-param-migration
88
759
  * @param {!proto.ic_ledger.pb.v1.SendRequest} msg The msg instance to transform.
89
760
  * @return {!Object}
@@ -267,20 +938,27 @@ proto.ic_ledger.pb.v1.SendRequest.prototype.getMemo = function() {
267
938
  };
268
939
 
269
940
 
270
- /** @param {?proto.ic_ledger.pb.v1.Memo|undefined} value */
941
+ /**
942
+ * @param {?proto.ic_ledger.pb.v1.Memo|undefined} value
943
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
944
+ */
271
945
  proto.ic_ledger.pb.v1.SendRequest.prototype.setMemo = function(value) {
272
- jspb.Message.setWrapperField(this, 1, value);
946
+ return jspb.Message.setWrapperField(this, 1, value);
273
947
  };
274
948
 
275
949
 
950
+ /**
951
+ * Clears the message field making it undefined.
952
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
953
+ */
276
954
  proto.ic_ledger.pb.v1.SendRequest.prototype.clearMemo = function() {
277
- this.setMemo(undefined);
955
+ return this.setMemo(undefined);
278
956
  };
279
957
 
280
958
 
281
959
  /**
282
960
  * Returns whether this field is set.
283
- * @return {!boolean}
961
+ * @return {boolean}
284
962
  */
285
963
  proto.ic_ledger.pb.v1.SendRequest.prototype.hasMemo = function() {
286
964
  return jspb.Message.getField(this, 1) != null;
@@ -297,20 +975,27 @@ proto.ic_ledger.pb.v1.SendRequest.prototype.getPayment = function() {
297
975
  };
298
976
 
299
977
 
300
- /** @param {?proto.ic_ledger.pb.v1.Payment|undefined} value */
978
+ /**
979
+ * @param {?proto.ic_ledger.pb.v1.Payment|undefined} value
980
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
981
+ */
301
982
  proto.ic_ledger.pb.v1.SendRequest.prototype.setPayment = function(value) {
302
- jspb.Message.setWrapperField(this, 2, value);
983
+ return jspb.Message.setWrapperField(this, 2, value);
303
984
  };
304
985
 
305
986
 
987
+ /**
988
+ * Clears the message field making it undefined.
989
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
990
+ */
306
991
  proto.ic_ledger.pb.v1.SendRequest.prototype.clearPayment = function() {
307
- this.setPayment(undefined);
992
+ return this.setPayment(undefined);
308
993
  };
309
994
 
310
995
 
311
996
  /**
312
997
  * Returns whether this field is set.
313
- * @return {!boolean}
998
+ * @return {boolean}
314
999
  */
315
1000
  proto.ic_ledger.pb.v1.SendRequest.prototype.hasPayment = function() {
316
1001
  return jspb.Message.getField(this, 2) != null;
@@ -327,20 +1012,27 @@ proto.ic_ledger.pb.v1.SendRequest.prototype.getMaxFee = function() {
327
1012
  };
328
1013
 
329
1014
 
330
- /** @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value */
1015
+ /**
1016
+ * @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value
1017
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
1018
+ */
331
1019
  proto.ic_ledger.pb.v1.SendRequest.prototype.setMaxFee = function(value) {
332
- jspb.Message.setWrapperField(this, 3, value);
1020
+ return jspb.Message.setWrapperField(this, 3, value);
333
1021
  };
334
1022
 
335
1023
 
1024
+ /**
1025
+ * Clears the message field making it undefined.
1026
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
1027
+ */
336
1028
  proto.ic_ledger.pb.v1.SendRequest.prototype.clearMaxFee = function() {
337
- this.setMaxFee(undefined);
1029
+ return this.setMaxFee(undefined);
338
1030
  };
339
1031
 
340
1032
 
341
1033
  /**
342
1034
  * Returns whether this field is set.
343
- * @return {!boolean}
1035
+ * @return {boolean}
344
1036
  */
345
1037
  proto.ic_ledger.pb.v1.SendRequest.prototype.hasMaxFee = function() {
346
1038
  return jspb.Message.getField(this, 3) != null;
@@ -357,20 +1049,27 @@ proto.ic_ledger.pb.v1.SendRequest.prototype.getFromSubaccount = function() {
357
1049
  };
358
1050
 
359
1051
 
360
- /** @param {?proto.ic_ledger.pb.v1.Subaccount|undefined} value */
1052
+ /**
1053
+ * @param {?proto.ic_ledger.pb.v1.Subaccount|undefined} value
1054
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
1055
+ */
361
1056
  proto.ic_ledger.pb.v1.SendRequest.prototype.setFromSubaccount = function(value) {
362
- jspb.Message.setWrapperField(this, 4, value);
1057
+ return jspb.Message.setWrapperField(this, 4, value);
363
1058
  };
364
1059
 
365
1060
 
1061
+ /**
1062
+ * Clears the message field making it undefined.
1063
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
1064
+ */
366
1065
  proto.ic_ledger.pb.v1.SendRequest.prototype.clearFromSubaccount = function() {
367
- this.setFromSubaccount(undefined);
1066
+ return this.setFromSubaccount(undefined);
368
1067
  };
369
1068
 
370
1069
 
371
1070
  /**
372
1071
  * Returns whether this field is set.
373
- * @return {!boolean}
1072
+ * @return {boolean}
374
1073
  */
375
1074
  proto.ic_ledger.pb.v1.SendRequest.prototype.hasFromSubaccount = function() {
376
1075
  return jspb.Message.getField(this, 4) != null;
@@ -387,20 +1086,27 @@ proto.ic_ledger.pb.v1.SendRequest.prototype.getTo = function() {
387
1086
  };
388
1087
 
389
1088
 
390
- /** @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value */
1089
+ /**
1090
+ * @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value
1091
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
1092
+ */
391
1093
  proto.ic_ledger.pb.v1.SendRequest.prototype.setTo = function(value) {
392
- jspb.Message.setWrapperField(this, 5, value);
1094
+ return jspb.Message.setWrapperField(this, 5, value);
393
1095
  };
394
1096
 
395
1097
 
1098
+ /**
1099
+ * Clears the message field making it undefined.
1100
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
1101
+ */
396
1102
  proto.ic_ledger.pb.v1.SendRequest.prototype.clearTo = function() {
397
- this.setTo(undefined);
1103
+ return this.setTo(undefined);
398
1104
  };
399
1105
 
400
1106
 
401
1107
  /**
402
1108
  * Returns whether this field is set.
403
- * @return {!boolean}
1109
+ * @return {boolean}
404
1110
  */
405
1111
  proto.ic_ledger.pb.v1.SendRequest.prototype.hasTo = function() {
406
1112
  return jspb.Message.getField(this, 5) != null;
@@ -417,20 +1123,27 @@ proto.ic_ledger.pb.v1.SendRequest.prototype.getCreatedAt = function() {
417
1123
  };
418
1124
 
419
1125
 
420
- /** @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value */
1126
+ /**
1127
+ * @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value
1128
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
1129
+ */
421
1130
  proto.ic_ledger.pb.v1.SendRequest.prototype.setCreatedAt = function(value) {
422
- jspb.Message.setWrapperField(this, 6, value);
1131
+ return jspb.Message.setWrapperField(this, 6, value);
423
1132
  };
424
1133
 
425
1134
 
1135
+ /**
1136
+ * Clears the message field making it undefined.
1137
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
1138
+ */
426
1139
  proto.ic_ledger.pb.v1.SendRequest.prototype.clearCreatedAt = function() {
427
- this.setCreatedAt(undefined);
1140
+ return this.setCreatedAt(undefined);
428
1141
  };
429
1142
 
430
1143
 
431
1144
  /**
432
1145
  * Returns whether this field is set.
433
- * @return {!boolean}
1146
+ * @return {boolean}
434
1147
  */
435
1148
  proto.ic_ledger.pb.v1.SendRequest.prototype.hasCreatedAt = function() {
436
1149
  return jspb.Message.getField(this, 6) != null;
@@ -447,20 +1160,27 @@ proto.ic_ledger.pb.v1.SendRequest.prototype.getCreatedAtTime = function() {
447
1160
  };
448
1161
 
449
1162
 
450
- /** @param {?proto.ic_ledger.pb.v1.TimeStamp|undefined} value */
1163
+ /**
1164
+ * @param {?proto.ic_ledger.pb.v1.TimeStamp|undefined} value
1165
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
1166
+ */
451
1167
  proto.ic_ledger.pb.v1.SendRequest.prototype.setCreatedAtTime = function(value) {
452
- jspb.Message.setWrapperField(this, 7, value);
1168
+ return jspb.Message.setWrapperField(this, 7, value);
453
1169
  };
454
1170
 
455
1171
 
1172
+ /**
1173
+ * Clears the message field making it undefined.
1174
+ * @return {!proto.ic_ledger.pb.v1.SendRequest} returns this
1175
+ */
456
1176
  proto.ic_ledger.pb.v1.SendRequest.prototype.clearCreatedAtTime = function() {
457
- this.setCreatedAtTime(undefined);
1177
+ return this.setCreatedAtTime(undefined);
458
1178
  };
459
1179
 
460
1180
 
461
1181
  /**
462
1182
  * Returns whether this field is set.
463
- * @return {!boolean}
1183
+ * @return {boolean}
464
1184
  */
465
1185
  proto.ic_ledger.pb.v1.SendRequest.prototype.hasCreatedAtTime = function() {
466
1186
  return jspb.Message.getField(this, 7) != null;
@@ -468,34 +1188,19 @@ proto.ic_ledger.pb.v1.SendRequest.prototype.hasCreatedAtTime = function() {
468
1188
 
469
1189
 
470
1190
 
471
- /**
472
- * Generated by JsPbCodeGenerator.
473
- * @param {Array=} opt_data Optional initial data array, typically from a
474
- * server response, or constructed directly in Javascript. The array is used
475
- * in place and becomes part of the constructed object. It is not cloned.
476
- * If no data is provided, the constructed object will be empty, but still
477
- * valid.
478
- * @extends {jspb.Message}
479
- * @constructor
480
- */
481
- proto.ic_ledger.pb.v1.SendResponse = function(opt_data) {
482
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
483
- };
484
- goog.inherits(proto.ic_ledger.pb.v1.SendResponse, jspb.Message);
485
- if (goog.DEBUG && !COMPILED) {
486
- proto.ic_ledger.pb.v1.SendResponse.displayName = 'proto.ic_ledger.pb.v1.SendResponse';
487
- }
488
1191
 
489
1192
 
490
1193
  if (jspb.Message.GENERATE_TO_OBJECT) {
491
1194
  /**
492
- * Creates an object representation of this proto suitable for use in Soy templates.
1195
+ * Creates an object representation of this proto.
493
1196
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1197
+ * Optional fields that are not set will be set to undefined.
494
1198
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
495
1199
  * For the list of reserved names please see:
496
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
497
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
498
- * for transitional soy proto support: http://goto/soy-param-migration
1200
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1201
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1202
+ * JSPB instance for transitional soy proto support:
1203
+ * http://goto/soy-param-migration
499
1204
  * @return {!Object}
500
1205
  */
501
1206
  proto.ic_ledger.pb.v1.SendResponse.prototype.toObject = function(opt_includeInstance) {
@@ -505,8 +1210,8 @@ proto.ic_ledger.pb.v1.SendResponse.prototype.toObject = function(opt_includeInst
505
1210
 
506
1211
  /**
507
1212
  * Static version of the {@see toObject} method.
508
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
509
- * instance for transitional soy proto support:
1213
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1214
+ * the JSPB instance for transitional soy proto support:
510
1215
  * http://goto/soy-param-migration
511
1216
  * @param {!proto.ic_ledger.pb.v1.SendResponse} msg The msg instance to transform.
512
1217
  * @return {!Object}
@@ -606,20 +1311,27 @@ proto.ic_ledger.pb.v1.SendResponse.prototype.getResultingHeight = function() {
606
1311
  };
607
1312
 
608
1313
 
609
- /** @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value */
1314
+ /**
1315
+ * @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value
1316
+ * @return {!proto.ic_ledger.pb.v1.SendResponse} returns this
1317
+ */
610
1318
  proto.ic_ledger.pb.v1.SendResponse.prototype.setResultingHeight = function(value) {
611
- jspb.Message.setWrapperField(this, 1, value);
1319
+ return jspb.Message.setWrapperField(this, 1, value);
612
1320
  };
613
1321
 
614
1322
 
1323
+ /**
1324
+ * Clears the message field making it undefined.
1325
+ * @return {!proto.ic_ledger.pb.v1.SendResponse} returns this
1326
+ */
615
1327
  proto.ic_ledger.pb.v1.SendResponse.prototype.clearResultingHeight = function() {
616
- this.setResultingHeight(undefined);
1328
+ return this.setResultingHeight(undefined);
617
1329
  };
618
1330
 
619
1331
 
620
1332
  /**
621
1333
  * Returns whether this field is set.
622
- * @return {!boolean}
1334
+ * @return {boolean}
623
1335
  */
624
1336
  proto.ic_ledger.pb.v1.SendResponse.prototype.hasResultingHeight = function() {
625
1337
  return jspb.Message.getField(this, 1) != null;
@@ -627,34 +1339,19 @@ proto.ic_ledger.pb.v1.SendResponse.prototype.hasResultingHeight = function() {
627
1339
 
628
1340
 
629
1341
 
630
- /**
631
- * Generated by JsPbCodeGenerator.
632
- * @param {Array=} opt_data Optional initial data array, typically from a
633
- * server response, or constructed directly in Javascript. The array is used
634
- * in place and becomes part of the constructed object. It is not cloned.
635
- * If no data is provided, the constructed object will be empty, but still
636
- * valid.
637
- * @extends {jspb.Message}
638
- * @constructor
639
- */
640
- proto.ic_ledger.pb.v1.NotifyRequest = function(opt_data) {
641
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
642
- };
643
- goog.inherits(proto.ic_ledger.pb.v1.NotifyRequest, jspb.Message);
644
- if (goog.DEBUG && !COMPILED) {
645
- proto.ic_ledger.pb.v1.NotifyRequest.displayName = 'proto.ic_ledger.pb.v1.NotifyRequest';
646
- }
647
1342
 
648
1343
 
649
1344
  if (jspb.Message.GENERATE_TO_OBJECT) {
650
1345
  /**
651
- * Creates an object representation of this proto suitable for use in Soy templates.
1346
+ * Creates an object representation of this proto.
652
1347
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1348
+ * Optional fields that are not set will be set to undefined.
653
1349
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
654
1350
  * For the list of reserved names please see:
655
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
656
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
657
- * for transitional soy proto support: http://goto/soy-param-migration
1351
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1352
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1353
+ * JSPB instance for transitional soy proto support:
1354
+ * http://goto/soy-param-migration
658
1355
  * @return {!Object}
659
1356
  */
660
1357
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.toObject = function(opt_includeInstance) {
@@ -664,8 +1361,8 @@ proto.ic_ledger.pb.v1.NotifyRequest.prototype.toObject = function(opt_includeIns
664
1361
 
665
1362
  /**
666
1363
  * Static version of the {@see toObject} method.
667
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
668
- * instance for transitional soy proto support:
1364
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1365
+ * the JSPB instance for transitional soy proto support:
669
1366
  * http://goto/soy-param-migration
670
1367
  * @param {!proto.ic_ledger.pb.v1.NotifyRequest} msg The msg instance to transform.
671
1368
  * @return {!Object}
@@ -821,20 +1518,27 @@ proto.ic_ledger.pb.v1.NotifyRequest.prototype.getBlockHeight = function() {
821
1518
  };
822
1519
 
823
1520
 
824
- /** @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value */
1521
+ /**
1522
+ * @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value
1523
+ * @return {!proto.ic_ledger.pb.v1.NotifyRequest} returns this
1524
+ */
825
1525
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.setBlockHeight = function(value) {
826
- jspb.Message.setWrapperField(this, 1, value);
1526
+ return jspb.Message.setWrapperField(this, 1, value);
827
1527
  };
828
1528
 
829
1529
 
1530
+ /**
1531
+ * Clears the message field making it undefined.
1532
+ * @return {!proto.ic_ledger.pb.v1.NotifyRequest} returns this
1533
+ */
830
1534
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearBlockHeight = function() {
831
- this.setBlockHeight(undefined);
1535
+ return this.setBlockHeight(undefined);
832
1536
  };
833
1537
 
834
1538
 
835
1539
  /**
836
1540
  * Returns whether this field is set.
837
- * @return {!boolean}
1541
+ * @return {boolean}
838
1542
  */
839
1543
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasBlockHeight = function() {
840
1544
  return jspb.Message.getField(this, 1) != null;
@@ -851,20 +1555,27 @@ proto.ic_ledger.pb.v1.NotifyRequest.prototype.getMaxFee = function() {
851
1555
  };
852
1556
 
853
1557
 
854
- /** @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value */
1558
+ /**
1559
+ * @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value
1560
+ * @return {!proto.ic_ledger.pb.v1.NotifyRequest} returns this
1561
+ */
855
1562
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.setMaxFee = function(value) {
856
- jspb.Message.setWrapperField(this, 2, value);
1563
+ return jspb.Message.setWrapperField(this, 2, value);
857
1564
  };
858
1565
 
859
1566
 
1567
+ /**
1568
+ * Clears the message field making it undefined.
1569
+ * @return {!proto.ic_ledger.pb.v1.NotifyRequest} returns this
1570
+ */
860
1571
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearMaxFee = function() {
861
- this.setMaxFee(undefined);
1572
+ return this.setMaxFee(undefined);
862
1573
  };
863
1574
 
864
1575
 
865
1576
  /**
866
1577
  * Returns whether this field is set.
867
- * @return {!boolean}
1578
+ * @return {boolean}
868
1579
  */
869
1580
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasMaxFee = function() {
870
1581
  return jspb.Message.getField(this, 2) != null;
@@ -881,20 +1592,27 @@ proto.ic_ledger.pb.v1.NotifyRequest.prototype.getFromSubaccount = function() {
881
1592
  };
882
1593
 
883
1594
 
884
- /** @param {?proto.ic_ledger.pb.v1.Subaccount|undefined} value */
1595
+ /**
1596
+ * @param {?proto.ic_ledger.pb.v1.Subaccount|undefined} value
1597
+ * @return {!proto.ic_ledger.pb.v1.NotifyRequest} returns this
1598
+ */
885
1599
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.setFromSubaccount = function(value) {
886
- jspb.Message.setWrapperField(this, 3, value);
1600
+ return jspb.Message.setWrapperField(this, 3, value);
887
1601
  };
888
1602
 
889
1603
 
1604
+ /**
1605
+ * Clears the message field making it undefined.
1606
+ * @return {!proto.ic_ledger.pb.v1.NotifyRequest} returns this
1607
+ */
890
1608
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearFromSubaccount = function() {
891
- this.setFromSubaccount(undefined);
1609
+ return this.setFromSubaccount(undefined);
892
1610
  };
893
1611
 
894
1612
 
895
1613
  /**
896
1614
  * Returns whether this field is set.
897
- * @return {!boolean}
1615
+ * @return {boolean}
898
1616
  */
899
1617
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasFromSubaccount = function() {
900
1618
  return jspb.Message.getField(this, 3) != null;
@@ -911,20 +1629,27 @@ proto.ic_ledger.pb.v1.NotifyRequest.prototype.getToCanister = function() {
911
1629
  };
912
1630
 
913
1631
 
914
- /** @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value */
1632
+ /**
1633
+ * @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value
1634
+ * @return {!proto.ic_ledger.pb.v1.NotifyRequest} returns this
1635
+ */
915
1636
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.setToCanister = function(value) {
916
- jspb.Message.setWrapperField(this, 4, value);
1637
+ return jspb.Message.setWrapperField(this, 4, value);
917
1638
  };
918
1639
 
919
1640
 
1641
+ /**
1642
+ * Clears the message field making it undefined.
1643
+ * @return {!proto.ic_ledger.pb.v1.NotifyRequest} returns this
1644
+ */
920
1645
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearToCanister = function() {
921
- this.setToCanister(undefined);
1646
+ return this.setToCanister(undefined);
922
1647
  };
923
1648
 
924
1649
 
925
1650
  /**
926
1651
  * Returns whether this field is set.
927
- * @return {!boolean}
1652
+ * @return {boolean}
928
1653
  */
929
1654
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasToCanister = function() {
930
1655
  return jspb.Message.getField(this, 4) != null;
@@ -941,20 +1666,27 @@ proto.ic_ledger.pb.v1.NotifyRequest.prototype.getToSubaccount = function() {
941
1666
  };
942
1667
 
943
1668
 
944
- /** @param {?proto.ic_ledger.pb.v1.Subaccount|undefined} value */
1669
+ /**
1670
+ * @param {?proto.ic_ledger.pb.v1.Subaccount|undefined} value
1671
+ * @return {!proto.ic_ledger.pb.v1.NotifyRequest} returns this
1672
+ */
945
1673
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.setToSubaccount = function(value) {
946
- jspb.Message.setWrapperField(this, 5, value);
1674
+ return jspb.Message.setWrapperField(this, 5, value);
947
1675
  };
948
1676
 
949
1677
 
1678
+ /**
1679
+ * Clears the message field making it undefined.
1680
+ * @return {!proto.ic_ledger.pb.v1.NotifyRequest} returns this
1681
+ */
950
1682
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.clearToSubaccount = function() {
951
- this.setToSubaccount(undefined);
1683
+ return this.setToSubaccount(undefined);
952
1684
  };
953
1685
 
954
1686
 
955
1687
  /**
956
1688
  * Returns whether this field is set.
957
- * @return {!boolean}
1689
+ * @return {boolean}
958
1690
  */
959
1691
  proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasToSubaccount = function() {
960
1692
  return jspb.Message.getField(this, 5) != null;
@@ -962,34 +1694,19 @@ proto.ic_ledger.pb.v1.NotifyRequest.prototype.hasToSubaccount = function() {
962
1694
 
963
1695
 
964
1696
 
965
- /**
966
- * Generated by JsPbCodeGenerator.
967
- * @param {Array=} opt_data Optional initial data array, typically from a
968
- * server response, or constructed directly in Javascript. The array is used
969
- * in place and becomes part of the constructed object. It is not cloned.
970
- * If no data is provided, the constructed object will be empty, but still
971
- * valid.
972
- * @extends {jspb.Message}
973
- * @constructor
974
- */
975
- proto.ic_ledger.pb.v1.NotifyResponse = function(opt_data) {
976
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
977
- };
978
- goog.inherits(proto.ic_ledger.pb.v1.NotifyResponse, jspb.Message);
979
- if (goog.DEBUG && !COMPILED) {
980
- proto.ic_ledger.pb.v1.NotifyResponse.displayName = 'proto.ic_ledger.pb.v1.NotifyResponse';
981
- }
982
1697
 
983
1698
 
984
1699
  if (jspb.Message.GENERATE_TO_OBJECT) {
985
1700
  /**
986
- * Creates an object representation of this proto suitable for use in Soy templates.
1701
+ * Creates an object representation of this proto.
987
1702
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1703
+ * Optional fields that are not set will be set to undefined.
988
1704
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
989
1705
  * For the list of reserved names please see:
990
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
991
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
992
- * for transitional soy proto support: http://goto/soy-param-migration
1706
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1707
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1708
+ * JSPB instance for transitional soy proto support:
1709
+ * http://goto/soy-param-migration
993
1710
  * @return {!Object}
994
1711
  */
995
1712
  proto.ic_ledger.pb.v1.NotifyResponse.prototype.toObject = function(opt_includeInstance) {
@@ -999,8 +1716,8 @@ proto.ic_ledger.pb.v1.NotifyResponse.prototype.toObject = function(opt_includeIn
999
1716
 
1000
1717
  /**
1001
1718
  * Static version of the {@see toObject} method.
1002
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1003
- * instance for transitional soy proto support:
1719
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1720
+ * the JSPB instance for transitional soy proto support:
1004
1721
  * http://goto/soy-param-migration
1005
1722
  * @param {!proto.ic_ledger.pb.v1.NotifyResponse} msg The msg instance to transform.
1006
1723
  * @return {!Object}
@@ -1078,34 +1795,19 @@ proto.ic_ledger.pb.v1.NotifyResponse.serializeBinaryToWriter = function(message,
1078
1795
 
1079
1796
 
1080
1797
 
1081
- /**
1082
- * Generated by JsPbCodeGenerator.
1083
- * @param {Array=} opt_data Optional initial data array, typically from a
1084
- * server response, or constructed directly in Javascript. The array is used
1085
- * in place and becomes part of the constructed object. It is not cloned.
1086
- * If no data is provided, the constructed object will be empty, but still
1087
- * valid.
1088
- * @extends {jspb.Message}
1089
- * @constructor
1090
- */
1091
- proto.ic_ledger.pb.v1.TransactionNotificationRequest = function(opt_data) {
1092
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1093
- };
1094
- goog.inherits(proto.ic_ledger.pb.v1.TransactionNotificationRequest, jspb.Message);
1095
- if (goog.DEBUG && !COMPILED) {
1096
- proto.ic_ledger.pb.v1.TransactionNotificationRequest.displayName = 'proto.ic_ledger.pb.v1.TransactionNotificationRequest';
1097
- }
1098
1798
 
1099
1799
 
1100
1800
  if (jspb.Message.GENERATE_TO_OBJECT) {
1101
1801
  /**
1102
- * Creates an object representation of this proto suitable for use in Soy templates.
1802
+ * Creates an object representation of this proto.
1103
1803
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1804
+ * Optional fields that are not set will be set to undefined.
1104
1805
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1105
1806
  * For the list of reserved names please see:
1106
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1107
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1108
- * for transitional soy proto support: http://goto/soy-param-migration
1807
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1808
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1809
+ * JSPB instance for transitional soy proto support:
1810
+ * http://goto/soy-param-migration
1109
1811
  * @return {!Object}
1110
1812
  */
1111
1813
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1115,8 +1817,8 @@ proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.toObject = functi
1115
1817
 
1116
1818
  /**
1117
1819
  * Static version of the {@see toObject} method.
1118
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1119
- * instance for transitional soy proto support:
1820
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1821
+ * the JSPB instance for transitional soy proto support:
1120
1822
  * http://goto/soy-param-migration
1121
1823
  * @param {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} msg The msg instance to transform.
1122
1824
  * @return {!Object}
@@ -1300,20 +2002,27 @@ proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getFrom = functio
1300
2002
  };
1301
2003
 
1302
2004
 
1303
- /** @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value */
2005
+ /**
2006
+ * @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value
2007
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2008
+ */
1304
2009
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setFrom = function(value) {
1305
- jspb.Message.setWrapperField(this, 1, value);
2010
+ return jspb.Message.setWrapperField(this, 1, value);
1306
2011
  };
1307
2012
 
1308
2013
 
2014
+ /**
2015
+ * Clears the message field making it undefined.
2016
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2017
+ */
1309
2018
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearFrom = function() {
1310
- this.setFrom(undefined);
2019
+ return this.setFrom(undefined);
1311
2020
  };
1312
2021
 
1313
2022
 
1314
2023
  /**
1315
2024
  * Returns whether this field is set.
1316
- * @return {!boolean}
2025
+ * @return {boolean}
1317
2026
  */
1318
2027
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasFrom = function() {
1319
2028
  return jspb.Message.getField(this, 1) != null;
@@ -1330,20 +2039,27 @@ proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getFromSubaccount
1330
2039
  };
1331
2040
 
1332
2041
 
1333
- /** @param {?proto.ic_ledger.pb.v1.Subaccount|undefined} value */
2042
+ /**
2043
+ * @param {?proto.ic_ledger.pb.v1.Subaccount|undefined} value
2044
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2045
+ */
1334
2046
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setFromSubaccount = function(value) {
1335
- jspb.Message.setWrapperField(this, 2, value);
2047
+ return jspb.Message.setWrapperField(this, 2, value);
1336
2048
  };
1337
2049
 
1338
2050
 
2051
+ /**
2052
+ * Clears the message field making it undefined.
2053
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2054
+ */
1339
2055
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearFromSubaccount = function() {
1340
- this.setFromSubaccount(undefined);
2056
+ return this.setFromSubaccount(undefined);
1341
2057
  };
1342
2058
 
1343
2059
 
1344
2060
  /**
1345
2061
  * Returns whether this field is set.
1346
- * @return {!boolean}
2062
+ * @return {boolean}
1347
2063
  */
1348
2064
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasFromSubaccount = function() {
1349
2065
  return jspb.Message.getField(this, 2) != null;
@@ -1360,20 +2076,27 @@ proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getTo = function(
1360
2076
  };
1361
2077
 
1362
2078
 
1363
- /** @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value */
2079
+ /**
2080
+ * @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value
2081
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2082
+ */
1364
2083
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setTo = function(value) {
1365
- jspb.Message.setWrapperField(this, 3, value);
2084
+ return jspb.Message.setWrapperField(this, 3, value);
1366
2085
  };
1367
2086
 
1368
2087
 
2088
+ /**
2089
+ * Clears the message field making it undefined.
2090
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2091
+ */
1369
2092
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearTo = function() {
1370
- this.setTo(undefined);
2093
+ return this.setTo(undefined);
1371
2094
  };
1372
2095
 
1373
2096
 
1374
2097
  /**
1375
2098
  * Returns whether this field is set.
1376
- * @return {!boolean}
2099
+ * @return {boolean}
1377
2100
  */
1378
2101
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasTo = function() {
1379
2102
  return jspb.Message.getField(this, 3) != null;
@@ -1390,20 +2113,27 @@ proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getToSubaccount =
1390
2113
  };
1391
2114
 
1392
2115
 
1393
- /** @param {?proto.ic_ledger.pb.v1.Subaccount|undefined} value */
2116
+ /**
2117
+ * @param {?proto.ic_ledger.pb.v1.Subaccount|undefined} value
2118
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2119
+ */
1394
2120
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setToSubaccount = function(value) {
1395
- jspb.Message.setWrapperField(this, 4, value);
2121
+ return jspb.Message.setWrapperField(this, 4, value);
1396
2122
  };
1397
2123
 
1398
2124
 
2125
+ /**
2126
+ * Clears the message field making it undefined.
2127
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2128
+ */
1399
2129
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearToSubaccount = function() {
1400
- this.setToSubaccount(undefined);
2130
+ return this.setToSubaccount(undefined);
1401
2131
  };
1402
2132
 
1403
2133
 
1404
2134
  /**
1405
2135
  * Returns whether this field is set.
1406
- * @return {!boolean}
2136
+ * @return {boolean}
1407
2137
  */
1408
2138
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasToSubaccount = function() {
1409
2139
  return jspb.Message.getField(this, 4) != null;
@@ -1420,20 +2150,27 @@ proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getBlockHeight =
1420
2150
  };
1421
2151
 
1422
2152
 
1423
- /** @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value */
2153
+ /**
2154
+ * @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value
2155
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2156
+ */
1424
2157
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setBlockHeight = function(value) {
1425
- jspb.Message.setWrapperField(this, 5, value);
2158
+ return jspb.Message.setWrapperField(this, 5, value);
1426
2159
  };
1427
2160
 
1428
2161
 
2162
+ /**
2163
+ * Clears the message field making it undefined.
2164
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2165
+ */
1429
2166
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearBlockHeight = function() {
1430
- this.setBlockHeight(undefined);
2167
+ return this.setBlockHeight(undefined);
1431
2168
  };
1432
2169
 
1433
2170
 
1434
2171
  /**
1435
2172
  * Returns whether this field is set.
1436
- * @return {!boolean}
2173
+ * @return {boolean}
1437
2174
  */
1438
2175
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasBlockHeight = function() {
1439
2176
  return jspb.Message.getField(this, 5) != null;
@@ -1450,20 +2187,27 @@ proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getAmount = funct
1450
2187
  };
1451
2188
 
1452
2189
 
1453
- /** @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value */
2190
+ /**
2191
+ * @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value
2192
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2193
+ */
1454
2194
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setAmount = function(value) {
1455
- jspb.Message.setWrapperField(this, 6, value);
2195
+ return jspb.Message.setWrapperField(this, 6, value);
1456
2196
  };
1457
2197
 
1458
2198
 
2199
+ /**
2200
+ * Clears the message field making it undefined.
2201
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2202
+ */
1459
2203
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearAmount = function() {
1460
- this.setAmount(undefined);
2204
+ return this.setAmount(undefined);
1461
2205
  };
1462
2206
 
1463
2207
 
1464
2208
  /**
1465
2209
  * Returns whether this field is set.
1466
- * @return {!boolean}
2210
+ * @return {boolean}
1467
2211
  */
1468
2212
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasAmount = function() {
1469
2213
  return jspb.Message.getField(this, 6) != null;
@@ -1480,20 +2224,27 @@ proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.getMemo = functio
1480
2224
  };
1481
2225
 
1482
2226
 
1483
- /** @param {?proto.ic_ledger.pb.v1.Memo|undefined} value */
2227
+ /**
2228
+ * @param {?proto.ic_ledger.pb.v1.Memo|undefined} value
2229
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2230
+ */
1484
2231
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.setMemo = function(value) {
1485
- jspb.Message.setWrapperField(this, 7, value);
2232
+ return jspb.Message.setWrapperField(this, 7, value);
1486
2233
  };
1487
2234
 
1488
2235
 
2236
+ /**
2237
+ * Clears the message field making it undefined.
2238
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationRequest} returns this
2239
+ */
1489
2240
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.clearMemo = function() {
1490
- this.setMemo(undefined);
2241
+ return this.setMemo(undefined);
1491
2242
  };
1492
2243
 
1493
2244
 
1494
2245
  /**
1495
2246
  * Returns whether this field is set.
1496
- * @return {!boolean}
2247
+ * @return {boolean}
1497
2248
  */
1498
2249
  proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasMemo = function() {
1499
2250
  return jspb.Message.getField(this, 7) != null;
@@ -1501,34 +2252,19 @@ proto.ic_ledger.pb.v1.TransactionNotificationRequest.prototype.hasMemo = functio
1501
2252
 
1502
2253
 
1503
2254
 
1504
- /**
1505
- * Generated by JsPbCodeGenerator.
1506
- * @param {Array=} opt_data Optional initial data array, typically from a
1507
- * server response, or constructed directly in Javascript. The array is used
1508
- * in place and becomes part of the constructed object. It is not cloned.
1509
- * If no data is provided, the constructed object will be empty, but still
1510
- * valid.
1511
- * @extends {jspb.Message}
1512
- * @constructor
1513
- */
1514
- proto.ic_ledger.pb.v1.TransactionNotificationResponse = function(opt_data) {
1515
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1516
- };
1517
- goog.inherits(proto.ic_ledger.pb.v1.TransactionNotificationResponse, jspb.Message);
1518
- if (goog.DEBUG && !COMPILED) {
1519
- proto.ic_ledger.pb.v1.TransactionNotificationResponse.displayName = 'proto.ic_ledger.pb.v1.TransactionNotificationResponse';
1520
- }
1521
2255
 
1522
2256
 
1523
2257
  if (jspb.Message.GENERATE_TO_OBJECT) {
1524
2258
  /**
1525
- * Creates an object representation of this proto suitable for use in Soy templates.
2259
+ * Creates an object representation of this proto.
1526
2260
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2261
+ * Optional fields that are not set will be set to undefined.
1527
2262
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1528
2263
  * For the list of reserved names please see:
1529
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1530
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1531
- * for transitional soy proto support: http://goto/soy-param-migration
2264
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2265
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2266
+ * JSPB instance for transitional soy proto support:
2267
+ * http://goto/soy-param-migration
1532
2268
  * @return {!Object}
1533
2269
  */
1534
2270
  proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.toObject = function(opt_includeInstance) {
@@ -1538,8 +2274,8 @@ proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.toObject = funct
1538
2274
 
1539
2275
  /**
1540
2276
  * Static version of the {@see toObject} method.
1541
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1542
- * instance for transitional soy proto support:
2277
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2278
+ * the JSPB instance for transitional soy proto support:
1543
2279
  * http://goto/soy-param-migration
1544
2280
  * @param {!proto.ic_ledger.pb.v1.TransactionNotificationResponse} msg The msg instance to transform.
1545
2281
  * @return {!Object}
@@ -1660,30 +2396,16 @@ proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.getResponse_asU8
1660
2396
  };
1661
2397
 
1662
2398
 
1663
- /** @param {!(string|Uint8Array)} value */
2399
+ /**
2400
+ * @param {!(string|Uint8Array)} value
2401
+ * @return {!proto.ic_ledger.pb.v1.TransactionNotificationResponse} returns this
2402
+ */
1664
2403
  proto.ic_ledger.pb.v1.TransactionNotificationResponse.prototype.setResponse = function(value) {
1665
- jspb.Message.setProto3BytesField(this, 1, value);
2404
+ return jspb.Message.setProto3BytesField(this, 1, value);
1666
2405
  };
1667
2406
 
1668
2407
 
1669
2408
 
1670
- /**
1671
- * Generated by JsPbCodeGenerator.
1672
- * @param {Array=} opt_data Optional initial data array, typically from a
1673
- * server response, or constructed directly in Javascript. The array is used
1674
- * in place and becomes part of the constructed object. It is not cloned.
1675
- * If no data is provided, the constructed object will be empty, but still
1676
- * valid.
1677
- * @extends {jspb.Message}
1678
- * @constructor
1679
- */
1680
- proto.ic_ledger.pb.v1.CyclesNotificationResponse = function(opt_data) {
1681
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_);
1682
- };
1683
- goog.inherits(proto.ic_ledger.pb.v1.CyclesNotificationResponse, jspb.Message);
1684
- if (goog.DEBUG && !COMPILED) {
1685
- proto.ic_ledger.pb.v1.CyclesNotificationResponse.displayName = 'proto.ic_ledger.pb.v1.CyclesNotificationResponse';
1686
- }
1687
2409
  /**
1688
2410
  * Oneof group definitions for this message. Each group defines the field
1689
2411
  * numbers belonging to that group. When of these fields' value is set, all
@@ -1715,13 +2437,15 @@ proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getResponseCase = fun
1715
2437
 
1716
2438
  if (jspb.Message.GENERATE_TO_OBJECT) {
1717
2439
  /**
1718
- * Creates an object representation of this proto suitable for use in Soy templates.
2440
+ * Creates an object representation of this proto.
1719
2441
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2442
+ * Optional fields that are not set will be set to undefined.
1720
2443
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1721
2444
  * For the list of reserved names please see:
1722
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1723
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1724
- * for transitional soy proto support: http://goto/soy-param-migration
2445
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2446
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2447
+ * JSPB instance for transitional soy proto support:
2448
+ * http://goto/soy-param-migration
1725
2449
  * @return {!Object}
1726
2450
  */
1727
2451
  proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.toObject = function(opt_includeInstance) {
@@ -1731,8 +2455,8 @@ proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.toObject = function(o
1731
2455
 
1732
2456
  /**
1733
2457
  * Static version of the {@see toObject} method.
1734
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1735
- * instance for transitional soy proto support:
2458
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2459
+ * the JSPB instance for transitional soy proto support:
1736
2460
  * http://goto/soy-param-migration
1737
2461
  * @param {!proto.ic_ledger.pb.v1.CyclesNotificationResponse} msg The msg instance to transform.
1738
2462
  * @return {!Object}
@@ -1860,20 +2584,27 @@ proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getCreatedCanisterId
1860
2584
  };
1861
2585
 
1862
2586
 
1863
- /** @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value */
2587
+ /**
2588
+ * @param {?proto.ic_base_types.pb.v1.PrincipalId|undefined} value
2589
+ * @return {!proto.ic_ledger.pb.v1.CyclesNotificationResponse} returns this
2590
+ */
1864
2591
  proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setCreatedCanisterId = function(value) {
1865
- jspb.Message.setOneofWrapperField(this, 1, proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0], value);
2592
+ return jspb.Message.setOneofWrapperField(this, 1, proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0], value);
1866
2593
  };
1867
2594
 
1868
2595
 
2596
+ /**
2597
+ * Clears the message field making it undefined.
2598
+ * @return {!proto.ic_ledger.pb.v1.CyclesNotificationResponse} returns this
2599
+ */
1869
2600
  proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.clearCreatedCanisterId = function() {
1870
- this.setCreatedCanisterId(undefined);
2601
+ return this.setCreatedCanisterId(undefined);
1871
2602
  };
1872
2603
 
1873
2604
 
1874
2605
  /**
1875
2606
  * Returns whether this field is set.
1876
- * @return {!boolean}
2607
+ * @return {boolean}
1877
2608
  */
1878
2609
  proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.hasCreatedCanisterId = function() {
1879
2610
  return jspb.Message.getField(this, 1) != null;
@@ -1890,20 +2621,27 @@ proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getRefund = function(
1890
2621
  };
1891
2622
 
1892
2623
 
1893
- /** @param {?proto.ic_ledger.pb.v1.Refund|undefined} value */
2624
+ /**
2625
+ * @param {?proto.ic_ledger.pb.v1.Refund|undefined} value
2626
+ * @return {!proto.ic_ledger.pb.v1.CyclesNotificationResponse} returns this
2627
+ */
1894
2628
  proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setRefund = function(value) {
1895
- jspb.Message.setOneofWrapperField(this, 2, proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0], value);
2629
+ return jspb.Message.setOneofWrapperField(this, 2, proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0], value);
1896
2630
  };
1897
2631
 
1898
2632
 
2633
+ /**
2634
+ * Clears the message field making it undefined.
2635
+ * @return {!proto.ic_ledger.pb.v1.CyclesNotificationResponse} returns this
2636
+ */
1899
2637
  proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.clearRefund = function() {
1900
- this.setRefund(undefined);
2638
+ return this.setRefund(undefined);
1901
2639
  };
1902
2640
 
1903
2641
 
1904
2642
  /**
1905
2643
  * Returns whether this field is set.
1906
- * @return {!boolean}
2644
+ * @return {boolean}
1907
2645
  */
1908
2646
  proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.hasRefund = function() {
1909
2647
  return jspb.Message.getField(this, 2) != null;
@@ -1920,20 +2658,27 @@ proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.getToppedUp = functio
1920
2658
  };
1921
2659
 
1922
2660
 
1923
- /** @param {?proto.ic_ledger.pb.v1.ToppedUp|undefined} value */
2661
+ /**
2662
+ * @param {?proto.ic_ledger.pb.v1.ToppedUp|undefined} value
2663
+ * @return {!proto.ic_ledger.pb.v1.CyclesNotificationResponse} returns this
2664
+ */
1924
2665
  proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.setToppedUp = function(value) {
1925
- jspb.Message.setOneofWrapperField(this, 3, proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0], value);
2666
+ return jspb.Message.setOneofWrapperField(this, 3, proto.ic_ledger.pb.v1.CyclesNotificationResponse.oneofGroups_[0], value);
1926
2667
  };
1927
2668
 
1928
2669
 
2670
+ /**
2671
+ * Clears the message field making it undefined.
2672
+ * @return {!proto.ic_ledger.pb.v1.CyclesNotificationResponse} returns this
2673
+ */
1929
2674
  proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.clearToppedUp = function() {
1930
- this.setToppedUp(undefined);
2675
+ return this.setToppedUp(undefined);
1931
2676
  };
1932
2677
 
1933
2678
 
1934
2679
  /**
1935
2680
  * Returns whether this field is set.
1936
- * @return {!boolean}
2681
+ * @return {boolean}
1937
2682
  */
1938
2683
  proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.hasToppedUp = function() {
1939
2684
  return jspb.Message.getField(this, 3) != null;
@@ -1941,34 +2686,19 @@ proto.ic_ledger.pb.v1.CyclesNotificationResponse.prototype.hasToppedUp = functio
1941
2686
 
1942
2687
 
1943
2688
 
1944
- /**
1945
- * Generated by JsPbCodeGenerator.
1946
- * @param {Array=} opt_data Optional initial data array, typically from a
1947
- * server response, or constructed directly in Javascript. The array is used
1948
- * in place and becomes part of the constructed object. It is not cloned.
1949
- * If no data is provided, the constructed object will be empty, but still
1950
- * valid.
1951
- * @extends {jspb.Message}
1952
- * @constructor
1953
- */
1954
- proto.ic_ledger.pb.v1.AccountBalanceRequest = function(opt_data) {
1955
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1956
- };
1957
- goog.inherits(proto.ic_ledger.pb.v1.AccountBalanceRequest, jspb.Message);
1958
- if (goog.DEBUG && !COMPILED) {
1959
- proto.ic_ledger.pb.v1.AccountBalanceRequest.displayName = 'proto.ic_ledger.pb.v1.AccountBalanceRequest';
1960
- }
1961
2689
 
1962
2690
 
1963
2691
  if (jspb.Message.GENERATE_TO_OBJECT) {
1964
2692
  /**
1965
- * Creates an object representation of this proto suitable for use in Soy templates.
2693
+ * Creates an object representation of this proto.
1966
2694
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2695
+ * Optional fields that are not set will be set to undefined.
1967
2696
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1968
2697
  * For the list of reserved names please see:
1969
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1970
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1971
- * for transitional soy proto support: http://goto/soy-param-migration
2698
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2699
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2700
+ * JSPB instance for transitional soy proto support:
2701
+ * http://goto/soy-param-migration
1972
2702
  * @return {!Object}
1973
2703
  */
1974
2704
  proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1978,8 +2708,8 @@ proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.toObject = function(opt_in
1978
2708
 
1979
2709
  /**
1980
2710
  * Static version of the {@see toObject} method.
1981
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1982
- * instance for transitional soy proto support:
2711
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2712
+ * the JSPB instance for transitional soy proto support:
1983
2713
  * http://goto/soy-param-migration
1984
2714
  * @param {!proto.ic_ledger.pb.v1.AccountBalanceRequest} msg The msg instance to transform.
1985
2715
  * @return {!Object}
@@ -2079,20 +2809,27 @@ proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.getAccount = function() {
2079
2809
  };
2080
2810
 
2081
2811
 
2082
- /** @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value */
2812
+ /**
2813
+ * @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value
2814
+ * @return {!proto.ic_ledger.pb.v1.AccountBalanceRequest} returns this
2815
+ */
2083
2816
  proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.setAccount = function(value) {
2084
- jspb.Message.setWrapperField(this, 1, value);
2817
+ return jspb.Message.setWrapperField(this, 1, value);
2085
2818
  };
2086
2819
 
2087
2820
 
2821
+ /**
2822
+ * Clears the message field making it undefined.
2823
+ * @return {!proto.ic_ledger.pb.v1.AccountBalanceRequest} returns this
2824
+ */
2088
2825
  proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.clearAccount = function() {
2089
- this.setAccount(undefined);
2826
+ return this.setAccount(undefined);
2090
2827
  };
2091
2828
 
2092
2829
 
2093
2830
  /**
2094
2831
  * Returns whether this field is set.
2095
- * @return {!boolean}
2832
+ * @return {boolean}
2096
2833
  */
2097
2834
  proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.hasAccount = function() {
2098
2835
  return jspb.Message.getField(this, 1) != null;
@@ -2100,34 +2837,19 @@ proto.ic_ledger.pb.v1.AccountBalanceRequest.prototype.hasAccount = function() {
2100
2837
 
2101
2838
 
2102
2839
 
2103
- /**
2104
- * Generated by JsPbCodeGenerator.
2105
- * @param {Array=} opt_data Optional initial data array, typically from a
2106
- * server response, or constructed directly in Javascript. The array is used
2107
- * in place and becomes part of the constructed object. It is not cloned.
2108
- * If no data is provided, the constructed object will be empty, but still
2109
- * valid.
2110
- * @extends {jspb.Message}
2111
- * @constructor
2112
- */
2113
- proto.ic_ledger.pb.v1.AccountBalanceResponse = function(opt_data) {
2114
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2115
- };
2116
- goog.inherits(proto.ic_ledger.pb.v1.AccountBalanceResponse, jspb.Message);
2117
- if (goog.DEBUG && !COMPILED) {
2118
- proto.ic_ledger.pb.v1.AccountBalanceResponse.displayName = 'proto.ic_ledger.pb.v1.AccountBalanceResponse';
2119
- }
2120
2840
 
2121
2841
 
2122
2842
  if (jspb.Message.GENERATE_TO_OBJECT) {
2123
2843
  /**
2124
- * Creates an object representation of this proto suitable for use in Soy templates.
2844
+ * Creates an object representation of this proto.
2125
2845
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2846
+ * Optional fields that are not set will be set to undefined.
2126
2847
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2127
2848
  * For the list of reserved names please see:
2128
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2129
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2130
- * for transitional soy proto support: http://goto/soy-param-migration
2849
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2850
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2851
+ * JSPB instance for transitional soy proto support:
2852
+ * http://goto/soy-param-migration
2131
2853
  * @return {!Object}
2132
2854
  */
2133
2855
  proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.toObject = function(opt_includeInstance) {
@@ -2137,8 +2859,8 @@ proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.toObject = function(opt_i
2137
2859
 
2138
2860
  /**
2139
2861
  * Static version of the {@see toObject} method.
2140
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2141
- * instance for transitional soy proto support:
2862
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2863
+ * the JSPB instance for transitional soy proto support:
2142
2864
  * http://goto/soy-param-migration
2143
2865
  * @param {!proto.ic_ledger.pb.v1.AccountBalanceResponse} msg The msg instance to transform.
2144
2866
  * @return {!Object}
@@ -2238,20 +2960,27 @@ proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.getBalance = function() {
2238
2960
  };
2239
2961
 
2240
2962
 
2241
- /** @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value */
2963
+ /**
2964
+ * @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value
2965
+ * @return {!proto.ic_ledger.pb.v1.AccountBalanceResponse} returns this
2966
+ */
2242
2967
  proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.setBalance = function(value) {
2243
- jspb.Message.setWrapperField(this, 1, value);
2968
+ return jspb.Message.setWrapperField(this, 1, value);
2244
2969
  };
2245
2970
 
2246
2971
 
2972
+ /**
2973
+ * Clears the message field making it undefined.
2974
+ * @return {!proto.ic_ledger.pb.v1.AccountBalanceResponse} returns this
2975
+ */
2247
2976
  proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.clearBalance = function() {
2248
- this.setBalance(undefined);
2977
+ return this.setBalance(undefined);
2249
2978
  };
2250
2979
 
2251
2980
 
2252
2981
  /**
2253
2982
  * Returns whether this field is set.
2254
- * @return {!boolean}
2983
+ * @return {boolean}
2255
2984
  */
2256
2985
  proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.hasBalance = function() {
2257
2986
  return jspb.Message.getField(this, 1) != null;
@@ -2259,34 +2988,19 @@ proto.ic_ledger.pb.v1.AccountBalanceResponse.prototype.hasBalance = function() {
2259
2988
 
2260
2989
 
2261
2990
 
2262
- /**
2263
- * Generated by JsPbCodeGenerator.
2264
- * @param {Array=} opt_data Optional initial data array, typically from a
2265
- * server response, or constructed directly in Javascript. The array is used
2266
- * in place and becomes part of the constructed object. It is not cloned.
2267
- * If no data is provided, the constructed object will be empty, but still
2268
- * valid.
2269
- * @extends {jspb.Message}
2270
- * @constructor
2271
- */
2272
- proto.ic_ledger.pb.v1.TipOfChainRequest = function(opt_data) {
2273
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2274
- };
2275
- goog.inherits(proto.ic_ledger.pb.v1.TipOfChainRequest, jspb.Message);
2276
- if (goog.DEBUG && !COMPILED) {
2277
- proto.ic_ledger.pb.v1.TipOfChainRequest.displayName = 'proto.ic_ledger.pb.v1.TipOfChainRequest';
2278
- }
2279
2991
 
2280
2992
 
2281
2993
  if (jspb.Message.GENERATE_TO_OBJECT) {
2282
2994
  /**
2283
- * Creates an object representation of this proto suitable for use in Soy templates.
2995
+ * Creates an object representation of this proto.
2284
2996
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2997
+ * Optional fields that are not set will be set to undefined.
2285
2998
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2286
2999
  * For the list of reserved names please see:
2287
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2288
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2289
- * for transitional soy proto support: http://goto/soy-param-migration
3000
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3001
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3002
+ * JSPB instance for transitional soy proto support:
3003
+ * http://goto/soy-param-migration
2290
3004
  * @return {!Object}
2291
3005
  */
2292
3006
  proto.ic_ledger.pb.v1.TipOfChainRequest.prototype.toObject = function(opt_includeInstance) {
@@ -2296,8 +3010,8 @@ proto.ic_ledger.pb.v1.TipOfChainRequest.prototype.toObject = function(opt_includ
2296
3010
 
2297
3011
  /**
2298
3012
  * Static version of the {@see toObject} method.
2299
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2300
- * instance for transitional soy proto support:
3013
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3014
+ * the JSPB instance for transitional soy proto support:
2301
3015
  * http://goto/soy-param-migration
2302
3016
  * @param {!proto.ic_ledger.pb.v1.TipOfChainRequest} msg The msg instance to transform.
2303
3017
  * @return {!Object}
@@ -2365,44 +3079,29 @@ proto.ic_ledger.pb.v1.TipOfChainRequest.prototype.serializeBinary = function() {
2365
3079
  /**
2366
3080
  * Serializes the given message to binary data (in protobuf wire
2367
3081
  * format), writing to the given BinaryWriter.
2368
- * @param {!proto.ic_ledger.pb.v1.TipOfChainRequest} message
2369
- * @param {!jspb.BinaryWriter} writer
2370
- * @suppress {unusedLocalVariables} f is only used for nested messages
2371
- */
2372
- proto.ic_ledger.pb.v1.TipOfChainRequest.serializeBinaryToWriter = function(message, writer) {
2373
- var f = undefined;
2374
- };
2375
-
2376
-
2377
-
2378
- /**
2379
- * Generated by JsPbCodeGenerator.
2380
- * @param {Array=} opt_data Optional initial data array, typically from a
2381
- * server response, or constructed directly in Javascript. The array is used
2382
- * in place and becomes part of the constructed object. It is not cloned.
2383
- * If no data is provided, the constructed object will be empty, but still
2384
- * valid.
2385
- * @extends {jspb.Message}
2386
- * @constructor
3082
+ * @param {!proto.ic_ledger.pb.v1.TipOfChainRequest} message
3083
+ * @param {!jspb.BinaryWriter} writer
3084
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2387
3085
  */
2388
- proto.ic_ledger.pb.v1.TipOfChainResponse = function(opt_data) {
2389
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3086
+ proto.ic_ledger.pb.v1.TipOfChainRequest.serializeBinaryToWriter = function(message, writer) {
3087
+ var f = undefined;
2390
3088
  };
2391
- goog.inherits(proto.ic_ledger.pb.v1.TipOfChainResponse, jspb.Message);
2392
- if (goog.DEBUG && !COMPILED) {
2393
- proto.ic_ledger.pb.v1.TipOfChainResponse.displayName = 'proto.ic_ledger.pb.v1.TipOfChainResponse';
2394
- }
3089
+
3090
+
3091
+
2395
3092
 
2396
3093
 
2397
3094
  if (jspb.Message.GENERATE_TO_OBJECT) {
2398
3095
  /**
2399
- * Creates an object representation of this proto suitable for use in Soy templates.
3096
+ * Creates an object representation of this proto.
2400
3097
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
3098
+ * Optional fields that are not set will be set to undefined.
2401
3099
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2402
3100
  * For the list of reserved names please see:
2403
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2404
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2405
- * for transitional soy proto support: http://goto/soy-param-migration
3101
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3102
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3103
+ * JSPB instance for transitional soy proto support:
3104
+ * http://goto/soy-param-migration
2406
3105
  * @return {!Object}
2407
3106
  */
2408
3107
  proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.toObject = function(opt_includeInstance) {
@@ -2412,8 +3111,8 @@ proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.toObject = function(opt_inclu
2412
3111
 
2413
3112
  /**
2414
3113
  * Static version of the {@see toObject} method.
2415
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2416
- * instance for transitional soy proto support:
3114
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3115
+ * the JSPB instance for transitional soy proto support:
2417
3116
  * http://goto/soy-param-migration
2418
3117
  * @param {!proto.ic_ledger.pb.v1.TipOfChainResponse} msg The msg instance to transform.
2419
3118
  * @return {!Object}
@@ -2527,20 +3226,27 @@ proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.getCertification = function()
2527
3226
  };
2528
3227
 
2529
3228
 
2530
- /** @param {?proto.ic_ledger.pb.v1.Certification|undefined} value */
3229
+ /**
3230
+ * @param {?proto.ic_ledger.pb.v1.Certification|undefined} value
3231
+ * @return {!proto.ic_ledger.pb.v1.TipOfChainResponse} returns this
3232
+ */
2531
3233
  proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.setCertification = function(value) {
2532
- jspb.Message.setWrapperField(this, 1, value);
3234
+ return jspb.Message.setWrapperField(this, 1, value);
2533
3235
  };
2534
3236
 
2535
3237
 
3238
+ /**
3239
+ * Clears the message field making it undefined.
3240
+ * @return {!proto.ic_ledger.pb.v1.TipOfChainResponse} returns this
3241
+ */
2536
3242
  proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.clearCertification = function() {
2537
- this.setCertification(undefined);
3243
+ return this.setCertification(undefined);
2538
3244
  };
2539
3245
 
2540
3246
 
2541
3247
  /**
2542
3248
  * Returns whether this field is set.
2543
- * @return {!boolean}
3249
+ * @return {boolean}
2544
3250
  */
2545
3251
  proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.hasCertification = function() {
2546
3252
  return jspb.Message.getField(this, 1) != null;
@@ -2557,20 +3263,27 @@ proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.getChainLength = function() {
2557
3263
  };
2558
3264
 
2559
3265
 
2560
- /** @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value */
3266
+ /**
3267
+ * @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value
3268
+ * @return {!proto.ic_ledger.pb.v1.TipOfChainResponse} returns this
3269
+ */
2561
3270
  proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.setChainLength = function(value) {
2562
- jspb.Message.setWrapperField(this, 2, value);
3271
+ return jspb.Message.setWrapperField(this, 2, value);
2563
3272
  };
2564
3273
 
2565
3274
 
3275
+ /**
3276
+ * Clears the message field making it undefined.
3277
+ * @return {!proto.ic_ledger.pb.v1.TipOfChainResponse} returns this
3278
+ */
2566
3279
  proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.clearChainLength = function() {
2567
- this.setChainLength(undefined);
3280
+ return this.setChainLength(undefined);
2568
3281
  };
2569
3282
 
2570
3283
 
2571
3284
  /**
2572
3285
  * Returns whether this field is set.
2573
- * @return {!boolean}
3286
+ * @return {boolean}
2574
3287
  */
2575
3288
  proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.hasChainLength = function() {
2576
3289
  return jspb.Message.getField(this, 2) != null;
@@ -2578,34 +3291,19 @@ proto.ic_ledger.pb.v1.TipOfChainResponse.prototype.hasChainLength = function() {
2578
3291
 
2579
3292
 
2580
3293
 
2581
- /**
2582
- * Generated by JsPbCodeGenerator.
2583
- * @param {Array=} opt_data Optional initial data array, typically from a
2584
- * server response, or constructed directly in Javascript. The array is used
2585
- * in place and becomes part of the constructed object. It is not cloned.
2586
- * If no data is provided, the constructed object will be empty, but still
2587
- * valid.
2588
- * @extends {jspb.Message}
2589
- * @constructor
2590
- */
2591
- proto.ic_ledger.pb.v1.EncodedBlock = function(opt_data) {
2592
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2593
- };
2594
- goog.inherits(proto.ic_ledger.pb.v1.EncodedBlock, jspb.Message);
2595
- if (goog.DEBUG && !COMPILED) {
2596
- proto.ic_ledger.pb.v1.EncodedBlock.displayName = 'proto.ic_ledger.pb.v1.EncodedBlock';
2597
- }
2598
3294
 
2599
3295
 
2600
3296
  if (jspb.Message.GENERATE_TO_OBJECT) {
2601
3297
  /**
2602
- * Creates an object representation of this proto suitable for use in Soy templates.
3298
+ * Creates an object representation of this proto.
2603
3299
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
3300
+ * Optional fields that are not set will be set to undefined.
2604
3301
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2605
3302
  * For the list of reserved names please see:
2606
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2607
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2608
- * for transitional soy proto support: http://goto/soy-param-migration
3303
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3304
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3305
+ * JSPB instance for transitional soy proto support:
3306
+ * http://goto/soy-param-migration
2609
3307
  * @return {!Object}
2610
3308
  */
2611
3309
  proto.ic_ledger.pb.v1.EncodedBlock.prototype.toObject = function(opt_includeInstance) {
@@ -2615,8 +3313,8 @@ proto.ic_ledger.pb.v1.EncodedBlock.prototype.toObject = function(opt_includeInst
2615
3313
 
2616
3314
  /**
2617
3315
  * Static version of the {@see toObject} method.
2618
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2619
- * instance for transitional soy proto support:
3316
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3317
+ * the JSPB instance for transitional soy proto support:
2620
3318
  * http://goto/soy-param-migration
2621
3319
  * @param {!proto.ic_ledger.pb.v1.EncodedBlock} msg The msg instance to transform.
2622
3320
  * @return {!Object}
@@ -2737,41 +3435,29 @@ proto.ic_ledger.pb.v1.EncodedBlock.prototype.getBlock_asU8 = function() {
2737
3435
  };
2738
3436
 
2739
3437
 
2740
- /** @param {!(string|Uint8Array)} value */
3438
+ /**
3439
+ * @param {!(string|Uint8Array)} value
3440
+ * @return {!proto.ic_ledger.pb.v1.EncodedBlock} returns this
3441
+ */
2741
3442
  proto.ic_ledger.pb.v1.EncodedBlock.prototype.setBlock = function(value) {
2742
- jspb.Message.setProto3BytesField(this, 1, value);
3443
+ return jspb.Message.setProto3BytesField(this, 1, value);
2743
3444
  };
2744
3445
 
2745
3446
 
2746
3447
 
2747
- /**
2748
- * Generated by JsPbCodeGenerator.
2749
- * @param {Array=} opt_data Optional initial data array, typically from a
2750
- * server response, or constructed directly in Javascript. The array is used
2751
- * in place and becomes part of the constructed object. It is not cloned.
2752
- * If no data is provided, the constructed object will be empty, but still
2753
- * valid.
2754
- * @extends {jspb.Message}
2755
- * @constructor
2756
- */
2757
- proto.ic_ledger.pb.v1.GetBlocksRequest = function(opt_data) {
2758
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2759
- };
2760
- goog.inherits(proto.ic_ledger.pb.v1.GetBlocksRequest, jspb.Message);
2761
- if (goog.DEBUG && !COMPILED) {
2762
- proto.ic_ledger.pb.v1.GetBlocksRequest.displayName = 'proto.ic_ledger.pb.v1.GetBlocksRequest';
2763
- }
2764
3448
 
2765
3449
 
2766
3450
  if (jspb.Message.GENERATE_TO_OBJECT) {
2767
3451
  /**
2768
- * Creates an object representation of this proto suitable for use in Soy templates.
3452
+ * Creates an object representation of this proto.
2769
3453
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
3454
+ * Optional fields that are not set will be set to undefined.
2770
3455
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2771
3456
  * For the list of reserved names please see:
2772
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2773
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2774
- * for transitional soy proto support: http://goto/soy-param-migration
3457
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3458
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3459
+ * JSPB instance for transitional soy proto support:
3460
+ * http://goto/soy-param-migration
2775
3461
  * @return {!Object}
2776
3462
  */
2777
3463
  proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.toObject = function(opt_includeInstance) {
@@ -2781,8 +3467,8 @@ proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.toObject = function(opt_include
2781
3467
 
2782
3468
  /**
2783
3469
  * Static version of the {@see toObject} method.
2784
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2785
- * instance for transitional soy proto support:
3470
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3471
+ * the JSPB instance for transitional soy proto support:
2786
3472
  * http://goto/soy-param-migration
2787
3473
  * @param {!proto.ic_ledger.pb.v1.GetBlocksRequest} msg The msg instance to transform.
2788
3474
  * @return {!Object}
@@ -2891,9 +3577,12 @@ proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.getStart = function() {
2891
3577
  };
2892
3578
 
2893
3579
 
2894
- /** @param {string} value */
3580
+ /**
3581
+ * @param {string} value
3582
+ * @return {!proto.ic_ledger.pb.v1.GetBlocksRequest} returns this
3583
+ */
2895
3584
  proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.setStart = function(value) {
2896
- jspb.Message.setProto3StringIntField(this, 1, value);
3585
+ return jspb.Message.setProto3StringIntField(this, 1, value);
2897
3586
  };
2898
3587
 
2899
3588
 
@@ -2906,41 +3595,29 @@ proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.getLength = function() {
2906
3595
  };
2907
3596
 
2908
3597
 
2909
- /** @param {string} value */
3598
+ /**
3599
+ * @param {string} value
3600
+ * @return {!proto.ic_ledger.pb.v1.GetBlocksRequest} returns this
3601
+ */
2910
3602
  proto.ic_ledger.pb.v1.GetBlocksRequest.prototype.setLength = function(value) {
2911
- jspb.Message.setProto3StringIntField(this, 2, value);
3603
+ return jspb.Message.setProto3StringIntField(this, 2, value);
2912
3604
  };
2913
3605
 
2914
3606
 
2915
3607
 
2916
- /**
2917
- * Generated by JsPbCodeGenerator.
2918
- * @param {Array=} opt_data Optional initial data array, typically from a
2919
- * server response, or constructed directly in Javascript. The array is used
2920
- * in place and becomes part of the constructed object. It is not cloned.
2921
- * If no data is provided, the constructed object will be empty, but still
2922
- * valid.
2923
- * @extends {jspb.Message}
2924
- * @constructor
2925
- */
2926
- proto.ic_ledger.pb.v1.Refund = function(opt_data) {
2927
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2928
- };
2929
- goog.inherits(proto.ic_ledger.pb.v1.Refund, jspb.Message);
2930
- if (goog.DEBUG && !COMPILED) {
2931
- proto.ic_ledger.pb.v1.Refund.displayName = 'proto.ic_ledger.pb.v1.Refund';
2932
- }
2933
3608
 
2934
3609
 
2935
3610
  if (jspb.Message.GENERATE_TO_OBJECT) {
2936
3611
  /**
2937
- * Creates an object representation of this proto suitable for use in Soy templates.
3612
+ * Creates an object representation of this proto.
2938
3613
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
3614
+ * Optional fields that are not set will be set to undefined.
2939
3615
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2940
3616
  * For the list of reserved names please see:
2941
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2942
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2943
- * for transitional soy proto support: http://goto/soy-param-migration
3617
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3618
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3619
+ * JSPB instance for transitional soy proto support:
3620
+ * http://goto/soy-param-migration
2944
3621
  * @return {!Object}
2945
3622
  */
2946
3623
  proto.ic_ledger.pb.v1.Refund.prototype.toObject = function(opt_includeInstance) {
@@ -2950,8 +3627,8 @@ proto.ic_ledger.pb.v1.Refund.prototype.toObject = function(opt_includeInstance)
2950
3627
 
2951
3628
  /**
2952
3629
  * Static version of the {@see toObject} method.
2953
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2954
- * instance for transitional soy proto support:
3630
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3631
+ * the JSPB instance for transitional soy proto support:
2955
3632
  * http://goto/soy-param-migration
2956
3633
  * @param {!proto.ic_ledger.pb.v1.Refund} msg The msg instance to transform.
2957
3634
  * @return {!Object}
@@ -3063,20 +3740,27 @@ proto.ic_ledger.pb.v1.Refund.prototype.getRefund = function() {
3063
3740
  };
3064
3741
 
3065
3742
 
3066
- /** @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value */
3743
+ /**
3744
+ * @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value
3745
+ * @return {!proto.ic_ledger.pb.v1.Refund} returns this
3746
+ */
3067
3747
  proto.ic_ledger.pb.v1.Refund.prototype.setRefund = function(value) {
3068
- jspb.Message.setWrapperField(this, 2, value);
3748
+ return jspb.Message.setWrapperField(this, 2, value);
3069
3749
  };
3070
3750
 
3071
3751
 
3752
+ /**
3753
+ * Clears the message field making it undefined.
3754
+ * @return {!proto.ic_ledger.pb.v1.Refund} returns this
3755
+ */
3072
3756
  proto.ic_ledger.pb.v1.Refund.prototype.clearRefund = function() {
3073
- this.setRefund(undefined);
3757
+ return this.setRefund(undefined);
3074
3758
  };
3075
3759
 
3076
3760
 
3077
3761
  /**
3078
3762
  * Returns whether this field is set.
3079
- * @return {!boolean}
3763
+ * @return {boolean}
3080
3764
  */
3081
3765
  proto.ic_ledger.pb.v1.Refund.prototype.hasRefund = function() {
3082
3766
  return jspb.Message.getField(this, 2) != null;
@@ -3092,41 +3776,29 @@ proto.ic_ledger.pb.v1.Refund.prototype.getError = function() {
3092
3776
  };
3093
3777
 
3094
3778
 
3095
- /** @param {string} value */
3779
+ /**
3780
+ * @param {string} value
3781
+ * @return {!proto.ic_ledger.pb.v1.Refund} returns this
3782
+ */
3096
3783
  proto.ic_ledger.pb.v1.Refund.prototype.setError = function(value) {
3097
- jspb.Message.setProto3StringField(this, 3, value);
3784
+ return jspb.Message.setProto3StringField(this, 3, value);
3098
3785
  };
3099
3786
 
3100
3787
 
3101
3788
 
3102
- /**
3103
- * Generated by JsPbCodeGenerator.
3104
- * @param {Array=} opt_data Optional initial data array, typically from a
3105
- * server response, or constructed directly in Javascript. The array is used
3106
- * in place and becomes part of the constructed object. It is not cloned.
3107
- * If no data is provided, the constructed object will be empty, but still
3108
- * valid.
3109
- * @extends {jspb.Message}
3110
- * @constructor
3111
- */
3112
- proto.ic_ledger.pb.v1.ToppedUp = function(opt_data) {
3113
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3114
- };
3115
- goog.inherits(proto.ic_ledger.pb.v1.ToppedUp, jspb.Message);
3116
- if (goog.DEBUG && !COMPILED) {
3117
- proto.ic_ledger.pb.v1.ToppedUp.displayName = 'proto.ic_ledger.pb.v1.ToppedUp';
3118
- }
3119
3789
 
3120
3790
 
3121
3791
  if (jspb.Message.GENERATE_TO_OBJECT) {
3122
3792
  /**
3123
- * Creates an object representation of this proto suitable for use in Soy templates.
3793
+ * Creates an object representation of this proto.
3124
3794
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
3795
+ * Optional fields that are not set will be set to undefined.
3125
3796
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3126
3797
  * For the list of reserved names please see:
3127
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
3128
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
3129
- * for transitional soy proto support: http://goto/soy-param-migration
3798
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3799
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3800
+ * JSPB instance for transitional soy proto support:
3801
+ * http://goto/soy-param-migration
3130
3802
  * @return {!Object}
3131
3803
  */
3132
3804
  proto.ic_ledger.pb.v1.ToppedUp.prototype.toObject = function(opt_includeInstance) {
@@ -3136,8 +3808,8 @@ proto.ic_ledger.pb.v1.ToppedUp.prototype.toObject = function(opt_includeInstance
3136
3808
 
3137
3809
  /**
3138
3810
  * Static version of the {@see toObject} method.
3139
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
3140
- * instance for transitional soy proto support:
3811
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3812
+ * the JSPB instance for transitional soy proto support:
3141
3813
  * http://goto/soy-param-migration
3142
3814
  * @param {!proto.ic_ledger.pb.v1.ToppedUp} msg The msg instance to transform.
3143
3815
  * @return {!Object}
@@ -3215,23 +3887,6 @@ proto.ic_ledger.pb.v1.ToppedUp.serializeBinaryToWriter = function(message, write
3215
3887
 
3216
3888
 
3217
3889
 
3218
- /**
3219
- * Generated by JsPbCodeGenerator.
3220
- * @param {Array=} opt_data Optional initial data array, typically from a
3221
- * server response, or constructed directly in Javascript. The array is used
3222
- * in place and becomes part of the constructed object. It is not cloned.
3223
- * If no data is provided, the constructed object will be empty, but still
3224
- * valid.
3225
- * @extends {jspb.Message}
3226
- * @constructor
3227
- */
3228
- proto.ic_ledger.pb.v1.EncodedBlocks = function(opt_data) {
3229
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ic_ledger.pb.v1.EncodedBlocks.repeatedFields_, null);
3230
- };
3231
- goog.inherits(proto.ic_ledger.pb.v1.EncodedBlocks, jspb.Message);
3232
- if (goog.DEBUG && !COMPILED) {
3233
- proto.ic_ledger.pb.v1.EncodedBlocks.displayName = 'proto.ic_ledger.pb.v1.EncodedBlocks';
3234
- }
3235
3890
  /**
3236
3891
  * List of repeated fields within this message type.
3237
3892
  * @private {!Array<number>}
@@ -3243,13 +3898,15 @@ proto.ic_ledger.pb.v1.EncodedBlocks.repeatedFields_ = [1];
3243
3898
 
3244
3899
  if (jspb.Message.GENERATE_TO_OBJECT) {
3245
3900
  /**
3246
- * Creates an object representation of this proto suitable for use in Soy templates.
3901
+ * Creates an object representation of this proto.
3247
3902
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
3903
+ * Optional fields that are not set will be set to undefined.
3248
3904
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3249
3905
  * For the list of reserved names please see:
3250
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
3251
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
3252
- * for transitional soy proto support: http://goto/soy-param-migration
3906
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3907
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3908
+ * JSPB instance for transitional soy proto support:
3909
+ * http://goto/soy-param-migration
3253
3910
  * @return {!Object}
3254
3911
  */
3255
3912
  proto.ic_ledger.pb.v1.EncodedBlocks.prototype.toObject = function(opt_includeInstance) {
@@ -3259,8 +3916,8 @@ proto.ic_ledger.pb.v1.EncodedBlocks.prototype.toObject = function(opt_includeIns
3259
3916
 
3260
3917
  /**
3261
3918
  * Static version of the {@see toObject} method.
3262
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
3263
- * instance for transitional soy proto support:
3919
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3920
+ * the JSPB instance for transitional soy proto support:
3264
3921
  * http://goto/soy-param-migration
3265
3922
  * @param {!proto.ic_ledger.pb.v1.EncodedBlocks} msg The msg instance to transform.
3266
3923
  * @return {!Object}
@@ -3361,9 +4018,12 @@ proto.ic_ledger.pb.v1.EncodedBlocks.prototype.getBlocksList = function() {
3361
4018
  };
3362
4019
 
3363
4020
 
3364
- /** @param {!Array<!proto.ic_ledger.pb.v1.EncodedBlock>} value */
4021
+ /**
4022
+ * @param {!Array<!proto.ic_ledger.pb.v1.EncodedBlock>} value
4023
+ * @return {!proto.ic_ledger.pb.v1.EncodedBlocks} returns this
4024
+ */
3365
4025
  proto.ic_ledger.pb.v1.EncodedBlocks.prototype.setBlocksList = function(value) {
3366
- jspb.Message.setRepeatedWrapperField(this, 1, value);
4026
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
3367
4027
  };
3368
4028
 
3369
4029
 
@@ -3377,29 +4037,16 @@ proto.ic_ledger.pb.v1.EncodedBlocks.prototype.addBlocks = function(opt_value, op
3377
4037
  };
3378
4038
 
3379
4039
 
4040
+ /**
4041
+ * Clears the list making it empty but non-null.
4042
+ * @return {!proto.ic_ledger.pb.v1.EncodedBlocks} returns this
4043
+ */
3380
4044
  proto.ic_ledger.pb.v1.EncodedBlocks.prototype.clearBlocksList = function() {
3381
- this.setBlocksList([]);
4045
+ return this.setBlocksList([]);
3382
4046
  };
3383
4047
 
3384
4048
 
3385
4049
 
3386
- /**
3387
- * Generated by JsPbCodeGenerator.
3388
- * @param {Array=} opt_data Optional initial data array, typically from a
3389
- * server response, or constructed directly in Javascript. The array is used
3390
- * in place and becomes part of the constructed object. It is not cloned.
3391
- * If no data is provided, the constructed object will be empty, but still
3392
- * valid.
3393
- * @extends {jspb.Message}
3394
- * @constructor
3395
- */
3396
- proto.ic_ledger.pb.v1.GetBlocksResponse = function(opt_data) {
3397
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_);
3398
- };
3399
- goog.inherits(proto.ic_ledger.pb.v1.GetBlocksResponse, jspb.Message);
3400
- if (goog.DEBUG && !COMPILED) {
3401
- proto.ic_ledger.pb.v1.GetBlocksResponse.displayName = 'proto.ic_ledger.pb.v1.GetBlocksResponse';
3402
- }
3403
4050
  /**
3404
4051
  * Oneof group definitions for this message. Each group defines the field
3405
4052
  * numbers belonging to that group. When of these fields' value is set, all
@@ -3430,13 +4077,15 @@ proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getGetBlocksContentCase = func
3430
4077
 
3431
4078
  if (jspb.Message.GENERATE_TO_OBJECT) {
3432
4079
  /**
3433
- * Creates an object representation of this proto suitable for use in Soy templates.
4080
+ * Creates an object representation of this proto.
3434
4081
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
4082
+ * Optional fields that are not set will be set to undefined.
3435
4083
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3436
4084
  * For the list of reserved names please see:
3437
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
3438
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
3439
- * for transitional soy proto support: http://goto/soy-param-migration
4085
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4086
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4087
+ * JSPB instance for transitional soy proto support:
4088
+ * http://goto/soy-param-migration
3440
4089
  * @return {!Object}
3441
4090
  */
3442
4091
  proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.toObject = function(opt_includeInstance) {
@@ -3446,8 +4095,8 @@ proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.toObject = function(opt_includ
3446
4095
 
3447
4096
  /**
3448
4097
  * Static version of the {@see toObject} method.
3449
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
3450
- * instance for transitional soy proto support:
4098
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4099
+ * the JSPB instance for transitional soy proto support:
3451
4100
  * http://goto/soy-param-migration
3452
4101
  * @param {!proto.ic_ledger.pb.v1.GetBlocksResponse} msg The msg instance to transform.
3453
4102
  * @return {!Object}
@@ -3559,20 +4208,27 @@ proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getBlocks = function() {
3559
4208
  };
3560
4209
 
3561
4210
 
3562
- /** @param {?proto.ic_ledger.pb.v1.EncodedBlocks|undefined} value */
4211
+ /**
4212
+ * @param {?proto.ic_ledger.pb.v1.EncodedBlocks|undefined} value
4213
+ * @return {!proto.ic_ledger.pb.v1.GetBlocksResponse} returns this
4214
+ */
3563
4215
  proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.setBlocks = function(value) {
3564
- jspb.Message.setOneofWrapperField(this, 1, proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0], value);
4216
+ return jspb.Message.setOneofWrapperField(this, 1, proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0], value);
3565
4217
  };
3566
4218
 
3567
4219
 
4220
+ /**
4221
+ * Clears the message field making it undefined.
4222
+ * @return {!proto.ic_ledger.pb.v1.GetBlocksResponse} returns this
4223
+ */
3568
4224
  proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.clearBlocks = function() {
3569
- this.setBlocks(undefined);
4225
+ return this.setBlocks(undefined);
3570
4226
  };
3571
4227
 
3572
4228
 
3573
4229
  /**
3574
4230
  * Returns whether this field is set.
3575
- * @return {!boolean}
4231
+ * @return {boolean}
3576
4232
  */
3577
4233
  proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.hasBlocks = function() {
3578
4234
  return jspb.Message.getField(this, 1) != null;
@@ -3588,20 +4244,27 @@ proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.getError = function() {
3588
4244
  };
3589
4245
 
3590
4246
 
3591
- /** @param {string} value */
4247
+ /**
4248
+ * @param {string} value
4249
+ * @return {!proto.ic_ledger.pb.v1.GetBlocksResponse} returns this
4250
+ */
3592
4251
  proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.setError = function(value) {
3593
- jspb.Message.setOneofField(this, 2, proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0], value);
4252
+ return jspb.Message.setOneofField(this, 2, proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0], value);
3594
4253
  };
3595
4254
 
3596
4255
 
4256
+ /**
4257
+ * Clears the field making it undefined.
4258
+ * @return {!proto.ic_ledger.pb.v1.GetBlocksResponse} returns this
4259
+ */
3597
4260
  proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.clearError = function() {
3598
- jspb.Message.setOneofField(this, 2, proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0], undefined);
4261
+ return jspb.Message.setOneofField(this, 2, proto.ic_ledger.pb.v1.GetBlocksResponse.oneofGroups_[0], undefined);
3599
4262
  };
3600
4263
 
3601
4264
 
3602
4265
  /**
3603
4266
  * Returns whether this field is set.
3604
- * @return {!boolean}
4267
+ * @return {boolean}
3605
4268
  */
3606
4269
  proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.hasError = function() {
3607
4270
  return jspb.Message.getField(this, 2) != null;
@@ -3609,34 +4272,19 @@ proto.ic_ledger.pb.v1.GetBlocksResponse.prototype.hasError = function() {
3609
4272
 
3610
4273
 
3611
4274
 
3612
- /**
3613
- * Generated by JsPbCodeGenerator.
3614
- * @param {Array=} opt_data Optional initial data array, typically from a
3615
- * server response, or constructed directly in Javascript. The array is used
3616
- * in place and becomes part of the constructed object. It is not cloned.
3617
- * If no data is provided, the constructed object will be empty, but still
3618
- * valid.
3619
- * @extends {jspb.Message}
3620
- * @constructor
3621
- */
3622
- proto.ic_ledger.pb.v1.ICPTs = function(opt_data) {
3623
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3624
- };
3625
- goog.inherits(proto.ic_ledger.pb.v1.ICPTs, jspb.Message);
3626
- if (goog.DEBUG && !COMPILED) {
3627
- proto.ic_ledger.pb.v1.ICPTs.displayName = 'proto.ic_ledger.pb.v1.ICPTs';
3628
- }
3629
4275
 
3630
4276
 
3631
4277
  if (jspb.Message.GENERATE_TO_OBJECT) {
3632
4278
  /**
3633
- * Creates an object representation of this proto suitable for use in Soy templates.
4279
+ * Creates an object representation of this proto.
3634
4280
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
4281
+ * Optional fields that are not set will be set to undefined.
3635
4282
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3636
4283
  * For the list of reserved names please see:
3637
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
3638
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
3639
- * for transitional soy proto support: http://goto/soy-param-migration
4284
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4285
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4286
+ * JSPB instance for transitional soy proto support:
4287
+ * http://goto/soy-param-migration
3640
4288
  * @return {!Object}
3641
4289
  */
3642
4290
  proto.ic_ledger.pb.v1.ICPTs.prototype.toObject = function(opt_includeInstance) {
@@ -3646,8 +4294,8 @@ proto.ic_ledger.pb.v1.ICPTs.prototype.toObject = function(opt_includeInstance) {
3646
4294
 
3647
4295
  /**
3648
4296
  * Static version of the {@see toObject} method.
3649
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
3650
- * instance for transitional soy proto support:
4297
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4298
+ * the JSPB instance for transitional soy proto support:
3651
4299
  * http://goto/soy-param-migration
3652
4300
  * @param {!proto.ic_ledger.pb.v1.ICPTs} msg The msg instance to transform.
3653
4301
  * @return {!Object}
@@ -3744,41 +4392,29 @@ proto.ic_ledger.pb.v1.ICPTs.prototype.getE8s = function() {
3744
4392
  };
3745
4393
 
3746
4394
 
3747
- /** @param {string} value */
4395
+ /**
4396
+ * @param {string} value
4397
+ * @return {!proto.ic_ledger.pb.v1.ICPTs} returns this
4398
+ */
3748
4399
  proto.ic_ledger.pb.v1.ICPTs.prototype.setE8s = function(value) {
3749
- jspb.Message.setProto3StringIntField(this, 1, value);
4400
+ return jspb.Message.setProto3StringIntField(this, 1, value);
3750
4401
  };
3751
4402
 
3752
4403
 
3753
4404
 
3754
- /**
3755
- * Generated by JsPbCodeGenerator.
3756
- * @param {Array=} opt_data Optional initial data array, typically from a
3757
- * server response, or constructed directly in Javascript. The array is used
3758
- * in place and becomes part of the constructed object. It is not cloned.
3759
- * If no data is provided, the constructed object will be empty, but still
3760
- * valid.
3761
- * @extends {jspb.Message}
3762
- * @constructor
3763
- */
3764
- proto.ic_ledger.pb.v1.Payment = function(opt_data) {
3765
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3766
- };
3767
- goog.inherits(proto.ic_ledger.pb.v1.Payment, jspb.Message);
3768
- if (goog.DEBUG && !COMPILED) {
3769
- proto.ic_ledger.pb.v1.Payment.displayName = 'proto.ic_ledger.pb.v1.Payment';
3770
- }
3771
4405
 
3772
4406
 
3773
4407
  if (jspb.Message.GENERATE_TO_OBJECT) {
3774
4408
  /**
3775
- * Creates an object representation of this proto suitable for use in Soy templates.
4409
+ * Creates an object representation of this proto.
3776
4410
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
4411
+ * Optional fields that are not set will be set to undefined.
3777
4412
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3778
4413
  * For the list of reserved names please see:
3779
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
3780
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
3781
- * for transitional soy proto support: http://goto/soy-param-migration
4414
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4415
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4416
+ * JSPB instance for transitional soy proto support:
4417
+ * http://goto/soy-param-migration
3782
4418
  * @return {!Object}
3783
4419
  */
3784
4420
  proto.ic_ledger.pb.v1.Payment.prototype.toObject = function(opt_includeInstance) {
@@ -3788,8 +4424,8 @@ proto.ic_ledger.pb.v1.Payment.prototype.toObject = function(opt_includeInstance)
3788
4424
 
3789
4425
  /**
3790
4426
  * Static version of the {@see toObject} method.
3791
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
3792
- * instance for transitional soy proto support:
4427
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4428
+ * the JSPB instance for transitional soy proto support:
3793
4429
  * http://goto/soy-param-migration
3794
4430
  * @param {!proto.ic_ledger.pb.v1.Payment} msg The msg instance to transform.
3795
4431
  * @return {!Object}
@@ -3889,20 +4525,27 @@ proto.ic_ledger.pb.v1.Payment.prototype.getReceiverGets = function() {
3889
4525
  };
3890
4526
 
3891
4527
 
3892
- /** @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value */
4528
+ /**
4529
+ * @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value
4530
+ * @return {!proto.ic_ledger.pb.v1.Payment} returns this
4531
+ */
3893
4532
  proto.ic_ledger.pb.v1.Payment.prototype.setReceiverGets = function(value) {
3894
- jspb.Message.setWrapperField(this, 1, value);
4533
+ return jspb.Message.setWrapperField(this, 1, value);
3895
4534
  };
3896
4535
 
3897
4536
 
4537
+ /**
4538
+ * Clears the message field making it undefined.
4539
+ * @return {!proto.ic_ledger.pb.v1.Payment} returns this
4540
+ */
3898
4541
  proto.ic_ledger.pb.v1.Payment.prototype.clearReceiverGets = function() {
3899
- this.setReceiverGets(undefined);
4542
+ return this.setReceiverGets(undefined);
3900
4543
  };
3901
4544
 
3902
4545
 
3903
4546
  /**
3904
4547
  * Returns whether this field is set.
3905
- * @return {!boolean}
4548
+ * @return {boolean}
3906
4549
  */
3907
4550
  proto.ic_ledger.pb.v1.Payment.prototype.hasReceiverGets = function() {
3908
4551
  return jspb.Message.getField(this, 1) != null;
@@ -3910,34 +4553,19 @@ proto.ic_ledger.pb.v1.Payment.prototype.hasReceiverGets = function() {
3910
4553
 
3911
4554
 
3912
4555
 
3913
- /**
3914
- * Generated by JsPbCodeGenerator.
3915
- * @param {Array=} opt_data Optional initial data array, typically from a
3916
- * server response, or constructed directly in Javascript. The array is used
3917
- * in place and becomes part of the constructed object. It is not cloned.
3918
- * If no data is provided, the constructed object will be empty, but still
3919
- * valid.
3920
- * @extends {jspb.Message}
3921
- * @constructor
3922
- */
3923
- proto.ic_ledger.pb.v1.BlockHeight = function(opt_data) {
3924
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3925
- };
3926
- goog.inherits(proto.ic_ledger.pb.v1.BlockHeight, jspb.Message);
3927
- if (goog.DEBUG && !COMPILED) {
3928
- proto.ic_ledger.pb.v1.BlockHeight.displayName = 'proto.ic_ledger.pb.v1.BlockHeight';
3929
- }
3930
4556
 
3931
4557
 
3932
4558
  if (jspb.Message.GENERATE_TO_OBJECT) {
3933
4559
  /**
3934
- * Creates an object representation of this proto suitable for use in Soy templates.
4560
+ * Creates an object representation of this proto.
3935
4561
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
4562
+ * Optional fields that are not set will be set to undefined.
3936
4563
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3937
4564
  * For the list of reserved names please see:
3938
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
3939
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
3940
- * for transitional soy proto support: http://goto/soy-param-migration
4565
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4566
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4567
+ * JSPB instance for transitional soy proto support:
4568
+ * http://goto/soy-param-migration
3941
4569
  * @return {!Object}
3942
4570
  */
3943
4571
  proto.ic_ledger.pb.v1.BlockHeight.prototype.toObject = function(opt_includeInstance) {
@@ -3947,8 +4575,8 @@ proto.ic_ledger.pb.v1.BlockHeight.prototype.toObject = function(opt_includeInsta
3947
4575
 
3948
4576
  /**
3949
4577
  * Static version of the {@see toObject} method.
3950
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
3951
- * instance for transitional soy proto support:
4578
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4579
+ * the JSPB instance for transitional soy proto support:
3952
4580
  * http://goto/soy-param-migration
3953
4581
  * @param {!proto.ic_ledger.pb.v1.BlockHeight} msg The msg instance to transform.
3954
4582
  * @return {!Object}
@@ -4045,41 +4673,29 @@ proto.ic_ledger.pb.v1.BlockHeight.prototype.getHeight = function() {
4045
4673
  };
4046
4674
 
4047
4675
 
4048
- /** @param {string} value */
4676
+ /**
4677
+ * @param {string} value
4678
+ * @return {!proto.ic_ledger.pb.v1.BlockHeight} returns this
4679
+ */
4049
4680
  proto.ic_ledger.pb.v1.BlockHeight.prototype.setHeight = function(value) {
4050
- jspb.Message.setProto3StringIntField(this, 1, value);
4681
+ return jspb.Message.setProto3StringIntField(this, 1, value);
4051
4682
  };
4052
4683
 
4053
4684
 
4054
4685
 
4055
- /**
4056
- * Generated by JsPbCodeGenerator.
4057
- * @param {Array=} opt_data Optional initial data array, typically from a
4058
- * server response, or constructed directly in Javascript. The array is used
4059
- * in place and becomes part of the constructed object. It is not cloned.
4060
- * If no data is provided, the constructed object will be empty, but still
4061
- * valid.
4062
- * @extends {jspb.Message}
4063
- * @constructor
4064
- */
4065
- proto.ic_ledger.pb.v1.Block = function(opt_data) {
4066
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4067
- };
4068
- goog.inherits(proto.ic_ledger.pb.v1.Block, jspb.Message);
4069
- if (goog.DEBUG && !COMPILED) {
4070
- proto.ic_ledger.pb.v1.Block.displayName = 'proto.ic_ledger.pb.v1.Block';
4071
- }
4072
4686
 
4073
4687
 
4074
4688
  if (jspb.Message.GENERATE_TO_OBJECT) {
4075
4689
  /**
4076
- * Creates an object representation of this proto suitable for use in Soy templates.
4690
+ * Creates an object representation of this proto.
4077
4691
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
4692
+ * Optional fields that are not set will be set to undefined.
4078
4693
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4079
4694
  * For the list of reserved names please see:
4080
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
4081
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
4082
- * for transitional soy proto support: http://goto/soy-param-migration
4695
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4696
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4697
+ * JSPB instance for transitional soy proto support:
4698
+ * http://goto/soy-param-migration
4083
4699
  * @return {!Object}
4084
4700
  */
4085
4701
  proto.ic_ledger.pb.v1.Block.prototype.toObject = function(opt_includeInstance) {
@@ -4089,8 +4705,8 @@ proto.ic_ledger.pb.v1.Block.prototype.toObject = function(opt_includeInstance) {
4089
4705
 
4090
4706
  /**
4091
4707
  * Static version of the {@see toObject} method.
4092
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
4093
- * instance for transitional soy proto support:
4708
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4709
+ * the JSPB instance for transitional soy proto support:
4094
4710
  * http://goto/soy-param-migration
4095
4711
  * @param {!proto.ic_ledger.pb.v1.Block} msg The msg instance to transform.
4096
4712
  * @return {!Object}
@@ -4218,20 +4834,27 @@ proto.ic_ledger.pb.v1.Block.prototype.getParentHash = function() {
4218
4834
  };
4219
4835
 
4220
4836
 
4221
- /** @param {?proto.ic_ledger.pb.v1.Hash|undefined} value */
4837
+ /**
4838
+ * @param {?proto.ic_ledger.pb.v1.Hash|undefined} value
4839
+ * @return {!proto.ic_ledger.pb.v1.Block} returns this
4840
+ */
4222
4841
  proto.ic_ledger.pb.v1.Block.prototype.setParentHash = function(value) {
4223
- jspb.Message.setWrapperField(this, 1, value);
4842
+ return jspb.Message.setWrapperField(this, 1, value);
4224
4843
  };
4225
4844
 
4226
4845
 
4846
+ /**
4847
+ * Clears the message field making it undefined.
4848
+ * @return {!proto.ic_ledger.pb.v1.Block} returns this
4849
+ */
4227
4850
  proto.ic_ledger.pb.v1.Block.prototype.clearParentHash = function() {
4228
- this.setParentHash(undefined);
4851
+ return this.setParentHash(undefined);
4229
4852
  };
4230
4853
 
4231
4854
 
4232
4855
  /**
4233
4856
  * Returns whether this field is set.
4234
- * @return {!boolean}
4857
+ * @return {boolean}
4235
4858
  */
4236
4859
  proto.ic_ledger.pb.v1.Block.prototype.hasParentHash = function() {
4237
4860
  return jspb.Message.getField(this, 1) != null;
@@ -4248,20 +4871,27 @@ proto.ic_ledger.pb.v1.Block.prototype.getTimestamp = function() {
4248
4871
  };
4249
4872
 
4250
4873
 
4251
- /** @param {?proto.ic_ledger.pb.v1.TimeStamp|undefined} value */
4874
+ /**
4875
+ * @param {?proto.ic_ledger.pb.v1.TimeStamp|undefined} value
4876
+ * @return {!proto.ic_ledger.pb.v1.Block} returns this
4877
+ */
4252
4878
  proto.ic_ledger.pb.v1.Block.prototype.setTimestamp = function(value) {
4253
- jspb.Message.setWrapperField(this, 2, value);
4879
+ return jspb.Message.setWrapperField(this, 2, value);
4254
4880
  };
4255
4881
 
4256
4882
 
4883
+ /**
4884
+ * Clears the message field making it undefined.
4885
+ * @return {!proto.ic_ledger.pb.v1.Block} returns this
4886
+ */
4257
4887
  proto.ic_ledger.pb.v1.Block.prototype.clearTimestamp = function() {
4258
- this.setTimestamp(undefined);
4888
+ return this.setTimestamp(undefined);
4259
4889
  };
4260
4890
 
4261
4891
 
4262
4892
  /**
4263
4893
  * Returns whether this field is set.
4264
- * @return {!boolean}
4894
+ * @return {boolean}
4265
4895
  */
4266
4896
  proto.ic_ledger.pb.v1.Block.prototype.hasTimestamp = function() {
4267
4897
  return jspb.Message.getField(this, 2) != null;
@@ -4278,55 +4908,47 @@ proto.ic_ledger.pb.v1.Block.prototype.getTransaction = function() {
4278
4908
  };
4279
4909
 
4280
4910
 
4281
- /** @param {?proto.ic_ledger.pb.v1.Transaction|undefined} value */
4911
+ /**
4912
+ * @param {?proto.ic_ledger.pb.v1.Transaction|undefined} value
4913
+ * @return {!proto.ic_ledger.pb.v1.Block} returns this
4914
+ */
4282
4915
  proto.ic_ledger.pb.v1.Block.prototype.setTransaction = function(value) {
4283
- jspb.Message.setWrapperField(this, 3, value);
4284
- };
4285
-
4286
-
4287
- proto.ic_ledger.pb.v1.Block.prototype.clearTransaction = function() {
4288
- this.setTransaction(undefined);
4916
+ return jspb.Message.setWrapperField(this, 3, value);
4289
4917
  };
4290
4918
 
4291
4919
 
4292
4920
  /**
4293
- * Returns whether this field is set.
4294
- * @return {!boolean}
4921
+ * Clears the message field making it undefined.
4922
+ * @return {!proto.ic_ledger.pb.v1.Block} returns this
4295
4923
  */
4296
- proto.ic_ledger.pb.v1.Block.prototype.hasTransaction = function() {
4297
- return jspb.Message.getField(this, 3) != null;
4924
+ proto.ic_ledger.pb.v1.Block.prototype.clearTransaction = function() {
4925
+ return this.setTransaction(undefined);
4298
4926
  };
4299
-
4300
-
4301
-
4302
- /**
4303
- * Generated by JsPbCodeGenerator.
4304
- * @param {Array=} opt_data Optional initial data array, typically from a
4305
- * server response, or constructed directly in Javascript. The array is used
4306
- * in place and becomes part of the constructed object. It is not cloned.
4307
- * If no data is provided, the constructed object will be empty, but still
4308
- * valid.
4309
- * @extends {jspb.Message}
4310
- * @constructor
4927
+
4928
+
4929
+ /**
4930
+ * Returns whether this field is set.
4931
+ * @return {boolean}
4311
4932
  */
4312
- proto.ic_ledger.pb.v1.Hash = function(opt_data) {
4313
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4933
+ proto.ic_ledger.pb.v1.Block.prototype.hasTransaction = function() {
4934
+ return jspb.Message.getField(this, 3) != null;
4314
4935
  };
4315
- goog.inherits(proto.ic_ledger.pb.v1.Hash, jspb.Message);
4316
- if (goog.DEBUG && !COMPILED) {
4317
- proto.ic_ledger.pb.v1.Hash.displayName = 'proto.ic_ledger.pb.v1.Hash';
4318
- }
4936
+
4937
+
4938
+
4319
4939
 
4320
4940
 
4321
4941
  if (jspb.Message.GENERATE_TO_OBJECT) {
4322
4942
  /**
4323
- * Creates an object representation of this proto suitable for use in Soy templates.
4943
+ * Creates an object representation of this proto.
4324
4944
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
4945
+ * Optional fields that are not set will be set to undefined.
4325
4946
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4326
4947
  * For the list of reserved names please see:
4327
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
4328
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
4329
- * for transitional soy proto support: http://goto/soy-param-migration
4948
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4949
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4950
+ * JSPB instance for transitional soy proto support:
4951
+ * http://goto/soy-param-migration
4330
4952
  * @return {!Object}
4331
4953
  */
4332
4954
  proto.ic_ledger.pb.v1.Hash.prototype.toObject = function(opt_includeInstance) {
@@ -4336,8 +4958,8 @@ proto.ic_ledger.pb.v1.Hash.prototype.toObject = function(opt_includeInstance) {
4336
4958
 
4337
4959
  /**
4338
4960
  * Static version of the {@see toObject} method.
4339
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
4340
- * instance for transitional soy proto support:
4961
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4962
+ * the JSPB instance for transitional soy proto support:
4341
4963
  * http://goto/soy-param-migration
4342
4964
  * @param {!proto.ic_ledger.pb.v1.Hash} msg The msg instance to transform.
4343
4965
  * @return {!Object}
@@ -4458,41 +5080,29 @@ proto.ic_ledger.pb.v1.Hash.prototype.getHash_asU8 = function() {
4458
5080
  };
4459
5081
 
4460
5082
 
4461
- /** @param {!(string|Uint8Array)} value */
5083
+ /**
5084
+ * @param {!(string|Uint8Array)} value
5085
+ * @return {!proto.ic_ledger.pb.v1.Hash} returns this
5086
+ */
4462
5087
  proto.ic_ledger.pb.v1.Hash.prototype.setHash = function(value) {
4463
- jspb.Message.setProto3BytesField(this, 1, value);
5088
+ return jspb.Message.setProto3BytesField(this, 1, value);
4464
5089
  };
4465
5090
 
4466
5091
 
4467
5092
 
4468
- /**
4469
- * Generated by JsPbCodeGenerator.
4470
- * @param {Array=} opt_data Optional initial data array, typically from a
4471
- * server response, or constructed directly in Javascript. The array is used
4472
- * in place and becomes part of the constructed object. It is not cloned.
4473
- * If no data is provided, the constructed object will be empty, but still
4474
- * valid.
4475
- * @extends {jspb.Message}
4476
- * @constructor
4477
- */
4478
- proto.ic_ledger.pb.v1.Account = function(opt_data) {
4479
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4480
- };
4481
- goog.inherits(proto.ic_ledger.pb.v1.Account, jspb.Message);
4482
- if (goog.DEBUG && !COMPILED) {
4483
- proto.ic_ledger.pb.v1.Account.displayName = 'proto.ic_ledger.pb.v1.Account';
4484
- }
4485
5093
 
4486
5094
 
4487
5095
  if (jspb.Message.GENERATE_TO_OBJECT) {
4488
5096
  /**
4489
- * Creates an object representation of this proto suitable for use in Soy templates.
5097
+ * Creates an object representation of this proto.
4490
5098
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
5099
+ * Optional fields that are not set will be set to undefined.
4491
5100
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4492
5101
  * For the list of reserved names please see:
4493
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
4494
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
4495
- * for transitional soy proto support: http://goto/soy-param-migration
5102
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5103
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5104
+ * JSPB instance for transitional soy proto support:
5105
+ * http://goto/soy-param-migration
4496
5106
  * @return {!Object}
4497
5107
  */
4498
5108
  proto.ic_ledger.pb.v1.Account.prototype.toObject = function(opt_includeInstance) {
@@ -4502,8 +5112,8 @@ proto.ic_ledger.pb.v1.Account.prototype.toObject = function(opt_includeInstance)
4502
5112
 
4503
5113
  /**
4504
5114
  * Static version of the {@see toObject} method.
4505
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
4506
- * instance for transitional soy proto support:
5115
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5116
+ * the JSPB instance for transitional soy proto support:
4507
5117
  * http://goto/soy-param-migration
4508
5118
  * @param {!proto.ic_ledger.pb.v1.Account} msg The msg instance to transform.
4509
5119
  * @return {!Object}
@@ -4617,20 +5227,27 @@ proto.ic_ledger.pb.v1.Account.prototype.getIdentifier = function() {
4617
5227
  };
4618
5228
 
4619
5229
 
4620
- /** @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value */
5230
+ /**
5231
+ * @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value
5232
+ * @return {!proto.ic_ledger.pb.v1.Account} returns this
5233
+ */
4621
5234
  proto.ic_ledger.pb.v1.Account.prototype.setIdentifier = function(value) {
4622
- jspb.Message.setWrapperField(this, 1, value);
5235
+ return jspb.Message.setWrapperField(this, 1, value);
4623
5236
  };
4624
5237
 
4625
5238
 
5239
+ /**
5240
+ * Clears the message field making it undefined.
5241
+ * @return {!proto.ic_ledger.pb.v1.Account} returns this
5242
+ */
4626
5243
  proto.ic_ledger.pb.v1.Account.prototype.clearIdentifier = function() {
4627
- this.setIdentifier(undefined);
5244
+ return this.setIdentifier(undefined);
4628
5245
  };
4629
5246
 
4630
5247
 
4631
5248
  /**
4632
5249
  * Returns whether this field is set.
4633
- * @return {!boolean}
5250
+ * @return {boolean}
4634
5251
  */
4635
5252
  proto.ic_ledger.pb.v1.Account.prototype.hasIdentifier = function() {
4636
5253
  return jspb.Message.getField(this, 1) != null;
@@ -4647,20 +5264,27 @@ proto.ic_ledger.pb.v1.Account.prototype.getBalance = function() {
4647
5264
  };
4648
5265
 
4649
5266
 
4650
- /** @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value */
5267
+ /**
5268
+ * @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value
5269
+ * @return {!proto.ic_ledger.pb.v1.Account} returns this
5270
+ */
4651
5271
  proto.ic_ledger.pb.v1.Account.prototype.setBalance = function(value) {
4652
- jspb.Message.setWrapperField(this, 2, value);
5272
+ return jspb.Message.setWrapperField(this, 2, value);
4653
5273
  };
4654
5274
 
4655
5275
 
5276
+ /**
5277
+ * Clears the message field making it undefined.
5278
+ * @return {!proto.ic_ledger.pb.v1.Account} returns this
5279
+ */
4656
5280
  proto.ic_ledger.pb.v1.Account.prototype.clearBalance = function() {
4657
- this.setBalance(undefined);
5281
+ return this.setBalance(undefined);
4658
5282
  };
4659
5283
 
4660
5284
 
4661
5285
  /**
4662
5286
  * Returns whether this field is set.
4663
- * @return {!boolean}
5287
+ * @return {boolean}
4664
5288
  */
4665
5289
  proto.ic_ledger.pb.v1.Account.prototype.hasBalance = function() {
4666
5290
  return jspb.Message.getField(this, 2) != null;
@@ -4668,23 +5292,6 @@ proto.ic_ledger.pb.v1.Account.prototype.hasBalance = function() {
4668
5292
 
4669
5293
 
4670
5294
 
4671
- /**
4672
- * Generated by JsPbCodeGenerator.
4673
- * @param {Array=} opt_data Optional initial data array, typically from a
4674
- * server response, or constructed directly in Javascript. The array is used
4675
- * in place and becomes part of the constructed object. It is not cloned.
4676
- * If no data is provided, the constructed object will be empty, but still
4677
- * valid.
4678
- * @extends {jspb.Message}
4679
- * @constructor
4680
- */
4681
- proto.ic_ledger.pb.v1.Transaction = function(opt_data) {
4682
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ic_ledger.pb.v1.Transaction.oneofGroups_);
4683
- };
4684
- goog.inherits(proto.ic_ledger.pb.v1.Transaction, jspb.Message);
4685
- if (goog.DEBUG && !COMPILED) {
4686
- proto.ic_ledger.pb.v1.Transaction.displayName = 'proto.ic_ledger.pb.v1.Transaction';
4687
- }
4688
5295
  /**
4689
5296
  * Oneof group definitions for this message. Each group defines the field
4690
5297
  * numbers belonging to that group. When of these fields' value is set, all
@@ -4716,13 +5323,15 @@ proto.ic_ledger.pb.v1.Transaction.prototype.getTransferCase = function() {
4716
5323
 
4717
5324
  if (jspb.Message.GENERATE_TO_OBJECT) {
4718
5325
  /**
4719
- * Creates an object representation of this proto suitable for use in Soy templates.
5326
+ * Creates an object representation of this proto.
4720
5327
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
5328
+ * Optional fields that are not set will be set to undefined.
4721
5329
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4722
5330
  * For the list of reserved names please see:
4723
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
4724
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
4725
- * for transitional soy proto support: http://goto/soy-param-migration
5331
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5332
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5333
+ * JSPB instance for transitional soy proto support:
5334
+ * http://goto/soy-param-migration
4726
5335
  * @return {!Object}
4727
5336
  */
4728
5337
  proto.ic_ledger.pb.v1.Transaction.prototype.toObject = function(opt_includeInstance) {
@@ -4732,8 +5341,8 @@ proto.ic_ledger.pb.v1.Transaction.prototype.toObject = function(opt_includeInsta
4732
5341
 
4733
5342
  /**
4734
5343
  * Static version of the {@see toObject} method.
4735
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
4736
- * instance for transitional soy proto support:
5344
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5345
+ * the JSPB instance for transitional soy proto support:
4737
5346
  * http://goto/soy-param-migration
4738
5347
  * @param {!proto.ic_ledger.pb.v1.Transaction} msg The msg instance to transform.
4739
5348
  * @return {!Object}
@@ -4903,20 +5512,27 @@ proto.ic_ledger.pb.v1.Transaction.prototype.getBurn = function() {
4903
5512
  };
4904
5513
 
4905
5514
 
4906
- /** @param {?proto.ic_ledger.pb.v1.Burn|undefined} value */
5515
+ /**
5516
+ * @param {?proto.ic_ledger.pb.v1.Burn|undefined} value
5517
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5518
+ */
4907
5519
  proto.ic_ledger.pb.v1.Transaction.prototype.setBurn = function(value) {
4908
- jspb.Message.setOneofWrapperField(this, 1, proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0], value);
5520
+ return jspb.Message.setOneofWrapperField(this, 1, proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0], value);
4909
5521
  };
4910
5522
 
4911
5523
 
5524
+ /**
5525
+ * Clears the message field making it undefined.
5526
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5527
+ */
4912
5528
  proto.ic_ledger.pb.v1.Transaction.prototype.clearBurn = function() {
4913
- this.setBurn(undefined);
5529
+ return this.setBurn(undefined);
4914
5530
  };
4915
5531
 
4916
5532
 
4917
5533
  /**
4918
5534
  * Returns whether this field is set.
4919
- * @return {!boolean}
5535
+ * @return {boolean}
4920
5536
  */
4921
5537
  proto.ic_ledger.pb.v1.Transaction.prototype.hasBurn = function() {
4922
5538
  return jspb.Message.getField(this, 1) != null;
@@ -4933,20 +5549,27 @@ proto.ic_ledger.pb.v1.Transaction.prototype.getMint = function() {
4933
5549
  };
4934
5550
 
4935
5551
 
4936
- /** @param {?proto.ic_ledger.pb.v1.Mint|undefined} value */
5552
+ /**
5553
+ * @param {?proto.ic_ledger.pb.v1.Mint|undefined} value
5554
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5555
+ */
4937
5556
  proto.ic_ledger.pb.v1.Transaction.prototype.setMint = function(value) {
4938
- jspb.Message.setOneofWrapperField(this, 2, proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0], value);
5557
+ return jspb.Message.setOneofWrapperField(this, 2, proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0], value);
4939
5558
  };
4940
5559
 
4941
5560
 
5561
+ /**
5562
+ * Clears the message field making it undefined.
5563
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5564
+ */
4942
5565
  proto.ic_ledger.pb.v1.Transaction.prototype.clearMint = function() {
4943
- this.setMint(undefined);
5566
+ return this.setMint(undefined);
4944
5567
  };
4945
5568
 
4946
5569
 
4947
5570
  /**
4948
5571
  * Returns whether this field is set.
4949
- * @return {!boolean}
5572
+ * @return {boolean}
4950
5573
  */
4951
5574
  proto.ic_ledger.pb.v1.Transaction.prototype.hasMint = function() {
4952
5575
  return jspb.Message.getField(this, 2) != null;
@@ -4963,20 +5586,27 @@ proto.ic_ledger.pb.v1.Transaction.prototype.getSend = function() {
4963
5586
  };
4964
5587
 
4965
5588
 
4966
- /** @param {?proto.ic_ledger.pb.v1.Send|undefined} value */
5589
+ /**
5590
+ * @param {?proto.ic_ledger.pb.v1.Send|undefined} value
5591
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5592
+ */
4967
5593
  proto.ic_ledger.pb.v1.Transaction.prototype.setSend = function(value) {
4968
- jspb.Message.setOneofWrapperField(this, 3, proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0], value);
5594
+ return jspb.Message.setOneofWrapperField(this, 3, proto.ic_ledger.pb.v1.Transaction.oneofGroups_[0], value);
4969
5595
  };
4970
5596
 
4971
5597
 
5598
+ /**
5599
+ * Clears the message field making it undefined.
5600
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5601
+ */
4972
5602
  proto.ic_ledger.pb.v1.Transaction.prototype.clearSend = function() {
4973
- this.setSend(undefined);
5603
+ return this.setSend(undefined);
4974
5604
  };
4975
5605
 
4976
5606
 
4977
5607
  /**
4978
5608
  * Returns whether this field is set.
4979
- * @return {!boolean}
5609
+ * @return {boolean}
4980
5610
  */
4981
5611
  proto.ic_ledger.pb.v1.Transaction.prototype.hasSend = function() {
4982
5612
  return jspb.Message.getField(this, 3) != null;
@@ -4993,20 +5623,27 @@ proto.ic_ledger.pb.v1.Transaction.prototype.getMemo = function() {
4993
5623
  };
4994
5624
 
4995
5625
 
4996
- /** @param {?proto.ic_ledger.pb.v1.Memo|undefined} value */
5626
+ /**
5627
+ * @param {?proto.ic_ledger.pb.v1.Memo|undefined} value
5628
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5629
+ */
4997
5630
  proto.ic_ledger.pb.v1.Transaction.prototype.setMemo = function(value) {
4998
- jspb.Message.setWrapperField(this, 4, value);
5631
+ return jspb.Message.setWrapperField(this, 4, value);
4999
5632
  };
5000
5633
 
5001
5634
 
5635
+ /**
5636
+ * Clears the message field making it undefined.
5637
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5638
+ */
5002
5639
  proto.ic_ledger.pb.v1.Transaction.prototype.clearMemo = function() {
5003
- this.setMemo(undefined);
5640
+ return this.setMemo(undefined);
5004
5641
  };
5005
5642
 
5006
5643
 
5007
5644
  /**
5008
5645
  * Returns whether this field is set.
5009
- * @return {!boolean}
5646
+ * @return {boolean}
5010
5647
  */
5011
5648
  proto.ic_ledger.pb.v1.Transaction.prototype.hasMemo = function() {
5012
5649
  return jspb.Message.getField(this, 4) != null;
@@ -5023,20 +5660,27 @@ proto.ic_ledger.pb.v1.Transaction.prototype.getCreatedAt = function() {
5023
5660
  };
5024
5661
 
5025
5662
 
5026
- /** @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value */
5663
+ /**
5664
+ * @param {?proto.ic_ledger.pb.v1.BlockHeight|undefined} value
5665
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5666
+ */
5027
5667
  proto.ic_ledger.pb.v1.Transaction.prototype.setCreatedAt = function(value) {
5028
- jspb.Message.setWrapperField(this, 5, value);
5668
+ return jspb.Message.setWrapperField(this, 5, value);
5029
5669
  };
5030
5670
 
5031
5671
 
5672
+ /**
5673
+ * Clears the message field making it undefined.
5674
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5675
+ */
5032
5676
  proto.ic_ledger.pb.v1.Transaction.prototype.clearCreatedAt = function() {
5033
- this.setCreatedAt(undefined);
5677
+ return this.setCreatedAt(undefined);
5034
5678
  };
5035
5679
 
5036
5680
 
5037
5681
  /**
5038
5682
  * Returns whether this field is set.
5039
- * @return {!boolean}
5683
+ * @return {boolean}
5040
5684
  */
5041
5685
  proto.ic_ledger.pb.v1.Transaction.prototype.hasCreatedAt = function() {
5042
5686
  return jspb.Message.getField(this, 5) != null;
@@ -5053,20 +5697,27 @@ proto.ic_ledger.pb.v1.Transaction.prototype.getCreatedAtTime = function() {
5053
5697
  };
5054
5698
 
5055
5699
 
5056
- /** @param {?proto.ic_ledger.pb.v1.TimeStamp|undefined} value */
5700
+ /**
5701
+ * @param {?proto.ic_ledger.pb.v1.TimeStamp|undefined} value
5702
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5703
+ */
5057
5704
  proto.ic_ledger.pb.v1.Transaction.prototype.setCreatedAtTime = function(value) {
5058
- jspb.Message.setWrapperField(this, 6, value);
5705
+ return jspb.Message.setWrapperField(this, 6, value);
5059
5706
  };
5060
5707
 
5061
5708
 
5709
+ /**
5710
+ * Clears the message field making it undefined.
5711
+ * @return {!proto.ic_ledger.pb.v1.Transaction} returns this
5712
+ */
5062
5713
  proto.ic_ledger.pb.v1.Transaction.prototype.clearCreatedAtTime = function() {
5063
- this.setCreatedAtTime(undefined);
5714
+ return this.setCreatedAtTime(undefined);
5064
5715
  };
5065
5716
 
5066
5717
 
5067
5718
  /**
5068
5719
  * Returns whether this field is set.
5069
- * @return {!boolean}
5720
+ * @return {boolean}
5070
5721
  */
5071
5722
  proto.ic_ledger.pb.v1.Transaction.prototype.hasCreatedAtTime = function() {
5072
5723
  return jspb.Message.getField(this, 6) != null;
@@ -5074,34 +5725,19 @@ proto.ic_ledger.pb.v1.Transaction.prototype.hasCreatedAtTime = function() {
5074
5725
 
5075
5726
 
5076
5727
 
5077
- /**
5078
- * Generated by JsPbCodeGenerator.
5079
- * @param {Array=} opt_data Optional initial data array, typically from a
5080
- * server response, or constructed directly in Javascript. The array is used
5081
- * in place and becomes part of the constructed object. It is not cloned.
5082
- * If no data is provided, the constructed object will be empty, but still
5083
- * valid.
5084
- * @extends {jspb.Message}
5085
- * @constructor
5086
- */
5087
- proto.ic_ledger.pb.v1.Send = function(opt_data) {
5088
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5089
- };
5090
- goog.inherits(proto.ic_ledger.pb.v1.Send, jspb.Message);
5091
- if (goog.DEBUG && !COMPILED) {
5092
- proto.ic_ledger.pb.v1.Send.displayName = 'proto.ic_ledger.pb.v1.Send';
5093
- }
5094
5728
 
5095
5729
 
5096
5730
  if (jspb.Message.GENERATE_TO_OBJECT) {
5097
5731
  /**
5098
- * Creates an object representation of this proto suitable for use in Soy templates.
5732
+ * Creates an object representation of this proto.
5099
5733
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
5734
+ * Optional fields that are not set will be set to undefined.
5100
5735
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5101
5736
  * For the list of reserved names please see:
5102
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
5103
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
5104
- * for transitional soy proto support: http://goto/soy-param-migration
5737
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5738
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5739
+ * JSPB instance for transitional soy proto support:
5740
+ * http://goto/soy-param-migration
5105
5741
  * @return {!Object}
5106
5742
  */
5107
5743
  proto.ic_ledger.pb.v1.Send.prototype.toObject = function(opt_includeInstance) {
@@ -5111,8 +5747,8 @@ proto.ic_ledger.pb.v1.Send.prototype.toObject = function(opt_includeInstance) {
5111
5747
 
5112
5748
  /**
5113
5749
  * Static version of the {@see toObject} method.
5114
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
5115
- * instance for transitional soy proto support:
5750
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5751
+ * the JSPB instance for transitional soy proto support:
5116
5752
  * http://goto/soy-param-migration
5117
5753
  * @param {!proto.ic_ledger.pb.v1.Send} msg The msg instance to transform.
5118
5754
  * @return {!Object}
@@ -5254,20 +5890,27 @@ proto.ic_ledger.pb.v1.Send.prototype.getFrom = function() {
5254
5890
  };
5255
5891
 
5256
5892
 
5257
- /** @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value */
5893
+ /**
5894
+ * @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value
5895
+ * @return {!proto.ic_ledger.pb.v1.Send} returns this
5896
+ */
5258
5897
  proto.ic_ledger.pb.v1.Send.prototype.setFrom = function(value) {
5259
- jspb.Message.setWrapperField(this, 1, value);
5898
+ return jspb.Message.setWrapperField(this, 1, value);
5260
5899
  };
5261
5900
 
5262
5901
 
5902
+ /**
5903
+ * Clears the message field making it undefined.
5904
+ * @return {!proto.ic_ledger.pb.v1.Send} returns this
5905
+ */
5263
5906
  proto.ic_ledger.pb.v1.Send.prototype.clearFrom = function() {
5264
- this.setFrom(undefined);
5907
+ return this.setFrom(undefined);
5265
5908
  };
5266
5909
 
5267
5910
 
5268
5911
  /**
5269
5912
  * Returns whether this field is set.
5270
- * @return {!boolean}
5913
+ * @return {boolean}
5271
5914
  */
5272
5915
  proto.ic_ledger.pb.v1.Send.prototype.hasFrom = function() {
5273
5916
  return jspb.Message.getField(this, 1) != null;
@@ -5284,20 +5927,27 @@ proto.ic_ledger.pb.v1.Send.prototype.getTo = function() {
5284
5927
  };
5285
5928
 
5286
5929
 
5287
- /** @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value */
5930
+ /**
5931
+ * @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value
5932
+ * @return {!proto.ic_ledger.pb.v1.Send} returns this
5933
+ */
5288
5934
  proto.ic_ledger.pb.v1.Send.prototype.setTo = function(value) {
5289
- jspb.Message.setWrapperField(this, 2, value);
5935
+ return jspb.Message.setWrapperField(this, 2, value);
5290
5936
  };
5291
5937
 
5292
5938
 
5939
+ /**
5940
+ * Clears the message field making it undefined.
5941
+ * @return {!proto.ic_ledger.pb.v1.Send} returns this
5942
+ */
5293
5943
  proto.ic_ledger.pb.v1.Send.prototype.clearTo = function() {
5294
- this.setTo(undefined);
5944
+ return this.setTo(undefined);
5295
5945
  };
5296
5946
 
5297
5947
 
5298
5948
  /**
5299
5949
  * Returns whether this field is set.
5300
- * @return {!boolean}
5950
+ * @return {boolean}
5301
5951
  */
5302
5952
  proto.ic_ledger.pb.v1.Send.prototype.hasTo = function() {
5303
5953
  return jspb.Message.getField(this, 2) != null;
@@ -5314,20 +5964,27 @@ proto.ic_ledger.pb.v1.Send.prototype.getAmount = function() {
5314
5964
  };
5315
5965
 
5316
5966
 
5317
- /** @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value */
5967
+ /**
5968
+ * @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value
5969
+ * @return {!proto.ic_ledger.pb.v1.Send} returns this
5970
+ */
5318
5971
  proto.ic_ledger.pb.v1.Send.prototype.setAmount = function(value) {
5319
- jspb.Message.setWrapperField(this, 3, value);
5972
+ return jspb.Message.setWrapperField(this, 3, value);
5320
5973
  };
5321
5974
 
5322
5975
 
5976
+ /**
5977
+ * Clears the message field making it undefined.
5978
+ * @return {!proto.ic_ledger.pb.v1.Send} returns this
5979
+ */
5323
5980
  proto.ic_ledger.pb.v1.Send.prototype.clearAmount = function() {
5324
- this.setAmount(undefined);
5981
+ return this.setAmount(undefined);
5325
5982
  };
5326
5983
 
5327
5984
 
5328
5985
  /**
5329
5986
  * Returns whether this field is set.
5330
- * @return {!boolean}
5987
+ * @return {boolean}
5331
5988
  */
5332
5989
  proto.ic_ledger.pb.v1.Send.prototype.hasAmount = function() {
5333
5990
  return jspb.Message.getField(this, 3) != null;
@@ -5344,20 +6001,27 @@ proto.ic_ledger.pb.v1.Send.prototype.getMaxFee = function() {
5344
6001
  };
5345
6002
 
5346
6003
 
5347
- /** @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value */
6004
+ /**
6005
+ * @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value
6006
+ * @return {!proto.ic_ledger.pb.v1.Send} returns this
6007
+ */
5348
6008
  proto.ic_ledger.pb.v1.Send.prototype.setMaxFee = function(value) {
5349
- jspb.Message.setWrapperField(this, 4, value);
6009
+ return jspb.Message.setWrapperField(this, 4, value);
5350
6010
  };
5351
6011
 
5352
6012
 
6013
+ /**
6014
+ * Clears the message field making it undefined.
6015
+ * @return {!proto.ic_ledger.pb.v1.Send} returns this
6016
+ */
5353
6017
  proto.ic_ledger.pb.v1.Send.prototype.clearMaxFee = function() {
5354
- this.setMaxFee(undefined);
6018
+ return this.setMaxFee(undefined);
5355
6019
  };
5356
6020
 
5357
6021
 
5358
6022
  /**
5359
6023
  * Returns whether this field is set.
5360
- * @return {!boolean}
6024
+ * @return {boolean}
5361
6025
  */
5362
6026
  proto.ic_ledger.pb.v1.Send.prototype.hasMaxFee = function() {
5363
6027
  return jspb.Message.getField(this, 4) != null;
@@ -5365,34 +6029,19 @@ proto.ic_ledger.pb.v1.Send.prototype.hasMaxFee = function() {
5365
6029
 
5366
6030
 
5367
6031
 
5368
- /**
5369
- * Generated by JsPbCodeGenerator.
5370
- * @param {Array=} opt_data Optional initial data array, typically from a
5371
- * server response, or constructed directly in Javascript. The array is used
5372
- * in place and becomes part of the constructed object. It is not cloned.
5373
- * If no data is provided, the constructed object will be empty, but still
5374
- * valid.
5375
- * @extends {jspb.Message}
5376
- * @constructor
5377
- */
5378
- proto.ic_ledger.pb.v1.Mint = function(opt_data) {
5379
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5380
- };
5381
- goog.inherits(proto.ic_ledger.pb.v1.Mint, jspb.Message);
5382
- if (goog.DEBUG && !COMPILED) {
5383
- proto.ic_ledger.pb.v1.Mint.displayName = 'proto.ic_ledger.pb.v1.Mint';
5384
- }
5385
6032
 
5386
6033
 
5387
6034
  if (jspb.Message.GENERATE_TO_OBJECT) {
5388
6035
  /**
5389
- * Creates an object representation of this proto suitable for use in Soy templates.
6036
+ * Creates an object representation of this proto.
5390
6037
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
6038
+ * Optional fields that are not set will be set to undefined.
5391
6039
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5392
6040
  * For the list of reserved names please see:
5393
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
5394
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
5395
- * for transitional soy proto support: http://goto/soy-param-migration
6041
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6042
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6043
+ * JSPB instance for transitional soy proto support:
6044
+ * http://goto/soy-param-migration
5396
6045
  * @return {!Object}
5397
6046
  */
5398
6047
  proto.ic_ledger.pb.v1.Mint.prototype.toObject = function(opt_includeInstance) {
@@ -5402,8 +6051,8 @@ proto.ic_ledger.pb.v1.Mint.prototype.toObject = function(opt_includeInstance) {
5402
6051
 
5403
6052
  /**
5404
6053
  * Static version of the {@see toObject} method.
5405
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
5406
- * instance for transitional soy proto support:
6054
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6055
+ * the JSPB instance for transitional soy proto support:
5407
6056
  * http://goto/soy-param-migration
5408
6057
  * @param {!proto.ic_ledger.pb.v1.Mint} msg The msg instance to transform.
5409
6058
  * @return {!Object}
@@ -5517,20 +6166,27 @@ proto.ic_ledger.pb.v1.Mint.prototype.getTo = function() {
5517
6166
  };
5518
6167
 
5519
6168
 
5520
- /** @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value */
6169
+ /**
6170
+ * @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value
6171
+ * @return {!proto.ic_ledger.pb.v1.Mint} returns this
6172
+ */
5521
6173
  proto.ic_ledger.pb.v1.Mint.prototype.setTo = function(value) {
5522
- jspb.Message.setWrapperField(this, 2, value);
6174
+ return jspb.Message.setWrapperField(this, 2, value);
5523
6175
  };
5524
6176
 
5525
6177
 
6178
+ /**
6179
+ * Clears the message field making it undefined.
6180
+ * @return {!proto.ic_ledger.pb.v1.Mint} returns this
6181
+ */
5526
6182
  proto.ic_ledger.pb.v1.Mint.prototype.clearTo = function() {
5527
- this.setTo(undefined);
6183
+ return this.setTo(undefined);
5528
6184
  };
5529
6185
 
5530
6186
 
5531
6187
  /**
5532
6188
  * Returns whether this field is set.
5533
- * @return {!boolean}
6189
+ * @return {boolean}
5534
6190
  */
5535
6191
  proto.ic_ledger.pb.v1.Mint.prototype.hasTo = function() {
5536
6192
  return jspb.Message.getField(this, 2) != null;
@@ -5547,20 +6203,27 @@ proto.ic_ledger.pb.v1.Mint.prototype.getAmount = function() {
5547
6203
  };
5548
6204
 
5549
6205
 
5550
- /** @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value */
6206
+ /**
6207
+ * @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value
6208
+ * @return {!proto.ic_ledger.pb.v1.Mint} returns this
6209
+ */
5551
6210
  proto.ic_ledger.pb.v1.Mint.prototype.setAmount = function(value) {
5552
- jspb.Message.setWrapperField(this, 3, value);
6211
+ return jspb.Message.setWrapperField(this, 3, value);
5553
6212
  };
5554
6213
 
5555
6214
 
6215
+ /**
6216
+ * Clears the message field making it undefined.
6217
+ * @return {!proto.ic_ledger.pb.v1.Mint} returns this
6218
+ */
5556
6219
  proto.ic_ledger.pb.v1.Mint.prototype.clearAmount = function() {
5557
- this.setAmount(undefined);
6220
+ return this.setAmount(undefined);
5558
6221
  };
5559
6222
 
5560
6223
 
5561
6224
  /**
5562
6225
  * Returns whether this field is set.
5563
- * @return {!boolean}
6226
+ * @return {boolean}
5564
6227
  */
5565
6228
  proto.ic_ledger.pb.v1.Mint.prototype.hasAmount = function() {
5566
6229
  return jspb.Message.getField(this, 3) != null;
@@ -5568,34 +6231,19 @@ proto.ic_ledger.pb.v1.Mint.prototype.hasAmount = function() {
5568
6231
 
5569
6232
 
5570
6233
 
5571
- /**
5572
- * Generated by JsPbCodeGenerator.
5573
- * @param {Array=} opt_data Optional initial data array, typically from a
5574
- * server response, or constructed directly in Javascript. The array is used
5575
- * in place and becomes part of the constructed object. It is not cloned.
5576
- * If no data is provided, the constructed object will be empty, but still
5577
- * valid.
5578
- * @extends {jspb.Message}
5579
- * @constructor
5580
- */
5581
- proto.ic_ledger.pb.v1.Burn = function(opt_data) {
5582
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5583
- };
5584
- goog.inherits(proto.ic_ledger.pb.v1.Burn, jspb.Message);
5585
- if (goog.DEBUG && !COMPILED) {
5586
- proto.ic_ledger.pb.v1.Burn.displayName = 'proto.ic_ledger.pb.v1.Burn';
5587
- }
5588
6234
 
5589
6235
 
5590
6236
  if (jspb.Message.GENERATE_TO_OBJECT) {
5591
6237
  /**
5592
- * Creates an object representation of this proto suitable for use in Soy templates.
6238
+ * Creates an object representation of this proto.
5593
6239
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
6240
+ * Optional fields that are not set will be set to undefined.
5594
6241
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5595
6242
  * For the list of reserved names please see:
5596
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
5597
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
5598
- * for transitional soy proto support: http://goto/soy-param-migration
6243
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6244
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6245
+ * JSPB instance for transitional soy proto support:
6246
+ * http://goto/soy-param-migration
5599
6247
  * @return {!Object}
5600
6248
  */
5601
6249
  proto.ic_ledger.pb.v1.Burn.prototype.toObject = function(opt_includeInstance) {
@@ -5605,8 +6253,8 @@ proto.ic_ledger.pb.v1.Burn.prototype.toObject = function(opt_includeInstance) {
5605
6253
 
5606
6254
  /**
5607
6255
  * Static version of the {@see toObject} method.
5608
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
5609
- * instance for transitional soy proto support:
6256
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6257
+ * the JSPB instance for transitional soy proto support:
5610
6258
  * http://goto/soy-param-migration
5611
6259
  * @param {!proto.ic_ledger.pb.v1.Burn} msg The msg instance to transform.
5612
6260
  * @return {!Object}
@@ -5720,20 +6368,27 @@ proto.ic_ledger.pb.v1.Burn.prototype.getFrom = function() {
5720
6368
  };
5721
6369
 
5722
6370
 
5723
- /** @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value */
6371
+ /**
6372
+ * @param {?proto.ic_ledger.pb.v1.AccountIdentifier|undefined} value
6373
+ * @return {!proto.ic_ledger.pb.v1.Burn} returns this
6374
+ */
5724
6375
  proto.ic_ledger.pb.v1.Burn.prototype.setFrom = function(value) {
5725
- jspb.Message.setWrapperField(this, 1, value);
6376
+ return jspb.Message.setWrapperField(this, 1, value);
5726
6377
  };
5727
6378
 
5728
6379
 
6380
+ /**
6381
+ * Clears the message field making it undefined.
6382
+ * @return {!proto.ic_ledger.pb.v1.Burn} returns this
6383
+ */
5729
6384
  proto.ic_ledger.pb.v1.Burn.prototype.clearFrom = function() {
5730
- this.setFrom(undefined);
6385
+ return this.setFrom(undefined);
5731
6386
  };
5732
6387
 
5733
6388
 
5734
6389
  /**
5735
6390
  * Returns whether this field is set.
5736
- * @return {!boolean}
6391
+ * @return {boolean}
5737
6392
  */
5738
6393
  proto.ic_ledger.pb.v1.Burn.prototype.hasFrom = function() {
5739
6394
  return jspb.Message.getField(this, 1) != null;
@@ -5750,20 +6405,27 @@ proto.ic_ledger.pb.v1.Burn.prototype.getAmount = function() {
5750
6405
  };
5751
6406
 
5752
6407
 
5753
- /** @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value */
6408
+ /**
6409
+ * @param {?proto.ic_ledger.pb.v1.ICPTs|undefined} value
6410
+ * @return {!proto.ic_ledger.pb.v1.Burn} returns this
6411
+ */
5754
6412
  proto.ic_ledger.pb.v1.Burn.prototype.setAmount = function(value) {
5755
- jspb.Message.setWrapperField(this, 3, value);
6413
+ return jspb.Message.setWrapperField(this, 3, value);
5756
6414
  };
5757
6415
 
5758
6416
 
6417
+ /**
6418
+ * Clears the message field making it undefined.
6419
+ * @return {!proto.ic_ledger.pb.v1.Burn} returns this
6420
+ */
5759
6421
  proto.ic_ledger.pb.v1.Burn.prototype.clearAmount = function() {
5760
- this.setAmount(undefined);
6422
+ return this.setAmount(undefined);
5761
6423
  };
5762
6424
 
5763
6425
 
5764
6426
  /**
5765
6427
  * Returns whether this field is set.
5766
- * @return {!boolean}
6428
+ * @return {boolean}
5767
6429
  */
5768
6430
  proto.ic_ledger.pb.v1.Burn.prototype.hasAmount = function() {
5769
6431
  return jspb.Message.getField(this, 3) != null;
@@ -5771,34 +6433,19 @@ proto.ic_ledger.pb.v1.Burn.prototype.hasAmount = function() {
5771
6433
 
5772
6434
 
5773
6435
 
5774
- /**
5775
- * Generated by JsPbCodeGenerator.
5776
- * @param {Array=} opt_data Optional initial data array, typically from a
5777
- * server response, or constructed directly in Javascript. The array is used
5778
- * in place and becomes part of the constructed object. It is not cloned.
5779
- * If no data is provided, the constructed object will be empty, but still
5780
- * valid.
5781
- * @extends {jspb.Message}
5782
- * @constructor
5783
- */
5784
- proto.ic_ledger.pb.v1.AccountIdentifier = function(opt_data) {
5785
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5786
- };
5787
- goog.inherits(proto.ic_ledger.pb.v1.AccountIdentifier, jspb.Message);
5788
- if (goog.DEBUG && !COMPILED) {
5789
- proto.ic_ledger.pb.v1.AccountIdentifier.displayName = 'proto.ic_ledger.pb.v1.AccountIdentifier';
5790
- }
5791
6436
 
5792
6437
 
5793
6438
  if (jspb.Message.GENERATE_TO_OBJECT) {
5794
6439
  /**
5795
- * Creates an object representation of this proto suitable for use in Soy templates.
6440
+ * Creates an object representation of this proto.
5796
6441
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
6442
+ * Optional fields that are not set will be set to undefined.
5797
6443
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5798
6444
  * For the list of reserved names please see:
5799
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
5800
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
5801
- * for transitional soy proto support: http://goto/soy-param-migration
6445
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6446
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6447
+ * JSPB instance for transitional soy proto support:
6448
+ * http://goto/soy-param-migration
5802
6449
  * @return {!Object}
5803
6450
  */
5804
6451
  proto.ic_ledger.pb.v1.AccountIdentifier.prototype.toObject = function(opt_includeInstance) {
@@ -5808,8 +6455,8 @@ proto.ic_ledger.pb.v1.AccountIdentifier.prototype.toObject = function(opt_includ
5808
6455
 
5809
6456
  /**
5810
6457
  * Static version of the {@see toObject} method.
5811
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
5812
- * instance for transitional soy proto support:
6458
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6459
+ * the JSPB instance for transitional soy proto support:
5813
6460
  * http://goto/soy-param-migration
5814
6461
  * @param {!proto.ic_ledger.pb.v1.AccountIdentifier} msg The msg instance to transform.
5815
6462
  * @return {!Object}
@@ -5930,41 +6577,29 @@ proto.ic_ledger.pb.v1.AccountIdentifier.prototype.getHash_asU8 = function() {
5930
6577
  };
5931
6578
 
5932
6579
 
5933
- /** @param {!(string|Uint8Array)} value */
6580
+ /**
6581
+ * @param {!(string|Uint8Array)} value
6582
+ * @return {!proto.ic_ledger.pb.v1.AccountIdentifier} returns this
6583
+ */
5934
6584
  proto.ic_ledger.pb.v1.AccountIdentifier.prototype.setHash = function(value) {
5935
- jspb.Message.setProto3BytesField(this, 1, value);
6585
+ return jspb.Message.setProto3BytesField(this, 1, value);
5936
6586
  };
5937
6587
 
5938
6588
 
5939
6589
 
5940
- /**
5941
- * Generated by JsPbCodeGenerator.
5942
- * @param {Array=} opt_data Optional initial data array, typically from a
5943
- * server response, or constructed directly in Javascript. The array is used
5944
- * in place and becomes part of the constructed object. It is not cloned.
5945
- * If no data is provided, the constructed object will be empty, but still
5946
- * valid.
5947
- * @extends {jspb.Message}
5948
- * @constructor
5949
- */
5950
- proto.ic_ledger.pb.v1.Subaccount = function(opt_data) {
5951
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5952
- };
5953
- goog.inherits(proto.ic_ledger.pb.v1.Subaccount, jspb.Message);
5954
- if (goog.DEBUG && !COMPILED) {
5955
- proto.ic_ledger.pb.v1.Subaccount.displayName = 'proto.ic_ledger.pb.v1.Subaccount';
5956
- }
5957
6590
 
5958
6591
 
5959
6592
  if (jspb.Message.GENERATE_TO_OBJECT) {
5960
6593
  /**
5961
- * Creates an object representation of this proto suitable for use in Soy templates.
6594
+ * Creates an object representation of this proto.
5962
6595
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
6596
+ * Optional fields that are not set will be set to undefined.
5963
6597
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5964
6598
  * For the list of reserved names please see:
5965
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
5966
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
5967
- * for transitional soy proto support: http://goto/soy-param-migration
6599
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6600
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6601
+ * JSPB instance for transitional soy proto support:
6602
+ * http://goto/soy-param-migration
5968
6603
  * @return {!Object}
5969
6604
  */
5970
6605
  proto.ic_ledger.pb.v1.Subaccount.prototype.toObject = function(opt_includeInstance) {
@@ -5974,8 +6609,8 @@ proto.ic_ledger.pb.v1.Subaccount.prototype.toObject = function(opt_includeInstan
5974
6609
 
5975
6610
  /**
5976
6611
  * Static version of the {@see toObject} method.
5977
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
5978
- * instance for transitional soy proto support:
6612
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6613
+ * the JSPB instance for transitional soy proto support:
5979
6614
  * http://goto/soy-param-migration
5980
6615
  * @param {!proto.ic_ledger.pb.v1.Subaccount} msg The msg instance to transform.
5981
6616
  * @return {!Object}
@@ -6096,41 +6731,29 @@ proto.ic_ledger.pb.v1.Subaccount.prototype.getSubAccount_asU8 = function() {
6096
6731
  };
6097
6732
 
6098
6733
 
6099
- /** @param {!(string|Uint8Array)} value */
6734
+ /**
6735
+ * @param {!(string|Uint8Array)} value
6736
+ * @return {!proto.ic_ledger.pb.v1.Subaccount} returns this
6737
+ */
6100
6738
  proto.ic_ledger.pb.v1.Subaccount.prototype.setSubAccount = function(value) {
6101
- jspb.Message.setProto3BytesField(this, 1, value);
6739
+ return jspb.Message.setProto3BytesField(this, 1, value);
6102
6740
  };
6103
6741
 
6104
6742
 
6105
6743
 
6106
- /**
6107
- * Generated by JsPbCodeGenerator.
6108
- * @param {Array=} opt_data Optional initial data array, typically from a
6109
- * server response, or constructed directly in Javascript. The array is used
6110
- * in place and becomes part of the constructed object. It is not cloned.
6111
- * If no data is provided, the constructed object will be empty, but still
6112
- * valid.
6113
- * @extends {jspb.Message}
6114
- * @constructor
6115
- */
6116
- proto.ic_ledger.pb.v1.Memo = function(opt_data) {
6117
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6118
- };
6119
- goog.inherits(proto.ic_ledger.pb.v1.Memo, jspb.Message);
6120
- if (goog.DEBUG && !COMPILED) {
6121
- proto.ic_ledger.pb.v1.Memo.displayName = 'proto.ic_ledger.pb.v1.Memo';
6122
- }
6123
6744
 
6124
6745
 
6125
6746
  if (jspb.Message.GENERATE_TO_OBJECT) {
6126
6747
  /**
6127
- * Creates an object representation of this proto suitable for use in Soy templates.
6748
+ * Creates an object representation of this proto.
6128
6749
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
6750
+ * Optional fields that are not set will be set to undefined.
6129
6751
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6130
6752
  * For the list of reserved names please see:
6131
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
6132
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
6133
- * for transitional soy proto support: http://goto/soy-param-migration
6753
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6754
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6755
+ * JSPB instance for transitional soy proto support:
6756
+ * http://goto/soy-param-migration
6134
6757
  * @return {!Object}
6135
6758
  */
6136
6759
  proto.ic_ledger.pb.v1.Memo.prototype.toObject = function(opt_includeInstance) {
@@ -6140,8 +6763,8 @@ proto.ic_ledger.pb.v1.Memo.prototype.toObject = function(opt_includeInstance) {
6140
6763
 
6141
6764
  /**
6142
6765
  * Static version of the {@see toObject} method.
6143
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
6144
- * instance for transitional soy proto support:
6766
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6767
+ * the JSPB instance for transitional soy proto support:
6145
6768
  * http://goto/soy-param-migration
6146
6769
  * @param {!proto.ic_ledger.pb.v1.Memo} msg The msg instance to transform.
6147
6770
  * @return {!Object}
@@ -6238,41 +6861,29 @@ proto.ic_ledger.pb.v1.Memo.prototype.getMemo = function() {
6238
6861
  };
6239
6862
 
6240
6863
 
6241
- /** @param {string} value */
6864
+ /**
6865
+ * @param {string} value
6866
+ * @return {!proto.ic_ledger.pb.v1.Memo} returns this
6867
+ */
6242
6868
  proto.ic_ledger.pb.v1.Memo.prototype.setMemo = function(value) {
6243
- jspb.Message.setProto3StringIntField(this, 1, value);
6869
+ return jspb.Message.setProto3StringIntField(this, 1, value);
6244
6870
  };
6245
6871
 
6246
6872
 
6247
6873
 
6248
- /**
6249
- * Generated by JsPbCodeGenerator.
6250
- * @param {Array=} opt_data Optional initial data array, typically from a
6251
- * server response, or constructed directly in Javascript. The array is used
6252
- * in place and becomes part of the constructed object. It is not cloned.
6253
- * If no data is provided, the constructed object will be empty, but still
6254
- * valid.
6255
- * @extends {jspb.Message}
6256
- * @constructor
6257
- */
6258
- proto.ic_ledger.pb.v1.TimeStamp = function(opt_data) {
6259
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6260
- };
6261
- goog.inherits(proto.ic_ledger.pb.v1.TimeStamp, jspb.Message);
6262
- if (goog.DEBUG && !COMPILED) {
6263
- proto.ic_ledger.pb.v1.TimeStamp.displayName = 'proto.ic_ledger.pb.v1.TimeStamp';
6264
- }
6265
6874
 
6266
6875
 
6267
6876
  if (jspb.Message.GENERATE_TO_OBJECT) {
6268
6877
  /**
6269
- * Creates an object representation of this proto suitable for use in Soy templates.
6878
+ * Creates an object representation of this proto.
6270
6879
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
6880
+ * Optional fields that are not set will be set to undefined.
6271
6881
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6272
6882
  * For the list of reserved names please see:
6273
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
6274
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
6275
- * for transitional soy proto support: http://goto/soy-param-migration
6883
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6884
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6885
+ * JSPB instance for transitional soy proto support:
6886
+ * http://goto/soy-param-migration
6276
6887
  * @return {!Object}
6277
6888
  */
6278
6889
  proto.ic_ledger.pb.v1.TimeStamp.prototype.toObject = function(opt_includeInstance) {
@@ -6282,8 +6893,8 @@ proto.ic_ledger.pb.v1.TimeStamp.prototype.toObject = function(opt_includeInstanc
6282
6893
 
6283
6894
  /**
6284
6895
  * Static version of the {@see toObject} method.
6285
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
6286
- * instance for transitional soy proto support:
6896
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6897
+ * the JSPB instance for transitional soy proto support:
6287
6898
  * http://goto/soy-param-migration
6288
6899
  * @param {!proto.ic_ledger.pb.v1.TimeStamp} msg The msg instance to transform.
6289
6900
  * @return {!Object}
@@ -6380,41 +6991,29 @@ proto.ic_ledger.pb.v1.TimeStamp.prototype.getTimestampNanos = function() {
6380
6991
  };
6381
6992
 
6382
6993
 
6383
- /** @param {string} value */
6994
+ /**
6995
+ * @param {string} value
6996
+ * @return {!proto.ic_ledger.pb.v1.TimeStamp} returns this
6997
+ */
6384
6998
  proto.ic_ledger.pb.v1.TimeStamp.prototype.setTimestampNanos = function(value) {
6385
- jspb.Message.setProto3StringIntField(this, 1, value);
6999
+ return jspb.Message.setProto3StringIntField(this, 1, value);
6386
7000
  };
6387
7001
 
6388
7002
 
6389
7003
 
6390
- /**
6391
- * Generated by JsPbCodeGenerator.
6392
- * @param {Array=} opt_data Optional initial data array, typically from a
6393
- * server response, or constructed directly in Javascript. The array is used
6394
- * in place and becomes part of the constructed object. It is not cloned.
6395
- * If no data is provided, the constructed object will be empty, but still
6396
- * valid.
6397
- * @extends {jspb.Message}
6398
- * @constructor
6399
- */
6400
- proto.ic_ledger.pb.v1.Certification = function(opt_data) {
6401
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6402
- };
6403
- goog.inherits(proto.ic_ledger.pb.v1.Certification, jspb.Message);
6404
- if (goog.DEBUG && !COMPILED) {
6405
- proto.ic_ledger.pb.v1.Certification.displayName = 'proto.ic_ledger.pb.v1.Certification';
6406
- }
6407
7004
 
6408
7005
 
6409
7006
  if (jspb.Message.GENERATE_TO_OBJECT) {
6410
7007
  /**
6411
- * Creates an object representation of this proto suitable for use in Soy templates.
7008
+ * Creates an object representation of this proto.
6412
7009
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
7010
+ * Optional fields that are not set will be set to undefined.
6413
7011
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6414
7012
  * For the list of reserved names please see:
6415
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
6416
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
6417
- * for transitional soy proto support: http://goto/soy-param-migration
7013
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7014
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7015
+ * JSPB instance for transitional soy proto support:
7016
+ * http://goto/soy-param-migration
6418
7017
  * @return {!Object}
6419
7018
  */
6420
7019
  proto.ic_ledger.pb.v1.Certification.prototype.toObject = function(opt_includeInstance) {
@@ -6424,8 +7023,8 @@ proto.ic_ledger.pb.v1.Certification.prototype.toObject = function(opt_includeIns
6424
7023
 
6425
7024
  /**
6426
7025
  * Static version of the {@see toObject} method.
6427
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
6428
- * instance for transitional soy proto support:
7026
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7027
+ * the JSPB instance for transitional soy proto support:
6429
7028
  * http://goto/soy-param-migration
6430
7029
  * @param {!proto.ic_ledger.pb.v1.Certification} msg The msg instance to transform.
6431
7030
  * @return {!Object}
@@ -6546,9 +7145,12 @@ proto.ic_ledger.pb.v1.Certification.prototype.getCertification_asU8 = function()
6546
7145
  };
6547
7146
 
6548
7147
 
6549
- /** @param {!(string|Uint8Array)} value */
7148
+ /**
7149
+ * @param {!(string|Uint8Array)} value
7150
+ * @return {!proto.ic_ledger.pb.v1.Certification} returns this
7151
+ */
6550
7152
  proto.ic_ledger.pb.v1.Certification.prototype.setCertification = function(value) {
6551
- jspb.Message.setProto3BytesField(this, 1, value);
7153
+ return jspb.Message.setProto3BytesField(this, 1, value);
6552
7154
  };
6553
7155
 
6554
7156