protobuf-platform 1.0.297 → 1.0.299

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.
@@ -27,12 +27,15 @@ goog.exportSymbol('proto.tournament.GetTournamentRequest', null, global);
27
27
  goog.exportSymbol('proto.tournament.PaginationRequest', null, global);
28
28
  goog.exportSymbol('proto.tournament.PingRequest', null, global);
29
29
  goog.exportSymbol('proto.tournament.PongResponse', null, global);
30
+ goog.exportSymbol('proto.tournament.TournamentActivationRuleRequest', null, global);
30
31
  goog.exportSymbol('proto.tournament.TournamentItem', null, global);
31
32
  goog.exportSymbol('proto.tournament.TournamentItemRequest', null, global);
32
33
  goog.exportSymbol('proto.tournament.TournamentItemsResponse', null, global);
33
34
  goog.exportSymbol('proto.tournament.TournamentRequest', null, global);
34
35
  goog.exportSymbol('proto.tournament.TournamentRequest.RequestCase', null, global);
35
36
  goog.exportSymbol('proto.tournament.TournamentResponse', null, global);
37
+ goog.exportSymbol('proto.tournament.TournamentRewardsRequest', null, global);
38
+ goog.exportSymbol('proto.tournament.TournamentScoringRuleRequest', null, global);
36
39
  goog.exportSymbol('proto.tournament.TournamentStatusItem', null, global);
37
40
  goog.exportSymbol('proto.tournament.TournamentStatusItemsResponse', null, global);
38
41
  goog.exportSymbol('proto.tournament.TournamentStatusResponse', null, global);
@@ -352,6 +355,69 @@ if (goog.DEBUG && !COMPILED) {
352
355
  */
353
356
  proto.tournament.TournamentStatusItemsResponse.displayName = 'proto.tournament.TournamentStatusItemsResponse';
354
357
  }
358
+ /**
359
+ * Generated by JsPbCodeGenerator.
360
+ * @param {Array=} opt_data Optional initial data array, typically from a
361
+ * server response, or constructed directly in Javascript. The array is used
362
+ * in place and becomes part of the constructed object. It is not cloned.
363
+ * If no data is provided, the constructed object will be empty, but still
364
+ * valid.
365
+ * @extends {jspb.Message}
366
+ * @constructor
367
+ */
368
+ proto.tournament.TournamentActivationRuleRequest = function(opt_data) {
369
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
370
+ };
371
+ goog.inherits(proto.tournament.TournamentActivationRuleRequest, jspb.Message);
372
+ if (goog.DEBUG && !COMPILED) {
373
+ /**
374
+ * @public
375
+ * @override
376
+ */
377
+ proto.tournament.TournamentActivationRuleRequest.displayName = 'proto.tournament.TournamentActivationRuleRequest';
378
+ }
379
+ /**
380
+ * Generated by JsPbCodeGenerator.
381
+ * @param {Array=} opt_data Optional initial data array, typically from a
382
+ * server response, or constructed directly in Javascript. The array is used
383
+ * in place and becomes part of the constructed object. It is not cloned.
384
+ * If no data is provided, the constructed object will be empty, but still
385
+ * valid.
386
+ * @extends {jspb.Message}
387
+ * @constructor
388
+ */
389
+ proto.tournament.TournamentScoringRuleRequest = function(opt_data) {
390
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
391
+ };
392
+ goog.inherits(proto.tournament.TournamentScoringRuleRequest, jspb.Message);
393
+ if (goog.DEBUG && !COMPILED) {
394
+ /**
395
+ * @public
396
+ * @override
397
+ */
398
+ proto.tournament.TournamentScoringRuleRequest.displayName = 'proto.tournament.TournamentScoringRuleRequest';
399
+ }
400
+ /**
401
+ * Generated by JsPbCodeGenerator.
402
+ * @param {Array=} opt_data Optional initial data array, typically from a
403
+ * server response, or constructed directly in Javascript. The array is used
404
+ * in place and becomes part of the constructed object. It is not cloned.
405
+ * If no data is provided, the constructed object will be empty, but still
406
+ * valid.
407
+ * @extends {jspb.Message}
408
+ * @constructor
409
+ */
410
+ proto.tournament.TournamentRewardsRequest = function(opt_data) {
411
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
412
+ };
413
+ goog.inherits(proto.tournament.TournamentRewardsRequest, jspb.Message);
414
+ if (goog.DEBUG && !COMPILED) {
415
+ /**
416
+ * @public
417
+ * @override
418
+ */
419
+ proto.tournament.TournamentRewardsRequest.displayName = 'proto.tournament.TournamentRewardsRequest';
420
+ }
355
421
 
356
422
 
357
423
 
@@ -3948,4 +4014,307 @@ proto.tournament.TournamentStatusItemsResponse.prototype.hasTotalItems = functio
3948
4014
  };
3949
4015
 
3950
4016
 
4017
+
4018
+
4019
+
4020
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4021
+ /**
4022
+ * Creates an object representation of this proto.
4023
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4024
+ * Optional fields that are not set will be set to undefined.
4025
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4026
+ * For the list of reserved names please see:
4027
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4028
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4029
+ * JSPB instance for transitional soy proto support:
4030
+ * http://goto/soy-param-migration
4031
+ * @return {!Object}
4032
+ */
4033
+ proto.tournament.TournamentActivationRuleRequest.prototype.toObject = function(opt_includeInstance) {
4034
+ return proto.tournament.TournamentActivationRuleRequest.toObject(opt_includeInstance, this);
4035
+ };
4036
+
4037
+
4038
+ /**
4039
+ * Static version of the {@see toObject} method.
4040
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4041
+ * the JSPB instance for transitional soy proto support:
4042
+ * http://goto/soy-param-migration
4043
+ * @param {!proto.tournament.TournamentActivationRuleRequest} msg The msg instance to transform.
4044
+ * @return {!Object}
4045
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4046
+ */
4047
+ proto.tournament.TournamentActivationRuleRequest.toObject = function(includeInstance, msg) {
4048
+ var f, obj = {
4049
+
4050
+ };
4051
+
4052
+ if (includeInstance) {
4053
+ obj.$jspbMessageInstance = msg;
4054
+ }
4055
+ return obj;
4056
+ };
4057
+ }
4058
+
4059
+
4060
+ /**
4061
+ * Deserializes binary data (in protobuf wire format).
4062
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4063
+ * @return {!proto.tournament.TournamentActivationRuleRequest}
4064
+ */
4065
+ proto.tournament.TournamentActivationRuleRequest.deserializeBinary = function(bytes) {
4066
+ var reader = new jspb.BinaryReader(bytes);
4067
+ var msg = new proto.tournament.TournamentActivationRuleRequest;
4068
+ return proto.tournament.TournamentActivationRuleRequest.deserializeBinaryFromReader(msg, reader);
4069
+ };
4070
+
4071
+
4072
+ /**
4073
+ * Deserializes binary data (in protobuf wire format) from the
4074
+ * given reader into the given message object.
4075
+ * @param {!proto.tournament.TournamentActivationRuleRequest} msg The message object to deserialize into.
4076
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4077
+ * @return {!proto.tournament.TournamentActivationRuleRequest}
4078
+ */
4079
+ proto.tournament.TournamentActivationRuleRequest.deserializeBinaryFromReader = function(msg, reader) {
4080
+ while (reader.nextField()) {
4081
+ if (reader.isEndGroup()) {
4082
+ break;
4083
+ }
4084
+ var field = reader.getFieldNumber();
4085
+ switch (field) {
4086
+ default:
4087
+ reader.skipField();
4088
+ break;
4089
+ }
4090
+ }
4091
+ return msg;
4092
+ };
4093
+
4094
+
4095
+ /**
4096
+ * Serializes the message to binary data (in protobuf wire format).
4097
+ * @return {!Uint8Array}
4098
+ */
4099
+ proto.tournament.TournamentActivationRuleRequest.prototype.serializeBinary = function() {
4100
+ var writer = new jspb.BinaryWriter();
4101
+ proto.tournament.TournamentActivationRuleRequest.serializeBinaryToWriter(this, writer);
4102
+ return writer.getResultBuffer();
4103
+ };
4104
+
4105
+
4106
+ /**
4107
+ * Serializes the given message to binary data (in protobuf wire
4108
+ * format), writing to the given BinaryWriter.
4109
+ * @param {!proto.tournament.TournamentActivationRuleRequest} message
4110
+ * @param {!jspb.BinaryWriter} writer
4111
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4112
+ */
4113
+ proto.tournament.TournamentActivationRuleRequest.serializeBinaryToWriter = function(message, writer) {
4114
+ var f = undefined;
4115
+ };
4116
+
4117
+
4118
+
4119
+
4120
+
4121
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4122
+ /**
4123
+ * Creates an object representation of this proto.
4124
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4125
+ * Optional fields that are not set will be set to undefined.
4126
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4127
+ * For the list of reserved names please see:
4128
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4129
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4130
+ * JSPB instance for transitional soy proto support:
4131
+ * http://goto/soy-param-migration
4132
+ * @return {!Object}
4133
+ */
4134
+ proto.tournament.TournamentScoringRuleRequest.prototype.toObject = function(opt_includeInstance) {
4135
+ return proto.tournament.TournamentScoringRuleRequest.toObject(opt_includeInstance, this);
4136
+ };
4137
+
4138
+
4139
+ /**
4140
+ * Static version of the {@see toObject} method.
4141
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4142
+ * the JSPB instance for transitional soy proto support:
4143
+ * http://goto/soy-param-migration
4144
+ * @param {!proto.tournament.TournamentScoringRuleRequest} msg The msg instance to transform.
4145
+ * @return {!Object}
4146
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4147
+ */
4148
+ proto.tournament.TournamentScoringRuleRequest.toObject = function(includeInstance, msg) {
4149
+ var f, obj = {
4150
+
4151
+ };
4152
+
4153
+ if (includeInstance) {
4154
+ obj.$jspbMessageInstance = msg;
4155
+ }
4156
+ return obj;
4157
+ };
4158
+ }
4159
+
4160
+
4161
+ /**
4162
+ * Deserializes binary data (in protobuf wire format).
4163
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4164
+ * @return {!proto.tournament.TournamentScoringRuleRequest}
4165
+ */
4166
+ proto.tournament.TournamentScoringRuleRequest.deserializeBinary = function(bytes) {
4167
+ var reader = new jspb.BinaryReader(bytes);
4168
+ var msg = new proto.tournament.TournamentScoringRuleRequest;
4169
+ return proto.tournament.TournamentScoringRuleRequest.deserializeBinaryFromReader(msg, reader);
4170
+ };
4171
+
4172
+
4173
+ /**
4174
+ * Deserializes binary data (in protobuf wire format) from the
4175
+ * given reader into the given message object.
4176
+ * @param {!proto.tournament.TournamentScoringRuleRequest} msg The message object to deserialize into.
4177
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4178
+ * @return {!proto.tournament.TournamentScoringRuleRequest}
4179
+ */
4180
+ proto.tournament.TournamentScoringRuleRequest.deserializeBinaryFromReader = function(msg, reader) {
4181
+ while (reader.nextField()) {
4182
+ if (reader.isEndGroup()) {
4183
+ break;
4184
+ }
4185
+ var field = reader.getFieldNumber();
4186
+ switch (field) {
4187
+ default:
4188
+ reader.skipField();
4189
+ break;
4190
+ }
4191
+ }
4192
+ return msg;
4193
+ };
4194
+
4195
+
4196
+ /**
4197
+ * Serializes the message to binary data (in protobuf wire format).
4198
+ * @return {!Uint8Array}
4199
+ */
4200
+ proto.tournament.TournamentScoringRuleRequest.prototype.serializeBinary = function() {
4201
+ var writer = new jspb.BinaryWriter();
4202
+ proto.tournament.TournamentScoringRuleRequest.serializeBinaryToWriter(this, writer);
4203
+ return writer.getResultBuffer();
4204
+ };
4205
+
4206
+
4207
+ /**
4208
+ * Serializes the given message to binary data (in protobuf wire
4209
+ * format), writing to the given BinaryWriter.
4210
+ * @param {!proto.tournament.TournamentScoringRuleRequest} message
4211
+ * @param {!jspb.BinaryWriter} writer
4212
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4213
+ */
4214
+ proto.tournament.TournamentScoringRuleRequest.serializeBinaryToWriter = function(message, writer) {
4215
+ var f = undefined;
4216
+ };
4217
+
4218
+
4219
+
4220
+
4221
+
4222
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4223
+ /**
4224
+ * Creates an object representation of this proto.
4225
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4226
+ * Optional fields that are not set will be set to undefined.
4227
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4228
+ * For the list of reserved names please see:
4229
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4230
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4231
+ * JSPB instance for transitional soy proto support:
4232
+ * http://goto/soy-param-migration
4233
+ * @return {!Object}
4234
+ */
4235
+ proto.tournament.TournamentRewardsRequest.prototype.toObject = function(opt_includeInstance) {
4236
+ return proto.tournament.TournamentRewardsRequest.toObject(opt_includeInstance, this);
4237
+ };
4238
+
4239
+
4240
+ /**
4241
+ * Static version of the {@see toObject} method.
4242
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4243
+ * the JSPB instance for transitional soy proto support:
4244
+ * http://goto/soy-param-migration
4245
+ * @param {!proto.tournament.TournamentRewardsRequest} msg The msg instance to transform.
4246
+ * @return {!Object}
4247
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4248
+ */
4249
+ proto.tournament.TournamentRewardsRequest.toObject = function(includeInstance, msg) {
4250
+ var f, obj = {
4251
+
4252
+ };
4253
+
4254
+ if (includeInstance) {
4255
+ obj.$jspbMessageInstance = msg;
4256
+ }
4257
+ return obj;
4258
+ };
4259
+ }
4260
+
4261
+
4262
+ /**
4263
+ * Deserializes binary data (in protobuf wire format).
4264
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4265
+ * @return {!proto.tournament.TournamentRewardsRequest}
4266
+ */
4267
+ proto.tournament.TournamentRewardsRequest.deserializeBinary = function(bytes) {
4268
+ var reader = new jspb.BinaryReader(bytes);
4269
+ var msg = new proto.tournament.TournamentRewardsRequest;
4270
+ return proto.tournament.TournamentRewardsRequest.deserializeBinaryFromReader(msg, reader);
4271
+ };
4272
+
4273
+
4274
+ /**
4275
+ * Deserializes binary data (in protobuf wire format) from the
4276
+ * given reader into the given message object.
4277
+ * @param {!proto.tournament.TournamentRewardsRequest} msg The message object to deserialize into.
4278
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4279
+ * @return {!proto.tournament.TournamentRewardsRequest}
4280
+ */
4281
+ proto.tournament.TournamentRewardsRequest.deserializeBinaryFromReader = function(msg, reader) {
4282
+ while (reader.nextField()) {
4283
+ if (reader.isEndGroup()) {
4284
+ break;
4285
+ }
4286
+ var field = reader.getFieldNumber();
4287
+ switch (field) {
4288
+ default:
4289
+ reader.skipField();
4290
+ break;
4291
+ }
4292
+ }
4293
+ return msg;
4294
+ };
4295
+
4296
+
4297
+ /**
4298
+ * Serializes the message to binary data (in protobuf wire format).
4299
+ * @return {!Uint8Array}
4300
+ */
4301
+ proto.tournament.TournamentRewardsRequest.prototype.serializeBinary = function() {
4302
+ var writer = new jspb.BinaryWriter();
4303
+ proto.tournament.TournamentRewardsRequest.serializeBinaryToWriter(this, writer);
4304
+ return writer.getResultBuffer();
4305
+ };
4306
+
4307
+
4308
+ /**
4309
+ * Serializes the given message to binary data (in protobuf wire
4310
+ * format), writing to the given BinaryWriter.
4311
+ * @param {!proto.tournament.TournamentRewardsRequest} message
4312
+ * @param {!jspb.BinaryWriter} writer
4313
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4314
+ */
4315
+ proto.tournament.TournamentRewardsRequest.serializeBinaryToWriter = function(message, writer) {
4316
+ var f = undefined;
4317
+ };
4318
+
4319
+
3951
4320
  goog.object.extend(exports, proto.tournament);