@meshtrade/api-old 1.35.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.
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/iam/api_user/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/iam/group/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/iam/role/v1/role.js +2 -0
- package/dist/meshtrade/iam/role/v1/role_pb.d.ts +2 -0
- package/dist/meshtrade/iam/role/v1/role_pb.js +3 -1
- package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_client_meshts.js +11 -2
- package/dist/meshtrade/market_data/price/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/index.d.ts +4 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/index.js +45 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/option_pb.d.ts +173 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/option_pb.js +1351 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_client_meshts.d.ts +46 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_client_meshts.js +88 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_pb.d.ts +55 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_pb.js +275 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_pb.d.ts +115 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_pb.js +962 -0
- package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_client_meshts.js +11 -2
- package/dist/meshtrade/trading/market_order/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/type/v1/ledger.js +3 -0
- package/dist/meshtrade/type/v1/ledger_pb.d.ts +2 -1
- package/dist/meshtrade/type/v1/ledger_pb.js +2 -1
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_client_meshts.d.ts +13 -1
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_client_meshts.js +26 -0
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_pb.d.ts +24 -0
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_pb.js +124 -0
- package/dist/meshtrade/wallet/account/v1/service_pb.d.ts +85 -0
- package/dist/meshtrade/wallet/account/v1/service_pb.js +730 -0
- package/package.json +1 -1
|
@@ -27,11 +27,15 @@ var meshtrade_option_method_options_v1_method_options_pb = require('../../../../
|
|
|
27
27
|
goog.object.extend(proto, meshtrade_option_method_options_v1_method_options_pb);
|
|
28
28
|
var meshtrade_type_v1_sorting_pb = require('../../../../meshtrade/type/v1/sorting_pb.js');
|
|
29
29
|
goog.object.extend(proto, meshtrade_type_v1_sorting_pb);
|
|
30
|
+
var meshtrade_type_v1_token_pb = require('../../../../meshtrade/type/v1/token_pb.js');
|
|
31
|
+
goog.object.extend(proto, meshtrade_type_v1_token_pb);
|
|
30
32
|
var meshtrade_wallet_account_v1_account_pb = require('../../../../meshtrade/wallet/account/v1/account_pb.js');
|
|
31
33
|
goog.object.extend(proto, meshtrade_wallet_account_v1_account_pb);
|
|
32
34
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.AddSignatoriesToAccountRequest', null, global);
|
|
33
35
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.AddSignatoriesToAccountResponse', null, global);
|
|
34
36
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.CreateAccountRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest', null, global);
|
|
38
|
+
goog.exportSymbol('proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse', null, global);
|
|
35
39
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.GetAccountByNumberRequest', null, global);
|
|
36
40
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.GetAccountRequest', null, global);
|
|
37
41
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.ListAccountsRequest', null, global);
|
|
@@ -39,6 +43,8 @@ goog.exportSymbol('proto.meshtrade.wallet.account.v1.ListAccountsRequest.Sorting
|
|
|
39
43
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.ListAccountsResponse', null, global);
|
|
40
44
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.OpenAccountRequest', null, global);
|
|
41
45
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.OpenAccountResponse', null, global);
|
|
46
|
+
goog.exportSymbol('proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest', null, global);
|
|
47
|
+
goog.exportSymbol('proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse', null, global);
|
|
42
48
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.RemoveSignatoriesFromAccountRequest', null, global);
|
|
43
49
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.RemoveSignatoriesFromAccountResponse', null, global);
|
|
44
50
|
goog.exportSymbol('proto.meshtrade.wallet.account.v1.SearchAccountsRequest', null, global);
|
|
@@ -381,6 +387,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
381
387
|
*/
|
|
382
388
|
proto.meshtrade.wallet.account.v1.SearchAccountsResponse.displayName = 'proto.meshtrade.wallet.account.v1.SearchAccountsResponse';
|
|
383
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* Generated by JsPbCodeGenerator.
|
|
392
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
393
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
394
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
395
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
396
|
+
* valid.
|
|
397
|
+
* @extends {jspb.Message}
|
|
398
|
+
* @constructor
|
|
399
|
+
*/
|
|
400
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest = function(opt_data) {
|
|
401
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.repeatedFields_, null);
|
|
402
|
+
};
|
|
403
|
+
goog.inherits(proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest, jspb.Message);
|
|
404
|
+
if (goog.DEBUG && !COMPILED) {
|
|
405
|
+
/**
|
|
406
|
+
* @public
|
|
407
|
+
* @override
|
|
408
|
+
*/
|
|
409
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.displayName = 'proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest';
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* Generated by JsPbCodeGenerator.
|
|
413
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
414
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
415
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
416
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
417
|
+
* valid.
|
|
418
|
+
* @extends {jspb.Message}
|
|
419
|
+
* @constructor
|
|
420
|
+
*/
|
|
421
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse = function(opt_data) {
|
|
422
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
423
|
+
};
|
|
424
|
+
goog.inherits(proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse, jspb.Message);
|
|
425
|
+
if (goog.DEBUG && !COMPILED) {
|
|
426
|
+
/**
|
|
427
|
+
* @public
|
|
428
|
+
* @override
|
|
429
|
+
*/
|
|
430
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.displayName = 'proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse';
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Generated by JsPbCodeGenerator.
|
|
434
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
435
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
436
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
437
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
438
|
+
* valid.
|
|
439
|
+
* @extends {jspb.Message}
|
|
440
|
+
* @constructor
|
|
441
|
+
*/
|
|
442
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest = function(opt_data) {
|
|
443
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.repeatedFields_, null);
|
|
444
|
+
};
|
|
445
|
+
goog.inherits(proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest, jspb.Message);
|
|
446
|
+
if (goog.DEBUG && !COMPILED) {
|
|
447
|
+
/**
|
|
448
|
+
* @public
|
|
449
|
+
* @override
|
|
450
|
+
*/
|
|
451
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.displayName = 'proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest';
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Generated by JsPbCodeGenerator.
|
|
455
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
456
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
457
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
458
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
459
|
+
* valid.
|
|
460
|
+
* @extends {jspb.Message}
|
|
461
|
+
* @constructor
|
|
462
|
+
*/
|
|
463
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse = function(opt_data) {
|
|
464
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
465
|
+
};
|
|
466
|
+
goog.inherits(proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse, jspb.Message);
|
|
467
|
+
if (goog.DEBUG && !COMPILED) {
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
* @override
|
|
471
|
+
*/
|
|
472
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.displayName = 'proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse';
|
|
473
|
+
}
|
|
384
474
|
|
|
385
475
|
|
|
386
476
|
|
|
@@ -2927,4 +3017,644 @@ proto.meshtrade.wallet.account.v1.SearchAccountsResponse.prototype.clearAccounts
|
|
|
2927
3017
|
};
|
|
2928
3018
|
|
|
2929
3019
|
|
|
3020
|
+
|
|
3021
|
+
/**
|
|
3022
|
+
* List of repeated fields within this message type.
|
|
3023
|
+
* @private {!Array<number>}
|
|
3024
|
+
* @const
|
|
3025
|
+
*/
|
|
3026
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.repeatedFields_ = [2];
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3031
|
+
/**
|
|
3032
|
+
* Creates an object representation of this proto.
|
|
3033
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3034
|
+
* Optional fields that are not set will be set to undefined.
|
|
3035
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3036
|
+
* For the list of reserved names please see:
|
|
3037
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3038
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3039
|
+
* JSPB instance for transitional soy proto support:
|
|
3040
|
+
* http://goto/soy-param-migration
|
|
3041
|
+
* @return {!Object}
|
|
3042
|
+
*/
|
|
3043
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3044
|
+
return proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.toObject(opt_includeInstance, this);
|
|
3045
|
+
};
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* Static version of the {@see toObject} method.
|
|
3050
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3051
|
+
* the JSPB instance for transitional soy proto support:
|
|
3052
|
+
* http://goto/soy-param-migration
|
|
3053
|
+
* @param {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest} msg The msg instance to transform.
|
|
3054
|
+
* @return {!Object}
|
|
3055
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3056
|
+
*/
|
|
3057
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.toObject = function(includeInstance, msg) {
|
|
3058
|
+
var f, obj = {
|
|
3059
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3060
|
+
tokensList: jspb.Message.toObjectList(msg.getTokensList(),
|
|
3061
|
+
meshtrade_type_v1_token_pb.Token.toObject, includeInstance)
|
|
3062
|
+
};
|
|
3063
|
+
|
|
3064
|
+
if (includeInstance) {
|
|
3065
|
+
obj.$jspbMessageInstance = msg;
|
|
3066
|
+
}
|
|
3067
|
+
return obj;
|
|
3068
|
+
};
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
|
|
3072
|
+
/**
|
|
3073
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3074
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3075
|
+
* @return {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest}
|
|
3076
|
+
*/
|
|
3077
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.deserializeBinary = function(bytes) {
|
|
3078
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3079
|
+
var msg = new proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest;
|
|
3080
|
+
return proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.deserializeBinaryFromReader(msg, reader);
|
|
3081
|
+
};
|
|
3082
|
+
|
|
3083
|
+
|
|
3084
|
+
/**
|
|
3085
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3086
|
+
* given reader into the given message object.
|
|
3087
|
+
* @param {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest} msg The message object to deserialize into.
|
|
3088
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3089
|
+
* @return {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest}
|
|
3090
|
+
*/
|
|
3091
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3092
|
+
while (reader.nextField()) {
|
|
3093
|
+
if (reader.isEndGroup()) {
|
|
3094
|
+
break;
|
|
3095
|
+
}
|
|
3096
|
+
var field = reader.getFieldNumber();
|
|
3097
|
+
switch (field) {
|
|
3098
|
+
case 1:
|
|
3099
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3100
|
+
msg.setName(value);
|
|
3101
|
+
break;
|
|
3102
|
+
case 2:
|
|
3103
|
+
var value = new meshtrade_type_v1_token_pb.Token;
|
|
3104
|
+
reader.readMessage(value,meshtrade_type_v1_token_pb.Token.deserializeBinaryFromReader);
|
|
3105
|
+
msg.addTokens(value);
|
|
3106
|
+
break;
|
|
3107
|
+
default:
|
|
3108
|
+
reader.skipField();
|
|
3109
|
+
break;
|
|
3110
|
+
}
|
|
3111
|
+
}
|
|
3112
|
+
return msg;
|
|
3113
|
+
};
|
|
3114
|
+
|
|
3115
|
+
|
|
3116
|
+
/**
|
|
3117
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3118
|
+
* @return {!Uint8Array}
|
|
3119
|
+
*/
|
|
3120
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.prototype.serializeBinary = function() {
|
|
3121
|
+
var writer = new jspb.BinaryWriter();
|
|
3122
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.serializeBinaryToWriter(this, writer);
|
|
3123
|
+
return writer.getResultBuffer();
|
|
3124
|
+
};
|
|
3125
|
+
|
|
3126
|
+
|
|
3127
|
+
/**
|
|
3128
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3129
|
+
* format), writing to the given BinaryWriter.
|
|
3130
|
+
* @param {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest} message
|
|
3131
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3132
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3133
|
+
*/
|
|
3134
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3135
|
+
var f = undefined;
|
|
3136
|
+
f = message.getName();
|
|
3137
|
+
if (f.length > 0) {
|
|
3138
|
+
writer.writeString(
|
|
3139
|
+
1,
|
|
3140
|
+
f
|
|
3141
|
+
);
|
|
3142
|
+
}
|
|
3143
|
+
f = message.getTokensList();
|
|
3144
|
+
if (f.length > 0) {
|
|
3145
|
+
writer.writeRepeatedMessage(
|
|
3146
|
+
2,
|
|
3147
|
+
f,
|
|
3148
|
+
meshtrade_type_v1_token_pb.Token.serializeBinaryToWriter
|
|
3149
|
+
);
|
|
3150
|
+
}
|
|
3151
|
+
};
|
|
3152
|
+
|
|
3153
|
+
|
|
3154
|
+
/**
|
|
3155
|
+
* optional string name = 1;
|
|
3156
|
+
* @return {string}
|
|
3157
|
+
*/
|
|
3158
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.prototype.getName = function() {
|
|
3159
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3160
|
+
};
|
|
3161
|
+
|
|
3162
|
+
|
|
3163
|
+
/**
|
|
3164
|
+
* @param {string} value
|
|
3165
|
+
* @return {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest} returns this
|
|
3166
|
+
*/
|
|
3167
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.prototype.setName = function(value) {
|
|
3168
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3169
|
+
};
|
|
3170
|
+
|
|
3171
|
+
|
|
3172
|
+
/**
|
|
3173
|
+
* repeated meshtrade.type.v1.Token tokens = 2;
|
|
3174
|
+
* @return {!Array<!proto.meshtrade.type.v1.Token>}
|
|
3175
|
+
*/
|
|
3176
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.prototype.getTokensList = function() {
|
|
3177
|
+
return /** @type{!Array<!proto.meshtrade.type.v1.Token>} */ (
|
|
3178
|
+
jspb.Message.getRepeatedWrapperField(this, meshtrade_type_v1_token_pb.Token, 2));
|
|
3179
|
+
};
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
3183
|
+
* @param {!Array<!proto.meshtrade.type.v1.Token>} value
|
|
3184
|
+
* @return {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest} returns this
|
|
3185
|
+
*/
|
|
3186
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.prototype.setTokensList = function(value) {
|
|
3187
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3188
|
+
};
|
|
3189
|
+
|
|
3190
|
+
|
|
3191
|
+
/**
|
|
3192
|
+
* @param {!proto.meshtrade.type.v1.Token=} opt_value
|
|
3193
|
+
* @param {number=} opt_index
|
|
3194
|
+
* @return {!proto.meshtrade.type.v1.Token}
|
|
3195
|
+
*/
|
|
3196
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.prototype.addTokens = function(opt_value, opt_index) {
|
|
3197
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.meshtrade.type.v1.Token, opt_index);
|
|
3198
|
+
};
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
/**
|
|
3202
|
+
* Clears the list making it empty but non-null.
|
|
3203
|
+
* @return {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest} returns this
|
|
3204
|
+
*/
|
|
3205
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountRequest.prototype.clearTokensList = function() {
|
|
3206
|
+
return this.setTokensList([]);
|
|
3207
|
+
};
|
|
3208
|
+
|
|
3209
|
+
|
|
3210
|
+
|
|
3211
|
+
|
|
3212
|
+
|
|
3213
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3214
|
+
/**
|
|
3215
|
+
* Creates an object representation of this proto.
|
|
3216
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3217
|
+
* Optional fields that are not set will be set to undefined.
|
|
3218
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3219
|
+
* For the list of reserved names please see:
|
|
3220
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3221
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3222
|
+
* JSPB instance for transitional soy proto support:
|
|
3223
|
+
* http://goto/soy-param-migration
|
|
3224
|
+
* @return {!Object}
|
|
3225
|
+
*/
|
|
3226
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3227
|
+
return proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.toObject(opt_includeInstance, this);
|
|
3228
|
+
};
|
|
3229
|
+
|
|
3230
|
+
|
|
3231
|
+
/**
|
|
3232
|
+
* Static version of the {@see toObject} method.
|
|
3233
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3234
|
+
* the JSPB instance for transitional soy proto support:
|
|
3235
|
+
* http://goto/soy-param-migration
|
|
3236
|
+
* @param {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse} msg The msg instance to transform.
|
|
3237
|
+
* @return {!Object}
|
|
3238
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3239
|
+
*/
|
|
3240
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.toObject = function(includeInstance, msg) {
|
|
3241
|
+
var f, obj = {
|
|
3242
|
+
ledgerTransaction: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3243
|
+
};
|
|
3244
|
+
|
|
3245
|
+
if (includeInstance) {
|
|
3246
|
+
obj.$jspbMessageInstance = msg;
|
|
3247
|
+
}
|
|
3248
|
+
return obj;
|
|
3249
|
+
};
|
|
3250
|
+
}
|
|
3251
|
+
|
|
3252
|
+
|
|
3253
|
+
/**
|
|
3254
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3255
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3256
|
+
* @return {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse}
|
|
3257
|
+
*/
|
|
3258
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.deserializeBinary = function(bytes) {
|
|
3259
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3260
|
+
var msg = new proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse;
|
|
3261
|
+
return proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.deserializeBinaryFromReader(msg, reader);
|
|
3262
|
+
};
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
/**
|
|
3266
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3267
|
+
* given reader into the given message object.
|
|
3268
|
+
* @param {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse} msg The message object to deserialize into.
|
|
3269
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3270
|
+
* @return {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse}
|
|
3271
|
+
*/
|
|
3272
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3273
|
+
while (reader.nextField()) {
|
|
3274
|
+
if (reader.isEndGroup()) {
|
|
3275
|
+
break;
|
|
3276
|
+
}
|
|
3277
|
+
var field = reader.getFieldNumber();
|
|
3278
|
+
switch (field) {
|
|
3279
|
+
case 1:
|
|
3280
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3281
|
+
msg.setLedgerTransaction(value);
|
|
3282
|
+
break;
|
|
3283
|
+
default:
|
|
3284
|
+
reader.skipField();
|
|
3285
|
+
break;
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
return msg;
|
|
3289
|
+
};
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
/**
|
|
3293
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3294
|
+
* @return {!Uint8Array}
|
|
3295
|
+
*/
|
|
3296
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.prototype.serializeBinary = function() {
|
|
3297
|
+
var writer = new jspb.BinaryWriter();
|
|
3298
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.serializeBinaryToWriter(this, writer);
|
|
3299
|
+
return writer.getResultBuffer();
|
|
3300
|
+
};
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
/**
|
|
3304
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3305
|
+
* format), writing to the given BinaryWriter.
|
|
3306
|
+
* @param {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse} message
|
|
3307
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3308
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3309
|
+
*/
|
|
3310
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3311
|
+
var f = undefined;
|
|
3312
|
+
f = message.getLedgerTransaction();
|
|
3313
|
+
if (f.length > 0) {
|
|
3314
|
+
writer.writeString(
|
|
3315
|
+
1,
|
|
3316
|
+
f
|
|
3317
|
+
);
|
|
3318
|
+
}
|
|
3319
|
+
};
|
|
3320
|
+
|
|
3321
|
+
|
|
3322
|
+
/**
|
|
3323
|
+
* optional string ledger_transaction = 1;
|
|
3324
|
+
* @return {string}
|
|
3325
|
+
*/
|
|
3326
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.prototype.getLedgerTransaction = function() {
|
|
3327
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3328
|
+
};
|
|
3329
|
+
|
|
3330
|
+
|
|
3331
|
+
/**
|
|
3332
|
+
* @param {string} value
|
|
3333
|
+
* @return {!proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse} returns this
|
|
3334
|
+
*/
|
|
3335
|
+
proto.meshtrade.wallet.account.v1.RegisterTokensToAccountResponse.prototype.setLedgerTransaction = function(value) {
|
|
3336
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3337
|
+
};
|
|
3338
|
+
|
|
3339
|
+
|
|
3340
|
+
|
|
3341
|
+
/**
|
|
3342
|
+
* List of repeated fields within this message type.
|
|
3343
|
+
* @private {!Array<number>}
|
|
3344
|
+
* @const
|
|
3345
|
+
*/
|
|
3346
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.repeatedFields_ = [2];
|
|
3347
|
+
|
|
3348
|
+
|
|
3349
|
+
|
|
3350
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3351
|
+
/**
|
|
3352
|
+
* Creates an object representation of this proto.
|
|
3353
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3354
|
+
* Optional fields that are not set will be set to undefined.
|
|
3355
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3356
|
+
* For the list of reserved names please see:
|
|
3357
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3358
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3359
|
+
* JSPB instance for transitional soy proto support:
|
|
3360
|
+
* http://goto/soy-param-migration
|
|
3361
|
+
* @return {!Object}
|
|
3362
|
+
*/
|
|
3363
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3364
|
+
return proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.toObject(opt_includeInstance, this);
|
|
3365
|
+
};
|
|
3366
|
+
|
|
3367
|
+
|
|
3368
|
+
/**
|
|
3369
|
+
* Static version of the {@see toObject} method.
|
|
3370
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3371
|
+
* the JSPB instance for transitional soy proto support:
|
|
3372
|
+
* http://goto/soy-param-migration
|
|
3373
|
+
* @param {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest} msg The msg instance to transform.
|
|
3374
|
+
* @return {!Object}
|
|
3375
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3376
|
+
*/
|
|
3377
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.toObject = function(includeInstance, msg) {
|
|
3378
|
+
var f, obj = {
|
|
3379
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3380
|
+
tokensList: jspb.Message.toObjectList(msg.getTokensList(),
|
|
3381
|
+
meshtrade_type_v1_token_pb.Token.toObject, includeInstance)
|
|
3382
|
+
};
|
|
3383
|
+
|
|
3384
|
+
if (includeInstance) {
|
|
3385
|
+
obj.$jspbMessageInstance = msg;
|
|
3386
|
+
}
|
|
3387
|
+
return obj;
|
|
3388
|
+
};
|
|
3389
|
+
}
|
|
3390
|
+
|
|
3391
|
+
|
|
3392
|
+
/**
|
|
3393
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3394
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3395
|
+
* @return {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest}
|
|
3396
|
+
*/
|
|
3397
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.deserializeBinary = function(bytes) {
|
|
3398
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3399
|
+
var msg = new proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest;
|
|
3400
|
+
return proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.deserializeBinaryFromReader(msg, reader);
|
|
3401
|
+
};
|
|
3402
|
+
|
|
3403
|
+
|
|
3404
|
+
/**
|
|
3405
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3406
|
+
* given reader into the given message object.
|
|
3407
|
+
* @param {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest} msg The message object to deserialize into.
|
|
3408
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3409
|
+
* @return {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest}
|
|
3410
|
+
*/
|
|
3411
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3412
|
+
while (reader.nextField()) {
|
|
3413
|
+
if (reader.isEndGroup()) {
|
|
3414
|
+
break;
|
|
3415
|
+
}
|
|
3416
|
+
var field = reader.getFieldNumber();
|
|
3417
|
+
switch (field) {
|
|
3418
|
+
case 1:
|
|
3419
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3420
|
+
msg.setName(value);
|
|
3421
|
+
break;
|
|
3422
|
+
case 2:
|
|
3423
|
+
var value = new meshtrade_type_v1_token_pb.Token;
|
|
3424
|
+
reader.readMessage(value,meshtrade_type_v1_token_pb.Token.deserializeBinaryFromReader);
|
|
3425
|
+
msg.addTokens(value);
|
|
3426
|
+
break;
|
|
3427
|
+
default:
|
|
3428
|
+
reader.skipField();
|
|
3429
|
+
break;
|
|
3430
|
+
}
|
|
3431
|
+
}
|
|
3432
|
+
return msg;
|
|
3433
|
+
};
|
|
3434
|
+
|
|
3435
|
+
|
|
3436
|
+
/**
|
|
3437
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3438
|
+
* @return {!Uint8Array}
|
|
3439
|
+
*/
|
|
3440
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.prototype.serializeBinary = function() {
|
|
3441
|
+
var writer = new jspb.BinaryWriter();
|
|
3442
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.serializeBinaryToWriter(this, writer);
|
|
3443
|
+
return writer.getResultBuffer();
|
|
3444
|
+
};
|
|
3445
|
+
|
|
3446
|
+
|
|
3447
|
+
/**
|
|
3448
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3449
|
+
* format), writing to the given BinaryWriter.
|
|
3450
|
+
* @param {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest} message
|
|
3451
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3452
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3453
|
+
*/
|
|
3454
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3455
|
+
var f = undefined;
|
|
3456
|
+
f = message.getName();
|
|
3457
|
+
if (f.length > 0) {
|
|
3458
|
+
writer.writeString(
|
|
3459
|
+
1,
|
|
3460
|
+
f
|
|
3461
|
+
);
|
|
3462
|
+
}
|
|
3463
|
+
f = message.getTokensList();
|
|
3464
|
+
if (f.length > 0) {
|
|
3465
|
+
writer.writeRepeatedMessage(
|
|
3466
|
+
2,
|
|
3467
|
+
f,
|
|
3468
|
+
meshtrade_type_v1_token_pb.Token.serializeBinaryToWriter
|
|
3469
|
+
);
|
|
3470
|
+
}
|
|
3471
|
+
};
|
|
3472
|
+
|
|
3473
|
+
|
|
3474
|
+
/**
|
|
3475
|
+
* optional string name = 1;
|
|
3476
|
+
* @return {string}
|
|
3477
|
+
*/
|
|
3478
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.prototype.getName = function() {
|
|
3479
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3480
|
+
};
|
|
3481
|
+
|
|
3482
|
+
|
|
3483
|
+
/**
|
|
3484
|
+
* @param {string} value
|
|
3485
|
+
* @return {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest} returns this
|
|
3486
|
+
*/
|
|
3487
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.prototype.setName = function(value) {
|
|
3488
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3489
|
+
};
|
|
3490
|
+
|
|
3491
|
+
|
|
3492
|
+
/**
|
|
3493
|
+
* repeated meshtrade.type.v1.Token tokens = 2;
|
|
3494
|
+
* @return {!Array<!proto.meshtrade.type.v1.Token>}
|
|
3495
|
+
*/
|
|
3496
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.prototype.getTokensList = function() {
|
|
3497
|
+
return /** @type{!Array<!proto.meshtrade.type.v1.Token>} */ (
|
|
3498
|
+
jspb.Message.getRepeatedWrapperField(this, meshtrade_type_v1_token_pb.Token, 2));
|
|
3499
|
+
};
|
|
3500
|
+
|
|
3501
|
+
|
|
3502
|
+
/**
|
|
3503
|
+
* @param {!Array<!proto.meshtrade.type.v1.Token>} value
|
|
3504
|
+
* @return {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest} returns this
|
|
3505
|
+
*/
|
|
3506
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.prototype.setTokensList = function(value) {
|
|
3507
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
3508
|
+
};
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
/**
|
|
3512
|
+
* @param {!proto.meshtrade.type.v1.Token=} opt_value
|
|
3513
|
+
* @param {number=} opt_index
|
|
3514
|
+
* @return {!proto.meshtrade.type.v1.Token}
|
|
3515
|
+
*/
|
|
3516
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.prototype.addTokens = function(opt_value, opt_index) {
|
|
3517
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.meshtrade.type.v1.Token, opt_index);
|
|
3518
|
+
};
|
|
3519
|
+
|
|
3520
|
+
|
|
3521
|
+
/**
|
|
3522
|
+
* Clears the list making it empty but non-null.
|
|
3523
|
+
* @return {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest} returns this
|
|
3524
|
+
*/
|
|
3525
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountRequest.prototype.clearTokensList = function() {
|
|
3526
|
+
return this.setTokensList([]);
|
|
3527
|
+
};
|
|
3528
|
+
|
|
3529
|
+
|
|
3530
|
+
|
|
3531
|
+
|
|
3532
|
+
|
|
3533
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3534
|
+
/**
|
|
3535
|
+
* Creates an object representation of this proto.
|
|
3536
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3537
|
+
* Optional fields that are not set will be set to undefined.
|
|
3538
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3539
|
+
* For the list of reserved names please see:
|
|
3540
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3541
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3542
|
+
* JSPB instance for transitional soy proto support:
|
|
3543
|
+
* http://goto/soy-param-migration
|
|
3544
|
+
* @return {!Object}
|
|
3545
|
+
*/
|
|
3546
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3547
|
+
return proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.toObject(opt_includeInstance, this);
|
|
3548
|
+
};
|
|
3549
|
+
|
|
3550
|
+
|
|
3551
|
+
/**
|
|
3552
|
+
* Static version of the {@see toObject} method.
|
|
3553
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3554
|
+
* the JSPB instance for transitional soy proto support:
|
|
3555
|
+
* http://goto/soy-param-migration
|
|
3556
|
+
* @param {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse} msg The msg instance to transform.
|
|
3557
|
+
* @return {!Object}
|
|
3558
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3559
|
+
*/
|
|
3560
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.toObject = function(includeInstance, msg) {
|
|
3561
|
+
var f, obj = {
|
|
3562
|
+
ledgerTransaction: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3563
|
+
};
|
|
3564
|
+
|
|
3565
|
+
if (includeInstance) {
|
|
3566
|
+
obj.$jspbMessageInstance = msg;
|
|
3567
|
+
}
|
|
3568
|
+
return obj;
|
|
3569
|
+
};
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3572
|
+
|
|
3573
|
+
/**
|
|
3574
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3575
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3576
|
+
* @return {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse}
|
|
3577
|
+
*/
|
|
3578
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.deserializeBinary = function(bytes) {
|
|
3579
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3580
|
+
var msg = new proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse;
|
|
3581
|
+
return proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.deserializeBinaryFromReader(msg, reader);
|
|
3582
|
+
};
|
|
3583
|
+
|
|
3584
|
+
|
|
3585
|
+
/**
|
|
3586
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3587
|
+
* given reader into the given message object.
|
|
3588
|
+
* @param {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse} msg The message object to deserialize into.
|
|
3589
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3590
|
+
* @return {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse}
|
|
3591
|
+
*/
|
|
3592
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3593
|
+
while (reader.nextField()) {
|
|
3594
|
+
if (reader.isEndGroup()) {
|
|
3595
|
+
break;
|
|
3596
|
+
}
|
|
3597
|
+
var field = reader.getFieldNumber();
|
|
3598
|
+
switch (field) {
|
|
3599
|
+
case 1:
|
|
3600
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3601
|
+
msg.setLedgerTransaction(value);
|
|
3602
|
+
break;
|
|
3603
|
+
default:
|
|
3604
|
+
reader.skipField();
|
|
3605
|
+
break;
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
return msg;
|
|
3609
|
+
};
|
|
3610
|
+
|
|
3611
|
+
|
|
3612
|
+
/**
|
|
3613
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3614
|
+
* @return {!Uint8Array}
|
|
3615
|
+
*/
|
|
3616
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.prototype.serializeBinary = function() {
|
|
3617
|
+
var writer = new jspb.BinaryWriter();
|
|
3618
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.serializeBinaryToWriter(this, writer);
|
|
3619
|
+
return writer.getResultBuffer();
|
|
3620
|
+
};
|
|
3621
|
+
|
|
3622
|
+
|
|
3623
|
+
/**
|
|
3624
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3625
|
+
* format), writing to the given BinaryWriter.
|
|
3626
|
+
* @param {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse} message
|
|
3627
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3628
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3629
|
+
*/
|
|
3630
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3631
|
+
var f = undefined;
|
|
3632
|
+
f = message.getLedgerTransaction();
|
|
3633
|
+
if (f.length > 0) {
|
|
3634
|
+
writer.writeString(
|
|
3635
|
+
1,
|
|
3636
|
+
f
|
|
3637
|
+
);
|
|
3638
|
+
}
|
|
3639
|
+
};
|
|
3640
|
+
|
|
3641
|
+
|
|
3642
|
+
/**
|
|
3643
|
+
* optional string ledger_transaction = 1;
|
|
3644
|
+
* @return {string}
|
|
3645
|
+
*/
|
|
3646
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.prototype.getLedgerTransaction = function() {
|
|
3647
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3648
|
+
};
|
|
3649
|
+
|
|
3650
|
+
|
|
3651
|
+
/**
|
|
3652
|
+
* @param {string} value
|
|
3653
|
+
* @return {!proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse} returns this
|
|
3654
|
+
*/
|
|
3655
|
+
proto.meshtrade.wallet.account.v1.DeregisterTokensFromAccountResponse.prototype.setLedgerTransaction = function(value) {
|
|
3656
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3657
|
+
};
|
|
3658
|
+
|
|
3659
|
+
|
|
2930
3660
|
goog.object.extend(exports, proto.meshtrade.wallet.account.v1);
|