protobuf-platform 1.2.170 → 1.2.172
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 +1 -8
- package/bonus/bonus_grpc_pb.js +13 -13
- package/bonus/bonus_pb.js +0 -362
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
|
@@ -17,7 +17,7 @@ service Bonus {
|
|
|
17
17
|
rpc setBonusRewards(BonusRewardsRequest) returns (BonusStatusResponse);
|
|
18
18
|
rpc setBonusBetRanges(BonusBetRangesRequest) returns (BonusStatusResponse);
|
|
19
19
|
rpc setBonusTranslation(BonusTranslationRequest) returns (BonusStatusResponse);
|
|
20
|
-
rpc getBonusTranslation(GetBonusTranslationRequest) returns (
|
|
20
|
+
rpc getBonusTranslation(GetBonusTranslationRequest) returns (BonusTranslationItem);
|
|
21
21
|
rpc updateBonusesInBunch(ItemsBunchRequest) returns (BonusStatusResponse);
|
|
22
22
|
//Users
|
|
23
23
|
rpc claimUserBonus(GetUserBonusRequest) returns (BonusStatusResponse);
|
|
@@ -189,13 +189,6 @@ message GetBonusTranslationRequest {
|
|
|
189
189
|
int32 bonus_id = 1;
|
|
190
190
|
string locale = 2;
|
|
191
191
|
}
|
|
192
|
-
message BonusTranslationResponse {
|
|
193
|
-
optional string title = 1;
|
|
194
|
-
optional string description = 2;
|
|
195
|
-
optional string content = 3;
|
|
196
|
-
optional int32 is_active = 4;
|
|
197
|
-
optional string locale = 5;
|
|
198
|
-
}
|
|
199
192
|
message BonusTranslationItem {
|
|
200
193
|
optional string title = 1;
|
|
201
194
|
optional string locale = 2;
|
package/bonus/bonus_grpc_pb.js
CHANGED
|
@@ -92,26 +92,26 @@ function deserialize_bonus_BonusStatusesResponse(buffer_arg) {
|
|
|
92
92
|
return bonus_pb.BonusStatusesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
function
|
|
96
|
-
if (!(arg instanceof bonus_pb.
|
|
97
|
-
throw new Error('Expected argument of type bonus.
|
|
95
|
+
function serialize_bonus_BonusTranslationItem(arg) {
|
|
96
|
+
if (!(arg instanceof bonus_pb.BonusTranslationItem)) {
|
|
97
|
+
throw new Error('Expected argument of type bonus.BonusTranslationItem');
|
|
98
98
|
}
|
|
99
99
|
return Buffer.from(arg.serializeBinary());
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
function
|
|
103
|
-
return bonus_pb.
|
|
102
|
+
function deserialize_bonus_BonusTranslationItem(buffer_arg) {
|
|
103
|
+
return bonus_pb.BonusTranslationItem.deserializeBinary(new Uint8Array(buffer_arg));
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function
|
|
107
|
-
if (!(arg instanceof bonus_pb.
|
|
108
|
-
throw new Error('Expected argument of type bonus.
|
|
106
|
+
function serialize_bonus_BonusTranslationRequest(arg) {
|
|
107
|
+
if (!(arg instanceof bonus_pb.BonusTranslationRequest)) {
|
|
108
|
+
throw new Error('Expected argument of type bonus.BonusTranslationRequest');
|
|
109
109
|
}
|
|
110
110
|
return Buffer.from(arg.serializeBinary());
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
function
|
|
114
|
-
return bonus_pb.
|
|
113
|
+
function deserialize_bonus_BonusTranslationRequest(buffer_arg) {
|
|
114
|
+
return bonus_pb.BonusTranslationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
function serialize_bonus_BonusTypesResponse(arg) {
|
|
@@ -430,11 +430,11 @@ createSingleBonus: {
|
|
|
430
430
|
requestStream: false,
|
|
431
431
|
responseStream: false,
|
|
432
432
|
requestType: bonus_pb.GetBonusTranslationRequest,
|
|
433
|
-
responseType: bonus_pb.
|
|
433
|
+
responseType: bonus_pb.BonusTranslationItem,
|
|
434
434
|
requestSerialize: serialize_bonus_GetBonusTranslationRequest,
|
|
435
435
|
requestDeserialize: deserialize_bonus_GetBonusTranslationRequest,
|
|
436
|
-
responseSerialize:
|
|
437
|
-
responseDeserialize:
|
|
436
|
+
responseSerialize: serialize_bonus_BonusTranslationItem,
|
|
437
|
+
responseDeserialize: deserialize_bonus_BonusTranslationItem,
|
|
438
438
|
},
|
|
439
439
|
updateBonusesInBunch: {
|
|
440
440
|
path: '/bonus.Bonus/updateBonusesInBunch',
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -38,7 +38,6 @@ goog.exportSymbol('proto.bonus.BonusStatusResponse', null, global);
|
|
|
38
38
|
goog.exportSymbol('proto.bonus.BonusStatusesResponse', null, global);
|
|
39
39
|
goog.exportSymbol('proto.bonus.BonusTranslationItem', null, global);
|
|
40
40
|
goog.exportSymbol('proto.bonus.BonusTranslationRequest', null, global);
|
|
41
|
-
goog.exportSymbol('proto.bonus.BonusTranslationResponse', null, global);
|
|
42
41
|
goog.exportSymbol('proto.bonus.BonusType', null, global);
|
|
43
42
|
goog.exportSymbol('proto.bonus.BonusTypesResponse', null, global);
|
|
44
43
|
goog.exportSymbol('proto.bonus.DashboardRequest', null, global);
|
|
@@ -541,27 +540,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
541
540
|
*/
|
|
542
541
|
proto.bonus.GetBonusTranslationRequest.displayName = 'proto.bonus.GetBonusTranslationRequest';
|
|
543
542
|
}
|
|
544
|
-
/**
|
|
545
|
-
* Generated by JsPbCodeGenerator.
|
|
546
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
547
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
548
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
549
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
550
|
-
* valid.
|
|
551
|
-
* @extends {jspb.Message}
|
|
552
|
-
* @constructor
|
|
553
|
-
*/
|
|
554
|
-
proto.bonus.BonusTranslationResponse = function(opt_data) {
|
|
555
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
556
|
-
};
|
|
557
|
-
goog.inherits(proto.bonus.BonusTranslationResponse, jspb.Message);
|
|
558
|
-
if (goog.DEBUG && !COMPILED) {
|
|
559
|
-
/**
|
|
560
|
-
* @public
|
|
561
|
-
* @override
|
|
562
|
-
*/
|
|
563
|
-
proto.bonus.BonusTranslationResponse.displayName = 'proto.bonus.BonusTranslationResponse';
|
|
564
|
-
}
|
|
565
543
|
/**
|
|
566
544
|
* Generated by JsPbCodeGenerator.
|
|
567
545
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -8231,346 +8209,6 @@ proto.bonus.GetBonusTranslationRequest.prototype.setLocale = function(value) {
|
|
|
8231
8209
|
|
|
8232
8210
|
|
|
8233
8211
|
|
|
8234
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8235
|
-
/**
|
|
8236
|
-
* Creates an object representation of this proto.
|
|
8237
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8238
|
-
* Optional fields that are not set will be set to undefined.
|
|
8239
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8240
|
-
* For the list of reserved names please see:
|
|
8241
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8242
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8243
|
-
* JSPB instance for transitional soy proto support:
|
|
8244
|
-
* http://goto/soy-param-migration
|
|
8245
|
-
* @return {!Object}
|
|
8246
|
-
*/
|
|
8247
|
-
proto.bonus.BonusTranslationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8248
|
-
return proto.bonus.BonusTranslationResponse.toObject(opt_includeInstance, this);
|
|
8249
|
-
};
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
/**
|
|
8253
|
-
* Static version of the {@see toObject} method.
|
|
8254
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8255
|
-
* the JSPB instance for transitional soy proto support:
|
|
8256
|
-
* http://goto/soy-param-migration
|
|
8257
|
-
* @param {!proto.bonus.BonusTranslationResponse} msg The msg instance to transform.
|
|
8258
|
-
* @return {!Object}
|
|
8259
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8260
|
-
*/
|
|
8261
|
-
proto.bonus.BonusTranslationResponse.toObject = function(includeInstance, msg) {
|
|
8262
|
-
var f, obj = {
|
|
8263
|
-
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8264
|
-
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8265
|
-
content: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8266
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
8267
|
-
locale: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
8268
|
-
};
|
|
8269
|
-
|
|
8270
|
-
if (includeInstance) {
|
|
8271
|
-
obj.$jspbMessageInstance = msg;
|
|
8272
|
-
}
|
|
8273
|
-
return obj;
|
|
8274
|
-
};
|
|
8275
|
-
}
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
/**
|
|
8279
|
-
* Deserializes binary data (in protobuf wire format).
|
|
8280
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8281
|
-
* @return {!proto.bonus.BonusTranslationResponse}
|
|
8282
|
-
*/
|
|
8283
|
-
proto.bonus.BonusTranslationResponse.deserializeBinary = function(bytes) {
|
|
8284
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
8285
|
-
var msg = new proto.bonus.BonusTranslationResponse;
|
|
8286
|
-
return proto.bonus.BonusTranslationResponse.deserializeBinaryFromReader(msg, reader);
|
|
8287
|
-
};
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
/**
|
|
8291
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
8292
|
-
* given reader into the given message object.
|
|
8293
|
-
* @param {!proto.bonus.BonusTranslationResponse} msg The message object to deserialize into.
|
|
8294
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8295
|
-
* @return {!proto.bonus.BonusTranslationResponse}
|
|
8296
|
-
*/
|
|
8297
|
-
proto.bonus.BonusTranslationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8298
|
-
while (reader.nextField()) {
|
|
8299
|
-
if (reader.isEndGroup()) {
|
|
8300
|
-
break;
|
|
8301
|
-
}
|
|
8302
|
-
var field = reader.getFieldNumber();
|
|
8303
|
-
switch (field) {
|
|
8304
|
-
case 1:
|
|
8305
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8306
|
-
msg.setTitle(value);
|
|
8307
|
-
break;
|
|
8308
|
-
case 2:
|
|
8309
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8310
|
-
msg.setDescription(value);
|
|
8311
|
-
break;
|
|
8312
|
-
case 3:
|
|
8313
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8314
|
-
msg.setContent(value);
|
|
8315
|
-
break;
|
|
8316
|
-
case 4:
|
|
8317
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
8318
|
-
msg.setIsActive(value);
|
|
8319
|
-
break;
|
|
8320
|
-
case 5:
|
|
8321
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8322
|
-
msg.setLocale(value);
|
|
8323
|
-
break;
|
|
8324
|
-
default:
|
|
8325
|
-
reader.skipField();
|
|
8326
|
-
break;
|
|
8327
|
-
}
|
|
8328
|
-
}
|
|
8329
|
-
return msg;
|
|
8330
|
-
};
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
/**
|
|
8334
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
8335
|
-
* @return {!Uint8Array}
|
|
8336
|
-
*/
|
|
8337
|
-
proto.bonus.BonusTranslationResponse.prototype.serializeBinary = function() {
|
|
8338
|
-
var writer = new jspb.BinaryWriter();
|
|
8339
|
-
proto.bonus.BonusTranslationResponse.serializeBinaryToWriter(this, writer);
|
|
8340
|
-
return writer.getResultBuffer();
|
|
8341
|
-
};
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
/**
|
|
8345
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
8346
|
-
* format), writing to the given BinaryWriter.
|
|
8347
|
-
* @param {!proto.bonus.BonusTranslationResponse} message
|
|
8348
|
-
* @param {!jspb.BinaryWriter} writer
|
|
8349
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8350
|
-
*/
|
|
8351
|
-
proto.bonus.BonusTranslationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8352
|
-
var f = undefined;
|
|
8353
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
8354
|
-
if (f != null) {
|
|
8355
|
-
writer.writeString(
|
|
8356
|
-
1,
|
|
8357
|
-
f
|
|
8358
|
-
);
|
|
8359
|
-
}
|
|
8360
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
8361
|
-
if (f != null) {
|
|
8362
|
-
writer.writeString(
|
|
8363
|
-
2,
|
|
8364
|
-
f
|
|
8365
|
-
);
|
|
8366
|
-
}
|
|
8367
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
8368
|
-
if (f != null) {
|
|
8369
|
-
writer.writeString(
|
|
8370
|
-
3,
|
|
8371
|
-
f
|
|
8372
|
-
);
|
|
8373
|
-
}
|
|
8374
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
8375
|
-
if (f != null) {
|
|
8376
|
-
writer.writeInt32(
|
|
8377
|
-
4,
|
|
8378
|
-
f
|
|
8379
|
-
);
|
|
8380
|
-
}
|
|
8381
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
8382
|
-
if (f != null) {
|
|
8383
|
-
writer.writeString(
|
|
8384
|
-
5,
|
|
8385
|
-
f
|
|
8386
|
-
);
|
|
8387
|
-
}
|
|
8388
|
-
};
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
/**
|
|
8392
|
-
* optional string title = 1;
|
|
8393
|
-
* @return {string}
|
|
8394
|
-
*/
|
|
8395
|
-
proto.bonus.BonusTranslationResponse.prototype.getTitle = function() {
|
|
8396
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8397
|
-
};
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
/**
|
|
8401
|
-
* @param {string} value
|
|
8402
|
-
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
8403
|
-
*/
|
|
8404
|
-
proto.bonus.BonusTranslationResponse.prototype.setTitle = function(value) {
|
|
8405
|
-
return jspb.Message.setField(this, 1, value);
|
|
8406
|
-
};
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
/**
|
|
8410
|
-
* Clears the field making it undefined.
|
|
8411
|
-
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
8412
|
-
*/
|
|
8413
|
-
proto.bonus.BonusTranslationResponse.prototype.clearTitle = function() {
|
|
8414
|
-
return jspb.Message.setField(this, 1, undefined);
|
|
8415
|
-
};
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
/**
|
|
8419
|
-
* Returns whether this field is set.
|
|
8420
|
-
* @return {boolean}
|
|
8421
|
-
*/
|
|
8422
|
-
proto.bonus.BonusTranslationResponse.prototype.hasTitle = function() {
|
|
8423
|
-
return jspb.Message.getField(this, 1) != null;
|
|
8424
|
-
};
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
/**
|
|
8428
|
-
* optional string description = 2;
|
|
8429
|
-
* @return {string}
|
|
8430
|
-
*/
|
|
8431
|
-
proto.bonus.BonusTranslationResponse.prototype.getDescription = function() {
|
|
8432
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8433
|
-
};
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
/**
|
|
8437
|
-
* @param {string} value
|
|
8438
|
-
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
8439
|
-
*/
|
|
8440
|
-
proto.bonus.BonusTranslationResponse.prototype.setDescription = function(value) {
|
|
8441
|
-
return jspb.Message.setField(this, 2, value);
|
|
8442
|
-
};
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
/**
|
|
8446
|
-
* Clears the field making it undefined.
|
|
8447
|
-
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
8448
|
-
*/
|
|
8449
|
-
proto.bonus.BonusTranslationResponse.prototype.clearDescription = function() {
|
|
8450
|
-
return jspb.Message.setField(this, 2, undefined);
|
|
8451
|
-
};
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
/**
|
|
8455
|
-
* Returns whether this field is set.
|
|
8456
|
-
* @return {boolean}
|
|
8457
|
-
*/
|
|
8458
|
-
proto.bonus.BonusTranslationResponse.prototype.hasDescription = function() {
|
|
8459
|
-
return jspb.Message.getField(this, 2) != null;
|
|
8460
|
-
};
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
/**
|
|
8464
|
-
* optional string content = 3;
|
|
8465
|
-
* @return {string}
|
|
8466
|
-
*/
|
|
8467
|
-
proto.bonus.BonusTranslationResponse.prototype.getContent = function() {
|
|
8468
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8469
|
-
};
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
/**
|
|
8473
|
-
* @param {string} value
|
|
8474
|
-
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
8475
|
-
*/
|
|
8476
|
-
proto.bonus.BonusTranslationResponse.prototype.setContent = function(value) {
|
|
8477
|
-
return jspb.Message.setField(this, 3, value);
|
|
8478
|
-
};
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
/**
|
|
8482
|
-
* Clears the field making it undefined.
|
|
8483
|
-
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
8484
|
-
*/
|
|
8485
|
-
proto.bonus.BonusTranslationResponse.prototype.clearContent = function() {
|
|
8486
|
-
return jspb.Message.setField(this, 3, undefined);
|
|
8487
|
-
};
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
/**
|
|
8491
|
-
* Returns whether this field is set.
|
|
8492
|
-
* @return {boolean}
|
|
8493
|
-
*/
|
|
8494
|
-
proto.bonus.BonusTranslationResponse.prototype.hasContent = function() {
|
|
8495
|
-
return jspb.Message.getField(this, 3) != null;
|
|
8496
|
-
};
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
/**
|
|
8500
|
-
* optional int32 is_active = 4;
|
|
8501
|
-
* @return {number}
|
|
8502
|
-
*/
|
|
8503
|
-
proto.bonus.BonusTranslationResponse.prototype.getIsActive = function() {
|
|
8504
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
8505
|
-
};
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
/**
|
|
8509
|
-
* @param {number} value
|
|
8510
|
-
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
8511
|
-
*/
|
|
8512
|
-
proto.bonus.BonusTranslationResponse.prototype.setIsActive = function(value) {
|
|
8513
|
-
return jspb.Message.setField(this, 4, value);
|
|
8514
|
-
};
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
/**
|
|
8518
|
-
* Clears the field making it undefined.
|
|
8519
|
-
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
8520
|
-
*/
|
|
8521
|
-
proto.bonus.BonusTranslationResponse.prototype.clearIsActive = function() {
|
|
8522
|
-
return jspb.Message.setField(this, 4, undefined);
|
|
8523
|
-
};
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
/**
|
|
8527
|
-
* Returns whether this field is set.
|
|
8528
|
-
* @return {boolean}
|
|
8529
|
-
*/
|
|
8530
|
-
proto.bonus.BonusTranslationResponse.prototype.hasIsActive = function() {
|
|
8531
|
-
return jspb.Message.getField(this, 4) != null;
|
|
8532
|
-
};
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
/**
|
|
8536
|
-
* optional string locale = 5;
|
|
8537
|
-
* @return {string}
|
|
8538
|
-
*/
|
|
8539
|
-
proto.bonus.BonusTranslationResponse.prototype.getLocale = function() {
|
|
8540
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
8541
|
-
};
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
/**
|
|
8545
|
-
* @param {string} value
|
|
8546
|
-
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
8547
|
-
*/
|
|
8548
|
-
proto.bonus.BonusTranslationResponse.prototype.setLocale = function(value) {
|
|
8549
|
-
return jspb.Message.setField(this, 5, value);
|
|
8550
|
-
};
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
/**
|
|
8554
|
-
* Clears the field making it undefined.
|
|
8555
|
-
* @return {!proto.bonus.BonusTranslationResponse} returns this
|
|
8556
|
-
*/
|
|
8557
|
-
proto.bonus.BonusTranslationResponse.prototype.clearLocale = function() {
|
|
8558
|
-
return jspb.Message.setField(this, 5, undefined);
|
|
8559
|
-
};
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
/**
|
|
8563
|
-
* Returns whether this field is set.
|
|
8564
|
-
* @return {boolean}
|
|
8565
|
-
*/
|
|
8566
|
-
proto.bonus.BonusTranslationResponse.prototype.hasLocale = function() {
|
|
8567
|
-
return jspb.Message.getField(this, 5) != null;
|
|
8568
|
-
};
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
8212
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8575
8213
|
/**
|
|
8576
8214
|
* Creates an object representation of this proto.
|