protobuf-platform 1.0.31 → 1.0.33
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 +3 -3
- package/game/game_pb.js +31 -31
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -38,9 +38,9 @@ message CategoryRequest {
|
|
38
38
|
//optional File file = 8;
|
39
39
|
oneof request {
|
40
40
|
string one = 1;
|
41
|
-
string two =
|
42
|
-
string three =
|
43
|
-
string four =
|
41
|
+
string two = 4;
|
42
|
+
string three = 2;
|
43
|
+
string four = 3;
|
44
44
|
}
|
45
45
|
}
|
46
46
|
message GetCategoryRequest {
|
package/game/game_pb.js
CHANGED
@@ -921,7 +921,7 @@ proto.game.CategoryItem.prototype.hasImagePath = function() {
|
|
921
921
|
* @private {!Array<!Array<number>>}
|
922
922
|
* @const
|
923
923
|
*/
|
924
|
-
proto.game.CategoryRequest.oneofGroups_ = [[1,2,3
|
924
|
+
proto.game.CategoryRequest.oneofGroups_ = [[1,4,2,3]];
|
925
925
|
|
926
926
|
/**
|
927
927
|
* @enum {number}
|
@@ -929,9 +929,9 @@ proto.game.CategoryRequest.oneofGroups_ = [[1,2,3,4]];
|
|
929
929
|
proto.game.CategoryRequest.RequestCase = {
|
930
930
|
REQUEST_NOT_SET: 0,
|
931
931
|
ONE: 1,
|
932
|
-
TWO:
|
933
|
-
THREE:
|
934
|
-
FOUR:
|
932
|
+
TWO: 4,
|
933
|
+
THREE: 2,
|
934
|
+
FOUR: 3
|
935
935
|
};
|
936
936
|
|
937
937
|
/**
|
@@ -973,9 +973,9 @@ proto.game.CategoryRequest.prototype.toObject = function(opt_includeInstance) {
|
|
973
973
|
proto.game.CategoryRequest.toObject = function(includeInstance, msg) {
|
974
974
|
var f, obj = {
|
975
975
|
one: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
976
|
-
two: jspb.Message.getFieldWithDefault(msg,
|
977
|
-
three: jspb.Message.getFieldWithDefault(msg,
|
978
|
-
four: jspb.Message.getFieldWithDefault(msg,
|
976
|
+
two: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
977
|
+
three: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
978
|
+
four: jspb.Message.getFieldWithDefault(msg, 3, "")
|
979
979
|
};
|
980
980
|
|
981
981
|
if (includeInstance) {
|
@@ -1016,15 +1016,15 @@ proto.game.CategoryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1016
1016
|
var value = /** @type {string} */ (reader.readString());
|
1017
1017
|
msg.setOne(value);
|
1018
1018
|
break;
|
1019
|
-
case
|
1019
|
+
case 4:
|
1020
1020
|
var value = /** @type {string} */ (reader.readString());
|
1021
1021
|
msg.setTwo(value);
|
1022
1022
|
break;
|
1023
|
-
case
|
1023
|
+
case 2:
|
1024
1024
|
var value = /** @type {string} */ (reader.readString());
|
1025
1025
|
msg.setThree(value);
|
1026
1026
|
break;
|
1027
|
-
case
|
1027
|
+
case 3:
|
1028
1028
|
var value = /** @type {string} */ (reader.readString());
|
1029
1029
|
msg.setFour(value);
|
1030
1030
|
break;
|
@@ -1064,24 +1064,24 @@ proto.game.CategoryRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1064
1064
|
f
|
1065
1065
|
);
|
1066
1066
|
}
|
1067
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
1067
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
1068
1068
|
if (f != null) {
|
1069
1069
|
writer.writeString(
|
1070
|
-
|
1070
|
+
4,
|
1071
1071
|
f
|
1072
1072
|
);
|
1073
1073
|
}
|
1074
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
1074
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
1075
1075
|
if (f != null) {
|
1076
1076
|
writer.writeString(
|
1077
|
-
|
1077
|
+
2,
|
1078
1078
|
f
|
1079
1079
|
);
|
1080
1080
|
}
|
1081
|
-
f = /** @type {string} */ (jspb.Message.getField(message,
|
1081
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
1082
1082
|
if (f != null) {
|
1083
1083
|
writer.writeString(
|
1084
|
-
|
1084
|
+
3,
|
1085
1085
|
f
|
1086
1086
|
);
|
1087
1087
|
}
|
@@ -1125,11 +1125,11 @@ proto.game.CategoryRequest.prototype.hasOne = function() {
|
|
1125
1125
|
|
1126
1126
|
|
1127
1127
|
/**
|
1128
|
-
* optional string two =
|
1128
|
+
* optional string two = 4;
|
1129
1129
|
* @return {string}
|
1130
1130
|
*/
|
1131
1131
|
proto.game.CategoryRequest.prototype.getTwo = function() {
|
1132
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
1132
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
1133
1133
|
};
|
1134
1134
|
|
1135
1135
|
|
@@ -1138,7 +1138,7 @@ proto.game.CategoryRequest.prototype.getTwo = function() {
|
|
1138
1138
|
* @return {!proto.game.CategoryRequest} returns this
|
1139
1139
|
*/
|
1140
1140
|
proto.game.CategoryRequest.prototype.setTwo = function(value) {
|
1141
|
-
return jspb.Message.setOneofField(this,
|
1141
|
+
return jspb.Message.setOneofField(this, 4, proto.game.CategoryRequest.oneofGroups_[0], value);
|
1142
1142
|
};
|
1143
1143
|
|
1144
1144
|
|
@@ -1147,7 +1147,7 @@ proto.game.CategoryRequest.prototype.setTwo = function(value) {
|
|
1147
1147
|
* @return {!proto.game.CategoryRequest} returns this
|
1148
1148
|
*/
|
1149
1149
|
proto.game.CategoryRequest.prototype.clearTwo = function() {
|
1150
|
-
return jspb.Message.setOneofField(this,
|
1150
|
+
return jspb.Message.setOneofField(this, 4, proto.game.CategoryRequest.oneofGroups_[0], undefined);
|
1151
1151
|
};
|
1152
1152
|
|
1153
1153
|
|
@@ -1156,16 +1156,16 @@ proto.game.CategoryRequest.prototype.clearTwo = function() {
|
|
1156
1156
|
* @return {boolean}
|
1157
1157
|
*/
|
1158
1158
|
proto.game.CategoryRequest.prototype.hasTwo = function() {
|
1159
|
-
return jspb.Message.getField(this,
|
1159
|
+
return jspb.Message.getField(this, 4) != null;
|
1160
1160
|
};
|
1161
1161
|
|
1162
1162
|
|
1163
1163
|
/**
|
1164
|
-
* optional string three =
|
1164
|
+
* optional string three = 2;
|
1165
1165
|
* @return {string}
|
1166
1166
|
*/
|
1167
1167
|
proto.game.CategoryRequest.prototype.getThree = function() {
|
1168
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
1168
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1169
1169
|
};
|
1170
1170
|
|
1171
1171
|
|
@@ -1174,7 +1174,7 @@ proto.game.CategoryRequest.prototype.getThree = function() {
|
|
1174
1174
|
* @return {!proto.game.CategoryRequest} returns this
|
1175
1175
|
*/
|
1176
1176
|
proto.game.CategoryRequest.prototype.setThree = function(value) {
|
1177
|
-
return jspb.Message.setOneofField(this,
|
1177
|
+
return jspb.Message.setOneofField(this, 2, proto.game.CategoryRequest.oneofGroups_[0], value);
|
1178
1178
|
};
|
1179
1179
|
|
1180
1180
|
|
@@ -1183,7 +1183,7 @@ proto.game.CategoryRequest.prototype.setThree = function(value) {
|
|
1183
1183
|
* @return {!proto.game.CategoryRequest} returns this
|
1184
1184
|
*/
|
1185
1185
|
proto.game.CategoryRequest.prototype.clearThree = function() {
|
1186
|
-
return jspb.Message.setOneofField(this,
|
1186
|
+
return jspb.Message.setOneofField(this, 2, proto.game.CategoryRequest.oneofGroups_[0], undefined);
|
1187
1187
|
};
|
1188
1188
|
|
1189
1189
|
|
@@ -1192,16 +1192,16 @@ proto.game.CategoryRequest.prototype.clearThree = function() {
|
|
1192
1192
|
* @return {boolean}
|
1193
1193
|
*/
|
1194
1194
|
proto.game.CategoryRequest.prototype.hasThree = function() {
|
1195
|
-
return jspb.Message.getField(this,
|
1195
|
+
return jspb.Message.getField(this, 2) != null;
|
1196
1196
|
};
|
1197
1197
|
|
1198
1198
|
|
1199
1199
|
/**
|
1200
|
-
* optional string four =
|
1200
|
+
* optional string four = 3;
|
1201
1201
|
* @return {string}
|
1202
1202
|
*/
|
1203
1203
|
proto.game.CategoryRequest.prototype.getFour = function() {
|
1204
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
1204
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1205
1205
|
};
|
1206
1206
|
|
1207
1207
|
|
@@ -1210,7 +1210,7 @@ proto.game.CategoryRequest.prototype.getFour = function() {
|
|
1210
1210
|
* @return {!proto.game.CategoryRequest} returns this
|
1211
1211
|
*/
|
1212
1212
|
proto.game.CategoryRequest.prototype.setFour = function(value) {
|
1213
|
-
return jspb.Message.setOneofField(this,
|
1213
|
+
return jspb.Message.setOneofField(this, 3, proto.game.CategoryRequest.oneofGroups_[0], value);
|
1214
1214
|
};
|
1215
1215
|
|
1216
1216
|
|
@@ -1219,7 +1219,7 @@ proto.game.CategoryRequest.prototype.setFour = function(value) {
|
|
1219
1219
|
* @return {!proto.game.CategoryRequest} returns this
|
1220
1220
|
*/
|
1221
1221
|
proto.game.CategoryRequest.prototype.clearFour = function() {
|
1222
|
-
return jspb.Message.setOneofField(this,
|
1222
|
+
return jspb.Message.setOneofField(this, 3, proto.game.CategoryRequest.oneofGroups_[0], undefined);
|
1223
1223
|
};
|
1224
1224
|
|
1225
1225
|
|
@@ -1228,7 +1228,7 @@ proto.game.CategoryRequest.prototype.clearFour = function() {
|
|
1228
1228
|
* @return {boolean}
|
1229
1229
|
*/
|
1230
1230
|
proto.game.CategoryRequest.prototype.hasFour = function() {
|
1231
|
-
return jspb.Message.getField(this,
|
1231
|
+
return jspb.Message.getField(this, 3) != null;
|
1232
1232
|
};
|
1233
1233
|
|
1234
1234
|
|