protobuf-platform 1.2.47 → 1.2.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/loyalty/loyalty.proto +15 -0
- package/loyalty/loyalty_grpc_pb.js +22 -0
- package/loyalty/loyalty_pb.js +738 -2
- package/package.json +1 -1
package/loyalty/loyalty.proto
CHANGED
|
@@ -11,6 +11,7 @@ service Loyalty {
|
|
|
11
11
|
rpc updateSingleLevel(stream LevelRequest) returns (LevelResponse);
|
|
12
12
|
rpc deleteSingleLevel(GetLevelRequest) returns (LevelStatusResponse);
|
|
13
13
|
rpc readListLevels(PaginationRequest) returns (LevelItemsResponse);
|
|
14
|
+
rpc setLoyaltyLevelTranslation(LevelTranslationRequest) returns (LevelStatusResponse);
|
|
14
15
|
//Loyalty Points
|
|
15
16
|
rpc createSinglePoint(PointRequest) returns (PointResponse);
|
|
16
17
|
rpc readSinglePoint(GetPointRequest) returns (PointResponse);
|
|
@@ -71,10 +72,24 @@ message LevelItemRequest {
|
|
|
71
72
|
optional int32 value_to_complete = 6;
|
|
72
73
|
optional string file_name = 7;
|
|
73
74
|
optional string file_type = 8;
|
|
75
|
+
repeated LevelTranslationItem translations = 9;
|
|
74
76
|
}
|
|
75
77
|
message GetLevelRequest {
|
|
76
78
|
int32 id = 1;
|
|
77
79
|
}
|
|
80
|
+
message LevelTranslationRequest {
|
|
81
|
+
optional int32 loyalty_level_id = 1;
|
|
82
|
+
optional string locale = 2;
|
|
83
|
+
optional string title = 3;
|
|
84
|
+
optional string description = 4;
|
|
85
|
+
optional string content = 5;
|
|
86
|
+
}
|
|
87
|
+
message LevelTranslationItem {
|
|
88
|
+
optional string title = 1;
|
|
89
|
+
optional string locale = 2;
|
|
90
|
+
optional string description = 3;
|
|
91
|
+
optional string content = 4;
|
|
92
|
+
}
|
|
78
93
|
//Level CRUD | Responses
|
|
79
94
|
message LevelResponse {
|
|
80
95
|
LevelItem data = 1;
|
|
@@ -103,6 +103,17 @@ function deserialize_loyalty_LevelStatusResponse(buffer_arg) {
|
|
|
103
103
|
return loyalty_pb.LevelStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
function serialize_loyalty_LevelTranslationRequest(arg) {
|
|
107
|
+
if (!(arg instanceof loyalty_pb.LevelTranslationRequest)) {
|
|
108
|
+
throw new Error('Expected argument of type loyalty.LevelTranslationRequest');
|
|
109
|
+
}
|
|
110
|
+
return Buffer.from(arg.serializeBinary());
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function deserialize_loyalty_LevelTranslationRequest(buffer_arg) {
|
|
114
|
+
return loyalty_pb.LevelTranslationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
115
|
+
}
|
|
116
|
+
|
|
106
117
|
function serialize_loyalty_PaginationRequest(arg) {
|
|
107
118
|
if (!(arg instanceof loyalty_pb.PaginationRequest)) {
|
|
108
119
|
throw new Error('Expected argument of type loyalty.PaginationRequest');
|
|
@@ -282,6 +293,17 @@ createSingleLevel: {
|
|
|
282
293
|
responseSerialize: serialize_loyalty_LevelItemsResponse,
|
|
283
294
|
responseDeserialize: deserialize_loyalty_LevelItemsResponse,
|
|
284
295
|
},
|
|
296
|
+
setLoyaltyLevelTranslation: {
|
|
297
|
+
path: '/loyalty.Loyalty/setLoyaltyLevelTranslation',
|
|
298
|
+
requestStream: false,
|
|
299
|
+
responseStream: false,
|
|
300
|
+
requestType: loyalty_pb.LevelTranslationRequest,
|
|
301
|
+
responseType: loyalty_pb.LevelStatusResponse,
|
|
302
|
+
requestSerialize: serialize_loyalty_LevelTranslationRequest,
|
|
303
|
+
requestDeserialize: deserialize_loyalty_LevelTranslationRequest,
|
|
304
|
+
responseSerialize: serialize_loyalty_LevelStatusResponse,
|
|
305
|
+
responseDeserialize: deserialize_loyalty_LevelStatusResponse,
|
|
306
|
+
},
|
|
285
307
|
// Loyalty Points
|
|
286
308
|
createSinglePoint: {
|
|
287
309
|
path: '/loyalty.Loyalty/createSinglePoint',
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -35,6 +35,8 @@ goog.exportSymbol('proto.loyalty.LevelRequest', null, global);
|
|
|
35
35
|
goog.exportSymbol('proto.loyalty.LevelRequest.RequestCase', null, global);
|
|
36
36
|
goog.exportSymbol('proto.loyalty.LevelResponse', null, global);
|
|
37
37
|
goog.exportSymbol('proto.loyalty.LevelStatusResponse', null, global);
|
|
38
|
+
goog.exportSymbol('proto.loyalty.LevelTranslationItem', null, global);
|
|
39
|
+
goog.exportSymbol('proto.loyalty.LevelTranslationRequest', null, global);
|
|
38
40
|
goog.exportSymbol('proto.loyalty.LoyaltySearchRequest', null, global);
|
|
39
41
|
goog.exportSymbol('proto.loyalty.PaginationRequest', null, global);
|
|
40
42
|
goog.exportSymbol('proto.loyalty.PingRequest', null, global);
|
|
@@ -227,7 +229,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
227
229
|
* @constructor
|
|
228
230
|
*/
|
|
229
231
|
proto.loyalty.LevelItemRequest = function(opt_data) {
|
|
230
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
232
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyalty.LevelItemRequest.repeatedFields_, null);
|
|
231
233
|
};
|
|
232
234
|
goog.inherits(proto.loyalty.LevelItemRequest, jspb.Message);
|
|
233
235
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -258,6 +260,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
258
260
|
*/
|
|
259
261
|
proto.loyalty.GetLevelRequest.displayName = 'proto.loyalty.GetLevelRequest';
|
|
260
262
|
}
|
|
263
|
+
/**
|
|
264
|
+
* Generated by JsPbCodeGenerator.
|
|
265
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
266
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
267
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
268
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
269
|
+
* valid.
|
|
270
|
+
* @extends {jspb.Message}
|
|
271
|
+
* @constructor
|
|
272
|
+
*/
|
|
273
|
+
proto.loyalty.LevelTranslationRequest = function(opt_data) {
|
|
274
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
275
|
+
};
|
|
276
|
+
goog.inherits(proto.loyalty.LevelTranslationRequest, jspb.Message);
|
|
277
|
+
if (goog.DEBUG && !COMPILED) {
|
|
278
|
+
/**
|
|
279
|
+
* @public
|
|
280
|
+
* @override
|
|
281
|
+
*/
|
|
282
|
+
proto.loyalty.LevelTranslationRequest.displayName = 'proto.loyalty.LevelTranslationRequest';
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Generated by JsPbCodeGenerator.
|
|
286
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
287
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
288
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
289
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
290
|
+
* valid.
|
|
291
|
+
* @extends {jspb.Message}
|
|
292
|
+
* @constructor
|
|
293
|
+
*/
|
|
294
|
+
proto.loyalty.LevelTranslationItem = function(opt_data) {
|
|
295
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
296
|
+
};
|
|
297
|
+
goog.inherits(proto.loyalty.LevelTranslationItem, jspb.Message);
|
|
298
|
+
if (goog.DEBUG && !COMPILED) {
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
* @override
|
|
302
|
+
*/
|
|
303
|
+
proto.loyalty.LevelTranslationItem.displayName = 'proto.loyalty.LevelTranslationItem';
|
|
304
|
+
}
|
|
261
305
|
/**
|
|
262
306
|
* Generated by JsPbCodeGenerator.
|
|
263
307
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2681,6 +2725,13 @@ proto.loyalty.LevelRequest.prototype.hasFile = function() {
|
|
|
2681
2725
|
|
|
2682
2726
|
|
|
2683
2727
|
|
|
2728
|
+
/**
|
|
2729
|
+
* List of repeated fields within this message type.
|
|
2730
|
+
* @private {!Array<number>}
|
|
2731
|
+
* @const
|
|
2732
|
+
*/
|
|
2733
|
+
proto.loyalty.LevelItemRequest.repeatedFields_ = [9];
|
|
2734
|
+
|
|
2684
2735
|
|
|
2685
2736
|
|
|
2686
2737
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2719,7 +2770,9 @@ proto.loyalty.LevelItemRequest.toObject = function(includeInstance, msg) {
|
|
|
2719
2770
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
2720
2771
|
valueToComplete: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
2721
2772
|
fileName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2722
|
-
fileType: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
2773
|
+
fileType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2774
|
+
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
2775
|
+
proto.loyalty.LevelTranslationItem.toObject, includeInstance)
|
|
2723
2776
|
};
|
|
2724
2777
|
|
|
2725
2778
|
if (includeInstance) {
|
|
@@ -2788,6 +2841,11 @@ proto.loyalty.LevelItemRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
2788
2841
|
var value = /** @type {string} */ (reader.readString());
|
|
2789
2842
|
msg.setFileType(value);
|
|
2790
2843
|
break;
|
|
2844
|
+
case 9:
|
|
2845
|
+
var value = new proto.loyalty.LevelTranslationItem;
|
|
2846
|
+
reader.readMessage(value,proto.loyalty.LevelTranslationItem.deserializeBinaryFromReader);
|
|
2847
|
+
msg.addTranslations(value);
|
|
2848
|
+
break;
|
|
2791
2849
|
default:
|
|
2792
2850
|
reader.skipField();
|
|
2793
2851
|
break;
|
|
@@ -2873,6 +2931,14 @@ proto.loyalty.LevelItemRequest.serializeBinaryToWriter = function(message, write
|
|
|
2873
2931
|
f
|
|
2874
2932
|
);
|
|
2875
2933
|
}
|
|
2934
|
+
f = message.getTranslationsList();
|
|
2935
|
+
if (f.length > 0) {
|
|
2936
|
+
writer.writeRepeatedMessage(
|
|
2937
|
+
9,
|
|
2938
|
+
f,
|
|
2939
|
+
proto.loyalty.LevelTranslationItem.serializeBinaryToWriter
|
|
2940
|
+
);
|
|
2941
|
+
}
|
|
2876
2942
|
};
|
|
2877
2943
|
|
|
2878
2944
|
|
|
@@ -3164,6 +3230,44 @@ proto.loyalty.LevelItemRequest.prototype.hasFileType = function() {
|
|
|
3164
3230
|
};
|
|
3165
3231
|
|
|
3166
3232
|
|
|
3233
|
+
/**
|
|
3234
|
+
* repeated LevelTranslationItem translations = 9;
|
|
3235
|
+
* @return {!Array<!proto.loyalty.LevelTranslationItem>}
|
|
3236
|
+
*/
|
|
3237
|
+
proto.loyalty.LevelItemRequest.prototype.getTranslationsList = function() {
|
|
3238
|
+
return /** @type{!Array<!proto.loyalty.LevelTranslationItem>} */ (
|
|
3239
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyalty.LevelTranslationItem, 9));
|
|
3240
|
+
};
|
|
3241
|
+
|
|
3242
|
+
|
|
3243
|
+
/**
|
|
3244
|
+
* @param {!Array<!proto.loyalty.LevelTranslationItem>} value
|
|
3245
|
+
* @return {!proto.loyalty.LevelItemRequest} returns this
|
|
3246
|
+
*/
|
|
3247
|
+
proto.loyalty.LevelItemRequest.prototype.setTranslationsList = function(value) {
|
|
3248
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
3249
|
+
};
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
/**
|
|
3253
|
+
* @param {!proto.loyalty.LevelTranslationItem=} opt_value
|
|
3254
|
+
* @param {number=} opt_index
|
|
3255
|
+
* @return {!proto.loyalty.LevelTranslationItem}
|
|
3256
|
+
*/
|
|
3257
|
+
proto.loyalty.LevelItemRequest.prototype.addTranslations = function(opt_value, opt_index) {
|
|
3258
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.loyalty.LevelTranslationItem, opt_index);
|
|
3259
|
+
};
|
|
3260
|
+
|
|
3261
|
+
|
|
3262
|
+
/**
|
|
3263
|
+
* Clears the list making it empty but non-null.
|
|
3264
|
+
* @return {!proto.loyalty.LevelItemRequest} returns this
|
|
3265
|
+
*/
|
|
3266
|
+
proto.loyalty.LevelItemRequest.prototype.clearTranslationsList = function() {
|
|
3267
|
+
return this.setTranslationsList([]);
|
|
3268
|
+
};
|
|
3269
|
+
|
|
3270
|
+
|
|
3167
3271
|
|
|
3168
3272
|
|
|
3169
3273
|
|
|
@@ -3297,6 +3401,638 @@ proto.loyalty.GetLevelRequest.prototype.setId = function(value) {
|
|
|
3297
3401
|
|
|
3298
3402
|
|
|
3299
3403
|
|
|
3404
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3405
|
+
/**
|
|
3406
|
+
* Creates an object representation of this proto.
|
|
3407
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3408
|
+
* Optional fields that are not set will be set to undefined.
|
|
3409
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3410
|
+
* For the list of reserved names please see:
|
|
3411
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3412
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3413
|
+
* JSPB instance for transitional soy proto support:
|
|
3414
|
+
* http://goto/soy-param-migration
|
|
3415
|
+
* @return {!Object}
|
|
3416
|
+
*/
|
|
3417
|
+
proto.loyalty.LevelTranslationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3418
|
+
return proto.loyalty.LevelTranslationRequest.toObject(opt_includeInstance, this);
|
|
3419
|
+
};
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
/**
|
|
3423
|
+
* Static version of the {@see toObject} method.
|
|
3424
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3425
|
+
* the JSPB instance for transitional soy proto support:
|
|
3426
|
+
* http://goto/soy-param-migration
|
|
3427
|
+
* @param {!proto.loyalty.LevelTranslationRequest} msg The msg instance to transform.
|
|
3428
|
+
* @return {!Object}
|
|
3429
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3430
|
+
*/
|
|
3431
|
+
proto.loyalty.LevelTranslationRequest.toObject = function(includeInstance, msg) {
|
|
3432
|
+
var f, obj = {
|
|
3433
|
+
loyaltyLevelId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3434
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3435
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3436
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3437
|
+
content: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
3438
|
+
};
|
|
3439
|
+
|
|
3440
|
+
if (includeInstance) {
|
|
3441
|
+
obj.$jspbMessageInstance = msg;
|
|
3442
|
+
}
|
|
3443
|
+
return obj;
|
|
3444
|
+
};
|
|
3445
|
+
}
|
|
3446
|
+
|
|
3447
|
+
|
|
3448
|
+
/**
|
|
3449
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3450
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3451
|
+
* @return {!proto.loyalty.LevelTranslationRequest}
|
|
3452
|
+
*/
|
|
3453
|
+
proto.loyalty.LevelTranslationRequest.deserializeBinary = function(bytes) {
|
|
3454
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3455
|
+
var msg = new proto.loyalty.LevelTranslationRequest;
|
|
3456
|
+
return proto.loyalty.LevelTranslationRequest.deserializeBinaryFromReader(msg, reader);
|
|
3457
|
+
};
|
|
3458
|
+
|
|
3459
|
+
|
|
3460
|
+
/**
|
|
3461
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3462
|
+
* given reader into the given message object.
|
|
3463
|
+
* @param {!proto.loyalty.LevelTranslationRequest} msg The message object to deserialize into.
|
|
3464
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3465
|
+
* @return {!proto.loyalty.LevelTranslationRequest}
|
|
3466
|
+
*/
|
|
3467
|
+
proto.loyalty.LevelTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3468
|
+
while (reader.nextField()) {
|
|
3469
|
+
if (reader.isEndGroup()) {
|
|
3470
|
+
break;
|
|
3471
|
+
}
|
|
3472
|
+
var field = reader.getFieldNumber();
|
|
3473
|
+
switch (field) {
|
|
3474
|
+
case 1:
|
|
3475
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3476
|
+
msg.setLoyaltyLevelId(value);
|
|
3477
|
+
break;
|
|
3478
|
+
case 2:
|
|
3479
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3480
|
+
msg.setLocale(value);
|
|
3481
|
+
break;
|
|
3482
|
+
case 3:
|
|
3483
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3484
|
+
msg.setTitle(value);
|
|
3485
|
+
break;
|
|
3486
|
+
case 4:
|
|
3487
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3488
|
+
msg.setDescription(value);
|
|
3489
|
+
break;
|
|
3490
|
+
case 5:
|
|
3491
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3492
|
+
msg.setContent(value);
|
|
3493
|
+
break;
|
|
3494
|
+
default:
|
|
3495
|
+
reader.skipField();
|
|
3496
|
+
break;
|
|
3497
|
+
}
|
|
3498
|
+
}
|
|
3499
|
+
return msg;
|
|
3500
|
+
};
|
|
3501
|
+
|
|
3502
|
+
|
|
3503
|
+
/**
|
|
3504
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3505
|
+
* @return {!Uint8Array}
|
|
3506
|
+
*/
|
|
3507
|
+
proto.loyalty.LevelTranslationRequest.prototype.serializeBinary = function() {
|
|
3508
|
+
var writer = new jspb.BinaryWriter();
|
|
3509
|
+
proto.loyalty.LevelTranslationRequest.serializeBinaryToWriter(this, writer);
|
|
3510
|
+
return writer.getResultBuffer();
|
|
3511
|
+
};
|
|
3512
|
+
|
|
3513
|
+
|
|
3514
|
+
/**
|
|
3515
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3516
|
+
* format), writing to the given BinaryWriter.
|
|
3517
|
+
* @param {!proto.loyalty.LevelTranslationRequest} message
|
|
3518
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3519
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3520
|
+
*/
|
|
3521
|
+
proto.loyalty.LevelTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3522
|
+
var f = undefined;
|
|
3523
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
3524
|
+
if (f != null) {
|
|
3525
|
+
writer.writeInt32(
|
|
3526
|
+
1,
|
|
3527
|
+
f
|
|
3528
|
+
);
|
|
3529
|
+
}
|
|
3530
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
3531
|
+
if (f != null) {
|
|
3532
|
+
writer.writeString(
|
|
3533
|
+
2,
|
|
3534
|
+
f
|
|
3535
|
+
);
|
|
3536
|
+
}
|
|
3537
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
3538
|
+
if (f != null) {
|
|
3539
|
+
writer.writeString(
|
|
3540
|
+
3,
|
|
3541
|
+
f
|
|
3542
|
+
);
|
|
3543
|
+
}
|
|
3544
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
3545
|
+
if (f != null) {
|
|
3546
|
+
writer.writeString(
|
|
3547
|
+
4,
|
|
3548
|
+
f
|
|
3549
|
+
);
|
|
3550
|
+
}
|
|
3551
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
3552
|
+
if (f != null) {
|
|
3553
|
+
writer.writeString(
|
|
3554
|
+
5,
|
|
3555
|
+
f
|
|
3556
|
+
);
|
|
3557
|
+
}
|
|
3558
|
+
};
|
|
3559
|
+
|
|
3560
|
+
|
|
3561
|
+
/**
|
|
3562
|
+
* optional int32 loyalty_level_id = 1;
|
|
3563
|
+
* @return {number}
|
|
3564
|
+
*/
|
|
3565
|
+
proto.loyalty.LevelTranslationRequest.prototype.getLoyaltyLevelId = function() {
|
|
3566
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3567
|
+
};
|
|
3568
|
+
|
|
3569
|
+
|
|
3570
|
+
/**
|
|
3571
|
+
* @param {number} value
|
|
3572
|
+
* @return {!proto.loyalty.LevelTranslationRequest} returns this
|
|
3573
|
+
*/
|
|
3574
|
+
proto.loyalty.LevelTranslationRequest.prototype.setLoyaltyLevelId = function(value) {
|
|
3575
|
+
return jspb.Message.setField(this, 1, value);
|
|
3576
|
+
};
|
|
3577
|
+
|
|
3578
|
+
|
|
3579
|
+
/**
|
|
3580
|
+
* Clears the field making it undefined.
|
|
3581
|
+
* @return {!proto.loyalty.LevelTranslationRequest} returns this
|
|
3582
|
+
*/
|
|
3583
|
+
proto.loyalty.LevelTranslationRequest.prototype.clearLoyaltyLevelId = function() {
|
|
3584
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
3585
|
+
};
|
|
3586
|
+
|
|
3587
|
+
|
|
3588
|
+
/**
|
|
3589
|
+
* Returns whether this field is set.
|
|
3590
|
+
* @return {boolean}
|
|
3591
|
+
*/
|
|
3592
|
+
proto.loyalty.LevelTranslationRequest.prototype.hasLoyaltyLevelId = function() {
|
|
3593
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3594
|
+
};
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
/**
|
|
3598
|
+
* optional string locale = 2;
|
|
3599
|
+
* @return {string}
|
|
3600
|
+
*/
|
|
3601
|
+
proto.loyalty.LevelTranslationRequest.prototype.getLocale = function() {
|
|
3602
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3603
|
+
};
|
|
3604
|
+
|
|
3605
|
+
|
|
3606
|
+
/**
|
|
3607
|
+
* @param {string} value
|
|
3608
|
+
* @return {!proto.loyalty.LevelTranslationRequest} returns this
|
|
3609
|
+
*/
|
|
3610
|
+
proto.loyalty.LevelTranslationRequest.prototype.setLocale = function(value) {
|
|
3611
|
+
return jspb.Message.setField(this, 2, value);
|
|
3612
|
+
};
|
|
3613
|
+
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* Clears the field making it undefined.
|
|
3617
|
+
* @return {!proto.loyalty.LevelTranslationRequest} returns this
|
|
3618
|
+
*/
|
|
3619
|
+
proto.loyalty.LevelTranslationRequest.prototype.clearLocale = function() {
|
|
3620
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
3621
|
+
};
|
|
3622
|
+
|
|
3623
|
+
|
|
3624
|
+
/**
|
|
3625
|
+
* Returns whether this field is set.
|
|
3626
|
+
* @return {boolean}
|
|
3627
|
+
*/
|
|
3628
|
+
proto.loyalty.LevelTranslationRequest.prototype.hasLocale = function() {
|
|
3629
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3630
|
+
};
|
|
3631
|
+
|
|
3632
|
+
|
|
3633
|
+
/**
|
|
3634
|
+
* optional string title = 3;
|
|
3635
|
+
* @return {string}
|
|
3636
|
+
*/
|
|
3637
|
+
proto.loyalty.LevelTranslationRequest.prototype.getTitle = function() {
|
|
3638
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3639
|
+
};
|
|
3640
|
+
|
|
3641
|
+
|
|
3642
|
+
/**
|
|
3643
|
+
* @param {string} value
|
|
3644
|
+
* @return {!proto.loyalty.LevelTranslationRequest} returns this
|
|
3645
|
+
*/
|
|
3646
|
+
proto.loyalty.LevelTranslationRequest.prototype.setTitle = function(value) {
|
|
3647
|
+
return jspb.Message.setField(this, 3, value);
|
|
3648
|
+
};
|
|
3649
|
+
|
|
3650
|
+
|
|
3651
|
+
/**
|
|
3652
|
+
* Clears the field making it undefined.
|
|
3653
|
+
* @return {!proto.loyalty.LevelTranslationRequest} returns this
|
|
3654
|
+
*/
|
|
3655
|
+
proto.loyalty.LevelTranslationRequest.prototype.clearTitle = function() {
|
|
3656
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
3657
|
+
};
|
|
3658
|
+
|
|
3659
|
+
|
|
3660
|
+
/**
|
|
3661
|
+
* Returns whether this field is set.
|
|
3662
|
+
* @return {boolean}
|
|
3663
|
+
*/
|
|
3664
|
+
proto.loyalty.LevelTranslationRequest.prototype.hasTitle = function() {
|
|
3665
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3666
|
+
};
|
|
3667
|
+
|
|
3668
|
+
|
|
3669
|
+
/**
|
|
3670
|
+
* optional string description = 4;
|
|
3671
|
+
* @return {string}
|
|
3672
|
+
*/
|
|
3673
|
+
proto.loyalty.LevelTranslationRequest.prototype.getDescription = function() {
|
|
3674
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3675
|
+
};
|
|
3676
|
+
|
|
3677
|
+
|
|
3678
|
+
/**
|
|
3679
|
+
* @param {string} value
|
|
3680
|
+
* @return {!proto.loyalty.LevelTranslationRequest} returns this
|
|
3681
|
+
*/
|
|
3682
|
+
proto.loyalty.LevelTranslationRequest.prototype.setDescription = function(value) {
|
|
3683
|
+
return jspb.Message.setField(this, 4, value);
|
|
3684
|
+
};
|
|
3685
|
+
|
|
3686
|
+
|
|
3687
|
+
/**
|
|
3688
|
+
* Clears the field making it undefined.
|
|
3689
|
+
* @return {!proto.loyalty.LevelTranslationRequest} returns this
|
|
3690
|
+
*/
|
|
3691
|
+
proto.loyalty.LevelTranslationRequest.prototype.clearDescription = function() {
|
|
3692
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
3693
|
+
};
|
|
3694
|
+
|
|
3695
|
+
|
|
3696
|
+
/**
|
|
3697
|
+
* Returns whether this field is set.
|
|
3698
|
+
* @return {boolean}
|
|
3699
|
+
*/
|
|
3700
|
+
proto.loyalty.LevelTranslationRequest.prototype.hasDescription = function() {
|
|
3701
|
+
return jspb.Message.getField(this, 4) != null;
|
|
3702
|
+
};
|
|
3703
|
+
|
|
3704
|
+
|
|
3705
|
+
/**
|
|
3706
|
+
* optional string content = 5;
|
|
3707
|
+
* @return {string}
|
|
3708
|
+
*/
|
|
3709
|
+
proto.loyalty.LevelTranslationRequest.prototype.getContent = function() {
|
|
3710
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3711
|
+
};
|
|
3712
|
+
|
|
3713
|
+
|
|
3714
|
+
/**
|
|
3715
|
+
* @param {string} value
|
|
3716
|
+
* @return {!proto.loyalty.LevelTranslationRequest} returns this
|
|
3717
|
+
*/
|
|
3718
|
+
proto.loyalty.LevelTranslationRequest.prototype.setContent = function(value) {
|
|
3719
|
+
return jspb.Message.setField(this, 5, value);
|
|
3720
|
+
};
|
|
3721
|
+
|
|
3722
|
+
|
|
3723
|
+
/**
|
|
3724
|
+
* Clears the field making it undefined.
|
|
3725
|
+
* @return {!proto.loyalty.LevelTranslationRequest} returns this
|
|
3726
|
+
*/
|
|
3727
|
+
proto.loyalty.LevelTranslationRequest.prototype.clearContent = function() {
|
|
3728
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
3729
|
+
};
|
|
3730
|
+
|
|
3731
|
+
|
|
3732
|
+
/**
|
|
3733
|
+
* Returns whether this field is set.
|
|
3734
|
+
* @return {boolean}
|
|
3735
|
+
*/
|
|
3736
|
+
proto.loyalty.LevelTranslationRequest.prototype.hasContent = function() {
|
|
3737
|
+
return jspb.Message.getField(this, 5) != null;
|
|
3738
|
+
};
|
|
3739
|
+
|
|
3740
|
+
|
|
3741
|
+
|
|
3742
|
+
|
|
3743
|
+
|
|
3744
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3745
|
+
/**
|
|
3746
|
+
* Creates an object representation of this proto.
|
|
3747
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3748
|
+
* Optional fields that are not set will be set to undefined.
|
|
3749
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3750
|
+
* For the list of reserved names please see:
|
|
3751
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3752
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3753
|
+
* JSPB instance for transitional soy proto support:
|
|
3754
|
+
* http://goto/soy-param-migration
|
|
3755
|
+
* @return {!Object}
|
|
3756
|
+
*/
|
|
3757
|
+
proto.loyalty.LevelTranslationItem.prototype.toObject = function(opt_includeInstance) {
|
|
3758
|
+
return proto.loyalty.LevelTranslationItem.toObject(opt_includeInstance, this);
|
|
3759
|
+
};
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
/**
|
|
3763
|
+
* Static version of the {@see toObject} method.
|
|
3764
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3765
|
+
* the JSPB instance for transitional soy proto support:
|
|
3766
|
+
* http://goto/soy-param-migration
|
|
3767
|
+
* @param {!proto.loyalty.LevelTranslationItem} msg The msg instance to transform.
|
|
3768
|
+
* @return {!Object}
|
|
3769
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3770
|
+
*/
|
|
3771
|
+
proto.loyalty.LevelTranslationItem.toObject = function(includeInstance, msg) {
|
|
3772
|
+
var f, obj = {
|
|
3773
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3774
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3775
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3776
|
+
content: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3777
|
+
};
|
|
3778
|
+
|
|
3779
|
+
if (includeInstance) {
|
|
3780
|
+
obj.$jspbMessageInstance = msg;
|
|
3781
|
+
}
|
|
3782
|
+
return obj;
|
|
3783
|
+
};
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
|
|
3787
|
+
/**
|
|
3788
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3789
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3790
|
+
* @return {!proto.loyalty.LevelTranslationItem}
|
|
3791
|
+
*/
|
|
3792
|
+
proto.loyalty.LevelTranslationItem.deserializeBinary = function(bytes) {
|
|
3793
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3794
|
+
var msg = new proto.loyalty.LevelTranslationItem;
|
|
3795
|
+
return proto.loyalty.LevelTranslationItem.deserializeBinaryFromReader(msg, reader);
|
|
3796
|
+
};
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
/**
|
|
3800
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3801
|
+
* given reader into the given message object.
|
|
3802
|
+
* @param {!proto.loyalty.LevelTranslationItem} msg The message object to deserialize into.
|
|
3803
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3804
|
+
* @return {!proto.loyalty.LevelTranslationItem}
|
|
3805
|
+
*/
|
|
3806
|
+
proto.loyalty.LevelTranslationItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
3807
|
+
while (reader.nextField()) {
|
|
3808
|
+
if (reader.isEndGroup()) {
|
|
3809
|
+
break;
|
|
3810
|
+
}
|
|
3811
|
+
var field = reader.getFieldNumber();
|
|
3812
|
+
switch (field) {
|
|
3813
|
+
case 1:
|
|
3814
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3815
|
+
msg.setTitle(value);
|
|
3816
|
+
break;
|
|
3817
|
+
case 2:
|
|
3818
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3819
|
+
msg.setLocale(value);
|
|
3820
|
+
break;
|
|
3821
|
+
case 3:
|
|
3822
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3823
|
+
msg.setDescription(value);
|
|
3824
|
+
break;
|
|
3825
|
+
case 4:
|
|
3826
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3827
|
+
msg.setContent(value);
|
|
3828
|
+
break;
|
|
3829
|
+
default:
|
|
3830
|
+
reader.skipField();
|
|
3831
|
+
break;
|
|
3832
|
+
}
|
|
3833
|
+
}
|
|
3834
|
+
return msg;
|
|
3835
|
+
};
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
/**
|
|
3839
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3840
|
+
* @return {!Uint8Array}
|
|
3841
|
+
*/
|
|
3842
|
+
proto.loyalty.LevelTranslationItem.prototype.serializeBinary = function() {
|
|
3843
|
+
var writer = new jspb.BinaryWriter();
|
|
3844
|
+
proto.loyalty.LevelTranslationItem.serializeBinaryToWriter(this, writer);
|
|
3845
|
+
return writer.getResultBuffer();
|
|
3846
|
+
};
|
|
3847
|
+
|
|
3848
|
+
|
|
3849
|
+
/**
|
|
3850
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3851
|
+
* format), writing to the given BinaryWriter.
|
|
3852
|
+
* @param {!proto.loyalty.LevelTranslationItem} message
|
|
3853
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3854
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3855
|
+
*/
|
|
3856
|
+
proto.loyalty.LevelTranslationItem.serializeBinaryToWriter = function(message, writer) {
|
|
3857
|
+
var f = undefined;
|
|
3858
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
3859
|
+
if (f != null) {
|
|
3860
|
+
writer.writeString(
|
|
3861
|
+
1,
|
|
3862
|
+
f
|
|
3863
|
+
);
|
|
3864
|
+
}
|
|
3865
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
3866
|
+
if (f != null) {
|
|
3867
|
+
writer.writeString(
|
|
3868
|
+
2,
|
|
3869
|
+
f
|
|
3870
|
+
);
|
|
3871
|
+
}
|
|
3872
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
3873
|
+
if (f != null) {
|
|
3874
|
+
writer.writeString(
|
|
3875
|
+
3,
|
|
3876
|
+
f
|
|
3877
|
+
);
|
|
3878
|
+
}
|
|
3879
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
3880
|
+
if (f != null) {
|
|
3881
|
+
writer.writeString(
|
|
3882
|
+
4,
|
|
3883
|
+
f
|
|
3884
|
+
);
|
|
3885
|
+
}
|
|
3886
|
+
};
|
|
3887
|
+
|
|
3888
|
+
|
|
3889
|
+
/**
|
|
3890
|
+
* optional string title = 1;
|
|
3891
|
+
* @return {string}
|
|
3892
|
+
*/
|
|
3893
|
+
proto.loyalty.LevelTranslationItem.prototype.getTitle = function() {
|
|
3894
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3895
|
+
};
|
|
3896
|
+
|
|
3897
|
+
|
|
3898
|
+
/**
|
|
3899
|
+
* @param {string} value
|
|
3900
|
+
* @return {!proto.loyalty.LevelTranslationItem} returns this
|
|
3901
|
+
*/
|
|
3902
|
+
proto.loyalty.LevelTranslationItem.prototype.setTitle = function(value) {
|
|
3903
|
+
return jspb.Message.setField(this, 1, value);
|
|
3904
|
+
};
|
|
3905
|
+
|
|
3906
|
+
|
|
3907
|
+
/**
|
|
3908
|
+
* Clears the field making it undefined.
|
|
3909
|
+
* @return {!proto.loyalty.LevelTranslationItem} returns this
|
|
3910
|
+
*/
|
|
3911
|
+
proto.loyalty.LevelTranslationItem.prototype.clearTitle = function() {
|
|
3912
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
3913
|
+
};
|
|
3914
|
+
|
|
3915
|
+
|
|
3916
|
+
/**
|
|
3917
|
+
* Returns whether this field is set.
|
|
3918
|
+
* @return {boolean}
|
|
3919
|
+
*/
|
|
3920
|
+
proto.loyalty.LevelTranslationItem.prototype.hasTitle = function() {
|
|
3921
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3922
|
+
};
|
|
3923
|
+
|
|
3924
|
+
|
|
3925
|
+
/**
|
|
3926
|
+
* optional string locale = 2;
|
|
3927
|
+
* @return {string}
|
|
3928
|
+
*/
|
|
3929
|
+
proto.loyalty.LevelTranslationItem.prototype.getLocale = function() {
|
|
3930
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3931
|
+
};
|
|
3932
|
+
|
|
3933
|
+
|
|
3934
|
+
/**
|
|
3935
|
+
* @param {string} value
|
|
3936
|
+
* @return {!proto.loyalty.LevelTranslationItem} returns this
|
|
3937
|
+
*/
|
|
3938
|
+
proto.loyalty.LevelTranslationItem.prototype.setLocale = function(value) {
|
|
3939
|
+
return jspb.Message.setField(this, 2, value);
|
|
3940
|
+
};
|
|
3941
|
+
|
|
3942
|
+
|
|
3943
|
+
/**
|
|
3944
|
+
* Clears the field making it undefined.
|
|
3945
|
+
* @return {!proto.loyalty.LevelTranslationItem} returns this
|
|
3946
|
+
*/
|
|
3947
|
+
proto.loyalty.LevelTranslationItem.prototype.clearLocale = function() {
|
|
3948
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
3949
|
+
};
|
|
3950
|
+
|
|
3951
|
+
|
|
3952
|
+
/**
|
|
3953
|
+
* Returns whether this field is set.
|
|
3954
|
+
* @return {boolean}
|
|
3955
|
+
*/
|
|
3956
|
+
proto.loyalty.LevelTranslationItem.prototype.hasLocale = function() {
|
|
3957
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3958
|
+
};
|
|
3959
|
+
|
|
3960
|
+
|
|
3961
|
+
/**
|
|
3962
|
+
* optional string description = 3;
|
|
3963
|
+
* @return {string}
|
|
3964
|
+
*/
|
|
3965
|
+
proto.loyalty.LevelTranslationItem.prototype.getDescription = function() {
|
|
3966
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3967
|
+
};
|
|
3968
|
+
|
|
3969
|
+
|
|
3970
|
+
/**
|
|
3971
|
+
* @param {string} value
|
|
3972
|
+
* @return {!proto.loyalty.LevelTranslationItem} returns this
|
|
3973
|
+
*/
|
|
3974
|
+
proto.loyalty.LevelTranslationItem.prototype.setDescription = function(value) {
|
|
3975
|
+
return jspb.Message.setField(this, 3, value);
|
|
3976
|
+
};
|
|
3977
|
+
|
|
3978
|
+
|
|
3979
|
+
/**
|
|
3980
|
+
* Clears the field making it undefined.
|
|
3981
|
+
* @return {!proto.loyalty.LevelTranslationItem} returns this
|
|
3982
|
+
*/
|
|
3983
|
+
proto.loyalty.LevelTranslationItem.prototype.clearDescription = function() {
|
|
3984
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
3985
|
+
};
|
|
3986
|
+
|
|
3987
|
+
|
|
3988
|
+
/**
|
|
3989
|
+
* Returns whether this field is set.
|
|
3990
|
+
* @return {boolean}
|
|
3991
|
+
*/
|
|
3992
|
+
proto.loyalty.LevelTranslationItem.prototype.hasDescription = function() {
|
|
3993
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3994
|
+
};
|
|
3995
|
+
|
|
3996
|
+
|
|
3997
|
+
/**
|
|
3998
|
+
* optional string content = 4;
|
|
3999
|
+
* @return {string}
|
|
4000
|
+
*/
|
|
4001
|
+
proto.loyalty.LevelTranslationItem.prototype.getContent = function() {
|
|
4002
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4003
|
+
};
|
|
4004
|
+
|
|
4005
|
+
|
|
4006
|
+
/**
|
|
4007
|
+
* @param {string} value
|
|
4008
|
+
* @return {!proto.loyalty.LevelTranslationItem} returns this
|
|
4009
|
+
*/
|
|
4010
|
+
proto.loyalty.LevelTranslationItem.prototype.setContent = function(value) {
|
|
4011
|
+
return jspb.Message.setField(this, 4, value);
|
|
4012
|
+
};
|
|
4013
|
+
|
|
4014
|
+
|
|
4015
|
+
/**
|
|
4016
|
+
* Clears the field making it undefined.
|
|
4017
|
+
* @return {!proto.loyalty.LevelTranslationItem} returns this
|
|
4018
|
+
*/
|
|
4019
|
+
proto.loyalty.LevelTranslationItem.prototype.clearContent = function() {
|
|
4020
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
4021
|
+
};
|
|
4022
|
+
|
|
4023
|
+
|
|
4024
|
+
/**
|
|
4025
|
+
* Returns whether this field is set.
|
|
4026
|
+
* @return {boolean}
|
|
4027
|
+
*/
|
|
4028
|
+
proto.loyalty.LevelTranslationItem.prototype.hasContent = function() {
|
|
4029
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4030
|
+
};
|
|
4031
|
+
|
|
4032
|
+
|
|
4033
|
+
|
|
4034
|
+
|
|
4035
|
+
|
|
3300
4036
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3301
4037
|
/**
|
|
3302
4038
|
* Creates an object representation of this proto.
|