protobuf-platform 1.2.334 → 1.2.337
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/game/game.proto +1 -0
- package/game/game_pb.js +225 -193
- package/loyalty/loyalty.proto +2 -1
- package/loyalty/loyalty_pb.js +54 -6
- package/package.json +1 -1
package/game/game.proto
CHANGED
package/game/game_pb.js
CHANGED
|
@@ -37564,164 +37564,6 @@ proto.game.SEOAttribute.prototype.setValue = function(value) {
|
|
|
37564
37564
|
|
|
37565
37565
|
|
|
37566
37566
|
|
|
37567
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
37568
|
-
/**
|
|
37569
|
-
* Creates an object representation of this proto.
|
|
37570
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
37571
|
-
* Optional fields that are not set will be set to undefined.
|
|
37572
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
37573
|
-
* For the list of reserved names please see:
|
|
37574
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
37575
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
37576
|
-
* JSPB instance for transitional soy proto support:
|
|
37577
|
-
* http://goto/soy-param-migration
|
|
37578
|
-
* @return {!Object}
|
|
37579
|
-
*/
|
|
37580
|
-
proto.game.SEOInstanceRelation.prototype.toObject = function(opt_includeInstance) {
|
|
37581
|
-
return proto.game.SEOInstanceRelation.toObject(opt_includeInstance, this);
|
|
37582
|
-
};
|
|
37583
|
-
|
|
37584
|
-
|
|
37585
|
-
/**
|
|
37586
|
-
* Static version of the {@see toObject} method.
|
|
37587
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
37588
|
-
* the JSPB instance for transitional soy proto support:
|
|
37589
|
-
* http://goto/soy-param-migration
|
|
37590
|
-
* @param {!proto.game.SEOInstanceRelation} msg The msg instance to transform.
|
|
37591
|
-
* @return {!Object}
|
|
37592
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
37593
|
-
*/
|
|
37594
|
-
proto.game.SEOInstanceRelation.toObject = function(includeInstance, msg) {
|
|
37595
|
-
var f, obj = {
|
|
37596
|
-
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
37597
|
-
slug: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
37598
|
-
};
|
|
37599
|
-
|
|
37600
|
-
if (includeInstance) {
|
|
37601
|
-
obj.$jspbMessageInstance = msg;
|
|
37602
|
-
}
|
|
37603
|
-
return obj;
|
|
37604
|
-
};
|
|
37605
|
-
}
|
|
37606
|
-
|
|
37607
|
-
|
|
37608
|
-
/**
|
|
37609
|
-
* Deserializes binary data (in protobuf wire format).
|
|
37610
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
37611
|
-
* @return {!proto.game.SEOInstanceRelation}
|
|
37612
|
-
*/
|
|
37613
|
-
proto.game.SEOInstanceRelation.deserializeBinary = function(bytes) {
|
|
37614
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
37615
|
-
var msg = new proto.game.SEOInstanceRelation;
|
|
37616
|
-
return proto.game.SEOInstanceRelation.deserializeBinaryFromReader(msg, reader);
|
|
37617
|
-
};
|
|
37618
|
-
|
|
37619
|
-
|
|
37620
|
-
/**
|
|
37621
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
37622
|
-
* given reader into the given message object.
|
|
37623
|
-
* @param {!proto.game.SEOInstanceRelation} msg The message object to deserialize into.
|
|
37624
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
37625
|
-
* @return {!proto.game.SEOInstanceRelation}
|
|
37626
|
-
*/
|
|
37627
|
-
proto.game.SEOInstanceRelation.deserializeBinaryFromReader = function(msg, reader) {
|
|
37628
|
-
while (reader.nextField()) {
|
|
37629
|
-
if (reader.isEndGroup()) {
|
|
37630
|
-
break;
|
|
37631
|
-
}
|
|
37632
|
-
var field = reader.getFieldNumber();
|
|
37633
|
-
switch (field) {
|
|
37634
|
-
case 1:
|
|
37635
|
-
var value = /** @type {string} */ (reader.readString());
|
|
37636
|
-
msg.setType(value);
|
|
37637
|
-
break;
|
|
37638
|
-
case 2:
|
|
37639
|
-
var value = /** @type {string} */ (reader.readString());
|
|
37640
|
-
msg.setSlug(value);
|
|
37641
|
-
break;
|
|
37642
|
-
default:
|
|
37643
|
-
reader.skipField();
|
|
37644
|
-
break;
|
|
37645
|
-
}
|
|
37646
|
-
}
|
|
37647
|
-
return msg;
|
|
37648
|
-
};
|
|
37649
|
-
|
|
37650
|
-
|
|
37651
|
-
/**
|
|
37652
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
37653
|
-
* @return {!Uint8Array}
|
|
37654
|
-
*/
|
|
37655
|
-
proto.game.SEOInstanceRelation.prototype.serializeBinary = function() {
|
|
37656
|
-
var writer = new jspb.BinaryWriter();
|
|
37657
|
-
proto.game.SEOInstanceRelation.serializeBinaryToWriter(this, writer);
|
|
37658
|
-
return writer.getResultBuffer();
|
|
37659
|
-
};
|
|
37660
|
-
|
|
37661
|
-
|
|
37662
|
-
/**
|
|
37663
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
37664
|
-
* format), writing to the given BinaryWriter.
|
|
37665
|
-
* @param {!proto.game.SEOInstanceRelation} message
|
|
37666
|
-
* @param {!jspb.BinaryWriter} writer
|
|
37667
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
37668
|
-
*/
|
|
37669
|
-
proto.game.SEOInstanceRelation.serializeBinaryToWriter = function(message, writer) {
|
|
37670
|
-
var f = undefined;
|
|
37671
|
-
f = message.getType();
|
|
37672
|
-
if (f.length > 0) {
|
|
37673
|
-
writer.writeString(
|
|
37674
|
-
1,
|
|
37675
|
-
f
|
|
37676
|
-
);
|
|
37677
|
-
}
|
|
37678
|
-
f = message.getSlug();
|
|
37679
|
-
if (f.length > 0) {
|
|
37680
|
-
writer.writeString(
|
|
37681
|
-
2,
|
|
37682
|
-
f
|
|
37683
|
-
);
|
|
37684
|
-
}
|
|
37685
|
-
};
|
|
37686
|
-
|
|
37687
|
-
|
|
37688
|
-
/**
|
|
37689
|
-
* optional string type = 1;
|
|
37690
|
-
* @return {string}
|
|
37691
|
-
*/
|
|
37692
|
-
proto.game.SEOInstanceRelation.prototype.getType = function() {
|
|
37693
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
37694
|
-
};
|
|
37695
|
-
|
|
37696
|
-
|
|
37697
|
-
/**
|
|
37698
|
-
* @param {string} value
|
|
37699
|
-
* @return {!proto.game.SEOInstanceRelation} returns this
|
|
37700
|
-
*/
|
|
37701
|
-
proto.game.SEOInstanceRelation.prototype.setType = function(value) {
|
|
37702
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
37703
|
-
};
|
|
37704
|
-
|
|
37705
|
-
|
|
37706
|
-
/**
|
|
37707
|
-
* optional string slug = 2;
|
|
37708
|
-
* @return {string}
|
|
37709
|
-
*/
|
|
37710
|
-
proto.game.SEOInstanceRelation.prototype.getSlug = function() {
|
|
37711
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
37712
|
-
};
|
|
37713
|
-
|
|
37714
|
-
|
|
37715
|
-
/**
|
|
37716
|
-
* @param {string} value
|
|
37717
|
-
* @return {!proto.game.SEOInstanceRelation} returns this
|
|
37718
|
-
*/
|
|
37719
|
-
proto.game.SEOInstanceRelation.prototype.setSlug = function(value) {
|
|
37720
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
37721
|
-
};
|
|
37722
|
-
|
|
37723
|
-
|
|
37724
|
-
|
|
37725
37567
|
/**
|
|
37726
37568
|
* List of repeated fields within this message type.
|
|
37727
37569
|
* @private {!Array<number>}
|
|
@@ -38230,12 +38072,202 @@ proto.game.SEOInstanceRequest.prototype.hasGeo = function() {
|
|
|
38230
38072
|
|
|
38231
38073
|
|
|
38232
38074
|
|
|
38075
|
+
|
|
38076
|
+
|
|
38077
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38078
|
+
/**
|
|
38079
|
+
* Creates an object representation of this proto.
|
|
38080
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
38081
|
+
* Optional fields that are not set will be set to undefined.
|
|
38082
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
38083
|
+
* For the list of reserved names please see:
|
|
38084
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
38085
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
38086
|
+
* JSPB instance for transitional soy proto support:
|
|
38087
|
+
* http://goto/soy-param-migration
|
|
38088
|
+
* @return {!Object}
|
|
38089
|
+
*/
|
|
38090
|
+
proto.game.SEOInstanceRelation.prototype.toObject = function(opt_includeInstance) {
|
|
38091
|
+
return proto.game.SEOInstanceRelation.toObject(opt_includeInstance, this);
|
|
38092
|
+
};
|
|
38093
|
+
|
|
38094
|
+
|
|
38095
|
+
/**
|
|
38096
|
+
* Static version of the {@see toObject} method.
|
|
38097
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38098
|
+
* the JSPB instance for transitional soy proto support:
|
|
38099
|
+
* http://goto/soy-param-migration
|
|
38100
|
+
* @param {!proto.game.SEOInstanceRelation} msg The msg instance to transform.
|
|
38101
|
+
* @return {!Object}
|
|
38102
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38103
|
+
*/
|
|
38104
|
+
proto.game.SEOInstanceRelation.toObject = function(includeInstance, msg) {
|
|
38105
|
+
var f, obj = {
|
|
38106
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
38107
|
+
slug: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
38108
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
38109
|
+
};
|
|
38110
|
+
|
|
38111
|
+
if (includeInstance) {
|
|
38112
|
+
obj.$jspbMessageInstance = msg;
|
|
38113
|
+
}
|
|
38114
|
+
return obj;
|
|
38115
|
+
};
|
|
38116
|
+
}
|
|
38117
|
+
|
|
38118
|
+
|
|
38119
|
+
/**
|
|
38120
|
+
* Deserializes binary data (in protobuf wire format).
|
|
38121
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38122
|
+
* @return {!proto.game.SEOInstanceRelation}
|
|
38123
|
+
*/
|
|
38124
|
+
proto.game.SEOInstanceRelation.deserializeBinary = function(bytes) {
|
|
38125
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
38126
|
+
var msg = new proto.game.SEOInstanceRelation;
|
|
38127
|
+
return proto.game.SEOInstanceRelation.deserializeBinaryFromReader(msg, reader);
|
|
38128
|
+
};
|
|
38129
|
+
|
|
38130
|
+
|
|
38131
|
+
/**
|
|
38132
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
38133
|
+
* given reader into the given message object.
|
|
38134
|
+
* @param {!proto.game.SEOInstanceRelation} msg The message object to deserialize into.
|
|
38135
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38136
|
+
* @return {!proto.game.SEOInstanceRelation}
|
|
38137
|
+
*/
|
|
38138
|
+
proto.game.SEOInstanceRelation.deserializeBinaryFromReader = function(msg, reader) {
|
|
38139
|
+
while (reader.nextField()) {
|
|
38140
|
+
if (reader.isEndGroup()) {
|
|
38141
|
+
break;
|
|
38142
|
+
}
|
|
38143
|
+
var field = reader.getFieldNumber();
|
|
38144
|
+
switch (field) {
|
|
38145
|
+
case 1:
|
|
38146
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38147
|
+
msg.setType(value);
|
|
38148
|
+
break;
|
|
38149
|
+
case 2:
|
|
38150
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38151
|
+
msg.setSlug(value);
|
|
38152
|
+
break;
|
|
38153
|
+
case 3:
|
|
38154
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38155
|
+
msg.setTitle(value);
|
|
38156
|
+
break;
|
|
38157
|
+
default:
|
|
38158
|
+
reader.skipField();
|
|
38159
|
+
break;
|
|
38160
|
+
}
|
|
38161
|
+
}
|
|
38162
|
+
return msg;
|
|
38163
|
+
};
|
|
38164
|
+
|
|
38165
|
+
|
|
38166
|
+
/**
|
|
38167
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
38168
|
+
* @return {!Uint8Array}
|
|
38169
|
+
*/
|
|
38170
|
+
proto.game.SEOInstanceRelation.prototype.serializeBinary = function() {
|
|
38171
|
+
var writer = new jspb.BinaryWriter();
|
|
38172
|
+
proto.game.SEOInstanceRelation.serializeBinaryToWriter(this, writer);
|
|
38173
|
+
return writer.getResultBuffer();
|
|
38174
|
+
};
|
|
38175
|
+
|
|
38176
|
+
|
|
38177
|
+
/**
|
|
38178
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
38179
|
+
* format), writing to the given BinaryWriter.
|
|
38180
|
+
* @param {!proto.game.SEOInstanceRelation} message
|
|
38181
|
+
* @param {!jspb.BinaryWriter} writer
|
|
38182
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38183
|
+
*/
|
|
38184
|
+
proto.game.SEOInstanceRelation.serializeBinaryToWriter = function(message, writer) {
|
|
38185
|
+
var f = undefined;
|
|
38186
|
+
f = message.getType();
|
|
38187
|
+
if (f.length > 0) {
|
|
38188
|
+
writer.writeString(
|
|
38189
|
+
1,
|
|
38190
|
+
f
|
|
38191
|
+
);
|
|
38192
|
+
}
|
|
38193
|
+
f = message.getSlug();
|
|
38194
|
+
if (f.length > 0) {
|
|
38195
|
+
writer.writeString(
|
|
38196
|
+
2,
|
|
38197
|
+
f
|
|
38198
|
+
);
|
|
38199
|
+
}
|
|
38200
|
+
f = message.getTitle();
|
|
38201
|
+
if (f.length > 0) {
|
|
38202
|
+
writer.writeString(
|
|
38203
|
+
3,
|
|
38204
|
+
f
|
|
38205
|
+
);
|
|
38206
|
+
}
|
|
38207
|
+
};
|
|
38208
|
+
|
|
38209
|
+
|
|
38210
|
+
/**
|
|
38211
|
+
* optional string type = 1;
|
|
38212
|
+
* @return {string}
|
|
38213
|
+
*/
|
|
38214
|
+
proto.game.SEOInstanceRelation.prototype.getType = function() {
|
|
38215
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
38216
|
+
};
|
|
38217
|
+
|
|
38218
|
+
|
|
38219
|
+
/**
|
|
38220
|
+
* @param {string} value
|
|
38221
|
+
* @return {!proto.game.SEOInstanceRelation} returns this
|
|
38222
|
+
*/
|
|
38223
|
+
proto.game.SEOInstanceRelation.prototype.setType = function(value) {
|
|
38224
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
38225
|
+
};
|
|
38226
|
+
|
|
38227
|
+
|
|
38228
|
+
/**
|
|
38229
|
+
* optional string slug = 2;
|
|
38230
|
+
* @return {string}
|
|
38231
|
+
*/
|
|
38232
|
+
proto.game.SEOInstanceRelation.prototype.getSlug = function() {
|
|
38233
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
38234
|
+
};
|
|
38235
|
+
|
|
38236
|
+
|
|
38237
|
+
/**
|
|
38238
|
+
* @param {string} value
|
|
38239
|
+
* @return {!proto.game.SEOInstanceRelation} returns this
|
|
38240
|
+
*/
|
|
38241
|
+
proto.game.SEOInstanceRelation.prototype.setSlug = function(value) {
|
|
38242
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
38243
|
+
};
|
|
38244
|
+
|
|
38245
|
+
|
|
38246
|
+
/**
|
|
38247
|
+
* optional string title = 3;
|
|
38248
|
+
* @return {string}
|
|
38249
|
+
*/
|
|
38250
|
+
proto.game.SEOInstanceRelation.prototype.getTitle = function() {
|
|
38251
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
38252
|
+
};
|
|
38253
|
+
|
|
38254
|
+
|
|
38255
|
+
/**
|
|
38256
|
+
* @param {string} value
|
|
38257
|
+
* @return {!proto.game.SEOInstanceRelation} returns this
|
|
38258
|
+
*/
|
|
38259
|
+
proto.game.SEOInstanceRelation.prototype.setTitle = function(value) {
|
|
38260
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
38261
|
+
};
|
|
38262
|
+
|
|
38263
|
+
|
|
38264
|
+
|
|
38233
38265
|
/**
|
|
38234
38266
|
* List of repeated fields within this message type.
|
|
38235
38267
|
* @private {!Array<number>}
|
|
38236
38268
|
* @const
|
|
38237
38269
|
*/
|
|
38238
|
-
proto.game.SEOInstanceResponse.repeatedFields_ = [1,
|
|
38270
|
+
proto.game.SEOInstanceResponse.repeatedFields_ = [1,3];
|
|
38239
38271
|
|
|
38240
38272
|
|
|
38241
38273
|
|
|
@@ -38417,76 +38449,76 @@ proto.game.SEOInstanceResponse.prototype.clearAttributesList = function() {
|
|
|
38417
38449
|
|
|
38418
38450
|
|
|
38419
38451
|
/**
|
|
38420
|
-
*
|
|
38421
|
-
* @return {
|
|
38452
|
+
* optional string full_description = 2;
|
|
38453
|
+
* @return {string}
|
|
38422
38454
|
*/
|
|
38423
|
-
proto.game.SEOInstanceResponse.prototype.
|
|
38424
|
-
return /** @type{
|
|
38425
|
-
jspb.Message.getRepeatedWrapperField(this, proto.game.SEOInstanceRelation, 3));
|
|
38455
|
+
proto.game.SEOInstanceResponse.prototype.getFullDescription = function() {
|
|
38456
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
38426
38457
|
};
|
|
38427
38458
|
|
|
38428
38459
|
|
|
38429
38460
|
/**
|
|
38430
|
-
* @param {
|
|
38461
|
+
* @param {string} value
|
|
38431
38462
|
* @return {!proto.game.SEOInstanceResponse} returns this
|
|
38432
|
-
*/
|
|
38433
|
-
proto.game.SEOInstanceResponse.prototype.
|
|
38434
|
-
return jspb.Message.
|
|
38463
|
+
*/
|
|
38464
|
+
proto.game.SEOInstanceResponse.prototype.setFullDescription = function(value) {
|
|
38465
|
+
return jspb.Message.setField(this, 2, value);
|
|
38435
38466
|
};
|
|
38436
38467
|
|
|
38437
38468
|
|
|
38438
38469
|
/**
|
|
38439
|
-
*
|
|
38440
|
-
* @
|
|
38441
|
-
* @return {!proto.game.SEOInstanceRelation}
|
|
38470
|
+
* Clears the field making it undefined.
|
|
38471
|
+
* @return {!proto.game.SEOInstanceResponse} returns this
|
|
38442
38472
|
*/
|
|
38443
|
-
proto.game.SEOInstanceResponse.prototype.
|
|
38444
|
-
return jspb.Message.
|
|
38473
|
+
proto.game.SEOInstanceResponse.prototype.clearFullDescription = function() {
|
|
38474
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
38445
38475
|
};
|
|
38446
38476
|
|
|
38447
38477
|
|
|
38448
38478
|
/**
|
|
38449
|
-
*
|
|
38450
|
-
* @return {
|
|
38479
|
+
* Returns whether this field is set.
|
|
38480
|
+
* @return {boolean}
|
|
38451
38481
|
*/
|
|
38452
|
-
proto.game.SEOInstanceResponse.prototype.
|
|
38453
|
-
return
|
|
38482
|
+
proto.game.SEOInstanceResponse.prototype.hasFullDescription = function() {
|
|
38483
|
+
return jspb.Message.getField(this, 2) != null;
|
|
38454
38484
|
};
|
|
38455
38485
|
|
|
38456
38486
|
|
|
38457
38487
|
/**
|
|
38458
|
-
*
|
|
38459
|
-
* @return {
|
|
38488
|
+
* repeated SEOInstanceRelation relations = 3;
|
|
38489
|
+
* @return {!Array<!proto.game.SEOInstanceRelation>}
|
|
38460
38490
|
*/
|
|
38461
|
-
proto.game.SEOInstanceResponse.prototype.
|
|
38462
|
-
return /** @type
|
|
38491
|
+
proto.game.SEOInstanceResponse.prototype.getRelationsList = function() {
|
|
38492
|
+
return /** @type{!Array<!proto.game.SEOInstanceRelation>} */ (
|
|
38493
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.SEOInstanceRelation, 3));
|
|
38463
38494
|
};
|
|
38464
38495
|
|
|
38465
38496
|
|
|
38466
38497
|
/**
|
|
38467
|
-
* @param {
|
|
38498
|
+
* @param {!Array<!proto.game.SEOInstanceRelation>} value
|
|
38468
38499
|
* @return {!proto.game.SEOInstanceResponse} returns this
|
|
38469
|
-
|
|
38470
|
-
proto.game.SEOInstanceResponse.prototype.
|
|
38471
|
-
return jspb.Message.
|
|
38500
|
+
*/
|
|
38501
|
+
proto.game.SEOInstanceResponse.prototype.setRelationsList = function(value) {
|
|
38502
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
38472
38503
|
};
|
|
38473
38504
|
|
|
38474
38505
|
|
|
38475
38506
|
/**
|
|
38476
|
-
*
|
|
38477
|
-
* @
|
|
38507
|
+
* @param {!proto.game.SEOInstanceRelation=} opt_value
|
|
38508
|
+
* @param {number=} opt_index
|
|
38509
|
+
* @return {!proto.game.SEOInstanceRelation}
|
|
38478
38510
|
*/
|
|
38479
|
-
proto.game.SEOInstanceResponse.prototype.
|
|
38480
|
-
return jspb.Message.
|
|
38511
|
+
proto.game.SEOInstanceResponse.prototype.addRelations = function(opt_value, opt_index) {
|
|
38512
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.game.SEOInstanceRelation, opt_index);
|
|
38481
38513
|
};
|
|
38482
38514
|
|
|
38483
38515
|
|
|
38484
38516
|
/**
|
|
38485
|
-
*
|
|
38486
|
-
* @return {
|
|
38517
|
+
* Clears the list making it empty but non-null.
|
|
38518
|
+
* @return {!proto.game.SEOInstanceResponse} returns this
|
|
38487
38519
|
*/
|
|
38488
|
-
proto.game.SEOInstanceResponse.prototype.
|
|
38489
|
-
return
|
|
38520
|
+
proto.game.SEOInstanceResponse.prototype.clearRelationsList = function() {
|
|
38521
|
+
return this.setRelationsList([]);
|
|
38490
38522
|
};
|
|
38491
38523
|
|
|
38492
38524
|
|
package/loyalty/loyalty.proto
CHANGED
|
@@ -64,7 +64,8 @@ message LevelItem {
|
|
|
64
64
|
optional string image = 6;
|
|
65
65
|
optional string image_cdn = 7;
|
|
66
66
|
optional int32 value_to_complete = 8;
|
|
67
|
-
|
|
67
|
+
optional int32 value_from = 9;
|
|
68
|
+
repeated LevelTranslationItem translations = 10;
|
|
68
69
|
}
|
|
69
70
|
//Level CRUD | Requests
|
|
70
71
|
message LevelRequest {
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -2434,7 +2434,7 @@ proto.loyalty.GetFileRequest.prototype.setInstanceType = function(value) {
|
|
|
2434
2434
|
* @private {!Array<number>}
|
|
2435
2435
|
* @const
|
|
2436
2436
|
*/
|
|
2437
|
-
proto.loyalty.LevelItem.repeatedFields_ = [
|
|
2437
|
+
proto.loyalty.LevelItem.repeatedFields_ = [10];
|
|
2438
2438
|
|
|
2439
2439
|
|
|
2440
2440
|
|
|
@@ -2475,6 +2475,7 @@ proto.loyalty.LevelItem.toObject = function(includeInstance, msg) {
|
|
|
2475
2475
|
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2476
2476
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2477
2477
|
valueToComplete: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
2478
|
+
valueFrom: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
2478
2479
|
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
2479
2480
|
proto.loyalty.LevelTranslationItem.toObject, includeInstance)
|
|
2480
2481
|
};
|
|
@@ -2546,6 +2547,10 @@ proto.loyalty.LevelItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2546
2547
|
msg.setValueToComplete(value);
|
|
2547
2548
|
break;
|
|
2548
2549
|
case 9:
|
|
2550
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2551
|
+
msg.setValueFrom(value);
|
|
2552
|
+
break;
|
|
2553
|
+
case 10:
|
|
2549
2554
|
var value = new proto.loyalty.LevelTranslationItem;
|
|
2550
2555
|
reader.readMessage(value,proto.loyalty.LevelTranslationItem.deserializeBinaryFromReader);
|
|
2551
2556
|
msg.addTranslations(value);
|
|
@@ -2635,10 +2640,17 @@ proto.loyalty.LevelItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
2635
2640
|
f
|
|
2636
2641
|
);
|
|
2637
2642
|
}
|
|
2643
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
2644
|
+
if (f != null) {
|
|
2645
|
+
writer.writeInt32(
|
|
2646
|
+
9,
|
|
2647
|
+
f
|
|
2648
|
+
);
|
|
2649
|
+
}
|
|
2638
2650
|
f = message.getTranslationsList();
|
|
2639
2651
|
if (f.length > 0) {
|
|
2640
2652
|
writer.writeRepeatedMessage(
|
|
2641
|
-
|
|
2653
|
+
10,
|
|
2642
2654
|
f,
|
|
2643
2655
|
proto.loyalty.LevelTranslationItem.serializeBinaryToWriter
|
|
2644
2656
|
);
|
|
@@ -2935,12 +2947,48 @@ proto.loyalty.LevelItem.prototype.hasValueToComplete = function() {
|
|
|
2935
2947
|
|
|
2936
2948
|
|
|
2937
2949
|
/**
|
|
2938
|
-
*
|
|
2950
|
+
* optional int32 value_from = 9;
|
|
2951
|
+
* @return {number}
|
|
2952
|
+
*/
|
|
2953
|
+
proto.loyalty.LevelItem.prototype.getValueFrom = function() {
|
|
2954
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
2955
|
+
};
|
|
2956
|
+
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* @param {number} value
|
|
2960
|
+
* @return {!proto.loyalty.LevelItem} returns this
|
|
2961
|
+
*/
|
|
2962
|
+
proto.loyalty.LevelItem.prototype.setValueFrom = function(value) {
|
|
2963
|
+
return jspb.Message.setField(this, 9, value);
|
|
2964
|
+
};
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
/**
|
|
2968
|
+
* Clears the field making it undefined.
|
|
2969
|
+
* @return {!proto.loyalty.LevelItem} returns this
|
|
2970
|
+
*/
|
|
2971
|
+
proto.loyalty.LevelItem.prototype.clearValueFrom = function() {
|
|
2972
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
2973
|
+
};
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
/**
|
|
2977
|
+
* Returns whether this field is set.
|
|
2978
|
+
* @return {boolean}
|
|
2979
|
+
*/
|
|
2980
|
+
proto.loyalty.LevelItem.prototype.hasValueFrom = function() {
|
|
2981
|
+
return jspb.Message.getField(this, 9) != null;
|
|
2982
|
+
};
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
/**
|
|
2986
|
+
* repeated LevelTranslationItem translations = 10;
|
|
2939
2987
|
* @return {!Array<!proto.loyalty.LevelTranslationItem>}
|
|
2940
2988
|
*/
|
|
2941
2989
|
proto.loyalty.LevelItem.prototype.getTranslationsList = function() {
|
|
2942
2990
|
return /** @type{!Array<!proto.loyalty.LevelTranslationItem>} */ (
|
|
2943
|
-
jspb.Message.getRepeatedWrapperField(this, proto.loyalty.LevelTranslationItem,
|
|
2991
|
+
jspb.Message.getRepeatedWrapperField(this, proto.loyalty.LevelTranslationItem, 10));
|
|
2944
2992
|
};
|
|
2945
2993
|
|
|
2946
2994
|
|
|
@@ -2949,7 +2997,7 @@ proto.loyalty.LevelItem.prototype.getTranslationsList = function() {
|
|
|
2949
2997
|
* @return {!proto.loyalty.LevelItem} returns this
|
|
2950
2998
|
*/
|
|
2951
2999
|
proto.loyalty.LevelItem.prototype.setTranslationsList = function(value) {
|
|
2952
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
3000
|
+
return jspb.Message.setRepeatedWrapperField(this, 10, value);
|
|
2953
3001
|
};
|
|
2954
3002
|
|
|
2955
3003
|
|
|
@@ -2959,7 +3007,7 @@ proto.loyalty.LevelItem.prototype.setTranslationsList = function(value) {
|
|
|
2959
3007
|
* @return {!proto.loyalty.LevelTranslationItem}
|
|
2960
3008
|
*/
|
|
2961
3009
|
proto.loyalty.LevelItem.prototype.addTranslations = function(opt_value, opt_index) {
|
|
2962
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
3010
|
+
return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.loyalty.LevelTranslationItem, opt_index);
|
|
2963
3011
|
};
|
|
2964
3012
|
|
|
2965
3013
|
|