protobuf-platform 1.2.51 → 1.2.52
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/bonus/bonus.proto +29 -0
- package/bonus/bonus_grpc_pb.js +55 -0
- package/bonus/bonus_pb.js +1371 -2
- package/package.json +1 -1
package/bonus/bonus_pb.js
CHANGED
|
@@ -36,6 +36,9 @@ goog.exportSymbol('proto.bonus.BonusRewardsRequest', null, global);
|
|
|
36
36
|
goog.exportSymbol('proto.bonus.BonusStatus', null, global);
|
|
37
37
|
goog.exportSymbol('proto.bonus.BonusStatusResponse', null, global);
|
|
38
38
|
goog.exportSymbol('proto.bonus.BonusStatusesResponse', null, global);
|
|
39
|
+
goog.exportSymbol('proto.bonus.BonusTranslationItem', null, global);
|
|
40
|
+
goog.exportSymbol('proto.bonus.BonusTranslationRequest', null, global);
|
|
41
|
+
goog.exportSymbol('proto.bonus.BonusTranslationResponse', null, global);
|
|
39
42
|
goog.exportSymbol('proto.bonus.BonusType', null, global);
|
|
40
43
|
goog.exportSymbol('proto.bonus.BonusTypesResponse', null, global);
|
|
41
44
|
goog.exportSymbol('proto.bonus.DashboardRequest', null, global);
|
|
@@ -43,6 +46,7 @@ goog.exportSymbol('proto.bonus.DashboardResponse', null, global);
|
|
|
43
46
|
goog.exportSymbol('proto.bonus.File', null, global);
|
|
44
47
|
goog.exportSymbol('proto.bonus.FreeSpinItem', null, global);
|
|
45
48
|
goog.exportSymbol('proto.bonus.GetBonusRequest', null, global);
|
|
49
|
+
goog.exportSymbol('proto.bonus.GetBonusTranslationRequest', null, global);
|
|
46
50
|
goog.exportSymbol('proto.bonus.GetFileRequest', null, global);
|
|
47
51
|
goog.exportSymbol('proto.bonus.GetUserBonusRequest', null, global);
|
|
48
52
|
goog.exportSymbol('proto.bonus.PaginationRequest', null, global);
|
|
@@ -450,6 +454,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
450
454
|
*/
|
|
451
455
|
proto.bonus.BonusStatusResponse.displayName = 'proto.bonus.BonusStatusResponse';
|
|
452
456
|
}
|
|
457
|
+
/**
|
|
458
|
+
* Generated by JsPbCodeGenerator.
|
|
459
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
460
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
461
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
462
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
463
|
+
* valid.
|
|
464
|
+
* @extends {jspb.Message}
|
|
465
|
+
* @constructor
|
|
466
|
+
*/
|
|
467
|
+
proto.bonus.BonusTranslationRequest = function(opt_data) {
|
|
468
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
469
|
+
};
|
|
470
|
+
goog.inherits(proto.bonus.BonusTranslationRequest, jspb.Message);
|
|
471
|
+
if (goog.DEBUG && !COMPILED) {
|
|
472
|
+
/**
|
|
473
|
+
* @public
|
|
474
|
+
* @override
|
|
475
|
+
*/
|
|
476
|
+
proto.bonus.BonusTranslationRequest.displayName = 'proto.bonus.BonusTranslationRequest';
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Generated by JsPbCodeGenerator.
|
|
480
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
481
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
482
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
483
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
484
|
+
* valid.
|
|
485
|
+
* @extends {jspb.Message}
|
|
486
|
+
* @constructor
|
|
487
|
+
*/
|
|
488
|
+
proto.bonus.GetBonusTranslationRequest = function(opt_data) {
|
|
489
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
490
|
+
};
|
|
491
|
+
goog.inherits(proto.bonus.GetBonusTranslationRequest, jspb.Message);
|
|
492
|
+
if (goog.DEBUG && !COMPILED) {
|
|
493
|
+
/**
|
|
494
|
+
* @public
|
|
495
|
+
* @override
|
|
496
|
+
*/
|
|
497
|
+
proto.bonus.GetBonusTranslationRequest.displayName = 'proto.bonus.GetBonusTranslationRequest';
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Generated by JsPbCodeGenerator.
|
|
501
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
502
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
503
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
504
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
505
|
+
* valid.
|
|
506
|
+
* @extends {jspb.Message}
|
|
507
|
+
* @constructor
|
|
508
|
+
*/
|
|
509
|
+
proto.bonus.BonusTranslationResponse = function(opt_data) {
|
|
510
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
511
|
+
};
|
|
512
|
+
goog.inherits(proto.bonus.BonusTranslationResponse, jspb.Message);
|
|
513
|
+
if (goog.DEBUG && !COMPILED) {
|
|
514
|
+
/**
|
|
515
|
+
* @public
|
|
516
|
+
* @override
|
|
517
|
+
*/
|
|
518
|
+
proto.bonus.BonusTranslationResponse.displayName = 'proto.bonus.BonusTranslationResponse';
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Generated by JsPbCodeGenerator.
|
|
522
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
523
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
524
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
525
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
526
|
+
* valid.
|
|
527
|
+
* @extends {jspb.Message}
|
|
528
|
+
* @constructor
|
|
529
|
+
*/
|
|
530
|
+
proto.bonus.BonusTranslationItem = function(opt_data) {
|
|
531
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
532
|
+
};
|
|
533
|
+
goog.inherits(proto.bonus.BonusTranslationItem, jspb.Message);
|
|
534
|
+
if (goog.DEBUG && !COMPILED) {
|
|
535
|
+
/**
|
|
536
|
+
* @public
|
|
537
|
+
* @override
|
|
538
|
+
*/
|
|
539
|
+
proto.bonus.BonusTranslationItem.displayName = 'proto.bonus.BonusTranslationItem';
|
|
540
|
+
}
|
|
453
541
|
/**
|
|
454
542
|
* Generated by JsPbCodeGenerator.
|
|
455
543
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5225,7 +5313,7 @@ proto.bonus.BonusResponse.prototype.hasData = function() {
|
|
|
5225
5313
|
* @private {!Array<number>}
|
|
5226
5314
|
* @const
|
|
5227
5315
|
*/
|
|
5228
|
-
proto.bonus.BonusItem.repeatedFields_ = [19,20,21];
|
|
5316
|
+
proto.bonus.BonusItem.repeatedFields_ = [19,20,21,24];
|
|
5229
5317
|
|
|
5230
5318
|
|
|
5231
5319
|
|
|
@@ -5283,7 +5371,9 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
|
|
|
5283
5371
|
betsRangeList: jspb.Message.toObjectList(msg.getBetsRangeList(),
|
|
5284
5372
|
proto.bonus.BetsRange.toObject, includeInstance),
|
|
5285
5373
|
typeData: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
5286
|
-
statusId: jspb.Message.getFieldWithDefault(msg, 23, 0)
|
|
5374
|
+
statusId: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
5375
|
+
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
5376
|
+
proto.bonus.BonusTranslationItem.toObject, includeInstance)
|
|
5287
5377
|
};
|
|
5288
5378
|
|
|
5289
5379
|
if (includeInstance) {
|
|
@@ -5415,6 +5505,11 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
5415
5505
|
var value = /** @type {number} */ (reader.readInt32());
|
|
5416
5506
|
msg.setStatusId(value);
|
|
5417
5507
|
break;
|
|
5508
|
+
case 24:
|
|
5509
|
+
var value = new proto.bonus.BonusTranslationItem;
|
|
5510
|
+
reader.readMessage(value,proto.bonus.BonusTranslationItem.deserializeBinaryFromReader);
|
|
5511
|
+
msg.addTranslations(value);
|
|
5512
|
+
break;
|
|
5418
5513
|
default:
|
|
5419
5514
|
reader.skipField();
|
|
5420
5515
|
break;
|
|
@@ -5608,6 +5703,14 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
5608
5703
|
f
|
|
5609
5704
|
);
|
|
5610
5705
|
}
|
|
5706
|
+
f = message.getTranslationsList();
|
|
5707
|
+
if (f.length > 0) {
|
|
5708
|
+
writer.writeRepeatedMessage(
|
|
5709
|
+
24,
|
|
5710
|
+
f,
|
|
5711
|
+
proto.bonus.BonusTranslationItem.serializeBinaryToWriter
|
|
5712
|
+
);
|
|
5713
|
+
}
|
|
5611
5714
|
};
|
|
5612
5715
|
|
|
5613
5716
|
|
|
@@ -6445,6 +6548,44 @@ proto.bonus.BonusItem.prototype.hasStatusId = function() {
|
|
|
6445
6548
|
};
|
|
6446
6549
|
|
|
6447
6550
|
|
|
6551
|
+
/**
|
|
6552
|
+
* repeated BonusTranslationItem translations = 24;
|
|
6553
|
+
* @return {!Array<!proto.bonus.BonusTranslationItem>}
|
|
6554
|
+
*/
|
|
6555
|
+
proto.bonus.BonusItem.prototype.getTranslationsList = function() {
|
|
6556
|
+
return /** @type{!Array<!proto.bonus.BonusTranslationItem>} */ (
|
|
6557
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bonus.BonusTranslationItem, 24));
|
|
6558
|
+
};
|
|
6559
|
+
|
|
6560
|
+
|
|
6561
|
+
/**
|
|
6562
|
+
* @param {!Array<!proto.bonus.BonusTranslationItem>} value
|
|
6563
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
6564
|
+
*/
|
|
6565
|
+
proto.bonus.BonusItem.prototype.setTranslationsList = function(value) {
|
|
6566
|
+
return jspb.Message.setRepeatedWrapperField(this, 24, value);
|
|
6567
|
+
};
|
|
6568
|
+
|
|
6569
|
+
|
|
6570
|
+
/**
|
|
6571
|
+
* @param {!proto.bonus.BonusTranslationItem=} opt_value
|
|
6572
|
+
* @param {number=} opt_index
|
|
6573
|
+
* @return {!proto.bonus.BonusTranslationItem}
|
|
6574
|
+
*/
|
|
6575
|
+
proto.bonus.BonusItem.prototype.addTranslations = function(opt_value, opt_index) {
|
|
6576
|
+
return jspb.Message.addToRepeatedWrapperField(this, 24, opt_value, proto.bonus.BonusTranslationItem, opt_index);
|
|
6577
|
+
};
|
|
6578
|
+
|
|
6579
|
+
|
|
6580
|
+
/**
|
|
6581
|
+
* Clears the list making it empty but non-null.
|
|
6582
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
6583
|
+
*/
|
|
6584
|
+
proto.bonus.BonusItem.prototype.clearTranslationsList = function() {
|
|
6585
|
+
return this.setTranslationsList([]);
|
|
6586
|
+
};
|
|
6587
|
+
|
|
6588
|
+
|
|
6448
6589
|
|
|
6449
6590
|
/**
|
|
6450
6591
|
* List of repeated fields within this message type.
|
|
@@ -6832,6 +6973,1234 @@ proto.bonus.BonusStatusResponse.prototype.setStatus = function(value) {
|
|
|
6832
6973
|
|
|
6833
6974
|
|
|
6834
6975
|
|
|
6976
|
+
|
|
6977
|
+
|
|
6978
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6979
|
+
/**
|
|
6980
|
+
* Creates an object representation of this proto.
|
|
6981
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6982
|
+
* Optional fields that are not set will be set to undefined.
|
|
6983
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6984
|
+
* For the list of reserved names please see:
|
|
6985
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6986
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6987
|
+
* JSPB instance for transitional soy proto support:
|
|
6988
|
+
* http://goto/soy-param-migration
|
|
6989
|
+
* @return {!Object}
|
|
6990
|
+
*/
|
|
6991
|
+
proto.bonus.BonusTranslationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6992
|
+
return proto.bonus.BonusTranslationRequest.toObject(opt_includeInstance, this);
|
|
6993
|
+
};
|
|
6994
|
+
|
|
6995
|
+
|
|
6996
|
+
/**
|
|
6997
|
+
* Static version of the {@see toObject} method.
|
|
6998
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6999
|
+
* the JSPB instance for transitional soy proto support:
|
|
7000
|
+
* http://goto/soy-param-migration
|
|
7001
|
+
* @param {!proto.bonus.BonusTranslationRequest} msg The msg instance to transform.
|
|
7002
|
+
* @return {!Object}
|
|
7003
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7004
|
+
*/
|
|
7005
|
+
proto.bonus.BonusTranslationRequest.toObject = function(includeInstance, msg) {
|
|
7006
|
+
var f, obj = {
|
|
7007
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7008
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7009
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7010
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7011
|
+
content: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
7012
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
7013
|
+
};
|
|
7014
|
+
|
|
7015
|
+
if (includeInstance) {
|
|
7016
|
+
obj.$jspbMessageInstance = msg;
|
|
7017
|
+
}
|
|
7018
|
+
return obj;
|
|
7019
|
+
};
|
|
7020
|
+
}
|
|
7021
|
+
|
|
7022
|
+
|
|
7023
|
+
/**
|
|
7024
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7025
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7026
|
+
* @return {!proto.bonus.BonusTranslationRequest}
|
|
7027
|
+
*/
|
|
7028
|
+
proto.bonus.BonusTranslationRequest.deserializeBinary = function(bytes) {
|
|
7029
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7030
|
+
var msg = new proto.bonus.BonusTranslationRequest;
|
|
7031
|
+
return proto.bonus.BonusTranslationRequest.deserializeBinaryFromReader(msg, reader);
|
|
7032
|
+
};
|
|
7033
|
+
|
|
7034
|
+
|
|
7035
|
+
/**
|
|
7036
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7037
|
+
* given reader into the given message object.
|
|
7038
|
+
* @param {!proto.bonus.BonusTranslationRequest} msg The message object to deserialize into.
|
|
7039
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7040
|
+
* @return {!proto.bonus.BonusTranslationRequest}
|
|
7041
|
+
*/
|
|
7042
|
+
proto.bonus.BonusTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7043
|
+
while (reader.nextField()) {
|
|
7044
|
+
if (reader.isEndGroup()) {
|
|
7045
|
+
break;
|
|
7046
|
+
}
|
|
7047
|
+
var field = reader.getFieldNumber();
|
|
7048
|
+
switch (field) {
|
|
7049
|
+
case 1:
|
|
7050
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7051
|
+
msg.setBonusId(value);
|
|
7052
|
+
break;
|
|
7053
|
+
case 2:
|
|
7054
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7055
|
+
msg.setLocale(value);
|
|
7056
|
+
break;
|
|
7057
|
+
case 3:
|
|
7058
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7059
|
+
msg.setTitle(value);
|
|
7060
|
+
break;
|
|
7061
|
+
case 4:
|
|
7062
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7063
|
+
msg.setDescription(value);
|
|
7064
|
+
break;
|
|
7065
|
+
case 5:
|
|
7066
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7067
|
+
msg.setContent(value);
|
|
7068
|
+
break;
|
|
7069
|
+
case 6:
|
|
7070
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7071
|
+
msg.setIsActive(value);
|
|
7072
|
+
break;
|
|
7073
|
+
default:
|
|
7074
|
+
reader.skipField();
|
|
7075
|
+
break;
|
|
7076
|
+
}
|
|
7077
|
+
}
|
|
7078
|
+
return msg;
|
|
7079
|
+
};
|
|
7080
|
+
|
|
7081
|
+
|
|
7082
|
+
/**
|
|
7083
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7084
|
+
* @return {!Uint8Array}
|
|
7085
|
+
*/
|
|
7086
|
+
proto.bonus.BonusTranslationRequest.prototype.serializeBinary = function() {
|
|
7087
|
+
var writer = new jspb.BinaryWriter();
|
|
7088
|
+
proto.bonus.BonusTranslationRequest.serializeBinaryToWriter(this, writer);
|
|
7089
|
+
return writer.getResultBuffer();
|
|
7090
|
+
};
|
|
7091
|
+
|
|
7092
|
+
|
|
7093
|
+
/**
|
|
7094
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7095
|
+
* format), writing to the given BinaryWriter.
|
|
7096
|
+
* @param {!proto.bonus.BonusTranslationRequest} message
|
|
7097
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7098
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7099
|
+
*/
|
|
7100
|
+
proto.bonus.BonusTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7101
|
+
var f = undefined;
|
|
7102
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
7103
|
+
if (f != null) {
|
|
7104
|
+
writer.writeInt32(
|
|
7105
|
+
1,
|
|
7106
|
+
f
|
|
7107
|
+
);
|
|
7108
|
+
}
|
|
7109
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
7110
|
+
if (f != null) {
|
|
7111
|
+
writer.writeString(
|
|
7112
|
+
2,
|
|
7113
|
+
f
|
|
7114
|
+
);
|
|
7115
|
+
}
|
|
7116
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
7117
|
+
if (f != null) {
|
|
7118
|
+
writer.writeString(
|
|
7119
|
+
3,
|
|
7120
|
+
f
|
|
7121
|
+
);
|
|
7122
|
+
}
|
|
7123
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
7124
|
+
if (f != null) {
|
|
7125
|
+
writer.writeString(
|
|
7126
|
+
4,
|
|
7127
|
+
f
|
|
7128
|
+
);
|
|
7129
|
+
}
|
|
7130
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
7131
|
+
if (f != null) {
|
|
7132
|
+
writer.writeString(
|
|
7133
|
+
5,
|
|
7134
|
+
f
|
|
7135
|
+
);
|
|
7136
|
+
}
|
|
7137
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
7138
|
+
if (f != null) {
|
|
7139
|
+
writer.writeInt32(
|
|
7140
|
+
6,
|
|
7141
|
+
f
|
|
7142
|
+
);
|
|
7143
|
+
}
|
|
7144
|
+
};
|
|
7145
|
+
|
|
7146
|
+
|
|
7147
|
+
/**
|
|
7148
|
+
* optional int32 bonus_id = 1;
|
|
7149
|
+
* @return {number}
|
|
7150
|
+
*/
|
|
7151
|
+
proto.bonus.BonusTranslationRequest.prototype.getBonusId = function() {
|
|
7152
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7153
|
+
};
|
|
7154
|
+
|
|
7155
|
+
|
|
7156
|
+
/**
|
|
7157
|
+
* @param {number} value
|
|
7158
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7159
|
+
*/
|
|
7160
|
+
proto.bonus.BonusTranslationRequest.prototype.setBonusId = function(value) {
|
|
7161
|
+
return jspb.Message.setField(this, 1, value);
|
|
7162
|
+
};
|
|
7163
|
+
|
|
7164
|
+
|
|
7165
|
+
/**
|
|
7166
|
+
* Clears the field making it undefined.
|
|
7167
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7168
|
+
*/
|
|
7169
|
+
proto.bonus.BonusTranslationRequest.prototype.clearBonusId = function() {
|
|
7170
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
7171
|
+
};
|
|
7172
|
+
|
|
7173
|
+
|
|
7174
|
+
/**
|
|
7175
|
+
* Returns whether this field is set.
|
|
7176
|
+
* @return {boolean}
|
|
7177
|
+
*/
|
|
7178
|
+
proto.bonus.BonusTranslationRequest.prototype.hasBonusId = function() {
|
|
7179
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7180
|
+
};
|
|
7181
|
+
|
|
7182
|
+
|
|
7183
|
+
/**
|
|
7184
|
+
* optional string locale = 2;
|
|
7185
|
+
* @return {string}
|
|
7186
|
+
*/
|
|
7187
|
+
proto.bonus.BonusTranslationRequest.prototype.getLocale = function() {
|
|
7188
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7189
|
+
};
|
|
7190
|
+
|
|
7191
|
+
|
|
7192
|
+
/**
|
|
7193
|
+
* @param {string} value
|
|
7194
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7195
|
+
*/
|
|
7196
|
+
proto.bonus.BonusTranslationRequest.prototype.setLocale = function(value) {
|
|
7197
|
+
return jspb.Message.setField(this, 2, value);
|
|
7198
|
+
};
|
|
7199
|
+
|
|
7200
|
+
|
|
7201
|
+
/**
|
|
7202
|
+
* Clears the field making it undefined.
|
|
7203
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7204
|
+
*/
|
|
7205
|
+
proto.bonus.BonusTranslationRequest.prototype.clearLocale = function() {
|
|
7206
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
7207
|
+
};
|
|
7208
|
+
|
|
7209
|
+
|
|
7210
|
+
/**
|
|
7211
|
+
* Returns whether this field is set.
|
|
7212
|
+
* @return {boolean}
|
|
7213
|
+
*/
|
|
7214
|
+
proto.bonus.BonusTranslationRequest.prototype.hasLocale = function() {
|
|
7215
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7216
|
+
};
|
|
7217
|
+
|
|
7218
|
+
|
|
7219
|
+
/**
|
|
7220
|
+
* optional string title = 3;
|
|
7221
|
+
* @return {string}
|
|
7222
|
+
*/
|
|
7223
|
+
proto.bonus.BonusTranslationRequest.prototype.getTitle = function() {
|
|
7224
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7225
|
+
};
|
|
7226
|
+
|
|
7227
|
+
|
|
7228
|
+
/**
|
|
7229
|
+
* @param {string} value
|
|
7230
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7231
|
+
*/
|
|
7232
|
+
proto.bonus.BonusTranslationRequest.prototype.setTitle = function(value) {
|
|
7233
|
+
return jspb.Message.setField(this, 3, value);
|
|
7234
|
+
};
|
|
7235
|
+
|
|
7236
|
+
|
|
7237
|
+
/**
|
|
7238
|
+
* Clears the field making it undefined.
|
|
7239
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7240
|
+
*/
|
|
7241
|
+
proto.bonus.BonusTranslationRequest.prototype.clearTitle = function() {
|
|
7242
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
7243
|
+
};
|
|
7244
|
+
|
|
7245
|
+
|
|
7246
|
+
/**
|
|
7247
|
+
* Returns whether this field is set.
|
|
7248
|
+
* @return {boolean}
|
|
7249
|
+
*/
|
|
7250
|
+
proto.bonus.BonusTranslationRequest.prototype.hasTitle = function() {
|
|
7251
|
+
return jspb.Message.getField(this, 3) != null;
|
|
7252
|
+
};
|
|
7253
|
+
|
|
7254
|
+
|
|
7255
|
+
/**
|
|
7256
|
+
* optional string description = 4;
|
|
7257
|
+
* @return {string}
|
|
7258
|
+
*/
|
|
7259
|
+
proto.bonus.BonusTranslationRequest.prototype.getDescription = function() {
|
|
7260
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7261
|
+
};
|
|
7262
|
+
|
|
7263
|
+
|
|
7264
|
+
/**
|
|
7265
|
+
* @param {string} value
|
|
7266
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7267
|
+
*/
|
|
7268
|
+
proto.bonus.BonusTranslationRequest.prototype.setDescription = function(value) {
|
|
7269
|
+
return jspb.Message.setField(this, 4, value);
|
|
7270
|
+
};
|
|
7271
|
+
|
|
7272
|
+
|
|
7273
|
+
/**
|
|
7274
|
+
* Clears the field making it undefined.
|
|
7275
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7276
|
+
*/
|
|
7277
|
+
proto.bonus.BonusTranslationRequest.prototype.clearDescription = function() {
|
|
7278
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
7279
|
+
};
|
|
7280
|
+
|
|
7281
|
+
|
|
7282
|
+
/**
|
|
7283
|
+
* Returns whether this field is set.
|
|
7284
|
+
* @return {boolean}
|
|
7285
|
+
*/
|
|
7286
|
+
proto.bonus.BonusTranslationRequest.prototype.hasDescription = function() {
|
|
7287
|
+
return jspb.Message.getField(this, 4) != null;
|
|
7288
|
+
};
|
|
7289
|
+
|
|
7290
|
+
|
|
7291
|
+
/**
|
|
7292
|
+
* optional string content = 5;
|
|
7293
|
+
* @return {string}
|
|
7294
|
+
*/
|
|
7295
|
+
proto.bonus.BonusTranslationRequest.prototype.getContent = function() {
|
|
7296
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7297
|
+
};
|
|
7298
|
+
|
|
7299
|
+
|
|
7300
|
+
/**
|
|
7301
|
+
* @param {string} value
|
|
7302
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7303
|
+
*/
|
|
7304
|
+
proto.bonus.BonusTranslationRequest.prototype.setContent = function(value) {
|
|
7305
|
+
return jspb.Message.setField(this, 5, value);
|
|
7306
|
+
};
|
|
7307
|
+
|
|
7308
|
+
|
|
7309
|
+
/**
|
|
7310
|
+
* Clears the field making it undefined.
|
|
7311
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7312
|
+
*/
|
|
7313
|
+
proto.bonus.BonusTranslationRequest.prototype.clearContent = function() {
|
|
7314
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
7315
|
+
};
|
|
7316
|
+
|
|
7317
|
+
|
|
7318
|
+
/**
|
|
7319
|
+
* Returns whether this field is set.
|
|
7320
|
+
* @return {boolean}
|
|
7321
|
+
*/
|
|
7322
|
+
proto.bonus.BonusTranslationRequest.prototype.hasContent = function() {
|
|
7323
|
+
return jspb.Message.getField(this, 5) != null;
|
|
7324
|
+
};
|
|
7325
|
+
|
|
7326
|
+
|
|
7327
|
+
/**
|
|
7328
|
+
* optional int32 is_active = 6;
|
|
7329
|
+
* @return {number}
|
|
7330
|
+
*/
|
|
7331
|
+
proto.bonus.BonusTranslationRequest.prototype.getIsActive = function() {
|
|
7332
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
7333
|
+
};
|
|
7334
|
+
|
|
7335
|
+
|
|
7336
|
+
/**
|
|
7337
|
+
* @param {number} value
|
|
7338
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7339
|
+
*/
|
|
7340
|
+
proto.bonus.BonusTranslationRequest.prototype.setIsActive = function(value) {
|
|
7341
|
+
return jspb.Message.setField(this, 6, value);
|
|
7342
|
+
};
|
|
7343
|
+
|
|
7344
|
+
|
|
7345
|
+
/**
|
|
7346
|
+
* Clears the field making it undefined.
|
|
7347
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
7348
|
+
*/
|
|
7349
|
+
proto.bonus.BonusTranslationRequest.prototype.clearIsActive = function() {
|
|
7350
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
7351
|
+
};
|
|
7352
|
+
|
|
7353
|
+
|
|
7354
|
+
/**
|
|
7355
|
+
* Returns whether this field is set.
|
|
7356
|
+
* @return {boolean}
|
|
7357
|
+
*/
|
|
7358
|
+
proto.bonus.BonusTranslationRequest.prototype.hasIsActive = function() {
|
|
7359
|
+
return jspb.Message.getField(this, 6) != null;
|
|
7360
|
+
};
|
|
7361
|
+
|
|
7362
|
+
|
|
7363
|
+
|
|
7364
|
+
|
|
7365
|
+
|
|
7366
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7367
|
+
/**
|
|
7368
|
+
* Creates an object representation of this proto.
|
|
7369
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7370
|
+
* Optional fields that are not set will be set to undefined.
|
|
7371
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7372
|
+
* For the list of reserved names please see:
|
|
7373
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7374
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7375
|
+
* JSPB instance for transitional soy proto support:
|
|
7376
|
+
* http://goto/soy-param-migration
|
|
7377
|
+
* @return {!Object}
|
|
7378
|
+
*/
|
|
7379
|
+
proto.bonus.GetBonusTranslationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
7380
|
+
return proto.bonus.GetBonusTranslationRequest.toObject(opt_includeInstance, this);
|
|
7381
|
+
};
|
|
7382
|
+
|
|
7383
|
+
|
|
7384
|
+
/**
|
|
7385
|
+
* Static version of the {@see toObject} method.
|
|
7386
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7387
|
+
* the JSPB instance for transitional soy proto support:
|
|
7388
|
+
* http://goto/soy-param-migration
|
|
7389
|
+
* @param {!proto.bonus.GetBonusTranslationRequest} msg The msg instance to transform.
|
|
7390
|
+
* @return {!Object}
|
|
7391
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7392
|
+
*/
|
|
7393
|
+
proto.bonus.GetBonusTranslationRequest.toObject = function(includeInstance, msg) {
|
|
7394
|
+
var f, obj = {
|
|
7395
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7396
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7397
|
+
};
|
|
7398
|
+
|
|
7399
|
+
if (includeInstance) {
|
|
7400
|
+
obj.$jspbMessageInstance = msg;
|
|
7401
|
+
}
|
|
7402
|
+
return obj;
|
|
7403
|
+
};
|
|
7404
|
+
}
|
|
7405
|
+
|
|
7406
|
+
|
|
7407
|
+
/**
|
|
7408
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7409
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7410
|
+
* @return {!proto.bonus.GetBonusTranslationRequest}
|
|
7411
|
+
*/
|
|
7412
|
+
proto.bonus.GetBonusTranslationRequest.deserializeBinary = function(bytes) {
|
|
7413
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7414
|
+
var msg = new proto.bonus.GetBonusTranslationRequest;
|
|
7415
|
+
return proto.bonus.GetBonusTranslationRequest.deserializeBinaryFromReader(msg, reader);
|
|
7416
|
+
};
|
|
7417
|
+
|
|
7418
|
+
|
|
7419
|
+
/**
|
|
7420
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7421
|
+
* given reader into the given message object.
|
|
7422
|
+
* @param {!proto.bonus.GetBonusTranslationRequest} msg The message object to deserialize into.
|
|
7423
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7424
|
+
* @return {!proto.bonus.GetBonusTranslationRequest}
|
|
7425
|
+
*/
|
|
7426
|
+
proto.bonus.GetBonusTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
7427
|
+
while (reader.nextField()) {
|
|
7428
|
+
if (reader.isEndGroup()) {
|
|
7429
|
+
break;
|
|
7430
|
+
}
|
|
7431
|
+
var field = reader.getFieldNumber();
|
|
7432
|
+
switch (field) {
|
|
7433
|
+
case 1:
|
|
7434
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7435
|
+
msg.setBonusId(value);
|
|
7436
|
+
break;
|
|
7437
|
+
case 2:
|
|
7438
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7439
|
+
msg.setLocale(value);
|
|
7440
|
+
break;
|
|
7441
|
+
default:
|
|
7442
|
+
reader.skipField();
|
|
7443
|
+
break;
|
|
7444
|
+
}
|
|
7445
|
+
}
|
|
7446
|
+
return msg;
|
|
7447
|
+
};
|
|
7448
|
+
|
|
7449
|
+
|
|
7450
|
+
/**
|
|
7451
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7452
|
+
* @return {!Uint8Array}
|
|
7453
|
+
*/
|
|
7454
|
+
proto.bonus.GetBonusTranslationRequest.prototype.serializeBinary = function() {
|
|
7455
|
+
var writer = new jspb.BinaryWriter();
|
|
7456
|
+
proto.bonus.GetBonusTranslationRequest.serializeBinaryToWriter(this, writer);
|
|
7457
|
+
return writer.getResultBuffer();
|
|
7458
|
+
};
|
|
7459
|
+
|
|
7460
|
+
|
|
7461
|
+
/**
|
|
7462
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7463
|
+
* format), writing to the given BinaryWriter.
|
|
7464
|
+
* @param {!proto.bonus.GetBonusTranslationRequest} message
|
|
7465
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7466
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7467
|
+
*/
|
|
7468
|
+
proto.bonus.GetBonusTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7469
|
+
var f = undefined;
|
|
7470
|
+
f = message.getBonusId();
|
|
7471
|
+
if (f !== 0) {
|
|
7472
|
+
writer.writeInt32(
|
|
7473
|
+
1,
|
|
7474
|
+
f
|
|
7475
|
+
);
|
|
7476
|
+
}
|
|
7477
|
+
f = message.getLocale();
|
|
7478
|
+
if (f.length > 0) {
|
|
7479
|
+
writer.writeString(
|
|
7480
|
+
2,
|
|
7481
|
+
f
|
|
7482
|
+
);
|
|
7483
|
+
}
|
|
7484
|
+
};
|
|
7485
|
+
|
|
7486
|
+
|
|
7487
|
+
/**
|
|
7488
|
+
* optional int32 bonus_id = 1;
|
|
7489
|
+
* @return {number}
|
|
7490
|
+
*/
|
|
7491
|
+
proto.bonus.GetBonusTranslationRequest.prototype.getBonusId = function() {
|
|
7492
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7493
|
+
};
|
|
7494
|
+
|
|
7495
|
+
|
|
7496
|
+
/**
|
|
7497
|
+
* @param {number} value
|
|
7498
|
+
* @return {!proto.bonus.GetBonusTranslationRequest} returns this
|
|
7499
|
+
*/
|
|
7500
|
+
proto.bonus.GetBonusTranslationRequest.prototype.setBonusId = function(value) {
|
|
7501
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
7502
|
+
};
|
|
7503
|
+
|
|
7504
|
+
|
|
7505
|
+
/**
|
|
7506
|
+
* optional string locale = 2;
|
|
7507
|
+
* @return {string}
|
|
7508
|
+
*/
|
|
7509
|
+
proto.bonus.GetBonusTranslationRequest.prototype.getLocale = function() {
|
|
7510
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7511
|
+
};
|
|
7512
|
+
|
|
7513
|
+
|
|
7514
|
+
/**
|
|
7515
|
+
* @param {string} value
|
|
7516
|
+
* @return {!proto.bonus.GetBonusTranslationRequest} returns this
|
|
7517
|
+
*/
|
|
7518
|
+
proto.bonus.GetBonusTranslationRequest.prototype.setLocale = function(value) {
|
|
7519
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7520
|
+
};
|
|
7521
|
+
|
|
7522
|
+
|
|
7523
|
+
|
|
7524
|
+
|
|
7525
|
+
|
|
7526
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7527
|
+
/**
|
|
7528
|
+
* Creates an object representation of this proto.
|
|
7529
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7530
|
+
* Optional fields that are not set will be set to undefined.
|
|
7531
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7532
|
+
* For the list of reserved names please see:
|
|
7533
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7534
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7535
|
+
* JSPB instance for transitional soy proto support:
|
|
7536
|
+
* http://goto/soy-param-migration
|
|
7537
|
+
* @return {!Object}
|
|
7538
|
+
*/
|
|
7539
|
+
proto.bonus.BonusTranslationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7540
|
+
return proto.bonus.BonusTranslationResponse.toObject(opt_includeInstance, this);
|
|
7541
|
+
};
|
|
7542
|
+
|
|
7543
|
+
|
|
7544
|
+
/**
|
|
7545
|
+
* Static version of the {@see toObject} method.
|
|
7546
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7547
|
+
* the JSPB instance for transitional soy proto support:
|
|
7548
|
+
* http://goto/soy-param-migration
|
|
7549
|
+
* @param {!proto.bonus.BonusTranslationResponse} msg The msg instance to transform.
|
|
7550
|
+
* @return {!Object}
|
|
7551
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7552
|
+
*/
|
|
7553
|
+
proto.bonus.BonusTranslationResponse.toObject = function(includeInstance, msg) {
|
|
7554
|
+
var f, obj = {
|
|
7555
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7556
|
+
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7557
|
+
content: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7558
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7559
|
+
locale: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
7560
|
+
};
|
|
7561
|
+
|
|
7562
|
+
if (includeInstance) {
|
|
7563
|
+
obj.$jspbMessageInstance = msg;
|
|
7564
|
+
}
|
|
7565
|
+
return obj;
|
|
7566
|
+
};
|
|
7567
|
+
}
|
|
7568
|
+
|
|
7569
|
+
|
|
7570
|
+
/**
|
|
7571
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7572
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7573
|
+
* @return {!proto.bonus.BonusTranslationResponse}
|
|
7574
|
+
*/
|
|
7575
|
+
proto.bonus.BonusTranslationResponse.deserializeBinary = function(bytes) {
|
|
7576
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7577
|
+
var msg = new proto.bonus.BonusTranslationResponse;
|
|
7578
|
+
return proto.bonus.BonusTranslationResponse.deserializeBinaryFromReader(msg, reader);
|
|
7579
|
+
};
|
|
7580
|
+
|
|
7581
|
+
|
|
7582
|
+
/**
|
|
7583
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7584
|
+
* given reader into the given message object.
|
|
7585
|
+
* @param {!proto.bonus.BonusTranslationResponse} msg The message object to deserialize into.
|
|
7586
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7587
|
+
* @return {!proto.bonus.BonusTranslationResponse}
|
|
7588
|
+
*/
|
|
7589
|
+
proto.bonus.BonusTranslationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7590
|
+
while (reader.nextField()) {
|
|
7591
|
+
if (reader.isEndGroup()) {
|
|
7592
|
+
break;
|
|
7593
|
+
}
|
|
7594
|
+
var field = reader.getFieldNumber();
|
|
7595
|
+
switch (field) {
|
|
7596
|
+
case 1:
|
|
7597
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7598
|
+
msg.setTitle(value);
|
|
7599
|
+
break;
|
|
7600
|
+
case 2:
|
|
7601
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7602
|
+
msg.setDescription(value);
|
|
7603
|
+
break;
|
|
7604
|
+
case 3:
|
|
7605
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7606
|
+
msg.setContent(value);
|
|
7607
|
+
break;
|
|
7608
|
+
case 4:
|
|
7609
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7610
|
+
msg.setIsActive(value);
|
|
7611
|
+
break;
|
|
7612
|
+
case 5:
|
|
7613
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7614
|
+
msg.setLocale(value);
|
|
7615
|
+
break;
|
|
7616
|
+
default:
|
|
7617
|
+
reader.skipField();
|
|
7618
|
+
break;
|
|
7619
|
+
}
|
|
7620
|
+
}
|
|
7621
|
+
return msg;
|
|
7622
|
+
};
|
|
7623
|
+
|
|
7624
|
+
|
|
7625
|
+
/**
|
|
7626
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7627
|
+
* @return {!Uint8Array}
|
|
7628
|
+
*/
|
|
7629
|
+
proto.bonus.BonusTranslationResponse.prototype.serializeBinary = function() {
|
|
7630
|
+
var writer = new jspb.BinaryWriter();
|
|
7631
|
+
proto.bonus.BonusTranslationResponse.serializeBinaryToWriter(this, writer);
|
|
7632
|
+
return writer.getResultBuffer();
|
|
7633
|
+
};
|
|
7634
|
+
|
|
7635
|
+
|
|
7636
|
+
/**
|
|
7637
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7638
|
+
* format), writing to the given BinaryWriter.
|
|
7639
|
+
* @param {!proto.bonus.BonusTranslationResponse} message
|
|
7640
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7641
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7642
|
+
*/
|
|
7643
|
+
proto.bonus.BonusTranslationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7644
|
+
var f = undefined;
|
|
7645
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
7646
|
+
if (f != null) {
|
|
7647
|
+
writer.writeString(
|
|
7648
|
+
1,
|
|
7649
|
+
f
|
|
7650
|
+
);
|
|
7651
|
+
}
|
|
7652
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
7653
|
+
if (f != null) {
|
|
7654
|
+
writer.writeString(
|
|
7655
|
+
2,
|
|
7656
|
+
f
|
|
7657
|
+
);
|
|
7658
|
+
}
|
|
7659
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
7660
|
+
if (f != null) {
|
|
7661
|
+
writer.writeString(
|
|
7662
|
+
3,
|
|
7663
|
+
f
|
|
7664
|
+
);
|
|
7665
|
+
}
|
|
7666
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
7667
|
+
if (f != null) {
|
|
7668
|
+
writer.writeInt32(
|
|
7669
|
+
4,
|
|
7670
|
+
f
|
|
7671
|
+
);
|
|
7672
|
+
}
|
|
7673
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
7674
|
+
if (f != null) {
|
|
7675
|
+
writer.writeString(
|
|
7676
|
+
5,
|
|
7677
|
+
f
|
|
7678
|
+
);
|
|
7679
|
+
}
|
|
7680
|
+
};
|
|
7681
|
+
|
|
7682
|
+
|
|
7683
|
+
/**
|
|
7684
|
+
* optional string title = 1;
|
|
7685
|
+
* @return {string}
|
|
7686
|
+
*/
|
|
7687
|
+
proto.bonus.BonusTranslationResponse.prototype.getTitle = function() {
|
|
7688
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
7689
|
+
};
|
|
7690
|
+
|
|
7691
|
+
|
|
7692
|
+
/**
|
|
7693
|
+
* @param {string} value
|
|
7694
|
+
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
7695
|
+
*/
|
|
7696
|
+
proto.bonus.BonusTranslationResponse.prototype.setTitle = function(value) {
|
|
7697
|
+
return jspb.Message.setField(this, 1, value);
|
|
7698
|
+
};
|
|
7699
|
+
|
|
7700
|
+
|
|
7701
|
+
/**
|
|
7702
|
+
* Clears the field making it undefined.
|
|
7703
|
+
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
7704
|
+
*/
|
|
7705
|
+
proto.bonus.BonusTranslationResponse.prototype.clearTitle = function() {
|
|
7706
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
7707
|
+
};
|
|
7708
|
+
|
|
7709
|
+
|
|
7710
|
+
/**
|
|
7711
|
+
* Returns whether this field is set.
|
|
7712
|
+
* @return {boolean}
|
|
7713
|
+
*/
|
|
7714
|
+
proto.bonus.BonusTranslationResponse.prototype.hasTitle = function() {
|
|
7715
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7716
|
+
};
|
|
7717
|
+
|
|
7718
|
+
|
|
7719
|
+
/**
|
|
7720
|
+
* optional string description = 2;
|
|
7721
|
+
* @return {string}
|
|
7722
|
+
*/
|
|
7723
|
+
proto.bonus.BonusTranslationResponse.prototype.getDescription = function() {
|
|
7724
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7725
|
+
};
|
|
7726
|
+
|
|
7727
|
+
|
|
7728
|
+
/**
|
|
7729
|
+
* @param {string} value
|
|
7730
|
+
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
7731
|
+
*/
|
|
7732
|
+
proto.bonus.BonusTranslationResponse.prototype.setDescription = function(value) {
|
|
7733
|
+
return jspb.Message.setField(this, 2, value);
|
|
7734
|
+
};
|
|
7735
|
+
|
|
7736
|
+
|
|
7737
|
+
/**
|
|
7738
|
+
* Clears the field making it undefined.
|
|
7739
|
+
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
7740
|
+
*/
|
|
7741
|
+
proto.bonus.BonusTranslationResponse.prototype.clearDescription = function() {
|
|
7742
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
7743
|
+
};
|
|
7744
|
+
|
|
7745
|
+
|
|
7746
|
+
/**
|
|
7747
|
+
* Returns whether this field is set.
|
|
7748
|
+
* @return {boolean}
|
|
7749
|
+
*/
|
|
7750
|
+
proto.bonus.BonusTranslationResponse.prototype.hasDescription = function() {
|
|
7751
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7752
|
+
};
|
|
7753
|
+
|
|
7754
|
+
|
|
7755
|
+
/**
|
|
7756
|
+
* optional string content = 3;
|
|
7757
|
+
* @return {string}
|
|
7758
|
+
*/
|
|
7759
|
+
proto.bonus.BonusTranslationResponse.prototype.getContent = function() {
|
|
7760
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7761
|
+
};
|
|
7762
|
+
|
|
7763
|
+
|
|
7764
|
+
/**
|
|
7765
|
+
* @param {string} value
|
|
7766
|
+
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
7767
|
+
*/
|
|
7768
|
+
proto.bonus.BonusTranslationResponse.prototype.setContent = function(value) {
|
|
7769
|
+
return jspb.Message.setField(this, 3, value);
|
|
7770
|
+
};
|
|
7771
|
+
|
|
7772
|
+
|
|
7773
|
+
/**
|
|
7774
|
+
* Clears the field making it undefined.
|
|
7775
|
+
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
7776
|
+
*/
|
|
7777
|
+
proto.bonus.BonusTranslationResponse.prototype.clearContent = function() {
|
|
7778
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
7779
|
+
};
|
|
7780
|
+
|
|
7781
|
+
|
|
7782
|
+
/**
|
|
7783
|
+
* Returns whether this field is set.
|
|
7784
|
+
* @return {boolean}
|
|
7785
|
+
*/
|
|
7786
|
+
proto.bonus.BonusTranslationResponse.prototype.hasContent = function() {
|
|
7787
|
+
return jspb.Message.getField(this, 3) != null;
|
|
7788
|
+
};
|
|
7789
|
+
|
|
7790
|
+
|
|
7791
|
+
/**
|
|
7792
|
+
* optional int32 is_active = 4;
|
|
7793
|
+
* @return {number}
|
|
7794
|
+
*/
|
|
7795
|
+
proto.bonus.BonusTranslationResponse.prototype.getIsActive = function() {
|
|
7796
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
7797
|
+
};
|
|
7798
|
+
|
|
7799
|
+
|
|
7800
|
+
/**
|
|
7801
|
+
* @param {number} value
|
|
7802
|
+
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
7803
|
+
*/
|
|
7804
|
+
proto.bonus.BonusTranslationResponse.prototype.setIsActive = function(value) {
|
|
7805
|
+
return jspb.Message.setField(this, 4, value);
|
|
7806
|
+
};
|
|
7807
|
+
|
|
7808
|
+
|
|
7809
|
+
/**
|
|
7810
|
+
* Clears the field making it undefined.
|
|
7811
|
+
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
7812
|
+
*/
|
|
7813
|
+
proto.bonus.BonusTranslationResponse.prototype.clearIsActive = function() {
|
|
7814
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
7815
|
+
};
|
|
7816
|
+
|
|
7817
|
+
|
|
7818
|
+
/**
|
|
7819
|
+
* Returns whether this field is set.
|
|
7820
|
+
* @return {boolean}
|
|
7821
|
+
*/
|
|
7822
|
+
proto.bonus.BonusTranslationResponse.prototype.hasIsActive = function() {
|
|
7823
|
+
return jspb.Message.getField(this, 4) != null;
|
|
7824
|
+
};
|
|
7825
|
+
|
|
7826
|
+
|
|
7827
|
+
/**
|
|
7828
|
+
* optional string locale = 5;
|
|
7829
|
+
* @return {string}
|
|
7830
|
+
*/
|
|
7831
|
+
proto.bonus.BonusTranslationResponse.prototype.getLocale = function() {
|
|
7832
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7833
|
+
};
|
|
7834
|
+
|
|
7835
|
+
|
|
7836
|
+
/**
|
|
7837
|
+
* @param {string} value
|
|
7838
|
+
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
7839
|
+
*/
|
|
7840
|
+
proto.bonus.BonusTranslationResponse.prototype.setLocale = function(value) {
|
|
7841
|
+
return jspb.Message.setField(this, 5, value);
|
|
7842
|
+
};
|
|
7843
|
+
|
|
7844
|
+
|
|
7845
|
+
/**
|
|
7846
|
+
* Clears the field making it undefined.
|
|
7847
|
+
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
7848
|
+
*/
|
|
7849
|
+
proto.bonus.BonusTranslationResponse.prototype.clearLocale = function() {
|
|
7850
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
7851
|
+
};
|
|
7852
|
+
|
|
7853
|
+
|
|
7854
|
+
/**
|
|
7855
|
+
* Returns whether this field is set.
|
|
7856
|
+
* @return {boolean}
|
|
7857
|
+
*/
|
|
7858
|
+
proto.bonus.BonusTranslationResponse.prototype.hasLocale = function() {
|
|
7859
|
+
return jspb.Message.getField(this, 5) != null;
|
|
7860
|
+
};
|
|
7861
|
+
|
|
7862
|
+
|
|
7863
|
+
|
|
7864
|
+
|
|
7865
|
+
|
|
7866
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7867
|
+
/**
|
|
7868
|
+
* Creates an object representation of this proto.
|
|
7869
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7870
|
+
* Optional fields that are not set will be set to undefined.
|
|
7871
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7872
|
+
* For the list of reserved names please see:
|
|
7873
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7874
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7875
|
+
* JSPB instance for transitional soy proto support:
|
|
7876
|
+
* http://goto/soy-param-migration
|
|
7877
|
+
* @return {!Object}
|
|
7878
|
+
*/
|
|
7879
|
+
proto.bonus.BonusTranslationItem.prototype.toObject = function(opt_includeInstance) {
|
|
7880
|
+
return proto.bonus.BonusTranslationItem.toObject(opt_includeInstance, this);
|
|
7881
|
+
};
|
|
7882
|
+
|
|
7883
|
+
|
|
7884
|
+
/**
|
|
7885
|
+
* Static version of the {@see toObject} method.
|
|
7886
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7887
|
+
* the JSPB instance for transitional soy proto support:
|
|
7888
|
+
* http://goto/soy-param-migration
|
|
7889
|
+
* @param {!proto.bonus.BonusTranslationItem} msg The msg instance to transform.
|
|
7890
|
+
* @return {!Object}
|
|
7891
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7892
|
+
*/
|
|
7893
|
+
proto.bonus.BonusTranslationItem.toObject = function(includeInstance, msg) {
|
|
7894
|
+
var f, obj = {
|
|
7895
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7896
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7897
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7898
|
+
content: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7899
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
7900
|
+
};
|
|
7901
|
+
|
|
7902
|
+
if (includeInstance) {
|
|
7903
|
+
obj.$jspbMessageInstance = msg;
|
|
7904
|
+
}
|
|
7905
|
+
return obj;
|
|
7906
|
+
};
|
|
7907
|
+
}
|
|
7908
|
+
|
|
7909
|
+
|
|
7910
|
+
/**
|
|
7911
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7912
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7913
|
+
* @return {!proto.bonus.BonusTranslationItem}
|
|
7914
|
+
*/
|
|
7915
|
+
proto.bonus.BonusTranslationItem.deserializeBinary = function(bytes) {
|
|
7916
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7917
|
+
var msg = new proto.bonus.BonusTranslationItem;
|
|
7918
|
+
return proto.bonus.BonusTranslationItem.deserializeBinaryFromReader(msg, reader);
|
|
7919
|
+
};
|
|
7920
|
+
|
|
7921
|
+
|
|
7922
|
+
/**
|
|
7923
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7924
|
+
* given reader into the given message object.
|
|
7925
|
+
* @param {!proto.bonus.BonusTranslationItem} msg The message object to deserialize into.
|
|
7926
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7927
|
+
* @return {!proto.bonus.BonusTranslationItem}
|
|
7928
|
+
*/
|
|
7929
|
+
proto.bonus.BonusTranslationItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
7930
|
+
while (reader.nextField()) {
|
|
7931
|
+
if (reader.isEndGroup()) {
|
|
7932
|
+
break;
|
|
7933
|
+
}
|
|
7934
|
+
var field = reader.getFieldNumber();
|
|
7935
|
+
switch (field) {
|
|
7936
|
+
case 1:
|
|
7937
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7938
|
+
msg.setTitle(value);
|
|
7939
|
+
break;
|
|
7940
|
+
case 2:
|
|
7941
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7942
|
+
msg.setLocale(value);
|
|
7943
|
+
break;
|
|
7944
|
+
case 3:
|
|
7945
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7946
|
+
msg.setDescription(value);
|
|
7947
|
+
break;
|
|
7948
|
+
case 4:
|
|
7949
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7950
|
+
msg.setContent(value);
|
|
7951
|
+
break;
|
|
7952
|
+
case 5:
|
|
7953
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7954
|
+
msg.setIsActive(value);
|
|
7955
|
+
break;
|
|
7956
|
+
default:
|
|
7957
|
+
reader.skipField();
|
|
7958
|
+
break;
|
|
7959
|
+
}
|
|
7960
|
+
}
|
|
7961
|
+
return msg;
|
|
7962
|
+
};
|
|
7963
|
+
|
|
7964
|
+
|
|
7965
|
+
/**
|
|
7966
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7967
|
+
* @return {!Uint8Array}
|
|
7968
|
+
*/
|
|
7969
|
+
proto.bonus.BonusTranslationItem.prototype.serializeBinary = function() {
|
|
7970
|
+
var writer = new jspb.BinaryWriter();
|
|
7971
|
+
proto.bonus.BonusTranslationItem.serializeBinaryToWriter(this, writer);
|
|
7972
|
+
return writer.getResultBuffer();
|
|
7973
|
+
};
|
|
7974
|
+
|
|
7975
|
+
|
|
7976
|
+
/**
|
|
7977
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7978
|
+
* format), writing to the given BinaryWriter.
|
|
7979
|
+
* @param {!proto.bonus.BonusTranslationItem} message
|
|
7980
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7981
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7982
|
+
*/
|
|
7983
|
+
proto.bonus.BonusTranslationItem.serializeBinaryToWriter = function(message, writer) {
|
|
7984
|
+
var f = undefined;
|
|
7985
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
7986
|
+
if (f != null) {
|
|
7987
|
+
writer.writeString(
|
|
7988
|
+
1,
|
|
7989
|
+
f
|
|
7990
|
+
);
|
|
7991
|
+
}
|
|
7992
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
7993
|
+
if (f != null) {
|
|
7994
|
+
writer.writeString(
|
|
7995
|
+
2,
|
|
7996
|
+
f
|
|
7997
|
+
);
|
|
7998
|
+
}
|
|
7999
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
8000
|
+
if (f != null) {
|
|
8001
|
+
writer.writeString(
|
|
8002
|
+
3,
|
|
8003
|
+
f
|
|
8004
|
+
);
|
|
8005
|
+
}
|
|
8006
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
8007
|
+
if (f != null) {
|
|
8008
|
+
writer.writeString(
|
|
8009
|
+
4,
|
|
8010
|
+
f
|
|
8011
|
+
);
|
|
8012
|
+
}
|
|
8013
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
8014
|
+
if (f != null) {
|
|
8015
|
+
writer.writeInt32(
|
|
8016
|
+
5,
|
|
8017
|
+
f
|
|
8018
|
+
);
|
|
8019
|
+
}
|
|
8020
|
+
};
|
|
8021
|
+
|
|
8022
|
+
|
|
8023
|
+
/**
|
|
8024
|
+
* optional string title = 1;
|
|
8025
|
+
* @return {string}
|
|
8026
|
+
*/
|
|
8027
|
+
proto.bonus.BonusTranslationItem.prototype.getTitle = function() {
|
|
8028
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8029
|
+
};
|
|
8030
|
+
|
|
8031
|
+
|
|
8032
|
+
/**
|
|
8033
|
+
* @param {string} value
|
|
8034
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
8035
|
+
*/
|
|
8036
|
+
proto.bonus.BonusTranslationItem.prototype.setTitle = function(value) {
|
|
8037
|
+
return jspb.Message.setField(this, 1, value);
|
|
8038
|
+
};
|
|
8039
|
+
|
|
8040
|
+
|
|
8041
|
+
/**
|
|
8042
|
+
* Clears the field making it undefined.
|
|
8043
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
8044
|
+
*/
|
|
8045
|
+
proto.bonus.BonusTranslationItem.prototype.clearTitle = function() {
|
|
8046
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
8047
|
+
};
|
|
8048
|
+
|
|
8049
|
+
|
|
8050
|
+
/**
|
|
8051
|
+
* Returns whether this field is set.
|
|
8052
|
+
* @return {boolean}
|
|
8053
|
+
*/
|
|
8054
|
+
proto.bonus.BonusTranslationItem.prototype.hasTitle = function() {
|
|
8055
|
+
return jspb.Message.getField(this, 1) != null;
|
|
8056
|
+
};
|
|
8057
|
+
|
|
8058
|
+
|
|
8059
|
+
/**
|
|
8060
|
+
* optional string locale = 2;
|
|
8061
|
+
* @return {string}
|
|
8062
|
+
*/
|
|
8063
|
+
proto.bonus.BonusTranslationItem.prototype.getLocale = function() {
|
|
8064
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8065
|
+
};
|
|
8066
|
+
|
|
8067
|
+
|
|
8068
|
+
/**
|
|
8069
|
+
* @param {string} value
|
|
8070
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
8071
|
+
*/
|
|
8072
|
+
proto.bonus.BonusTranslationItem.prototype.setLocale = function(value) {
|
|
8073
|
+
return jspb.Message.setField(this, 2, value);
|
|
8074
|
+
};
|
|
8075
|
+
|
|
8076
|
+
|
|
8077
|
+
/**
|
|
8078
|
+
* Clears the field making it undefined.
|
|
8079
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
8080
|
+
*/
|
|
8081
|
+
proto.bonus.BonusTranslationItem.prototype.clearLocale = function() {
|
|
8082
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
8083
|
+
};
|
|
8084
|
+
|
|
8085
|
+
|
|
8086
|
+
/**
|
|
8087
|
+
* Returns whether this field is set.
|
|
8088
|
+
* @return {boolean}
|
|
8089
|
+
*/
|
|
8090
|
+
proto.bonus.BonusTranslationItem.prototype.hasLocale = function() {
|
|
8091
|
+
return jspb.Message.getField(this, 2) != null;
|
|
8092
|
+
};
|
|
8093
|
+
|
|
8094
|
+
|
|
8095
|
+
/**
|
|
8096
|
+
* optional string description = 3;
|
|
8097
|
+
* @return {string}
|
|
8098
|
+
*/
|
|
8099
|
+
proto.bonus.BonusTranslationItem.prototype.getDescription = function() {
|
|
8100
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8101
|
+
};
|
|
8102
|
+
|
|
8103
|
+
|
|
8104
|
+
/**
|
|
8105
|
+
* @param {string} value
|
|
8106
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
8107
|
+
*/
|
|
8108
|
+
proto.bonus.BonusTranslationItem.prototype.setDescription = function(value) {
|
|
8109
|
+
return jspb.Message.setField(this, 3, value);
|
|
8110
|
+
};
|
|
8111
|
+
|
|
8112
|
+
|
|
8113
|
+
/**
|
|
8114
|
+
* Clears the field making it undefined.
|
|
8115
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
8116
|
+
*/
|
|
8117
|
+
proto.bonus.BonusTranslationItem.prototype.clearDescription = function() {
|
|
8118
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
8119
|
+
};
|
|
8120
|
+
|
|
8121
|
+
|
|
8122
|
+
/**
|
|
8123
|
+
* Returns whether this field is set.
|
|
8124
|
+
* @return {boolean}
|
|
8125
|
+
*/
|
|
8126
|
+
proto.bonus.BonusTranslationItem.prototype.hasDescription = function() {
|
|
8127
|
+
return jspb.Message.getField(this, 3) != null;
|
|
8128
|
+
};
|
|
8129
|
+
|
|
8130
|
+
|
|
8131
|
+
/**
|
|
8132
|
+
* optional string content = 4;
|
|
8133
|
+
* @return {string}
|
|
8134
|
+
*/
|
|
8135
|
+
proto.bonus.BonusTranslationItem.prototype.getContent = function() {
|
|
8136
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
8137
|
+
};
|
|
8138
|
+
|
|
8139
|
+
|
|
8140
|
+
/**
|
|
8141
|
+
* @param {string} value
|
|
8142
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
8143
|
+
*/
|
|
8144
|
+
proto.bonus.BonusTranslationItem.prototype.setContent = function(value) {
|
|
8145
|
+
return jspb.Message.setField(this, 4, value);
|
|
8146
|
+
};
|
|
8147
|
+
|
|
8148
|
+
|
|
8149
|
+
/**
|
|
8150
|
+
* Clears the field making it undefined.
|
|
8151
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
8152
|
+
*/
|
|
8153
|
+
proto.bonus.BonusTranslationItem.prototype.clearContent = function() {
|
|
8154
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
8155
|
+
};
|
|
8156
|
+
|
|
8157
|
+
|
|
8158
|
+
/**
|
|
8159
|
+
* Returns whether this field is set.
|
|
8160
|
+
* @return {boolean}
|
|
8161
|
+
*/
|
|
8162
|
+
proto.bonus.BonusTranslationItem.prototype.hasContent = function() {
|
|
8163
|
+
return jspb.Message.getField(this, 4) != null;
|
|
8164
|
+
};
|
|
8165
|
+
|
|
8166
|
+
|
|
8167
|
+
/**
|
|
8168
|
+
* optional int32 is_active = 5;
|
|
8169
|
+
* @return {number}
|
|
8170
|
+
*/
|
|
8171
|
+
proto.bonus.BonusTranslationItem.prototype.getIsActive = function() {
|
|
8172
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
8173
|
+
};
|
|
8174
|
+
|
|
8175
|
+
|
|
8176
|
+
/**
|
|
8177
|
+
* @param {number} value
|
|
8178
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
8179
|
+
*/
|
|
8180
|
+
proto.bonus.BonusTranslationItem.prototype.setIsActive = function(value) {
|
|
8181
|
+
return jspb.Message.setField(this, 5, value);
|
|
8182
|
+
};
|
|
8183
|
+
|
|
8184
|
+
|
|
8185
|
+
/**
|
|
8186
|
+
* Clears the field making it undefined.
|
|
8187
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
8188
|
+
*/
|
|
8189
|
+
proto.bonus.BonusTranslationItem.prototype.clearIsActive = function() {
|
|
8190
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
8191
|
+
};
|
|
8192
|
+
|
|
8193
|
+
|
|
8194
|
+
/**
|
|
8195
|
+
* Returns whether this field is set.
|
|
8196
|
+
* @return {boolean}
|
|
8197
|
+
*/
|
|
8198
|
+
proto.bonus.BonusTranslationItem.prototype.hasIsActive = function() {
|
|
8199
|
+
return jspb.Message.getField(this, 5) != null;
|
|
8200
|
+
};
|
|
8201
|
+
|
|
8202
|
+
|
|
8203
|
+
|
|
6835
8204
|
/**
|
|
6836
8205
|
* List of repeated fields within this message type.
|
|
6837
8206
|
* @private {!Array<number>}
|