protobuf-platform 1.1.4 → 1.1.5
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/package.json
CHANGED
@@ -6515,7 +6515,8 @@ proto.tournament.TournamentContentRequest.prototype.toObject = function(opt_incl
|
|
6515
6515
|
proto.tournament.TournamentContentRequest.toObject = function(includeInstance, msg) {
|
6516
6516
|
var f, obj = {
|
6517
6517
|
tournamentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
6518
|
-
|
6518
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
6519
|
+
content: jspb.Message.getFieldWithDefault(msg, 3, "")
|
6519
6520
|
};
|
6520
6521
|
|
6521
6522
|
if (includeInstance) {
|
@@ -6557,6 +6558,10 @@ proto.tournament.TournamentContentRequest.deserializeBinaryFromReader = function
|
|
6557
6558
|
msg.setTournamentId(value);
|
6558
6559
|
break;
|
6559
6560
|
case 2:
|
6561
|
+
var value = /** @type {string} */ (reader.readString());
|
6562
|
+
msg.setLocale(value);
|
6563
|
+
break;
|
6564
|
+
case 3:
|
6560
6565
|
var value = /** @type {string} */ (reader.readString());
|
6561
6566
|
msg.setContent(value);
|
6562
6567
|
break;
|
@@ -6596,13 +6601,20 @@ proto.tournament.TournamentContentRequest.serializeBinaryToWriter = function(mes
|
|
6596
6601
|
f
|
6597
6602
|
);
|
6598
6603
|
}
|
6599
|
-
f = message.
|
6604
|
+
f = message.getLocale();
|
6600
6605
|
if (f.length > 0) {
|
6601
6606
|
writer.writeString(
|
6602
6607
|
2,
|
6603
6608
|
f
|
6604
6609
|
);
|
6605
6610
|
}
|
6611
|
+
f = message.getContent();
|
6612
|
+
if (f.length > 0) {
|
6613
|
+
writer.writeString(
|
6614
|
+
3,
|
6615
|
+
f
|
6616
|
+
);
|
6617
|
+
}
|
6606
6618
|
};
|
6607
6619
|
|
6608
6620
|
|
@@ -6625,10 +6637,10 @@ proto.tournament.TournamentContentRequest.prototype.setTournamentId = function(v
|
|
6625
6637
|
|
6626
6638
|
|
6627
6639
|
/**
|
6628
|
-
* optional string
|
6640
|
+
* optional string locale = 2;
|
6629
6641
|
* @return {string}
|
6630
6642
|
*/
|
6631
|
-
proto.tournament.TournamentContentRequest.prototype.
|
6643
|
+
proto.tournament.TournamentContentRequest.prototype.getLocale = function() {
|
6632
6644
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
6633
6645
|
};
|
6634
6646
|
|
@@ -6637,9 +6649,27 @@ proto.tournament.TournamentContentRequest.prototype.getContent = function() {
|
|
6637
6649
|
* @param {string} value
|
6638
6650
|
* @return {!proto.tournament.TournamentContentRequest} returns this
|
6639
6651
|
*/
|
6640
|
-
proto.tournament.TournamentContentRequest.prototype.
|
6652
|
+
proto.tournament.TournamentContentRequest.prototype.setLocale = function(value) {
|
6641
6653
|
return jspb.Message.setProto3StringField(this, 2, value);
|
6642
6654
|
};
|
6643
6655
|
|
6644
6656
|
|
6657
|
+
/**
|
6658
|
+
* optional string content = 3;
|
6659
|
+
* @return {string}
|
6660
|
+
*/
|
6661
|
+
proto.tournament.TournamentContentRequest.prototype.getContent = function() {
|
6662
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
6663
|
+
};
|
6664
|
+
|
6665
|
+
|
6666
|
+
/**
|
6667
|
+
* @param {string} value
|
6668
|
+
* @return {!proto.tournament.TournamentContentRequest} returns this
|
6669
|
+
*/
|
6670
|
+
proto.tournament.TournamentContentRequest.prototype.setContent = function(value) {
|
6671
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
6672
|
+
};
|
6673
|
+
|
6674
|
+
|
6645
6675
|
goog.object.extend(exports, proto.tournament);
|