protobuf-platform 1.2.716 → 1.2.717
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/loyalty/loyalty.proto +61 -1
- package/loyalty/loyalty_grpc_pb.js +122 -0
- package/loyalty/loyalty_pb.js +2331 -0
- package/package.json +1 -1
- package/payment/payment.proto +47 -0
- package/payment/payment_grpc_pb.js +111 -0
- package/payment/payment_pb.js +1716 -0
package/payment/payment_pb.js
CHANGED
|
@@ -27,9 +27,12 @@ goog.exportSymbol('proto.payment.AdjustmentRequest', null, global);
|
|
|
27
27
|
goog.exportSymbol('proto.payment.AdjustmentSearchRequest', null, global);
|
|
28
28
|
goog.exportSymbol('proto.payment.AttemptDepositRequest', null, global);
|
|
29
29
|
goog.exportSymbol('proto.payment.AttemptWithdrawalRequest', null, global);
|
|
30
|
+
goog.exportSymbol('proto.payment.AvailableRealBalanceRequest', null, global);
|
|
31
|
+
goog.exportSymbol('proto.payment.AvailableRealBalanceResponse', null, global);
|
|
30
32
|
goog.exportSymbol('proto.payment.BonusBalanceRewardIssueRequest', null, global);
|
|
31
33
|
goog.exportSymbol('proto.payment.BonusBalanceRewardOperationResponse', null, global);
|
|
32
34
|
goog.exportSymbol('proto.payment.BonusBalanceRewardReversalRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.payment.CaptureMonetaryReservationRequest', null, global);
|
|
33
36
|
goog.exportSymbol('proto.payment.CashbackClaimCreditRequest', null, global);
|
|
34
37
|
goog.exportSymbol('proto.payment.CashierFieldItem', null, global);
|
|
35
38
|
goog.exportSymbol('proto.payment.CashierFieldItemsResponse', null, global);
|
|
@@ -108,6 +111,8 @@ goog.exportSymbol('proto.payment.MethodItemsResponse', null, global);
|
|
|
108
111
|
goog.exportSymbol('proto.payment.MethodRequest', null, global);
|
|
109
112
|
goog.exportSymbol('proto.payment.MethodRequest.RequestCase', null, global);
|
|
110
113
|
goog.exportSymbol('proto.payment.MethodResponse', null, global);
|
|
114
|
+
goog.exportSymbol('proto.payment.MonetaryReservationIdentityRequest', null, global);
|
|
115
|
+
goog.exportSymbol('proto.payment.MonetaryReservationResponse', null, global);
|
|
111
116
|
goog.exportSymbol('proto.payment.OperationDetailsItem', null, global);
|
|
112
117
|
goog.exportSymbol('proto.payment.OperationDetailsResponse', null, global);
|
|
113
118
|
goog.exportSymbol('proto.payment.OperationItem', null, global);
|
|
@@ -144,6 +149,7 @@ goog.exportSymbol('proto.payment.ProviderTranslationResponse', null, global);
|
|
|
144
149
|
goog.exportSymbol('proto.payment.ReadGameplaySettlementFactRequest', null, global);
|
|
145
150
|
goog.exportSymbol('proto.payment.ReadGameplaySettlementFactResponse', null, global);
|
|
146
151
|
goog.exportSymbol('proto.payment.RegisterGameplayPrecisionSessionRequest', null, global);
|
|
152
|
+
goog.exportSymbol('proto.payment.ReserveRealFundsRequest', null, global);
|
|
147
153
|
goog.exportSymbol('proto.payment.ResolveGameWalletContextRequest', null, global);
|
|
148
154
|
goog.exportSymbol('proto.payment.ResolveGameWalletContextResponse', null, global);
|
|
149
155
|
goog.exportSymbol('proto.payment.SavedDepositCard', null, global);
|
|
@@ -173,6 +179,132 @@ goog.exportSymbol('proto.payment.WithdrawalResponse', null, global);
|
|
|
173
179
|
goog.exportSymbol('proto.payment.WithdrawalWagerBucketHistoryItem', null, global);
|
|
174
180
|
goog.exportSymbol('proto.payment.WithdrawalWagerLockedBucketItem', null, global);
|
|
175
181
|
goog.exportSymbol('proto.payment.WithdrawalWebHookRequest', null, global);
|
|
182
|
+
/**
|
|
183
|
+
* Generated by JsPbCodeGenerator.
|
|
184
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
185
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
186
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
187
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
188
|
+
* valid.
|
|
189
|
+
* @extends {jspb.Message}
|
|
190
|
+
* @constructor
|
|
191
|
+
*/
|
|
192
|
+
proto.payment.ReserveRealFundsRequest = function(opt_data) {
|
|
193
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
194
|
+
};
|
|
195
|
+
goog.inherits(proto.payment.ReserveRealFundsRequest, jspb.Message);
|
|
196
|
+
if (goog.DEBUG && !COMPILED) {
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
* @override
|
|
200
|
+
*/
|
|
201
|
+
proto.payment.ReserveRealFundsRequest.displayName = 'proto.payment.ReserveRealFundsRequest';
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Generated by JsPbCodeGenerator.
|
|
205
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
206
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
207
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
208
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
209
|
+
* valid.
|
|
210
|
+
* @extends {jspb.Message}
|
|
211
|
+
* @constructor
|
|
212
|
+
*/
|
|
213
|
+
proto.payment.MonetaryReservationIdentityRequest = function(opt_data) {
|
|
214
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
215
|
+
};
|
|
216
|
+
goog.inherits(proto.payment.MonetaryReservationIdentityRequest, jspb.Message);
|
|
217
|
+
if (goog.DEBUG && !COMPILED) {
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
* @override
|
|
221
|
+
*/
|
|
222
|
+
proto.payment.MonetaryReservationIdentityRequest.displayName = 'proto.payment.MonetaryReservationIdentityRequest';
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Generated by JsPbCodeGenerator.
|
|
226
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
227
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
228
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
229
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
230
|
+
* valid.
|
|
231
|
+
* @extends {jspb.Message}
|
|
232
|
+
* @constructor
|
|
233
|
+
*/
|
|
234
|
+
proto.payment.CaptureMonetaryReservationRequest = function(opt_data) {
|
|
235
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
236
|
+
};
|
|
237
|
+
goog.inherits(proto.payment.CaptureMonetaryReservationRequest, jspb.Message);
|
|
238
|
+
if (goog.DEBUG && !COMPILED) {
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
* @override
|
|
242
|
+
*/
|
|
243
|
+
proto.payment.CaptureMonetaryReservationRequest.displayName = 'proto.payment.CaptureMonetaryReservationRequest';
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Generated by JsPbCodeGenerator.
|
|
247
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
248
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
249
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
250
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
251
|
+
* valid.
|
|
252
|
+
* @extends {jspb.Message}
|
|
253
|
+
* @constructor
|
|
254
|
+
*/
|
|
255
|
+
proto.payment.AvailableRealBalanceRequest = function(opt_data) {
|
|
256
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
257
|
+
};
|
|
258
|
+
goog.inherits(proto.payment.AvailableRealBalanceRequest, jspb.Message);
|
|
259
|
+
if (goog.DEBUG && !COMPILED) {
|
|
260
|
+
/**
|
|
261
|
+
* @public
|
|
262
|
+
* @override
|
|
263
|
+
*/
|
|
264
|
+
proto.payment.AvailableRealBalanceRequest.displayName = 'proto.payment.AvailableRealBalanceRequest';
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Generated by JsPbCodeGenerator.
|
|
268
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
269
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
270
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
271
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
272
|
+
* valid.
|
|
273
|
+
* @extends {jspb.Message}
|
|
274
|
+
* @constructor
|
|
275
|
+
*/
|
|
276
|
+
proto.payment.AvailableRealBalanceResponse = function(opt_data) {
|
|
277
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
278
|
+
};
|
|
279
|
+
goog.inherits(proto.payment.AvailableRealBalanceResponse, jspb.Message);
|
|
280
|
+
if (goog.DEBUG && !COMPILED) {
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
* @override
|
|
284
|
+
*/
|
|
285
|
+
proto.payment.AvailableRealBalanceResponse.displayName = 'proto.payment.AvailableRealBalanceResponse';
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* Generated by JsPbCodeGenerator.
|
|
289
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
290
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
291
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
292
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
293
|
+
* valid.
|
|
294
|
+
* @extends {jspb.Message}
|
|
295
|
+
* @constructor
|
|
296
|
+
*/
|
|
297
|
+
proto.payment.MonetaryReservationResponse = function(opt_data) {
|
|
298
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
299
|
+
};
|
|
300
|
+
goog.inherits(proto.payment.MonetaryReservationResponse, jspb.Message);
|
|
301
|
+
if (goog.DEBUG && !COMPILED) {
|
|
302
|
+
/**
|
|
303
|
+
* @public
|
|
304
|
+
* @override
|
|
305
|
+
*/
|
|
306
|
+
proto.payment.MonetaryReservationResponse.displayName = 'proto.payment.MonetaryReservationResponse';
|
|
307
|
+
}
|
|
176
308
|
/**
|
|
177
309
|
* Generated by JsPbCodeGenerator.
|
|
178
310
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3305,6 +3437,1590 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3305
3437
|
|
|
3306
3438
|
|
|
3307
3439
|
|
|
3440
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3441
|
+
/**
|
|
3442
|
+
* Creates an object representation of this proto.
|
|
3443
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3444
|
+
* Optional fields that are not set will be set to undefined.
|
|
3445
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3446
|
+
* For the list of reserved names please see:
|
|
3447
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3448
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3449
|
+
* JSPB instance for transitional soy proto support:
|
|
3450
|
+
* http://goto/soy-param-migration
|
|
3451
|
+
* @return {!Object}
|
|
3452
|
+
*/
|
|
3453
|
+
proto.payment.ReserveRealFundsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3454
|
+
return proto.payment.ReserveRealFundsRequest.toObject(opt_includeInstance, this);
|
|
3455
|
+
};
|
|
3456
|
+
|
|
3457
|
+
|
|
3458
|
+
/**
|
|
3459
|
+
* Static version of the {@see toObject} method.
|
|
3460
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3461
|
+
* the JSPB instance for transitional soy proto support:
|
|
3462
|
+
* http://goto/soy-param-migration
|
|
3463
|
+
* @param {!proto.payment.ReserveRealFundsRequest} msg The msg instance to transform.
|
|
3464
|
+
* @return {!Object}
|
|
3465
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3466
|
+
*/
|
|
3467
|
+
proto.payment.ReserveRealFundsRequest.toObject = function(includeInstance, msg) {
|
|
3468
|
+
var f, obj = {
|
|
3469
|
+
identity: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3470
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3471
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3472
|
+
amountMinor: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3473
|
+
purpose: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3474
|
+
source: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
3475
|
+
};
|
|
3476
|
+
|
|
3477
|
+
if (includeInstance) {
|
|
3478
|
+
obj.$jspbMessageInstance = msg;
|
|
3479
|
+
}
|
|
3480
|
+
return obj;
|
|
3481
|
+
};
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3484
|
+
|
|
3485
|
+
/**
|
|
3486
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3487
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3488
|
+
* @return {!proto.payment.ReserveRealFundsRequest}
|
|
3489
|
+
*/
|
|
3490
|
+
proto.payment.ReserveRealFundsRequest.deserializeBinary = function(bytes) {
|
|
3491
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3492
|
+
var msg = new proto.payment.ReserveRealFundsRequest;
|
|
3493
|
+
return proto.payment.ReserveRealFundsRequest.deserializeBinaryFromReader(msg, reader);
|
|
3494
|
+
};
|
|
3495
|
+
|
|
3496
|
+
|
|
3497
|
+
/**
|
|
3498
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3499
|
+
* given reader into the given message object.
|
|
3500
|
+
* @param {!proto.payment.ReserveRealFundsRequest} msg The message object to deserialize into.
|
|
3501
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3502
|
+
* @return {!proto.payment.ReserveRealFundsRequest}
|
|
3503
|
+
*/
|
|
3504
|
+
proto.payment.ReserveRealFundsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3505
|
+
while (reader.nextField()) {
|
|
3506
|
+
if (reader.isEndGroup()) {
|
|
3507
|
+
break;
|
|
3508
|
+
}
|
|
3509
|
+
var field = reader.getFieldNumber();
|
|
3510
|
+
switch (field) {
|
|
3511
|
+
case 1:
|
|
3512
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3513
|
+
msg.setIdentity(value);
|
|
3514
|
+
break;
|
|
3515
|
+
case 2:
|
|
3516
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3517
|
+
msg.setUserId(value);
|
|
3518
|
+
break;
|
|
3519
|
+
case 3:
|
|
3520
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3521
|
+
msg.setCurrency(value);
|
|
3522
|
+
break;
|
|
3523
|
+
case 4:
|
|
3524
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3525
|
+
msg.setAmountMinor(value);
|
|
3526
|
+
break;
|
|
3527
|
+
case 5:
|
|
3528
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3529
|
+
msg.setPurpose(value);
|
|
3530
|
+
break;
|
|
3531
|
+
case 6:
|
|
3532
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3533
|
+
msg.setSource(value);
|
|
3534
|
+
break;
|
|
3535
|
+
default:
|
|
3536
|
+
reader.skipField();
|
|
3537
|
+
break;
|
|
3538
|
+
}
|
|
3539
|
+
}
|
|
3540
|
+
return msg;
|
|
3541
|
+
};
|
|
3542
|
+
|
|
3543
|
+
|
|
3544
|
+
/**
|
|
3545
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3546
|
+
* @return {!Uint8Array}
|
|
3547
|
+
*/
|
|
3548
|
+
proto.payment.ReserveRealFundsRequest.prototype.serializeBinary = function() {
|
|
3549
|
+
var writer = new jspb.BinaryWriter();
|
|
3550
|
+
proto.payment.ReserveRealFundsRequest.serializeBinaryToWriter(this, writer);
|
|
3551
|
+
return writer.getResultBuffer();
|
|
3552
|
+
};
|
|
3553
|
+
|
|
3554
|
+
|
|
3555
|
+
/**
|
|
3556
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3557
|
+
* format), writing to the given BinaryWriter.
|
|
3558
|
+
* @param {!proto.payment.ReserveRealFundsRequest} message
|
|
3559
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3560
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3561
|
+
*/
|
|
3562
|
+
proto.payment.ReserveRealFundsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3563
|
+
var f = undefined;
|
|
3564
|
+
f = message.getIdentity();
|
|
3565
|
+
if (f.length > 0) {
|
|
3566
|
+
writer.writeString(
|
|
3567
|
+
1,
|
|
3568
|
+
f
|
|
3569
|
+
);
|
|
3570
|
+
}
|
|
3571
|
+
f = message.getUserId();
|
|
3572
|
+
if (f.length > 0) {
|
|
3573
|
+
writer.writeString(
|
|
3574
|
+
2,
|
|
3575
|
+
f
|
|
3576
|
+
);
|
|
3577
|
+
}
|
|
3578
|
+
f = message.getCurrency();
|
|
3579
|
+
if (f.length > 0) {
|
|
3580
|
+
writer.writeString(
|
|
3581
|
+
3,
|
|
3582
|
+
f
|
|
3583
|
+
);
|
|
3584
|
+
}
|
|
3585
|
+
f = message.getAmountMinor();
|
|
3586
|
+
if (f.length > 0) {
|
|
3587
|
+
writer.writeString(
|
|
3588
|
+
4,
|
|
3589
|
+
f
|
|
3590
|
+
);
|
|
3591
|
+
}
|
|
3592
|
+
f = message.getPurpose();
|
|
3593
|
+
if (f.length > 0) {
|
|
3594
|
+
writer.writeString(
|
|
3595
|
+
5,
|
|
3596
|
+
f
|
|
3597
|
+
);
|
|
3598
|
+
}
|
|
3599
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
3600
|
+
if (f != null) {
|
|
3601
|
+
writer.writeString(
|
|
3602
|
+
6,
|
|
3603
|
+
f
|
|
3604
|
+
);
|
|
3605
|
+
}
|
|
3606
|
+
};
|
|
3607
|
+
|
|
3608
|
+
|
|
3609
|
+
/**
|
|
3610
|
+
* optional string identity = 1;
|
|
3611
|
+
* @return {string}
|
|
3612
|
+
*/
|
|
3613
|
+
proto.payment.ReserveRealFundsRequest.prototype.getIdentity = function() {
|
|
3614
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3615
|
+
};
|
|
3616
|
+
|
|
3617
|
+
|
|
3618
|
+
/**
|
|
3619
|
+
* @param {string} value
|
|
3620
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3621
|
+
*/
|
|
3622
|
+
proto.payment.ReserveRealFundsRequest.prototype.setIdentity = function(value) {
|
|
3623
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3624
|
+
};
|
|
3625
|
+
|
|
3626
|
+
|
|
3627
|
+
/**
|
|
3628
|
+
* optional string user_id = 2;
|
|
3629
|
+
* @return {string}
|
|
3630
|
+
*/
|
|
3631
|
+
proto.payment.ReserveRealFundsRequest.prototype.getUserId = function() {
|
|
3632
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3633
|
+
};
|
|
3634
|
+
|
|
3635
|
+
|
|
3636
|
+
/**
|
|
3637
|
+
* @param {string} value
|
|
3638
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3639
|
+
*/
|
|
3640
|
+
proto.payment.ReserveRealFundsRequest.prototype.setUserId = function(value) {
|
|
3641
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3642
|
+
};
|
|
3643
|
+
|
|
3644
|
+
|
|
3645
|
+
/**
|
|
3646
|
+
* optional string currency = 3;
|
|
3647
|
+
* @return {string}
|
|
3648
|
+
*/
|
|
3649
|
+
proto.payment.ReserveRealFundsRequest.prototype.getCurrency = function() {
|
|
3650
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3651
|
+
};
|
|
3652
|
+
|
|
3653
|
+
|
|
3654
|
+
/**
|
|
3655
|
+
* @param {string} value
|
|
3656
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3657
|
+
*/
|
|
3658
|
+
proto.payment.ReserveRealFundsRequest.prototype.setCurrency = function(value) {
|
|
3659
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3660
|
+
};
|
|
3661
|
+
|
|
3662
|
+
|
|
3663
|
+
/**
|
|
3664
|
+
* optional string amount_minor = 4;
|
|
3665
|
+
* @return {string}
|
|
3666
|
+
*/
|
|
3667
|
+
proto.payment.ReserveRealFundsRequest.prototype.getAmountMinor = function() {
|
|
3668
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3669
|
+
};
|
|
3670
|
+
|
|
3671
|
+
|
|
3672
|
+
/**
|
|
3673
|
+
* @param {string} value
|
|
3674
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3675
|
+
*/
|
|
3676
|
+
proto.payment.ReserveRealFundsRequest.prototype.setAmountMinor = function(value) {
|
|
3677
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3678
|
+
};
|
|
3679
|
+
|
|
3680
|
+
|
|
3681
|
+
/**
|
|
3682
|
+
* optional string purpose = 5;
|
|
3683
|
+
* @return {string}
|
|
3684
|
+
*/
|
|
3685
|
+
proto.payment.ReserveRealFundsRequest.prototype.getPurpose = function() {
|
|
3686
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3687
|
+
};
|
|
3688
|
+
|
|
3689
|
+
|
|
3690
|
+
/**
|
|
3691
|
+
* @param {string} value
|
|
3692
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3693
|
+
*/
|
|
3694
|
+
proto.payment.ReserveRealFundsRequest.prototype.setPurpose = function(value) {
|
|
3695
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3696
|
+
};
|
|
3697
|
+
|
|
3698
|
+
|
|
3699
|
+
/**
|
|
3700
|
+
* optional string source = 6;
|
|
3701
|
+
* @return {string}
|
|
3702
|
+
*/
|
|
3703
|
+
proto.payment.ReserveRealFundsRequest.prototype.getSource = function() {
|
|
3704
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3705
|
+
};
|
|
3706
|
+
|
|
3707
|
+
|
|
3708
|
+
/**
|
|
3709
|
+
* @param {string} value
|
|
3710
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3711
|
+
*/
|
|
3712
|
+
proto.payment.ReserveRealFundsRequest.prototype.setSource = function(value) {
|
|
3713
|
+
return jspb.Message.setField(this, 6, value);
|
|
3714
|
+
};
|
|
3715
|
+
|
|
3716
|
+
|
|
3717
|
+
/**
|
|
3718
|
+
* Clears the field making it undefined.
|
|
3719
|
+
* @return {!proto.payment.ReserveRealFundsRequest} returns this
|
|
3720
|
+
*/
|
|
3721
|
+
proto.payment.ReserveRealFundsRequest.prototype.clearSource = function() {
|
|
3722
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
3723
|
+
};
|
|
3724
|
+
|
|
3725
|
+
|
|
3726
|
+
/**
|
|
3727
|
+
* Returns whether this field is set.
|
|
3728
|
+
* @return {boolean}
|
|
3729
|
+
*/
|
|
3730
|
+
proto.payment.ReserveRealFundsRequest.prototype.hasSource = function() {
|
|
3731
|
+
return jspb.Message.getField(this, 6) != null;
|
|
3732
|
+
};
|
|
3733
|
+
|
|
3734
|
+
|
|
3735
|
+
|
|
3736
|
+
|
|
3737
|
+
|
|
3738
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3739
|
+
/**
|
|
3740
|
+
* Creates an object representation of this proto.
|
|
3741
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3742
|
+
* Optional fields that are not set will be set to undefined.
|
|
3743
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3744
|
+
* For the list of reserved names please see:
|
|
3745
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3746
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3747
|
+
* JSPB instance for transitional soy proto support:
|
|
3748
|
+
* http://goto/soy-param-migration
|
|
3749
|
+
* @return {!Object}
|
|
3750
|
+
*/
|
|
3751
|
+
proto.payment.MonetaryReservationIdentityRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3752
|
+
return proto.payment.MonetaryReservationIdentityRequest.toObject(opt_includeInstance, this);
|
|
3753
|
+
};
|
|
3754
|
+
|
|
3755
|
+
|
|
3756
|
+
/**
|
|
3757
|
+
* Static version of the {@see toObject} method.
|
|
3758
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3759
|
+
* the JSPB instance for transitional soy proto support:
|
|
3760
|
+
* http://goto/soy-param-migration
|
|
3761
|
+
* @param {!proto.payment.MonetaryReservationIdentityRequest} msg The msg instance to transform.
|
|
3762
|
+
* @return {!Object}
|
|
3763
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3764
|
+
*/
|
|
3765
|
+
proto.payment.MonetaryReservationIdentityRequest.toObject = function(includeInstance, msg) {
|
|
3766
|
+
var f, obj = {
|
|
3767
|
+
identity: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3768
|
+
};
|
|
3769
|
+
|
|
3770
|
+
if (includeInstance) {
|
|
3771
|
+
obj.$jspbMessageInstance = msg;
|
|
3772
|
+
}
|
|
3773
|
+
return obj;
|
|
3774
|
+
};
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3777
|
+
|
|
3778
|
+
/**
|
|
3779
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3780
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3781
|
+
* @return {!proto.payment.MonetaryReservationIdentityRequest}
|
|
3782
|
+
*/
|
|
3783
|
+
proto.payment.MonetaryReservationIdentityRequest.deserializeBinary = function(bytes) {
|
|
3784
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3785
|
+
var msg = new proto.payment.MonetaryReservationIdentityRequest;
|
|
3786
|
+
return proto.payment.MonetaryReservationIdentityRequest.deserializeBinaryFromReader(msg, reader);
|
|
3787
|
+
};
|
|
3788
|
+
|
|
3789
|
+
|
|
3790
|
+
/**
|
|
3791
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3792
|
+
* given reader into the given message object.
|
|
3793
|
+
* @param {!proto.payment.MonetaryReservationIdentityRequest} msg The message object to deserialize into.
|
|
3794
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3795
|
+
* @return {!proto.payment.MonetaryReservationIdentityRequest}
|
|
3796
|
+
*/
|
|
3797
|
+
proto.payment.MonetaryReservationIdentityRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3798
|
+
while (reader.nextField()) {
|
|
3799
|
+
if (reader.isEndGroup()) {
|
|
3800
|
+
break;
|
|
3801
|
+
}
|
|
3802
|
+
var field = reader.getFieldNumber();
|
|
3803
|
+
switch (field) {
|
|
3804
|
+
case 1:
|
|
3805
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3806
|
+
msg.setIdentity(value);
|
|
3807
|
+
break;
|
|
3808
|
+
default:
|
|
3809
|
+
reader.skipField();
|
|
3810
|
+
break;
|
|
3811
|
+
}
|
|
3812
|
+
}
|
|
3813
|
+
return msg;
|
|
3814
|
+
};
|
|
3815
|
+
|
|
3816
|
+
|
|
3817
|
+
/**
|
|
3818
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3819
|
+
* @return {!Uint8Array}
|
|
3820
|
+
*/
|
|
3821
|
+
proto.payment.MonetaryReservationIdentityRequest.prototype.serializeBinary = function() {
|
|
3822
|
+
var writer = new jspb.BinaryWriter();
|
|
3823
|
+
proto.payment.MonetaryReservationIdentityRequest.serializeBinaryToWriter(this, writer);
|
|
3824
|
+
return writer.getResultBuffer();
|
|
3825
|
+
};
|
|
3826
|
+
|
|
3827
|
+
|
|
3828
|
+
/**
|
|
3829
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3830
|
+
* format), writing to the given BinaryWriter.
|
|
3831
|
+
* @param {!proto.payment.MonetaryReservationIdentityRequest} message
|
|
3832
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3833
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3834
|
+
*/
|
|
3835
|
+
proto.payment.MonetaryReservationIdentityRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3836
|
+
var f = undefined;
|
|
3837
|
+
f = message.getIdentity();
|
|
3838
|
+
if (f.length > 0) {
|
|
3839
|
+
writer.writeString(
|
|
3840
|
+
1,
|
|
3841
|
+
f
|
|
3842
|
+
);
|
|
3843
|
+
}
|
|
3844
|
+
};
|
|
3845
|
+
|
|
3846
|
+
|
|
3847
|
+
/**
|
|
3848
|
+
* optional string identity = 1;
|
|
3849
|
+
* @return {string}
|
|
3850
|
+
*/
|
|
3851
|
+
proto.payment.MonetaryReservationIdentityRequest.prototype.getIdentity = function() {
|
|
3852
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3853
|
+
};
|
|
3854
|
+
|
|
3855
|
+
|
|
3856
|
+
/**
|
|
3857
|
+
* @param {string} value
|
|
3858
|
+
* @return {!proto.payment.MonetaryReservationIdentityRequest} returns this
|
|
3859
|
+
*/
|
|
3860
|
+
proto.payment.MonetaryReservationIdentityRequest.prototype.setIdentity = function(value) {
|
|
3861
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3862
|
+
};
|
|
3863
|
+
|
|
3864
|
+
|
|
3865
|
+
|
|
3866
|
+
|
|
3867
|
+
|
|
3868
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3869
|
+
/**
|
|
3870
|
+
* Creates an object representation of this proto.
|
|
3871
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3872
|
+
* Optional fields that are not set will be set to undefined.
|
|
3873
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3874
|
+
* For the list of reserved names please see:
|
|
3875
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3876
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3877
|
+
* JSPB instance for transitional soy proto support:
|
|
3878
|
+
* http://goto/soy-param-migration
|
|
3879
|
+
* @return {!Object}
|
|
3880
|
+
*/
|
|
3881
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3882
|
+
return proto.payment.CaptureMonetaryReservationRequest.toObject(opt_includeInstance, this);
|
|
3883
|
+
};
|
|
3884
|
+
|
|
3885
|
+
|
|
3886
|
+
/**
|
|
3887
|
+
* Static version of the {@see toObject} method.
|
|
3888
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3889
|
+
* the JSPB instance for transitional soy proto support:
|
|
3890
|
+
* http://goto/soy-param-migration
|
|
3891
|
+
* @param {!proto.payment.CaptureMonetaryReservationRequest} msg The msg instance to transform.
|
|
3892
|
+
* @return {!Object}
|
|
3893
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3894
|
+
*/
|
|
3895
|
+
proto.payment.CaptureMonetaryReservationRequest.toObject = function(includeInstance, msg) {
|
|
3896
|
+
var f, obj = {
|
|
3897
|
+
identity: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3898
|
+
accountType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3899
|
+
operationType: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3900
|
+
reason: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3901
|
+
};
|
|
3902
|
+
|
|
3903
|
+
if (includeInstance) {
|
|
3904
|
+
obj.$jspbMessageInstance = msg;
|
|
3905
|
+
}
|
|
3906
|
+
return obj;
|
|
3907
|
+
};
|
|
3908
|
+
}
|
|
3909
|
+
|
|
3910
|
+
|
|
3911
|
+
/**
|
|
3912
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3913
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3914
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest}
|
|
3915
|
+
*/
|
|
3916
|
+
proto.payment.CaptureMonetaryReservationRequest.deserializeBinary = function(bytes) {
|
|
3917
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3918
|
+
var msg = new proto.payment.CaptureMonetaryReservationRequest;
|
|
3919
|
+
return proto.payment.CaptureMonetaryReservationRequest.deserializeBinaryFromReader(msg, reader);
|
|
3920
|
+
};
|
|
3921
|
+
|
|
3922
|
+
|
|
3923
|
+
/**
|
|
3924
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3925
|
+
* given reader into the given message object.
|
|
3926
|
+
* @param {!proto.payment.CaptureMonetaryReservationRequest} msg The message object to deserialize into.
|
|
3927
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3928
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest}
|
|
3929
|
+
*/
|
|
3930
|
+
proto.payment.CaptureMonetaryReservationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3931
|
+
while (reader.nextField()) {
|
|
3932
|
+
if (reader.isEndGroup()) {
|
|
3933
|
+
break;
|
|
3934
|
+
}
|
|
3935
|
+
var field = reader.getFieldNumber();
|
|
3936
|
+
switch (field) {
|
|
3937
|
+
case 1:
|
|
3938
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3939
|
+
msg.setIdentity(value);
|
|
3940
|
+
break;
|
|
3941
|
+
case 2:
|
|
3942
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3943
|
+
msg.setAccountType(value);
|
|
3944
|
+
break;
|
|
3945
|
+
case 3:
|
|
3946
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3947
|
+
msg.setOperationType(value);
|
|
3948
|
+
break;
|
|
3949
|
+
case 4:
|
|
3950
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3951
|
+
msg.setReason(value);
|
|
3952
|
+
break;
|
|
3953
|
+
default:
|
|
3954
|
+
reader.skipField();
|
|
3955
|
+
break;
|
|
3956
|
+
}
|
|
3957
|
+
}
|
|
3958
|
+
return msg;
|
|
3959
|
+
};
|
|
3960
|
+
|
|
3961
|
+
|
|
3962
|
+
/**
|
|
3963
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3964
|
+
* @return {!Uint8Array}
|
|
3965
|
+
*/
|
|
3966
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.serializeBinary = function() {
|
|
3967
|
+
var writer = new jspb.BinaryWriter();
|
|
3968
|
+
proto.payment.CaptureMonetaryReservationRequest.serializeBinaryToWriter(this, writer);
|
|
3969
|
+
return writer.getResultBuffer();
|
|
3970
|
+
};
|
|
3971
|
+
|
|
3972
|
+
|
|
3973
|
+
/**
|
|
3974
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3975
|
+
* format), writing to the given BinaryWriter.
|
|
3976
|
+
* @param {!proto.payment.CaptureMonetaryReservationRequest} message
|
|
3977
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3978
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3979
|
+
*/
|
|
3980
|
+
proto.payment.CaptureMonetaryReservationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3981
|
+
var f = undefined;
|
|
3982
|
+
f = message.getIdentity();
|
|
3983
|
+
if (f.length > 0) {
|
|
3984
|
+
writer.writeString(
|
|
3985
|
+
1,
|
|
3986
|
+
f
|
|
3987
|
+
);
|
|
3988
|
+
}
|
|
3989
|
+
f = message.getAccountType();
|
|
3990
|
+
if (f.length > 0) {
|
|
3991
|
+
writer.writeString(
|
|
3992
|
+
2,
|
|
3993
|
+
f
|
|
3994
|
+
);
|
|
3995
|
+
}
|
|
3996
|
+
f = message.getOperationType();
|
|
3997
|
+
if (f.length > 0) {
|
|
3998
|
+
writer.writeString(
|
|
3999
|
+
3,
|
|
4000
|
+
f
|
|
4001
|
+
);
|
|
4002
|
+
}
|
|
4003
|
+
f = message.getReason();
|
|
4004
|
+
if (f.length > 0) {
|
|
4005
|
+
writer.writeString(
|
|
4006
|
+
4,
|
|
4007
|
+
f
|
|
4008
|
+
);
|
|
4009
|
+
}
|
|
4010
|
+
};
|
|
4011
|
+
|
|
4012
|
+
|
|
4013
|
+
/**
|
|
4014
|
+
* optional string identity = 1;
|
|
4015
|
+
* @return {string}
|
|
4016
|
+
*/
|
|
4017
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.getIdentity = function() {
|
|
4018
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4019
|
+
};
|
|
4020
|
+
|
|
4021
|
+
|
|
4022
|
+
/**
|
|
4023
|
+
* @param {string} value
|
|
4024
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
|
|
4025
|
+
*/
|
|
4026
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.setIdentity = function(value) {
|
|
4027
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4028
|
+
};
|
|
4029
|
+
|
|
4030
|
+
|
|
4031
|
+
/**
|
|
4032
|
+
* optional string account_type = 2;
|
|
4033
|
+
* @return {string}
|
|
4034
|
+
*/
|
|
4035
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.getAccountType = function() {
|
|
4036
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4037
|
+
};
|
|
4038
|
+
|
|
4039
|
+
|
|
4040
|
+
/**
|
|
4041
|
+
* @param {string} value
|
|
4042
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
|
|
4043
|
+
*/
|
|
4044
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.setAccountType = function(value) {
|
|
4045
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4046
|
+
};
|
|
4047
|
+
|
|
4048
|
+
|
|
4049
|
+
/**
|
|
4050
|
+
* optional string operation_type = 3;
|
|
4051
|
+
* @return {string}
|
|
4052
|
+
*/
|
|
4053
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.getOperationType = function() {
|
|
4054
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4055
|
+
};
|
|
4056
|
+
|
|
4057
|
+
|
|
4058
|
+
/**
|
|
4059
|
+
* @param {string} value
|
|
4060
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
|
|
4061
|
+
*/
|
|
4062
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.setOperationType = function(value) {
|
|
4063
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4064
|
+
};
|
|
4065
|
+
|
|
4066
|
+
|
|
4067
|
+
/**
|
|
4068
|
+
* optional string reason = 4;
|
|
4069
|
+
* @return {string}
|
|
4070
|
+
*/
|
|
4071
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.getReason = function() {
|
|
4072
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4073
|
+
};
|
|
4074
|
+
|
|
4075
|
+
|
|
4076
|
+
/**
|
|
4077
|
+
* @param {string} value
|
|
4078
|
+
* @return {!proto.payment.CaptureMonetaryReservationRequest} returns this
|
|
4079
|
+
*/
|
|
4080
|
+
proto.payment.CaptureMonetaryReservationRequest.prototype.setReason = function(value) {
|
|
4081
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4082
|
+
};
|
|
4083
|
+
|
|
4084
|
+
|
|
4085
|
+
|
|
4086
|
+
|
|
4087
|
+
|
|
4088
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4089
|
+
/**
|
|
4090
|
+
* Creates an object representation of this proto.
|
|
4091
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4092
|
+
* Optional fields that are not set will be set to undefined.
|
|
4093
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4094
|
+
* For the list of reserved names please see:
|
|
4095
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4096
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4097
|
+
* JSPB instance for transitional soy proto support:
|
|
4098
|
+
* http://goto/soy-param-migration
|
|
4099
|
+
* @return {!Object}
|
|
4100
|
+
*/
|
|
4101
|
+
proto.payment.AvailableRealBalanceRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4102
|
+
return proto.payment.AvailableRealBalanceRequest.toObject(opt_includeInstance, this);
|
|
4103
|
+
};
|
|
4104
|
+
|
|
4105
|
+
|
|
4106
|
+
/**
|
|
4107
|
+
* Static version of the {@see toObject} method.
|
|
4108
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4109
|
+
* the JSPB instance for transitional soy proto support:
|
|
4110
|
+
* http://goto/soy-param-migration
|
|
4111
|
+
* @param {!proto.payment.AvailableRealBalanceRequest} msg The msg instance to transform.
|
|
4112
|
+
* @return {!Object}
|
|
4113
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4114
|
+
*/
|
|
4115
|
+
proto.payment.AvailableRealBalanceRequest.toObject = function(includeInstance, msg) {
|
|
4116
|
+
var f, obj = {
|
|
4117
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4118
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4119
|
+
};
|
|
4120
|
+
|
|
4121
|
+
if (includeInstance) {
|
|
4122
|
+
obj.$jspbMessageInstance = msg;
|
|
4123
|
+
}
|
|
4124
|
+
return obj;
|
|
4125
|
+
};
|
|
4126
|
+
}
|
|
4127
|
+
|
|
4128
|
+
|
|
4129
|
+
/**
|
|
4130
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4131
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4132
|
+
* @return {!proto.payment.AvailableRealBalanceRequest}
|
|
4133
|
+
*/
|
|
4134
|
+
proto.payment.AvailableRealBalanceRequest.deserializeBinary = function(bytes) {
|
|
4135
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4136
|
+
var msg = new proto.payment.AvailableRealBalanceRequest;
|
|
4137
|
+
return proto.payment.AvailableRealBalanceRequest.deserializeBinaryFromReader(msg, reader);
|
|
4138
|
+
};
|
|
4139
|
+
|
|
4140
|
+
|
|
4141
|
+
/**
|
|
4142
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4143
|
+
* given reader into the given message object.
|
|
4144
|
+
* @param {!proto.payment.AvailableRealBalanceRequest} msg The message object to deserialize into.
|
|
4145
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4146
|
+
* @return {!proto.payment.AvailableRealBalanceRequest}
|
|
4147
|
+
*/
|
|
4148
|
+
proto.payment.AvailableRealBalanceRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4149
|
+
while (reader.nextField()) {
|
|
4150
|
+
if (reader.isEndGroup()) {
|
|
4151
|
+
break;
|
|
4152
|
+
}
|
|
4153
|
+
var field = reader.getFieldNumber();
|
|
4154
|
+
switch (field) {
|
|
4155
|
+
case 1:
|
|
4156
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4157
|
+
msg.setUserId(value);
|
|
4158
|
+
break;
|
|
4159
|
+
case 2:
|
|
4160
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4161
|
+
msg.setCurrency(value);
|
|
4162
|
+
break;
|
|
4163
|
+
default:
|
|
4164
|
+
reader.skipField();
|
|
4165
|
+
break;
|
|
4166
|
+
}
|
|
4167
|
+
}
|
|
4168
|
+
return msg;
|
|
4169
|
+
};
|
|
4170
|
+
|
|
4171
|
+
|
|
4172
|
+
/**
|
|
4173
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4174
|
+
* @return {!Uint8Array}
|
|
4175
|
+
*/
|
|
4176
|
+
proto.payment.AvailableRealBalanceRequest.prototype.serializeBinary = function() {
|
|
4177
|
+
var writer = new jspb.BinaryWriter();
|
|
4178
|
+
proto.payment.AvailableRealBalanceRequest.serializeBinaryToWriter(this, writer);
|
|
4179
|
+
return writer.getResultBuffer();
|
|
4180
|
+
};
|
|
4181
|
+
|
|
4182
|
+
|
|
4183
|
+
/**
|
|
4184
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4185
|
+
* format), writing to the given BinaryWriter.
|
|
4186
|
+
* @param {!proto.payment.AvailableRealBalanceRequest} message
|
|
4187
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4188
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4189
|
+
*/
|
|
4190
|
+
proto.payment.AvailableRealBalanceRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4191
|
+
var f = undefined;
|
|
4192
|
+
f = message.getUserId();
|
|
4193
|
+
if (f.length > 0) {
|
|
4194
|
+
writer.writeString(
|
|
4195
|
+
1,
|
|
4196
|
+
f
|
|
4197
|
+
);
|
|
4198
|
+
}
|
|
4199
|
+
f = message.getCurrency();
|
|
4200
|
+
if (f.length > 0) {
|
|
4201
|
+
writer.writeString(
|
|
4202
|
+
2,
|
|
4203
|
+
f
|
|
4204
|
+
);
|
|
4205
|
+
}
|
|
4206
|
+
};
|
|
4207
|
+
|
|
4208
|
+
|
|
4209
|
+
/**
|
|
4210
|
+
* optional string user_id = 1;
|
|
4211
|
+
* @return {string}
|
|
4212
|
+
*/
|
|
4213
|
+
proto.payment.AvailableRealBalanceRequest.prototype.getUserId = function() {
|
|
4214
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4215
|
+
};
|
|
4216
|
+
|
|
4217
|
+
|
|
4218
|
+
/**
|
|
4219
|
+
* @param {string} value
|
|
4220
|
+
* @return {!proto.payment.AvailableRealBalanceRequest} returns this
|
|
4221
|
+
*/
|
|
4222
|
+
proto.payment.AvailableRealBalanceRequest.prototype.setUserId = function(value) {
|
|
4223
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4224
|
+
};
|
|
4225
|
+
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* optional string currency = 2;
|
|
4229
|
+
* @return {string}
|
|
4230
|
+
*/
|
|
4231
|
+
proto.payment.AvailableRealBalanceRequest.prototype.getCurrency = function() {
|
|
4232
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4233
|
+
};
|
|
4234
|
+
|
|
4235
|
+
|
|
4236
|
+
/**
|
|
4237
|
+
* @param {string} value
|
|
4238
|
+
* @return {!proto.payment.AvailableRealBalanceRequest} returns this
|
|
4239
|
+
*/
|
|
4240
|
+
proto.payment.AvailableRealBalanceRequest.prototype.setCurrency = function(value) {
|
|
4241
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4242
|
+
};
|
|
4243
|
+
|
|
4244
|
+
|
|
4245
|
+
|
|
4246
|
+
|
|
4247
|
+
|
|
4248
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4249
|
+
/**
|
|
4250
|
+
* Creates an object representation of this proto.
|
|
4251
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4252
|
+
* Optional fields that are not set will be set to undefined.
|
|
4253
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4254
|
+
* For the list of reserved names please see:
|
|
4255
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4256
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4257
|
+
* JSPB instance for transitional soy proto support:
|
|
4258
|
+
* http://goto/soy-param-migration
|
|
4259
|
+
* @return {!Object}
|
|
4260
|
+
*/
|
|
4261
|
+
proto.payment.AvailableRealBalanceResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4262
|
+
return proto.payment.AvailableRealBalanceResponse.toObject(opt_includeInstance, this);
|
|
4263
|
+
};
|
|
4264
|
+
|
|
4265
|
+
|
|
4266
|
+
/**
|
|
4267
|
+
* Static version of the {@see toObject} method.
|
|
4268
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4269
|
+
* the JSPB instance for transitional soy proto support:
|
|
4270
|
+
* http://goto/soy-param-migration
|
|
4271
|
+
* @param {!proto.payment.AvailableRealBalanceResponse} msg The msg instance to transform.
|
|
4272
|
+
* @return {!Object}
|
|
4273
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4274
|
+
*/
|
|
4275
|
+
proto.payment.AvailableRealBalanceResponse.toObject = function(includeInstance, msg) {
|
|
4276
|
+
var f, obj = {
|
|
4277
|
+
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4278
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4279
|
+
bookedMinor: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4280
|
+
reservedMinor: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4281
|
+
availableMinor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4282
|
+
remainderNumerator: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4283
|
+
remainderDenominator: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
4284
|
+
};
|
|
4285
|
+
|
|
4286
|
+
if (includeInstance) {
|
|
4287
|
+
obj.$jspbMessageInstance = msg;
|
|
4288
|
+
}
|
|
4289
|
+
return obj;
|
|
4290
|
+
};
|
|
4291
|
+
}
|
|
4292
|
+
|
|
4293
|
+
|
|
4294
|
+
/**
|
|
4295
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4296
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4297
|
+
* @return {!proto.payment.AvailableRealBalanceResponse}
|
|
4298
|
+
*/
|
|
4299
|
+
proto.payment.AvailableRealBalanceResponse.deserializeBinary = function(bytes) {
|
|
4300
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4301
|
+
var msg = new proto.payment.AvailableRealBalanceResponse;
|
|
4302
|
+
return proto.payment.AvailableRealBalanceResponse.deserializeBinaryFromReader(msg, reader);
|
|
4303
|
+
};
|
|
4304
|
+
|
|
4305
|
+
|
|
4306
|
+
/**
|
|
4307
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4308
|
+
* given reader into the given message object.
|
|
4309
|
+
* @param {!proto.payment.AvailableRealBalanceResponse} msg The message object to deserialize into.
|
|
4310
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4311
|
+
* @return {!proto.payment.AvailableRealBalanceResponse}
|
|
4312
|
+
*/
|
|
4313
|
+
proto.payment.AvailableRealBalanceResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4314
|
+
while (reader.nextField()) {
|
|
4315
|
+
if (reader.isEndGroup()) {
|
|
4316
|
+
break;
|
|
4317
|
+
}
|
|
4318
|
+
var field = reader.getFieldNumber();
|
|
4319
|
+
switch (field) {
|
|
4320
|
+
case 1:
|
|
4321
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4322
|
+
msg.setCurrency(value);
|
|
4323
|
+
break;
|
|
4324
|
+
case 2:
|
|
4325
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4326
|
+
msg.setCurrencyScale(value);
|
|
4327
|
+
break;
|
|
4328
|
+
case 3:
|
|
4329
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4330
|
+
msg.setBookedMinor(value);
|
|
4331
|
+
break;
|
|
4332
|
+
case 4:
|
|
4333
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4334
|
+
msg.setReservedMinor(value);
|
|
4335
|
+
break;
|
|
4336
|
+
case 5:
|
|
4337
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4338
|
+
msg.setAvailableMinor(value);
|
|
4339
|
+
break;
|
|
4340
|
+
case 6:
|
|
4341
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4342
|
+
msg.setRemainderNumerator(value);
|
|
4343
|
+
break;
|
|
4344
|
+
case 7:
|
|
4345
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4346
|
+
msg.setRemainderDenominator(value);
|
|
4347
|
+
break;
|
|
4348
|
+
default:
|
|
4349
|
+
reader.skipField();
|
|
4350
|
+
break;
|
|
4351
|
+
}
|
|
4352
|
+
}
|
|
4353
|
+
return msg;
|
|
4354
|
+
};
|
|
4355
|
+
|
|
4356
|
+
|
|
4357
|
+
/**
|
|
4358
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4359
|
+
* @return {!Uint8Array}
|
|
4360
|
+
*/
|
|
4361
|
+
proto.payment.AvailableRealBalanceResponse.prototype.serializeBinary = function() {
|
|
4362
|
+
var writer = new jspb.BinaryWriter();
|
|
4363
|
+
proto.payment.AvailableRealBalanceResponse.serializeBinaryToWriter(this, writer);
|
|
4364
|
+
return writer.getResultBuffer();
|
|
4365
|
+
};
|
|
4366
|
+
|
|
4367
|
+
|
|
4368
|
+
/**
|
|
4369
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4370
|
+
* format), writing to the given BinaryWriter.
|
|
4371
|
+
* @param {!proto.payment.AvailableRealBalanceResponse} message
|
|
4372
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4373
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4374
|
+
*/
|
|
4375
|
+
proto.payment.AvailableRealBalanceResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4376
|
+
var f = undefined;
|
|
4377
|
+
f = message.getCurrency();
|
|
4378
|
+
if (f.length > 0) {
|
|
4379
|
+
writer.writeString(
|
|
4380
|
+
1,
|
|
4381
|
+
f
|
|
4382
|
+
);
|
|
4383
|
+
}
|
|
4384
|
+
f = message.getCurrencyScale();
|
|
4385
|
+
if (f !== 0) {
|
|
4386
|
+
writer.writeInt32(
|
|
4387
|
+
2,
|
|
4388
|
+
f
|
|
4389
|
+
);
|
|
4390
|
+
}
|
|
4391
|
+
f = message.getBookedMinor();
|
|
4392
|
+
if (f.length > 0) {
|
|
4393
|
+
writer.writeString(
|
|
4394
|
+
3,
|
|
4395
|
+
f
|
|
4396
|
+
);
|
|
4397
|
+
}
|
|
4398
|
+
f = message.getReservedMinor();
|
|
4399
|
+
if (f.length > 0) {
|
|
4400
|
+
writer.writeString(
|
|
4401
|
+
4,
|
|
4402
|
+
f
|
|
4403
|
+
);
|
|
4404
|
+
}
|
|
4405
|
+
f = message.getAvailableMinor();
|
|
4406
|
+
if (f.length > 0) {
|
|
4407
|
+
writer.writeString(
|
|
4408
|
+
5,
|
|
4409
|
+
f
|
|
4410
|
+
);
|
|
4411
|
+
}
|
|
4412
|
+
f = message.getRemainderNumerator();
|
|
4413
|
+
if (f.length > 0) {
|
|
4414
|
+
writer.writeString(
|
|
4415
|
+
6,
|
|
4416
|
+
f
|
|
4417
|
+
);
|
|
4418
|
+
}
|
|
4419
|
+
f = message.getRemainderDenominator();
|
|
4420
|
+
if (f.length > 0) {
|
|
4421
|
+
writer.writeString(
|
|
4422
|
+
7,
|
|
4423
|
+
f
|
|
4424
|
+
);
|
|
4425
|
+
}
|
|
4426
|
+
};
|
|
4427
|
+
|
|
4428
|
+
|
|
4429
|
+
/**
|
|
4430
|
+
* optional string currency = 1;
|
|
4431
|
+
* @return {string}
|
|
4432
|
+
*/
|
|
4433
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getCurrency = function() {
|
|
4434
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4435
|
+
};
|
|
4436
|
+
|
|
4437
|
+
|
|
4438
|
+
/**
|
|
4439
|
+
* @param {string} value
|
|
4440
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4441
|
+
*/
|
|
4442
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setCurrency = function(value) {
|
|
4443
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4444
|
+
};
|
|
4445
|
+
|
|
4446
|
+
|
|
4447
|
+
/**
|
|
4448
|
+
* optional int32 currency_scale = 2;
|
|
4449
|
+
* @return {number}
|
|
4450
|
+
*/
|
|
4451
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getCurrencyScale = function() {
|
|
4452
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4453
|
+
};
|
|
4454
|
+
|
|
4455
|
+
|
|
4456
|
+
/**
|
|
4457
|
+
* @param {number} value
|
|
4458
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4459
|
+
*/
|
|
4460
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setCurrencyScale = function(value) {
|
|
4461
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
4462
|
+
};
|
|
4463
|
+
|
|
4464
|
+
|
|
4465
|
+
/**
|
|
4466
|
+
* optional string booked_minor = 3;
|
|
4467
|
+
* @return {string}
|
|
4468
|
+
*/
|
|
4469
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getBookedMinor = function() {
|
|
4470
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4471
|
+
};
|
|
4472
|
+
|
|
4473
|
+
|
|
4474
|
+
/**
|
|
4475
|
+
* @param {string} value
|
|
4476
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4477
|
+
*/
|
|
4478
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setBookedMinor = function(value) {
|
|
4479
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4480
|
+
};
|
|
4481
|
+
|
|
4482
|
+
|
|
4483
|
+
/**
|
|
4484
|
+
* optional string reserved_minor = 4;
|
|
4485
|
+
* @return {string}
|
|
4486
|
+
*/
|
|
4487
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getReservedMinor = function() {
|
|
4488
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4489
|
+
};
|
|
4490
|
+
|
|
4491
|
+
|
|
4492
|
+
/**
|
|
4493
|
+
* @param {string} value
|
|
4494
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4495
|
+
*/
|
|
4496
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setReservedMinor = function(value) {
|
|
4497
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4498
|
+
};
|
|
4499
|
+
|
|
4500
|
+
|
|
4501
|
+
/**
|
|
4502
|
+
* optional string available_minor = 5;
|
|
4503
|
+
* @return {string}
|
|
4504
|
+
*/
|
|
4505
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getAvailableMinor = function() {
|
|
4506
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4507
|
+
};
|
|
4508
|
+
|
|
4509
|
+
|
|
4510
|
+
/**
|
|
4511
|
+
* @param {string} value
|
|
4512
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4513
|
+
*/
|
|
4514
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setAvailableMinor = function(value) {
|
|
4515
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4516
|
+
};
|
|
4517
|
+
|
|
4518
|
+
|
|
4519
|
+
/**
|
|
4520
|
+
* optional string remainder_numerator = 6;
|
|
4521
|
+
* @return {string}
|
|
4522
|
+
*/
|
|
4523
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getRemainderNumerator = function() {
|
|
4524
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4525
|
+
};
|
|
4526
|
+
|
|
4527
|
+
|
|
4528
|
+
/**
|
|
4529
|
+
* @param {string} value
|
|
4530
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4531
|
+
*/
|
|
4532
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setRemainderNumerator = function(value) {
|
|
4533
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4534
|
+
};
|
|
4535
|
+
|
|
4536
|
+
|
|
4537
|
+
/**
|
|
4538
|
+
* optional string remainder_denominator = 7;
|
|
4539
|
+
* @return {string}
|
|
4540
|
+
*/
|
|
4541
|
+
proto.payment.AvailableRealBalanceResponse.prototype.getRemainderDenominator = function() {
|
|
4542
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4543
|
+
};
|
|
4544
|
+
|
|
4545
|
+
|
|
4546
|
+
/**
|
|
4547
|
+
* @param {string} value
|
|
4548
|
+
* @return {!proto.payment.AvailableRealBalanceResponse} returns this
|
|
4549
|
+
*/
|
|
4550
|
+
proto.payment.AvailableRealBalanceResponse.prototype.setRemainderDenominator = function(value) {
|
|
4551
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4552
|
+
};
|
|
4553
|
+
|
|
4554
|
+
|
|
4555
|
+
|
|
4556
|
+
|
|
4557
|
+
|
|
4558
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4559
|
+
/**
|
|
4560
|
+
* Creates an object representation of this proto.
|
|
4561
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4562
|
+
* Optional fields that are not set will be set to undefined.
|
|
4563
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4564
|
+
* For the list of reserved names please see:
|
|
4565
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4566
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4567
|
+
* JSPB instance for transitional soy proto support:
|
|
4568
|
+
* http://goto/soy-param-migration
|
|
4569
|
+
* @return {!Object}
|
|
4570
|
+
*/
|
|
4571
|
+
proto.payment.MonetaryReservationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4572
|
+
return proto.payment.MonetaryReservationResponse.toObject(opt_includeInstance, this);
|
|
4573
|
+
};
|
|
4574
|
+
|
|
4575
|
+
|
|
4576
|
+
/**
|
|
4577
|
+
* Static version of the {@see toObject} method.
|
|
4578
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4579
|
+
* the JSPB instance for transitional soy proto support:
|
|
4580
|
+
* http://goto/soy-param-migration
|
|
4581
|
+
* @param {!proto.payment.MonetaryReservationResponse} msg The msg instance to transform.
|
|
4582
|
+
* @return {!Object}
|
|
4583
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4584
|
+
*/
|
|
4585
|
+
proto.payment.MonetaryReservationResponse.toObject = function(includeInstance, msg) {
|
|
4586
|
+
var f, obj = {
|
|
4587
|
+
identity: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4588
|
+
outcome: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4589
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4590
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
4591
|
+
amountMinor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4592
|
+
availableMinor: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4593
|
+
remainderNumerator: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4594
|
+
remainderDenominator: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4595
|
+
operationId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4596
|
+
snapshotEventId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4597
|
+
replay: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
4598
|
+
};
|
|
4599
|
+
|
|
4600
|
+
if (includeInstance) {
|
|
4601
|
+
obj.$jspbMessageInstance = msg;
|
|
4602
|
+
}
|
|
4603
|
+
return obj;
|
|
4604
|
+
};
|
|
4605
|
+
}
|
|
4606
|
+
|
|
4607
|
+
|
|
4608
|
+
/**
|
|
4609
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4610
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4611
|
+
* @return {!proto.payment.MonetaryReservationResponse}
|
|
4612
|
+
*/
|
|
4613
|
+
proto.payment.MonetaryReservationResponse.deserializeBinary = function(bytes) {
|
|
4614
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4615
|
+
var msg = new proto.payment.MonetaryReservationResponse;
|
|
4616
|
+
return proto.payment.MonetaryReservationResponse.deserializeBinaryFromReader(msg, reader);
|
|
4617
|
+
};
|
|
4618
|
+
|
|
4619
|
+
|
|
4620
|
+
/**
|
|
4621
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4622
|
+
* given reader into the given message object.
|
|
4623
|
+
* @param {!proto.payment.MonetaryReservationResponse} msg The message object to deserialize into.
|
|
4624
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4625
|
+
* @return {!proto.payment.MonetaryReservationResponse}
|
|
4626
|
+
*/
|
|
4627
|
+
proto.payment.MonetaryReservationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4628
|
+
while (reader.nextField()) {
|
|
4629
|
+
if (reader.isEndGroup()) {
|
|
4630
|
+
break;
|
|
4631
|
+
}
|
|
4632
|
+
var field = reader.getFieldNumber();
|
|
4633
|
+
switch (field) {
|
|
4634
|
+
case 1:
|
|
4635
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4636
|
+
msg.setIdentity(value);
|
|
4637
|
+
break;
|
|
4638
|
+
case 2:
|
|
4639
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4640
|
+
msg.setOutcome(value);
|
|
4641
|
+
break;
|
|
4642
|
+
case 3:
|
|
4643
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4644
|
+
msg.setCurrency(value);
|
|
4645
|
+
break;
|
|
4646
|
+
case 4:
|
|
4647
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4648
|
+
msg.setCurrencyScale(value);
|
|
4649
|
+
break;
|
|
4650
|
+
case 5:
|
|
4651
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4652
|
+
msg.setAmountMinor(value);
|
|
4653
|
+
break;
|
|
4654
|
+
case 6:
|
|
4655
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4656
|
+
msg.setAvailableMinor(value);
|
|
4657
|
+
break;
|
|
4658
|
+
case 7:
|
|
4659
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4660
|
+
msg.setRemainderNumerator(value);
|
|
4661
|
+
break;
|
|
4662
|
+
case 8:
|
|
4663
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4664
|
+
msg.setRemainderDenominator(value);
|
|
4665
|
+
break;
|
|
4666
|
+
case 9:
|
|
4667
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4668
|
+
msg.setOperationId(value);
|
|
4669
|
+
break;
|
|
4670
|
+
case 10:
|
|
4671
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4672
|
+
msg.setSnapshotEventId(value);
|
|
4673
|
+
break;
|
|
4674
|
+
case 11:
|
|
4675
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4676
|
+
msg.setReplay(value);
|
|
4677
|
+
break;
|
|
4678
|
+
default:
|
|
4679
|
+
reader.skipField();
|
|
4680
|
+
break;
|
|
4681
|
+
}
|
|
4682
|
+
}
|
|
4683
|
+
return msg;
|
|
4684
|
+
};
|
|
4685
|
+
|
|
4686
|
+
|
|
4687
|
+
/**
|
|
4688
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4689
|
+
* @return {!Uint8Array}
|
|
4690
|
+
*/
|
|
4691
|
+
proto.payment.MonetaryReservationResponse.prototype.serializeBinary = function() {
|
|
4692
|
+
var writer = new jspb.BinaryWriter();
|
|
4693
|
+
proto.payment.MonetaryReservationResponse.serializeBinaryToWriter(this, writer);
|
|
4694
|
+
return writer.getResultBuffer();
|
|
4695
|
+
};
|
|
4696
|
+
|
|
4697
|
+
|
|
4698
|
+
/**
|
|
4699
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4700
|
+
* format), writing to the given BinaryWriter.
|
|
4701
|
+
* @param {!proto.payment.MonetaryReservationResponse} message
|
|
4702
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4703
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4704
|
+
*/
|
|
4705
|
+
proto.payment.MonetaryReservationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4706
|
+
var f = undefined;
|
|
4707
|
+
f = message.getIdentity();
|
|
4708
|
+
if (f.length > 0) {
|
|
4709
|
+
writer.writeString(
|
|
4710
|
+
1,
|
|
4711
|
+
f
|
|
4712
|
+
);
|
|
4713
|
+
}
|
|
4714
|
+
f = message.getOutcome();
|
|
4715
|
+
if (f.length > 0) {
|
|
4716
|
+
writer.writeString(
|
|
4717
|
+
2,
|
|
4718
|
+
f
|
|
4719
|
+
);
|
|
4720
|
+
}
|
|
4721
|
+
f = message.getCurrency();
|
|
4722
|
+
if (f.length > 0) {
|
|
4723
|
+
writer.writeString(
|
|
4724
|
+
3,
|
|
4725
|
+
f
|
|
4726
|
+
);
|
|
4727
|
+
}
|
|
4728
|
+
f = message.getCurrencyScale();
|
|
4729
|
+
if (f !== 0) {
|
|
4730
|
+
writer.writeInt32(
|
|
4731
|
+
4,
|
|
4732
|
+
f
|
|
4733
|
+
);
|
|
4734
|
+
}
|
|
4735
|
+
f = message.getAmountMinor();
|
|
4736
|
+
if (f.length > 0) {
|
|
4737
|
+
writer.writeString(
|
|
4738
|
+
5,
|
|
4739
|
+
f
|
|
4740
|
+
);
|
|
4741
|
+
}
|
|
4742
|
+
f = message.getAvailableMinor();
|
|
4743
|
+
if (f.length > 0) {
|
|
4744
|
+
writer.writeString(
|
|
4745
|
+
6,
|
|
4746
|
+
f
|
|
4747
|
+
);
|
|
4748
|
+
}
|
|
4749
|
+
f = message.getRemainderNumerator();
|
|
4750
|
+
if (f.length > 0) {
|
|
4751
|
+
writer.writeString(
|
|
4752
|
+
7,
|
|
4753
|
+
f
|
|
4754
|
+
);
|
|
4755
|
+
}
|
|
4756
|
+
f = message.getRemainderDenominator();
|
|
4757
|
+
if (f.length > 0) {
|
|
4758
|
+
writer.writeString(
|
|
4759
|
+
8,
|
|
4760
|
+
f
|
|
4761
|
+
);
|
|
4762
|
+
}
|
|
4763
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
4764
|
+
if (f != null) {
|
|
4765
|
+
writer.writeString(
|
|
4766
|
+
9,
|
|
4767
|
+
f
|
|
4768
|
+
);
|
|
4769
|
+
}
|
|
4770
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
4771
|
+
if (f != null) {
|
|
4772
|
+
writer.writeString(
|
|
4773
|
+
10,
|
|
4774
|
+
f
|
|
4775
|
+
);
|
|
4776
|
+
}
|
|
4777
|
+
f = message.getReplay();
|
|
4778
|
+
if (f) {
|
|
4779
|
+
writer.writeBool(
|
|
4780
|
+
11,
|
|
4781
|
+
f
|
|
4782
|
+
);
|
|
4783
|
+
}
|
|
4784
|
+
};
|
|
4785
|
+
|
|
4786
|
+
|
|
4787
|
+
/**
|
|
4788
|
+
* optional string identity = 1;
|
|
4789
|
+
* @return {string}
|
|
4790
|
+
*/
|
|
4791
|
+
proto.payment.MonetaryReservationResponse.prototype.getIdentity = function() {
|
|
4792
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4793
|
+
};
|
|
4794
|
+
|
|
4795
|
+
|
|
4796
|
+
/**
|
|
4797
|
+
* @param {string} value
|
|
4798
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4799
|
+
*/
|
|
4800
|
+
proto.payment.MonetaryReservationResponse.prototype.setIdentity = function(value) {
|
|
4801
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4802
|
+
};
|
|
4803
|
+
|
|
4804
|
+
|
|
4805
|
+
/**
|
|
4806
|
+
* optional string outcome = 2;
|
|
4807
|
+
* @return {string}
|
|
4808
|
+
*/
|
|
4809
|
+
proto.payment.MonetaryReservationResponse.prototype.getOutcome = function() {
|
|
4810
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4811
|
+
};
|
|
4812
|
+
|
|
4813
|
+
|
|
4814
|
+
/**
|
|
4815
|
+
* @param {string} value
|
|
4816
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4817
|
+
*/
|
|
4818
|
+
proto.payment.MonetaryReservationResponse.prototype.setOutcome = function(value) {
|
|
4819
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4820
|
+
};
|
|
4821
|
+
|
|
4822
|
+
|
|
4823
|
+
/**
|
|
4824
|
+
* optional string currency = 3;
|
|
4825
|
+
* @return {string}
|
|
4826
|
+
*/
|
|
4827
|
+
proto.payment.MonetaryReservationResponse.prototype.getCurrency = function() {
|
|
4828
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4829
|
+
};
|
|
4830
|
+
|
|
4831
|
+
|
|
4832
|
+
/**
|
|
4833
|
+
* @param {string} value
|
|
4834
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4835
|
+
*/
|
|
4836
|
+
proto.payment.MonetaryReservationResponse.prototype.setCurrency = function(value) {
|
|
4837
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4838
|
+
};
|
|
4839
|
+
|
|
4840
|
+
|
|
4841
|
+
/**
|
|
4842
|
+
* optional int32 currency_scale = 4;
|
|
4843
|
+
* @return {number}
|
|
4844
|
+
*/
|
|
4845
|
+
proto.payment.MonetaryReservationResponse.prototype.getCurrencyScale = function() {
|
|
4846
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
4847
|
+
};
|
|
4848
|
+
|
|
4849
|
+
|
|
4850
|
+
/**
|
|
4851
|
+
* @param {number} value
|
|
4852
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4853
|
+
*/
|
|
4854
|
+
proto.payment.MonetaryReservationResponse.prototype.setCurrencyScale = function(value) {
|
|
4855
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
4856
|
+
};
|
|
4857
|
+
|
|
4858
|
+
|
|
4859
|
+
/**
|
|
4860
|
+
* optional string amount_minor = 5;
|
|
4861
|
+
* @return {string}
|
|
4862
|
+
*/
|
|
4863
|
+
proto.payment.MonetaryReservationResponse.prototype.getAmountMinor = function() {
|
|
4864
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4865
|
+
};
|
|
4866
|
+
|
|
4867
|
+
|
|
4868
|
+
/**
|
|
4869
|
+
* @param {string} value
|
|
4870
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4871
|
+
*/
|
|
4872
|
+
proto.payment.MonetaryReservationResponse.prototype.setAmountMinor = function(value) {
|
|
4873
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4874
|
+
};
|
|
4875
|
+
|
|
4876
|
+
|
|
4877
|
+
/**
|
|
4878
|
+
* optional string available_minor = 6;
|
|
4879
|
+
* @return {string}
|
|
4880
|
+
*/
|
|
4881
|
+
proto.payment.MonetaryReservationResponse.prototype.getAvailableMinor = function() {
|
|
4882
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4883
|
+
};
|
|
4884
|
+
|
|
4885
|
+
|
|
4886
|
+
/**
|
|
4887
|
+
* @param {string} value
|
|
4888
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4889
|
+
*/
|
|
4890
|
+
proto.payment.MonetaryReservationResponse.prototype.setAvailableMinor = function(value) {
|
|
4891
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4892
|
+
};
|
|
4893
|
+
|
|
4894
|
+
|
|
4895
|
+
/**
|
|
4896
|
+
* optional string remainder_numerator = 7;
|
|
4897
|
+
* @return {string}
|
|
4898
|
+
*/
|
|
4899
|
+
proto.payment.MonetaryReservationResponse.prototype.getRemainderNumerator = function() {
|
|
4900
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4901
|
+
};
|
|
4902
|
+
|
|
4903
|
+
|
|
4904
|
+
/**
|
|
4905
|
+
* @param {string} value
|
|
4906
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4907
|
+
*/
|
|
4908
|
+
proto.payment.MonetaryReservationResponse.prototype.setRemainderNumerator = function(value) {
|
|
4909
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4910
|
+
};
|
|
4911
|
+
|
|
4912
|
+
|
|
4913
|
+
/**
|
|
4914
|
+
* optional string remainder_denominator = 8;
|
|
4915
|
+
* @return {string}
|
|
4916
|
+
*/
|
|
4917
|
+
proto.payment.MonetaryReservationResponse.prototype.getRemainderDenominator = function() {
|
|
4918
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4919
|
+
};
|
|
4920
|
+
|
|
4921
|
+
|
|
4922
|
+
/**
|
|
4923
|
+
* @param {string} value
|
|
4924
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4925
|
+
*/
|
|
4926
|
+
proto.payment.MonetaryReservationResponse.prototype.setRemainderDenominator = function(value) {
|
|
4927
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4928
|
+
};
|
|
4929
|
+
|
|
4930
|
+
|
|
4931
|
+
/**
|
|
4932
|
+
* optional string operation_id = 9;
|
|
4933
|
+
* @return {string}
|
|
4934
|
+
*/
|
|
4935
|
+
proto.payment.MonetaryReservationResponse.prototype.getOperationId = function() {
|
|
4936
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4937
|
+
};
|
|
4938
|
+
|
|
4939
|
+
|
|
4940
|
+
/**
|
|
4941
|
+
* @param {string} value
|
|
4942
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4943
|
+
*/
|
|
4944
|
+
proto.payment.MonetaryReservationResponse.prototype.setOperationId = function(value) {
|
|
4945
|
+
return jspb.Message.setField(this, 9, value);
|
|
4946
|
+
};
|
|
4947
|
+
|
|
4948
|
+
|
|
4949
|
+
/**
|
|
4950
|
+
* Clears the field making it undefined.
|
|
4951
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4952
|
+
*/
|
|
4953
|
+
proto.payment.MonetaryReservationResponse.prototype.clearOperationId = function() {
|
|
4954
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
4955
|
+
};
|
|
4956
|
+
|
|
4957
|
+
|
|
4958
|
+
/**
|
|
4959
|
+
* Returns whether this field is set.
|
|
4960
|
+
* @return {boolean}
|
|
4961
|
+
*/
|
|
4962
|
+
proto.payment.MonetaryReservationResponse.prototype.hasOperationId = function() {
|
|
4963
|
+
return jspb.Message.getField(this, 9) != null;
|
|
4964
|
+
};
|
|
4965
|
+
|
|
4966
|
+
|
|
4967
|
+
/**
|
|
4968
|
+
* optional string snapshot_event_id = 10;
|
|
4969
|
+
* @return {string}
|
|
4970
|
+
*/
|
|
4971
|
+
proto.payment.MonetaryReservationResponse.prototype.getSnapshotEventId = function() {
|
|
4972
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4973
|
+
};
|
|
4974
|
+
|
|
4975
|
+
|
|
4976
|
+
/**
|
|
4977
|
+
* @param {string} value
|
|
4978
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4979
|
+
*/
|
|
4980
|
+
proto.payment.MonetaryReservationResponse.prototype.setSnapshotEventId = function(value) {
|
|
4981
|
+
return jspb.Message.setField(this, 10, value);
|
|
4982
|
+
};
|
|
4983
|
+
|
|
4984
|
+
|
|
4985
|
+
/**
|
|
4986
|
+
* Clears the field making it undefined.
|
|
4987
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
4988
|
+
*/
|
|
4989
|
+
proto.payment.MonetaryReservationResponse.prototype.clearSnapshotEventId = function() {
|
|
4990
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
4991
|
+
};
|
|
4992
|
+
|
|
4993
|
+
|
|
4994
|
+
/**
|
|
4995
|
+
* Returns whether this field is set.
|
|
4996
|
+
* @return {boolean}
|
|
4997
|
+
*/
|
|
4998
|
+
proto.payment.MonetaryReservationResponse.prototype.hasSnapshotEventId = function() {
|
|
4999
|
+
return jspb.Message.getField(this, 10) != null;
|
|
5000
|
+
};
|
|
5001
|
+
|
|
5002
|
+
|
|
5003
|
+
/**
|
|
5004
|
+
* optional bool replay = 11;
|
|
5005
|
+
* @return {boolean}
|
|
5006
|
+
*/
|
|
5007
|
+
proto.payment.MonetaryReservationResponse.prototype.getReplay = function() {
|
|
5008
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
5009
|
+
};
|
|
5010
|
+
|
|
5011
|
+
|
|
5012
|
+
/**
|
|
5013
|
+
* @param {boolean} value
|
|
5014
|
+
* @return {!proto.payment.MonetaryReservationResponse} returns this
|
|
5015
|
+
*/
|
|
5016
|
+
proto.payment.MonetaryReservationResponse.prototype.setReplay = function(value) {
|
|
5017
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
5018
|
+
};
|
|
5019
|
+
|
|
5020
|
+
|
|
5021
|
+
|
|
5022
|
+
|
|
5023
|
+
|
|
3308
5024
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3309
5025
|
/**
|
|
3310
5026
|
* Creates an object representation of this proto.
|