protobuf-platform 1.2.504 → 1.2.505
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/bonus/bonus.proto +3 -0
- package/bonus/bonus_pb.js +145 -1
- package/package.json +1 -1
- package/payment/payment.proto +23 -0
- package/payment/payment_grpc_pb.js +34 -0
- package/payment/payment_pb.js +1090 -0
- package/tournament/tournament.proto +25 -0
- package/tournament/tournament_grpc_pb.js +34 -0
- package/tournament/tournament_pb.js +1186 -0
|
@@ -30,6 +30,7 @@ goog.exportSymbol('proto.tournament.GetFileRequest', null, global);
|
|
|
30
30
|
goog.exportSymbol('proto.tournament.GetOnlineTournamentInfoRequest', null, global);
|
|
31
31
|
goog.exportSymbol('proto.tournament.GetTournamentLeaderboardRequest', null, global);
|
|
32
32
|
goog.exportSymbol('proto.tournament.GetTournamentRequest', null, global);
|
|
33
|
+
goog.exportSymbol('proto.tournament.GetTournamentSnapshotsByIdsRequest', null, global);
|
|
33
34
|
goog.exportSymbol('proto.tournament.ItemsBunchRequest', null, global);
|
|
34
35
|
goog.exportSymbol('proto.tournament.OnlineTournamentInfoResponse', null, global);
|
|
35
36
|
goog.exportSymbol('proto.tournament.PaginationRequest', null, global);
|
|
@@ -54,6 +55,8 @@ goog.exportSymbol('proto.tournament.TournamentResponse', null, global);
|
|
|
54
55
|
goog.exportSymbol('proto.tournament.TournamentRewardsRequest', null, global);
|
|
55
56
|
goog.exportSymbol('proto.tournament.TournamentScoreItem', null, global);
|
|
56
57
|
goog.exportSymbol('proto.tournament.TournamentScoringRuleRequest', null, global);
|
|
58
|
+
goog.exportSymbol('proto.tournament.TournamentSnapshotItem', null, global);
|
|
59
|
+
goog.exportSymbol('proto.tournament.TournamentSnapshotItemsResponse', null, global);
|
|
57
60
|
goog.exportSymbol('proto.tournament.TournamentStatusItem', null, global);
|
|
58
61
|
goog.exportSymbol('proto.tournament.TournamentStatusItemsResponse', null, global);
|
|
59
62
|
goog.exportSymbol('proto.tournament.TournamentStatusResponse', null, global);
|
|
@@ -418,6 +421,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
418
421
|
*/
|
|
419
422
|
proto.tournament.TournamentStatusItemsResponse.displayName = 'proto.tournament.TournamentStatusItemsResponse';
|
|
420
423
|
}
|
|
424
|
+
/**
|
|
425
|
+
* Generated by JsPbCodeGenerator.
|
|
426
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
427
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
428
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
429
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
430
|
+
* valid.
|
|
431
|
+
* @extends {jspb.Message}
|
|
432
|
+
* @constructor
|
|
433
|
+
*/
|
|
434
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest = function(opt_data) {
|
|
435
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.tournament.GetTournamentSnapshotsByIdsRequest.repeatedFields_, null);
|
|
436
|
+
};
|
|
437
|
+
goog.inherits(proto.tournament.GetTournamentSnapshotsByIdsRequest, jspb.Message);
|
|
438
|
+
if (goog.DEBUG && !COMPILED) {
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
* @override
|
|
442
|
+
*/
|
|
443
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.displayName = 'proto.tournament.GetTournamentSnapshotsByIdsRequest';
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Generated by JsPbCodeGenerator.
|
|
447
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
448
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
449
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
450
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
451
|
+
* valid.
|
|
452
|
+
* @extends {jspb.Message}
|
|
453
|
+
* @constructor
|
|
454
|
+
*/
|
|
455
|
+
proto.tournament.TournamentSnapshotItem = function(opt_data) {
|
|
456
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
457
|
+
};
|
|
458
|
+
goog.inherits(proto.tournament.TournamentSnapshotItem, jspb.Message);
|
|
459
|
+
if (goog.DEBUG && !COMPILED) {
|
|
460
|
+
/**
|
|
461
|
+
* @public
|
|
462
|
+
* @override
|
|
463
|
+
*/
|
|
464
|
+
proto.tournament.TournamentSnapshotItem.displayName = 'proto.tournament.TournamentSnapshotItem';
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* Generated by JsPbCodeGenerator.
|
|
468
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
469
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
470
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
471
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
472
|
+
* valid.
|
|
473
|
+
* @extends {jspb.Message}
|
|
474
|
+
* @constructor
|
|
475
|
+
*/
|
|
476
|
+
proto.tournament.TournamentSnapshotItemsResponse = function(opt_data) {
|
|
477
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.tournament.TournamentSnapshotItemsResponse.repeatedFields_, null);
|
|
478
|
+
};
|
|
479
|
+
goog.inherits(proto.tournament.TournamentSnapshotItemsResponse, jspb.Message);
|
|
480
|
+
if (goog.DEBUG && !COMPILED) {
|
|
481
|
+
/**
|
|
482
|
+
* @public
|
|
483
|
+
* @override
|
|
484
|
+
*/
|
|
485
|
+
proto.tournament.TournamentSnapshotItemsResponse.displayName = 'proto.tournament.TournamentSnapshotItemsResponse';
|
|
486
|
+
}
|
|
421
487
|
/**
|
|
422
488
|
* Generated by JsPbCodeGenerator.
|
|
423
489
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5976,6 +6042,1126 @@ proto.tournament.TournamentStatusItemsResponse.prototype.hasTotalItems = functio
|
|
|
5976
6042
|
|
|
5977
6043
|
|
|
5978
6044
|
|
|
6045
|
+
/**
|
|
6046
|
+
* List of repeated fields within this message type.
|
|
6047
|
+
* @private {!Array<number>}
|
|
6048
|
+
* @const
|
|
6049
|
+
*/
|
|
6050
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.repeatedFields_ = [1];
|
|
6051
|
+
|
|
6052
|
+
|
|
6053
|
+
|
|
6054
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6055
|
+
/**
|
|
6056
|
+
* Creates an object representation of this proto.
|
|
6057
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6058
|
+
* Optional fields that are not set will be set to undefined.
|
|
6059
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6060
|
+
* For the list of reserved names please see:
|
|
6061
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6062
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6063
|
+
* JSPB instance for transitional soy proto support:
|
|
6064
|
+
* http://goto/soy-param-migration
|
|
6065
|
+
* @return {!Object}
|
|
6066
|
+
*/
|
|
6067
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6068
|
+
return proto.tournament.GetTournamentSnapshotsByIdsRequest.toObject(opt_includeInstance, this);
|
|
6069
|
+
};
|
|
6070
|
+
|
|
6071
|
+
|
|
6072
|
+
/**
|
|
6073
|
+
* Static version of the {@see toObject} method.
|
|
6074
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6075
|
+
* the JSPB instance for transitional soy proto support:
|
|
6076
|
+
* http://goto/soy-param-migration
|
|
6077
|
+
* @param {!proto.tournament.GetTournamentSnapshotsByIdsRequest} msg The msg instance to transform.
|
|
6078
|
+
* @return {!Object}
|
|
6079
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6080
|
+
*/
|
|
6081
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.toObject = function(includeInstance, msg) {
|
|
6082
|
+
var f, obj = {
|
|
6083
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
6084
|
+
};
|
|
6085
|
+
|
|
6086
|
+
if (includeInstance) {
|
|
6087
|
+
obj.$jspbMessageInstance = msg;
|
|
6088
|
+
}
|
|
6089
|
+
return obj;
|
|
6090
|
+
};
|
|
6091
|
+
}
|
|
6092
|
+
|
|
6093
|
+
|
|
6094
|
+
/**
|
|
6095
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6096
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6097
|
+
* @return {!proto.tournament.GetTournamentSnapshotsByIdsRequest}
|
|
6098
|
+
*/
|
|
6099
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.deserializeBinary = function(bytes) {
|
|
6100
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6101
|
+
var msg = new proto.tournament.GetTournamentSnapshotsByIdsRequest;
|
|
6102
|
+
return proto.tournament.GetTournamentSnapshotsByIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
6103
|
+
};
|
|
6104
|
+
|
|
6105
|
+
|
|
6106
|
+
/**
|
|
6107
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6108
|
+
* given reader into the given message object.
|
|
6109
|
+
* @param {!proto.tournament.GetTournamentSnapshotsByIdsRequest} msg The message object to deserialize into.
|
|
6110
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6111
|
+
* @return {!proto.tournament.GetTournamentSnapshotsByIdsRequest}
|
|
6112
|
+
*/
|
|
6113
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6114
|
+
while (reader.nextField()) {
|
|
6115
|
+
if (reader.isEndGroup()) {
|
|
6116
|
+
break;
|
|
6117
|
+
}
|
|
6118
|
+
var field = reader.getFieldNumber();
|
|
6119
|
+
switch (field) {
|
|
6120
|
+
case 1:
|
|
6121
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
6122
|
+
for (var i = 0; i < values.length; i++) {
|
|
6123
|
+
msg.addIds(values[i]);
|
|
6124
|
+
}
|
|
6125
|
+
break;
|
|
6126
|
+
default:
|
|
6127
|
+
reader.skipField();
|
|
6128
|
+
break;
|
|
6129
|
+
}
|
|
6130
|
+
}
|
|
6131
|
+
return msg;
|
|
6132
|
+
};
|
|
6133
|
+
|
|
6134
|
+
|
|
6135
|
+
/**
|
|
6136
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6137
|
+
* @return {!Uint8Array}
|
|
6138
|
+
*/
|
|
6139
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.serializeBinary = function() {
|
|
6140
|
+
var writer = new jspb.BinaryWriter();
|
|
6141
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.serializeBinaryToWriter(this, writer);
|
|
6142
|
+
return writer.getResultBuffer();
|
|
6143
|
+
};
|
|
6144
|
+
|
|
6145
|
+
|
|
6146
|
+
/**
|
|
6147
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6148
|
+
* format), writing to the given BinaryWriter.
|
|
6149
|
+
* @param {!proto.tournament.GetTournamentSnapshotsByIdsRequest} message
|
|
6150
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6151
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6152
|
+
*/
|
|
6153
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6154
|
+
var f = undefined;
|
|
6155
|
+
f = message.getIdsList();
|
|
6156
|
+
if (f.length > 0) {
|
|
6157
|
+
writer.writePackedInt32(
|
|
6158
|
+
1,
|
|
6159
|
+
f
|
|
6160
|
+
);
|
|
6161
|
+
}
|
|
6162
|
+
};
|
|
6163
|
+
|
|
6164
|
+
|
|
6165
|
+
/**
|
|
6166
|
+
* repeated int32 ids = 1;
|
|
6167
|
+
* @return {!Array<number>}
|
|
6168
|
+
*/
|
|
6169
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.getIdsList = function() {
|
|
6170
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
6171
|
+
};
|
|
6172
|
+
|
|
6173
|
+
|
|
6174
|
+
/**
|
|
6175
|
+
* @param {!Array<number>} value
|
|
6176
|
+
* @return {!proto.tournament.GetTournamentSnapshotsByIdsRequest} returns this
|
|
6177
|
+
*/
|
|
6178
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.setIdsList = function(value) {
|
|
6179
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
6180
|
+
};
|
|
6181
|
+
|
|
6182
|
+
|
|
6183
|
+
/**
|
|
6184
|
+
* @param {number} value
|
|
6185
|
+
* @param {number=} opt_index
|
|
6186
|
+
* @return {!proto.tournament.GetTournamentSnapshotsByIdsRequest} returns this
|
|
6187
|
+
*/
|
|
6188
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.addIds = function(value, opt_index) {
|
|
6189
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
6190
|
+
};
|
|
6191
|
+
|
|
6192
|
+
|
|
6193
|
+
/**
|
|
6194
|
+
* Clears the list making it empty but non-null.
|
|
6195
|
+
* @return {!proto.tournament.GetTournamentSnapshotsByIdsRequest} returns this
|
|
6196
|
+
*/
|
|
6197
|
+
proto.tournament.GetTournamentSnapshotsByIdsRequest.prototype.clearIdsList = function() {
|
|
6198
|
+
return this.setIdsList([]);
|
|
6199
|
+
};
|
|
6200
|
+
|
|
6201
|
+
|
|
6202
|
+
|
|
6203
|
+
|
|
6204
|
+
|
|
6205
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6206
|
+
/**
|
|
6207
|
+
* Creates an object representation of this proto.
|
|
6208
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6209
|
+
* Optional fields that are not set will be set to undefined.
|
|
6210
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6211
|
+
* For the list of reserved names please see:
|
|
6212
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6213
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6214
|
+
* JSPB instance for transitional soy proto support:
|
|
6215
|
+
* http://goto/soy-param-migration
|
|
6216
|
+
* @return {!Object}
|
|
6217
|
+
*/
|
|
6218
|
+
proto.tournament.TournamentSnapshotItem.prototype.toObject = function(opt_includeInstance) {
|
|
6219
|
+
return proto.tournament.TournamentSnapshotItem.toObject(opt_includeInstance, this);
|
|
6220
|
+
};
|
|
6221
|
+
|
|
6222
|
+
|
|
6223
|
+
/**
|
|
6224
|
+
* Static version of the {@see toObject} method.
|
|
6225
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6226
|
+
* the JSPB instance for transitional soy proto support:
|
|
6227
|
+
* http://goto/soy-param-migration
|
|
6228
|
+
* @param {!proto.tournament.TournamentSnapshotItem} msg The msg instance to transform.
|
|
6229
|
+
* @return {!Object}
|
|
6230
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6231
|
+
*/
|
|
6232
|
+
proto.tournament.TournamentSnapshotItem.toObject = function(includeInstance, msg) {
|
|
6233
|
+
var f, obj = {
|
|
6234
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6235
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6236
|
+
slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6237
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6238
|
+
image: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6239
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6240
|
+
imageSmall: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
6241
|
+
imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
6242
|
+
status: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6243
|
+
statusId: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
6244
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
6245
|
+
startedAt: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
6246
|
+
finishedAt: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
6247
|
+
currentMembersCount: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
6248
|
+
maxMembersCount: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
|
6249
|
+
};
|
|
6250
|
+
|
|
6251
|
+
if (includeInstance) {
|
|
6252
|
+
obj.$jspbMessageInstance = msg;
|
|
6253
|
+
}
|
|
6254
|
+
return obj;
|
|
6255
|
+
};
|
|
6256
|
+
}
|
|
6257
|
+
|
|
6258
|
+
|
|
6259
|
+
/**
|
|
6260
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6261
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6262
|
+
* @return {!proto.tournament.TournamentSnapshotItem}
|
|
6263
|
+
*/
|
|
6264
|
+
proto.tournament.TournamentSnapshotItem.deserializeBinary = function(bytes) {
|
|
6265
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6266
|
+
var msg = new proto.tournament.TournamentSnapshotItem;
|
|
6267
|
+
return proto.tournament.TournamentSnapshotItem.deserializeBinaryFromReader(msg, reader);
|
|
6268
|
+
};
|
|
6269
|
+
|
|
6270
|
+
|
|
6271
|
+
/**
|
|
6272
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6273
|
+
* given reader into the given message object.
|
|
6274
|
+
* @param {!proto.tournament.TournamentSnapshotItem} msg The message object to deserialize into.
|
|
6275
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6276
|
+
* @return {!proto.tournament.TournamentSnapshotItem}
|
|
6277
|
+
*/
|
|
6278
|
+
proto.tournament.TournamentSnapshotItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
6279
|
+
while (reader.nextField()) {
|
|
6280
|
+
if (reader.isEndGroup()) {
|
|
6281
|
+
break;
|
|
6282
|
+
}
|
|
6283
|
+
var field = reader.getFieldNumber();
|
|
6284
|
+
switch (field) {
|
|
6285
|
+
case 1:
|
|
6286
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6287
|
+
msg.setId(value);
|
|
6288
|
+
break;
|
|
6289
|
+
case 2:
|
|
6290
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6291
|
+
msg.setTitle(value);
|
|
6292
|
+
break;
|
|
6293
|
+
case 3:
|
|
6294
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6295
|
+
msg.setSlug(value);
|
|
6296
|
+
break;
|
|
6297
|
+
case 4:
|
|
6298
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6299
|
+
msg.setDescription(value);
|
|
6300
|
+
break;
|
|
6301
|
+
case 5:
|
|
6302
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6303
|
+
msg.setImage(value);
|
|
6304
|
+
break;
|
|
6305
|
+
case 6:
|
|
6306
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6307
|
+
msg.setImageCdn(value);
|
|
6308
|
+
break;
|
|
6309
|
+
case 7:
|
|
6310
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6311
|
+
msg.setImageSmall(value);
|
|
6312
|
+
break;
|
|
6313
|
+
case 8:
|
|
6314
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6315
|
+
msg.setImageSmallCdn(value);
|
|
6316
|
+
break;
|
|
6317
|
+
case 9:
|
|
6318
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6319
|
+
msg.setStatus(value);
|
|
6320
|
+
break;
|
|
6321
|
+
case 10:
|
|
6322
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6323
|
+
msg.setStatusId(value);
|
|
6324
|
+
break;
|
|
6325
|
+
case 11:
|
|
6326
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6327
|
+
msg.setIsActive(value);
|
|
6328
|
+
break;
|
|
6329
|
+
case 12:
|
|
6330
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6331
|
+
msg.setStartedAt(value);
|
|
6332
|
+
break;
|
|
6333
|
+
case 13:
|
|
6334
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6335
|
+
msg.setFinishedAt(value);
|
|
6336
|
+
break;
|
|
6337
|
+
case 14:
|
|
6338
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6339
|
+
msg.setCurrentMembersCount(value);
|
|
6340
|
+
break;
|
|
6341
|
+
case 15:
|
|
6342
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6343
|
+
msg.setMaxMembersCount(value);
|
|
6344
|
+
break;
|
|
6345
|
+
default:
|
|
6346
|
+
reader.skipField();
|
|
6347
|
+
break;
|
|
6348
|
+
}
|
|
6349
|
+
}
|
|
6350
|
+
return msg;
|
|
6351
|
+
};
|
|
6352
|
+
|
|
6353
|
+
|
|
6354
|
+
/**
|
|
6355
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6356
|
+
* @return {!Uint8Array}
|
|
6357
|
+
*/
|
|
6358
|
+
proto.tournament.TournamentSnapshotItem.prototype.serializeBinary = function() {
|
|
6359
|
+
var writer = new jspb.BinaryWriter();
|
|
6360
|
+
proto.tournament.TournamentSnapshotItem.serializeBinaryToWriter(this, writer);
|
|
6361
|
+
return writer.getResultBuffer();
|
|
6362
|
+
};
|
|
6363
|
+
|
|
6364
|
+
|
|
6365
|
+
/**
|
|
6366
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6367
|
+
* format), writing to the given BinaryWriter.
|
|
6368
|
+
* @param {!proto.tournament.TournamentSnapshotItem} message
|
|
6369
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6370
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6371
|
+
*/
|
|
6372
|
+
proto.tournament.TournamentSnapshotItem.serializeBinaryToWriter = function(message, writer) {
|
|
6373
|
+
var f = undefined;
|
|
6374
|
+
f = message.getId();
|
|
6375
|
+
if (f !== 0) {
|
|
6376
|
+
writer.writeInt32(
|
|
6377
|
+
1,
|
|
6378
|
+
f
|
|
6379
|
+
);
|
|
6380
|
+
}
|
|
6381
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
6382
|
+
if (f != null) {
|
|
6383
|
+
writer.writeString(
|
|
6384
|
+
2,
|
|
6385
|
+
f
|
|
6386
|
+
);
|
|
6387
|
+
}
|
|
6388
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
6389
|
+
if (f != null) {
|
|
6390
|
+
writer.writeString(
|
|
6391
|
+
3,
|
|
6392
|
+
f
|
|
6393
|
+
);
|
|
6394
|
+
}
|
|
6395
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
6396
|
+
if (f != null) {
|
|
6397
|
+
writer.writeString(
|
|
6398
|
+
4,
|
|
6399
|
+
f
|
|
6400
|
+
);
|
|
6401
|
+
}
|
|
6402
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
6403
|
+
if (f != null) {
|
|
6404
|
+
writer.writeString(
|
|
6405
|
+
5,
|
|
6406
|
+
f
|
|
6407
|
+
);
|
|
6408
|
+
}
|
|
6409
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
6410
|
+
if (f != null) {
|
|
6411
|
+
writer.writeString(
|
|
6412
|
+
6,
|
|
6413
|
+
f
|
|
6414
|
+
);
|
|
6415
|
+
}
|
|
6416
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
6417
|
+
if (f != null) {
|
|
6418
|
+
writer.writeString(
|
|
6419
|
+
7,
|
|
6420
|
+
f
|
|
6421
|
+
);
|
|
6422
|
+
}
|
|
6423
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
6424
|
+
if (f != null) {
|
|
6425
|
+
writer.writeString(
|
|
6426
|
+
8,
|
|
6427
|
+
f
|
|
6428
|
+
);
|
|
6429
|
+
}
|
|
6430
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
6431
|
+
if (f != null) {
|
|
6432
|
+
writer.writeString(
|
|
6433
|
+
9,
|
|
6434
|
+
f
|
|
6435
|
+
);
|
|
6436
|
+
}
|
|
6437
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
6438
|
+
if (f != null) {
|
|
6439
|
+
writer.writeInt32(
|
|
6440
|
+
10,
|
|
6441
|
+
f
|
|
6442
|
+
);
|
|
6443
|
+
}
|
|
6444
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
|
|
6445
|
+
if (f != null) {
|
|
6446
|
+
writer.writeBool(
|
|
6447
|
+
11,
|
|
6448
|
+
f
|
|
6449
|
+
);
|
|
6450
|
+
}
|
|
6451
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
6452
|
+
if (f != null) {
|
|
6453
|
+
writer.writeString(
|
|
6454
|
+
12,
|
|
6455
|
+
f
|
|
6456
|
+
);
|
|
6457
|
+
}
|
|
6458
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
6459
|
+
if (f != null) {
|
|
6460
|
+
writer.writeString(
|
|
6461
|
+
13,
|
|
6462
|
+
f
|
|
6463
|
+
);
|
|
6464
|
+
}
|
|
6465
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
6466
|
+
if (f != null) {
|
|
6467
|
+
writer.writeInt32(
|
|
6468
|
+
14,
|
|
6469
|
+
f
|
|
6470
|
+
);
|
|
6471
|
+
}
|
|
6472
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
|
6473
|
+
if (f != null) {
|
|
6474
|
+
writer.writeInt32(
|
|
6475
|
+
15,
|
|
6476
|
+
f
|
|
6477
|
+
);
|
|
6478
|
+
}
|
|
6479
|
+
};
|
|
6480
|
+
|
|
6481
|
+
|
|
6482
|
+
/**
|
|
6483
|
+
* optional int32 id = 1;
|
|
6484
|
+
* @return {number}
|
|
6485
|
+
*/
|
|
6486
|
+
proto.tournament.TournamentSnapshotItem.prototype.getId = function() {
|
|
6487
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6488
|
+
};
|
|
6489
|
+
|
|
6490
|
+
|
|
6491
|
+
/**
|
|
6492
|
+
* @param {number} value
|
|
6493
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6494
|
+
*/
|
|
6495
|
+
proto.tournament.TournamentSnapshotItem.prototype.setId = function(value) {
|
|
6496
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6497
|
+
};
|
|
6498
|
+
|
|
6499
|
+
|
|
6500
|
+
/**
|
|
6501
|
+
* optional string title = 2;
|
|
6502
|
+
* @return {string}
|
|
6503
|
+
*/
|
|
6504
|
+
proto.tournament.TournamentSnapshotItem.prototype.getTitle = function() {
|
|
6505
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6506
|
+
};
|
|
6507
|
+
|
|
6508
|
+
|
|
6509
|
+
/**
|
|
6510
|
+
* @param {string} value
|
|
6511
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6512
|
+
*/
|
|
6513
|
+
proto.tournament.TournamentSnapshotItem.prototype.setTitle = function(value) {
|
|
6514
|
+
return jspb.Message.setField(this, 2, value);
|
|
6515
|
+
};
|
|
6516
|
+
|
|
6517
|
+
|
|
6518
|
+
/**
|
|
6519
|
+
* Clears the field making it undefined.
|
|
6520
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6521
|
+
*/
|
|
6522
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearTitle = function() {
|
|
6523
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
6524
|
+
};
|
|
6525
|
+
|
|
6526
|
+
|
|
6527
|
+
/**
|
|
6528
|
+
* Returns whether this field is set.
|
|
6529
|
+
* @return {boolean}
|
|
6530
|
+
*/
|
|
6531
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasTitle = function() {
|
|
6532
|
+
return jspb.Message.getField(this, 2) != null;
|
|
6533
|
+
};
|
|
6534
|
+
|
|
6535
|
+
|
|
6536
|
+
/**
|
|
6537
|
+
* optional string slug = 3;
|
|
6538
|
+
* @return {string}
|
|
6539
|
+
*/
|
|
6540
|
+
proto.tournament.TournamentSnapshotItem.prototype.getSlug = function() {
|
|
6541
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6542
|
+
};
|
|
6543
|
+
|
|
6544
|
+
|
|
6545
|
+
/**
|
|
6546
|
+
* @param {string} value
|
|
6547
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6548
|
+
*/
|
|
6549
|
+
proto.tournament.TournamentSnapshotItem.prototype.setSlug = function(value) {
|
|
6550
|
+
return jspb.Message.setField(this, 3, value);
|
|
6551
|
+
};
|
|
6552
|
+
|
|
6553
|
+
|
|
6554
|
+
/**
|
|
6555
|
+
* Clears the field making it undefined.
|
|
6556
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6557
|
+
*/
|
|
6558
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearSlug = function() {
|
|
6559
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
6560
|
+
};
|
|
6561
|
+
|
|
6562
|
+
|
|
6563
|
+
/**
|
|
6564
|
+
* Returns whether this field is set.
|
|
6565
|
+
* @return {boolean}
|
|
6566
|
+
*/
|
|
6567
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasSlug = function() {
|
|
6568
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6569
|
+
};
|
|
6570
|
+
|
|
6571
|
+
|
|
6572
|
+
/**
|
|
6573
|
+
* optional string description = 4;
|
|
6574
|
+
* @return {string}
|
|
6575
|
+
*/
|
|
6576
|
+
proto.tournament.TournamentSnapshotItem.prototype.getDescription = function() {
|
|
6577
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
6578
|
+
};
|
|
6579
|
+
|
|
6580
|
+
|
|
6581
|
+
/**
|
|
6582
|
+
* @param {string} value
|
|
6583
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6584
|
+
*/
|
|
6585
|
+
proto.tournament.TournamentSnapshotItem.prototype.setDescription = function(value) {
|
|
6586
|
+
return jspb.Message.setField(this, 4, value);
|
|
6587
|
+
};
|
|
6588
|
+
|
|
6589
|
+
|
|
6590
|
+
/**
|
|
6591
|
+
* Clears the field making it undefined.
|
|
6592
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6593
|
+
*/
|
|
6594
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearDescription = function() {
|
|
6595
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
6596
|
+
};
|
|
6597
|
+
|
|
6598
|
+
|
|
6599
|
+
/**
|
|
6600
|
+
* Returns whether this field is set.
|
|
6601
|
+
* @return {boolean}
|
|
6602
|
+
*/
|
|
6603
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasDescription = function() {
|
|
6604
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6605
|
+
};
|
|
6606
|
+
|
|
6607
|
+
|
|
6608
|
+
/**
|
|
6609
|
+
* optional string image = 5;
|
|
6610
|
+
* @return {string}
|
|
6611
|
+
*/
|
|
6612
|
+
proto.tournament.TournamentSnapshotItem.prototype.getImage = function() {
|
|
6613
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6614
|
+
};
|
|
6615
|
+
|
|
6616
|
+
|
|
6617
|
+
/**
|
|
6618
|
+
* @param {string} value
|
|
6619
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6620
|
+
*/
|
|
6621
|
+
proto.tournament.TournamentSnapshotItem.prototype.setImage = function(value) {
|
|
6622
|
+
return jspb.Message.setField(this, 5, value);
|
|
6623
|
+
};
|
|
6624
|
+
|
|
6625
|
+
|
|
6626
|
+
/**
|
|
6627
|
+
* Clears the field making it undefined.
|
|
6628
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6629
|
+
*/
|
|
6630
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearImage = function() {
|
|
6631
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
6632
|
+
};
|
|
6633
|
+
|
|
6634
|
+
|
|
6635
|
+
/**
|
|
6636
|
+
* Returns whether this field is set.
|
|
6637
|
+
* @return {boolean}
|
|
6638
|
+
*/
|
|
6639
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasImage = function() {
|
|
6640
|
+
return jspb.Message.getField(this, 5) != null;
|
|
6641
|
+
};
|
|
6642
|
+
|
|
6643
|
+
|
|
6644
|
+
/**
|
|
6645
|
+
* optional string image_cdn = 6;
|
|
6646
|
+
* @return {string}
|
|
6647
|
+
*/
|
|
6648
|
+
proto.tournament.TournamentSnapshotItem.prototype.getImageCdn = function() {
|
|
6649
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
6650
|
+
};
|
|
6651
|
+
|
|
6652
|
+
|
|
6653
|
+
/**
|
|
6654
|
+
* @param {string} value
|
|
6655
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6656
|
+
*/
|
|
6657
|
+
proto.tournament.TournamentSnapshotItem.prototype.setImageCdn = function(value) {
|
|
6658
|
+
return jspb.Message.setField(this, 6, value);
|
|
6659
|
+
};
|
|
6660
|
+
|
|
6661
|
+
|
|
6662
|
+
/**
|
|
6663
|
+
* Clears the field making it undefined.
|
|
6664
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6665
|
+
*/
|
|
6666
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearImageCdn = function() {
|
|
6667
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
6668
|
+
};
|
|
6669
|
+
|
|
6670
|
+
|
|
6671
|
+
/**
|
|
6672
|
+
* Returns whether this field is set.
|
|
6673
|
+
* @return {boolean}
|
|
6674
|
+
*/
|
|
6675
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasImageCdn = function() {
|
|
6676
|
+
return jspb.Message.getField(this, 6) != null;
|
|
6677
|
+
};
|
|
6678
|
+
|
|
6679
|
+
|
|
6680
|
+
/**
|
|
6681
|
+
* optional string image_small = 7;
|
|
6682
|
+
* @return {string}
|
|
6683
|
+
*/
|
|
6684
|
+
proto.tournament.TournamentSnapshotItem.prototype.getImageSmall = function() {
|
|
6685
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
6686
|
+
};
|
|
6687
|
+
|
|
6688
|
+
|
|
6689
|
+
/**
|
|
6690
|
+
* @param {string} value
|
|
6691
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6692
|
+
*/
|
|
6693
|
+
proto.tournament.TournamentSnapshotItem.prototype.setImageSmall = function(value) {
|
|
6694
|
+
return jspb.Message.setField(this, 7, value);
|
|
6695
|
+
};
|
|
6696
|
+
|
|
6697
|
+
|
|
6698
|
+
/**
|
|
6699
|
+
* Clears the field making it undefined.
|
|
6700
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6701
|
+
*/
|
|
6702
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearImageSmall = function() {
|
|
6703
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
6704
|
+
};
|
|
6705
|
+
|
|
6706
|
+
|
|
6707
|
+
/**
|
|
6708
|
+
* Returns whether this field is set.
|
|
6709
|
+
* @return {boolean}
|
|
6710
|
+
*/
|
|
6711
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasImageSmall = function() {
|
|
6712
|
+
return jspb.Message.getField(this, 7) != null;
|
|
6713
|
+
};
|
|
6714
|
+
|
|
6715
|
+
|
|
6716
|
+
/**
|
|
6717
|
+
* optional string image_small_cdn = 8;
|
|
6718
|
+
* @return {string}
|
|
6719
|
+
*/
|
|
6720
|
+
proto.tournament.TournamentSnapshotItem.prototype.getImageSmallCdn = function() {
|
|
6721
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
6722
|
+
};
|
|
6723
|
+
|
|
6724
|
+
|
|
6725
|
+
/**
|
|
6726
|
+
* @param {string} value
|
|
6727
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6728
|
+
*/
|
|
6729
|
+
proto.tournament.TournamentSnapshotItem.prototype.setImageSmallCdn = function(value) {
|
|
6730
|
+
return jspb.Message.setField(this, 8, value);
|
|
6731
|
+
};
|
|
6732
|
+
|
|
6733
|
+
|
|
6734
|
+
/**
|
|
6735
|
+
* Clears the field making it undefined.
|
|
6736
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6737
|
+
*/
|
|
6738
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearImageSmallCdn = function() {
|
|
6739
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
6740
|
+
};
|
|
6741
|
+
|
|
6742
|
+
|
|
6743
|
+
/**
|
|
6744
|
+
* Returns whether this field is set.
|
|
6745
|
+
* @return {boolean}
|
|
6746
|
+
*/
|
|
6747
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasImageSmallCdn = function() {
|
|
6748
|
+
return jspb.Message.getField(this, 8) != null;
|
|
6749
|
+
};
|
|
6750
|
+
|
|
6751
|
+
|
|
6752
|
+
/**
|
|
6753
|
+
* optional string status = 9;
|
|
6754
|
+
* @return {string}
|
|
6755
|
+
*/
|
|
6756
|
+
proto.tournament.TournamentSnapshotItem.prototype.getStatus = function() {
|
|
6757
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
6758
|
+
};
|
|
6759
|
+
|
|
6760
|
+
|
|
6761
|
+
/**
|
|
6762
|
+
* @param {string} value
|
|
6763
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6764
|
+
*/
|
|
6765
|
+
proto.tournament.TournamentSnapshotItem.prototype.setStatus = function(value) {
|
|
6766
|
+
return jspb.Message.setField(this, 9, value);
|
|
6767
|
+
};
|
|
6768
|
+
|
|
6769
|
+
|
|
6770
|
+
/**
|
|
6771
|
+
* Clears the field making it undefined.
|
|
6772
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6773
|
+
*/
|
|
6774
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearStatus = function() {
|
|
6775
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
6776
|
+
};
|
|
6777
|
+
|
|
6778
|
+
|
|
6779
|
+
/**
|
|
6780
|
+
* Returns whether this field is set.
|
|
6781
|
+
* @return {boolean}
|
|
6782
|
+
*/
|
|
6783
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasStatus = function() {
|
|
6784
|
+
return jspb.Message.getField(this, 9) != null;
|
|
6785
|
+
};
|
|
6786
|
+
|
|
6787
|
+
|
|
6788
|
+
/**
|
|
6789
|
+
* optional int32 status_id = 10;
|
|
6790
|
+
* @return {number}
|
|
6791
|
+
*/
|
|
6792
|
+
proto.tournament.TournamentSnapshotItem.prototype.getStatusId = function() {
|
|
6793
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
6794
|
+
};
|
|
6795
|
+
|
|
6796
|
+
|
|
6797
|
+
/**
|
|
6798
|
+
* @param {number} value
|
|
6799
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6800
|
+
*/
|
|
6801
|
+
proto.tournament.TournamentSnapshotItem.prototype.setStatusId = function(value) {
|
|
6802
|
+
return jspb.Message.setField(this, 10, value);
|
|
6803
|
+
};
|
|
6804
|
+
|
|
6805
|
+
|
|
6806
|
+
/**
|
|
6807
|
+
* Clears the field making it undefined.
|
|
6808
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6809
|
+
*/
|
|
6810
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearStatusId = function() {
|
|
6811
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
6812
|
+
};
|
|
6813
|
+
|
|
6814
|
+
|
|
6815
|
+
/**
|
|
6816
|
+
* Returns whether this field is set.
|
|
6817
|
+
* @return {boolean}
|
|
6818
|
+
*/
|
|
6819
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasStatusId = function() {
|
|
6820
|
+
return jspb.Message.getField(this, 10) != null;
|
|
6821
|
+
};
|
|
6822
|
+
|
|
6823
|
+
|
|
6824
|
+
/**
|
|
6825
|
+
* optional bool is_active = 11;
|
|
6826
|
+
* @return {boolean}
|
|
6827
|
+
*/
|
|
6828
|
+
proto.tournament.TournamentSnapshotItem.prototype.getIsActive = function() {
|
|
6829
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
6830
|
+
};
|
|
6831
|
+
|
|
6832
|
+
|
|
6833
|
+
/**
|
|
6834
|
+
* @param {boolean} value
|
|
6835
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6836
|
+
*/
|
|
6837
|
+
proto.tournament.TournamentSnapshotItem.prototype.setIsActive = function(value) {
|
|
6838
|
+
return jspb.Message.setField(this, 11, value);
|
|
6839
|
+
};
|
|
6840
|
+
|
|
6841
|
+
|
|
6842
|
+
/**
|
|
6843
|
+
* Clears the field making it undefined.
|
|
6844
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6845
|
+
*/
|
|
6846
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearIsActive = function() {
|
|
6847
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
6848
|
+
};
|
|
6849
|
+
|
|
6850
|
+
|
|
6851
|
+
/**
|
|
6852
|
+
* Returns whether this field is set.
|
|
6853
|
+
* @return {boolean}
|
|
6854
|
+
*/
|
|
6855
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasIsActive = function() {
|
|
6856
|
+
return jspb.Message.getField(this, 11) != null;
|
|
6857
|
+
};
|
|
6858
|
+
|
|
6859
|
+
|
|
6860
|
+
/**
|
|
6861
|
+
* optional string started_at = 12;
|
|
6862
|
+
* @return {string}
|
|
6863
|
+
*/
|
|
6864
|
+
proto.tournament.TournamentSnapshotItem.prototype.getStartedAt = function() {
|
|
6865
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
6866
|
+
};
|
|
6867
|
+
|
|
6868
|
+
|
|
6869
|
+
/**
|
|
6870
|
+
* @param {string} value
|
|
6871
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6872
|
+
*/
|
|
6873
|
+
proto.tournament.TournamentSnapshotItem.prototype.setStartedAt = function(value) {
|
|
6874
|
+
return jspb.Message.setField(this, 12, value);
|
|
6875
|
+
};
|
|
6876
|
+
|
|
6877
|
+
|
|
6878
|
+
/**
|
|
6879
|
+
* Clears the field making it undefined.
|
|
6880
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6881
|
+
*/
|
|
6882
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearStartedAt = function() {
|
|
6883
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
6884
|
+
};
|
|
6885
|
+
|
|
6886
|
+
|
|
6887
|
+
/**
|
|
6888
|
+
* Returns whether this field is set.
|
|
6889
|
+
* @return {boolean}
|
|
6890
|
+
*/
|
|
6891
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasStartedAt = function() {
|
|
6892
|
+
return jspb.Message.getField(this, 12) != null;
|
|
6893
|
+
};
|
|
6894
|
+
|
|
6895
|
+
|
|
6896
|
+
/**
|
|
6897
|
+
* optional string finished_at = 13;
|
|
6898
|
+
* @return {string}
|
|
6899
|
+
*/
|
|
6900
|
+
proto.tournament.TournamentSnapshotItem.prototype.getFinishedAt = function() {
|
|
6901
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
6902
|
+
};
|
|
6903
|
+
|
|
6904
|
+
|
|
6905
|
+
/**
|
|
6906
|
+
* @param {string} value
|
|
6907
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6908
|
+
*/
|
|
6909
|
+
proto.tournament.TournamentSnapshotItem.prototype.setFinishedAt = function(value) {
|
|
6910
|
+
return jspb.Message.setField(this, 13, value);
|
|
6911
|
+
};
|
|
6912
|
+
|
|
6913
|
+
|
|
6914
|
+
/**
|
|
6915
|
+
* Clears the field making it undefined.
|
|
6916
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6917
|
+
*/
|
|
6918
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearFinishedAt = function() {
|
|
6919
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
6920
|
+
};
|
|
6921
|
+
|
|
6922
|
+
|
|
6923
|
+
/**
|
|
6924
|
+
* Returns whether this field is set.
|
|
6925
|
+
* @return {boolean}
|
|
6926
|
+
*/
|
|
6927
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasFinishedAt = function() {
|
|
6928
|
+
return jspb.Message.getField(this, 13) != null;
|
|
6929
|
+
};
|
|
6930
|
+
|
|
6931
|
+
|
|
6932
|
+
/**
|
|
6933
|
+
* optional int32 current_members_count = 14;
|
|
6934
|
+
* @return {number}
|
|
6935
|
+
*/
|
|
6936
|
+
proto.tournament.TournamentSnapshotItem.prototype.getCurrentMembersCount = function() {
|
|
6937
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
6938
|
+
};
|
|
6939
|
+
|
|
6940
|
+
|
|
6941
|
+
/**
|
|
6942
|
+
* @param {number} value
|
|
6943
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6944
|
+
*/
|
|
6945
|
+
proto.tournament.TournamentSnapshotItem.prototype.setCurrentMembersCount = function(value) {
|
|
6946
|
+
return jspb.Message.setField(this, 14, value);
|
|
6947
|
+
};
|
|
6948
|
+
|
|
6949
|
+
|
|
6950
|
+
/**
|
|
6951
|
+
* Clears the field making it undefined.
|
|
6952
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6953
|
+
*/
|
|
6954
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearCurrentMembersCount = function() {
|
|
6955
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
6956
|
+
};
|
|
6957
|
+
|
|
6958
|
+
|
|
6959
|
+
/**
|
|
6960
|
+
* Returns whether this field is set.
|
|
6961
|
+
* @return {boolean}
|
|
6962
|
+
*/
|
|
6963
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasCurrentMembersCount = function() {
|
|
6964
|
+
return jspb.Message.getField(this, 14) != null;
|
|
6965
|
+
};
|
|
6966
|
+
|
|
6967
|
+
|
|
6968
|
+
/**
|
|
6969
|
+
* optional int32 max_members_count = 15;
|
|
6970
|
+
* @return {number}
|
|
6971
|
+
*/
|
|
6972
|
+
proto.tournament.TournamentSnapshotItem.prototype.getMaxMembersCount = function() {
|
|
6973
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
6974
|
+
};
|
|
6975
|
+
|
|
6976
|
+
|
|
6977
|
+
/**
|
|
6978
|
+
* @param {number} value
|
|
6979
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6980
|
+
*/
|
|
6981
|
+
proto.tournament.TournamentSnapshotItem.prototype.setMaxMembersCount = function(value) {
|
|
6982
|
+
return jspb.Message.setField(this, 15, value);
|
|
6983
|
+
};
|
|
6984
|
+
|
|
6985
|
+
|
|
6986
|
+
/**
|
|
6987
|
+
* Clears the field making it undefined.
|
|
6988
|
+
* @return {!proto.tournament.TournamentSnapshotItem} returns this
|
|
6989
|
+
*/
|
|
6990
|
+
proto.tournament.TournamentSnapshotItem.prototype.clearMaxMembersCount = function() {
|
|
6991
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
6992
|
+
};
|
|
6993
|
+
|
|
6994
|
+
|
|
6995
|
+
/**
|
|
6996
|
+
* Returns whether this field is set.
|
|
6997
|
+
* @return {boolean}
|
|
6998
|
+
*/
|
|
6999
|
+
proto.tournament.TournamentSnapshotItem.prototype.hasMaxMembersCount = function() {
|
|
7000
|
+
return jspb.Message.getField(this, 15) != null;
|
|
7001
|
+
};
|
|
7002
|
+
|
|
7003
|
+
|
|
7004
|
+
|
|
7005
|
+
/**
|
|
7006
|
+
* List of repeated fields within this message type.
|
|
7007
|
+
* @private {!Array<number>}
|
|
7008
|
+
* @const
|
|
7009
|
+
*/
|
|
7010
|
+
proto.tournament.TournamentSnapshotItemsResponse.repeatedFields_ = [1];
|
|
7011
|
+
|
|
7012
|
+
|
|
7013
|
+
|
|
7014
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7015
|
+
/**
|
|
7016
|
+
* Creates an object representation of this proto.
|
|
7017
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7018
|
+
* Optional fields that are not set will be set to undefined.
|
|
7019
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7020
|
+
* For the list of reserved names please see:
|
|
7021
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7022
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7023
|
+
* JSPB instance for transitional soy proto support:
|
|
7024
|
+
* http://goto/soy-param-migration
|
|
7025
|
+
* @return {!Object}
|
|
7026
|
+
*/
|
|
7027
|
+
proto.tournament.TournamentSnapshotItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7028
|
+
return proto.tournament.TournamentSnapshotItemsResponse.toObject(opt_includeInstance, this);
|
|
7029
|
+
};
|
|
7030
|
+
|
|
7031
|
+
|
|
7032
|
+
/**
|
|
7033
|
+
* Static version of the {@see toObject} method.
|
|
7034
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7035
|
+
* the JSPB instance for transitional soy proto support:
|
|
7036
|
+
* http://goto/soy-param-migration
|
|
7037
|
+
* @param {!proto.tournament.TournamentSnapshotItemsResponse} msg The msg instance to transform.
|
|
7038
|
+
* @return {!Object}
|
|
7039
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7040
|
+
*/
|
|
7041
|
+
proto.tournament.TournamentSnapshotItemsResponse.toObject = function(includeInstance, msg) {
|
|
7042
|
+
var f, obj = {
|
|
7043
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
7044
|
+
proto.tournament.TournamentSnapshotItem.toObject, includeInstance)
|
|
7045
|
+
};
|
|
7046
|
+
|
|
7047
|
+
if (includeInstance) {
|
|
7048
|
+
obj.$jspbMessageInstance = msg;
|
|
7049
|
+
}
|
|
7050
|
+
return obj;
|
|
7051
|
+
};
|
|
7052
|
+
}
|
|
7053
|
+
|
|
7054
|
+
|
|
7055
|
+
/**
|
|
7056
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7057
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7058
|
+
* @return {!proto.tournament.TournamentSnapshotItemsResponse}
|
|
7059
|
+
*/
|
|
7060
|
+
proto.tournament.TournamentSnapshotItemsResponse.deserializeBinary = function(bytes) {
|
|
7061
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7062
|
+
var msg = new proto.tournament.TournamentSnapshotItemsResponse;
|
|
7063
|
+
return proto.tournament.TournamentSnapshotItemsResponse.deserializeBinaryFromReader(msg, reader);
|
|
7064
|
+
};
|
|
7065
|
+
|
|
7066
|
+
|
|
7067
|
+
/**
|
|
7068
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7069
|
+
* given reader into the given message object.
|
|
7070
|
+
* @param {!proto.tournament.TournamentSnapshotItemsResponse} msg The message object to deserialize into.
|
|
7071
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7072
|
+
* @return {!proto.tournament.TournamentSnapshotItemsResponse}
|
|
7073
|
+
*/
|
|
7074
|
+
proto.tournament.TournamentSnapshotItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
7075
|
+
while (reader.nextField()) {
|
|
7076
|
+
if (reader.isEndGroup()) {
|
|
7077
|
+
break;
|
|
7078
|
+
}
|
|
7079
|
+
var field = reader.getFieldNumber();
|
|
7080
|
+
switch (field) {
|
|
7081
|
+
case 1:
|
|
7082
|
+
var value = new proto.tournament.TournamentSnapshotItem;
|
|
7083
|
+
reader.readMessage(value,proto.tournament.TournamentSnapshotItem.deserializeBinaryFromReader);
|
|
7084
|
+
msg.addItems(value);
|
|
7085
|
+
break;
|
|
7086
|
+
default:
|
|
7087
|
+
reader.skipField();
|
|
7088
|
+
break;
|
|
7089
|
+
}
|
|
7090
|
+
}
|
|
7091
|
+
return msg;
|
|
7092
|
+
};
|
|
7093
|
+
|
|
7094
|
+
|
|
7095
|
+
/**
|
|
7096
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7097
|
+
* @return {!Uint8Array}
|
|
7098
|
+
*/
|
|
7099
|
+
proto.tournament.TournamentSnapshotItemsResponse.prototype.serializeBinary = function() {
|
|
7100
|
+
var writer = new jspb.BinaryWriter();
|
|
7101
|
+
proto.tournament.TournamentSnapshotItemsResponse.serializeBinaryToWriter(this, writer);
|
|
7102
|
+
return writer.getResultBuffer();
|
|
7103
|
+
};
|
|
7104
|
+
|
|
7105
|
+
|
|
7106
|
+
/**
|
|
7107
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7108
|
+
* format), writing to the given BinaryWriter.
|
|
7109
|
+
* @param {!proto.tournament.TournamentSnapshotItemsResponse} message
|
|
7110
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7111
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7112
|
+
*/
|
|
7113
|
+
proto.tournament.TournamentSnapshotItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7114
|
+
var f = undefined;
|
|
7115
|
+
f = message.getItemsList();
|
|
7116
|
+
if (f.length > 0) {
|
|
7117
|
+
writer.writeRepeatedMessage(
|
|
7118
|
+
1,
|
|
7119
|
+
f,
|
|
7120
|
+
proto.tournament.TournamentSnapshotItem.serializeBinaryToWriter
|
|
7121
|
+
);
|
|
7122
|
+
}
|
|
7123
|
+
};
|
|
7124
|
+
|
|
7125
|
+
|
|
7126
|
+
/**
|
|
7127
|
+
* repeated TournamentSnapshotItem items = 1;
|
|
7128
|
+
* @return {!Array<!proto.tournament.TournamentSnapshotItem>}
|
|
7129
|
+
*/
|
|
7130
|
+
proto.tournament.TournamentSnapshotItemsResponse.prototype.getItemsList = function() {
|
|
7131
|
+
return /** @type{!Array<!proto.tournament.TournamentSnapshotItem>} */ (
|
|
7132
|
+
jspb.Message.getRepeatedWrapperField(this, proto.tournament.TournamentSnapshotItem, 1));
|
|
7133
|
+
};
|
|
7134
|
+
|
|
7135
|
+
|
|
7136
|
+
/**
|
|
7137
|
+
* @param {!Array<!proto.tournament.TournamentSnapshotItem>} value
|
|
7138
|
+
* @return {!proto.tournament.TournamentSnapshotItemsResponse} returns this
|
|
7139
|
+
*/
|
|
7140
|
+
proto.tournament.TournamentSnapshotItemsResponse.prototype.setItemsList = function(value) {
|
|
7141
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
7142
|
+
};
|
|
7143
|
+
|
|
7144
|
+
|
|
7145
|
+
/**
|
|
7146
|
+
* @param {!proto.tournament.TournamentSnapshotItem=} opt_value
|
|
7147
|
+
* @param {number=} opt_index
|
|
7148
|
+
* @return {!proto.tournament.TournamentSnapshotItem}
|
|
7149
|
+
*/
|
|
7150
|
+
proto.tournament.TournamentSnapshotItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
7151
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.tournament.TournamentSnapshotItem, opt_index);
|
|
7152
|
+
};
|
|
7153
|
+
|
|
7154
|
+
|
|
7155
|
+
/**
|
|
7156
|
+
* Clears the list making it empty but non-null.
|
|
7157
|
+
* @return {!proto.tournament.TournamentSnapshotItemsResponse} returns this
|
|
7158
|
+
*/
|
|
7159
|
+
proto.tournament.TournamentSnapshotItemsResponse.prototype.clearItemsList = function() {
|
|
7160
|
+
return this.setItemsList([]);
|
|
7161
|
+
};
|
|
7162
|
+
|
|
7163
|
+
|
|
7164
|
+
|
|
5979
7165
|
|
|
5980
7166
|
|
|
5981
7167
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|