protobuf-platform 1.2.283 → 1.2.284

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/poker/poker_pb.js CHANGED
@@ -21,21 +21,9 @@ var global = (function() {
21
21
  return Function('return this')();
22
22
  }.call(null));
23
23
 
24
- goog.exportSymbol('proto.sport.LaunchBetbyRequest', null, global);
25
- goog.exportSymbol('proto.sport.LaunchBetbyResponse', null, global);
26
- goog.exportSymbol('proto.sport.PaginationRequest', null, global);
27
- goog.exportSymbol('proto.sport.PingRequest', null, global);
28
- goog.exportSymbol('proto.sport.PongResponse', null, global);
29
- goog.exportSymbol('proto.sport.SportCategoriesIds', null, global);
30
- goog.exportSymbol('proto.sport.SportCategoriesResponse', null, global);
31
- goog.exportSymbol('proto.sport.SportCategoryItem', null, global);
32
- goog.exportSymbol('proto.sport.SportTypeItem', null, global);
33
- goog.exportSymbol('proto.sport.SportTypesIds', null, global);
34
- goog.exportSymbol('proto.sport.SportTypesResponse', null, global);
35
- goog.exportSymbol('proto.sport.VendorActionRequest', null, global);
36
- goog.exportSymbol('proto.sport.VendorActionResponse', null, global);
37
- goog.exportSymbol('proto.sport.selfValidationBetbyRequest', null, global);
38
- goog.exportSymbol('proto.sport.selfValidationBetbyResponse', null, global);
24
+ goog.exportSymbol('proto.poker.PaginationRequest', null, global);
25
+ goog.exportSymbol('proto.poker.PingRequest', null, global);
26
+ goog.exportSymbol('proto.poker.PongResponse', null, global);
39
27
  /**
40
28
  * Generated by JsPbCodeGenerator.
41
29
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -46,16 +34,16 @@ goog.exportSymbol('proto.sport.selfValidationBetbyResponse', null, global);
46
34
  * @extends {jspb.Message}
47
35
  * @constructor
48
36
  */
49
- proto.sport.PingRequest = function(opt_data) {
37
+ proto.poker.PingRequest = function(opt_data) {
50
38
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
51
39
  };
52
- goog.inherits(proto.sport.PingRequest, jspb.Message);
40
+ goog.inherits(proto.poker.PingRequest, jspb.Message);
53
41
  if (goog.DEBUG && !COMPILED) {
54
42
  /**
55
43
  * @public
56
44
  * @override
57
45
  */
58
- proto.sport.PingRequest.displayName = 'proto.sport.PingRequest';
46
+ proto.poker.PingRequest.displayName = 'proto.poker.PingRequest';
59
47
  }
60
48
  /**
61
49
  * Generated by JsPbCodeGenerator.
@@ -67,16 +55,16 @@ if (goog.DEBUG && !COMPILED) {
67
55
  * @extends {jspb.Message}
68
56
  * @constructor
69
57
  */
70
- proto.sport.PongResponse = function(opt_data) {
58
+ proto.poker.PongResponse = function(opt_data) {
71
59
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
72
60
  };
73
- goog.inherits(proto.sport.PongResponse, jspb.Message);
61
+ goog.inherits(proto.poker.PongResponse, jspb.Message);
74
62
  if (goog.DEBUG && !COMPILED) {
75
63
  /**
76
64
  * @public
77
65
  * @override
78
66
  */
79
- proto.sport.PongResponse.displayName = 'proto.sport.PongResponse';
67
+ proto.poker.PongResponse.displayName = 'proto.poker.PongResponse';
80
68
  }
81
69
  /**
82
70
  * Generated by JsPbCodeGenerator.
@@ -88,268 +76,16 @@ if (goog.DEBUG && !COMPILED) {
88
76
  * @extends {jspb.Message}
89
77
  * @constructor
90
78
  */
91
- proto.sport.PaginationRequest = function(opt_data) {
79
+ proto.poker.PaginationRequest = function(opt_data) {
92
80
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
93
81
  };
94
- goog.inherits(proto.sport.PaginationRequest, jspb.Message);
82
+ goog.inherits(proto.poker.PaginationRequest, jspb.Message);
95
83
  if (goog.DEBUG && !COMPILED) {
96
84
  /**
97
85
  * @public
98
86
  * @override
99
87
  */
100
- proto.sport.PaginationRequest.displayName = 'proto.sport.PaginationRequest';
101
- }
102
- /**
103
- * Generated by JsPbCodeGenerator.
104
- * @param {Array=} opt_data Optional initial data array, typically from a
105
- * server response, or constructed directly in Javascript. The array is used
106
- * in place and becomes part of the constructed object. It is not cloned.
107
- * If no data is provided, the constructed object will be empty, but still
108
- * valid.
109
- * @extends {jspb.Message}
110
- * @constructor
111
- */
112
- proto.sport.LaunchBetbyRequest = function(opt_data) {
113
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
114
- };
115
- goog.inherits(proto.sport.LaunchBetbyRequest, jspb.Message);
116
- if (goog.DEBUG && !COMPILED) {
117
- /**
118
- * @public
119
- * @override
120
- */
121
- proto.sport.LaunchBetbyRequest.displayName = 'proto.sport.LaunchBetbyRequest';
122
- }
123
- /**
124
- * Generated by JsPbCodeGenerator.
125
- * @param {Array=} opt_data Optional initial data array, typically from a
126
- * server response, or constructed directly in Javascript. The array is used
127
- * in place and becomes part of the constructed object. It is not cloned.
128
- * If no data is provided, the constructed object will be empty, but still
129
- * valid.
130
- * @extends {jspb.Message}
131
- * @constructor
132
- */
133
- proto.sport.LaunchBetbyResponse = function(opt_data) {
134
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
135
- };
136
- goog.inherits(proto.sport.LaunchBetbyResponse, jspb.Message);
137
- if (goog.DEBUG && !COMPILED) {
138
- /**
139
- * @public
140
- * @override
141
- */
142
- proto.sport.LaunchBetbyResponse.displayName = 'proto.sport.LaunchBetbyResponse';
143
- }
144
- /**
145
- * Generated by JsPbCodeGenerator.
146
- * @param {Array=} opt_data Optional initial data array, typically from a
147
- * server response, or constructed directly in Javascript. The array is used
148
- * in place and becomes part of the constructed object. It is not cloned.
149
- * If no data is provided, the constructed object will be empty, but still
150
- * valid.
151
- * @extends {jspb.Message}
152
- * @constructor
153
- */
154
- proto.sport.VendorActionRequest = function(opt_data) {
155
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
156
- };
157
- goog.inherits(proto.sport.VendorActionRequest, jspb.Message);
158
- if (goog.DEBUG && !COMPILED) {
159
- /**
160
- * @public
161
- * @override
162
- */
163
- proto.sport.VendorActionRequest.displayName = 'proto.sport.VendorActionRequest';
164
- }
165
- /**
166
- * Generated by JsPbCodeGenerator.
167
- * @param {Array=} opt_data Optional initial data array, typically from a
168
- * server response, or constructed directly in Javascript. The array is used
169
- * in place and becomes part of the constructed object. It is not cloned.
170
- * If no data is provided, the constructed object will be empty, but still
171
- * valid.
172
- * @extends {jspb.Message}
173
- * @constructor
174
- */
175
- proto.sport.VendorActionResponse = function(opt_data) {
176
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
177
- };
178
- goog.inherits(proto.sport.VendorActionResponse, jspb.Message);
179
- if (goog.DEBUG && !COMPILED) {
180
- /**
181
- * @public
182
- * @override
183
- */
184
- proto.sport.VendorActionResponse.displayName = 'proto.sport.VendorActionResponse';
185
- }
186
- /**
187
- * Generated by JsPbCodeGenerator.
188
- * @param {Array=} opt_data Optional initial data array, typically from a
189
- * server response, or constructed directly in Javascript. The array is used
190
- * in place and becomes part of the constructed object. It is not cloned.
191
- * If no data is provided, the constructed object will be empty, but still
192
- * valid.
193
- * @extends {jspb.Message}
194
- * @constructor
195
- */
196
- proto.sport.selfValidationBetbyRequest = function(opt_data) {
197
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
198
- };
199
- goog.inherits(proto.sport.selfValidationBetbyRequest, jspb.Message);
200
- if (goog.DEBUG && !COMPILED) {
201
- /**
202
- * @public
203
- * @override
204
- */
205
- proto.sport.selfValidationBetbyRequest.displayName = 'proto.sport.selfValidationBetbyRequest';
206
- }
207
- /**
208
- * Generated by JsPbCodeGenerator.
209
- * @param {Array=} opt_data Optional initial data array, typically from a
210
- * server response, or constructed directly in Javascript. The array is used
211
- * in place and becomes part of the constructed object. It is not cloned.
212
- * If no data is provided, the constructed object will be empty, but still
213
- * valid.
214
- * @extends {jspb.Message}
215
- * @constructor
216
- */
217
- proto.sport.selfValidationBetbyResponse = function(opt_data) {
218
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
219
- };
220
- goog.inherits(proto.sport.selfValidationBetbyResponse, jspb.Message);
221
- if (goog.DEBUG && !COMPILED) {
222
- /**
223
- * @public
224
- * @override
225
- */
226
- proto.sport.selfValidationBetbyResponse.displayName = 'proto.sport.selfValidationBetbyResponse';
227
- }
228
- /**
229
- * Generated by JsPbCodeGenerator.
230
- * @param {Array=} opt_data Optional initial data array, typically from a
231
- * server response, or constructed directly in Javascript. The array is used
232
- * in place and becomes part of the constructed object. It is not cloned.
233
- * If no data is provided, the constructed object will be empty, but still
234
- * valid.
235
- * @extends {jspb.Message}
236
- * @constructor
237
- */
238
- proto.sport.SportCategoryItem = function(opt_data) {
239
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
240
- };
241
- goog.inherits(proto.sport.SportCategoryItem, jspb.Message);
242
- if (goog.DEBUG && !COMPILED) {
243
- /**
244
- * @public
245
- * @override
246
- */
247
- proto.sport.SportCategoryItem.displayName = 'proto.sport.SportCategoryItem';
248
- }
249
- /**
250
- * Generated by JsPbCodeGenerator.
251
- * @param {Array=} opt_data Optional initial data array, typically from a
252
- * server response, or constructed directly in Javascript. The array is used
253
- * in place and becomes part of the constructed object. It is not cloned.
254
- * If no data is provided, the constructed object will be empty, but still
255
- * valid.
256
- * @extends {jspb.Message}
257
- * @constructor
258
- */
259
- proto.sport.SportCategoriesIds = function(opt_data) {
260
- jspb.Message.initialize(this, opt_data, 0, -1, proto.sport.SportCategoriesIds.repeatedFields_, null);
261
- };
262
- goog.inherits(proto.sport.SportCategoriesIds, jspb.Message);
263
- if (goog.DEBUG && !COMPILED) {
264
- /**
265
- * @public
266
- * @override
267
- */
268
- proto.sport.SportCategoriesIds.displayName = 'proto.sport.SportCategoriesIds';
269
- }
270
- /**
271
- * Generated by JsPbCodeGenerator.
272
- * @param {Array=} opt_data Optional initial data array, typically from a
273
- * server response, or constructed directly in Javascript. The array is used
274
- * in place and becomes part of the constructed object. It is not cloned.
275
- * If no data is provided, the constructed object will be empty, but still
276
- * valid.
277
- * @extends {jspb.Message}
278
- * @constructor
279
- */
280
- proto.sport.SportCategoriesResponse = function(opt_data) {
281
- jspb.Message.initialize(this, opt_data, 0, -1, proto.sport.SportCategoriesResponse.repeatedFields_, null);
282
- };
283
- goog.inherits(proto.sport.SportCategoriesResponse, jspb.Message);
284
- if (goog.DEBUG && !COMPILED) {
285
- /**
286
- * @public
287
- * @override
288
- */
289
- proto.sport.SportCategoriesResponse.displayName = 'proto.sport.SportCategoriesResponse';
290
- }
291
- /**
292
- * Generated by JsPbCodeGenerator.
293
- * @param {Array=} opt_data Optional initial data array, typically from a
294
- * server response, or constructed directly in Javascript. The array is used
295
- * in place and becomes part of the constructed object. It is not cloned.
296
- * If no data is provided, the constructed object will be empty, but still
297
- * valid.
298
- * @extends {jspb.Message}
299
- * @constructor
300
- */
301
- proto.sport.SportTypeItem = function(opt_data) {
302
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
303
- };
304
- goog.inherits(proto.sport.SportTypeItem, jspb.Message);
305
- if (goog.DEBUG && !COMPILED) {
306
- /**
307
- * @public
308
- * @override
309
- */
310
- proto.sport.SportTypeItem.displayName = 'proto.sport.SportTypeItem';
311
- }
312
- /**
313
- * Generated by JsPbCodeGenerator.
314
- * @param {Array=} opt_data Optional initial data array, typically from a
315
- * server response, or constructed directly in Javascript. The array is used
316
- * in place and becomes part of the constructed object. It is not cloned.
317
- * If no data is provided, the constructed object will be empty, but still
318
- * valid.
319
- * @extends {jspb.Message}
320
- * @constructor
321
- */
322
- proto.sport.SportTypesIds = function(opt_data) {
323
- jspb.Message.initialize(this, opt_data, 0, -1, proto.sport.SportTypesIds.repeatedFields_, null);
324
- };
325
- goog.inherits(proto.sport.SportTypesIds, jspb.Message);
326
- if (goog.DEBUG && !COMPILED) {
327
- /**
328
- * @public
329
- * @override
330
- */
331
- proto.sport.SportTypesIds.displayName = 'proto.sport.SportTypesIds';
332
- }
333
- /**
334
- * Generated by JsPbCodeGenerator.
335
- * @param {Array=} opt_data Optional initial data array, typically from a
336
- * server response, or constructed directly in Javascript. The array is used
337
- * in place and becomes part of the constructed object. It is not cloned.
338
- * If no data is provided, the constructed object will be empty, but still
339
- * valid.
340
- * @extends {jspb.Message}
341
- * @constructor
342
- */
343
- proto.sport.SportTypesResponse = function(opt_data) {
344
- jspb.Message.initialize(this, opt_data, 0, -1, proto.sport.SportTypesResponse.repeatedFields_, null);
345
- };
346
- goog.inherits(proto.sport.SportTypesResponse, jspb.Message);
347
- if (goog.DEBUG && !COMPILED) {
348
- /**
349
- * @public
350
- * @override
351
- */
352
- proto.sport.SportTypesResponse.displayName = 'proto.sport.SportTypesResponse';
88
+ proto.poker.PaginationRequest.displayName = 'proto.poker.PaginationRequest';
353
89
  }
354
90
 
355
91
 
@@ -367,8 +103,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
367
103
  * http://goto/soy-param-migration
368
104
  * @return {!Object}
369
105
  */
370
- proto.sport.PingRequest.prototype.toObject = function(opt_includeInstance) {
371
- return proto.sport.PingRequest.toObject(opt_includeInstance, this);
106
+ proto.poker.PingRequest.prototype.toObject = function(opt_includeInstance) {
107
+ return proto.poker.PingRequest.toObject(opt_includeInstance, this);
372
108
  };
373
109
 
374
110
 
@@ -377,11 +113,11 @@ proto.sport.PingRequest.prototype.toObject = function(opt_includeInstance) {
377
113
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
378
114
  * the JSPB instance for transitional soy proto support:
379
115
  * http://goto/soy-param-migration
380
- * @param {!proto.sport.PingRequest} msg The msg instance to transform.
116
+ * @param {!proto.poker.PingRequest} msg The msg instance to transform.
381
117
  * @return {!Object}
382
118
  * @suppress {unusedLocalVariables} f is only used for nested messages
383
119
  */
384
- proto.sport.PingRequest.toObject = function(includeInstance, msg) {
120
+ proto.poker.PingRequest.toObject = function(includeInstance, msg) {
385
121
  var f, obj = {
386
122
  ping: jspb.Message.getFieldWithDefault(msg, 1, "")
387
123
  };
@@ -397,23 +133,23 @@ proto.sport.PingRequest.toObject = function(includeInstance, msg) {
397
133
  /**
398
134
  * Deserializes binary data (in protobuf wire format).
399
135
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
400
- * @return {!proto.sport.PingRequest}
136
+ * @return {!proto.poker.PingRequest}
401
137
  */
402
- proto.sport.PingRequest.deserializeBinary = function(bytes) {
138
+ proto.poker.PingRequest.deserializeBinary = function(bytes) {
403
139
  var reader = new jspb.BinaryReader(bytes);
404
- var msg = new proto.sport.PingRequest;
405
- return proto.sport.PingRequest.deserializeBinaryFromReader(msg, reader);
140
+ var msg = new proto.poker.PingRequest;
141
+ return proto.poker.PingRequest.deserializeBinaryFromReader(msg, reader);
406
142
  };
407
143
 
408
144
 
409
145
  /**
410
146
  * Deserializes binary data (in protobuf wire format) from the
411
147
  * given reader into the given message object.
412
- * @param {!proto.sport.PingRequest} msg The message object to deserialize into.
148
+ * @param {!proto.poker.PingRequest} msg The message object to deserialize into.
413
149
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
414
- * @return {!proto.sport.PingRequest}
150
+ * @return {!proto.poker.PingRequest}
415
151
  */
416
- proto.sport.PingRequest.deserializeBinaryFromReader = function(msg, reader) {
152
+ proto.poker.PingRequest.deserializeBinaryFromReader = function(msg, reader) {
417
153
  while (reader.nextField()) {
418
154
  if (reader.isEndGroup()) {
419
155
  break;
@@ -437,9 +173,9 @@ proto.sport.PingRequest.deserializeBinaryFromReader = function(msg, reader) {
437
173
  * Serializes the message to binary data (in protobuf wire format).
438
174
  * @return {!Uint8Array}
439
175
  */
440
- proto.sport.PingRequest.prototype.serializeBinary = function() {
176
+ proto.poker.PingRequest.prototype.serializeBinary = function() {
441
177
  var writer = new jspb.BinaryWriter();
442
- proto.sport.PingRequest.serializeBinaryToWriter(this, writer);
178
+ proto.poker.PingRequest.serializeBinaryToWriter(this, writer);
443
179
  return writer.getResultBuffer();
444
180
  };
445
181
 
@@ -447,11 +183,11 @@ proto.sport.PingRequest.prototype.serializeBinary = function() {
447
183
  /**
448
184
  * Serializes the given message to binary data (in protobuf wire
449
185
  * format), writing to the given BinaryWriter.
450
- * @param {!proto.sport.PingRequest} message
186
+ * @param {!proto.poker.PingRequest} message
451
187
  * @param {!jspb.BinaryWriter} writer
452
188
  * @suppress {unusedLocalVariables} f is only used for nested messages
453
189
  */
454
- proto.sport.PingRequest.serializeBinaryToWriter = function(message, writer) {
190
+ proto.poker.PingRequest.serializeBinaryToWriter = function(message, writer) {
455
191
  var f = undefined;
456
192
  f = message.getPing();
457
193
  if (f.length > 0) {
@@ -467,16 +203,16 @@ proto.sport.PingRequest.serializeBinaryToWriter = function(message, writer) {
467
203
  * optional string ping = 1;
468
204
  * @return {string}
469
205
  */
470
- proto.sport.PingRequest.prototype.getPing = function() {
206
+ proto.poker.PingRequest.prototype.getPing = function() {
471
207
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
472
208
  };
473
209
 
474
210
 
475
211
  /**
476
212
  * @param {string} value
477
- * @return {!proto.sport.PingRequest} returns this
213
+ * @return {!proto.poker.PingRequest} returns this
478
214
  */
479
- proto.sport.PingRequest.prototype.setPing = function(value) {
215
+ proto.poker.PingRequest.prototype.setPing = function(value) {
480
216
  return jspb.Message.setProto3StringField(this, 1, value);
481
217
  };
482
218
 
@@ -497,8 +233,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
497
233
  * http://goto/soy-param-migration
498
234
  * @return {!Object}
499
235
  */
500
- proto.sport.PongResponse.prototype.toObject = function(opt_includeInstance) {
501
- return proto.sport.PongResponse.toObject(opt_includeInstance, this);
236
+ proto.poker.PongResponse.prototype.toObject = function(opt_includeInstance) {
237
+ return proto.poker.PongResponse.toObject(opt_includeInstance, this);
502
238
  };
503
239
 
504
240
 
@@ -507,11 +243,11 @@ proto.sport.PongResponse.prototype.toObject = function(opt_includeInstance) {
507
243
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
508
244
  * the JSPB instance for transitional soy proto support:
509
245
  * http://goto/soy-param-migration
510
- * @param {!proto.sport.PongResponse} msg The msg instance to transform.
246
+ * @param {!proto.poker.PongResponse} msg The msg instance to transform.
511
247
  * @return {!Object}
512
248
  * @suppress {unusedLocalVariables} f is only used for nested messages
513
249
  */
514
- proto.sport.PongResponse.toObject = function(includeInstance, msg) {
250
+ proto.poker.PongResponse.toObject = function(includeInstance, msg) {
515
251
  var f, obj = {
516
252
  pong: jspb.Message.getFieldWithDefault(msg, 1, "")
517
253
  };
@@ -527,23 +263,23 @@ proto.sport.PongResponse.toObject = function(includeInstance, msg) {
527
263
  /**
528
264
  * Deserializes binary data (in protobuf wire format).
529
265
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
530
- * @return {!proto.sport.PongResponse}
266
+ * @return {!proto.poker.PongResponse}
531
267
  */
532
- proto.sport.PongResponse.deserializeBinary = function(bytes) {
268
+ proto.poker.PongResponse.deserializeBinary = function(bytes) {
533
269
  var reader = new jspb.BinaryReader(bytes);
534
- var msg = new proto.sport.PongResponse;
535
- return proto.sport.PongResponse.deserializeBinaryFromReader(msg, reader);
270
+ var msg = new proto.poker.PongResponse;
271
+ return proto.poker.PongResponse.deserializeBinaryFromReader(msg, reader);
536
272
  };
537
273
 
538
274
 
539
275
  /**
540
276
  * Deserializes binary data (in protobuf wire format) from the
541
277
  * given reader into the given message object.
542
- * @param {!proto.sport.PongResponse} msg The message object to deserialize into.
278
+ * @param {!proto.poker.PongResponse} msg The message object to deserialize into.
543
279
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
544
- * @return {!proto.sport.PongResponse}
280
+ * @return {!proto.poker.PongResponse}
545
281
  */
546
- proto.sport.PongResponse.deserializeBinaryFromReader = function(msg, reader) {
282
+ proto.poker.PongResponse.deserializeBinaryFromReader = function(msg, reader) {
547
283
  while (reader.nextField()) {
548
284
  if (reader.isEndGroup()) {
549
285
  break;
@@ -567,9 +303,9 @@ proto.sport.PongResponse.deserializeBinaryFromReader = function(msg, reader) {
567
303
  * Serializes the message to binary data (in protobuf wire format).
568
304
  * @return {!Uint8Array}
569
305
  */
570
- proto.sport.PongResponse.prototype.serializeBinary = function() {
306
+ proto.poker.PongResponse.prototype.serializeBinary = function() {
571
307
  var writer = new jspb.BinaryWriter();
572
- proto.sport.PongResponse.serializeBinaryToWriter(this, writer);
308
+ proto.poker.PongResponse.serializeBinaryToWriter(this, writer);
573
309
  return writer.getResultBuffer();
574
310
  };
575
311
 
@@ -577,11 +313,11 @@ proto.sport.PongResponse.prototype.serializeBinary = function() {
577
313
  /**
578
314
  * Serializes the given message to binary data (in protobuf wire
579
315
  * format), writing to the given BinaryWriter.
580
- * @param {!proto.sport.PongResponse} message
316
+ * @param {!proto.poker.PongResponse} message
581
317
  * @param {!jspb.BinaryWriter} writer
582
318
  * @suppress {unusedLocalVariables} f is only used for nested messages
583
319
  */
584
- proto.sport.PongResponse.serializeBinaryToWriter = function(message, writer) {
320
+ proto.poker.PongResponse.serializeBinaryToWriter = function(message, writer) {
585
321
  var f = undefined;
586
322
  f = message.getPong();
587
323
  if (f.length > 0) {
@@ -597,16 +333,16 @@ proto.sport.PongResponse.serializeBinaryToWriter = function(message, writer) {
597
333
  * optional string pong = 1;
598
334
  * @return {string}
599
335
  */
600
- proto.sport.PongResponse.prototype.getPong = function() {
336
+ proto.poker.PongResponse.prototype.getPong = function() {
601
337
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
602
338
  };
603
339
 
604
340
 
605
341
  /**
606
342
  * @param {string} value
607
- * @return {!proto.sport.PongResponse} returns this
343
+ * @return {!proto.poker.PongResponse} returns this
608
344
  */
609
- proto.sport.PongResponse.prototype.setPong = function(value) {
345
+ proto.poker.PongResponse.prototype.setPong = function(value) {
610
346
  return jspb.Message.setProto3StringField(this, 1, value);
611
347
  };
612
348
 
@@ -627,8 +363,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
627
363
  * http://goto/soy-param-migration
628
364
  * @return {!Object}
629
365
  */
630
- proto.sport.PaginationRequest.prototype.toObject = function(opt_includeInstance) {
631
- return proto.sport.PaginationRequest.toObject(opt_includeInstance, this);
366
+ proto.poker.PaginationRequest.prototype.toObject = function(opt_includeInstance) {
367
+ return proto.poker.PaginationRequest.toObject(opt_includeInstance, this);
632
368
  };
633
369
 
634
370
 
@@ -637,11 +373,11 @@ proto.sport.PaginationRequest.prototype.toObject = function(opt_includeInstance)
637
373
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
638
374
  * the JSPB instance for transitional soy proto support:
639
375
  * http://goto/soy-param-migration
640
- * @param {!proto.sport.PaginationRequest} msg The msg instance to transform.
376
+ * @param {!proto.poker.PaginationRequest} msg The msg instance to transform.
641
377
  * @return {!Object}
642
378
  * @suppress {unusedLocalVariables} f is only used for nested messages
643
379
  */
644
- proto.sport.PaginationRequest.toObject = function(includeInstance, msg) {
380
+ proto.poker.PaginationRequest.toObject = function(includeInstance, msg) {
645
381
  var f, obj = {
646
382
  limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
647
383
  offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -659,23 +395,23 @@ proto.sport.PaginationRequest.toObject = function(includeInstance, msg) {
659
395
  /**
660
396
  * Deserializes binary data (in protobuf wire format).
661
397
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
662
- * @return {!proto.sport.PaginationRequest}
398
+ * @return {!proto.poker.PaginationRequest}
663
399
  */
664
- proto.sport.PaginationRequest.deserializeBinary = function(bytes) {
400
+ proto.poker.PaginationRequest.deserializeBinary = function(bytes) {
665
401
  var reader = new jspb.BinaryReader(bytes);
666
- var msg = new proto.sport.PaginationRequest;
667
- return proto.sport.PaginationRequest.deserializeBinaryFromReader(msg, reader);
402
+ var msg = new proto.poker.PaginationRequest;
403
+ return proto.poker.PaginationRequest.deserializeBinaryFromReader(msg, reader);
668
404
  };
669
405
 
670
406
 
671
407
  /**
672
408
  * Deserializes binary data (in protobuf wire format) from the
673
409
  * given reader into the given message object.
674
- * @param {!proto.sport.PaginationRequest} msg The message object to deserialize into.
410
+ * @param {!proto.poker.PaginationRequest} msg The message object to deserialize into.
675
411
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
676
- * @return {!proto.sport.PaginationRequest}
412
+ * @return {!proto.poker.PaginationRequest}
677
413
  */
678
- proto.sport.PaginationRequest.deserializeBinaryFromReader = function(msg, reader) {
414
+ proto.poker.PaginationRequest.deserializeBinaryFromReader = function(msg, reader) {
679
415
  while (reader.nextField()) {
680
416
  if (reader.isEndGroup()) {
681
417
  break;
@@ -707,9 +443,9 @@ proto.sport.PaginationRequest.deserializeBinaryFromReader = function(msg, reader
707
443
  * Serializes the message to binary data (in protobuf wire format).
708
444
  * @return {!Uint8Array}
709
445
  */
710
- proto.sport.PaginationRequest.prototype.serializeBinary = function() {
446
+ proto.poker.PaginationRequest.prototype.serializeBinary = function() {
711
447
  var writer = new jspb.BinaryWriter();
712
- proto.sport.PaginationRequest.serializeBinaryToWriter(this, writer);
448
+ proto.poker.PaginationRequest.serializeBinaryToWriter(this, writer);
713
449
  return writer.getResultBuffer();
714
450
  };
715
451
 
@@ -717,11 +453,11 @@ proto.sport.PaginationRequest.prototype.serializeBinary = function() {
717
453
  /**
718
454
  * Serializes the given message to binary data (in protobuf wire
719
455
  * format), writing to the given BinaryWriter.
720
- * @param {!proto.sport.PaginationRequest} message
456
+ * @param {!proto.poker.PaginationRequest} message
721
457
  * @param {!jspb.BinaryWriter} writer
722
458
  * @suppress {unusedLocalVariables} f is only used for nested messages
723
459
  */
724
- proto.sport.PaginationRequest.serializeBinaryToWriter = function(message, writer) {
460
+ proto.poker.PaginationRequest.serializeBinaryToWriter = function(message, writer) {
725
461
  var f = undefined;
726
462
  f = message.getLimit();
727
463
  if (f !== 0) {
@@ -751,16 +487,16 @@ proto.sport.PaginationRequest.serializeBinaryToWriter = function(message, writer
751
487
  * optional int32 limit = 1;
752
488
  * @return {number}
753
489
  */
754
- proto.sport.PaginationRequest.prototype.getLimit = function() {
490
+ proto.poker.PaginationRequest.prototype.getLimit = function() {
755
491
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
756
492
  };
757
493
 
758
494
 
759
495
  /**
760
496
  * @param {number} value
761
- * @return {!proto.sport.PaginationRequest} returns this
497
+ * @return {!proto.poker.PaginationRequest} returns this
762
498
  */
763
- proto.sport.PaginationRequest.prototype.setLimit = function(value) {
499
+ proto.poker.PaginationRequest.prototype.setLimit = function(value) {
764
500
  return jspb.Message.setProto3IntField(this, 1, value);
765
501
  };
766
502
 
@@ -769,16 +505,16 @@ proto.sport.PaginationRequest.prototype.setLimit = function(value) {
769
505
  * optional int32 offset = 2;
770
506
  * @return {number}
771
507
  */
772
- proto.sport.PaginationRequest.prototype.getOffset = function() {
508
+ proto.poker.PaginationRequest.prototype.getOffset = function() {
773
509
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
774
510
  };
775
511
 
776
512
 
777
513
  /**
778
514
  * @param {number} value
779
- * @return {!proto.sport.PaginationRequest} returns this
515
+ * @return {!proto.poker.PaginationRequest} returns this
780
516
  */
781
- proto.sport.PaginationRequest.prototype.setOffset = function(value) {
517
+ proto.poker.PaginationRequest.prototype.setOffset = function(value) {
782
518
  return jspb.Message.setProto3IntField(this, 2, value);
783
519
  };
784
520
 
@@ -787,25 +523,25 @@ proto.sport.PaginationRequest.prototype.setOffset = function(value) {
787
523
  * optional string order = 3;
788
524
  * @return {string}
789
525
  */
790
- proto.sport.PaginationRequest.prototype.getOrder = function() {
526
+ proto.poker.PaginationRequest.prototype.getOrder = function() {
791
527
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
792
528
  };
793
529
 
794
530
 
795
531
  /**
796
532
  * @param {string} value
797
- * @return {!proto.sport.PaginationRequest} returns this
533
+ * @return {!proto.poker.PaginationRequest} returns this
798
534
  */
799
- proto.sport.PaginationRequest.prototype.setOrder = function(value) {
535
+ proto.poker.PaginationRequest.prototype.setOrder = function(value) {
800
536
  return jspb.Message.setField(this, 3, value);
801
537
  };
802
538
 
803
539
 
804
540
  /**
805
541
  * Clears the field making it undefined.
806
- * @return {!proto.sport.PaginationRequest} returns this
542
+ * @return {!proto.poker.PaginationRequest} returns this
807
543
  */
808
- proto.sport.PaginationRequest.prototype.clearOrder = function() {
544
+ proto.poker.PaginationRequest.prototype.clearOrder = function() {
809
545
  return jspb.Message.setField(this, 3, undefined);
810
546
  };
811
547
 
@@ -814,2645 +550,9 @@ proto.sport.PaginationRequest.prototype.clearOrder = function() {
814
550
  * Returns whether this field is set.
815
551
  * @return {boolean}
816
552
  */
817
- proto.sport.PaginationRequest.prototype.hasOrder = function() {
553
+ proto.poker.PaginationRequest.prototype.hasOrder = function() {
818
554
  return jspb.Message.getField(this, 3) != null;
819
555
  };
820
556
 
821
557
 
822
-
823
-
824
-
825
- if (jspb.Message.GENERATE_TO_OBJECT) {
826
- /**
827
- * Creates an object representation of this proto.
828
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
829
- * Optional fields that are not set will be set to undefined.
830
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
831
- * For the list of reserved names please see:
832
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
833
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
834
- * JSPB instance for transitional soy proto support:
835
- * http://goto/soy-param-migration
836
- * @return {!Object}
837
- */
838
- proto.sport.LaunchBetbyRequest.prototype.toObject = function(opt_includeInstance) {
839
- return proto.sport.LaunchBetbyRequest.toObject(opt_includeInstance, this);
840
- };
841
-
842
-
843
- /**
844
- * Static version of the {@see toObject} method.
845
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
846
- * the JSPB instance for transitional soy proto support:
847
- * http://goto/soy-param-migration
848
- * @param {!proto.sport.LaunchBetbyRequest} msg The msg instance to transform.
849
- * @return {!Object}
850
- * @suppress {unusedLocalVariables} f is only used for nested messages
851
- */
852
- proto.sport.LaunchBetbyRequest.toObject = function(includeInstance, msg) {
853
- var f, obj = {
854
- userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
855
- userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
856
- currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
857
- language: jspb.Message.getFieldWithDefault(msg, 4, ""),
858
- returnUrl: jspb.Message.getFieldWithDefault(msg, 5, ""),
859
- clientIp: jspb.Message.getFieldWithDefault(msg, 6, ""),
860
- playerName: jspb.Message.getFieldWithDefault(msg, 7, ""),
861
- sessionId: jspb.Message.getFieldWithDefault(msg, 8, ""),
862
- stickyTop: jspb.Message.getFieldWithDefault(msg, 9, 0),
863
- betSlipOffsetTop: jspb.Message.getFieldWithDefault(msg, 10, 0),
864
- betSlipOffsetBottom: jspb.Message.getFieldWithDefault(msg, 11, 0)
865
- };
866
-
867
- if (includeInstance) {
868
- obj.$jspbMessageInstance = msg;
869
- }
870
- return obj;
871
- };
872
- }
873
-
874
-
875
- /**
876
- * Deserializes binary data (in protobuf wire format).
877
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
878
- * @return {!proto.sport.LaunchBetbyRequest}
879
- */
880
- proto.sport.LaunchBetbyRequest.deserializeBinary = function(bytes) {
881
- var reader = new jspb.BinaryReader(bytes);
882
- var msg = new proto.sport.LaunchBetbyRequest;
883
- return proto.sport.LaunchBetbyRequest.deserializeBinaryFromReader(msg, reader);
884
- };
885
-
886
-
887
- /**
888
- * Deserializes binary data (in protobuf wire format) from the
889
- * given reader into the given message object.
890
- * @param {!proto.sport.LaunchBetbyRequest} msg The message object to deserialize into.
891
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
892
- * @return {!proto.sport.LaunchBetbyRequest}
893
- */
894
- proto.sport.LaunchBetbyRequest.deserializeBinaryFromReader = function(msg, reader) {
895
- while (reader.nextField()) {
896
- if (reader.isEndGroup()) {
897
- break;
898
- }
899
- var field = reader.getFieldNumber();
900
- switch (field) {
901
- case 1:
902
- var value = /** @type {number} */ (reader.readInt32());
903
- msg.setUserId(value);
904
- break;
905
- case 2:
906
- var value = /** @type {string} */ (reader.readString());
907
- msg.setUserPublicId(value);
908
- break;
909
- case 3:
910
- var value = /** @type {string} */ (reader.readString());
911
- msg.setCurrency(value);
912
- break;
913
- case 4:
914
- var value = /** @type {string} */ (reader.readString());
915
- msg.setLanguage(value);
916
- break;
917
- case 5:
918
- var value = /** @type {string} */ (reader.readString());
919
- msg.setReturnUrl(value);
920
- break;
921
- case 6:
922
- var value = /** @type {string} */ (reader.readString());
923
- msg.setClientIp(value);
924
- break;
925
- case 7:
926
- var value = /** @type {string} */ (reader.readString());
927
- msg.setPlayerName(value);
928
- break;
929
- case 8:
930
- var value = /** @type {string} */ (reader.readString());
931
- msg.setSessionId(value);
932
- break;
933
- case 9:
934
- var value = /** @type {number} */ (reader.readInt32());
935
- msg.setStickyTop(value);
936
- break;
937
- case 10:
938
- var value = /** @type {number} */ (reader.readInt32());
939
- msg.setBetSlipOffsetTop(value);
940
- break;
941
- case 11:
942
- var value = /** @type {number} */ (reader.readInt32());
943
- msg.setBetSlipOffsetBottom(value);
944
- break;
945
- default:
946
- reader.skipField();
947
- break;
948
- }
949
- }
950
- return msg;
951
- };
952
-
953
-
954
- /**
955
- * Serializes the message to binary data (in protobuf wire format).
956
- * @return {!Uint8Array}
957
- */
958
- proto.sport.LaunchBetbyRequest.prototype.serializeBinary = function() {
959
- var writer = new jspb.BinaryWriter();
960
- proto.sport.LaunchBetbyRequest.serializeBinaryToWriter(this, writer);
961
- return writer.getResultBuffer();
962
- };
963
-
964
-
965
- /**
966
- * Serializes the given message to binary data (in protobuf wire
967
- * format), writing to the given BinaryWriter.
968
- * @param {!proto.sport.LaunchBetbyRequest} message
969
- * @param {!jspb.BinaryWriter} writer
970
- * @suppress {unusedLocalVariables} f is only used for nested messages
971
- */
972
- proto.sport.LaunchBetbyRequest.serializeBinaryToWriter = function(message, writer) {
973
- var f = undefined;
974
- f = /** @type {number} */ (jspb.Message.getField(message, 1));
975
- if (f != null) {
976
- writer.writeInt32(
977
- 1,
978
- f
979
- );
980
- }
981
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
982
- if (f != null) {
983
- writer.writeString(
984
- 2,
985
- f
986
- );
987
- }
988
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
989
- if (f != null) {
990
- writer.writeString(
991
- 3,
992
- f
993
- );
994
- }
995
- f = /** @type {string} */ (jspb.Message.getField(message, 4));
996
- if (f != null) {
997
- writer.writeString(
998
- 4,
999
- f
1000
- );
1001
- }
1002
- f = /** @type {string} */ (jspb.Message.getField(message, 5));
1003
- if (f != null) {
1004
- writer.writeString(
1005
- 5,
1006
- f
1007
- );
1008
- }
1009
- f = /** @type {string} */ (jspb.Message.getField(message, 6));
1010
- if (f != null) {
1011
- writer.writeString(
1012
- 6,
1013
- f
1014
- );
1015
- }
1016
- f = /** @type {string} */ (jspb.Message.getField(message, 7));
1017
- if (f != null) {
1018
- writer.writeString(
1019
- 7,
1020
- f
1021
- );
1022
- }
1023
- f = /** @type {string} */ (jspb.Message.getField(message, 8));
1024
- if (f != null) {
1025
- writer.writeString(
1026
- 8,
1027
- f
1028
- );
1029
- }
1030
- f = /** @type {number} */ (jspb.Message.getField(message, 9));
1031
- if (f != null) {
1032
- writer.writeInt32(
1033
- 9,
1034
- f
1035
- );
1036
- }
1037
- f = /** @type {number} */ (jspb.Message.getField(message, 10));
1038
- if (f != null) {
1039
- writer.writeInt32(
1040
- 10,
1041
- f
1042
- );
1043
- }
1044
- f = /** @type {number} */ (jspb.Message.getField(message, 11));
1045
- if (f != null) {
1046
- writer.writeInt32(
1047
- 11,
1048
- f
1049
- );
1050
- }
1051
- };
1052
-
1053
-
1054
- /**
1055
- * optional int32 user_id = 1;
1056
- * @return {number}
1057
- */
1058
- proto.sport.LaunchBetbyRequest.prototype.getUserId = function() {
1059
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1060
- };
1061
-
1062
-
1063
- /**
1064
- * @param {number} value
1065
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1066
- */
1067
- proto.sport.LaunchBetbyRequest.prototype.setUserId = function(value) {
1068
- return jspb.Message.setField(this, 1, value);
1069
- };
1070
-
1071
-
1072
- /**
1073
- * Clears the field making it undefined.
1074
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1075
- */
1076
- proto.sport.LaunchBetbyRequest.prototype.clearUserId = function() {
1077
- return jspb.Message.setField(this, 1, undefined);
1078
- };
1079
-
1080
-
1081
- /**
1082
- * Returns whether this field is set.
1083
- * @return {boolean}
1084
- */
1085
- proto.sport.LaunchBetbyRequest.prototype.hasUserId = function() {
1086
- return jspb.Message.getField(this, 1) != null;
1087
- };
1088
-
1089
-
1090
- /**
1091
- * optional string user_public_id = 2;
1092
- * @return {string}
1093
- */
1094
- proto.sport.LaunchBetbyRequest.prototype.getUserPublicId = function() {
1095
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1096
- };
1097
-
1098
-
1099
- /**
1100
- * @param {string} value
1101
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1102
- */
1103
- proto.sport.LaunchBetbyRequest.prototype.setUserPublicId = function(value) {
1104
- return jspb.Message.setField(this, 2, value);
1105
- };
1106
-
1107
-
1108
- /**
1109
- * Clears the field making it undefined.
1110
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1111
- */
1112
- proto.sport.LaunchBetbyRequest.prototype.clearUserPublicId = function() {
1113
- return jspb.Message.setField(this, 2, undefined);
1114
- };
1115
-
1116
-
1117
- /**
1118
- * Returns whether this field is set.
1119
- * @return {boolean}
1120
- */
1121
- proto.sport.LaunchBetbyRequest.prototype.hasUserPublicId = function() {
1122
- return jspb.Message.getField(this, 2) != null;
1123
- };
1124
-
1125
-
1126
- /**
1127
- * optional string currency = 3;
1128
- * @return {string}
1129
- */
1130
- proto.sport.LaunchBetbyRequest.prototype.getCurrency = function() {
1131
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1132
- };
1133
-
1134
-
1135
- /**
1136
- * @param {string} value
1137
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1138
- */
1139
- proto.sport.LaunchBetbyRequest.prototype.setCurrency = function(value) {
1140
- return jspb.Message.setField(this, 3, value);
1141
- };
1142
-
1143
-
1144
- /**
1145
- * Clears the field making it undefined.
1146
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1147
- */
1148
- proto.sport.LaunchBetbyRequest.prototype.clearCurrency = function() {
1149
- return jspb.Message.setField(this, 3, undefined);
1150
- };
1151
-
1152
-
1153
- /**
1154
- * Returns whether this field is set.
1155
- * @return {boolean}
1156
- */
1157
- proto.sport.LaunchBetbyRequest.prototype.hasCurrency = function() {
1158
- return jspb.Message.getField(this, 3) != null;
1159
- };
1160
-
1161
-
1162
- /**
1163
- * optional string language = 4;
1164
- * @return {string}
1165
- */
1166
- proto.sport.LaunchBetbyRequest.prototype.getLanguage = function() {
1167
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1168
- };
1169
-
1170
-
1171
- /**
1172
- * @param {string} value
1173
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1174
- */
1175
- proto.sport.LaunchBetbyRequest.prototype.setLanguage = function(value) {
1176
- return jspb.Message.setField(this, 4, value);
1177
- };
1178
-
1179
-
1180
- /**
1181
- * Clears the field making it undefined.
1182
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1183
- */
1184
- proto.sport.LaunchBetbyRequest.prototype.clearLanguage = function() {
1185
- return jspb.Message.setField(this, 4, undefined);
1186
- };
1187
-
1188
-
1189
- /**
1190
- * Returns whether this field is set.
1191
- * @return {boolean}
1192
- */
1193
- proto.sport.LaunchBetbyRequest.prototype.hasLanguage = function() {
1194
- return jspb.Message.getField(this, 4) != null;
1195
- };
1196
-
1197
-
1198
- /**
1199
- * optional string return_url = 5;
1200
- * @return {string}
1201
- */
1202
- proto.sport.LaunchBetbyRequest.prototype.getReturnUrl = function() {
1203
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1204
- };
1205
-
1206
-
1207
- /**
1208
- * @param {string} value
1209
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1210
- */
1211
- proto.sport.LaunchBetbyRequest.prototype.setReturnUrl = function(value) {
1212
- return jspb.Message.setField(this, 5, value);
1213
- };
1214
-
1215
-
1216
- /**
1217
- * Clears the field making it undefined.
1218
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1219
- */
1220
- proto.sport.LaunchBetbyRequest.prototype.clearReturnUrl = function() {
1221
- return jspb.Message.setField(this, 5, undefined);
1222
- };
1223
-
1224
-
1225
- /**
1226
- * Returns whether this field is set.
1227
- * @return {boolean}
1228
- */
1229
- proto.sport.LaunchBetbyRequest.prototype.hasReturnUrl = function() {
1230
- return jspb.Message.getField(this, 5) != null;
1231
- };
1232
-
1233
-
1234
- /**
1235
- * optional string client_ip = 6;
1236
- * @return {string}
1237
- */
1238
- proto.sport.LaunchBetbyRequest.prototype.getClientIp = function() {
1239
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1240
- };
1241
-
1242
-
1243
- /**
1244
- * @param {string} value
1245
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1246
- */
1247
- proto.sport.LaunchBetbyRequest.prototype.setClientIp = function(value) {
1248
- return jspb.Message.setField(this, 6, value);
1249
- };
1250
-
1251
-
1252
- /**
1253
- * Clears the field making it undefined.
1254
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1255
- */
1256
- proto.sport.LaunchBetbyRequest.prototype.clearClientIp = function() {
1257
- return jspb.Message.setField(this, 6, undefined);
1258
- };
1259
-
1260
-
1261
- /**
1262
- * Returns whether this field is set.
1263
- * @return {boolean}
1264
- */
1265
- proto.sport.LaunchBetbyRequest.prototype.hasClientIp = function() {
1266
- return jspb.Message.getField(this, 6) != null;
1267
- };
1268
-
1269
-
1270
- /**
1271
- * optional string player_name = 7;
1272
- * @return {string}
1273
- */
1274
- proto.sport.LaunchBetbyRequest.prototype.getPlayerName = function() {
1275
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1276
- };
1277
-
1278
-
1279
- /**
1280
- * @param {string} value
1281
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1282
- */
1283
- proto.sport.LaunchBetbyRequest.prototype.setPlayerName = function(value) {
1284
- return jspb.Message.setField(this, 7, value);
1285
- };
1286
-
1287
-
1288
- /**
1289
- * Clears the field making it undefined.
1290
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1291
- */
1292
- proto.sport.LaunchBetbyRequest.prototype.clearPlayerName = function() {
1293
- return jspb.Message.setField(this, 7, undefined);
1294
- };
1295
-
1296
-
1297
- /**
1298
- * Returns whether this field is set.
1299
- * @return {boolean}
1300
- */
1301
- proto.sport.LaunchBetbyRequest.prototype.hasPlayerName = function() {
1302
- return jspb.Message.getField(this, 7) != null;
1303
- };
1304
-
1305
-
1306
- /**
1307
- * optional string session_id = 8;
1308
- * @return {string}
1309
- */
1310
- proto.sport.LaunchBetbyRequest.prototype.getSessionId = function() {
1311
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1312
- };
1313
-
1314
-
1315
- /**
1316
- * @param {string} value
1317
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1318
- */
1319
- proto.sport.LaunchBetbyRequest.prototype.setSessionId = function(value) {
1320
- return jspb.Message.setField(this, 8, value);
1321
- };
1322
-
1323
-
1324
- /**
1325
- * Clears the field making it undefined.
1326
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1327
- */
1328
- proto.sport.LaunchBetbyRequest.prototype.clearSessionId = function() {
1329
- return jspb.Message.setField(this, 8, undefined);
1330
- };
1331
-
1332
-
1333
- /**
1334
- * Returns whether this field is set.
1335
- * @return {boolean}
1336
- */
1337
- proto.sport.LaunchBetbyRequest.prototype.hasSessionId = function() {
1338
- return jspb.Message.getField(this, 8) != null;
1339
- };
1340
-
1341
-
1342
- /**
1343
- * optional int32 sticky_top = 9;
1344
- * @return {number}
1345
- */
1346
- proto.sport.LaunchBetbyRequest.prototype.getStickyTop = function() {
1347
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
1348
- };
1349
-
1350
-
1351
- /**
1352
- * @param {number} value
1353
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1354
- */
1355
- proto.sport.LaunchBetbyRequest.prototype.setStickyTop = function(value) {
1356
- return jspb.Message.setField(this, 9, value);
1357
- };
1358
-
1359
-
1360
- /**
1361
- * Clears the field making it undefined.
1362
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1363
- */
1364
- proto.sport.LaunchBetbyRequest.prototype.clearStickyTop = function() {
1365
- return jspb.Message.setField(this, 9, undefined);
1366
- };
1367
-
1368
-
1369
- /**
1370
- * Returns whether this field is set.
1371
- * @return {boolean}
1372
- */
1373
- proto.sport.LaunchBetbyRequest.prototype.hasStickyTop = function() {
1374
- return jspb.Message.getField(this, 9) != null;
1375
- };
1376
-
1377
-
1378
- /**
1379
- * optional int32 bet_slip_offset_top = 10;
1380
- * @return {number}
1381
- */
1382
- proto.sport.LaunchBetbyRequest.prototype.getBetSlipOffsetTop = function() {
1383
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
1384
- };
1385
-
1386
-
1387
- /**
1388
- * @param {number} value
1389
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1390
- */
1391
- proto.sport.LaunchBetbyRequest.prototype.setBetSlipOffsetTop = function(value) {
1392
- return jspb.Message.setField(this, 10, value);
1393
- };
1394
-
1395
-
1396
- /**
1397
- * Clears the field making it undefined.
1398
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1399
- */
1400
- proto.sport.LaunchBetbyRequest.prototype.clearBetSlipOffsetTop = function() {
1401
- return jspb.Message.setField(this, 10, undefined);
1402
- };
1403
-
1404
-
1405
- /**
1406
- * Returns whether this field is set.
1407
- * @return {boolean}
1408
- */
1409
- proto.sport.LaunchBetbyRequest.prototype.hasBetSlipOffsetTop = function() {
1410
- return jspb.Message.getField(this, 10) != null;
1411
- };
1412
-
1413
-
1414
- /**
1415
- * optional int32 bet_slip_offset_bottom = 11;
1416
- * @return {number}
1417
- */
1418
- proto.sport.LaunchBetbyRequest.prototype.getBetSlipOffsetBottom = function() {
1419
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
1420
- };
1421
-
1422
-
1423
- /**
1424
- * @param {number} value
1425
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1426
- */
1427
- proto.sport.LaunchBetbyRequest.prototype.setBetSlipOffsetBottom = function(value) {
1428
- return jspb.Message.setField(this, 11, value);
1429
- };
1430
-
1431
-
1432
- /**
1433
- * Clears the field making it undefined.
1434
- * @return {!proto.sport.LaunchBetbyRequest} returns this
1435
- */
1436
- proto.sport.LaunchBetbyRequest.prototype.clearBetSlipOffsetBottom = function() {
1437
- return jspb.Message.setField(this, 11, undefined);
1438
- };
1439
-
1440
-
1441
- /**
1442
- * Returns whether this field is set.
1443
- * @return {boolean}
1444
- */
1445
- proto.sport.LaunchBetbyRequest.prototype.hasBetSlipOffsetBottom = function() {
1446
- return jspb.Message.getField(this, 11) != null;
1447
- };
1448
-
1449
-
1450
-
1451
-
1452
-
1453
- if (jspb.Message.GENERATE_TO_OBJECT) {
1454
- /**
1455
- * Creates an object representation of this proto.
1456
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1457
- * Optional fields that are not set will be set to undefined.
1458
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1459
- * For the list of reserved names please see:
1460
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1461
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1462
- * JSPB instance for transitional soy proto support:
1463
- * http://goto/soy-param-migration
1464
- * @return {!Object}
1465
- */
1466
- proto.sport.LaunchBetbyResponse.prototype.toObject = function(opt_includeInstance) {
1467
- return proto.sport.LaunchBetbyResponse.toObject(opt_includeInstance, this);
1468
- };
1469
-
1470
-
1471
- /**
1472
- * Static version of the {@see toObject} method.
1473
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1474
- * the JSPB instance for transitional soy proto support:
1475
- * http://goto/soy-param-migration
1476
- * @param {!proto.sport.LaunchBetbyResponse} msg The msg instance to transform.
1477
- * @return {!Object}
1478
- * @suppress {unusedLocalVariables} f is only used for nested messages
1479
- */
1480
- proto.sport.LaunchBetbyResponse.toObject = function(includeInstance, msg) {
1481
- var f, obj = {
1482
- html: jspb.Message.getFieldWithDefault(msg, 1, ""),
1483
- mode: jspb.Message.getFieldWithDefault(msg, 2, "")
1484
- };
1485
-
1486
- if (includeInstance) {
1487
- obj.$jspbMessageInstance = msg;
1488
- }
1489
- return obj;
1490
- };
1491
- }
1492
-
1493
-
1494
- /**
1495
- * Deserializes binary data (in protobuf wire format).
1496
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1497
- * @return {!proto.sport.LaunchBetbyResponse}
1498
- */
1499
- proto.sport.LaunchBetbyResponse.deserializeBinary = function(bytes) {
1500
- var reader = new jspb.BinaryReader(bytes);
1501
- var msg = new proto.sport.LaunchBetbyResponse;
1502
- return proto.sport.LaunchBetbyResponse.deserializeBinaryFromReader(msg, reader);
1503
- };
1504
-
1505
-
1506
- /**
1507
- * Deserializes binary data (in protobuf wire format) from the
1508
- * given reader into the given message object.
1509
- * @param {!proto.sport.LaunchBetbyResponse} msg The message object to deserialize into.
1510
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1511
- * @return {!proto.sport.LaunchBetbyResponse}
1512
- */
1513
- proto.sport.LaunchBetbyResponse.deserializeBinaryFromReader = function(msg, reader) {
1514
- while (reader.nextField()) {
1515
- if (reader.isEndGroup()) {
1516
- break;
1517
- }
1518
- var field = reader.getFieldNumber();
1519
- switch (field) {
1520
- case 1:
1521
- var value = /** @type {string} */ (reader.readString());
1522
- msg.setHtml(value);
1523
- break;
1524
- case 2:
1525
- var value = /** @type {string} */ (reader.readString());
1526
- msg.setMode(value);
1527
- break;
1528
- default:
1529
- reader.skipField();
1530
- break;
1531
- }
1532
- }
1533
- return msg;
1534
- };
1535
-
1536
-
1537
- /**
1538
- * Serializes the message to binary data (in protobuf wire format).
1539
- * @return {!Uint8Array}
1540
- */
1541
- proto.sport.LaunchBetbyResponse.prototype.serializeBinary = function() {
1542
- var writer = new jspb.BinaryWriter();
1543
- proto.sport.LaunchBetbyResponse.serializeBinaryToWriter(this, writer);
1544
- return writer.getResultBuffer();
1545
- };
1546
-
1547
-
1548
- /**
1549
- * Serializes the given message to binary data (in protobuf wire
1550
- * format), writing to the given BinaryWriter.
1551
- * @param {!proto.sport.LaunchBetbyResponse} message
1552
- * @param {!jspb.BinaryWriter} writer
1553
- * @suppress {unusedLocalVariables} f is only used for nested messages
1554
- */
1555
- proto.sport.LaunchBetbyResponse.serializeBinaryToWriter = function(message, writer) {
1556
- var f = undefined;
1557
- f = message.getHtml();
1558
- if (f.length > 0) {
1559
- writer.writeString(
1560
- 1,
1561
- f
1562
- );
1563
- }
1564
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
1565
- if (f != null) {
1566
- writer.writeString(
1567
- 2,
1568
- f
1569
- );
1570
- }
1571
- };
1572
-
1573
-
1574
- /**
1575
- * optional string html = 1;
1576
- * @return {string}
1577
- */
1578
- proto.sport.LaunchBetbyResponse.prototype.getHtml = function() {
1579
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1580
- };
1581
-
1582
-
1583
- /**
1584
- * @param {string} value
1585
- * @return {!proto.sport.LaunchBetbyResponse} returns this
1586
- */
1587
- proto.sport.LaunchBetbyResponse.prototype.setHtml = function(value) {
1588
- return jspb.Message.setProto3StringField(this, 1, value);
1589
- };
1590
-
1591
-
1592
- /**
1593
- * optional string mode = 2;
1594
- * @return {string}
1595
- */
1596
- proto.sport.LaunchBetbyResponse.prototype.getMode = function() {
1597
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1598
- };
1599
-
1600
-
1601
- /**
1602
- * @param {string} value
1603
- * @return {!proto.sport.LaunchBetbyResponse} returns this
1604
- */
1605
- proto.sport.LaunchBetbyResponse.prototype.setMode = function(value) {
1606
- return jspb.Message.setField(this, 2, value);
1607
- };
1608
-
1609
-
1610
- /**
1611
- * Clears the field making it undefined.
1612
- * @return {!proto.sport.LaunchBetbyResponse} returns this
1613
- */
1614
- proto.sport.LaunchBetbyResponse.prototype.clearMode = function() {
1615
- return jspb.Message.setField(this, 2, undefined);
1616
- };
1617
-
1618
-
1619
- /**
1620
- * Returns whether this field is set.
1621
- * @return {boolean}
1622
- */
1623
- proto.sport.LaunchBetbyResponse.prototype.hasMode = function() {
1624
- return jspb.Message.getField(this, 2) != null;
1625
- };
1626
-
1627
-
1628
-
1629
-
1630
-
1631
- if (jspb.Message.GENERATE_TO_OBJECT) {
1632
- /**
1633
- * Creates an object representation of this proto.
1634
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1635
- * Optional fields that are not set will be set to undefined.
1636
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1637
- * For the list of reserved names please see:
1638
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1639
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1640
- * JSPB instance for transitional soy proto support:
1641
- * http://goto/soy-param-migration
1642
- * @return {!Object}
1643
- */
1644
- proto.sport.VendorActionRequest.prototype.toObject = function(opt_includeInstance) {
1645
- return proto.sport.VendorActionRequest.toObject(opt_includeInstance, this);
1646
- };
1647
-
1648
-
1649
- /**
1650
- * Static version of the {@see toObject} method.
1651
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1652
- * the JSPB instance for transitional soy proto support:
1653
- * http://goto/soy-param-migration
1654
- * @param {!proto.sport.VendorActionRequest} msg The msg instance to transform.
1655
- * @return {!Object}
1656
- * @suppress {unusedLocalVariables} f is only used for nested messages
1657
- */
1658
- proto.sport.VendorActionRequest.toObject = function(includeInstance, msg) {
1659
- var f, obj = {
1660
- data: jspb.Message.getFieldWithDefault(msg, 1, "")
1661
- };
1662
-
1663
- if (includeInstance) {
1664
- obj.$jspbMessageInstance = msg;
1665
- }
1666
- return obj;
1667
- };
1668
- }
1669
-
1670
-
1671
- /**
1672
- * Deserializes binary data (in protobuf wire format).
1673
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1674
- * @return {!proto.sport.VendorActionRequest}
1675
- */
1676
- proto.sport.VendorActionRequest.deserializeBinary = function(bytes) {
1677
- var reader = new jspb.BinaryReader(bytes);
1678
- var msg = new proto.sport.VendorActionRequest;
1679
- return proto.sport.VendorActionRequest.deserializeBinaryFromReader(msg, reader);
1680
- };
1681
-
1682
-
1683
- /**
1684
- * Deserializes binary data (in protobuf wire format) from the
1685
- * given reader into the given message object.
1686
- * @param {!proto.sport.VendorActionRequest} msg The message object to deserialize into.
1687
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1688
- * @return {!proto.sport.VendorActionRequest}
1689
- */
1690
- proto.sport.VendorActionRequest.deserializeBinaryFromReader = function(msg, reader) {
1691
- while (reader.nextField()) {
1692
- if (reader.isEndGroup()) {
1693
- break;
1694
- }
1695
- var field = reader.getFieldNumber();
1696
- switch (field) {
1697
- case 1:
1698
- var value = /** @type {string} */ (reader.readString());
1699
- msg.setData(value);
1700
- break;
1701
- default:
1702
- reader.skipField();
1703
- break;
1704
- }
1705
- }
1706
- return msg;
1707
- };
1708
-
1709
-
1710
- /**
1711
- * Serializes the message to binary data (in protobuf wire format).
1712
- * @return {!Uint8Array}
1713
- */
1714
- proto.sport.VendorActionRequest.prototype.serializeBinary = function() {
1715
- var writer = new jspb.BinaryWriter();
1716
- proto.sport.VendorActionRequest.serializeBinaryToWriter(this, writer);
1717
- return writer.getResultBuffer();
1718
- };
1719
-
1720
-
1721
- /**
1722
- * Serializes the given message to binary data (in protobuf wire
1723
- * format), writing to the given BinaryWriter.
1724
- * @param {!proto.sport.VendorActionRequest} message
1725
- * @param {!jspb.BinaryWriter} writer
1726
- * @suppress {unusedLocalVariables} f is only used for nested messages
1727
- */
1728
- proto.sport.VendorActionRequest.serializeBinaryToWriter = function(message, writer) {
1729
- var f = undefined;
1730
- f = message.getData();
1731
- if (f.length > 0) {
1732
- writer.writeString(
1733
- 1,
1734
- f
1735
- );
1736
- }
1737
- };
1738
-
1739
-
1740
- /**
1741
- * optional string data = 1;
1742
- * @return {string}
1743
- */
1744
- proto.sport.VendorActionRequest.prototype.getData = function() {
1745
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1746
- };
1747
-
1748
-
1749
- /**
1750
- * @param {string} value
1751
- * @return {!proto.sport.VendorActionRequest} returns this
1752
- */
1753
- proto.sport.VendorActionRequest.prototype.setData = function(value) {
1754
- return jspb.Message.setProto3StringField(this, 1, value);
1755
- };
1756
-
1757
-
1758
-
1759
-
1760
-
1761
- if (jspb.Message.GENERATE_TO_OBJECT) {
1762
- /**
1763
- * Creates an object representation of this proto.
1764
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1765
- * Optional fields that are not set will be set to undefined.
1766
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1767
- * For the list of reserved names please see:
1768
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1769
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1770
- * JSPB instance for transitional soy proto support:
1771
- * http://goto/soy-param-migration
1772
- * @return {!Object}
1773
- */
1774
- proto.sport.VendorActionResponse.prototype.toObject = function(opt_includeInstance) {
1775
- return proto.sport.VendorActionResponse.toObject(opt_includeInstance, this);
1776
- };
1777
-
1778
-
1779
- /**
1780
- * Static version of the {@see toObject} method.
1781
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1782
- * the JSPB instance for transitional soy proto support:
1783
- * http://goto/soy-param-migration
1784
- * @param {!proto.sport.VendorActionResponse} msg The msg instance to transform.
1785
- * @return {!Object}
1786
- * @suppress {unusedLocalVariables} f is only used for nested messages
1787
- */
1788
- proto.sport.VendorActionResponse.toObject = function(includeInstance, msg) {
1789
- var f, obj = {
1790
- data: jspb.Message.getFieldWithDefault(msg, 1, "")
1791
- };
1792
-
1793
- if (includeInstance) {
1794
- obj.$jspbMessageInstance = msg;
1795
- }
1796
- return obj;
1797
- };
1798
- }
1799
-
1800
-
1801
- /**
1802
- * Deserializes binary data (in protobuf wire format).
1803
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1804
- * @return {!proto.sport.VendorActionResponse}
1805
- */
1806
- proto.sport.VendorActionResponse.deserializeBinary = function(bytes) {
1807
- var reader = new jspb.BinaryReader(bytes);
1808
- var msg = new proto.sport.VendorActionResponse;
1809
- return proto.sport.VendorActionResponse.deserializeBinaryFromReader(msg, reader);
1810
- };
1811
-
1812
-
1813
- /**
1814
- * Deserializes binary data (in protobuf wire format) from the
1815
- * given reader into the given message object.
1816
- * @param {!proto.sport.VendorActionResponse} msg The message object to deserialize into.
1817
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1818
- * @return {!proto.sport.VendorActionResponse}
1819
- */
1820
- proto.sport.VendorActionResponse.deserializeBinaryFromReader = function(msg, reader) {
1821
- while (reader.nextField()) {
1822
- if (reader.isEndGroup()) {
1823
- break;
1824
- }
1825
- var field = reader.getFieldNumber();
1826
- switch (field) {
1827
- case 1:
1828
- var value = /** @type {string} */ (reader.readString());
1829
- msg.setData(value);
1830
- break;
1831
- default:
1832
- reader.skipField();
1833
- break;
1834
- }
1835
- }
1836
- return msg;
1837
- };
1838
-
1839
-
1840
- /**
1841
- * Serializes the message to binary data (in protobuf wire format).
1842
- * @return {!Uint8Array}
1843
- */
1844
- proto.sport.VendorActionResponse.prototype.serializeBinary = function() {
1845
- var writer = new jspb.BinaryWriter();
1846
- proto.sport.VendorActionResponse.serializeBinaryToWriter(this, writer);
1847
- return writer.getResultBuffer();
1848
- };
1849
-
1850
-
1851
- /**
1852
- * Serializes the given message to binary data (in protobuf wire
1853
- * format), writing to the given BinaryWriter.
1854
- * @param {!proto.sport.VendorActionResponse} message
1855
- * @param {!jspb.BinaryWriter} writer
1856
- * @suppress {unusedLocalVariables} f is only used for nested messages
1857
- */
1858
- proto.sport.VendorActionResponse.serializeBinaryToWriter = function(message, writer) {
1859
- var f = undefined;
1860
- f = message.getData();
1861
- if (f.length > 0) {
1862
- writer.writeString(
1863
- 1,
1864
- f
1865
- );
1866
- }
1867
- };
1868
-
1869
-
1870
- /**
1871
- * optional string data = 1;
1872
- * @return {string}
1873
- */
1874
- proto.sport.VendorActionResponse.prototype.getData = function() {
1875
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1876
- };
1877
-
1878
-
1879
- /**
1880
- * @param {string} value
1881
- * @return {!proto.sport.VendorActionResponse} returns this
1882
- */
1883
- proto.sport.VendorActionResponse.prototype.setData = function(value) {
1884
- return jspb.Message.setProto3StringField(this, 1, value);
1885
- };
1886
-
1887
-
1888
-
1889
-
1890
-
1891
- if (jspb.Message.GENERATE_TO_OBJECT) {
1892
- /**
1893
- * Creates an object representation of this proto.
1894
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1895
- * Optional fields that are not set will be set to undefined.
1896
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1897
- * For the list of reserved names please see:
1898
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1899
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1900
- * JSPB instance for transitional soy proto support:
1901
- * http://goto/soy-param-migration
1902
- * @return {!Object}
1903
- */
1904
- proto.sport.selfValidationBetbyRequest.prototype.toObject = function(opt_includeInstance) {
1905
- return proto.sport.selfValidationBetbyRequest.toObject(opt_includeInstance, this);
1906
- };
1907
-
1908
-
1909
- /**
1910
- * Static version of the {@see toObject} method.
1911
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1912
- * the JSPB instance for transitional soy proto support:
1913
- * http://goto/soy-param-migration
1914
- * @param {!proto.sport.selfValidationBetbyRequest} msg The msg instance to transform.
1915
- * @return {!Object}
1916
- * @suppress {unusedLocalVariables} f is only used for nested messages
1917
- */
1918
- proto.sport.selfValidationBetbyRequest.toObject = function(includeInstance, msg) {
1919
- var f, obj = {
1920
- sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1921
- playerId: jspb.Message.getFieldWithDefault(msg, 2, ""),
1922
- currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
1923
- taskId: jspb.Message.getFieldWithDefault(msg, 4, "")
1924
- };
1925
-
1926
- if (includeInstance) {
1927
- obj.$jspbMessageInstance = msg;
1928
- }
1929
- return obj;
1930
- };
1931
- }
1932
-
1933
-
1934
- /**
1935
- * Deserializes binary data (in protobuf wire format).
1936
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1937
- * @return {!proto.sport.selfValidationBetbyRequest}
1938
- */
1939
- proto.sport.selfValidationBetbyRequest.deserializeBinary = function(bytes) {
1940
- var reader = new jspb.BinaryReader(bytes);
1941
- var msg = new proto.sport.selfValidationBetbyRequest;
1942
- return proto.sport.selfValidationBetbyRequest.deserializeBinaryFromReader(msg, reader);
1943
- };
1944
-
1945
-
1946
- /**
1947
- * Deserializes binary data (in protobuf wire format) from the
1948
- * given reader into the given message object.
1949
- * @param {!proto.sport.selfValidationBetbyRequest} msg The message object to deserialize into.
1950
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1951
- * @return {!proto.sport.selfValidationBetbyRequest}
1952
- */
1953
- proto.sport.selfValidationBetbyRequest.deserializeBinaryFromReader = function(msg, reader) {
1954
- while (reader.nextField()) {
1955
- if (reader.isEndGroup()) {
1956
- break;
1957
- }
1958
- var field = reader.getFieldNumber();
1959
- switch (field) {
1960
- case 1:
1961
- var value = /** @type {string} */ (reader.readString());
1962
- msg.setSessionId(value);
1963
- break;
1964
- case 2:
1965
- var value = /** @type {string} */ (reader.readString());
1966
- msg.setPlayerId(value);
1967
- break;
1968
- case 3:
1969
- var value = /** @type {string} */ (reader.readString());
1970
- msg.setCurrency(value);
1971
- break;
1972
- case 4:
1973
- var value = /** @type {string} */ (reader.readString());
1974
- msg.setTaskId(value);
1975
- break;
1976
- default:
1977
- reader.skipField();
1978
- break;
1979
- }
1980
- }
1981
- return msg;
1982
- };
1983
-
1984
-
1985
- /**
1986
- * Serializes the message to binary data (in protobuf wire format).
1987
- * @return {!Uint8Array}
1988
- */
1989
- proto.sport.selfValidationBetbyRequest.prototype.serializeBinary = function() {
1990
- var writer = new jspb.BinaryWriter();
1991
- proto.sport.selfValidationBetbyRequest.serializeBinaryToWriter(this, writer);
1992
- return writer.getResultBuffer();
1993
- };
1994
-
1995
-
1996
- /**
1997
- * Serializes the given message to binary data (in protobuf wire
1998
- * format), writing to the given BinaryWriter.
1999
- * @param {!proto.sport.selfValidationBetbyRequest} message
2000
- * @param {!jspb.BinaryWriter} writer
2001
- * @suppress {unusedLocalVariables} f is only used for nested messages
2002
- */
2003
- proto.sport.selfValidationBetbyRequest.serializeBinaryToWriter = function(message, writer) {
2004
- var f = undefined;
2005
- f = /** @type {string} */ (jspb.Message.getField(message, 1));
2006
- if (f != null) {
2007
- writer.writeString(
2008
- 1,
2009
- f
2010
- );
2011
- }
2012
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
2013
- if (f != null) {
2014
- writer.writeString(
2015
- 2,
2016
- f
2017
- );
2018
- }
2019
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
2020
- if (f != null) {
2021
- writer.writeString(
2022
- 3,
2023
- f
2024
- );
2025
- }
2026
- f = /** @type {string} */ (jspb.Message.getField(message, 4));
2027
- if (f != null) {
2028
- writer.writeString(
2029
- 4,
2030
- f
2031
- );
2032
- }
2033
- };
2034
-
2035
-
2036
- /**
2037
- * optional string session_id = 1;
2038
- * @return {string}
2039
- */
2040
- proto.sport.selfValidationBetbyRequest.prototype.getSessionId = function() {
2041
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2042
- };
2043
-
2044
-
2045
- /**
2046
- * @param {string} value
2047
- * @return {!proto.sport.selfValidationBetbyRequest} returns this
2048
- */
2049
- proto.sport.selfValidationBetbyRequest.prototype.setSessionId = function(value) {
2050
- return jspb.Message.setField(this, 1, value);
2051
- };
2052
-
2053
-
2054
- /**
2055
- * Clears the field making it undefined.
2056
- * @return {!proto.sport.selfValidationBetbyRequest} returns this
2057
- */
2058
- proto.sport.selfValidationBetbyRequest.prototype.clearSessionId = function() {
2059
- return jspb.Message.setField(this, 1, undefined);
2060
- };
2061
-
2062
-
2063
- /**
2064
- * Returns whether this field is set.
2065
- * @return {boolean}
2066
- */
2067
- proto.sport.selfValidationBetbyRequest.prototype.hasSessionId = function() {
2068
- return jspb.Message.getField(this, 1) != null;
2069
- };
2070
-
2071
-
2072
- /**
2073
- * optional string player_id = 2;
2074
- * @return {string}
2075
- */
2076
- proto.sport.selfValidationBetbyRequest.prototype.getPlayerId = function() {
2077
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2078
- };
2079
-
2080
-
2081
- /**
2082
- * @param {string} value
2083
- * @return {!proto.sport.selfValidationBetbyRequest} returns this
2084
- */
2085
- proto.sport.selfValidationBetbyRequest.prototype.setPlayerId = function(value) {
2086
- return jspb.Message.setField(this, 2, value);
2087
- };
2088
-
2089
-
2090
- /**
2091
- * Clears the field making it undefined.
2092
- * @return {!proto.sport.selfValidationBetbyRequest} returns this
2093
- */
2094
- proto.sport.selfValidationBetbyRequest.prototype.clearPlayerId = function() {
2095
- return jspb.Message.setField(this, 2, undefined);
2096
- };
2097
-
2098
-
2099
- /**
2100
- * Returns whether this field is set.
2101
- * @return {boolean}
2102
- */
2103
- proto.sport.selfValidationBetbyRequest.prototype.hasPlayerId = function() {
2104
- return jspb.Message.getField(this, 2) != null;
2105
- };
2106
-
2107
-
2108
- /**
2109
- * optional string currency = 3;
2110
- * @return {string}
2111
- */
2112
- proto.sport.selfValidationBetbyRequest.prototype.getCurrency = function() {
2113
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2114
- };
2115
-
2116
-
2117
- /**
2118
- * @param {string} value
2119
- * @return {!proto.sport.selfValidationBetbyRequest} returns this
2120
- */
2121
- proto.sport.selfValidationBetbyRequest.prototype.setCurrency = function(value) {
2122
- return jspb.Message.setField(this, 3, value);
2123
- };
2124
-
2125
-
2126
- /**
2127
- * Clears the field making it undefined.
2128
- * @return {!proto.sport.selfValidationBetbyRequest} returns this
2129
- */
2130
- proto.sport.selfValidationBetbyRequest.prototype.clearCurrency = function() {
2131
- return jspb.Message.setField(this, 3, undefined);
2132
- };
2133
-
2134
-
2135
- /**
2136
- * Returns whether this field is set.
2137
- * @return {boolean}
2138
- */
2139
- proto.sport.selfValidationBetbyRequest.prototype.hasCurrency = function() {
2140
- return jspb.Message.getField(this, 3) != null;
2141
- };
2142
-
2143
-
2144
- /**
2145
- * optional string task_id = 4;
2146
- * @return {string}
2147
- */
2148
- proto.sport.selfValidationBetbyRequest.prototype.getTaskId = function() {
2149
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2150
- };
2151
-
2152
-
2153
- /**
2154
- * @param {string} value
2155
- * @return {!proto.sport.selfValidationBetbyRequest} returns this
2156
- */
2157
- proto.sport.selfValidationBetbyRequest.prototype.setTaskId = function(value) {
2158
- return jspb.Message.setField(this, 4, value);
2159
- };
2160
-
2161
-
2162
- /**
2163
- * Clears the field making it undefined.
2164
- * @return {!proto.sport.selfValidationBetbyRequest} returns this
2165
- */
2166
- proto.sport.selfValidationBetbyRequest.prototype.clearTaskId = function() {
2167
- return jspb.Message.setField(this, 4, undefined);
2168
- };
2169
-
2170
-
2171
- /**
2172
- * Returns whether this field is set.
2173
- * @return {boolean}
2174
- */
2175
- proto.sport.selfValidationBetbyRequest.prototype.hasTaskId = function() {
2176
- return jspb.Message.getField(this, 4) != null;
2177
- };
2178
-
2179
-
2180
-
2181
-
2182
-
2183
- if (jspb.Message.GENERATE_TO_OBJECT) {
2184
- /**
2185
- * Creates an object representation of this proto.
2186
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2187
- * Optional fields that are not set will be set to undefined.
2188
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2189
- * For the list of reserved names please see:
2190
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2191
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2192
- * JSPB instance for transitional soy proto support:
2193
- * http://goto/soy-param-migration
2194
- * @return {!Object}
2195
- */
2196
- proto.sport.selfValidationBetbyResponse.prototype.toObject = function(opt_includeInstance) {
2197
- return proto.sport.selfValidationBetbyResponse.toObject(opt_includeInstance, this);
2198
- };
2199
-
2200
-
2201
- /**
2202
- * Static version of the {@see toObject} method.
2203
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2204
- * the JSPB instance for transitional soy proto support:
2205
- * http://goto/soy-param-migration
2206
- * @param {!proto.sport.selfValidationBetbyResponse} msg The msg instance to transform.
2207
- * @return {!Object}
2208
- * @suppress {unusedLocalVariables} f is only used for nested messages
2209
- */
2210
- proto.sport.selfValidationBetbyResponse.toObject = function(includeInstance, msg) {
2211
- var f, obj = {
2212
- result: jspb.Message.getFieldWithDefault(msg, 1, "")
2213
- };
2214
-
2215
- if (includeInstance) {
2216
- obj.$jspbMessageInstance = msg;
2217
- }
2218
- return obj;
2219
- };
2220
- }
2221
-
2222
-
2223
- /**
2224
- * Deserializes binary data (in protobuf wire format).
2225
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2226
- * @return {!proto.sport.selfValidationBetbyResponse}
2227
- */
2228
- proto.sport.selfValidationBetbyResponse.deserializeBinary = function(bytes) {
2229
- var reader = new jspb.BinaryReader(bytes);
2230
- var msg = new proto.sport.selfValidationBetbyResponse;
2231
- return proto.sport.selfValidationBetbyResponse.deserializeBinaryFromReader(msg, reader);
2232
- };
2233
-
2234
-
2235
- /**
2236
- * Deserializes binary data (in protobuf wire format) from the
2237
- * given reader into the given message object.
2238
- * @param {!proto.sport.selfValidationBetbyResponse} msg The message object to deserialize into.
2239
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2240
- * @return {!proto.sport.selfValidationBetbyResponse}
2241
- */
2242
- proto.sport.selfValidationBetbyResponse.deserializeBinaryFromReader = function(msg, reader) {
2243
- while (reader.nextField()) {
2244
- if (reader.isEndGroup()) {
2245
- break;
2246
- }
2247
- var field = reader.getFieldNumber();
2248
- switch (field) {
2249
- case 1:
2250
- var value = /** @type {string} */ (reader.readString());
2251
- msg.setResult(value);
2252
- break;
2253
- default:
2254
- reader.skipField();
2255
- break;
2256
- }
2257
- }
2258
- return msg;
2259
- };
2260
-
2261
-
2262
- /**
2263
- * Serializes the message to binary data (in protobuf wire format).
2264
- * @return {!Uint8Array}
2265
- */
2266
- proto.sport.selfValidationBetbyResponse.prototype.serializeBinary = function() {
2267
- var writer = new jspb.BinaryWriter();
2268
- proto.sport.selfValidationBetbyResponse.serializeBinaryToWriter(this, writer);
2269
- return writer.getResultBuffer();
2270
- };
2271
-
2272
-
2273
- /**
2274
- * Serializes the given message to binary data (in protobuf wire
2275
- * format), writing to the given BinaryWriter.
2276
- * @param {!proto.sport.selfValidationBetbyResponse} message
2277
- * @param {!jspb.BinaryWriter} writer
2278
- * @suppress {unusedLocalVariables} f is only used for nested messages
2279
- */
2280
- proto.sport.selfValidationBetbyResponse.serializeBinaryToWriter = function(message, writer) {
2281
- var f = undefined;
2282
- f = message.getResult();
2283
- if (f.length > 0) {
2284
- writer.writeString(
2285
- 1,
2286
- f
2287
- );
2288
- }
2289
- };
2290
-
2291
-
2292
- /**
2293
- * optional string result = 1;
2294
- * @return {string}
2295
- */
2296
- proto.sport.selfValidationBetbyResponse.prototype.getResult = function() {
2297
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2298
- };
2299
-
2300
-
2301
- /**
2302
- * @param {string} value
2303
- * @return {!proto.sport.selfValidationBetbyResponse} returns this
2304
- */
2305
- proto.sport.selfValidationBetbyResponse.prototype.setResult = function(value) {
2306
- return jspb.Message.setProto3StringField(this, 1, value);
2307
- };
2308
-
2309
-
2310
-
2311
-
2312
-
2313
- if (jspb.Message.GENERATE_TO_OBJECT) {
2314
- /**
2315
- * Creates an object representation of this proto.
2316
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2317
- * Optional fields that are not set will be set to undefined.
2318
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2319
- * For the list of reserved names please see:
2320
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2321
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2322
- * JSPB instance for transitional soy proto support:
2323
- * http://goto/soy-param-migration
2324
- * @return {!Object}
2325
- */
2326
- proto.sport.SportCategoryItem.prototype.toObject = function(opt_includeInstance) {
2327
- return proto.sport.SportCategoryItem.toObject(opt_includeInstance, this);
2328
- };
2329
-
2330
-
2331
- /**
2332
- * Static version of the {@see toObject} method.
2333
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2334
- * the JSPB instance for transitional soy proto support:
2335
- * http://goto/soy-param-migration
2336
- * @param {!proto.sport.SportCategoryItem} msg The msg instance to transform.
2337
- * @return {!Object}
2338
- * @suppress {unusedLocalVariables} f is only used for nested messages
2339
- */
2340
- proto.sport.SportCategoryItem.toObject = function(includeInstance, msg) {
2341
- var f, obj = {
2342
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2343
- title: jspb.Message.getFieldWithDefault(msg, 2, ""),
2344
- group: jspb.Message.getFieldWithDefault(msg, 3, ""),
2345
- isLiveSupported: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
2346
- };
2347
-
2348
- if (includeInstance) {
2349
- obj.$jspbMessageInstance = msg;
2350
- }
2351
- return obj;
2352
- };
2353
- }
2354
-
2355
-
2356
- /**
2357
- * Deserializes binary data (in protobuf wire format).
2358
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2359
- * @return {!proto.sport.SportCategoryItem}
2360
- */
2361
- proto.sport.SportCategoryItem.deserializeBinary = function(bytes) {
2362
- var reader = new jspb.BinaryReader(bytes);
2363
- var msg = new proto.sport.SportCategoryItem;
2364
- return proto.sport.SportCategoryItem.deserializeBinaryFromReader(msg, reader);
2365
- };
2366
-
2367
-
2368
- /**
2369
- * Deserializes binary data (in protobuf wire format) from the
2370
- * given reader into the given message object.
2371
- * @param {!proto.sport.SportCategoryItem} msg The message object to deserialize into.
2372
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2373
- * @return {!proto.sport.SportCategoryItem}
2374
- */
2375
- proto.sport.SportCategoryItem.deserializeBinaryFromReader = function(msg, reader) {
2376
- while (reader.nextField()) {
2377
- if (reader.isEndGroup()) {
2378
- break;
2379
- }
2380
- var field = reader.getFieldNumber();
2381
- switch (field) {
2382
- case 1:
2383
- var value = /** @type {number} */ (reader.readInt32());
2384
- msg.setId(value);
2385
- break;
2386
- case 2:
2387
- var value = /** @type {string} */ (reader.readString());
2388
- msg.setTitle(value);
2389
- break;
2390
- case 3:
2391
- var value = /** @type {string} */ (reader.readString());
2392
- msg.setGroup(value);
2393
- break;
2394
- case 4:
2395
- var value = /** @type {boolean} */ (reader.readBool());
2396
- msg.setIsLiveSupported(value);
2397
- break;
2398
- default:
2399
- reader.skipField();
2400
- break;
2401
- }
2402
- }
2403
- return msg;
2404
- };
2405
-
2406
-
2407
- /**
2408
- * Serializes the message to binary data (in protobuf wire format).
2409
- * @return {!Uint8Array}
2410
- */
2411
- proto.sport.SportCategoryItem.prototype.serializeBinary = function() {
2412
- var writer = new jspb.BinaryWriter();
2413
- proto.sport.SportCategoryItem.serializeBinaryToWriter(this, writer);
2414
- return writer.getResultBuffer();
2415
- };
2416
-
2417
-
2418
- /**
2419
- * Serializes the given message to binary data (in protobuf wire
2420
- * format), writing to the given BinaryWriter.
2421
- * @param {!proto.sport.SportCategoryItem} message
2422
- * @param {!jspb.BinaryWriter} writer
2423
- * @suppress {unusedLocalVariables} f is only used for nested messages
2424
- */
2425
- proto.sport.SportCategoryItem.serializeBinaryToWriter = function(message, writer) {
2426
- var f = undefined;
2427
- f = message.getId();
2428
- if (f !== 0) {
2429
- writer.writeInt32(
2430
- 1,
2431
- f
2432
- );
2433
- }
2434
- f = message.getTitle();
2435
- if (f.length > 0) {
2436
- writer.writeString(
2437
- 2,
2438
- f
2439
- );
2440
- }
2441
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
2442
- if (f != null) {
2443
- writer.writeString(
2444
- 3,
2445
- f
2446
- );
2447
- }
2448
- f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
2449
- if (f != null) {
2450
- writer.writeBool(
2451
- 4,
2452
- f
2453
- );
2454
- }
2455
- };
2456
-
2457
-
2458
- /**
2459
- * optional int32 id = 1;
2460
- * @return {number}
2461
- */
2462
- proto.sport.SportCategoryItem.prototype.getId = function() {
2463
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2464
- };
2465
-
2466
-
2467
- /**
2468
- * @param {number} value
2469
- * @return {!proto.sport.SportCategoryItem} returns this
2470
- */
2471
- proto.sport.SportCategoryItem.prototype.setId = function(value) {
2472
- return jspb.Message.setProto3IntField(this, 1, value);
2473
- };
2474
-
2475
-
2476
- /**
2477
- * optional string title = 2;
2478
- * @return {string}
2479
- */
2480
- proto.sport.SportCategoryItem.prototype.getTitle = function() {
2481
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2482
- };
2483
-
2484
-
2485
- /**
2486
- * @param {string} value
2487
- * @return {!proto.sport.SportCategoryItem} returns this
2488
- */
2489
- proto.sport.SportCategoryItem.prototype.setTitle = function(value) {
2490
- return jspb.Message.setProto3StringField(this, 2, value);
2491
- };
2492
-
2493
-
2494
- /**
2495
- * optional string group = 3;
2496
- * @return {string}
2497
- */
2498
- proto.sport.SportCategoryItem.prototype.getGroup = function() {
2499
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2500
- };
2501
-
2502
-
2503
- /**
2504
- * @param {string} value
2505
- * @return {!proto.sport.SportCategoryItem} returns this
2506
- */
2507
- proto.sport.SportCategoryItem.prototype.setGroup = function(value) {
2508
- return jspb.Message.setField(this, 3, value);
2509
- };
2510
-
2511
-
2512
- /**
2513
- * Clears the field making it undefined.
2514
- * @return {!proto.sport.SportCategoryItem} returns this
2515
- */
2516
- proto.sport.SportCategoryItem.prototype.clearGroup = function() {
2517
- return jspb.Message.setField(this, 3, undefined);
2518
- };
2519
-
2520
-
2521
- /**
2522
- * Returns whether this field is set.
2523
- * @return {boolean}
2524
- */
2525
- proto.sport.SportCategoryItem.prototype.hasGroup = function() {
2526
- return jspb.Message.getField(this, 3) != null;
2527
- };
2528
-
2529
-
2530
- /**
2531
- * optional bool is_live_supported = 4;
2532
- * @return {boolean}
2533
- */
2534
- proto.sport.SportCategoryItem.prototype.getIsLiveSupported = function() {
2535
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
2536
- };
2537
-
2538
-
2539
- /**
2540
- * @param {boolean} value
2541
- * @return {!proto.sport.SportCategoryItem} returns this
2542
- */
2543
- proto.sport.SportCategoryItem.prototype.setIsLiveSupported = function(value) {
2544
- return jspb.Message.setField(this, 4, value);
2545
- };
2546
-
2547
-
2548
- /**
2549
- * Clears the field making it undefined.
2550
- * @return {!proto.sport.SportCategoryItem} returns this
2551
- */
2552
- proto.sport.SportCategoryItem.prototype.clearIsLiveSupported = function() {
2553
- return jspb.Message.setField(this, 4, undefined);
2554
- };
2555
-
2556
-
2557
- /**
2558
- * Returns whether this field is set.
2559
- * @return {boolean}
2560
- */
2561
- proto.sport.SportCategoryItem.prototype.hasIsLiveSupported = function() {
2562
- return jspb.Message.getField(this, 4) != null;
2563
- };
2564
-
2565
-
2566
-
2567
- /**
2568
- * List of repeated fields within this message type.
2569
- * @private {!Array<number>}
2570
- * @const
2571
- */
2572
- proto.sport.SportCategoriesIds.repeatedFields_ = [1];
2573
-
2574
-
2575
-
2576
- if (jspb.Message.GENERATE_TO_OBJECT) {
2577
- /**
2578
- * Creates an object representation of this proto.
2579
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2580
- * Optional fields that are not set will be set to undefined.
2581
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2582
- * For the list of reserved names please see:
2583
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2584
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2585
- * JSPB instance for transitional soy proto support:
2586
- * http://goto/soy-param-migration
2587
- * @return {!Object}
2588
- */
2589
- proto.sport.SportCategoriesIds.prototype.toObject = function(opt_includeInstance) {
2590
- return proto.sport.SportCategoriesIds.toObject(opt_includeInstance, this);
2591
- };
2592
-
2593
-
2594
- /**
2595
- * Static version of the {@see toObject} method.
2596
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2597
- * the JSPB instance for transitional soy proto support:
2598
- * http://goto/soy-param-migration
2599
- * @param {!proto.sport.SportCategoriesIds} msg The msg instance to transform.
2600
- * @return {!Object}
2601
- * @suppress {unusedLocalVariables} f is only used for nested messages
2602
- */
2603
- proto.sport.SportCategoriesIds.toObject = function(includeInstance, msg) {
2604
- var f, obj = {
2605
- idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2606
- };
2607
-
2608
- if (includeInstance) {
2609
- obj.$jspbMessageInstance = msg;
2610
- }
2611
- return obj;
2612
- };
2613
- }
2614
-
2615
-
2616
- /**
2617
- * Deserializes binary data (in protobuf wire format).
2618
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2619
- * @return {!proto.sport.SportCategoriesIds}
2620
- */
2621
- proto.sport.SportCategoriesIds.deserializeBinary = function(bytes) {
2622
- var reader = new jspb.BinaryReader(bytes);
2623
- var msg = new proto.sport.SportCategoriesIds;
2624
- return proto.sport.SportCategoriesIds.deserializeBinaryFromReader(msg, reader);
2625
- };
2626
-
2627
-
2628
- /**
2629
- * Deserializes binary data (in protobuf wire format) from the
2630
- * given reader into the given message object.
2631
- * @param {!proto.sport.SportCategoriesIds} msg The message object to deserialize into.
2632
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2633
- * @return {!proto.sport.SportCategoriesIds}
2634
- */
2635
- proto.sport.SportCategoriesIds.deserializeBinaryFromReader = function(msg, reader) {
2636
- while (reader.nextField()) {
2637
- if (reader.isEndGroup()) {
2638
- break;
2639
- }
2640
- var field = reader.getFieldNumber();
2641
- switch (field) {
2642
- case 1:
2643
- var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
2644
- for (var i = 0; i < values.length; i++) {
2645
- msg.addIds(values[i]);
2646
- }
2647
- break;
2648
- default:
2649
- reader.skipField();
2650
- break;
2651
- }
2652
- }
2653
- return msg;
2654
- };
2655
-
2656
-
2657
- /**
2658
- * Serializes the message to binary data (in protobuf wire format).
2659
- * @return {!Uint8Array}
2660
- */
2661
- proto.sport.SportCategoriesIds.prototype.serializeBinary = function() {
2662
- var writer = new jspb.BinaryWriter();
2663
- proto.sport.SportCategoriesIds.serializeBinaryToWriter(this, writer);
2664
- return writer.getResultBuffer();
2665
- };
2666
-
2667
-
2668
- /**
2669
- * Serializes the given message to binary data (in protobuf wire
2670
- * format), writing to the given BinaryWriter.
2671
- * @param {!proto.sport.SportCategoriesIds} message
2672
- * @param {!jspb.BinaryWriter} writer
2673
- * @suppress {unusedLocalVariables} f is only used for nested messages
2674
- */
2675
- proto.sport.SportCategoriesIds.serializeBinaryToWriter = function(message, writer) {
2676
- var f = undefined;
2677
- f = message.getIdsList();
2678
- if (f.length > 0) {
2679
- writer.writePackedInt32(
2680
- 1,
2681
- f
2682
- );
2683
- }
2684
- };
2685
-
2686
-
2687
- /**
2688
- * repeated int32 ids = 1;
2689
- * @return {!Array<number>}
2690
- */
2691
- proto.sport.SportCategoriesIds.prototype.getIdsList = function() {
2692
- return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
2693
- };
2694
-
2695
-
2696
- /**
2697
- * @param {!Array<number>} value
2698
- * @return {!proto.sport.SportCategoriesIds} returns this
2699
- */
2700
- proto.sport.SportCategoriesIds.prototype.setIdsList = function(value) {
2701
- return jspb.Message.setField(this, 1, value || []);
2702
- };
2703
-
2704
-
2705
- /**
2706
- * @param {number} value
2707
- * @param {number=} opt_index
2708
- * @return {!proto.sport.SportCategoriesIds} returns this
2709
- */
2710
- proto.sport.SportCategoriesIds.prototype.addIds = function(value, opt_index) {
2711
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2712
- };
2713
-
2714
-
2715
- /**
2716
- * Clears the list making it empty but non-null.
2717
- * @return {!proto.sport.SportCategoriesIds} returns this
2718
- */
2719
- proto.sport.SportCategoriesIds.prototype.clearIdsList = function() {
2720
- return this.setIdsList([]);
2721
- };
2722
-
2723
-
2724
-
2725
- /**
2726
- * List of repeated fields within this message type.
2727
- * @private {!Array<number>}
2728
- * @const
2729
- */
2730
- proto.sport.SportCategoriesResponse.repeatedFields_ = [1];
2731
-
2732
-
2733
-
2734
- if (jspb.Message.GENERATE_TO_OBJECT) {
2735
- /**
2736
- * Creates an object representation of this proto.
2737
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2738
- * Optional fields that are not set will be set to undefined.
2739
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2740
- * For the list of reserved names please see:
2741
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2742
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2743
- * JSPB instance for transitional soy proto support:
2744
- * http://goto/soy-param-migration
2745
- * @return {!Object}
2746
- */
2747
- proto.sport.SportCategoriesResponse.prototype.toObject = function(opt_includeInstance) {
2748
- return proto.sport.SportCategoriesResponse.toObject(opt_includeInstance, this);
2749
- };
2750
-
2751
-
2752
- /**
2753
- * Static version of the {@see toObject} method.
2754
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2755
- * the JSPB instance for transitional soy proto support:
2756
- * http://goto/soy-param-migration
2757
- * @param {!proto.sport.SportCategoriesResponse} msg The msg instance to transform.
2758
- * @return {!Object}
2759
- * @suppress {unusedLocalVariables} f is only used for nested messages
2760
- */
2761
- proto.sport.SportCategoriesResponse.toObject = function(includeInstance, msg) {
2762
- var f, obj = {
2763
- itemsList: jspb.Message.toObjectList(msg.getItemsList(),
2764
- proto.sport.SportCategoryItem.toObject, includeInstance)
2765
- };
2766
-
2767
- if (includeInstance) {
2768
- obj.$jspbMessageInstance = msg;
2769
- }
2770
- return obj;
2771
- };
2772
- }
2773
-
2774
-
2775
- /**
2776
- * Deserializes binary data (in protobuf wire format).
2777
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2778
- * @return {!proto.sport.SportCategoriesResponse}
2779
- */
2780
- proto.sport.SportCategoriesResponse.deserializeBinary = function(bytes) {
2781
- var reader = new jspb.BinaryReader(bytes);
2782
- var msg = new proto.sport.SportCategoriesResponse;
2783
- return proto.sport.SportCategoriesResponse.deserializeBinaryFromReader(msg, reader);
2784
- };
2785
-
2786
-
2787
- /**
2788
- * Deserializes binary data (in protobuf wire format) from the
2789
- * given reader into the given message object.
2790
- * @param {!proto.sport.SportCategoriesResponse} msg The message object to deserialize into.
2791
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2792
- * @return {!proto.sport.SportCategoriesResponse}
2793
- */
2794
- proto.sport.SportCategoriesResponse.deserializeBinaryFromReader = function(msg, reader) {
2795
- while (reader.nextField()) {
2796
- if (reader.isEndGroup()) {
2797
- break;
2798
- }
2799
- var field = reader.getFieldNumber();
2800
- switch (field) {
2801
- case 1:
2802
- var value = new proto.sport.SportCategoryItem;
2803
- reader.readMessage(value,proto.sport.SportCategoryItem.deserializeBinaryFromReader);
2804
- msg.addItems(value);
2805
- break;
2806
- default:
2807
- reader.skipField();
2808
- break;
2809
- }
2810
- }
2811
- return msg;
2812
- };
2813
-
2814
-
2815
- /**
2816
- * Serializes the message to binary data (in protobuf wire format).
2817
- * @return {!Uint8Array}
2818
- */
2819
- proto.sport.SportCategoriesResponse.prototype.serializeBinary = function() {
2820
- var writer = new jspb.BinaryWriter();
2821
- proto.sport.SportCategoriesResponse.serializeBinaryToWriter(this, writer);
2822
- return writer.getResultBuffer();
2823
- };
2824
-
2825
-
2826
- /**
2827
- * Serializes the given message to binary data (in protobuf wire
2828
- * format), writing to the given BinaryWriter.
2829
- * @param {!proto.sport.SportCategoriesResponse} message
2830
- * @param {!jspb.BinaryWriter} writer
2831
- * @suppress {unusedLocalVariables} f is only used for nested messages
2832
- */
2833
- proto.sport.SportCategoriesResponse.serializeBinaryToWriter = function(message, writer) {
2834
- var f = undefined;
2835
- f = message.getItemsList();
2836
- if (f.length > 0) {
2837
- writer.writeRepeatedMessage(
2838
- 1,
2839
- f,
2840
- proto.sport.SportCategoryItem.serializeBinaryToWriter
2841
- );
2842
- }
2843
- };
2844
-
2845
-
2846
- /**
2847
- * repeated SportCategoryItem items = 1;
2848
- * @return {!Array<!proto.sport.SportCategoryItem>}
2849
- */
2850
- proto.sport.SportCategoriesResponse.prototype.getItemsList = function() {
2851
- return /** @type{!Array<!proto.sport.SportCategoryItem>} */ (
2852
- jspb.Message.getRepeatedWrapperField(this, proto.sport.SportCategoryItem, 1));
2853
- };
2854
-
2855
-
2856
- /**
2857
- * @param {!Array<!proto.sport.SportCategoryItem>} value
2858
- * @return {!proto.sport.SportCategoriesResponse} returns this
2859
- */
2860
- proto.sport.SportCategoriesResponse.prototype.setItemsList = function(value) {
2861
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
2862
- };
2863
-
2864
-
2865
- /**
2866
- * @param {!proto.sport.SportCategoryItem=} opt_value
2867
- * @param {number=} opt_index
2868
- * @return {!proto.sport.SportCategoryItem}
2869
- */
2870
- proto.sport.SportCategoriesResponse.prototype.addItems = function(opt_value, opt_index) {
2871
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.sport.SportCategoryItem, opt_index);
2872
- };
2873
-
2874
-
2875
- /**
2876
- * Clears the list making it empty but non-null.
2877
- * @return {!proto.sport.SportCategoriesResponse} returns this
2878
- */
2879
- proto.sport.SportCategoriesResponse.prototype.clearItemsList = function() {
2880
- return this.setItemsList([]);
2881
- };
2882
-
2883
-
2884
-
2885
-
2886
-
2887
- if (jspb.Message.GENERATE_TO_OBJECT) {
2888
- /**
2889
- * Creates an object representation of this proto.
2890
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2891
- * Optional fields that are not set will be set to undefined.
2892
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2893
- * For the list of reserved names please see:
2894
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2895
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2896
- * JSPB instance for transitional soy proto support:
2897
- * http://goto/soy-param-migration
2898
- * @return {!Object}
2899
- */
2900
- proto.sport.SportTypeItem.prototype.toObject = function(opt_includeInstance) {
2901
- return proto.sport.SportTypeItem.toObject(opt_includeInstance, this);
2902
- };
2903
-
2904
-
2905
- /**
2906
- * Static version of the {@see toObject} method.
2907
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2908
- * the JSPB instance for transitional soy proto support:
2909
- * http://goto/soy-param-migration
2910
- * @param {!proto.sport.SportTypeItem} msg The msg instance to transform.
2911
- * @return {!Object}
2912
- * @suppress {unusedLocalVariables} f is only used for nested messages
2913
- */
2914
- proto.sport.SportTypeItem.toObject = function(includeInstance, msg) {
2915
- var f, obj = {
2916
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2917
- title: jspb.Message.getFieldWithDefault(msg, 2, ""),
2918
- sportCategoryId: jspb.Message.getFieldWithDefault(msg, 3, 0),
2919
- marketGroup: jspb.Message.getFieldWithDefault(msg, 4, "")
2920
- };
2921
-
2922
- if (includeInstance) {
2923
- obj.$jspbMessageInstance = msg;
2924
- }
2925
- return obj;
2926
- };
2927
- }
2928
-
2929
-
2930
- /**
2931
- * Deserializes binary data (in protobuf wire format).
2932
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2933
- * @return {!proto.sport.SportTypeItem}
2934
- */
2935
- proto.sport.SportTypeItem.deserializeBinary = function(bytes) {
2936
- var reader = new jspb.BinaryReader(bytes);
2937
- var msg = new proto.sport.SportTypeItem;
2938
- return proto.sport.SportTypeItem.deserializeBinaryFromReader(msg, reader);
2939
- };
2940
-
2941
-
2942
- /**
2943
- * Deserializes binary data (in protobuf wire format) from the
2944
- * given reader into the given message object.
2945
- * @param {!proto.sport.SportTypeItem} msg The message object to deserialize into.
2946
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2947
- * @return {!proto.sport.SportTypeItem}
2948
- */
2949
- proto.sport.SportTypeItem.deserializeBinaryFromReader = function(msg, reader) {
2950
- while (reader.nextField()) {
2951
- if (reader.isEndGroup()) {
2952
- break;
2953
- }
2954
- var field = reader.getFieldNumber();
2955
- switch (field) {
2956
- case 1:
2957
- var value = /** @type {number} */ (reader.readInt32());
2958
- msg.setId(value);
2959
- break;
2960
- case 2:
2961
- var value = /** @type {string} */ (reader.readString());
2962
- msg.setTitle(value);
2963
- break;
2964
- case 3:
2965
- var value = /** @type {number} */ (reader.readInt32());
2966
- msg.setSportCategoryId(value);
2967
- break;
2968
- case 4:
2969
- var value = /** @type {string} */ (reader.readString());
2970
- msg.setMarketGroup(value);
2971
- break;
2972
- default:
2973
- reader.skipField();
2974
- break;
2975
- }
2976
- }
2977
- return msg;
2978
- };
2979
-
2980
-
2981
- /**
2982
- * Serializes the message to binary data (in protobuf wire format).
2983
- * @return {!Uint8Array}
2984
- */
2985
- proto.sport.SportTypeItem.prototype.serializeBinary = function() {
2986
- var writer = new jspb.BinaryWriter();
2987
- proto.sport.SportTypeItem.serializeBinaryToWriter(this, writer);
2988
- return writer.getResultBuffer();
2989
- };
2990
-
2991
-
2992
- /**
2993
- * Serializes the given message to binary data (in protobuf wire
2994
- * format), writing to the given BinaryWriter.
2995
- * @param {!proto.sport.SportTypeItem} message
2996
- * @param {!jspb.BinaryWriter} writer
2997
- * @suppress {unusedLocalVariables} f is only used for nested messages
2998
- */
2999
- proto.sport.SportTypeItem.serializeBinaryToWriter = function(message, writer) {
3000
- var f = undefined;
3001
- f = message.getId();
3002
- if (f !== 0) {
3003
- writer.writeInt32(
3004
- 1,
3005
- f
3006
- );
3007
- }
3008
- f = message.getTitle();
3009
- if (f.length > 0) {
3010
- writer.writeString(
3011
- 2,
3012
- f
3013
- );
3014
- }
3015
- f = /** @type {number} */ (jspb.Message.getField(message, 3));
3016
- if (f != null) {
3017
- writer.writeInt32(
3018
- 3,
3019
- f
3020
- );
3021
- }
3022
- f = /** @type {string} */ (jspb.Message.getField(message, 4));
3023
- if (f != null) {
3024
- writer.writeString(
3025
- 4,
3026
- f
3027
- );
3028
- }
3029
- };
3030
-
3031
-
3032
- /**
3033
- * optional int32 id = 1;
3034
- * @return {number}
3035
- */
3036
- proto.sport.SportTypeItem.prototype.getId = function() {
3037
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3038
- };
3039
-
3040
-
3041
- /**
3042
- * @param {number} value
3043
- * @return {!proto.sport.SportTypeItem} returns this
3044
- */
3045
- proto.sport.SportTypeItem.prototype.setId = function(value) {
3046
- return jspb.Message.setProto3IntField(this, 1, value);
3047
- };
3048
-
3049
-
3050
- /**
3051
- * optional string title = 2;
3052
- * @return {string}
3053
- */
3054
- proto.sport.SportTypeItem.prototype.getTitle = function() {
3055
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3056
- };
3057
-
3058
-
3059
- /**
3060
- * @param {string} value
3061
- * @return {!proto.sport.SportTypeItem} returns this
3062
- */
3063
- proto.sport.SportTypeItem.prototype.setTitle = function(value) {
3064
- return jspb.Message.setProto3StringField(this, 2, value);
3065
- };
3066
-
3067
-
3068
- /**
3069
- * optional int32 sport_category_id = 3;
3070
- * @return {number}
3071
- */
3072
- proto.sport.SportTypeItem.prototype.getSportCategoryId = function() {
3073
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
3074
- };
3075
-
3076
-
3077
- /**
3078
- * @param {number} value
3079
- * @return {!proto.sport.SportTypeItem} returns this
3080
- */
3081
- proto.sport.SportTypeItem.prototype.setSportCategoryId = function(value) {
3082
- return jspb.Message.setField(this, 3, value);
3083
- };
3084
-
3085
-
3086
- /**
3087
- * Clears the field making it undefined.
3088
- * @return {!proto.sport.SportTypeItem} returns this
3089
- */
3090
- proto.sport.SportTypeItem.prototype.clearSportCategoryId = function() {
3091
- return jspb.Message.setField(this, 3, undefined);
3092
- };
3093
-
3094
-
3095
- /**
3096
- * Returns whether this field is set.
3097
- * @return {boolean}
3098
- */
3099
- proto.sport.SportTypeItem.prototype.hasSportCategoryId = function() {
3100
- return jspb.Message.getField(this, 3) != null;
3101
- };
3102
-
3103
-
3104
- /**
3105
- * optional string market_group = 4;
3106
- * @return {string}
3107
- */
3108
- proto.sport.SportTypeItem.prototype.getMarketGroup = function() {
3109
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3110
- };
3111
-
3112
-
3113
- /**
3114
- * @param {string} value
3115
- * @return {!proto.sport.SportTypeItem} returns this
3116
- */
3117
- proto.sport.SportTypeItem.prototype.setMarketGroup = function(value) {
3118
- return jspb.Message.setField(this, 4, value);
3119
- };
3120
-
3121
-
3122
- /**
3123
- * Clears the field making it undefined.
3124
- * @return {!proto.sport.SportTypeItem} returns this
3125
- */
3126
- proto.sport.SportTypeItem.prototype.clearMarketGroup = function() {
3127
- return jspb.Message.setField(this, 4, undefined);
3128
- };
3129
-
3130
-
3131
- /**
3132
- * Returns whether this field is set.
3133
- * @return {boolean}
3134
- */
3135
- proto.sport.SportTypeItem.prototype.hasMarketGroup = function() {
3136
- return jspb.Message.getField(this, 4) != null;
3137
- };
3138
-
3139
-
3140
-
3141
- /**
3142
- * List of repeated fields within this message type.
3143
- * @private {!Array<number>}
3144
- * @const
3145
- */
3146
- proto.sport.SportTypesIds.repeatedFields_ = [1];
3147
-
3148
-
3149
-
3150
- if (jspb.Message.GENERATE_TO_OBJECT) {
3151
- /**
3152
- * Creates an object representation of this proto.
3153
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3154
- * Optional fields that are not set will be set to undefined.
3155
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3156
- * For the list of reserved names please see:
3157
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3158
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3159
- * JSPB instance for transitional soy proto support:
3160
- * http://goto/soy-param-migration
3161
- * @return {!Object}
3162
- */
3163
- proto.sport.SportTypesIds.prototype.toObject = function(opt_includeInstance) {
3164
- return proto.sport.SportTypesIds.toObject(opt_includeInstance, this);
3165
- };
3166
-
3167
-
3168
- /**
3169
- * Static version of the {@see toObject} method.
3170
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3171
- * the JSPB instance for transitional soy proto support:
3172
- * http://goto/soy-param-migration
3173
- * @param {!proto.sport.SportTypesIds} msg The msg instance to transform.
3174
- * @return {!Object}
3175
- * @suppress {unusedLocalVariables} f is only used for nested messages
3176
- */
3177
- proto.sport.SportTypesIds.toObject = function(includeInstance, msg) {
3178
- var f, obj = {
3179
- idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
3180
- };
3181
-
3182
- if (includeInstance) {
3183
- obj.$jspbMessageInstance = msg;
3184
- }
3185
- return obj;
3186
- };
3187
- }
3188
-
3189
-
3190
- /**
3191
- * Deserializes binary data (in protobuf wire format).
3192
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3193
- * @return {!proto.sport.SportTypesIds}
3194
- */
3195
- proto.sport.SportTypesIds.deserializeBinary = function(bytes) {
3196
- var reader = new jspb.BinaryReader(bytes);
3197
- var msg = new proto.sport.SportTypesIds;
3198
- return proto.sport.SportTypesIds.deserializeBinaryFromReader(msg, reader);
3199
- };
3200
-
3201
-
3202
- /**
3203
- * Deserializes binary data (in protobuf wire format) from the
3204
- * given reader into the given message object.
3205
- * @param {!proto.sport.SportTypesIds} msg The message object to deserialize into.
3206
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3207
- * @return {!proto.sport.SportTypesIds}
3208
- */
3209
- proto.sport.SportTypesIds.deserializeBinaryFromReader = function(msg, reader) {
3210
- while (reader.nextField()) {
3211
- if (reader.isEndGroup()) {
3212
- break;
3213
- }
3214
- var field = reader.getFieldNumber();
3215
- switch (field) {
3216
- case 1:
3217
- var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
3218
- for (var i = 0; i < values.length; i++) {
3219
- msg.addIds(values[i]);
3220
- }
3221
- break;
3222
- default:
3223
- reader.skipField();
3224
- break;
3225
- }
3226
- }
3227
- return msg;
3228
- };
3229
-
3230
-
3231
- /**
3232
- * Serializes the message to binary data (in protobuf wire format).
3233
- * @return {!Uint8Array}
3234
- */
3235
- proto.sport.SportTypesIds.prototype.serializeBinary = function() {
3236
- var writer = new jspb.BinaryWriter();
3237
- proto.sport.SportTypesIds.serializeBinaryToWriter(this, writer);
3238
- return writer.getResultBuffer();
3239
- };
3240
-
3241
-
3242
- /**
3243
- * Serializes the given message to binary data (in protobuf wire
3244
- * format), writing to the given BinaryWriter.
3245
- * @param {!proto.sport.SportTypesIds} message
3246
- * @param {!jspb.BinaryWriter} writer
3247
- * @suppress {unusedLocalVariables} f is only used for nested messages
3248
- */
3249
- proto.sport.SportTypesIds.serializeBinaryToWriter = function(message, writer) {
3250
- var f = undefined;
3251
- f = message.getIdsList();
3252
- if (f.length > 0) {
3253
- writer.writePackedInt32(
3254
- 1,
3255
- f
3256
- );
3257
- }
3258
- };
3259
-
3260
-
3261
- /**
3262
- * repeated int32 ids = 1;
3263
- * @return {!Array<number>}
3264
- */
3265
- proto.sport.SportTypesIds.prototype.getIdsList = function() {
3266
- return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
3267
- };
3268
-
3269
-
3270
- /**
3271
- * @param {!Array<number>} value
3272
- * @return {!proto.sport.SportTypesIds} returns this
3273
- */
3274
- proto.sport.SportTypesIds.prototype.setIdsList = function(value) {
3275
- return jspb.Message.setField(this, 1, value || []);
3276
- };
3277
-
3278
-
3279
- /**
3280
- * @param {number} value
3281
- * @param {number=} opt_index
3282
- * @return {!proto.sport.SportTypesIds} returns this
3283
- */
3284
- proto.sport.SportTypesIds.prototype.addIds = function(value, opt_index) {
3285
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
3286
- };
3287
-
3288
-
3289
- /**
3290
- * Clears the list making it empty but non-null.
3291
- * @return {!proto.sport.SportTypesIds} returns this
3292
- */
3293
- proto.sport.SportTypesIds.prototype.clearIdsList = function() {
3294
- return this.setIdsList([]);
3295
- };
3296
-
3297
-
3298
-
3299
- /**
3300
- * List of repeated fields within this message type.
3301
- * @private {!Array<number>}
3302
- * @const
3303
- */
3304
- proto.sport.SportTypesResponse.repeatedFields_ = [1];
3305
-
3306
-
3307
-
3308
- if (jspb.Message.GENERATE_TO_OBJECT) {
3309
- /**
3310
- * Creates an object representation of this proto.
3311
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3312
- * Optional fields that are not set will be set to undefined.
3313
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3314
- * For the list of reserved names please see:
3315
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3316
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3317
- * JSPB instance for transitional soy proto support:
3318
- * http://goto/soy-param-migration
3319
- * @return {!Object}
3320
- */
3321
- proto.sport.SportTypesResponse.prototype.toObject = function(opt_includeInstance) {
3322
- return proto.sport.SportTypesResponse.toObject(opt_includeInstance, this);
3323
- };
3324
-
3325
-
3326
- /**
3327
- * Static version of the {@see toObject} method.
3328
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3329
- * the JSPB instance for transitional soy proto support:
3330
- * http://goto/soy-param-migration
3331
- * @param {!proto.sport.SportTypesResponse} msg The msg instance to transform.
3332
- * @return {!Object}
3333
- * @suppress {unusedLocalVariables} f is only used for nested messages
3334
- */
3335
- proto.sport.SportTypesResponse.toObject = function(includeInstance, msg) {
3336
- var f, obj = {
3337
- itemsList: jspb.Message.toObjectList(msg.getItemsList(),
3338
- proto.sport.SportTypeItem.toObject, includeInstance)
3339
- };
3340
-
3341
- if (includeInstance) {
3342
- obj.$jspbMessageInstance = msg;
3343
- }
3344
- return obj;
3345
- };
3346
- }
3347
-
3348
-
3349
- /**
3350
- * Deserializes binary data (in protobuf wire format).
3351
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3352
- * @return {!proto.sport.SportTypesResponse}
3353
- */
3354
- proto.sport.SportTypesResponse.deserializeBinary = function(bytes) {
3355
- var reader = new jspb.BinaryReader(bytes);
3356
- var msg = new proto.sport.SportTypesResponse;
3357
- return proto.sport.SportTypesResponse.deserializeBinaryFromReader(msg, reader);
3358
- };
3359
-
3360
-
3361
- /**
3362
- * Deserializes binary data (in protobuf wire format) from the
3363
- * given reader into the given message object.
3364
- * @param {!proto.sport.SportTypesResponse} msg The message object to deserialize into.
3365
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3366
- * @return {!proto.sport.SportTypesResponse}
3367
- */
3368
- proto.sport.SportTypesResponse.deserializeBinaryFromReader = function(msg, reader) {
3369
- while (reader.nextField()) {
3370
- if (reader.isEndGroup()) {
3371
- break;
3372
- }
3373
- var field = reader.getFieldNumber();
3374
- switch (field) {
3375
- case 1:
3376
- var value = new proto.sport.SportTypeItem;
3377
- reader.readMessage(value,proto.sport.SportTypeItem.deserializeBinaryFromReader);
3378
- msg.addItems(value);
3379
- break;
3380
- default:
3381
- reader.skipField();
3382
- break;
3383
- }
3384
- }
3385
- return msg;
3386
- };
3387
-
3388
-
3389
- /**
3390
- * Serializes the message to binary data (in protobuf wire format).
3391
- * @return {!Uint8Array}
3392
- */
3393
- proto.sport.SportTypesResponse.prototype.serializeBinary = function() {
3394
- var writer = new jspb.BinaryWriter();
3395
- proto.sport.SportTypesResponse.serializeBinaryToWriter(this, writer);
3396
- return writer.getResultBuffer();
3397
- };
3398
-
3399
-
3400
- /**
3401
- * Serializes the given message to binary data (in protobuf wire
3402
- * format), writing to the given BinaryWriter.
3403
- * @param {!proto.sport.SportTypesResponse} message
3404
- * @param {!jspb.BinaryWriter} writer
3405
- * @suppress {unusedLocalVariables} f is only used for nested messages
3406
- */
3407
- proto.sport.SportTypesResponse.serializeBinaryToWriter = function(message, writer) {
3408
- var f = undefined;
3409
- f = message.getItemsList();
3410
- if (f.length > 0) {
3411
- writer.writeRepeatedMessage(
3412
- 1,
3413
- f,
3414
- proto.sport.SportTypeItem.serializeBinaryToWriter
3415
- );
3416
- }
3417
- };
3418
-
3419
-
3420
- /**
3421
- * repeated SportTypeItem items = 1;
3422
- * @return {!Array<!proto.sport.SportTypeItem>}
3423
- */
3424
- proto.sport.SportTypesResponse.prototype.getItemsList = function() {
3425
- return /** @type{!Array<!proto.sport.SportTypeItem>} */ (
3426
- jspb.Message.getRepeatedWrapperField(this, proto.sport.SportTypeItem, 1));
3427
- };
3428
-
3429
-
3430
- /**
3431
- * @param {!Array<!proto.sport.SportTypeItem>} value
3432
- * @return {!proto.sport.SportTypesResponse} returns this
3433
- */
3434
- proto.sport.SportTypesResponse.prototype.setItemsList = function(value) {
3435
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
3436
- };
3437
-
3438
-
3439
- /**
3440
- * @param {!proto.sport.SportTypeItem=} opt_value
3441
- * @param {number=} opt_index
3442
- * @return {!proto.sport.SportTypeItem}
3443
- */
3444
- proto.sport.SportTypesResponse.prototype.addItems = function(opt_value, opt_index) {
3445
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.sport.SportTypeItem, opt_index);
3446
- };
3447
-
3448
-
3449
- /**
3450
- * Clears the list making it empty but non-null.
3451
- * @return {!proto.sport.SportTypesResponse} returns this
3452
- */
3453
- proto.sport.SportTypesResponse.prototype.clearItemsList = function() {
3454
- return this.setItemsList([]);
3455
- };
3456
-
3457
-
3458
- goog.object.extend(exports, proto.sport);
558
+ goog.object.extend(exports, proto.poker);