protobuf-platform 1.0.29 → 1.0.31
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 +14 -8
- package/game/game_pb.js +64 -243
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -26,16 +26,22 @@ message CategoryItem {
|
|
26
26
|
}
|
27
27
|
//Category CRUD | Requests
|
28
28
|
message CategoryRequest {
|
29
|
+
//oneof request {
|
30
|
+
// string title = 1;
|
31
|
+
// MetaDataFile metadata = 2;
|
32
|
+
// string slug = 3;
|
33
|
+
// int32 category_id = 4;
|
34
|
+
//}
|
35
|
+
//int32 id = 5;
|
36
|
+
//optional string description = 6;
|
37
|
+
//optional int32 is_active = 7;
|
38
|
+
//optional File file = 8;
|
29
39
|
oneof request {
|
30
|
-
string
|
31
|
-
|
32
|
-
|
40
|
+
string one = 1;
|
41
|
+
string two = 2;
|
42
|
+
string three = 3;
|
43
|
+
string four = 4;
|
33
44
|
}
|
34
|
-
int32 id = 5;
|
35
|
-
optional string slug = 6;
|
36
|
-
optional string description = 7;
|
37
|
-
optional int32 is_active = 8;
|
38
|
-
optional File file = 9;
|
39
45
|
}
|
40
46
|
message GetCategoryRequest {
|
41
47
|
int32 id = 1;
|
package/game/game_pb.js
CHANGED
@@ -921,16 +921,17 @@ proto.game.CategoryItem.prototype.hasImagePath = function() {
|
|
921
921
|
* @private {!Array<!Array<number>>}
|
922
922
|
* @const
|
923
923
|
*/
|
924
|
-
proto.game.CategoryRequest.oneofGroups_ = [[2,3,4]];
|
924
|
+
proto.game.CategoryRequest.oneofGroups_ = [[1,2,3,4]];
|
925
925
|
|
926
926
|
/**
|
927
927
|
* @enum {number}
|
928
928
|
*/
|
929
929
|
proto.game.CategoryRequest.RequestCase = {
|
930
930
|
REQUEST_NOT_SET: 0,
|
931
|
-
|
932
|
-
|
933
|
-
|
931
|
+
ONE: 1,
|
932
|
+
TWO: 2,
|
933
|
+
THREE: 3,
|
934
|
+
FOUR: 4
|
934
935
|
};
|
935
936
|
|
936
937
|
/**
|
@@ -971,14 +972,10 @@ proto.game.CategoryRequest.prototype.toObject = function(opt_includeInstance) {
|
|
971
972
|
*/
|
972
973
|
proto.game.CategoryRequest.toObject = function(includeInstance, msg) {
|
973
974
|
var f, obj = {
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
slug: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
979
|
-
description: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
980
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
981
|
-
file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f)
|
975
|
+
one: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
976
|
+
two: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
977
|
+
three: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
978
|
+
four: jspb.Message.getFieldWithDefault(msg, 4, "")
|
982
979
|
};
|
983
980
|
|
984
981
|
if (includeInstance) {
|
@@ -1015,39 +1012,21 @@ proto.game.CategoryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1015
1012
|
}
|
1016
1013
|
var field = reader.getFieldNumber();
|
1017
1014
|
switch (field) {
|
1015
|
+
case 1:
|
1016
|
+
var value = /** @type {string} */ (reader.readString());
|
1017
|
+
msg.setOne(value);
|
1018
|
+
break;
|
1018
1019
|
case 2:
|
1019
1020
|
var value = /** @type {string} */ (reader.readString());
|
1020
|
-
msg.
|
1021
|
+
msg.setTwo(value);
|
1021
1022
|
break;
|
1022
1023
|
case 3:
|
1023
|
-
var value = new proto.game.MetaDataFile;
|
1024
|
-
reader.readMessage(value,proto.game.MetaDataFile.deserializeBinaryFromReader);
|
1025
|
-
msg.setMetadata(value);
|
1026
|
-
break;
|
1027
|
-
case 4:
|
1028
|
-
var value = /** @type {number} */ (reader.readInt32());
|
1029
|
-
msg.setCategoryId(value);
|
1030
|
-
break;
|
1031
|
-
case 5:
|
1032
|
-
var value = /** @type {number} */ (reader.readInt32());
|
1033
|
-
msg.setId(value);
|
1034
|
-
break;
|
1035
|
-
case 6:
|
1036
1024
|
var value = /** @type {string} */ (reader.readString());
|
1037
|
-
msg.
|
1025
|
+
msg.setThree(value);
|
1038
1026
|
break;
|
1039
|
-
case
|
1027
|
+
case 4:
|
1040
1028
|
var value = /** @type {string} */ (reader.readString());
|
1041
|
-
msg.
|
1042
|
-
break;
|
1043
|
-
case 8:
|
1044
|
-
var value = /** @type {number} */ (reader.readInt32());
|
1045
|
-
msg.setIsActive(value);
|
1046
|
-
break;
|
1047
|
-
case 9:
|
1048
|
-
var value = new proto.game.File;
|
1049
|
-
reader.readMessage(value,proto.game.File.deserializeBinaryFromReader);
|
1050
|
-
msg.setFile(value);
|
1029
|
+
msg.setFour(value);
|
1051
1030
|
break;
|
1052
1031
|
default:
|
1053
1032
|
reader.skipField();
|
@@ -1078,73 +1057,43 @@ proto.game.CategoryRequest.prototype.serializeBinary = function() {
|
|
1078
1057
|
*/
|
1079
1058
|
proto.game.CategoryRequest.serializeBinaryToWriter = function(message, writer) {
|
1080
1059
|
var f = undefined;
|
1081
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
1060
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
1082
1061
|
if (f != null) {
|
1083
1062
|
writer.writeString(
|
1084
|
-
|
1085
|
-
f
|
1086
|
-
);
|
1087
|
-
}
|
1088
|
-
f = message.getMetadata();
|
1089
|
-
if (f != null) {
|
1090
|
-
writer.writeMessage(
|
1091
|
-
3,
|
1092
|
-
f,
|
1093
|
-
proto.game.MetaDataFile.serializeBinaryToWriter
|
1094
|
-
);
|
1095
|
-
}
|
1096
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
1097
|
-
if (f != null) {
|
1098
|
-
writer.writeInt32(
|
1099
|
-
4,
|
1100
|
-
f
|
1101
|
-
);
|
1102
|
-
}
|
1103
|
-
f = message.getId();
|
1104
|
-
if (f !== 0) {
|
1105
|
-
writer.writeInt32(
|
1106
|
-
5,
|
1063
|
+
1,
|
1107
1064
|
f
|
1108
1065
|
);
|
1109
1066
|
}
|
1110
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
1067
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
1111
1068
|
if (f != null) {
|
1112
1069
|
writer.writeString(
|
1113
|
-
|
1070
|
+
2,
|
1114
1071
|
f
|
1115
1072
|
);
|
1116
1073
|
}
|
1117
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
1074
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
1118
1075
|
if (f != null) {
|
1119
1076
|
writer.writeString(
|
1120
|
-
|
1077
|
+
3,
|
1121
1078
|
f
|
1122
1079
|
);
|
1123
1080
|
}
|
1124
|
-
f = /** @type {
|
1081
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
1125
1082
|
if (f != null) {
|
1126
|
-
writer.
|
1127
|
-
|
1083
|
+
writer.writeString(
|
1084
|
+
4,
|
1128
1085
|
f
|
1129
1086
|
);
|
1130
1087
|
}
|
1131
|
-
f = message.getFile();
|
1132
|
-
if (f != null) {
|
1133
|
-
writer.writeMessage(
|
1134
|
-
9,
|
1135
|
-
f,
|
1136
|
-
proto.game.File.serializeBinaryToWriter
|
1137
|
-
);
|
1138
|
-
}
|
1139
1088
|
};
|
1140
1089
|
|
1141
1090
|
|
1142
1091
|
/**
|
1143
|
-
* optional string
|
1092
|
+
* optional string one = 1;
|
1144
1093
|
* @return {string}
|
1145
1094
|
*/
|
1146
|
-
proto.game.CategoryRequest.prototype.
|
1147
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
1095
|
+
proto.game.CategoryRequest.prototype.getOne = function() {
|
1096
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1148
1097
|
};
|
1149
1098
|
|
1150
1099
|
|
@@ -1152,81 +1101,8 @@ proto.game.CategoryRequest.prototype.getTitle = function() {
|
|
1152
1101
|
* @param {string} value
|
1153
1102
|
* @return {!proto.game.CategoryRequest} returns this
|
1154
1103
|
*/
|
1155
|
-
proto.game.CategoryRequest.prototype.
|
1156
|
-
return jspb.Message.setOneofField(this,
|
1157
|
-
};
|
1158
|
-
|
1159
|
-
|
1160
|
-
/**
|
1161
|
-
* Clears the field making it undefined.
|
1162
|
-
* @return {!proto.game.CategoryRequest} returns this
|
1163
|
-
*/
|
1164
|
-
proto.game.CategoryRequest.prototype.clearTitle = function() {
|
1165
|
-
return jspb.Message.setOneofField(this, 2, proto.game.CategoryRequest.oneofGroups_[0], undefined);
|
1166
|
-
};
|
1167
|
-
|
1168
|
-
|
1169
|
-
/**
|
1170
|
-
* Returns whether this field is set.
|
1171
|
-
* @return {boolean}
|
1172
|
-
*/
|
1173
|
-
proto.game.CategoryRequest.prototype.hasTitle = function() {
|
1174
|
-
return jspb.Message.getField(this, 2) != null;
|
1175
|
-
};
|
1176
|
-
|
1177
|
-
|
1178
|
-
/**
|
1179
|
-
* optional MetaDataFile metadata = 3;
|
1180
|
-
* @return {?proto.game.MetaDataFile}
|
1181
|
-
*/
|
1182
|
-
proto.game.CategoryRequest.prototype.getMetadata = function() {
|
1183
|
-
return /** @type{?proto.game.MetaDataFile} */ (
|
1184
|
-
jspb.Message.getWrapperField(this, proto.game.MetaDataFile, 3));
|
1185
|
-
};
|
1186
|
-
|
1187
|
-
|
1188
|
-
/**
|
1189
|
-
* @param {?proto.game.MetaDataFile|undefined} value
|
1190
|
-
* @return {!proto.game.CategoryRequest} returns this
|
1191
|
-
*/
|
1192
|
-
proto.game.CategoryRequest.prototype.setMetadata = function(value) {
|
1193
|
-
return jspb.Message.setOneofWrapperField(this, 3, proto.game.CategoryRequest.oneofGroups_[0], value);
|
1194
|
-
};
|
1195
|
-
|
1196
|
-
|
1197
|
-
/**
|
1198
|
-
* Clears the message field making it undefined.
|
1199
|
-
* @return {!proto.game.CategoryRequest} returns this
|
1200
|
-
*/
|
1201
|
-
proto.game.CategoryRequest.prototype.clearMetadata = function() {
|
1202
|
-
return this.setMetadata(undefined);
|
1203
|
-
};
|
1204
|
-
|
1205
|
-
|
1206
|
-
/**
|
1207
|
-
* Returns whether this field is set.
|
1208
|
-
* @return {boolean}
|
1209
|
-
*/
|
1210
|
-
proto.game.CategoryRequest.prototype.hasMetadata = function() {
|
1211
|
-
return jspb.Message.getField(this, 3) != null;
|
1212
|
-
};
|
1213
|
-
|
1214
|
-
|
1215
|
-
/**
|
1216
|
-
* optional int32 category_id = 4;
|
1217
|
-
* @return {number}
|
1218
|
-
*/
|
1219
|
-
proto.game.CategoryRequest.prototype.getCategoryId = function() {
|
1220
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
1221
|
-
};
|
1222
|
-
|
1223
|
-
|
1224
|
-
/**
|
1225
|
-
* @param {number} value
|
1226
|
-
* @return {!proto.game.CategoryRequest} returns this
|
1227
|
-
*/
|
1228
|
-
proto.game.CategoryRequest.prototype.setCategoryId = function(value) {
|
1229
|
-
return jspb.Message.setOneofField(this, 4, proto.game.CategoryRequest.oneofGroups_[0], value);
|
1104
|
+
proto.game.CategoryRequest.prototype.setOne = function(value) {
|
1105
|
+
return jspb.Message.setOneofField(this, 1, proto.game.CategoryRequest.oneofGroups_[0], value);
|
1230
1106
|
};
|
1231
1107
|
|
1232
1108
|
|
@@ -1234,8 +1110,8 @@ proto.game.CategoryRequest.prototype.setCategoryId = function(value) {
|
|
1234
1110
|
* Clears the field making it undefined.
|
1235
1111
|
* @return {!proto.game.CategoryRequest} returns this
|
1236
1112
|
*/
|
1237
|
-
proto.game.CategoryRequest.prototype.
|
1238
|
-
return jspb.Message.setOneofField(this,
|
1113
|
+
proto.game.CategoryRequest.prototype.clearOne = function() {
|
1114
|
+
return jspb.Message.setOneofField(this, 1, proto.game.CategoryRequest.oneofGroups_[0], undefined);
|
1239
1115
|
};
|
1240
1116
|
|
1241
1117
|
|
@@ -1243,35 +1119,17 @@ proto.game.CategoryRequest.prototype.clearCategoryId = function() {
|
|
1243
1119
|
* Returns whether this field is set.
|
1244
1120
|
* @return {boolean}
|
1245
1121
|
*/
|
1246
|
-
proto.game.CategoryRequest.prototype.
|
1247
|
-
return jspb.Message.getField(this,
|
1248
|
-
};
|
1249
|
-
|
1250
|
-
|
1251
|
-
/**
|
1252
|
-
* optional int32 id = 5;
|
1253
|
-
* @return {number}
|
1254
|
-
*/
|
1255
|
-
proto.game.CategoryRequest.prototype.getId = function() {
|
1256
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
1257
|
-
};
|
1258
|
-
|
1259
|
-
|
1260
|
-
/**
|
1261
|
-
* @param {number} value
|
1262
|
-
* @return {!proto.game.CategoryRequest} returns this
|
1263
|
-
*/
|
1264
|
-
proto.game.CategoryRequest.prototype.setId = function(value) {
|
1265
|
-
return jspb.Message.setProto3IntField(this, 5, value);
|
1122
|
+
proto.game.CategoryRequest.prototype.hasOne = function() {
|
1123
|
+
return jspb.Message.getField(this, 1) != null;
|
1266
1124
|
};
|
1267
1125
|
|
1268
1126
|
|
1269
1127
|
/**
|
1270
|
-
* optional string
|
1128
|
+
* optional string two = 2;
|
1271
1129
|
* @return {string}
|
1272
1130
|
*/
|
1273
|
-
proto.game.CategoryRequest.prototype.
|
1274
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
1131
|
+
proto.game.CategoryRequest.prototype.getTwo = function() {
|
1132
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1275
1133
|
};
|
1276
1134
|
|
1277
1135
|
|
@@ -1279,8 +1137,8 @@ proto.game.CategoryRequest.prototype.getSlug = function() {
|
|
1279
1137
|
* @param {string} value
|
1280
1138
|
* @return {!proto.game.CategoryRequest} returns this
|
1281
1139
|
*/
|
1282
|
-
proto.game.CategoryRequest.prototype.
|
1283
|
-
return jspb.Message.
|
1140
|
+
proto.game.CategoryRequest.prototype.setTwo = function(value) {
|
1141
|
+
return jspb.Message.setOneofField(this, 2, proto.game.CategoryRequest.oneofGroups_[0], value);
|
1284
1142
|
};
|
1285
1143
|
|
1286
1144
|
|
@@ -1288,8 +1146,8 @@ proto.game.CategoryRequest.prototype.setSlug = function(value) {
|
|
1288
1146
|
* Clears the field making it undefined.
|
1289
1147
|
* @return {!proto.game.CategoryRequest} returns this
|
1290
1148
|
*/
|
1291
|
-
proto.game.CategoryRequest.prototype.
|
1292
|
-
return jspb.Message.
|
1149
|
+
proto.game.CategoryRequest.prototype.clearTwo = function() {
|
1150
|
+
return jspb.Message.setOneofField(this, 2, proto.game.CategoryRequest.oneofGroups_[0], undefined);
|
1293
1151
|
};
|
1294
1152
|
|
1295
1153
|
|
@@ -1297,17 +1155,17 @@ proto.game.CategoryRequest.prototype.clearSlug = function() {
|
|
1297
1155
|
* Returns whether this field is set.
|
1298
1156
|
* @return {boolean}
|
1299
1157
|
*/
|
1300
|
-
proto.game.CategoryRequest.prototype.
|
1301
|
-
return jspb.Message.getField(this,
|
1158
|
+
proto.game.CategoryRequest.prototype.hasTwo = function() {
|
1159
|
+
return jspb.Message.getField(this, 2) != null;
|
1302
1160
|
};
|
1303
1161
|
|
1304
1162
|
|
1305
1163
|
/**
|
1306
|
-
* optional string
|
1164
|
+
* optional string three = 3;
|
1307
1165
|
* @return {string}
|
1308
1166
|
*/
|
1309
|
-
proto.game.CategoryRequest.prototype.
|
1310
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
1167
|
+
proto.game.CategoryRequest.prototype.getThree = function() {
|
1168
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1311
1169
|
};
|
1312
1170
|
|
1313
1171
|
|
@@ -1315,8 +1173,8 @@ proto.game.CategoryRequest.prototype.getDescription = function() {
|
|
1315
1173
|
* @param {string} value
|
1316
1174
|
* @return {!proto.game.CategoryRequest} returns this
|
1317
1175
|
*/
|
1318
|
-
proto.game.CategoryRequest.prototype.
|
1319
|
-
return jspb.Message.
|
1176
|
+
proto.game.CategoryRequest.prototype.setThree = function(value) {
|
1177
|
+
return jspb.Message.setOneofField(this, 3, proto.game.CategoryRequest.oneofGroups_[0], value);
|
1320
1178
|
};
|
1321
1179
|
|
1322
1180
|
|
@@ -1324,8 +1182,8 @@ proto.game.CategoryRequest.prototype.setDescription = function(value) {
|
|
1324
1182
|
* Clears the field making it undefined.
|
1325
1183
|
* @return {!proto.game.CategoryRequest} returns this
|
1326
1184
|
*/
|
1327
|
-
proto.game.CategoryRequest.prototype.
|
1328
|
-
return jspb.Message.
|
1185
|
+
proto.game.CategoryRequest.prototype.clearThree = function() {
|
1186
|
+
return jspb.Message.setOneofField(this, 3, proto.game.CategoryRequest.oneofGroups_[0], undefined);
|
1329
1187
|
};
|
1330
1188
|
|
1331
1189
|
|
@@ -1333,26 +1191,26 @@ proto.game.CategoryRequest.prototype.clearDescription = function() {
|
|
1333
1191
|
* Returns whether this field is set.
|
1334
1192
|
* @return {boolean}
|
1335
1193
|
*/
|
1336
|
-
proto.game.CategoryRequest.prototype.
|
1337
|
-
return jspb.Message.getField(this,
|
1194
|
+
proto.game.CategoryRequest.prototype.hasThree = function() {
|
1195
|
+
return jspb.Message.getField(this, 3) != null;
|
1338
1196
|
};
|
1339
1197
|
|
1340
1198
|
|
1341
1199
|
/**
|
1342
|
-
* optional
|
1343
|
-
* @return {
|
1200
|
+
* optional string four = 4;
|
1201
|
+
* @return {string}
|
1344
1202
|
*/
|
1345
|
-
proto.game.CategoryRequest.prototype.
|
1346
|
-
return /** @type {
|
1203
|
+
proto.game.CategoryRequest.prototype.getFour = function() {
|
1204
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
1347
1205
|
};
|
1348
1206
|
|
1349
1207
|
|
1350
1208
|
/**
|
1351
|
-
* @param {
|
1209
|
+
* @param {string} value
|
1352
1210
|
* @return {!proto.game.CategoryRequest} returns this
|
1353
1211
|
*/
|
1354
|
-
proto.game.CategoryRequest.prototype.
|
1355
|
-
return jspb.Message.
|
1212
|
+
proto.game.CategoryRequest.prototype.setFour = function(value) {
|
1213
|
+
return jspb.Message.setOneofField(this, 4, proto.game.CategoryRequest.oneofGroups_[0], value);
|
1356
1214
|
};
|
1357
1215
|
|
1358
1216
|
|
@@ -1360,45 +1218,8 @@ proto.game.CategoryRequest.prototype.setIsActive = function(value) {
|
|
1360
1218
|
* Clears the field making it undefined.
|
1361
1219
|
* @return {!proto.game.CategoryRequest} returns this
|
1362
1220
|
*/
|
1363
|
-
proto.game.CategoryRequest.prototype.
|
1364
|
-
return jspb.Message.
|
1365
|
-
};
|
1366
|
-
|
1367
|
-
|
1368
|
-
/**
|
1369
|
-
* Returns whether this field is set.
|
1370
|
-
* @return {boolean}
|
1371
|
-
*/
|
1372
|
-
proto.game.CategoryRequest.prototype.hasIsActive = function() {
|
1373
|
-
return jspb.Message.getField(this, 8) != null;
|
1374
|
-
};
|
1375
|
-
|
1376
|
-
|
1377
|
-
/**
|
1378
|
-
* optional File file = 9;
|
1379
|
-
* @return {?proto.game.File}
|
1380
|
-
*/
|
1381
|
-
proto.game.CategoryRequest.prototype.getFile = function() {
|
1382
|
-
return /** @type{?proto.game.File} */ (
|
1383
|
-
jspb.Message.getWrapperField(this, proto.game.File, 9));
|
1384
|
-
};
|
1385
|
-
|
1386
|
-
|
1387
|
-
/**
|
1388
|
-
* @param {?proto.game.File|undefined} value
|
1389
|
-
* @return {!proto.game.CategoryRequest} returns this
|
1390
|
-
*/
|
1391
|
-
proto.game.CategoryRequest.prototype.setFile = function(value) {
|
1392
|
-
return jspb.Message.setWrapperField(this, 9, value);
|
1393
|
-
};
|
1394
|
-
|
1395
|
-
|
1396
|
-
/**
|
1397
|
-
* Clears the message field making it undefined.
|
1398
|
-
* @return {!proto.game.CategoryRequest} returns this
|
1399
|
-
*/
|
1400
|
-
proto.game.CategoryRequest.prototype.clearFile = function() {
|
1401
|
-
return this.setFile(undefined);
|
1221
|
+
proto.game.CategoryRequest.prototype.clearFour = function() {
|
1222
|
+
return jspb.Message.setOneofField(this, 4, proto.game.CategoryRequest.oneofGroups_[0], undefined);
|
1402
1223
|
};
|
1403
1224
|
|
1404
1225
|
|
@@ -1406,8 +1227,8 @@ proto.game.CategoryRequest.prototype.clearFile = function() {
|
|
1406
1227
|
* Returns whether this field is set.
|
1407
1228
|
* @return {boolean}
|
1408
1229
|
*/
|
1409
|
-
proto.game.CategoryRequest.prototype.
|
1410
|
-
return jspb.Message.getField(this,
|
1230
|
+
proto.game.CategoryRequest.prototype.hasFour = function() {
|
1231
|
+
return jspb.Message.getField(this, 4) != null;
|
1411
1232
|
};
|
1412
1233
|
|
1413
1234
|
|