protobuf-platform 1.2.564 → 1.2.566
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
|
@@ -207,11 +207,15 @@ message ContentItem {
|
|
|
207
207
|
optional int32 tournament_id = 2;
|
|
208
208
|
optional string locale = 3;
|
|
209
209
|
optional string content = 4;
|
|
210
|
+
optional string title = 5;
|
|
211
|
+
optional string description = 6;
|
|
210
212
|
}
|
|
211
213
|
message TournamentContentRequest {
|
|
212
214
|
int32 tournament_id = 1;
|
|
213
215
|
string locale = 2;
|
|
214
216
|
string content = 3;
|
|
217
|
+
optional string title = 4;
|
|
218
|
+
optional string description = 5;
|
|
215
219
|
}
|
|
216
220
|
message TournamentGamesRequest {
|
|
217
221
|
int32 tournament_id = 1;
|
|
@@ -9522,7 +9522,9 @@ proto.tournament.ContentItem.toObject = function(includeInstance, msg) {
|
|
|
9522
9522
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9523
9523
|
tournamentId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9524
9524
|
locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9525
|
-
content: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
9525
|
+
content: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9526
|
+
title: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
9527
|
+
description: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
9526
9528
|
};
|
|
9527
9529
|
|
|
9528
9530
|
if (includeInstance) {
|
|
@@ -9575,6 +9577,14 @@ proto.tournament.ContentItem.deserializeBinaryFromReader = function(msg, reader)
|
|
|
9575
9577
|
var value = /** @type {string} */ (reader.readString());
|
|
9576
9578
|
msg.setContent(value);
|
|
9577
9579
|
break;
|
|
9580
|
+
case 5:
|
|
9581
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9582
|
+
msg.setTitle(value);
|
|
9583
|
+
break;
|
|
9584
|
+
case 6:
|
|
9585
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9586
|
+
msg.setDescription(value);
|
|
9587
|
+
break;
|
|
9578
9588
|
default:
|
|
9579
9589
|
reader.skipField();
|
|
9580
9590
|
break;
|
|
@@ -9632,6 +9642,20 @@ proto.tournament.ContentItem.serializeBinaryToWriter = function(message, writer)
|
|
|
9632
9642
|
f
|
|
9633
9643
|
);
|
|
9634
9644
|
}
|
|
9645
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
9646
|
+
if (f != null) {
|
|
9647
|
+
writer.writeString(
|
|
9648
|
+
5,
|
|
9649
|
+
f
|
|
9650
|
+
);
|
|
9651
|
+
}
|
|
9652
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
9653
|
+
if (f != null) {
|
|
9654
|
+
writer.writeString(
|
|
9655
|
+
6,
|
|
9656
|
+
f
|
|
9657
|
+
);
|
|
9658
|
+
}
|
|
9635
9659
|
};
|
|
9636
9660
|
|
|
9637
9661
|
|
|
@@ -9779,6 +9803,78 @@ proto.tournament.ContentItem.prototype.hasContent = function() {
|
|
|
9779
9803
|
};
|
|
9780
9804
|
|
|
9781
9805
|
|
|
9806
|
+
/**
|
|
9807
|
+
* optional string title = 5;
|
|
9808
|
+
* @return {string}
|
|
9809
|
+
*/
|
|
9810
|
+
proto.tournament.ContentItem.prototype.getTitle = function() {
|
|
9811
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
9812
|
+
};
|
|
9813
|
+
|
|
9814
|
+
|
|
9815
|
+
/**
|
|
9816
|
+
* @param {string} value
|
|
9817
|
+
* @return {!proto.tournament.ContentItem} returns this
|
|
9818
|
+
*/
|
|
9819
|
+
proto.tournament.ContentItem.prototype.setTitle = function(value) {
|
|
9820
|
+
return jspb.Message.setField(this, 5, value);
|
|
9821
|
+
};
|
|
9822
|
+
|
|
9823
|
+
|
|
9824
|
+
/**
|
|
9825
|
+
* Clears the field making it undefined.
|
|
9826
|
+
* @return {!proto.tournament.ContentItem} returns this
|
|
9827
|
+
*/
|
|
9828
|
+
proto.tournament.ContentItem.prototype.clearTitle = function() {
|
|
9829
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
9830
|
+
};
|
|
9831
|
+
|
|
9832
|
+
|
|
9833
|
+
/**
|
|
9834
|
+
* Returns whether this field is set.
|
|
9835
|
+
* @return {boolean}
|
|
9836
|
+
*/
|
|
9837
|
+
proto.tournament.ContentItem.prototype.hasTitle = function() {
|
|
9838
|
+
return jspb.Message.getField(this, 5) != null;
|
|
9839
|
+
};
|
|
9840
|
+
|
|
9841
|
+
|
|
9842
|
+
/**
|
|
9843
|
+
* optional string description = 6;
|
|
9844
|
+
* @return {string}
|
|
9845
|
+
*/
|
|
9846
|
+
proto.tournament.ContentItem.prototype.getDescription = function() {
|
|
9847
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
9848
|
+
};
|
|
9849
|
+
|
|
9850
|
+
|
|
9851
|
+
/**
|
|
9852
|
+
* @param {string} value
|
|
9853
|
+
* @return {!proto.tournament.ContentItem} returns this
|
|
9854
|
+
*/
|
|
9855
|
+
proto.tournament.ContentItem.prototype.setDescription = function(value) {
|
|
9856
|
+
return jspb.Message.setField(this, 6, value);
|
|
9857
|
+
};
|
|
9858
|
+
|
|
9859
|
+
|
|
9860
|
+
/**
|
|
9861
|
+
* Clears the field making it undefined.
|
|
9862
|
+
* @return {!proto.tournament.ContentItem} returns this
|
|
9863
|
+
*/
|
|
9864
|
+
proto.tournament.ContentItem.prototype.clearDescription = function() {
|
|
9865
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
9866
|
+
};
|
|
9867
|
+
|
|
9868
|
+
|
|
9869
|
+
/**
|
|
9870
|
+
* Returns whether this field is set.
|
|
9871
|
+
* @return {boolean}
|
|
9872
|
+
*/
|
|
9873
|
+
proto.tournament.ContentItem.prototype.hasDescription = function() {
|
|
9874
|
+
return jspb.Message.getField(this, 6) != null;
|
|
9875
|
+
};
|
|
9876
|
+
|
|
9877
|
+
|
|
9782
9878
|
|
|
9783
9879
|
|
|
9784
9880
|
|
|
@@ -9813,7 +9909,9 @@ proto.tournament.TournamentContentRequest.toObject = function(includeInstance, m
|
|
|
9813
9909
|
var f, obj = {
|
|
9814
9910
|
tournamentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9815
9911
|
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9816
|
-
content: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
9912
|
+
content: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9913
|
+
title: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9914
|
+
description: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
9817
9915
|
};
|
|
9818
9916
|
|
|
9819
9917
|
if (includeInstance) {
|
|
@@ -9862,6 +9960,14 @@ proto.tournament.TournamentContentRequest.deserializeBinaryFromReader = function
|
|
|
9862
9960
|
var value = /** @type {string} */ (reader.readString());
|
|
9863
9961
|
msg.setContent(value);
|
|
9864
9962
|
break;
|
|
9963
|
+
case 4:
|
|
9964
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9965
|
+
msg.setTitle(value);
|
|
9966
|
+
break;
|
|
9967
|
+
case 5:
|
|
9968
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9969
|
+
msg.setDescription(value);
|
|
9970
|
+
break;
|
|
9865
9971
|
default:
|
|
9866
9972
|
reader.skipField();
|
|
9867
9973
|
break;
|
|
@@ -9912,6 +10018,20 @@ proto.tournament.TournamentContentRequest.serializeBinaryToWriter = function(mes
|
|
|
9912
10018
|
f
|
|
9913
10019
|
);
|
|
9914
10020
|
}
|
|
10021
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
10022
|
+
if (f != null) {
|
|
10023
|
+
writer.writeString(
|
|
10024
|
+
4,
|
|
10025
|
+
f
|
|
10026
|
+
);
|
|
10027
|
+
}
|
|
10028
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
10029
|
+
if (f != null) {
|
|
10030
|
+
writer.writeString(
|
|
10031
|
+
5,
|
|
10032
|
+
f
|
|
10033
|
+
);
|
|
10034
|
+
}
|
|
9915
10035
|
};
|
|
9916
10036
|
|
|
9917
10037
|
|
|
@@ -9969,6 +10089,78 @@ proto.tournament.TournamentContentRequest.prototype.setContent = function(value)
|
|
|
9969
10089
|
};
|
|
9970
10090
|
|
|
9971
10091
|
|
|
10092
|
+
/**
|
|
10093
|
+
* optional string title = 4;
|
|
10094
|
+
* @return {string}
|
|
10095
|
+
*/
|
|
10096
|
+
proto.tournament.TournamentContentRequest.prototype.getTitle = function() {
|
|
10097
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
10098
|
+
};
|
|
10099
|
+
|
|
10100
|
+
|
|
10101
|
+
/**
|
|
10102
|
+
* @param {string} value
|
|
10103
|
+
* @return {!proto.tournament.TournamentContentRequest} returns this
|
|
10104
|
+
*/
|
|
10105
|
+
proto.tournament.TournamentContentRequest.prototype.setTitle = function(value) {
|
|
10106
|
+
return jspb.Message.setField(this, 4, value);
|
|
10107
|
+
};
|
|
10108
|
+
|
|
10109
|
+
|
|
10110
|
+
/**
|
|
10111
|
+
* Clears the field making it undefined.
|
|
10112
|
+
* @return {!proto.tournament.TournamentContentRequest} returns this
|
|
10113
|
+
*/
|
|
10114
|
+
proto.tournament.TournamentContentRequest.prototype.clearTitle = function() {
|
|
10115
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
10116
|
+
};
|
|
10117
|
+
|
|
10118
|
+
|
|
10119
|
+
/**
|
|
10120
|
+
* Returns whether this field is set.
|
|
10121
|
+
* @return {boolean}
|
|
10122
|
+
*/
|
|
10123
|
+
proto.tournament.TournamentContentRequest.prototype.hasTitle = function() {
|
|
10124
|
+
return jspb.Message.getField(this, 4) != null;
|
|
10125
|
+
};
|
|
10126
|
+
|
|
10127
|
+
|
|
10128
|
+
/**
|
|
10129
|
+
* optional string description = 5;
|
|
10130
|
+
* @return {string}
|
|
10131
|
+
*/
|
|
10132
|
+
proto.tournament.TournamentContentRequest.prototype.getDescription = function() {
|
|
10133
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
10134
|
+
};
|
|
10135
|
+
|
|
10136
|
+
|
|
10137
|
+
/**
|
|
10138
|
+
* @param {string} value
|
|
10139
|
+
* @return {!proto.tournament.TournamentContentRequest} returns this
|
|
10140
|
+
*/
|
|
10141
|
+
proto.tournament.TournamentContentRequest.prototype.setDescription = function(value) {
|
|
10142
|
+
return jspb.Message.setField(this, 5, value);
|
|
10143
|
+
};
|
|
10144
|
+
|
|
10145
|
+
|
|
10146
|
+
/**
|
|
10147
|
+
* Clears the field making it undefined.
|
|
10148
|
+
* @return {!proto.tournament.TournamentContentRequest} returns this
|
|
10149
|
+
*/
|
|
10150
|
+
proto.tournament.TournamentContentRequest.prototype.clearDescription = function() {
|
|
10151
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
10152
|
+
};
|
|
10153
|
+
|
|
10154
|
+
|
|
10155
|
+
/**
|
|
10156
|
+
* Returns whether this field is set.
|
|
10157
|
+
* @return {boolean}
|
|
10158
|
+
*/
|
|
10159
|
+
proto.tournament.TournamentContentRequest.prototype.hasDescription = function() {
|
|
10160
|
+
return jspb.Message.getField(this, 5) != null;
|
|
10161
|
+
};
|
|
10162
|
+
|
|
10163
|
+
|
|
9972
10164
|
|
|
9973
10165
|
/**
|
|
9974
10166
|
* List of repeated fields within this message type.
|