protobuf-platform 1.2.565 → 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
|
@@ -9909,7 +9909,9 @@ proto.tournament.TournamentContentRequest.toObject = function(includeInstance, m
|
|
|
9909
9909
|
var f, obj = {
|
|
9910
9910
|
tournamentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9911
9911
|
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9912
|
-
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, "")
|
|
9913
9915
|
};
|
|
9914
9916
|
|
|
9915
9917
|
if (includeInstance) {
|
|
@@ -9958,6 +9960,14 @@ proto.tournament.TournamentContentRequest.deserializeBinaryFromReader = function
|
|
|
9958
9960
|
var value = /** @type {string} */ (reader.readString());
|
|
9959
9961
|
msg.setContent(value);
|
|
9960
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;
|
|
9961
9971
|
default:
|
|
9962
9972
|
reader.skipField();
|
|
9963
9973
|
break;
|
|
@@ -10008,6 +10018,20 @@ proto.tournament.TournamentContentRequest.serializeBinaryToWriter = function(mes
|
|
|
10008
10018
|
f
|
|
10009
10019
|
);
|
|
10010
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
|
+
}
|
|
10011
10035
|
};
|
|
10012
10036
|
|
|
10013
10037
|
|
|
@@ -10065,6 +10089,78 @@ proto.tournament.TournamentContentRequest.prototype.setContent = function(value)
|
|
|
10065
10089
|
};
|
|
10066
10090
|
|
|
10067
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
|
+
|
|
10068
10164
|
|
|
10069
10165
|
/**
|
|
10070
10166
|
* List of repeated fields within this message type.
|