@meshtrade/api-old 1.36.0 → 1.37.0

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 (27) hide show
  1. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +10 -0
  2. package/dist/meshtrade/iam/api_user/v1/service_grpc_web_client_meshts.js +10 -0
  3. package/dist/meshtrade/iam/group/v1/service_grpc_web_client_meshts.js +10 -0
  4. package/dist/meshtrade/iam/role/v1/role.js +2 -0
  5. package/dist/meshtrade/iam/role/v1/role_pb.d.ts +2 -0
  6. package/dist/meshtrade/iam/role/v1/role_pb.js +3 -1
  7. package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.js +10 -0
  8. package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_client_meshts.js +11 -2
  9. package/dist/meshtrade/market_data/price/v1/service_grpc_web_client_meshts.js +10 -0
  10. package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_client_meshts.js +10 -0
  11. package/dist/meshtrade/testing/ledger/token_tap/v1/index.d.ts +4 -0
  12. package/dist/meshtrade/testing/ledger/token_tap/v1/index.js +45 -0
  13. package/dist/meshtrade/testing/ledger/token_tap/v1/option_pb.d.ts +173 -0
  14. package/dist/meshtrade/testing/ledger/token_tap/v1/option_pb.js +1351 -0
  15. package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_client_meshts.d.ts +46 -0
  16. package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_client_meshts.js +88 -0
  17. package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_pb.d.ts +55 -0
  18. package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_pb.js +275 -0
  19. package/dist/meshtrade/testing/ledger/token_tap/v1/service_pb.d.ts +115 -0
  20. package/dist/meshtrade/testing/ledger/token_tap/v1/service_pb.js +962 -0
  21. package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_client_meshts.js +11 -2
  22. package/dist/meshtrade/trading/market_order/v1/service_grpc_web_client_meshts.js +10 -0
  23. package/dist/meshtrade/type/v1/ledger.js +3 -0
  24. package/dist/meshtrade/type/v1/ledger_pb.d.ts +2 -1
  25. package/dist/meshtrade/type/v1/ledger_pb.js +2 -1
  26. package/dist/meshtrade/wallet/account/v1/service_grpc_web_client_meshts.js +10 -0
  27. package/package.json +1 -1
@@ -0,0 +1,1351 @@
1
+ // source: meshtrade/testing/ledger/token_tap/v1/option.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions', null, global);
25
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.MintTokenOptionsCase', null, global);
26
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption', null, global);
27
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.SolanaMintOptionCase', null, global);
28
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions', null, global);
29
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken', null, global);
30
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption', null, global);
31
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption', null, global);
32
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.StellarMintOptionCase', null, global);
33
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions', null, global);
34
+ goog.exportSymbol('proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo', null, global);
35
+ /**
36
+ * Generated by JsPbCodeGenerator.
37
+ * @param {Array=} opt_data Optional initial data array, typically from a
38
+ * server response, or constructed directly in Javascript. The array is used
39
+ * in place and becomes part of the constructed object. It is not cloned.
40
+ * If no data is provided, the constructed object will be empty, but still
41
+ * valid.
42
+ * @extends {jspb.Message}
43
+ * @constructor
44
+ */
45
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions = function(opt_data) {
46
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.oneofGroups_);
47
+ };
48
+ goog.inherits(proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions, jspb.Message);
49
+ if (goog.DEBUG && !COMPILED) {
50
+ /**
51
+ * @public
52
+ * @override
53
+ */
54
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions';
55
+ }
56
+ /**
57
+ * Generated by JsPbCodeGenerator.
58
+ * @param {Array=} opt_data Optional initial data array, typically from a
59
+ * server response, or constructed directly in Javascript. The array is used
60
+ * in place and becomes part of the constructed object. It is not cloned.
61
+ * If no data is provided, the constructed object will be empty, but still
62
+ * valid.
63
+ * @extends {jspb.Message}
64
+ * @constructor
65
+ */
66
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions = function(opt_data) {
67
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.repeatedFields_, null);
68
+ };
69
+ goog.inherits(proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions, jspb.Message);
70
+ if (goog.DEBUG && !COMPILED) {
71
+ /**
72
+ * @public
73
+ * @override
74
+ */
75
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions';
76
+ }
77
+ /**
78
+ * Generated by JsPbCodeGenerator.
79
+ * @param {Array=} opt_data Optional initial data array, typically from a
80
+ * server response, or constructed directly in Javascript. The array is used
81
+ * in place and becomes part of the constructed object. It is not cloned.
82
+ * If no data is provided, the constructed object will be empty, but still
83
+ * valid.
84
+ * @extends {jspb.Message}
85
+ * @constructor
86
+ */
87
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption = function(opt_data) {
88
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.oneofGroups_);
89
+ };
90
+ goog.inherits(proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption, jspb.Message);
91
+ if (goog.DEBUG && !COMPILED) {
92
+ /**
93
+ * @public
94
+ * @override
95
+ */
96
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption';
97
+ }
98
+ /**
99
+ * Generated by JsPbCodeGenerator.
100
+ * @param {Array=} opt_data Optional initial data array, typically from a
101
+ * server response, or constructed directly in Javascript. The array is used
102
+ * in place and becomes part of the constructed object. It is not cloned.
103
+ * If no data is provided, the constructed object will be empty, but still
104
+ * valid.
105
+ * @extends {jspb.Message}
106
+ * @constructor
107
+ */
108
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo = function(opt_data) {
109
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
110
+ };
111
+ goog.inherits(proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo, jspb.Message);
112
+ if (goog.DEBUG && !COMPILED) {
113
+ /**
114
+ * @public
115
+ * @override
116
+ */
117
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo';
118
+ }
119
+ /**
120
+ * Generated by JsPbCodeGenerator.
121
+ * @param {Array=} opt_data Optional initial data array, typically from a
122
+ * server response, or constructed directly in Javascript. The array is used
123
+ * in place and becomes part of the constructed object. It is not cloned.
124
+ * If no data is provided, the constructed object will be empty, but still
125
+ * valid.
126
+ * @extends {jspb.Message}
127
+ * @constructor
128
+ */
129
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions = function(opt_data) {
130
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.repeatedFields_, null);
131
+ };
132
+ goog.inherits(proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions, jspb.Message);
133
+ if (goog.DEBUG && !COMPILED) {
134
+ /**
135
+ * @public
136
+ * @override
137
+ */
138
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions';
139
+ }
140
+ /**
141
+ * Generated by JsPbCodeGenerator.
142
+ * @param {Array=} opt_data Optional initial data array, typically from a
143
+ * server response, or constructed directly in Javascript. The array is used
144
+ * in place and becomes part of the constructed object. It is not cloned.
145
+ * If no data is provided, the constructed object will be empty, but still
146
+ * valid.
147
+ * @extends {jspb.Message}
148
+ * @constructor
149
+ */
150
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption = function(opt_data) {
151
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.oneofGroups_);
152
+ };
153
+ goog.inherits(proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption, jspb.Message);
154
+ if (goog.DEBUG && !COMPILED) {
155
+ /**
156
+ * @public
157
+ * @override
158
+ */
159
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption';
160
+ }
161
+ /**
162
+ * Generated by JsPbCodeGenerator.
163
+ * @param {Array=} opt_data Optional initial data array, typically from a
164
+ * server response, or constructed directly in Javascript. The array is used
165
+ * in place and becomes part of the constructed object. It is not cloned.
166
+ * If no data is provided, the constructed object will be empty, but still
167
+ * valid.
168
+ * @extends {jspb.Message}
169
+ * @constructor
170
+ */
171
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption = function(opt_data) {
172
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
173
+ };
174
+ goog.inherits(proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption, jspb.Message);
175
+ if (goog.DEBUG && !COMPILED) {
176
+ /**
177
+ * @public
178
+ * @override
179
+ */
180
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.displayName = 'proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption';
181
+ }
182
+
183
+ /**
184
+ * Oneof group definitions for this message. Each group defines the field
185
+ * numbers belonging to that group. When of these fields' value is set, all
186
+ * other fields in the group are cleared. During deserialization, if multiple
187
+ * fields are encountered for a group, only the last value seen will be kept.
188
+ * @private {!Array<!Array<number>>}
189
+ * @const
190
+ */
191
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.oneofGroups_ = [[1,2]];
192
+
193
+ /**
194
+ * @enum {number}
195
+ */
196
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.MintTokenOptionsCase = {
197
+ MINT_TOKEN_OPTIONS_NOT_SET: 0,
198
+ STELLAR_MINT_OPTIONS: 1,
199
+ SOLANA_MINT_OPTIONS: 2
200
+ };
201
+
202
+ /**
203
+ * @return {proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.MintTokenOptionsCase}
204
+ */
205
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.getMintTokenOptionsCase = function() {
206
+ return /** @type {proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.MintTokenOptionsCase} */(jspb.Message.computeOneofCase(this, proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.oneofGroups_[0]));
207
+ };
208
+
209
+
210
+
211
+ if (jspb.Message.GENERATE_TO_OBJECT) {
212
+ /**
213
+ * Creates an object representation of this proto.
214
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
215
+ * Optional fields that are not set will be set to undefined.
216
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
217
+ * For the list of reserved names please see:
218
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
219
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
220
+ * JSPB instance for transitional soy proto support:
221
+ * http://goto/soy-param-migration
222
+ * @return {!Object}
223
+ */
224
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.toObject = function(opt_includeInstance) {
225
+ return proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.toObject(opt_includeInstance, this);
226
+ };
227
+
228
+
229
+ /**
230
+ * Static version of the {@see toObject} method.
231
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
232
+ * the JSPB instance for transitional soy proto support:
233
+ * http://goto/soy-param-migration
234
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions} msg The msg instance to transform.
235
+ * @return {!Object}
236
+ * @suppress {unusedLocalVariables} f is only used for nested messages
237
+ */
238
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.toObject = function(includeInstance, msg) {
239
+ var f, obj = {
240
+ stellarMintOptions: (f = msg.getStellarMintOptions()) && proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.toObject(includeInstance, f),
241
+ solanaMintOptions: (f = msg.getSolanaMintOptions()) && proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.toObject(includeInstance, f)
242
+ };
243
+
244
+ if (includeInstance) {
245
+ obj.$jspbMessageInstance = msg;
246
+ }
247
+ return obj;
248
+ };
249
+ }
250
+
251
+
252
+ /**
253
+ * Deserializes binary data (in protobuf wire format).
254
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
255
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions}
256
+ */
257
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.deserializeBinary = function(bytes) {
258
+ var reader = new jspb.BinaryReader(bytes);
259
+ var msg = new proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions;
260
+ return proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.deserializeBinaryFromReader(msg, reader);
261
+ };
262
+
263
+
264
+ /**
265
+ * Deserializes binary data (in protobuf wire format) from the
266
+ * given reader into the given message object.
267
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions} msg The message object to deserialize into.
268
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
269
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions}
270
+ */
271
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.deserializeBinaryFromReader = function(msg, reader) {
272
+ while (reader.nextField()) {
273
+ if (reader.isEndGroup()) {
274
+ break;
275
+ }
276
+ var field = reader.getFieldNumber();
277
+ switch (field) {
278
+ case 1:
279
+ var value = new proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions;
280
+ reader.readMessage(value,proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.deserializeBinaryFromReader);
281
+ msg.setStellarMintOptions(value);
282
+ break;
283
+ case 2:
284
+ var value = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions;
285
+ reader.readMessage(value,proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.deserializeBinaryFromReader);
286
+ msg.setSolanaMintOptions(value);
287
+ break;
288
+ default:
289
+ reader.skipField();
290
+ break;
291
+ }
292
+ }
293
+ return msg;
294
+ };
295
+
296
+
297
+ /**
298
+ * Serializes the message to binary data (in protobuf wire format).
299
+ * @return {!Uint8Array}
300
+ */
301
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.serializeBinary = function() {
302
+ var writer = new jspb.BinaryWriter();
303
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.serializeBinaryToWriter(this, writer);
304
+ return writer.getResultBuffer();
305
+ };
306
+
307
+
308
+ /**
309
+ * Serializes the given message to binary data (in protobuf wire
310
+ * format), writing to the given BinaryWriter.
311
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions} message
312
+ * @param {!jspb.BinaryWriter} writer
313
+ * @suppress {unusedLocalVariables} f is only used for nested messages
314
+ */
315
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.serializeBinaryToWriter = function(message, writer) {
316
+ var f = undefined;
317
+ f = message.getStellarMintOptions();
318
+ if (f != null) {
319
+ writer.writeMessage(
320
+ 1,
321
+ f,
322
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.serializeBinaryToWriter
323
+ );
324
+ }
325
+ f = message.getSolanaMintOptions();
326
+ if (f != null) {
327
+ writer.writeMessage(
328
+ 2,
329
+ f,
330
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.serializeBinaryToWriter
331
+ );
332
+ }
333
+ };
334
+
335
+
336
+ /**
337
+ * optional StellarMintOptions stellar_mint_options = 1;
338
+ * @return {?proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions}
339
+ */
340
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.getStellarMintOptions = function() {
341
+ return /** @type{?proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions} */ (
342
+ jspb.Message.getWrapperField(this, proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions, 1));
343
+ };
344
+
345
+
346
+ /**
347
+ * @param {?proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions|undefined} value
348
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions} returns this
349
+ */
350
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.setStellarMintOptions = function(value) {
351
+ return jspb.Message.setOneofWrapperField(this, 1, proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.oneofGroups_[0], value);
352
+ };
353
+
354
+
355
+ /**
356
+ * Clears the message field making it undefined.
357
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions} returns this
358
+ */
359
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.clearStellarMintOptions = function() {
360
+ return this.setStellarMintOptions(undefined);
361
+ };
362
+
363
+
364
+ /**
365
+ * Returns whether this field is set.
366
+ * @return {boolean}
367
+ */
368
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.hasStellarMintOptions = function() {
369
+ return jspb.Message.getField(this, 1) != null;
370
+ };
371
+
372
+
373
+ /**
374
+ * optional SolanaMintOptions solana_mint_options = 2;
375
+ * @return {?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions}
376
+ */
377
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.getSolanaMintOptions = function() {
378
+ return /** @type{?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} */ (
379
+ jspb.Message.getWrapperField(this, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions, 2));
380
+ };
381
+
382
+
383
+ /**
384
+ * @param {?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions|undefined} value
385
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions} returns this
386
+ */
387
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.setSolanaMintOptions = function(value) {
388
+ return jspb.Message.setOneofWrapperField(this, 2, proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.oneofGroups_[0], value);
389
+ };
390
+
391
+
392
+ /**
393
+ * Clears the message field making it undefined.
394
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions} returns this
395
+ */
396
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.clearSolanaMintOptions = function() {
397
+ return this.setSolanaMintOptions(undefined);
398
+ };
399
+
400
+
401
+ /**
402
+ * Returns whether this field is set.
403
+ * @return {boolean}
404
+ */
405
+ proto.meshtrade.testing.ledger.token_tap.v1.MintTokenOptions.prototype.hasSolanaMintOptions = function() {
406
+ return jspb.Message.getField(this, 2) != null;
407
+ };
408
+
409
+
410
+
411
+ /**
412
+ * List of repeated fields within this message type.
413
+ * @private {!Array<number>}
414
+ * @const
415
+ */
416
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.repeatedFields_ = [1];
417
+
418
+
419
+
420
+ if (jspb.Message.GENERATE_TO_OBJECT) {
421
+ /**
422
+ * Creates an object representation of this proto.
423
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
424
+ * Optional fields that are not set will be set to undefined.
425
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
426
+ * For the list of reserved names please see:
427
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
428
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
429
+ * JSPB instance for transitional soy proto support:
430
+ * http://goto/soy-param-migration
431
+ * @return {!Object}
432
+ */
433
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.prototype.toObject = function(opt_includeInstance) {
434
+ return proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.toObject(opt_includeInstance, this);
435
+ };
436
+
437
+
438
+ /**
439
+ * Static version of the {@see toObject} method.
440
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
441
+ * the JSPB instance for transitional soy proto support:
442
+ * http://goto/soy-param-migration
443
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions} msg The msg instance to transform.
444
+ * @return {!Object}
445
+ * @suppress {unusedLocalVariables} f is only used for nested messages
446
+ */
447
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.toObject = function(includeInstance, msg) {
448
+ var f, obj = {
449
+ optionsList: jspb.Message.toObjectList(msg.getOptionsList(),
450
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.toObject, includeInstance)
451
+ };
452
+
453
+ if (includeInstance) {
454
+ obj.$jspbMessageInstance = msg;
455
+ }
456
+ return obj;
457
+ };
458
+ }
459
+
460
+
461
+ /**
462
+ * Deserializes binary data (in protobuf wire format).
463
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
464
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions}
465
+ */
466
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.deserializeBinary = function(bytes) {
467
+ var reader = new jspb.BinaryReader(bytes);
468
+ var msg = new proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions;
469
+ return proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.deserializeBinaryFromReader(msg, reader);
470
+ };
471
+
472
+
473
+ /**
474
+ * Deserializes binary data (in protobuf wire format) from the
475
+ * given reader into the given message object.
476
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions} msg The message object to deserialize into.
477
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
478
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions}
479
+ */
480
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.deserializeBinaryFromReader = function(msg, reader) {
481
+ while (reader.nextField()) {
482
+ if (reader.isEndGroup()) {
483
+ break;
484
+ }
485
+ var field = reader.getFieldNumber();
486
+ switch (field) {
487
+ case 1:
488
+ var value = new proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption;
489
+ reader.readMessage(value,proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.deserializeBinaryFromReader);
490
+ msg.addOptions(value);
491
+ break;
492
+ default:
493
+ reader.skipField();
494
+ break;
495
+ }
496
+ }
497
+ return msg;
498
+ };
499
+
500
+
501
+ /**
502
+ * Serializes the message to binary data (in protobuf wire format).
503
+ * @return {!Uint8Array}
504
+ */
505
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.prototype.serializeBinary = function() {
506
+ var writer = new jspb.BinaryWriter();
507
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.serializeBinaryToWriter(this, writer);
508
+ return writer.getResultBuffer();
509
+ };
510
+
511
+
512
+ /**
513
+ * Serializes the given message to binary data (in protobuf wire
514
+ * format), writing to the given BinaryWriter.
515
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions} message
516
+ * @param {!jspb.BinaryWriter} writer
517
+ * @suppress {unusedLocalVariables} f is only used for nested messages
518
+ */
519
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.serializeBinaryToWriter = function(message, writer) {
520
+ var f = undefined;
521
+ f = message.getOptionsList();
522
+ if (f.length > 0) {
523
+ writer.writeRepeatedMessage(
524
+ 1,
525
+ f,
526
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.serializeBinaryToWriter
527
+ );
528
+ }
529
+ };
530
+
531
+
532
+ /**
533
+ * repeated StellarMintOption options = 1;
534
+ * @return {!Array<!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption>}
535
+ */
536
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.prototype.getOptionsList = function() {
537
+ return /** @type{!Array<!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption>} */ (
538
+ jspb.Message.getRepeatedWrapperField(this, proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption, 1));
539
+ };
540
+
541
+
542
+ /**
543
+ * @param {!Array<!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption>} value
544
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions} returns this
545
+ */
546
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.prototype.setOptionsList = function(value) {
547
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
548
+ };
549
+
550
+
551
+ /**
552
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption=} opt_value
553
+ * @param {number=} opt_index
554
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption}
555
+ */
556
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.prototype.addOptions = function(opt_value, opt_index) {
557
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption, opt_index);
558
+ };
559
+
560
+
561
+ /**
562
+ * Clears the list making it empty but non-null.
563
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions} returns this
564
+ */
565
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOptions.prototype.clearOptionsList = function() {
566
+ return this.setOptionsList([]);
567
+ };
568
+
569
+
570
+
571
+ /**
572
+ * Oneof group definitions for this message. Each group defines the field
573
+ * numbers belonging to that group. When of these fields' value is set, all
574
+ * other fields in the group are cleared. During deserialization, if multiple
575
+ * fields are encountered for a group, only the last value seen will be kept.
576
+ * @private {!Array<!Array<number>>}
577
+ * @const
578
+ */
579
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.oneofGroups_ = [[1]];
580
+
581
+ /**
582
+ * @enum {number}
583
+ */
584
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.StellarMintOptionCase = {
585
+ STELLAR_MINT_OPTION_NOT_SET: 0,
586
+ STELLAR_MINT_TOKEN_WITH_MEMO: 1
587
+ };
588
+
589
+ /**
590
+ * @return {proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.StellarMintOptionCase}
591
+ */
592
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.prototype.getStellarMintOptionCase = function() {
593
+ return /** @type {proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.StellarMintOptionCase} */(jspb.Message.computeOneofCase(this, proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.oneofGroups_[0]));
594
+ };
595
+
596
+
597
+
598
+ if (jspb.Message.GENERATE_TO_OBJECT) {
599
+ /**
600
+ * Creates an object representation of this proto.
601
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
602
+ * Optional fields that are not set will be set to undefined.
603
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
604
+ * For the list of reserved names please see:
605
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
606
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
607
+ * JSPB instance for transitional soy proto support:
608
+ * http://goto/soy-param-migration
609
+ * @return {!Object}
610
+ */
611
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.prototype.toObject = function(opt_includeInstance) {
612
+ return proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.toObject(opt_includeInstance, this);
613
+ };
614
+
615
+
616
+ /**
617
+ * Static version of the {@see toObject} method.
618
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
619
+ * the JSPB instance for transitional soy proto support:
620
+ * http://goto/soy-param-migration
621
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption} msg The msg instance to transform.
622
+ * @return {!Object}
623
+ * @suppress {unusedLocalVariables} f is only used for nested messages
624
+ */
625
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.toObject = function(includeInstance, msg) {
626
+ var f, obj = {
627
+ stellarMintTokenWithMemo: (f = msg.getStellarMintTokenWithMemo()) && proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.toObject(includeInstance, f)
628
+ };
629
+
630
+ if (includeInstance) {
631
+ obj.$jspbMessageInstance = msg;
632
+ }
633
+ return obj;
634
+ };
635
+ }
636
+
637
+
638
+ /**
639
+ * Deserializes binary data (in protobuf wire format).
640
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
641
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption}
642
+ */
643
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.deserializeBinary = function(bytes) {
644
+ var reader = new jspb.BinaryReader(bytes);
645
+ var msg = new proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption;
646
+ return proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.deserializeBinaryFromReader(msg, reader);
647
+ };
648
+
649
+
650
+ /**
651
+ * Deserializes binary data (in protobuf wire format) from the
652
+ * given reader into the given message object.
653
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption} msg The message object to deserialize into.
654
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
655
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption}
656
+ */
657
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.deserializeBinaryFromReader = function(msg, reader) {
658
+ while (reader.nextField()) {
659
+ if (reader.isEndGroup()) {
660
+ break;
661
+ }
662
+ var field = reader.getFieldNumber();
663
+ switch (field) {
664
+ case 1:
665
+ var value = new proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo;
666
+ reader.readMessage(value,proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.deserializeBinaryFromReader);
667
+ msg.setStellarMintTokenWithMemo(value);
668
+ break;
669
+ default:
670
+ reader.skipField();
671
+ break;
672
+ }
673
+ }
674
+ return msg;
675
+ };
676
+
677
+
678
+ /**
679
+ * Serializes the message to binary data (in protobuf wire format).
680
+ * @return {!Uint8Array}
681
+ */
682
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.prototype.serializeBinary = function() {
683
+ var writer = new jspb.BinaryWriter();
684
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.serializeBinaryToWriter(this, writer);
685
+ return writer.getResultBuffer();
686
+ };
687
+
688
+
689
+ /**
690
+ * Serializes the given message to binary data (in protobuf wire
691
+ * format), writing to the given BinaryWriter.
692
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption} message
693
+ * @param {!jspb.BinaryWriter} writer
694
+ * @suppress {unusedLocalVariables} f is only used for nested messages
695
+ */
696
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.serializeBinaryToWriter = function(message, writer) {
697
+ var f = undefined;
698
+ f = message.getStellarMintTokenWithMemo();
699
+ if (f != null) {
700
+ writer.writeMessage(
701
+ 1,
702
+ f,
703
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.serializeBinaryToWriter
704
+ );
705
+ }
706
+ };
707
+
708
+
709
+ /**
710
+ * optional StellarMintTokenWithMemo stellar_mint_token_with_memo = 1;
711
+ * @return {?proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo}
712
+ */
713
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.prototype.getStellarMintTokenWithMemo = function() {
714
+ return /** @type{?proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo} */ (
715
+ jspb.Message.getWrapperField(this, proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo, 1));
716
+ };
717
+
718
+
719
+ /**
720
+ * @param {?proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo|undefined} value
721
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption} returns this
722
+ */
723
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.prototype.setStellarMintTokenWithMemo = function(value) {
724
+ return jspb.Message.setOneofWrapperField(this, 1, proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.oneofGroups_[0], value);
725
+ };
726
+
727
+
728
+ /**
729
+ * Clears the message field making it undefined.
730
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption} returns this
731
+ */
732
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.prototype.clearStellarMintTokenWithMemo = function() {
733
+ return this.setStellarMintTokenWithMemo(undefined);
734
+ };
735
+
736
+
737
+ /**
738
+ * Returns whether this field is set.
739
+ * @return {boolean}
740
+ */
741
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintOption.prototype.hasStellarMintTokenWithMemo = function() {
742
+ return jspb.Message.getField(this, 1) != null;
743
+ };
744
+
745
+
746
+
747
+
748
+
749
+ if (jspb.Message.GENERATE_TO_OBJECT) {
750
+ /**
751
+ * Creates an object representation of this proto.
752
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
753
+ * Optional fields that are not set will be set to undefined.
754
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
755
+ * For the list of reserved names please see:
756
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
757
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
758
+ * JSPB instance for transitional soy proto support:
759
+ * http://goto/soy-param-migration
760
+ * @return {!Object}
761
+ */
762
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.prototype.toObject = function(opt_includeInstance) {
763
+ return proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.toObject(opt_includeInstance, this);
764
+ };
765
+
766
+
767
+ /**
768
+ * Static version of the {@see toObject} method.
769
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
770
+ * the JSPB instance for transitional soy proto support:
771
+ * http://goto/soy-param-migration
772
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo} msg The msg instance to transform.
773
+ * @return {!Object}
774
+ * @suppress {unusedLocalVariables} f is only used for nested messages
775
+ */
776
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.toObject = function(includeInstance, msg) {
777
+ var f, obj = {
778
+ memo: jspb.Message.getFieldWithDefault(msg, 1, "")
779
+ };
780
+
781
+ if (includeInstance) {
782
+ obj.$jspbMessageInstance = msg;
783
+ }
784
+ return obj;
785
+ };
786
+ }
787
+
788
+
789
+ /**
790
+ * Deserializes binary data (in protobuf wire format).
791
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
792
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo}
793
+ */
794
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.deserializeBinary = function(bytes) {
795
+ var reader = new jspb.BinaryReader(bytes);
796
+ var msg = new proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo;
797
+ return proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.deserializeBinaryFromReader(msg, reader);
798
+ };
799
+
800
+
801
+ /**
802
+ * Deserializes binary data (in protobuf wire format) from the
803
+ * given reader into the given message object.
804
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo} msg The message object to deserialize into.
805
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
806
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo}
807
+ */
808
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.deserializeBinaryFromReader = function(msg, reader) {
809
+ while (reader.nextField()) {
810
+ if (reader.isEndGroup()) {
811
+ break;
812
+ }
813
+ var field = reader.getFieldNumber();
814
+ switch (field) {
815
+ case 1:
816
+ var value = /** @type {string} */ (reader.readString());
817
+ msg.setMemo(value);
818
+ break;
819
+ default:
820
+ reader.skipField();
821
+ break;
822
+ }
823
+ }
824
+ return msg;
825
+ };
826
+
827
+
828
+ /**
829
+ * Serializes the message to binary data (in protobuf wire format).
830
+ * @return {!Uint8Array}
831
+ */
832
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.prototype.serializeBinary = function() {
833
+ var writer = new jspb.BinaryWriter();
834
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.serializeBinaryToWriter(this, writer);
835
+ return writer.getResultBuffer();
836
+ };
837
+
838
+
839
+ /**
840
+ * Serializes the given message to binary data (in protobuf wire
841
+ * format), writing to the given BinaryWriter.
842
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo} message
843
+ * @param {!jspb.BinaryWriter} writer
844
+ * @suppress {unusedLocalVariables} f is only used for nested messages
845
+ */
846
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.serializeBinaryToWriter = function(message, writer) {
847
+ var f = undefined;
848
+ f = message.getMemo();
849
+ if (f.length > 0) {
850
+ writer.writeString(
851
+ 1,
852
+ f
853
+ );
854
+ }
855
+ };
856
+
857
+
858
+ /**
859
+ * optional string memo = 1;
860
+ * @return {string}
861
+ */
862
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.prototype.getMemo = function() {
863
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
864
+ };
865
+
866
+
867
+ /**
868
+ * @param {string} value
869
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo} returns this
870
+ */
871
+ proto.meshtrade.testing.ledger.token_tap.v1.StellarMintTokenWithMemo.prototype.setMemo = function(value) {
872
+ return jspb.Message.setProto3StringField(this, 1, value);
873
+ };
874
+
875
+
876
+
877
+ /**
878
+ * List of repeated fields within this message type.
879
+ * @private {!Array<number>}
880
+ * @const
881
+ */
882
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.repeatedFields_ = [1];
883
+
884
+
885
+
886
+ if (jspb.Message.GENERATE_TO_OBJECT) {
887
+ /**
888
+ * Creates an object representation of this proto.
889
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
890
+ * Optional fields that are not set will be set to undefined.
891
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
892
+ * For the list of reserved names please see:
893
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
894
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
895
+ * JSPB instance for transitional soy proto support:
896
+ * http://goto/soy-param-migration
897
+ * @return {!Object}
898
+ */
899
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.toObject = function(opt_includeInstance) {
900
+ return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.toObject(opt_includeInstance, this);
901
+ };
902
+
903
+
904
+ /**
905
+ * Static version of the {@see toObject} method.
906
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
907
+ * the JSPB instance for transitional soy proto support:
908
+ * http://goto/soy-param-migration
909
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} msg The msg instance to transform.
910
+ * @return {!Object}
911
+ * @suppress {unusedLocalVariables} f is only used for nested messages
912
+ */
913
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.toObject = function(includeInstance, msg) {
914
+ var f, obj = {
915
+ optionsList: jspb.Message.toObjectList(msg.getOptionsList(),
916
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.toObject, includeInstance)
917
+ };
918
+
919
+ if (includeInstance) {
920
+ obj.$jspbMessageInstance = msg;
921
+ }
922
+ return obj;
923
+ };
924
+ }
925
+
926
+
927
+ /**
928
+ * Deserializes binary data (in protobuf wire format).
929
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
930
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions}
931
+ */
932
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.deserializeBinary = function(bytes) {
933
+ var reader = new jspb.BinaryReader(bytes);
934
+ var msg = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions;
935
+ return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.deserializeBinaryFromReader(msg, reader);
936
+ };
937
+
938
+
939
+ /**
940
+ * Deserializes binary data (in protobuf wire format) from the
941
+ * given reader into the given message object.
942
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} msg The message object to deserialize into.
943
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
944
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions}
945
+ */
946
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.deserializeBinaryFromReader = function(msg, reader) {
947
+ while (reader.nextField()) {
948
+ if (reader.isEndGroup()) {
949
+ break;
950
+ }
951
+ var field = reader.getFieldNumber();
952
+ switch (field) {
953
+ case 1:
954
+ var value = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption;
955
+ reader.readMessage(value,proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.deserializeBinaryFromReader);
956
+ msg.addOptions(value);
957
+ break;
958
+ default:
959
+ reader.skipField();
960
+ break;
961
+ }
962
+ }
963
+ return msg;
964
+ };
965
+
966
+
967
+ /**
968
+ * Serializes the message to binary data (in protobuf wire format).
969
+ * @return {!Uint8Array}
970
+ */
971
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.serializeBinary = function() {
972
+ var writer = new jspb.BinaryWriter();
973
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.serializeBinaryToWriter(this, writer);
974
+ return writer.getResultBuffer();
975
+ };
976
+
977
+
978
+ /**
979
+ * Serializes the given message to binary data (in protobuf wire
980
+ * format), writing to the given BinaryWriter.
981
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} message
982
+ * @param {!jspb.BinaryWriter} writer
983
+ * @suppress {unusedLocalVariables} f is only used for nested messages
984
+ */
985
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.serializeBinaryToWriter = function(message, writer) {
986
+ var f = undefined;
987
+ f = message.getOptionsList();
988
+ if (f.length > 0) {
989
+ writer.writeRepeatedMessage(
990
+ 1,
991
+ f,
992
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.serializeBinaryToWriter
993
+ );
994
+ }
995
+ };
996
+
997
+
998
+ /**
999
+ * repeated SolanaMintOption options = 1;
1000
+ * @return {!Array<!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption>}
1001
+ */
1002
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.getOptionsList = function() {
1003
+ return /** @type{!Array<!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption>} */ (
1004
+ jspb.Message.getRepeatedWrapperField(this, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption, 1));
1005
+ };
1006
+
1007
+
1008
+ /**
1009
+ * @param {!Array<!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption>} value
1010
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} returns this
1011
+ */
1012
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.setOptionsList = function(value) {
1013
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1014
+ };
1015
+
1016
+
1017
+ /**
1018
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption=} opt_value
1019
+ * @param {number=} opt_index
1020
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption}
1021
+ */
1022
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.addOptions = function(opt_value, opt_index) {
1023
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption, opt_index);
1024
+ };
1025
+
1026
+
1027
+ /**
1028
+ * Clears the list making it empty but non-null.
1029
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions} returns this
1030
+ */
1031
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOptions.prototype.clearOptionsList = function() {
1032
+ return this.setOptionsList([]);
1033
+ };
1034
+
1035
+
1036
+
1037
+ /**
1038
+ * Oneof group definitions for this message. Each group defines the field
1039
+ * numbers belonging to that group. When of these fields' value is set, all
1040
+ * other fields in the group are cleared. During deserialization, if multiple
1041
+ * fields are encountered for a group, only the last value seen will be kept.
1042
+ * @private {!Array<!Array<number>>}
1043
+ * @const
1044
+ */
1045
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.oneofGroups_ = [[1]];
1046
+
1047
+ /**
1048
+ * @enum {number}
1049
+ */
1050
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.SolanaMintOptionCase = {
1051
+ SOLANA_MINT_OPTION_NOT_SET: 0,
1052
+ SOLANA_MINT_TOKEN_OPTION: 1
1053
+ };
1054
+
1055
+ /**
1056
+ * @return {proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.SolanaMintOptionCase}
1057
+ */
1058
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.getSolanaMintOptionCase = function() {
1059
+ return /** @type {proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.SolanaMintOptionCase} */(jspb.Message.computeOneofCase(this, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.oneofGroups_[0]));
1060
+ };
1061
+
1062
+
1063
+
1064
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1065
+ /**
1066
+ * Creates an object representation of this proto.
1067
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1068
+ * Optional fields that are not set will be set to undefined.
1069
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1070
+ * For the list of reserved names please see:
1071
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1072
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1073
+ * JSPB instance for transitional soy proto support:
1074
+ * http://goto/soy-param-migration
1075
+ * @return {!Object}
1076
+ */
1077
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.toObject = function(opt_includeInstance) {
1078
+ return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.toObject(opt_includeInstance, this);
1079
+ };
1080
+
1081
+
1082
+ /**
1083
+ * Static version of the {@see toObject} method.
1084
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1085
+ * the JSPB instance for transitional soy proto support:
1086
+ * http://goto/soy-param-migration
1087
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption} msg The msg instance to transform.
1088
+ * @return {!Object}
1089
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1090
+ */
1091
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.toObject = function(includeInstance, msg) {
1092
+ var f, obj = {
1093
+ solanaMintTokenOption: (f = msg.getSolanaMintTokenOption()) && proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.toObject(includeInstance, f)
1094
+ };
1095
+
1096
+ if (includeInstance) {
1097
+ obj.$jspbMessageInstance = msg;
1098
+ }
1099
+ return obj;
1100
+ };
1101
+ }
1102
+
1103
+
1104
+ /**
1105
+ * Deserializes binary data (in protobuf wire format).
1106
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1107
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption}
1108
+ */
1109
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.deserializeBinary = function(bytes) {
1110
+ var reader = new jspb.BinaryReader(bytes);
1111
+ var msg = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption;
1112
+ return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.deserializeBinaryFromReader(msg, reader);
1113
+ };
1114
+
1115
+
1116
+ /**
1117
+ * Deserializes binary data (in protobuf wire format) from the
1118
+ * given reader into the given message object.
1119
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption} msg The message object to deserialize into.
1120
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1121
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption}
1122
+ */
1123
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.deserializeBinaryFromReader = function(msg, reader) {
1124
+ while (reader.nextField()) {
1125
+ if (reader.isEndGroup()) {
1126
+ break;
1127
+ }
1128
+ var field = reader.getFieldNumber();
1129
+ switch (field) {
1130
+ case 1:
1131
+ var value = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption;
1132
+ reader.readMessage(value,proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.deserializeBinaryFromReader);
1133
+ msg.setSolanaMintTokenOption(value);
1134
+ break;
1135
+ default:
1136
+ reader.skipField();
1137
+ break;
1138
+ }
1139
+ }
1140
+ return msg;
1141
+ };
1142
+
1143
+
1144
+ /**
1145
+ * Serializes the message to binary data (in protobuf wire format).
1146
+ * @return {!Uint8Array}
1147
+ */
1148
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.serializeBinary = function() {
1149
+ var writer = new jspb.BinaryWriter();
1150
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.serializeBinaryToWriter(this, writer);
1151
+ return writer.getResultBuffer();
1152
+ };
1153
+
1154
+
1155
+ /**
1156
+ * Serializes the given message to binary data (in protobuf wire
1157
+ * format), writing to the given BinaryWriter.
1158
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption} message
1159
+ * @param {!jspb.BinaryWriter} writer
1160
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1161
+ */
1162
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.serializeBinaryToWriter = function(message, writer) {
1163
+ var f = undefined;
1164
+ f = message.getSolanaMintTokenOption();
1165
+ if (f != null) {
1166
+ writer.writeMessage(
1167
+ 1,
1168
+ f,
1169
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.serializeBinaryToWriter
1170
+ );
1171
+ }
1172
+ };
1173
+
1174
+
1175
+ /**
1176
+ * optional SolanaMintTokenOption solana_mint_token_option = 1;
1177
+ * @return {?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption}
1178
+ */
1179
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.getSolanaMintTokenOption = function() {
1180
+ return /** @type{?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption} */ (
1181
+ jspb.Message.getWrapperField(this, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption, 1));
1182
+ };
1183
+
1184
+
1185
+ /**
1186
+ * @param {?proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption|undefined} value
1187
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption} returns this
1188
+ */
1189
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.setSolanaMintTokenOption = function(value) {
1190
+ return jspb.Message.setOneofWrapperField(this, 1, proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.oneofGroups_[0], value);
1191
+ };
1192
+
1193
+
1194
+ /**
1195
+ * Clears the message field making it undefined.
1196
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption} returns this
1197
+ */
1198
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.clearSolanaMintTokenOption = function() {
1199
+ return this.setSolanaMintTokenOption(undefined);
1200
+ };
1201
+
1202
+
1203
+ /**
1204
+ * Returns whether this field is set.
1205
+ * @return {boolean}
1206
+ */
1207
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintOption.prototype.hasSolanaMintTokenOption = function() {
1208
+ return jspb.Message.getField(this, 1) != null;
1209
+ };
1210
+
1211
+
1212
+
1213
+
1214
+
1215
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1216
+ /**
1217
+ * Creates an object representation of this proto.
1218
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1219
+ * Optional fields that are not set will be set to undefined.
1220
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1221
+ * For the list of reserved names please see:
1222
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1223
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1224
+ * JSPB instance for transitional soy proto support:
1225
+ * http://goto/soy-param-migration
1226
+ * @return {!Object}
1227
+ */
1228
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.prototype.toObject = function(opt_includeInstance) {
1229
+ return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.toObject(opt_includeInstance, this);
1230
+ };
1231
+
1232
+
1233
+ /**
1234
+ * Static version of the {@see toObject} method.
1235
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1236
+ * the JSPB instance for transitional soy proto support:
1237
+ * http://goto/soy-param-migration
1238
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption} msg The msg instance to transform.
1239
+ * @return {!Object}
1240
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1241
+ */
1242
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.toObject = function(includeInstance, msg) {
1243
+ var f, obj = {
1244
+ token: jspb.Message.getFieldWithDefault(msg, 1, 0)
1245
+ };
1246
+
1247
+ if (includeInstance) {
1248
+ obj.$jspbMessageInstance = msg;
1249
+ }
1250
+ return obj;
1251
+ };
1252
+ }
1253
+
1254
+
1255
+ /**
1256
+ * Deserializes binary data (in protobuf wire format).
1257
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1258
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption}
1259
+ */
1260
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.deserializeBinary = function(bytes) {
1261
+ var reader = new jspb.BinaryReader(bytes);
1262
+ var msg = new proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption;
1263
+ return proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.deserializeBinaryFromReader(msg, reader);
1264
+ };
1265
+
1266
+
1267
+ /**
1268
+ * Deserializes binary data (in protobuf wire format) from the
1269
+ * given reader into the given message object.
1270
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption} msg The message object to deserialize into.
1271
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1272
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption}
1273
+ */
1274
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.deserializeBinaryFromReader = function(msg, reader) {
1275
+ while (reader.nextField()) {
1276
+ if (reader.isEndGroup()) {
1277
+ break;
1278
+ }
1279
+ var field = reader.getFieldNumber();
1280
+ switch (field) {
1281
+ case 1:
1282
+ var value = /** @type {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken} */ (reader.readEnum());
1283
+ msg.setToken(value);
1284
+ break;
1285
+ default:
1286
+ reader.skipField();
1287
+ break;
1288
+ }
1289
+ }
1290
+ return msg;
1291
+ };
1292
+
1293
+
1294
+ /**
1295
+ * Serializes the message to binary data (in protobuf wire format).
1296
+ * @return {!Uint8Array}
1297
+ */
1298
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.prototype.serializeBinary = function() {
1299
+ var writer = new jspb.BinaryWriter();
1300
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.serializeBinaryToWriter(this, writer);
1301
+ return writer.getResultBuffer();
1302
+ };
1303
+
1304
+
1305
+ /**
1306
+ * Serializes the given message to binary data (in protobuf wire
1307
+ * format), writing to the given BinaryWriter.
1308
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption} message
1309
+ * @param {!jspb.BinaryWriter} writer
1310
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1311
+ */
1312
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.serializeBinaryToWriter = function(message, writer) {
1313
+ var f = undefined;
1314
+ f = message.getToken();
1315
+ if (f !== 0.0) {
1316
+ writer.writeEnum(
1317
+ 1,
1318
+ f
1319
+ );
1320
+ }
1321
+ };
1322
+
1323
+
1324
+ /**
1325
+ * optional SolanaMintToken token = 1;
1326
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken}
1327
+ */
1328
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.prototype.getToken = function() {
1329
+ return /** @type {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1330
+ };
1331
+
1332
+
1333
+ /**
1334
+ * @param {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken} value
1335
+ * @return {!proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption} returns this
1336
+ */
1337
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintTokenOption.prototype.setToken = function(value) {
1338
+ return jspb.Message.setProto3EnumField(this, 1, value);
1339
+ };
1340
+
1341
+
1342
+ /**
1343
+ * @enum {number}
1344
+ */
1345
+ proto.meshtrade.testing.ledger.token_tap.v1.SolanaMintToken = {
1346
+ SOLANA_MINT_TOKEN_UNSPECIFIED: 0,
1347
+ SOLANA_MINT_TOKEN_LEGACY: 1,
1348
+ SOLANA_MINT_TOKEN_2022: 2
1349
+ };
1350
+
1351
+ goog.object.extend(exports, proto.meshtrade.testing.ledger.token_tap.v1);