protobuf-platform 1.1.4 → 1.1.6
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
@@ -45,6 +45,7 @@ message TournamentItem {
|
|
45
45
|
repeated ActivationRuleItem rules = 11;
|
46
46
|
repeated ScoringRule scores = 12;
|
47
47
|
repeated RewardItem rewards = 13;
|
48
|
+
repeated ContentItem contents = 14;
|
48
49
|
}
|
49
50
|
message TournamentRequest {
|
50
51
|
oneof request {
|
@@ -134,7 +135,14 @@ message TournamentRewardsRequest {
|
|
134
135
|
int32 tournament_id = 1;
|
135
136
|
repeated RewardItem items = 2;
|
136
137
|
}
|
138
|
+
message ContentItem {
|
139
|
+
optional int32 id = 1;
|
140
|
+
optional int32 tournament_id = 2;
|
141
|
+
optional string locale = 3;
|
142
|
+
optional string content = 4;
|
143
|
+
}
|
137
144
|
message TournamentContentRequest {
|
138
145
|
int32 tournament_id = 1;
|
139
|
-
string
|
146
|
+
string locale = 2;
|
147
|
+
string content = 3;
|
140
148
|
}
|
@@ -22,6 +22,7 @@ var global = (function() {
|
|
22
22
|
}.call(null));
|
23
23
|
|
24
24
|
goog.exportSymbol('proto.tournament.ActivationRuleItem', null, global);
|
25
|
+
goog.exportSymbol('proto.tournament.ContentItem', null, global);
|
25
26
|
goog.exportSymbol('proto.tournament.File', null, global);
|
26
27
|
goog.exportSymbol('proto.tournament.GetFileRequest', null, global);
|
27
28
|
goog.exportSymbol('proto.tournament.GetTournamentRequest', null, global);
|
@@ -485,6 +486,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
485
486
|
*/
|
486
487
|
proto.tournament.TournamentRewardsRequest.displayName = 'proto.tournament.TournamentRewardsRequest';
|
487
488
|
}
|
489
|
+
/**
|
490
|
+
* Generated by JsPbCodeGenerator.
|
491
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
492
|
+
* server response, or constructed directly in Javascript. The array is used
|
493
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
494
|
+
* If no data is provided, the constructed object will be empty, but still
|
495
|
+
* valid.
|
496
|
+
* @extends {jspb.Message}
|
497
|
+
* @constructor
|
498
|
+
*/
|
499
|
+
proto.tournament.ContentItem = function(opt_data) {
|
500
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
501
|
+
};
|
502
|
+
goog.inherits(proto.tournament.ContentItem, jspb.Message);
|
503
|
+
if (goog.DEBUG && !COMPILED) {
|
504
|
+
/**
|
505
|
+
* @public
|
506
|
+
* @override
|
507
|
+
*/
|
508
|
+
proto.tournament.ContentItem.displayName = 'proto.tournament.ContentItem';
|
509
|
+
}
|
488
510
|
/**
|
489
511
|
* Generated by JsPbCodeGenerator.
|
490
512
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -1637,7 +1659,7 @@ proto.tournament.UserSearchRequest.prototype.hasCurrency = function() {
|
|
1637
1659
|
* @private {!Array<number>}
|
1638
1660
|
* @const
|
1639
1661
|
*/
|
1640
|
-
proto.tournament.TournamentItem.repeatedFields_ = [11,12,13];
|
1662
|
+
proto.tournament.TournamentItem.repeatedFields_ = [11,12,13,14];
|
1641
1663
|
|
1642
1664
|
|
1643
1665
|
|
@@ -1685,7 +1707,9 @@ proto.tournament.TournamentItem.toObject = function(includeInstance, msg) {
|
|
1685
1707
|
scoresList: jspb.Message.toObjectList(msg.getScoresList(),
|
1686
1708
|
proto.tournament.ScoringRule.toObject, includeInstance),
|
1687
1709
|
rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
|
1688
|
-
proto.tournament.RewardItem.toObject, includeInstance)
|
1710
|
+
proto.tournament.RewardItem.toObject, includeInstance),
|
1711
|
+
contentsList: jspb.Message.toObjectList(msg.getContentsList(),
|
1712
|
+
proto.tournament.ContentItem.toObject, includeInstance)
|
1689
1713
|
};
|
1690
1714
|
|
1691
1715
|
if (includeInstance) {
|
@@ -1777,6 +1801,11 @@ proto.tournament.TournamentItem.deserializeBinaryFromReader = function(msg, read
|
|
1777
1801
|
reader.readMessage(value,proto.tournament.RewardItem.deserializeBinaryFromReader);
|
1778
1802
|
msg.addRewards(value);
|
1779
1803
|
break;
|
1804
|
+
case 14:
|
1805
|
+
var value = new proto.tournament.ContentItem;
|
1806
|
+
reader.readMessage(value,proto.tournament.ContentItem.deserializeBinaryFromReader);
|
1807
|
+
msg.addContents(value);
|
1808
|
+
break;
|
1780
1809
|
default:
|
1781
1810
|
reader.skipField();
|
1782
1811
|
break;
|
@@ -1900,6 +1929,14 @@ proto.tournament.TournamentItem.serializeBinaryToWriter = function(message, writ
|
|
1900
1929
|
proto.tournament.RewardItem.serializeBinaryToWriter
|
1901
1930
|
);
|
1902
1931
|
}
|
1932
|
+
f = message.getContentsList();
|
1933
|
+
if (f.length > 0) {
|
1934
|
+
writer.writeRepeatedMessage(
|
1935
|
+
14,
|
1936
|
+
f,
|
1937
|
+
proto.tournament.ContentItem.serializeBinaryToWriter
|
1938
|
+
);
|
1939
|
+
}
|
1903
1940
|
};
|
1904
1941
|
|
1905
1942
|
|
@@ -2377,6 +2414,44 @@ proto.tournament.TournamentItem.prototype.clearRewardsList = function() {
|
|
2377
2414
|
};
|
2378
2415
|
|
2379
2416
|
|
2417
|
+
/**
|
2418
|
+
* repeated ContentItem contents = 14;
|
2419
|
+
* @return {!Array<!proto.tournament.ContentItem>}
|
2420
|
+
*/
|
2421
|
+
proto.tournament.TournamentItem.prototype.getContentsList = function() {
|
2422
|
+
return /** @type{!Array<!proto.tournament.ContentItem>} */ (
|
2423
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.ContentItem, 14));
|
2424
|
+
};
|
2425
|
+
|
2426
|
+
|
2427
|
+
/**
|
2428
|
+
* @param {!Array<!proto.tournament.ContentItem>} value
|
2429
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2430
|
+
*/
|
2431
|
+
proto.tournament.TournamentItem.prototype.setContentsList = function(value) {
|
2432
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
2433
|
+
};
|
2434
|
+
|
2435
|
+
|
2436
|
+
/**
|
2437
|
+
* @param {!proto.tournament.ContentItem=} opt_value
|
2438
|
+
* @param {number=} opt_index
|
2439
|
+
* @return {!proto.tournament.ContentItem}
|
2440
|
+
*/
|
2441
|
+
proto.tournament.TournamentItem.prototype.addContents = function(opt_value, opt_index) {
|
2442
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.tournament.ContentItem, opt_index);
|
2443
|
+
};
|
2444
|
+
|
2445
|
+
|
2446
|
+
/**
|
2447
|
+
* Clears the list making it empty but non-null.
|
2448
|
+
* @return {!proto.tournament.TournamentItem} returns this
|
2449
|
+
*/
|
2450
|
+
proto.tournament.TournamentItem.prototype.clearContentsList = function() {
|
2451
|
+
return this.setContentsList([]);
|
2452
|
+
};
|
2453
|
+
|
2454
|
+
|
2380
2455
|
|
2381
2456
|
/**
|
2382
2457
|
* Oneof group definitions for this message. Each group defines the field
|
@@ -6485,6 +6560,298 @@ proto.tournament.TournamentRewardsRequest.prototype.clearItemsList = function()
|
|
6485
6560
|
|
6486
6561
|
|
6487
6562
|
|
6563
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
6564
|
+
/**
|
6565
|
+
* Creates an object representation of this proto.
|
6566
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
6567
|
+
* Optional fields that are not set will be set to undefined.
|
6568
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
6569
|
+
* For the list of reserved names please see:
|
6570
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
6571
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
6572
|
+
* JSPB instance for transitional soy proto support:
|
6573
|
+
* http://goto/soy-param-migration
|
6574
|
+
* @return {!Object}
|
6575
|
+
*/
|
6576
|
+
proto.tournament.ContentItem.prototype.toObject = function(opt_includeInstance) {
|
6577
|
+
return proto.tournament.ContentItem.toObject(opt_includeInstance, this);
|
6578
|
+
};
|
6579
|
+
|
6580
|
+
|
6581
|
+
/**
|
6582
|
+
* Static version of the {@see toObject} method.
|
6583
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
6584
|
+
* the JSPB instance for transitional soy proto support:
|
6585
|
+
* http://goto/soy-param-migration
|
6586
|
+
* @param {!proto.tournament.ContentItem} msg The msg instance to transform.
|
6587
|
+
* @return {!Object}
|
6588
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6589
|
+
*/
|
6590
|
+
proto.tournament.ContentItem.toObject = function(includeInstance, msg) {
|
6591
|
+
var f, obj = {
|
6592
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
6593
|
+
tournamentId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
6594
|
+
locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
6595
|
+
content: jspb.Message.getFieldWithDefault(msg, 4, "")
|
6596
|
+
};
|
6597
|
+
|
6598
|
+
if (includeInstance) {
|
6599
|
+
obj.$jspbMessageInstance = msg;
|
6600
|
+
}
|
6601
|
+
return obj;
|
6602
|
+
};
|
6603
|
+
}
|
6604
|
+
|
6605
|
+
|
6606
|
+
/**
|
6607
|
+
* Deserializes binary data (in protobuf wire format).
|
6608
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
6609
|
+
* @return {!proto.tournament.ContentItem}
|
6610
|
+
*/
|
6611
|
+
proto.tournament.ContentItem.deserializeBinary = function(bytes) {
|
6612
|
+
var reader = new jspb.BinaryReader(bytes);
|
6613
|
+
var msg = new proto.tournament.ContentItem;
|
6614
|
+
return proto.tournament.ContentItem.deserializeBinaryFromReader(msg, reader);
|
6615
|
+
};
|
6616
|
+
|
6617
|
+
|
6618
|
+
/**
|
6619
|
+
* Deserializes binary data (in protobuf wire format) from the
|
6620
|
+
* given reader into the given message object.
|
6621
|
+
* @param {!proto.tournament.ContentItem} msg The message object to deserialize into.
|
6622
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
6623
|
+
* @return {!proto.tournament.ContentItem}
|
6624
|
+
*/
|
6625
|
+
proto.tournament.ContentItem.deserializeBinaryFromReader = function(msg, reader) {
|
6626
|
+
while (reader.nextField()) {
|
6627
|
+
if (reader.isEndGroup()) {
|
6628
|
+
break;
|
6629
|
+
}
|
6630
|
+
var field = reader.getFieldNumber();
|
6631
|
+
switch (field) {
|
6632
|
+
case 1:
|
6633
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6634
|
+
msg.setId(value);
|
6635
|
+
break;
|
6636
|
+
case 2:
|
6637
|
+
var value = /** @type {number} */ (reader.readInt32());
|
6638
|
+
msg.setTournamentId(value);
|
6639
|
+
break;
|
6640
|
+
case 3:
|
6641
|
+
var value = /** @type {string} */ (reader.readString());
|
6642
|
+
msg.setLocale(value);
|
6643
|
+
break;
|
6644
|
+
case 4:
|
6645
|
+
var value = /** @type {string} */ (reader.readString());
|
6646
|
+
msg.setContent(value);
|
6647
|
+
break;
|
6648
|
+
default:
|
6649
|
+
reader.skipField();
|
6650
|
+
break;
|
6651
|
+
}
|
6652
|
+
}
|
6653
|
+
return msg;
|
6654
|
+
};
|
6655
|
+
|
6656
|
+
|
6657
|
+
/**
|
6658
|
+
* Serializes the message to binary data (in protobuf wire format).
|
6659
|
+
* @return {!Uint8Array}
|
6660
|
+
*/
|
6661
|
+
proto.tournament.ContentItem.prototype.serializeBinary = function() {
|
6662
|
+
var writer = new jspb.BinaryWriter();
|
6663
|
+
proto.tournament.ContentItem.serializeBinaryToWriter(this, writer);
|
6664
|
+
return writer.getResultBuffer();
|
6665
|
+
};
|
6666
|
+
|
6667
|
+
|
6668
|
+
/**
|
6669
|
+
* Serializes the given message to binary data (in protobuf wire
|
6670
|
+
* format), writing to the given BinaryWriter.
|
6671
|
+
* @param {!proto.tournament.ContentItem} message
|
6672
|
+
* @param {!jspb.BinaryWriter} writer
|
6673
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
6674
|
+
*/
|
6675
|
+
proto.tournament.ContentItem.serializeBinaryToWriter = function(message, writer) {
|
6676
|
+
var f = undefined;
|
6677
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
6678
|
+
if (f != null) {
|
6679
|
+
writer.writeInt32(
|
6680
|
+
1,
|
6681
|
+
f
|
6682
|
+
);
|
6683
|
+
}
|
6684
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
6685
|
+
if (f != null) {
|
6686
|
+
writer.writeInt32(
|
6687
|
+
2,
|
6688
|
+
f
|
6689
|
+
);
|
6690
|
+
}
|
6691
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
6692
|
+
if (f != null) {
|
6693
|
+
writer.writeString(
|
6694
|
+
3,
|
6695
|
+
f
|
6696
|
+
);
|
6697
|
+
}
|
6698
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
6699
|
+
if (f != null) {
|
6700
|
+
writer.writeString(
|
6701
|
+
4,
|
6702
|
+
f
|
6703
|
+
);
|
6704
|
+
}
|
6705
|
+
};
|
6706
|
+
|
6707
|
+
|
6708
|
+
/**
|
6709
|
+
* optional int32 id = 1;
|
6710
|
+
* @return {number}
|
6711
|
+
*/
|
6712
|
+
proto.tournament.ContentItem.prototype.getId = function() {
|
6713
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
6714
|
+
};
|
6715
|
+
|
6716
|
+
|
6717
|
+
/**
|
6718
|
+
* @param {number} value
|
6719
|
+
* @return {!proto.tournament.ContentItem} returns this
|
6720
|
+
*/
|
6721
|
+
proto.tournament.ContentItem.prototype.setId = function(value) {
|
6722
|
+
return jspb.Message.setField(this, 1, value);
|
6723
|
+
};
|
6724
|
+
|
6725
|
+
|
6726
|
+
/**
|
6727
|
+
* Clears the field making it undefined.
|
6728
|
+
* @return {!proto.tournament.ContentItem} returns this
|
6729
|
+
*/
|
6730
|
+
proto.tournament.ContentItem.prototype.clearId = function() {
|
6731
|
+
return jspb.Message.setField(this, 1, undefined);
|
6732
|
+
};
|
6733
|
+
|
6734
|
+
|
6735
|
+
/**
|
6736
|
+
* Returns whether this field is set.
|
6737
|
+
* @return {boolean}
|
6738
|
+
*/
|
6739
|
+
proto.tournament.ContentItem.prototype.hasId = function() {
|
6740
|
+
return jspb.Message.getField(this, 1) != null;
|
6741
|
+
};
|
6742
|
+
|
6743
|
+
|
6744
|
+
/**
|
6745
|
+
* optional int32 tournament_id = 2;
|
6746
|
+
* @return {number}
|
6747
|
+
*/
|
6748
|
+
proto.tournament.ContentItem.prototype.getTournamentId = function() {
|
6749
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
6750
|
+
};
|
6751
|
+
|
6752
|
+
|
6753
|
+
/**
|
6754
|
+
* @param {number} value
|
6755
|
+
* @return {!proto.tournament.ContentItem} returns this
|
6756
|
+
*/
|
6757
|
+
proto.tournament.ContentItem.prototype.setTournamentId = function(value) {
|
6758
|
+
return jspb.Message.setField(this, 2, value);
|
6759
|
+
};
|
6760
|
+
|
6761
|
+
|
6762
|
+
/**
|
6763
|
+
* Clears the field making it undefined.
|
6764
|
+
* @return {!proto.tournament.ContentItem} returns this
|
6765
|
+
*/
|
6766
|
+
proto.tournament.ContentItem.prototype.clearTournamentId = function() {
|
6767
|
+
return jspb.Message.setField(this, 2, undefined);
|
6768
|
+
};
|
6769
|
+
|
6770
|
+
|
6771
|
+
/**
|
6772
|
+
* Returns whether this field is set.
|
6773
|
+
* @return {boolean}
|
6774
|
+
*/
|
6775
|
+
proto.tournament.ContentItem.prototype.hasTournamentId = function() {
|
6776
|
+
return jspb.Message.getField(this, 2) != null;
|
6777
|
+
};
|
6778
|
+
|
6779
|
+
|
6780
|
+
/**
|
6781
|
+
* optional string locale = 3;
|
6782
|
+
* @return {string}
|
6783
|
+
*/
|
6784
|
+
proto.tournament.ContentItem.prototype.getLocale = function() {
|
6785
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
6786
|
+
};
|
6787
|
+
|
6788
|
+
|
6789
|
+
/**
|
6790
|
+
* @param {string} value
|
6791
|
+
* @return {!proto.tournament.ContentItem} returns this
|
6792
|
+
*/
|
6793
|
+
proto.tournament.ContentItem.prototype.setLocale = function(value) {
|
6794
|
+
return jspb.Message.setField(this, 3, value);
|
6795
|
+
};
|
6796
|
+
|
6797
|
+
|
6798
|
+
/**
|
6799
|
+
* Clears the field making it undefined.
|
6800
|
+
* @return {!proto.tournament.ContentItem} returns this
|
6801
|
+
*/
|
6802
|
+
proto.tournament.ContentItem.prototype.clearLocale = function() {
|
6803
|
+
return jspb.Message.setField(this, 3, undefined);
|
6804
|
+
};
|
6805
|
+
|
6806
|
+
|
6807
|
+
/**
|
6808
|
+
* Returns whether this field is set.
|
6809
|
+
* @return {boolean}
|
6810
|
+
*/
|
6811
|
+
proto.tournament.ContentItem.prototype.hasLocale = function() {
|
6812
|
+
return jspb.Message.getField(this, 3) != null;
|
6813
|
+
};
|
6814
|
+
|
6815
|
+
|
6816
|
+
/**
|
6817
|
+
* optional string content = 4;
|
6818
|
+
* @return {string}
|
6819
|
+
*/
|
6820
|
+
proto.tournament.ContentItem.prototype.getContent = function() {
|
6821
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
6822
|
+
};
|
6823
|
+
|
6824
|
+
|
6825
|
+
/**
|
6826
|
+
* @param {string} value
|
6827
|
+
* @return {!proto.tournament.ContentItem} returns this
|
6828
|
+
*/
|
6829
|
+
proto.tournament.ContentItem.prototype.setContent = function(value) {
|
6830
|
+
return jspb.Message.setField(this, 4, value);
|
6831
|
+
};
|
6832
|
+
|
6833
|
+
|
6834
|
+
/**
|
6835
|
+
* Clears the field making it undefined.
|
6836
|
+
* @return {!proto.tournament.ContentItem} returns this
|
6837
|
+
*/
|
6838
|
+
proto.tournament.ContentItem.prototype.clearContent = function() {
|
6839
|
+
return jspb.Message.setField(this, 4, undefined);
|
6840
|
+
};
|
6841
|
+
|
6842
|
+
|
6843
|
+
/**
|
6844
|
+
* Returns whether this field is set.
|
6845
|
+
* @return {boolean}
|
6846
|
+
*/
|
6847
|
+
proto.tournament.ContentItem.prototype.hasContent = function() {
|
6848
|
+
return jspb.Message.getField(this, 4) != null;
|
6849
|
+
};
|
6850
|
+
|
6851
|
+
|
6852
|
+
|
6853
|
+
|
6854
|
+
|
6488
6855
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
6489
6856
|
/**
|
6490
6857
|
* Creates an object representation of this proto.
|
@@ -6515,7 +6882,8 @@ proto.tournament.TournamentContentRequest.prototype.toObject = function(opt_incl
|
|
6515
6882
|
proto.tournament.TournamentContentRequest.toObject = function(includeInstance, msg) {
|
6516
6883
|
var f, obj = {
|
6517
6884
|
tournamentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
6518
|
-
|
6885
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
6886
|
+
content: jspb.Message.getFieldWithDefault(msg, 3, "")
|
6519
6887
|
};
|
6520
6888
|
|
6521
6889
|
if (includeInstance) {
|
@@ -6557,6 +6925,10 @@ proto.tournament.TournamentContentRequest.deserializeBinaryFromReader = function
|
|
6557
6925
|
msg.setTournamentId(value);
|
6558
6926
|
break;
|
6559
6927
|
case 2:
|
6928
|
+
var value = /** @type {string} */ (reader.readString());
|
6929
|
+
msg.setLocale(value);
|
6930
|
+
break;
|
6931
|
+
case 3:
|
6560
6932
|
var value = /** @type {string} */ (reader.readString());
|
6561
6933
|
msg.setContent(value);
|
6562
6934
|
break;
|
@@ -6596,13 +6968,20 @@ proto.tournament.TournamentContentRequest.serializeBinaryToWriter = function(mes
|
|
6596
6968
|
f
|
6597
6969
|
);
|
6598
6970
|
}
|
6599
|
-
f = message.
|
6971
|
+
f = message.getLocale();
|
6600
6972
|
if (f.length > 0) {
|
6601
6973
|
writer.writeString(
|
6602
6974
|
2,
|
6603
6975
|
f
|
6604
6976
|
);
|
6605
6977
|
}
|
6978
|
+
f = message.getContent();
|
6979
|
+
if (f.length > 0) {
|
6980
|
+
writer.writeString(
|
6981
|
+
3,
|
6982
|
+
f
|
6983
|
+
);
|
6984
|
+
}
|
6606
6985
|
};
|
6607
6986
|
|
6608
6987
|
|
@@ -6625,10 +7004,10 @@ proto.tournament.TournamentContentRequest.prototype.setTournamentId = function(v
|
|
6625
7004
|
|
6626
7005
|
|
6627
7006
|
/**
|
6628
|
-
* optional string
|
7007
|
+
* optional string locale = 2;
|
6629
7008
|
* @return {string}
|
6630
7009
|
*/
|
6631
|
-
proto.tournament.TournamentContentRequest.prototype.
|
7010
|
+
proto.tournament.TournamentContentRequest.prototype.getLocale = function() {
|
6632
7011
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
6633
7012
|
};
|
6634
7013
|
|
@@ -6637,9 +7016,27 @@ proto.tournament.TournamentContentRequest.prototype.getContent = function() {
|
|
6637
7016
|
* @param {string} value
|
6638
7017
|
* @return {!proto.tournament.TournamentContentRequest} returns this
|
6639
7018
|
*/
|
6640
|
-
proto.tournament.TournamentContentRequest.prototype.
|
7019
|
+
proto.tournament.TournamentContentRequest.prototype.setLocale = function(value) {
|
6641
7020
|
return jspb.Message.setProto3StringField(this, 2, value);
|
6642
7021
|
};
|
6643
7022
|
|
6644
7023
|
|
7024
|
+
/**
|
7025
|
+
* optional string content = 3;
|
7026
|
+
* @return {string}
|
7027
|
+
*/
|
7028
|
+
proto.tournament.TournamentContentRequest.prototype.getContent = function() {
|
7029
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
7030
|
+
};
|
7031
|
+
|
7032
|
+
|
7033
|
+
/**
|
7034
|
+
* @param {string} value
|
7035
|
+
* @return {!proto.tournament.TournamentContentRequest} returns this
|
7036
|
+
*/
|
7037
|
+
proto.tournament.TournamentContentRequest.prototype.setContent = function(value) {
|
7038
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
7039
|
+
};
|
7040
|
+
|
7041
|
+
|
6645
7042
|
goog.object.extend(exports, proto.tournament);
|