protobuf-platform 1.2.56 → 1.2.58
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/game/game.proto +1 -0
- package/game/game_pb.js +49 -1
- package/package.json +1 -1
- package/payment/payment.proto +26 -0
- package/payment/payment_grpc_pb.js +55 -0
- package/payment/payment_pb.js +1227 -2
package/payment/payment_pb.js
CHANGED
|
@@ -33,6 +33,7 @@ goog.exportSymbol('proto.payment.GetDepositRequest', null, global);
|
|
|
33
33
|
goog.exportSymbol('proto.payment.GetFileRequest', null, global);
|
|
34
34
|
goog.exportSymbol('proto.payment.GetMethodRequest', null, global);
|
|
35
35
|
goog.exportSymbol('proto.payment.GetProviderRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.payment.GetProviderTranslationRequest', null, global);
|
|
36
37
|
goog.exportSymbol('proto.payment.GetUserPaymentsInfoRequest', null, global);
|
|
37
38
|
goog.exportSymbol('proto.payment.ItemsBunchRequest', null, global);
|
|
38
39
|
goog.exportSymbol('proto.payment.MethodItem', null, global);
|
|
@@ -56,6 +57,9 @@ goog.exportSymbol('proto.payment.ProviderItemsResponse', null, global);
|
|
|
56
57
|
goog.exportSymbol('proto.payment.ProviderRequest', null, global);
|
|
57
58
|
goog.exportSymbol('proto.payment.ProviderRequest.RequestCase', null, global);
|
|
58
59
|
goog.exportSymbol('proto.payment.ProviderResponse', null, global);
|
|
60
|
+
goog.exportSymbol('proto.payment.ProviderTranslationItem', null, global);
|
|
61
|
+
goog.exportSymbol('proto.payment.ProviderTranslationRequest', null, global);
|
|
62
|
+
goog.exportSymbol('proto.payment.ProviderTranslationResponse', null, global);
|
|
59
63
|
goog.exportSymbol('proto.payment.SegmentedUserRequest', null, global);
|
|
60
64
|
goog.exportSymbol('proto.payment.SegmentedUserResponse', null, global);
|
|
61
65
|
goog.exportSymbol('proto.payment.UserDepositItem', null, global);
|
|
@@ -294,6 +298,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
294
298
|
*/
|
|
295
299
|
proto.payment.GetProviderRequest.displayName = 'proto.payment.GetProviderRequest';
|
|
296
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* Generated by JsPbCodeGenerator.
|
|
303
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
304
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
305
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
306
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
307
|
+
* valid.
|
|
308
|
+
* @extends {jspb.Message}
|
|
309
|
+
* @constructor
|
|
310
|
+
*/
|
|
311
|
+
proto.payment.ProviderTranslationRequest = function(opt_data) {
|
|
312
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
313
|
+
};
|
|
314
|
+
goog.inherits(proto.payment.ProviderTranslationRequest, jspb.Message);
|
|
315
|
+
if (goog.DEBUG && !COMPILED) {
|
|
316
|
+
/**
|
|
317
|
+
* @public
|
|
318
|
+
* @override
|
|
319
|
+
*/
|
|
320
|
+
proto.payment.ProviderTranslationRequest.displayName = 'proto.payment.ProviderTranslationRequest';
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Generated by JsPbCodeGenerator.
|
|
324
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
325
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
326
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
327
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
328
|
+
* valid.
|
|
329
|
+
* @extends {jspb.Message}
|
|
330
|
+
* @constructor
|
|
331
|
+
*/
|
|
332
|
+
proto.payment.GetProviderTranslationRequest = function(opt_data) {
|
|
333
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
334
|
+
};
|
|
335
|
+
goog.inherits(proto.payment.GetProviderTranslationRequest, jspb.Message);
|
|
336
|
+
if (goog.DEBUG && !COMPILED) {
|
|
337
|
+
/**
|
|
338
|
+
* @public
|
|
339
|
+
* @override
|
|
340
|
+
*/
|
|
341
|
+
proto.payment.GetProviderTranslationRequest.displayName = 'proto.payment.GetProviderTranslationRequest';
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Generated by JsPbCodeGenerator.
|
|
345
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
346
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
347
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
348
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
349
|
+
* valid.
|
|
350
|
+
* @extends {jspb.Message}
|
|
351
|
+
* @constructor
|
|
352
|
+
*/
|
|
353
|
+
proto.payment.ProviderTranslationItem = function(opt_data) {
|
|
354
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
355
|
+
};
|
|
356
|
+
goog.inherits(proto.payment.ProviderTranslationItem, jspb.Message);
|
|
357
|
+
if (goog.DEBUG && !COMPILED) {
|
|
358
|
+
/**
|
|
359
|
+
* @public
|
|
360
|
+
* @override
|
|
361
|
+
*/
|
|
362
|
+
proto.payment.ProviderTranslationItem.displayName = 'proto.payment.ProviderTranslationItem';
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Generated by JsPbCodeGenerator.
|
|
366
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
367
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
368
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
369
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
370
|
+
* valid.
|
|
371
|
+
* @extends {jspb.Message}
|
|
372
|
+
* @constructor
|
|
373
|
+
*/
|
|
374
|
+
proto.payment.ProviderTranslationResponse = function(opt_data) {
|
|
375
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
376
|
+
};
|
|
377
|
+
goog.inherits(proto.payment.ProviderTranslationResponse, jspb.Message);
|
|
378
|
+
if (goog.DEBUG && !COMPILED) {
|
|
379
|
+
/**
|
|
380
|
+
* @public
|
|
381
|
+
* @override
|
|
382
|
+
*/
|
|
383
|
+
proto.payment.ProviderTranslationResponse.displayName = 'proto.payment.ProviderTranslationResponse';
|
|
384
|
+
}
|
|
297
385
|
/**
|
|
298
386
|
* Generated by JsPbCodeGenerator.
|
|
299
387
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2789,7 +2877,7 @@ proto.payment.ItemsBunchRequest.prototype.hasIsActive = function() {
|
|
|
2789
2877
|
* @private {!Array<number>}
|
|
2790
2878
|
* @const
|
|
2791
2879
|
*/
|
|
2792
|
-
proto.payment.ProviderItem.repeatedFields_ = [7];
|
|
2880
|
+
proto.payment.ProviderItem.repeatedFields_ = [7,8];
|
|
2793
2881
|
|
|
2794
2882
|
|
|
2795
2883
|
|
|
@@ -2828,7 +2916,9 @@ proto.payment.ProviderItem.toObject = function(includeInstance, msg) {
|
|
|
2828
2916
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
2829
2917
|
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2830
2918
|
methodsList: jspb.Message.toObjectList(msg.getMethodsList(),
|
|
2831
|
-
proto.payment.MethodItem.toObject, includeInstance)
|
|
2919
|
+
proto.payment.MethodItem.toObject, includeInstance),
|
|
2920
|
+
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
2921
|
+
proto.payment.ProviderTranslationItem.toObject, includeInstance)
|
|
2832
2922
|
};
|
|
2833
2923
|
|
|
2834
2924
|
if (includeInstance) {
|
|
@@ -2890,6 +2980,11 @@ proto.payment.ProviderItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2890
2980
|
reader.readMessage(value,proto.payment.MethodItem.deserializeBinaryFromReader);
|
|
2891
2981
|
msg.addMethods(value);
|
|
2892
2982
|
break;
|
|
2983
|
+
case 8:
|
|
2984
|
+
var value = new proto.payment.ProviderTranslationItem;
|
|
2985
|
+
reader.readMessage(value,proto.payment.ProviderTranslationItem.deserializeBinaryFromReader);
|
|
2986
|
+
msg.addTranslations(value);
|
|
2987
|
+
break;
|
|
2893
2988
|
default:
|
|
2894
2989
|
reader.skipField();
|
|
2895
2990
|
break;
|
|
@@ -2962,6 +3057,14 @@ proto.payment.ProviderItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
2962
3057
|
proto.payment.MethodItem.serializeBinaryToWriter
|
|
2963
3058
|
);
|
|
2964
3059
|
}
|
|
3060
|
+
f = message.getTranslationsList();
|
|
3061
|
+
if (f.length > 0) {
|
|
3062
|
+
writer.writeRepeatedMessage(
|
|
3063
|
+
8,
|
|
3064
|
+
f,
|
|
3065
|
+
proto.payment.ProviderTranslationItem.serializeBinaryToWriter
|
|
3066
|
+
);
|
|
3067
|
+
}
|
|
2965
3068
|
};
|
|
2966
3069
|
|
|
2967
3070
|
|
|
@@ -3183,6 +3286,44 @@ proto.payment.ProviderItem.prototype.clearMethodsList = function() {
|
|
|
3183
3286
|
};
|
|
3184
3287
|
|
|
3185
3288
|
|
|
3289
|
+
/**
|
|
3290
|
+
* repeated ProviderTranslationItem translations = 8;
|
|
3291
|
+
* @return {!Array<!proto.payment.ProviderTranslationItem>}
|
|
3292
|
+
*/
|
|
3293
|
+
proto.payment.ProviderItem.prototype.getTranslationsList = function() {
|
|
3294
|
+
return /** @type{!Array<!proto.payment.ProviderTranslationItem>} */ (
|
|
3295
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payment.ProviderTranslationItem, 8));
|
|
3296
|
+
};
|
|
3297
|
+
|
|
3298
|
+
|
|
3299
|
+
/**
|
|
3300
|
+
* @param {!Array<!proto.payment.ProviderTranslationItem>} value
|
|
3301
|
+
* @return {!proto.payment.ProviderItem} returns this
|
|
3302
|
+
*/
|
|
3303
|
+
proto.payment.ProviderItem.prototype.setTranslationsList = function(value) {
|
|
3304
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
3305
|
+
};
|
|
3306
|
+
|
|
3307
|
+
|
|
3308
|
+
/**
|
|
3309
|
+
* @param {!proto.payment.ProviderTranslationItem=} opt_value
|
|
3310
|
+
* @param {number=} opt_index
|
|
3311
|
+
* @return {!proto.payment.ProviderTranslationItem}
|
|
3312
|
+
*/
|
|
3313
|
+
proto.payment.ProviderItem.prototype.addTranslations = function(opt_value, opt_index) {
|
|
3314
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.payment.ProviderTranslationItem, opt_index);
|
|
3315
|
+
};
|
|
3316
|
+
|
|
3317
|
+
|
|
3318
|
+
/**
|
|
3319
|
+
* Clears the list making it empty but non-null.
|
|
3320
|
+
* @return {!proto.payment.ProviderItem} returns this
|
|
3321
|
+
*/
|
|
3322
|
+
proto.payment.ProviderItem.prototype.clearTranslationsList = function() {
|
|
3323
|
+
return this.setTranslationsList([]);
|
|
3324
|
+
};
|
|
3325
|
+
|
|
3326
|
+
|
|
3186
3327
|
|
|
3187
3328
|
/**
|
|
3188
3329
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -3836,6 +3977,1090 @@ proto.payment.GetProviderRequest.prototype.setId = function(value) {
|
|
|
3836
3977
|
|
|
3837
3978
|
|
|
3838
3979
|
|
|
3980
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3981
|
+
/**
|
|
3982
|
+
* Creates an object representation of this proto.
|
|
3983
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3984
|
+
* Optional fields that are not set will be set to undefined.
|
|
3985
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3986
|
+
* For the list of reserved names please see:
|
|
3987
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3988
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3989
|
+
* JSPB instance for transitional soy proto support:
|
|
3990
|
+
* http://goto/soy-param-migration
|
|
3991
|
+
* @return {!Object}
|
|
3992
|
+
*/
|
|
3993
|
+
proto.payment.ProviderTranslationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3994
|
+
return proto.payment.ProviderTranslationRequest.toObject(opt_includeInstance, this);
|
|
3995
|
+
};
|
|
3996
|
+
|
|
3997
|
+
|
|
3998
|
+
/**
|
|
3999
|
+
* Static version of the {@see toObject} method.
|
|
4000
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4001
|
+
* the JSPB instance for transitional soy proto support:
|
|
4002
|
+
* http://goto/soy-param-migration
|
|
4003
|
+
* @param {!proto.payment.ProviderTranslationRequest} msg The msg instance to transform.
|
|
4004
|
+
* @return {!Object}
|
|
4005
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4006
|
+
*/
|
|
4007
|
+
proto.payment.ProviderTranslationRequest.toObject = function(includeInstance, msg) {
|
|
4008
|
+
var f, obj = {
|
|
4009
|
+
paymentProviderId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4010
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4011
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4012
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4013
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
4014
|
+
};
|
|
4015
|
+
|
|
4016
|
+
if (includeInstance) {
|
|
4017
|
+
obj.$jspbMessageInstance = msg;
|
|
4018
|
+
}
|
|
4019
|
+
return obj;
|
|
4020
|
+
};
|
|
4021
|
+
}
|
|
4022
|
+
|
|
4023
|
+
|
|
4024
|
+
/**
|
|
4025
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4026
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4027
|
+
* @return {!proto.payment.ProviderTranslationRequest}
|
|
4028
|
+
*/
|
|
4029
|
+
proto.payment.ProviderTranslationRequest.deserializeBinary = function(bytes) {
|
|
4030
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4031
|
+
var msg = new proto.payment.ProviderTranslationRequest;
|
|
4032
|
+
return proto.payment.ProviderTranslationRequest.deserializeBinaryFromReader(msg, reader);
|
|
4033
|
+
};
|
|
4034
|
+
|
|
4035
|
+
|
|
4036
|
+
/**
|
|
4037
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4038
|
+
* given reader into the given message object.
|
|
4039
|
+
* @param {!proto.payment.ProviderTranslationRequest} msg The message object to deserialize into.
|
|
4040
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4041
|
+
* @return {!proto.payment.ProviderTranslationRequest}
|
|
4042
|
+
*/
|
|
4043
|
+
proto.payment.ProviderTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4044
|
+
while (reader.nextField()) {
|
|
4045
|
+
if (reader.isEndGroup()) {
|
|
4046
|
+
break;
|
|
4047
|
+
}
|
|
4048
|
+
var field = reader.getFieldNumber();
|
|
4049
|
+
switch (field) {
|
|
4050
|
+
case 1:
|
|
4051
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4052
|
+
msg.setPaymentProviderId(value);
|
|
4053
|
+
break;
|
|
4054
|
+
case 2:
|
|
4055
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4056
|
+
msg.setLocale(value);
|
|
4057
|
+
break;
|
|
4058
|
+
case 3:
|
|
4059
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4060
|
+
msg.setTitle(value);
|
|
4061
|
+
break;
|
|
4062
|
+
case 4:
|
|
4063
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4064
|
+
msg.setDescription(value);
|
|
4065
|
+
break;
|
|
4066
|
+
case 5:
|
|
4067
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4068
|
+
msg.setIsActive(value);
|
|
4069
|
+
break;
|
|
4070
|
+
default:
|
|
4071
|
+
reader.skipField();
|
|
4072
|
+
break;
|
|
4073
|
+
}
|
|
4074
|
+
}
|
|
4075
|
+
return msg;
|
|
4076
|
+
};
|
|
4077
|
+
|
|
4078
|
+
|
|
4079
|
+
/**
|
|
4080
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4081
|
+
* @return {!Uint8Array}
|
|
4082
|
+
*/
|
|
4083
|
+
proto.payment.ProviderTranslationRequest.prototype.serializeBinary = function() {
|
|
4084
|
+
var writer = new jspb.BinaryWriter();
|
|
4085
|
+
proto.payment.ProviderTranslationRequest.serializeBinaryToWriter(this, writer);
|
|
4086
|
+
return writer.getResultBuffer();
|
|
4087
|
+
};
|
|
4088
|
+
|
|
4089
|
+
|
|
4090
|
+
/**
|
|
4091
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4092
|
+
* format), writing to the given BinaryWriter.
|
|
4093
|
+
* @param {!proto.payment.ProviderTranslationRequest} message
|
|
4094
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4095
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4096
|
+
*/
|
|
4097
|
+
proto.payment.ProviderTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4098
|
+
var f = undefined;
|
|
4099
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
4100
|
+
if (f != null) {
|
|
4101
|
+
writer.writeInt32(
|
|
4102
|
+
1,
|
|
4103
|
+
f
|
|
4104
|
+
);
|
|
4105
|
+
}
|
|
4106
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
4107
|
+
if (f != null) {
|
|
4108
|
+
writer.writeString(
|
|
4109
|
+
2,
|
|
4110
|
+
f
|
|
4111
|
+
);
|
|
4112
|
+
}
|
|
4113
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
4114
|
+
if (f != null) {
|
|
4115
|
+
writer.writeString(
|
|
4116
|
+
3,
|
|
4117
|
+
f
|
|
4118
|
+
);
|
|
4119
|
+
}
|
|
4120
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
4121
|
+
if (f != null) {
|
|
4122
|
+
writer.writeString(
|
|
4123
|
+
4,
|
|
4124
|
+
f
|
|
4125
|
+
);
|
|
4126
|
+
}
|
|
4127
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
4128
|
+
if (f != null) {
|
|
4129
|
+
writer.writeInt32(
|
|
4130
|
+
5,
|
|
4131
|
+
f
|
|
4132
|
+
);
|
|
4133
|
+
}
|
|
4134
|
+
};
|
|
4135
|
+
|
|
4136
|
+
|
|
4137
|
+
/**
|
|
4138
|
+
* optional int32 payment_provider_id = 1;
|
|
4139
|
+
* @return {number}
|
|
4140
|
+
*/
|
|
4141
|
+
proto.payment.ProviderTranslationRequest.prototype.getPaymentProviderId = function() {
|
|
4142
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4143
|
+
};
|
|
4144
|
+
|
|
4145
|
+
|
|
4146
|
+
/**
|
|
4147
|
+
* @param {number} value
|
|
4148
|
+
* @return {!proto.payment.ProviderTranslationRequest} returns this
|
|
4149
|
+
*/
|
|
4150
|
+
proto.payment.ProviderTranslationRequest.prototype.setPaymentProviderId = function(value) {
|
|
4151
|
+
return jspb.Message.setField(this, 1, value);
|
|
4152
|
+
};
|
|
4153
|
+
|
|
4154
|
+
|
|
4155
|
+
/**
|
|
4156
|
+
* Clears the field making it undefined.
|
|
4157
|
+
* @return {!proto.payment.ProviderTranslationRequest} returns this
|
|
4158
|
+
*/
|
|
4159
|
+
proto.payment.ProviderTranslationRequest.prototype.clearPaymentProviderId = function() {
|
|
4160
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
4161
|
+
};
|
|
4162
|
+
|
|
4163
|
+
|
|
4164
|
+
/**
|
|
4165
|
+
* Returns whether this field is set.
|
|
4166
|
+
* @return {boolean}
|
|
4167
|
+
*/
|
|
4168
|
+
proto.payment.ProviderTranslationRequest.prototype.hasPaymentProviderId = function() {
|
|
4169
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4170
|
+
};
|
|
4171
|
+
|
|
4172
|
+
|
|
4173
|
+
/**
|
|
4174
|
+
* optional string locale = 2;
|
|
4175
|
+
* @return {string}
|
|
4176
|
+
*/
|
|
4177
|
+
proto.payment.ProviderTranslationRequest.prototype.getLocale = function() {
|
|
4178
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4179
|
+
};
|
|
4180
|
+
|
|
4181
|
+
|
|
4182
|
+
/**
|
|
4183
|
+
* @param {string} value
|
|
4184
|
+
* @return {!proto.payment.ProviderTranslationRequest} returns this
|
|
4185
|
+
*/
|
|
4186
|
+
proto.payment.ProviderTranslationRequest.prototype.setLocale = function(value) {
|
|
4187
|
+
return jspb.Message.setField(this, 2, value);
|
|
4188
|
+
};
|
|
4189
|
+
|
|
4190
|
+
|
|
4191
|
+
/**
|
|
4192
|
+
* Clears the field making it undefined.
|
|
4193
|
+
* @return {!proto.payment.ProviderTranslationRequest} returns this
|
|
4194
|
+
*/
|
|
4195
|
+
proto.payment.ProviderTranslationRequest.prototype.clearLocale = function() {
|
|
4196
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
4197
|
+
};
|
|
4198
|
+
|
|
4199
|
+
|
|
4200
|
+
/**
|
|
4201
|
+
* Returns whether this field is set.
|
|
4202
|
+
* @return {boolean}
|
|
4203
|
+
*/
|
|
4204
|
+
proto.payment.ProviderTranslationRequest.prototype.hasLocale = function() {
|
|
4205
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4206
|
+
};
|
|
4207
|
+
|
|
4208
|
+
|
|
4209
|
+
/**
|
|
4210
|
+
* optional string title = 3;
|
|
4211
|
+
* @return {string}
|
|
4212
|
+
*/
|
|
4213
|
+
proto.payment.ProviderTranslationRequest.prototype.getTitle = function() {
|
|
4214
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4215
|
+
};
|
|
4216
|
+
|
|
4217
|
+
|
|
4218
|
+
/**
|
|
4219
|
+
* @param {string} value
|
|
4220
|
+
* @return {!proto.payment.ProviderTranslationRequest} returns this
|
|
4221
|
+
*/
|
|
4222
|
+
proto.payment.ProviderTranslationRequest.prototype.setTitle = function(value) {
|
|
4223
|
+
return jspb.Message.setField(this, 3, value);
|
|
4224
|
+
};
|
|
4225
|
+
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* Clears the field making it undefined.
|
|
4229
|
+
* @return {!proto.payment.ProviderTranslationRequest} returns this
|
|
4230
|
+
*/
|
|
4231
|
+
proto.payment.ProviderTranslationRequest.prototype.clearTitle = function() {
|
|
4232
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
4233
|
+
};
|
|
4234
|
+
|
|
4235
|
+
|
|
4236
|
+
/**
|
|
4237
|
+
* Returns whether this field is set.
|
|
4238
|
+
* @return {boolean}
|
|
4239
|
+
*/
|
|
4240
|
+
proto.payment.ProviderTranslationRequest.prototype.hasTitle = function() {
|
|
4241
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4242
|
+
};
|
|
4243
|
+
|
|
4244
|
+
|
|
4245
|
+
/**
|
|
4246
|
+
* optional string description = 4;
|
|
4247
|
+
* @return {string}
|
|
4248
|
+
*/
|
|
4249
|
+
proto.payment.ProviderTranslationRequest.prototype.getDescription = function() {
|
|
4250
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4251
|
+
};
|
|
4252
|
+
|
|
4253
|
+
|
|
4254
|
+
/**
|
|
4255
|
+
* @param {string} value
|
|
4256
|
+
* @return {!proto.payment.ProviderTranslationRequest} returns this
|
|
4257
|
+
*/
|
|
4258
|
+
proto.payment.ProviderTranslationRequest.prototype.setDescription = function(value) {
|
|
4259
|
+
return jspb.Message.setField(this, 4, value);
|
|
4260
|
+
};
|
|
4261
|
+
|
|
4262
|
+
|
|
4263
|
+
/**
|
|
4264
|
+
* Clears the field making it undefined.
|
|
4265
|
+
* @return {!proto.payment.ProviderTranslationRequest} returns this
|
|
4266
|
+
*/
|
|
4267
|
+
proto.payment.ProviderTranslationRequest.prototype.clearDescription = function() {
|
|
4268
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
4269
|
+
};
|
|
4270
|
+
|
|
4271
|
+
|
|
4272
|
+
/**
|
|
4273
|
+
* Returns whether this field is set.
|
|
4274
|
+
* @return {boolean}
|
|
4275
|
+
*/
|
|
4276
|
+
proto.payment.ProviderTranslationRequest.prototype.hasDescription = function() {
|
|
4277
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4278
|
+
};
|
|
4279
|
+
|
|
4280
|
+
|
|
4281
|
+
/**
|
|
4282
|
+
* optional int32 is_active = 5;
|
|
4283
|
+
* @return {number}
|
|
4284
|
+
*/
|
|
4285
|
+
proto.payment.ProviderTranslationRequest.prototype.getIsActive = function() {
|
|
4286
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
4287
|
+
};
|
|
4288
|
+
|
|
4289
|
+
|
|
4290
|
+
/**
|
|
4291
|
+
* @param {number} value
|
|
4292
|
+
* @return {!proto.payment.ProviderTranslationRequest} returns this
|
|
4293
|
+
*/
|
|
4294
|
+
proto.payment.ProviderTranslationRequest.prototype.setIsActive = function(value) {
|
|
4295
|
+
return jspb.Message.setField(this, 5, value);
|
|
4296
|
+
};
|
|
4297
|
+
|
|
4298
|
+
|
|
4299
|
+
/**
|
|
4300
|
+
* Clears the field making it undefined.
|
|
4301
|
+
* @return {!proto.payment.ProviderTranslationRequest} returns this
|
|
4302
|
+
*/
|
|
4303
|
+
proto.payment.ProviderTranslationRequest.prototype.clearIsActive = function() {
|
|
4304
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
4305
|
+
};
|
|
4306
|
+
|
|
4307
|
+
|
|
4308
|
+
/**
|
|
4309
|
+
* Returns whether this field is set.
|
|
4310
|
+
* @return {boolean}
|
|
4311
|
+
*/
|
|
4312
|
+
proto.payment.ProviderTranslationRequest.prototype.hasIsActive = function() {
|
|
4313
|
+
return jspb.Message.getField(this, 5) != null;
|
|
4314
|
+
};
|
|
4315
|
+
|
|
4316
|
+
|
|
4317
|
+
|
|
4318
|
+
|
|
4319
|
+
|
|
4320
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4321
|
+
/**
|
|
4322
|
+
* Creates an object representation of this proto.
|
|
4323
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4324
|
+
* Optional fields that are not set will be set to undefined.
|
|
4325
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4326
|
+
* For the list of reserved names please see:
|
|
4327
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4328
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4329
|
+
* JSPB instance for transitional soy proto support:
|
|
4330
|
+
* http://goto/soy-param-migration
|
|
4331
|
+
* @return {!Object}
|
|
4332
|
+
*/
|
|
4333
|
+
proto.payment.GetProviderTranslationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4334
|
+
return proto.payment.GetProviderTranslationRequest.toObject(opt_includeInstance, this);
|
|
4335
|
+
};
|
|
4336
|
+
|
|
4337
|
+
|
|
4338
|
+
/**
|
|
4339
|
+
* Static version of the {@see toObject} method.
|
|
4340
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4341
|
+
* the JSPB instance for transitional soy proto support:
|
|
4342
|
+
* http://goto/soy-param-migration
|
|
4343
|
+
* @param {!proto.payment.GetProviderTranslationRequest} msg The msg instance to transform.
|
|
4344
|
+
* @return {!Object}
|
|
4345
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4346
|
+
*/
|
|
4347
|
+
proto.payment.GetProviderTranslationRequest.toObject = function(includeInstance, msg) {
|
|
4348
|
+
var f, obj = {
|
|
4349
|
+
paymentProviderId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4350
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4351
|
+
};
|
|
4352
|
+
|
|
4353
|
+
if (includeInstance) {
|
|
4354
|
+
obj.$jspbMessageInstance = msg;
|
|
4355
|
+
}
|
|
4356
|
+
return obj;
|
|
4357
|
+
};
|
|
4358
|
+
}
|
|
4359
|
+
|
|
4360
|
+
|
|
4361
|
+
/**
|
|
4362
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4363
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4364
|
+
* @return {!proto.payment.GetProviderTranslationRequest}
|
|
4365
|
+
*/
|
|
4366
|
+
proto.payment.GetProviderTranslationRequest.deserializeBinary = function(bytes) {
|
|
4367
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4368
|
+
var msg = new proto.payment.GetProviderTranslationRequest;
|
|
4369
|
+
return proto.payment.GetProviderTranslationRequest.deserializeBinaryFromReader(msg, reader);
|
|
4370
|
+
};
|
|
4371
|
+
|
|
4372
|
+
|
|
4373
|
+
/**
|
|
4374
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4375
|
+
* given reader into the given message object.
|
|
4376
|
+
* @param {!proto.payment.GetProviderTranslationRequest} msg The message object to deserialize into.
|
|
4377
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4378
|
+
* @return {!proto.payment.GetProviderTranslationRequest}
|
|
4379
|
+
*/
|
|
4380
|
+
proto.payment.GetProviderTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4381
|
+
while (reader.nextField()) {
|
|
4382
|
+
if (reader.isEndGroup()) {
|
|
4383
|
+
break;
|
|
4384
|
+
}
|
|
4385
|
+
var field = reader.getFieldNumber();
|
|
4386
|
+
switch (field) {
|
|
4387
|
+
case 1:
|
|
4388
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4389
|
+
msg.setPaymentProviderId(value);
|
|
4390
|
+
break;
|
|
4391
|
+
case 2:
|
|
4392
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4393
|
+
msg.setLocale(value);
|
|
4394
|
+
break;
|
|
4395
|
+
default:
|
|
4396
|
+
reader.skipField();
|
|
4397
|
+
break;
|
|
4398
|
+
}
|
|
4399
|
+
}
|
|
4400
|
+
return msg;
|
|
4401
|
+
};
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
/**
|
|
4405
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4406
|
+
* @return {!Uint8Array}
|
|
4407
|
+
*/
|
|
4408
|
+
proto.payment.GetProviderTranslationRequest.prototype.serializeBinary = function() {
|
|
4409
|
+
var writer = new jspb.BinaryWriter();
|
|
4410
|
+
proto.payment.GetProviderTranslationRequest.serializeBinaryToWriter(this, writer);
|
|
4411
|
+
return writer.getResultBuffer();
|
|
4412
|
+
};
|
|
4413
|
+
|
|
4414
|
+
|
|
4415
|
+
/**
|
|
4416
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4417
|
+
* format), writing to the given BinaryWriter.
|
|
4418
|
+
* @param {!proto.payment.GetProviderTranslationRequest} message
|
|
4419
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4420
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4421
|
+
*/
|
|
4422
|
+
proto.payment.GetProviderTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4423
|
+
var f = undefined;
|
|
4424
|
+
f = message.getPaymentProviderId();
|
|
4425
|
+
if (f !== 0) {
|
|
4426
|
+
writer.writeInt32(
|
|
4427
|
+
1,
|
|
4428
|
+
f
|
|
4429
|
+
);
|
|
4430
|
+
}
|
|
4431
|
+
f = message.getLocale();
|
|
4432
|
+
if (f.length > 0) {
|
|
4433
|
+
writer.writeString(
|
|
4434
|
+
2,
|
|
4435
|
+
f
|
|
4436
|
+
);
|
|
4437
|
+
}
|
|
4438
|
+
};
|
|
4439
|
+
|
|
4440
|
+
|
|
4441
|
+
/**
|
|
4442
|
+
* optional int32 payment_provider_id = 1;
|
|
4443
|
+
* @return {number}
|
|
4444
|
+
*/
|
|
4445
|
+
proto.payment.GetProviderTranslationRequest.prototype.getPaymentProviderId = function() {
|
|
4446
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4447
|
+
};
|
|
4448
|
+
|
|
4449
|
+
|
|
4450
|
+
/**
|
|
4451
|
+
* @param {number} value
|
|
4452
|
+
* @return {!proto.payment.GetProviderTranslationRequest} returns this
|
|
4453
|
+
*/
|
|
4454
|
+
proto.payment.GetProviderTranslationRequest.prototype.setPaymentProviderId = function(value) {
|
|
4455
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4456
|
+
};
|
|
4457
|
+
|
|
4458
|
+
|
|
4459
|
+
/**
|
|
4460
|
+
* optional string locale = 2;
|
|
4461
|
+
* @return {string}
|
|
4462
|
+
*/
|
|
4463
|
+
proto.payment.GetProviderTranslationRequest.prototype.getLocale = function() {
|
|
4464
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4465
|
+
};
|
|
4466
|
+
|
|
4467
|
+
|
|
4468
|
+
/**
|
|
4469
|
+
* @param {string} value
|
|
4470
|
+
* @return {!proto.payment.GetProviderTranslationRequest} returns this
|
|
4471
|
+
*/
|
|
4472
|
+
proto.payment.GetProviderTranslationRequest.prototype.setLocale = function(value) {
|
|
4473
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4474
|
+
};
|
|
4475
|
+
|
|
4476
|
+
|
|
4477
|
+
|
|
4478
|
+
|
|
4479
|
+
|
|
4480
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4481
|
+
/**
|
|
4482
|
+
* Creates an object representation of this proto.
|
|
4483
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4484
|
+
* Optional fields that are not set will be set to undefined.
|
|
4485
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4486
|
+
* For the list of reserved names please see:
|
|
4487
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4488
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4489
|
+
* JSPB instance for transitional soy proto support:
|
|
4490
|
+
* http://goto/soy-param-migration
|
|
4491
|
+
* @return {!Object}
|
|
4492
|
+
*/
|
|
4493
|
+
proto.payment.ProviderTranslationItem.prototype.toObject = function(opt_includeInstance) {
|
|
4494
|
+
return proto.payment.ProviderTranslationItem.toObject(opt_includeInstance, this);
|
|
4495
|
+
};
|
|
4496
|
+
|
|
4497
|
+
|
|
4498
|
+
/**
|
|
4499
|
+
* Static version of the {@see toObject} method.
|
|
4500
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4501
|
+
* the JSPB instance for transitional soy proto support:
|
|
4502
|
+
* http://goto/soy-param-migration
|
|
4503
|
+
* @param {!proto.payment.ProviderTranslationItem} msg The msg instance to transform.
|
|
4504
|
+
* @return {!Object}
|
|
4505
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4506
|
+
*/
|
|
4507
|
+
proto.payment.ProviderTranslationItem.toObject = function(includeInstance, msg) {
|
|
4508
|
+
var f, obj = {
|
|
4509
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4510
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4511
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4512
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
4513
|
+
};
|
|
4514
|
+
|
|
4515
|
+
if (includeInstance) {
|
|
4516
|
+
obj.$jspbMessageInstance = msg;
|
|
4517
|
+
}
|
|
4518
|
+
return obj;
|
|
4519
|
+
};
|
|
4520
|
+
}
|
|
4521
|
+
|
|
4522
|
+
|
|
4523
|
+
/**
|
|
4524
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4525
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4526
|
+
* @return {!proto.payment.ProviderTranslationItem}
|
|
4527
|
+
*/
|
|
4528
|
+
proto.payment.ProviderTranslationItem.deserializeBinary = function(bytes) {
|
|
4529
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4530
|
+
var msg = new proto.payment.ProviderTranslationItem;
|
|
4531
|
+
return proto.payment.ProviderTranslationItem.deserializeBinaryFromReader(msg, reader);
|
|
4532
|
+
};
|
|
4533
|
+
|
|
4534
|
+
|
|
4535
|
+
/**
|
|
4536
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4537
|
+
* given reader into the given message object.
|
|
4538
|
+
* @param {!proto.payment.ProviderTranslationItem} msg The message object to deserialize into.
|
|
4539
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4540
|
+
* @return {!proto.payment.ProviderTranslationItem}
|
|
4541
|
+
*/
|
|
4542
|
+
proto.payment.ProviderTranslationItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
4543
|
+
while (reader.nextField()) {
|
|
4544
|
+
if (reader.isEndGroup()) {
|
|
4545
|
+
break;
|
|
4546
|
+
}
|
|
4547
|
+
var field = reader.getFieldNumber();
|
|
4548
|
+
switch (field) {
|
|
4549
|
+
case 1:
|
|
4550
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4551
|
+
msg.setTitle(value);
|
|
4552
|
+
break;
|
|
4553
|
+
case 2:
|
|
4554
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4555
|
+
msg.setLocale(value);
|
|
4556
|
+
break;
|
|
4557
|
+
case 3:
|
|
4558
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4559
|
+
msg.setDescription(value);
|
|
4560
|
+
break;
|
|
4561
|
+
case 4:
|
|
4562
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4563
|
+
msg.setIsActive(value);
|
|
4564
|
+
break;
|
|
4565
|
+
default:
|
|
4566
|
+
reader.skipField();
|
|
4567
|
+
break;
|
|
4568
|
+
}
|
|
4569
|
+
}
|
|
4570
|
+
return msg;
|
|
4571
|
+
};
|
|
4572
|
+
|
|
4573
|
+
|
|
4574
|
+
/**
|
|
4575
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4576
|
+
* @return {!Uint8Array}
|
|
4577
|
+
*/
|
|
4578
|
+
proto.payment.ProviderTranslationItem.prototype.serializeBinary = function() {
|
|
4579
|
+
var writer = new jspb.BinaryWriter();
|
|
4580
|
+
proto.payment.ProviderTranslationItem.serializeBinaryToWriter(this, writer);
|
|
4581
|
+
return writer.getResultBuffer();
|
|
4582
|
+
};
|
|
4583
|
+
|
|
4584
|
+
|
|
4585
|
+
/**
|
|
4586
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4587
|
+
* format), writing to the given BinaryWriter.
|
|
4588
|
+
* @param {!proto.payment.ProviderTranslationItem} message
|
|
4589
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4590
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4591
|
+
*/
|
|
4592
|
+
proto.payment.ProviderTranslationItem.serializeBinaryToWriter = function(message, writer) {
|
|
4593
|
+
var f = undefined;
|
|
4594
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
4595
|
+
if (f != null) {
|
|
4596
|
+
writer.writeString(
|
|
4597
|
+
1,
|
|
4598
|
+
f
|
|
4599
|
+
);
|
|
4600
|
+
}
|
|
4601
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
4602
|
+
if (f != null) {
|
|
4603
|
+
writer.writeString(
|
|
4604
|
+
2,
|
|
4605
|
+
f
|
|
4606
|
+
);
|
|
4607
|
+
}
|
|
4608
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
4609
|
+
if (f != null) {
|
|
4610
|
+
writer.writeString(
|
|
4611
|
+
3,
|
|
4612
|
+
f
|
|
4613
|
+
);
|
|
4614
|
+
}
|
|
4615
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
4616
|
+
if (f != null) {
|
|
4617
|
+
writer.writeInt32(
|
|
4618
|
+
4,
|
|
4619
|
+
f
|
|
4620
|
+
);
|
|
4621
|
+
}
|
|
4622
|
+
};
|
|
4623
|
+
|
|
4624
|
+
|
|
4625
|
+
/**
|
|
4626
|
+
* optional string title = 1;
|
|
4627
|
+
* @return {string}
|
|
4628
|
+
*/
|
|
4629
|
+
proto.payment.ProviderTranslationItem.prototype.getTitle = function() {
|
|
4630
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4631
|
+
};
|
|
4632
|
+
|
|
4633
|
+
|
|
4634
|
+
/**
|
|
4635
|
+
* @param {string} value
|
|
4636
|
+
* @return {!proto.payment.ProviderTranslationItem} returns this
|
|
4637
|
+
*/
|
|
4638
|
+
proto.payment.ProviderTranslationItem.prototype.setTitle = function(value) {
|
|
4639
|
+
return jspb.Message.setField(this, 1, value);
|
|
4640
|
+
};
|
|
4641
|
+
|
|
4642
|
+
|
|
4643
|
+
/**
|
|
4644
|
+
* Clears the field making it undefined.
|
|
4645
|
+
* @return {!proto.payment.ProviderTranslationItem} returns this
|
|
4646
|
+
*/
|
|
4647
|
+
proto.payment.ProviderTranslationItem.prototype.clearTitle = function() {
|
|
4648
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
4649
|
+
};
|
|
4650
|
+
|
|
4651
|
+
|
|
4652
|
+
/**
|
|
4653
|
+
* Returns whether this field is set.
|
|
4654
|
+
* @return {boolean}
|
|
4655
|
+
*/
|
|
4656
|
+
proto.payment.ProviderTranslationItem.prototype.hasTitle = function() {
|
|
4657
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4658
|
+
};
|
|
4659
|
+
|
|
4660
|
+
|
|
4661
|
+
/**
|
|
4662
|
+
* optional string locale = 2;
|
|
4663
|
+
* @return {string}
|
|
4664
|
+
*/
|
|
4665
|
+
proto.payment.ProviderTranslationItem.prototype.getLocale = function() {
|
|
4666
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4667
|
+
};
|
|
4668
|
+
|
|
4669
|
+
|
|
4670
|
+
/**
|
|
4671
|
+
* @param {string} value
|
|
4672
|
+
* @return {!proto.payment.ProviderTranslationItem} returns this
|
|
4673
|
+
*/
|
|
4674
|
+
proto.payment.ProviderTranslationItem.prototype.setLocale = function(value) {
|
|
4675
|
+
return jspb.Message.setField(this, 2, value);
|
|
4676
|
+
};
|
|
4677
|
+
|
|
4678
|
+
|
|
4679
|
+
/**
|
|
4680
|
+
* Clears the field making it undefined.
|
|
4681
|
+
* @return {!proto.payment.ProviderTranslationItem} returns this
|
|
4682
|
+
*/
|
|
4683
|
+
proto.payment.ProviderTranslationItem.prototype.clearLocale = function() {
|
|
4684
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
4685
|
+
};
|
|
4686
|
+
|
|
4687
|
+
|
|
4688
|
+
/**
|
|
4689
|
+
* Returns whether this field is set.
|
|
4690
|
+
* @return {boolean}
|
|
4691
|
+
*/
|
|
4692
|
+
proto.payment.ProviderTranslationItem.prototype.hasLocale = function() {
|
|
4693
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4694
|
+
};
|
|
4695
|
+
|
|
4696
|
+
|
|
4697
|
+
/**
|
|
4698
|
+
* optional string description = 3;
|
|
4699
|
+
* @return {string}
|
|
4700
|
+
*/
|
|
4701
|
+
proto.payment.ProviderTranslationItem.prototype.getDescription = function() {
|
|
4702
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4703
|
+
};
|
|
4704
|
+
|
|
4705
|
+
|
|
4706
|
+
/**
|
|
4707
|
+
* @param {string} value
|
|
4708
|
+
* @return {!proto.payment.ProviderTranslationItem} returns this
|
|
4709
|
+
*/
|
|
4710
|
+
proto.payment.ProviderTranslationItem.prototype.setDescription = function(value) {
|
|
4711
|
+
return jspb.Message.setField(this, 3, value);
|
|
4712
|
+
};
|
|
4713
|
+
|
|
4714
|
+
|
|
4715
|
+
/**
|
|
4716
|
+
* Clears the field making it undefined.
|
|
4717
|
+
* @return {!proto.payment.ProviderTranslationItem} returns this
|
|
4718
|
+
*/
|
|
4719
|
+
proto.payment.ProviderTranslationItem.prototype.clearDescription = function() {
|
|
4720
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
4721
|
+
};
|
|
4722
|
+
|
|
4723
|
+
|
|
4724
|
+
/**
|
|
4725
|
+
* Returns whether this field is set.
|
|
4726
|
+
* @return {boolean}
|
|
4727
|
+
*/
|
|
4728
|
+
proto.payment.ProviderTranslationItem.prototype.hasDescription = function() {
|
|
4729
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4730
|
+
};
|
|
4731
|
+
|
|
4732
|
+
|
|
4733
|
+
/**
|
|
4734
|
+
* optional int32 is_active = 4;
|
|
4735
|
+
* @return {number}
|
|
4736
|
+
*/
|
|
4737
|
+
proto.payment.ProviderTranslationItem.prototype.getIsActive = function() {
|
|
4738
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
4739
|
+
};
|
|
4740
|
+
|
|
4741
|
+
|
|
4742
|
+
/**
|
|
4743
|
+
* @param {number} value
|
|
4744
|
+
* @return {!proto.payment.ProviderTranslationItem} returns this
|
|
4745
|
+
*/
|
|
4746
|
+
proto.payment.ProviderTranslationItem.prototype.setIsActive = function(value) {
|
|
4747
|
+
return jspb.Message.setField(this, 4, value);
|
|
4748
|
+
};
|
|
4749
|
+
|
|
4750
|
+
|
|
4751
|
+
/**
|
|
4752
|
+
* Clears the field making it undefined.
|
|
4753
|
+
* @return {!proto.payment.ProviderTranslationItem} returns this
|
|
4754
|
+
*/
|
|
4755
|
+
proto.payment.ProviderTranslationItem.prototype.clearIsActive = function() {
|
|
4756
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
4757
|
+
};
|
|
4758
|
+
|
|
4759
|
+
|
|
4760
|
+
/**
|
|
4761
|
+
* Returns whether this field is set.
|
|
4762
|
+
* @return {boolean}
|
|
4763
|
+
*/
|
|
4764
|
+
proto.payment.ProviderTranslationItem.prototype.hasIsActive = function() {
|
|
4765
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4766
|
+
};
|
|
4767
|
+
|
|
4768
|
+
|
|
4769
|
+
|
|
4770
|
+
|
|
4771
|
+
|
|
4772
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4773
|
+
/**
|
|
4774
|
+
* Creates an object representation of this proto.
|
|
4775
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4776
|
+
* Optional fields that are not set will be set to undefined.
|
|
4777
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4778
|
+
* For the list of reserved names please see:
|
|
4779
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4780
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4781
|
+
* JSPB instance for transitional soy proto support:
|
|
4782
|
+
* http://goto/soy-param-migration
|
|
4783
|
+
* @return {!Object}
|
|
4784
|
+
*/
|
|
4785
|
+
proto.payment.ProviderTranslationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4786
|
+
return proto.payment.ProviderTranslationResponse.toObject(opt_includeInstance, this);
|
|
4787
|
+
};
|
|
4788
|
+
|
|
4789
|
+
|
|
4790
|
+
/**
|
|
4791
|
+
* Static version of the {@see toObject} method.
|
|
4792
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4793
|
+
* the JSPB instance for transitional soy proto support:
|
|
4794
|
+
* http://goto/soy-param-migration
|
|
4795
|
+
* @param {!proto.payment.ProviderTranslationResponse} msg The msg instance to transform.
|
|
4796
|
+
* @return {!Object}
|
|
4797
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4798
|
+
*/
|
|
4799
|
+
proto.payment.ProviderTranslationResponse.toObject = function(includeInstance, msg) {
|
|
4800
|
+
var f, obj = {
|
|
4801
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4802
|
+
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4803
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
4804
|
+
locale: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4805
|
+
};
|
|
4806
|
+
|
|
4807
|
+
if (includeInstance) {
|
|
4808
|
+
obj.$jspbMessageInstance = msg;
|
|
4809
|
+
}
|
|
4810
|
+
return obj;
|
|
4811
|
+
};
|
|
4812
|
+
}
|
|
4813
|
+
|
|
4814
|
+
|
|
4815
|
+
/**
|
|
4816
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4817
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4818
|
+
* @return {!proto.payment.ProviderTranslationResponse}
|
|
4819
|
+
*/
|
|
4820
|
+
proto.payment.ProviderTranslationResponse.deserializeBinary = function(bytes) {
|
|
4821
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4822
|
+
var msg = new proto.payment.ProviderTranslationResponse;
|
|
4823
|
+
return proto.payment.ProviderTranslationResponse.deserializeBinaryFromReader(msg, reader);
|
|
4824
|
+
};
|
|
4825
|
+
|
|
4826
|
+
|
|
4827
|
+
/**
|
|
4828
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4829
|
+
* given reader into the given message object.
|
|
4830
|
+
* @param {!proto.payment.ProviderTranslationResponse} msg The message object to deserialize into.
|
|
4831
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4832
|
+
* @return {!proto.payment.ProviderTranslationResponse}
|
|
4833
|
+
*/
|
|
4834
|
+
proto.payment.ProviderTranslationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4835
|
+
while (reader.nextField()) {
|
|
4836
|
+
if (reader.isEndGroup()) {
|
|
4837
|
+
break;
|
|
4838
|
+
}
|
|
4839
|
+
var field = reader.getFieldNumber();
|
|
4840
|
+
switch (field) {
|
|
4841
|
+
case 1:
|
|
4842
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4843
|
+
msg.setTitle(value);
|
|
4844
|
+
break;
|
|
4845
|
+
case 2:
|
|
4846
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4847
|
+
msg.setDescription(value);
|
|
4848
|
+
break;
|
|
4849
|
+
case 3:
|
|
4850
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4851
|
+
msg.setIsActive(value);
|
|
4852
|
+
break;
|
|
4853
|
+
case 4:
|
|
4854
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4855
|
+
msg.setLocale(value);
|
|
4856
|
+
break;
|
|
4857
|
+
default:
|
|
4858
|
+
reader.skipField();
|
|
4859
|
+
break;
|
|
4860
|
+
}
|
|
4861
|
+
}
|
|
4862
|
+
return msg;
|
|
4863
|
+
};
|
|
4864
|
+
|
|
4865
|
+
|
|
4866
|
+
/**
|
|
4867
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4868
|
+
* @return {!Uint8Array}
|
|
4869
|
+
*/
|
|
4870
|
+
proto.payment.ProviderTranslationResponse.prototype.serializeBinary = function() {
|
|
4871
|
+
var writer = new jspb.BinaryWriter();
|
|
4872
|
+
proto.payment.ProviderTranslationResponse.serializeBinaryToWriter(this, writer);
|
|
4873
|
+
return writer.getResultBuffer();
|
|
4874
|
+
};
|
|
4875
|
+
|
|
4876
|
+
|
|
4877
|
+
/**
|
|
4878
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4879
|
+
* format), writing to the given BinaryWriter.
|
|
4880
|
+
* @param {!proto.payment.ProviderTranslationResponse} message
|
|
4881
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4882
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4883
|
+
*/
|
|
4884
|
+
proto.payment.ProviderTranslationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4885
|
+
var f = undefined;
|
|
4886
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
4887
|
+
if (f != null) {
|
|
4888
|
+
writer.writeString(
|
|
4889
|
+
1,
|
|
4890
|
+
f
|
|
4891
|
+
);
|
|
4892
|
+
}
|
|
4893
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
4894
|
+
if (f != null) {
|
|
4895
|
+
writer.writeString(
|
|
4896
|
+
2,
|
|
4897
|
+
f
|
|
4898
|
+
);
|
|
4899
|
+
}
|
|
4900
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
4901
|
+
if (f != null) {
|
|
4902
|
+
writer.writeInt32(
|
|
4903
|
+
3,
|
|
4904
|
+
f
|
|
4905
|
+
);
|
|
4906
|
+
}
|
|
4907
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
4908
|
+
if (f != null) {
|
|
4909
|
+
writer.writeString(
|
|
4910
|
+
4,
|
|
4911
|
+
f
|
|
4912
|
+
);
|
|
4913
|
+
}
|
|
4914
|
+
};
|
|
4915
|
+
|
|
4916
|
+
|
|
4917
|
+
/**
|
|
4918
|
+
* optional string title = 1;
|
|
4919
|
+
* @return {string}
|
|
4920
|
+
*/
|
|
4921
|
+
proto.payment.ProviderTranslationResponse.prototype.getTitle = function() {
|
|
4922
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4923
|
+
};
|
|
4924
|
+
|
|
4925
|
+
|
|
4926
|
+
/**
|
|
4927
|
+
* @param {string} value
|
|
4928
|
+
* @return {!proto.payment.ProviderTranslationResponse} returns this
|
|
4929
|
+
*/
|
|
4930
|
+
proto.payment.ProviderTranslationResponse.prototype.setTitle = function(value) {
|
|
4931
|
+
return jspb.Message.setField(this, 1, value);
|
|
4932
|
+
};
|
|
4933
|
+
|
|
4934
|
+
|
|
4935
|
+
/**
|
|
4936
|
+
* Clears the field making it undefined.
|
|
4937
|
+
* @return {!proto.payment.ProviderTranslationResponse} returns this
|
|
4938
|
+
*/
|
|
4939
|
+
proto.payment.ProviderTranslationResponse.prototype.clearTitle = function() {
|
|
4940
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
4941
|
+
};
|
|
4942
|
+
|
|
4943
|
+
|
|
4944
|
+
/**
|
|
4945
|
+
* Returns whether this field is set.
|
|
4946
|
+
* @return {boolean}
|
|
4947
|
+
*/
|
|
4948
|
+
proto.payment.ProviderTranslationResponse.prototype.hasTitle = function() {
|
|
4949
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4950
|
+
};
|
|
4951
|
+
|
|
4952
|
+
|
|
4953
|
+
/**
|
|
4954
|
+
* optional string description = 2;
|
|
4955
|
+
* @return {string}
|
|
4956
|
+
*/
|
|
4957
|
+
proto.payment.ProviderTranslationResponse.prototype.getDescription = function() {
|
|
4958
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4959
|
+
};
|
|
4960
|
+
|
|
4961
|
+
|
|
4962
|
+
/**
|
|
4963
|
+
* @param {string} value
|
|
4964
|
+
* @return {!proto.payment.ProviderTranslationResponse} returns this
|
|
4965
|
+
*/
|
|
4966
|
+
proto.payment.ProviderTranslationResponse.prototype.setDescription = function(value) {
|
|
4967
|
+
return jspb.Message.setField(this, 2, value);
|
|
4968
|
+
};
|
|
4969
|
+
|
|
4970
|
+
|
|
4971
|
+
/**
|
|
4972
|
+
* Clears the field making it undefined.
|
|
4973
|
+
* @return {!proto.payment.ProviderTranslationResponse} returns this
|
|
4974
|
+
*/
|
|
4975
|
+
proto.payment.ProviderTranslationResponse.prototype.clearDescription = function() {
|
|
4976
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
4977
|
+
};
|
|
4978
|
+
|
|
4979
|
+
|
|
4980
|
+
/**
|
|
4981
|
+
* Returns whether this field is set.
|
|
4982
|
+
* @return {boolean}
|
|
4983
|
+
*/
|
|
4984
|
+
proto.payment.ProviderTranslationResponse.prototype.hasDescription = function() {
|
|
4985
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4986
|
+
};
|
|
4987
|
+
|
|
4988
|
+
|
|
4989
|
+
/**
|
|
4990
|
+
* optional int32 is_active = 3;
|
|
4991
|
+
* @return {number}
|
|
4992
|
+
*/
|
|
4993
|
+
proto.payment.ProviderTranslationResponse.prototype.getIsActive = function() {
|
|
4994
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4995
|
+
};
|
|
4996
|
+
|
|
4997
|
+
|
|
4998
|
+
/**
|
|
4999
|
+
* @param {number} value
|
|
5000
|
+
* @return {!proto.payment.ProviderTranslationResponse} returns this
|
|
5001
|
+
*/
|
|
5002
|
+
proto.payment.ProviderTranslationResponse.prototype.setIsActive = function(value) {
|
|
5003
|
+
return jspb.Message.setField(this, 3, value);
|
|
5004
|
+
};
|
|
5005
|
+
|
|
5006
|
+
|
|
5007
|
+
/**
|
|
5008
|
+
* Clears the field making it undefined.
|
|
5009
|
+
* @return {!proto.payment.ProviderTranslationResponse} returns this
|
|
5010
|
+
*/
|
|
5011
|
+
proto.payment.ProviderTranslationResponse.prototype.clearIsActive = function() {
|
|
5012
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
5013
|
+
};
|
|
5014
|
+
|
|
5015
|
+
|
|
5016
|
+
/**
|
|
5017
|
+
* Returns whether this field is set.
|
|
5018
|
+
* @return {boolean}
|
|
5019
|
+
*/
|
|
5020
|
+
proto.payment.ProviderTranslationResponse.prototype.hasIsActive = function() {
|
|
5021
|
+
return jspb.Message.getField(this, 3) != null;
|
|
5022
|
+
};
|
|
5023
|
+
|
|
5024
|
+
|
|
5025
|
+
/**
|
|
5026
|
+
* optional string locale = 4;
|
|
5027
|
+
* @return {string}
|
|
5028
|
+
*/
|
|
5029
|
+
proto.payment.ProviderTranslationResponse.prototype.getLocale = function() {
|
|
5030
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
5031
|
+
};
|
|
5032
|
+
|
|
5033
|
+
|
|
5034
|
+
/**
|
|
5035
|
+
* @param {string} value
|
|
5036
|
+
* @return {!proto.payment.ProviderTranslationResponse} returns this
|
|
5037
|
+
*/
|
|
5038
|
+
proto.payment.ProviderTranslationResponse.prototype.setLocale = function(value) {
|
|
5039
|
+
return jspb.Message.setField(this, 4, value);
|
|
5040
|
+
};
|
|
5041
|
+
|
|
5042
|
+
|
|
5043
|
+
/**
|
|
5044
|
+
* Clears the field making it undefined.
|
|
5045
|
+
* @return {!proto.payment.ProviderTranslationResponse} returns this
|
|
5046
|
+
*/
|
|
5047
|
+
proto.payment.ProviderTranslationResponse.prototype.clearLocale = function() {
|
|
5048
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
5049
|
+
};
|
|
5050
|
+
|
|
5051
|
+
|
|
5052
|
+
/**
|
|
5053
|
+
* Returns whether this field is set.
|
|
5054
|
+
* @return {boolean}
|
|
5055
|
+
*/
|
|
5056
|
+
proto.payment.ProviderTranslationResponse.prototype.hasLocale = function() {
|
|
5057
|
+
return jspb.Message.getField(this, 4) != null;
|
|
5058
|
+
};
|
|
5059
|
+
|
|
5060
|
+
|
|
5061
|
+
|
|
5062
|
+
|
|
5063
|
+
|
|
3839
5064
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3840
5065
|
/**
|
|
3841
5066
|
* Creates an object representation of this proto.
|