protobuf-platform 1.2.285 → 1.2.286
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bonus/bonus.proto +8 -0
- package/bonus/bonus_pb.js +292 -4
- package/package.json +1 -1
- package/sport/sport.proto +30 -0
- package/sport/sport_grpc_pb.js +67 -0
- package/sport/sport_pb.js +1002 -0
package/sport/sport_pb.js
CHANGED
|
@@ -21,6 +21,11 @@ var global = (function() {
|
|
|
21
21
|
return Function('return this')();
|
|
22
22
|
}.call(null));
|
|
23
23
|
|
|
24
|
+
goog.exportSymbol('proto.sport.FreebetIssueItem', null, global);
|
|
25
|
+
goog.exportSymbol('proto.sport.GetBetbyFreebetTemplatesRequest', null, global);
|
|
26
|
+
goog.exportSymbol('proto.sport.GetBetbyFreebetTemplatesResponse', null, global);
|
|
27
|
+
goog.exportSymbol('proto.sport.IssueBetbyFreebetsRequest', null, global);
|
|
28
|
+
goog.exportSymbol('proto.sport.IssueBetbyFreebetsResponse', null, global);
|
|
24
29
|
goog.exportSymbol('proto.sport.LaunchBetbyRequest', null, global);
|
|
25
30
|
goog.exportSymbol('proto.sport.LaunchBetbyResponse', null, global);
|
|
26
31
|
goog.exportSymbol('proto.sport.PaginationRequest', null, global);
|
|
@@ -395,6 +400,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
395
400
|
*/
|
|
396
401
|
proto.sport.SportTypesResponse.displayName = 'proto.sport.SportTypesResponse';
|
|
397
402
|
}
|
|
403
|
+
/**
|
|
404
|
+
* Generated by JsPbCodeGenerator.
|
|
405
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
406
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
407
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
408
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
409
|
+
* valid.
|
|
410
|
+
* @extends {jspb.Message}
|
|
411
|
+
* @constructor
|
|
412
|
+
*/
|
|
413
|
+
proto.sport.GetBetbyFreebetTemplatesRequest = function(opt_data) {
|
|
414
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
415
|
+
};
|
|
416
|
+
goog.inherits(proto.sport.GetBetbyFreebetTemplatesRequest, jspb.Message);
|
|
417
|
+
if (goog.DEBUG && !COMPILED) {
|
|
418
|
+
/**
|
|
419
|
+
* @public
|
|
420
|
+
* @override
|
|
421
|
+
*/
|
|
422
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.displayName = 'proto.sport.GetBetbyFreebetTemplatesRequest';
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Generated by JsPbCodeGenerator.
|
|
426
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
427
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
428
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
429
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
430
|
+
* valid.
|
|
431
|
+
* @extends {jspb.Message}
|
|
432
|
+
* @constructor
|
|
433
|
+
*/
|
|
434
|
+
proto.sport.GetBetbyFreebetTemplatesResponse = function(opt_data) {
|
|
435
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
436
|
+
};
|
|
437
|
+
goog.inherits(proto.sport.GetBetbyFreebetTemplatesResponse, jspb.Message);
|
|
438
|
+
if (goog.DEBUG && !COMPILED) {
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
* @override
|
|
442
|
+
*/
|
|
443
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.displayName = 'proto.sport.GetBetbyFreebetTemplatesResponse';
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Generated by JsPbCodeGenerator.
|
|
447
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
448
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
449
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
450
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
451
|
+
* valid.
|
|
452
|
+
* @extends {jspb.Message}
|
|
453
|
+
* @constructor
|
|
454
|
+
*/
|
|
455
|
+
proto.sport.FreebetIssueItem = function(opt_data) {
|
|
456
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sport.FreebetIssueItem.repeatedFields_, null);
|
|
457
|
+
};
|
|
458
|
+
goog.inherits(proto.sport.FreebetIssueItem, jspb.Message);
|
|
459
|
+
if (goog.DEBUG && !COMPILED) {
|
|
460
|
+
/**
|
|
461
|
+
* @public
|
|
462
|
+
* @override
|
|
463
|
+
*/
|
|
464
|
+
proto.sport.FreebetIssueItem.displayName = 'proto.sport.FreebetIssueItem';
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* Generated by JsPbCodeGenerator.
|
|
468
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
469
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
470
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
471
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
472
|
+
* valid.
|
|
473
|
+
* @extends {jspb.Message}
|
|
474
|
+
* @constructor
|
|
475
|
+
*/
|
|
476
|
+
proto.sport.IssueBetbyFreebetsRequest = function(opt_data) {
|
|
477
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sport.IssueBetbyFreebetsRequest.repeatedFields_, null);
|
|
478
|
+
};
|
|
479
|
+
goog.inherits(proto.sport.IssueBetbyFreebetsRequest, jspb.Message);
|
|
480
|
+
if (goog.DEBUG && !COMPILED) {
|
|
481
|
+
/**
|
|
482
|
+
* @public
|
|
483
|
+
* @override
|
|
484
|
+
*/
|
|
485
|
+
proto.sport.IssueBetbyFreebetsRequest.displayName = 'proto.sport.IssueBetbyFreebetsRequest';
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Generated by JsPbCodeGenerator.
|
|
489
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
490
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
491
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
492
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
493
|
+
* valid.
|
|
494
|
+
* @extends {jspb.Message}
|
|
495
|
+
* @constructor
|
|
496
|
+
*/
|
|
497
|
+
proto.sport.IssueBetbyFreebetsResponse = function(opt_data) {
|
|
498
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
499
|
+
};
|
|
500
|
+
goog.inherits(proto.sport.IssueBetbyFreebetsResponse, jspb.Message);
|
|
501
|
+
if (goog.DEBUG && !COMPILED) {
|
|
502
|
+
/**
|
|
503
|
+
* @public
|
|
504
|
+
* @override
|
|
505
|
+
*/
|
|
506
|
+
proto.sport.IssueBetbyFreebetsResponse.displayName = 'proto.sport.IssueBetbyFreebetsResponse';
|
|
507
|
+
}
|
|
398
508
|
|
|
399
509
|
|
|
400
510
|
|
|
@@ -3873,4 +3983,896 @@ proto.sport.SportTypesResponse.prototype.clearItemsList = function() {
|
|
|
3873
3983
|
};
|
|
3874
3984
|
|
|
3875
3985
|
|
|
3986
|
+
|
|
3987
|
+
|
|
3988
|
+
|
|
3989
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3990
|
+
/**
|
|
3991
|
+
* Creates an object representation of this proto.
|
|
3992
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3993
|
+
* Optional fields that are not set will be set to undefined.
|
|
3994
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3995
|
+
* For the list of reserved names please see:
|
|
3996
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3997
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3998
|
+
* JSPB instance for transitional soy proto support:
|
|
3999
|
+
* http://goto/soy-param-migration
|
|
4000
|
+
* @return {!Object}
|
|
4001
|
+
*/
|
|
4002
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4003
|
+
return proto.sport.GetBetbyFreebetTemplatesRequest.toObject(opt_includeInstance, this);
|
|
4004
|
+
};
|
|
4005
|
+
|
|
4006
|
+
|
|
4007
|
+
/**
|
|
4008
|
+
* Static version of the {@see toObject} method.
|
|
4009
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4010
|
+
* the JSPB instance for transitional soy proto support:
|
|
4011
|
+
* http://goto/soy-param-migration
|
|
4012
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesRequest} msg The msg instance to transform.
|
|
4013
|
+
* @return {!Object}
|
|
4014
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4015
|
+
*/
|
|
4016
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.toObject = function(includeInstance, msg) {
|
|
4017
|
+
var f, obj = {
|
|
4018
|
+
page: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4019
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
4020
|
+
};
|
|
4021
|
+
|
|
4022
|
+
if (includeInstance) {
|
|
4023
|
+
obj.$jspbMessageInstance = msg;
|
|
4024
|
+
}
|
|
4025
|
+
return obj;
|
|
4026
|
+
};
|
|
4027
|
+
}
|
|
4028
|
+
|
|
4029
|
+
|
|
4030
|
+
/**
|
|
4031
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4032
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4033
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest}
|
|
4034
|
+
*/
|
|
4035
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.deserializeBinary = function(bytes) {
|
|
4036
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4037
|
+
var msg = new proto.sport.GetBetbyFreebetTemplatesRequest;
|
|
4038
|
+
return proto.sport.GetBetbyFreebetTemplatesRequest.deserializeBinaryFromReader(msg, reader);
|
|
4039
|
+
};
|
|
4040
|
+
|
|
4041
|
+
|
|
4042
|
+
/**
|
|
4043
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4044
|
+
* given reader into the given message object.
|
|
4045
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesRequest} msg The message object to deserialize into.
|
|
4046
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4047
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest}
|
|
4048
|
+
*/
|
|
4049
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4050
|
+
while (reader.nextField()) {
|
|
4051
|
+
if (reader.isEndGroup()) {
|
|
4052
|
+
break;
|
|
4053
|
+
}
|
|
4054
|
+
var field = reader.getFieldNumber();
|
|
4055
|
+
switch (field) {
|
|
4056
|
+
case 1:
|
|
4057
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4058
|
+
msg.setPage(value);
|
|
4059
|
+
break;
|
|
4060
|
+
case 2:
|
|
4061
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4062
|
+
msg.setPerPage(value);
|
|
4063
|
+
break;
|
|
4064
|
+
default:
|
|
4065
|
+
reader.skipField();
|
|
4066
|
+
break;
|
|
4067
|
+
}
|
|
4068
|
+
}
|
|
4069
|
+
return msg;
|
|
4070
|
+
};
|
|
4071
|
+
|
|
4072
|
+
|
|
4073
|
+
/**
|
|
4074
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4075
|
+
* @return {!Uint8Array}
|
|
4076
|
+
*/
|
|
4077
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.serializeBinary = function() {
|
|
4078
|
+
var writer = new jspb.BinaryWriter();
|
|
4079
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.serializeBinaryToWriter(this, writer);
|
|
4080
|
+
return writer.getResultBuffer();
|
|
4081
|
+
};
|
|
4082
|
+
|
|
4083
|
+
|
|
4084
|
+
/**
|
|
4085
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4086
|
+
* format), writing to the given BinaryWriter.
|
|
4087
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesRequest} message
|
|
4088
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4089
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4090
|
+
*/
|
|
4091
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4092
|
+
var f = undefined;
|
|
4093
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
4094
|
+
if (f != null) {
|
|
4095
|
+
writer.writeInt32(
|
|
4096
|
+
1,
|
|
4097
|
+
f
|
|
4098
|
+
);
|
|
4099
|
+
}
|
|
4100
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
4101
|
+
if (f != null) {
|
|
4102
|
+
writer.writeInt32(
|
|
4103
|
+
2,
|
|
4104
|
+
f
|
|
4105
|
+
);
|
|
4106
|
+
}
|
|
4107
|
+
};
|
|
4108
|
+
|
|
4109
|
+
|
|
4110
|
+
/**
|
|
4111
|
+
* optional int32 page = 1;
|
|
4112
|
+
* @return {number}
|
|
4113
|
+
*/
|
|
4114
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.getPage = function() {
|
|
4115
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4116
|
+
};
|
|
4117
|
+
|
|
4118
|
+
|
|
4119
|
+
/**
|
|
4120
|
+
* @param {number} value
|
|
4121
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest} returns this
|
|
4122
|
+
*/
|
|
4123
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.setPage = function(value) {
|
|
4124
|
+
return jspb.Message.setField(this, 1, value);
|
|
4125
|
+
};
|
|
4126
|
+
|
|
4127
|
+
|
|
4128
|
+
/**
|
|
4129
|
+
* Clears the field making it undefined.
|
|
4130
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest} returns this
|
|
4131
|
+
*/
|
|
4132
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.clearPage = function() {
|
|
4133
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
4134
|
+
};
|
|
4135
|
+
|
|
4136
|
+
|
|
4137
|
+
/**
|
|
4138
|
+
* Returns whether this field is set.
|
|
4139
|
+
* @return {boolean}
|
|
4140
|
+
*/
|
|
4141
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.hasPage = function() {
|
|
4142
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4143
|
+
};
|
|
4144
|
+
|
|
4145
|
+
|
|
4146
|
+
/**
|
|
4147
|
+
* optional int32 per_page = 2;
|
|
4148
|
+
* @return {number}
|
|
4149
|
+
*/
|
|
4150
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.getPerPage = function() {
|
|
4151
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4152
|
+
};
|
|
4153
|
+
|
|
4154
|
+
|
|
4155
|
+
/**
|
|
4156
|
+
* @param {number} value
|
|
4157
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest} returns this
|
|
4158
|
+
*/
|
|
4159
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.setPerPage = function(value) {
|
|
4160
|
+
return jspb.Message.setField(this, 2, value);
|
|
4161
|
+
};
|
|
4162
|
+
|
|
4163
|
+
|
|
4164
|
+
/**
|
|
4165
|
+
* Clears the field making it undefined.
|
|
4166
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest} returns this
|
|
4167
|
+
*/
|
|
4168
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.clearPerPage = function() {
|
|
4169
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
4170
|
+
};
|
|
4171
|
+
|
|
4172
|
+
|
|
4173
|
+
/**
|
|
4174
|
+
* Returns whether this field is set.
|
|
4175
|
+
* @return {boolean}
|
|
4176
|
+
*/
|
|
4177
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.hasPerPage = function() {
|
|
4178
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4179
|
+
};
|
|
4180
|
+
|
|
4181
|
+
|
|
4182
|
+
|
|
4183
|
+
|
|
4184
|
+
|
|
4185
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4186
|
+
/**
|
|
4187
|
+
* Creates an object representation of this proto.
|
|
4188
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4189
|
+
* Optional fields that are not set will be set to undefined.
|
|
4190
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4191
|
+
* For the list of reserved names please see:
|
|
4192
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4193
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4194
|
+
* JSPB instance for transitional soy proto support:
|
|
4195
|
+
* http://goto/soy-param-migration
|
|
4196
|
+
* @return {!Object}
|
|
4197
|
+
*/
|
|
4198
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4199
|
+
return proto.sport.GetBetbyFreebetTemplatesResponse.toObject(opt_includeInstance, this);
|
|
4200
|
+
};
|
|
4201
|
+
|
|
4202
|
+
|
|
4203
|
+
/**
|
|
4204
|
+
* Static version of the {@see toObject} method.
|
|
4205
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4206
|
+
* the JSPB instance for transitional soy proto support:
|
|
4207
|
+
* http://goto/soy-param-migration
|
|
4208
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesResponse} msg The msg instance to transform.
|
|
4209
|
+
* @return {!Object}
|
|
4210
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4211
|
+
*/
|
|
4212
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.toObject = function(includeInstance, msg) {
|
|
4213
|
+
var f, obj = {
|
|
4214
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4215
|
+
};
|
|
4216
|
+
|
|
4217
|
+
if (includeInstance) {
|
|
4218
|
+
obj.$jspbMessageInstance = msg;
|
|
4219
|
+
}
|
|
4220
|
+
return obj;
|
|
4221
|
+
};
|
|
4222
|
+
}
|
|
4223
|
+
|
|
4224
|
+
|
|
4225
|
+
/**
|
|
4226
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4227
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4228
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesResponse}
|
|
4229
|
+
*/
|
|
4230
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.deserializeBinary = function(bytes) {
|
|
4231
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4232
|
+
var msg = new proto.sport.GetBetbyFreebetTemplatesResponse;
|
|
4233
|
+
return proto.sport.GetBetbyFreebetTemplatesResponse.deserializeBinaryFromReader(msg, reader);
|
|
4234
|
+
};
|
|
4235
|
+
|
|
4236
|
+
|
|
4237
|
+
/**
|
|
4238
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4239
|
+
* given reader into the given message object.
|
|
4240
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesResponse} msg The message object to deserialize into.
|
|
4241
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4242
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesResponse}
|
|
4243
|
+
*/
|
|
4244
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4245
|
+
while (reader.nextField()) {
|
|
4246
|
+
if (reader.isEndGroup()) {
|
|
4247
|
+
break;
|
|
4248
|
+
}
|
|
4249
|
+
var field = reader.getFieldNumber();
|
|
4250
|
+
switch (field) {
|
|
4251
|
+
case 1:
|
|
4252
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4253
|
+
msg.setData(value);
|
|
4254
|
+
break;
|
|
4255
|
+
default:
|
|
4256
|
+
reader.skipField();
|
|
4257
|
+
break;
|
|
4258
|
+
}
|
|
4259
|
+
}
|
|
4260
|
+
return msg;
|
|
4261
|
+
};
|
|
4262
|
+
|
|
4263
|
+
|
|
4264
|
+
/**
|
|
4265
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4266
|
+
* @return {!Uint8Array}
|
|
4267
|
+
*/
|
|
4268
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.prototype.serializeBinary = function() {
|
|
4269
|
+
var writer = new jspb.BinaryWriter();
|
|
4270
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.serializeBinaryToWriter(this, writer);
|
|
4271
|
+
return writer.getResultBuffer();
|
|
4272
|
+
};
|
|
4273
|
+
|
|
4274
|
+
|
|
4275
|
+
/**
|
|
4276
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4277
|
+
* format), writing to the given BinaryWriter.
|
|
4278
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesResponse} message
|
|
4279
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4280
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4281
|
+
*/
|
|
4282
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4283
|
+
var f = undefined;
|
|
4284
|
+
f = message.getData();
|
|
4285
|
+
if (f.length > 0) {
|
|
4286
|
+
writer.writeString(
|
|
4287
|
+
1,
|
|
4288
|
+
f
|
|
4289
|
+
);
|
|
4290
|
+
}
|
|
4291
|
+
};
|
|
4292
|
+
|
|
4293
|
+
|
|
4294
|
+
/**
|
|
4295
|
+
* optional string data = 1;
|
|
4296
|
+
* @return {string}
|
|
4297
|
+
*/
|
|
4298
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.prototype.getData = function() {
|
|
4299
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4300
|
+
};
|
|
4301
|
+
|
|
4302
|
+
|
|
4303
|
+
/**
|
|
4304
|
+
* @param {string} value
|
|
4305
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesResponse} returns this
|
|
4306
|
+
*/
|
|
4307
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.prototype.setData = function(value) {
|
|
4308
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4309
|
+
};
|
|
4310
|
+
|
|
4311
|
+
|
|
4312
|
+
|
|
4313
|
+
/**
|
|
4314
|
+
* List of repeated fields within this message type.
|
|
4315
|
+
* @private {!Array<number>}
|
|
4316
|
+
* @const
|
|
4317
|
+
*/
|
|
4318
|
+
proto.sport.FreebetIssueItem.repeatedFields_ = [1];
|
|
4319
|
+
|
|
4320
|
+
|
|
4321
|
+
|
|
4322
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4323
|
+
/**
|
|
4324
|
+
* Creates an object representation of this proto.
|
|
4325
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4326
|
+
* Optional fields that are not set will be set to undefined.
|
|
4327
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4328
|
+
* For the list of reserved names please see:
|
|
4329
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4330
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4331
|
+
* JSPB instance for transitional soy proto support:
|
|
4332
|
+
* http://goto/soy-param-migration
|
|
4333
|
+
* @return {!Object}
|
|
4334
|
+
*/
|
|
4335
|
+
proto.sport.FreebetIssueItem.prototype.toObject = function(opt_includeInstance) {
|
|
4336
|
+
return proto.sport.FreebetIssueItem.toObject(opt_includeInstance, this);
|
|
4337
|
+
};
|
|
4338
|
+
|
|
4339
|
+
|
|
4340
|
+
/**
|
|
4341
|
+
* Static version of the {@see toObject} method.
|
|
4342
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4343
|
+
* the JSPB instance for transitional soy proto support:
|
|
4344
|
+
* http://goto/soy-param-migration
|
|
4345
|
+
* @param {!proto.sport.FreebetIssueItem} msg The msg instance to transform.
|
|
4346
|
+
* @return {!Object}
|
|
4347
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4348
|
+
*/
|
|
4349
|
+
proto.sport.FreebetIssueItem.toObject = function(includeInstance, msg) {
|
|
4350
|
+
var f, obj = {
|
|
4351
|
+
playerIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
4352
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
4353
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4354
|
+
};
|
|
4355
|
+
|
|
4356
|
+
if (includeInstance) {
|
|
4357
|
+
obj.$jspbMessageInstance = msg;
|
|
4358
|
+
}
|
|
4359
|
+
return obj;
|
|
4360
|
+
};
|
|
4361
|
+
}
|
|
4362
|
+
|
|
4363
|
+
|
|
4364
|
+
/**
|
|
4365
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4366
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4367
|
+
* @return {!proto.sport.FreebetIssueItem}
|
|
4368
|
+
*/
|
|
4369
|
+
proto.sport.FreebetIssueItem.deserializeBinary = function(bytes) {
|
|
4370
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4371
|
+
var msg = new proto.sport.FreebetIssueItem;
|
|
4372
|
+
return proto.sport.FreebetIssueItem.deserializeBinaryFromReader(msg, reader);
|
|
4373
|
+
};
|
|
4374
|
+
|
|
4375
|
+
|
|
4376
|
+
/**
|
|
4377
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4378
|
+
* given reader into the given message object.
|
|
4379
|
+
* @param {!proto.sport.FreebetIssueItem} msg The message object to deserialize into.
|
|
4380
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4381
|
+
* @return {!proto.sport.FreebetIssueItem}
|
|
4382
|
+
*/
|
|
4383
|
+
proto.sport.FreebetIssueItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
4384
|
+
while (reader.nextField()) {
|
|
4385
|
+
if (reader.isEndGroup()) {
|
|
4386
|
+
break;
|
|
4387
|
+
}
|
|
4388
|
+
var field = reader.getFieldNumber();
|
|
4389
|
+
switch (field) {
|
|
4390
|
+
case 1:
|
|
4391
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4392
|
+
msg.addPlayerIds(value);
|
|
4393
|
+
break;
|
|
4394
|
+
case 2:
|
|
4395
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
4396
|
+
msg.setAmount(value);
|
|
4397
|
+
break;
|
|
4398
|
+
case 3:
|
|
4399
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4400
|
+
msg.setCurrency(value);
|
|
4401
|
+
break;
|
|
4402
|
+
default:
|
|
4403
|
+
reader.skipField();
|
|
4404
|
+
break;
|
|
4405
|
+
}
|
|
4406
|
+
}
|
|
4407
|
+
return msg;
|
|
4408
|
+
};
|
|
4409
|
+
|
|
4410
|
+
|
|
4411
|
+
/**
|
|
4412
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4413
|
+
* @return {!Uint8Array}
|
|
4414
|
+
*/
|
|
4415
|
+
proto.sport.FreebetIssueItem.prototype.serializeBinary = function() {
|
|
4416
|
+
var writer = new jspb.BinaryWriter();
|
|
4417
|
+
proto.sport.FreebetIssueItem.serializeBinaryToWriter(this, writer);
|
|
4418
|
+
return writer.getResultBuffer();
|
|
4419
|
+
};
|
|
4420
|
+
|
|
4421
|
+
|
|
4422
|
+
/**
|
|
4423
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4424
|
+
* format), writing to the given BinaryWriter.
|
|
4425
|
+
* @param {!proto.sport.FreebetIssueItem} message
|
|
4426
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4427
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4428
|
+
*/
|
|
4429
|
+
proto.sport.FreebetIssueItem.serializeBinaryToWriter = function(message, writer) {
|
|
4430
|
+
var f = undefined;
|
|
4431
|
+
f = message.getPlayerIdsList();
|
|
4432
|
+
if (f.length > 0) {
|
|
4433
|
+
writer.writeRepeatedString(
|
|
4434
|
+
1,
|
|
4435
|
+
f
|
|
4436
|
+
);
|
|
4437
|
+
}
|
|
4438
|
+
f = message.getAmount();
|
|
4439
|
+
if (f !== 0.0) {
|
|
4440
|
+
writer.writeDouble(
|
|
4441
|
+
2,
|
|
4442
|
+
f
|
|
4443
|
+
);
|
|
4444
|
+
}
|
|
4445
|
+
f = message.getCurrency();
|
|
4446
|
+
if (f.length > 0) {
|
|
4447
|
+
writer.writeString(
|
|
4448
|
+
3,
|
|
4449
|
+
f
|
|
4450
|
+
);
|
|
4451
|
+
}
|
|
4452
|
+
};
|
|
4453
|
+
|
|
4454
|
+
|
|
4455
|
+
/**
|
|
4456
|
+
* repeated string player_ids = 1;
|
|
4457
|
+
* @return {!Array<string>}
|
|
4458
|
+
*/
|
|
4459
|
+
proto.sport.FreebetIssueItem.prototype.getPlayerIdsList = function() {
|
|
4460
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
4461
|
+
};
|
|
4462
|
+
|
|
4463
|
+
|
|
4464
|
+
/**
|
|
4465
|
+
* @param {!Array<string>} value
|
|
4466
|
+
* @return {!proto.sport.FreebetIssueItem} returns this
|
|
4467
|
+
*/
|
|
4468
|
+
proto.sport.FreebetIssueItem.prototype.setPlayerIdsList = function(value) {
|
|
4469
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
4470
|
+
};
|
|
4471
|
+
|
|
4472
|
+
|
|
4473
|
+
/**
|
|
4474
|
+
* @param {string} value
|
|
4475
|
+
* @param {number=} opt_index
|
|
4476
|
+
* @return {!proto.sport.FreebetIssueItem} returns this
|
|
4477
|
+
*/
|
|
4478
|
+
proto.sport.FreebetIssueItem.prototype.addPlayerIds = function(value, opt_index) {
|
|
4479
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
4480
|
+
};
|
|
4481
|
+
|
|
4482
|
+
|
|
4483
|
+
/**
|
|
4484
|
+
* Clears the list making it empty but non-null.
|
|
4485
|
+
* @return {!proto.sport.FreebetIssueItem} returns this
|
|
4486
|
+
*/
|
|
4487
|
+
proto.sport.FreebetIssueItem.prototype.clearPlayerIdsList = function() {
|
|
4488
|
+
return this.setPlayerIdsList([]);
|
|
4489
|
+
};
|
|
4490
|
+
|
|
4491
|
+
|
|
4492
|
+
/**
|
|
4493
|
+
* optional double amount = 2;
|
|
4494
|
+
* @return {number}
|
|
4495
|
+
*/
|
|
4496
|
+
proto.sport.FreebetIssueItem.prototype.getAmount = function() {
|
|
4497
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
4498
|
+
};
|
|
4499
|
+
|
|
4500
|
+
|
|
4501
|
+
/**
|
|
4502
|
+
* @param {number} value
|
|
4503
|
+
* @return {!proto.sport.FreebetIssueItem} returns this
|
|
4504
|
+
*/
|
|
4505
|
+
proto.sport.FreebetIssueItem.prototype.setAmount = function(value) {
|
|
4506
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
4507
|
+
};
|
|
4508
|
+
|
|
4509
|
+
|
|
4510
|
+
/**
|
|
4511
|
+
* optional string currency = 3;
|
|
4512
|
+
* @return {string}
|
|
4513
|
+
*/
|
|
4514
|
+
proto.sport.FreebetIssueItem.prototype.getCurrency = function() {
|
|
4515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4516
|
+
};
|
|
4517
|
+
|
|
4518
|
+
|
|
4519
|
+
/**
|
|
4520
|
+
* @param {string} value
|
|
4521
|
+
* @return {!proto.sport.FreebetIssueItem} returns this
|
|
4522
|
+
*/
|
|
4523
|
+
proto.sport.FreebetIssueItem.prototype.setCurrency = function(value) {
|
|
4524
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4525
|
+
};
|
|
4526
|
+
|
|
4527
|
+
|
|
4528
|
+
|
|
4529
|
+
/**
|
|
4530
|
+
* List of repeated fields within this message type.
|
|
4531
|
+
* @private {!Array<number>}
|
|
4532
|
+
* @const
|
|
4533
|
+
*/
|
|
4534
|
+
proto.sport.IssueBetbyFreebetsRequest.repeatedFields_ = [3];
|
|
4535
|
+
|
|
4536
|
+
|
|
4537
|
+
|
|
4538
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4539
|
+
/**
|
|
4540
|
+
* Creates an object representation of this proto.
|
|
4541
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4542
|
+
* Optional fields that are not set will be set to undefined.
|
|
4543
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4544
|
+
* For the list of reserved names please see:
|
|
4545
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4546
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4547
|
+
* JSPB instance for transitional soy proto support:
|
|
4548
|
+
* http://goto/soy-param-migration
|
|
4549
|
+
* @return {!Object}
|
|
4550
|
+
*/
|
|
4551
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4552
|
+
return proto.sport.IssueBetbyFreebetsRequest.toObject(opt_includeInstance, this);
|
|
4553
|
+
};
|
|
4554
|
+
|
|
4555
|
+
|
|
4556
|
+
/**
|
|
4557
|
+
* Static version of the {@see toObject} method.
|
|
4558
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4559
|
+
* the JSPB instance for transitional soy proto support:
|
|
4560
|
+
* http://goto/soy-param-migration
|
|
4561
|
+
* @param {!proto.sport.IssueBetbyFreebetsRequest} msg The msg instance to transform.
|
|
4562
|
+
* @return {!Object}
|
|
4563
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4564
|
+
*/
|
|
4565
|
+
proto.sport.IssueBetbyFreebetsRequest.toObject = function(includeInstance, msg) {
|
|
4566
|
+
var f, obj = {
|
|
4567
|
+
sportsbookUuid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4568
|
+
templateId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4569
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
4570
|
+
proto.sport.FreebetIssueItem.toObject, includeInstance)
|
|
4571
|
+
};
|
|
4572
|
+
|
|
4573
|
+
if (includeInstance) {
|
|
4574
|
+
obj.$jspbMessageInstance = msg;
|
|
4575
|
+
}
|
|
4576
|
+
return obj;
|
|
4577
|
+
};
|
|
4578
|
+
}
|
|
4579
|
+
|
|
4580
|
+
|
|
4581
|
+
/**
|
|
4582
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4583
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4584
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest}
|
|
4585
|
+
*/
|
|
4586
|
+
proto.sport.IssueBetbyFreebetsRequest.deserializeBinary = function(bytes) {
|
|
4587
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4588
|
+
var msg = new proto.sport.IssueBetbyFreebetsRequest;
|
|
4589
|
+
return proto.sport.IssueBetbyFreebetsRequest.deserializeBinaryFromReader(msg, reader);
|
|
4590
|
+
};
|
|
4591
|
+
|
|
4592
|
+
|
|
4593
|
+
/**
|
|
4594
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4595
|
+
* given reader into the given message object.
|
|
4596
|
+
* @param {!proto.sport.IssueBetbyFreebetsRequest} msg The message object to deserialize into.
|
|
4597
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4598
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest}
|
|
4599
|
+
*/
|
|
4600
|
+
proto.sport.IssueBetbyFreebetsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4601
|
+
while (reader.nextField()) {
|
|
4602
|
+
if (reader.isEndGroup()) {
|
|
4603
|
+
break;
|
|
4604
|
+
}
|
|
4605
|
+
var field = reader.getFieldNumber();
|
|
4606
|
+
switch (field) {
|
|
4607
|
+
case 1:
|
|
4608
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4609
|
+
msg.setSportsbookUuid(value);
|
|
4610
|
+
break;
|
|
4611
|
+
case 2:
|
|
4612
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4613
|
+
msg.setTemplateId(value);
|
|
4614
|
+
break;
|
|
4615
|
+
case 3:
|
|
4616
|
+
var value = new proto.sport.FreebetIssueItem;
|
|
4617
|
+
reader.readMessage(value,proto.sport.FreebetIssueItem.deserializeBinaryFromReader);
|
|
4618
|
+
msg.addItems(value);
|
|
4619
|
+
break;
|
|
4620
|
+
default:
|
|
4621
|
+
reader.skipField();
|
|
4622
|
+
break;
|
|
4623
|
+
}
|
|
4624
|
+
}
|
|
4625
|
+
return msg;
|
|
4626
|
+
};
|
|
4627
|
+
|
|
4628
|
+
|
|
4629
|
+
/**
|
|
4630
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4631
|
+
* @return {!Uint8Array}
|
|
4632
|
+
*/
|
|
4633
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.serializeBinary = function() {
|
|
4634
|
+
var writer = new jspb.BinaryWriter();
|
|
4635
|
+
proto.sport.IssueBetbyFreebetsRequest.serializeBinaryToWriter(this, writer);
|
|
4636
|
+
return writer.getResultBuffer();
|
|
4637
|
+
};
|
|
4638
|
+
|
|
4639
|
+
|
|
4640
|
+
/**
|
|
4641
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4642
|
+
* format), writing to the given BinaryWriter.
|
|
4643
|
+
* @param {!proto.sport.IssueBetbyFreebetsRequest} message
|
|
4644
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4645
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4646
|
+
*/
|
|
4647
|
+
proto.sport.IssueBetbyFreebetsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4648
|
+
var f = undefined;
|
|
4649
|
+
f = message.getSportsbookUuid();
|
|
4650
|
+
if (f.length > 0) {
|
|
4651
|
+
writer.writeString(
|
|
4652
|
+
1,
|
|
4653
|
+
f
|
|
4654
|
+
);
|
|
4655
|
+
}
|
|
4656
|
+
f = message.getTemplateId();
|
|
4657
|
+
if (f !== 0) {
|
|
4658
|
+
writer.writeInt32(
|
|
4659
|
+
2,
|
|
4660
|
+
f
|
|
4661
|
+
);
|
|
4662
|
+
}
|
|
4663
|
+
f = message.getItemsList();
|
|
4664
|
+
if (f.length > 0) {
|
|
4665
|
+
writer.writeRepeatedMessage(
|
|
4666
|
+
3,
|
|
4667
|
+
f,
|
|
4668
|
+
proto.sport.FreebetIssueItem.serializeBinaryToWriter
|
|
4669
|
+
);
|
|
4670
|
+
}
|
|
4671
|
+
};
|
|
4672
|
+
|
|
4673
|
+
|
|
4674
|
+
/**
|
|
4675
|
+
* optional string sportsbook_uuid = 1;
|
|
4676
|
+
* @return {string}
|
|
4677
|
+
*/
|
|
4678
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.getSportsbookUuid = function() {
|
|
4679
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4680
|
+
};
|
|
4681
|
+
|
|
4682
|
+
|
|
4683
|
+
/**
|
|
4684
|
+
* @param {string} value
|
|
4685
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest} returns this
|
|
4686
|
+
*/
|
|
4687
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.setSportsbookUuid = function(value) {
|
|
4688
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4689
|
+
};
|
|
4690
|
+
|
|
4691
|
+
|
|
4692
|
+
/**
|
|
4693
|
+
* optional int32 template_id = 2;
|
|
4694
|
+
* @return {number}
|
|
4695
|
+
*/
|
|
4696
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.getTemplateId = function() {
|
|
4697
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4698
|
+
};
|
|
4699
|
+
|
|
4700
|
+
|
|
4701
|
+
/**
|
|
4702
|
+
* @param {number} value
|
|
4703
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest} returns this
|
|
4704
|
+
*/
|
|
4705
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.setTemplateId = function(value) {
|
|
4706
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
4707
|
+
};
|
|
4708
|
+
|
|
4709
|
+
|
|
4710
|
+
/**
|
|
4711
|
+
* repeated FreebetIssueItem items = 3;
|
|
4712
|
+
* @return {!Array<!proto.sport.FreebetIssueItem>}
|
|
4713
|
+
*/
|
|
4714
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.getItemsList = function() {
|
|
4715
|
+
return /** @type{!Array<!proto.sport.FreebetIssueItem>} */ (
|
|
4716
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sport.FreebetIssueItem, 3));
|
|
4717
|
+
};
|
|
4718
|
+
|
|
4719
|
+
|
|
4720
|
+
/**
|
|
4721
|
+
* @param {!Array<!proto.sport.FreebetIssueItem>} value
|
|
4722
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest} returns this
|
|
4723
|
+
*/
|
|
4724
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.setItemsList = function(value) {
|
|
4725
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
4726
|
+
};
|
|
4727
|
+
|
|
4728
|
+
|
|
4729
|
+
/**
|
|
4730
|
+
* @param {!proto.sport.FreebetIssueItem=} opt_value
|
|
4731
|
+
* @param {number=} opt_index
|
|
4732
|
+
* @return {!proto.sport.FreebetIssueItem}
|
|
4733
|
+
*/
|
|
4734
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.addItems = function(opt_value, opt_index) {
|
|
4735
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.sport.FreebetIssueItem, opt_index);
|
|
4736
|
+
};
|
|
4737
|
+
|
|
4738
|
+
|
|
4739
|
+
/**
|
|
4740
|
+
* Clears the list making it empty but non-null.
|
|
4741
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest} returns this
|
|
4742
|
+
*/
|
|
4743
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.clearItemsList = function() {
|
|
4744
|
+
return this.setItemsList([]);
|
|
4745
|
+
};
|
|
4746
|
+
|
|
4747
|
+
|
|
4748
|
+
|
|
4749
|
+
|
|
4750
|
+
|
|
4751
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4752
|
+
/**
|
|
4753
|
+
* Creates an object representation of this proto.
|
|
4754
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4755
|
+
* Optional fields that are not set will be set to undefined.
|
|
4756
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4757
|
+
* For the list of reserved names please see:
|
|
4758
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4759
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4760
|
+
* JSPB instance for transitional soy proto support:
|
|
4761
|
+
* http://goto/soy-param-migration
|
|
4762
|
+
* @return {!Object}
|
|
4763
|
+
*/
|
|
4764
|
+
proto.sport.IssueBetbyFreebetsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4765
|
+
return proto.sport.IssueBetbyFreebetsResponse.toObject(opt_includeInstance, this);
|
|
4766
|
+
};
|
|
4767
|
+
|
|
4768
|
+
|
|
4769
|
+
/**
|
|
4770
|
+
* Static version of the {@see toObject} method.
|
|
4771
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4772
|
+
* the JSPB instance for transitional soy proto support:
|
|
4773
|
+
* http://goto/soy-param-migration
|
|
4774
|
+
* @param {!proto.sport.IssueBetbyFreebetsResponse} msg The msg instance to transform.
|
|
4775
|
+
* @return {!Object}
|
|
4776
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4777
|
+
*/
|
|
4778
|
+
proto.sport.IssueBetbyFreebetsResponse.toObject = function(includeInstance, msg) {
|
|
4779
|
+
var f, obj = {
|
|
4780
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4781
|
+
};
|
|
4782
|
+
|
|
4783
|
+
if (includeInstance) {
|
|
4784
|
+
obj.$jspbMessageInstance = msg;
|
|
4785
|
+
}
|
|
4786
|
+
return obj;
|
|
4787
|
+
};
|
|
4788
|
+
}
|
|
4789
|
+
|
|
4790
|
+
|
|
4791
|
+
/**
|
|
4792
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4793
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4794
|
+
* @return {!proto.sport.IssueBetbyFreebetsResponse}
|
|
4795
|
+
*/
|
|
4796
|
+
proto.sport.IssueBetbyFreebetsResponse.deserializeBinary = function(bytes) {
|
|
4797
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4798
|
+
var msg = new proto.sport.IssueBetbyFreebetsResponse;
|
|
4799
|
+
return proto.sport.IssueBetbyFreebetsResponse.deserializeBinaryFromReader(msg, reader);
|
|
4800
|
+
};
|
|
4801
|
+
|
|
4802
|
+
|
|
4803
|
+
/**
|
|
4804
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4805
|
+
* given reader into the given message object.
|
|
4806
|
+
* @param {!proto.sport.IssueBetbyFreebetsResponse} msg The message object to deserialize into.
|
|
4807
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4808
|
+
* @return {!proto.sport.IssueBetbyFreebetsResponse}
|
|
4809
|
+
*/
|
|
4810
|
+
proto.sport.IssueBetbyFreebetsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4811
|
+
while (reader.nextField()) {
|
|
4812
|
+
if (reader.isEndGroup()) {
|
|
4813
|
+
break;
|
|
4814
|
+
}
|
|
4815
|
+
var field = reader.getFieldNumber();
|
|
4816
|
+
switch (field) {
|
|
4817
|
+
case 1:
|
|
4818
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4819
|
+
msg.setData(value);
|
|
4820
|
+
break;
|
|
4821
|
+
default:
|
|
4822
|
+
reader.skipField();
|
|
4823
|
+
break;
|
|
4824
|
+
}
|
|
4825
|
+
}
|
|
4826
|
+
return msg;
|
|
4827
|
+
};
|
|
4828
|
+
|
|
4829
|
+
|
|
4830
|
+
/**
|
|
4831
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4832
|
+
* @return {!Uint8Array}
|
|
4833
|
+
*/
|
|
4834
|
+
proto.sport.IssueBetbyFreebetsResponse.prototype.serializeBinary = function() {
|
|
4835
|
+
var writer = new jspb.BinaryWriter();
|
|
4836
|
+
proto.sport.IssueBetbyFreebetsResponse.serializeBinaryToWriter(this, writer);
|
|
4837
|
+
return writer.getResultBuffer();
|
|
4838
|
+
};
|
|
4839
|
+
|
|
4840
|
+
|
|
4841
|
+
/**
|
|
4842
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4843
|
+
* format), writing to the given BinaryWriter.
|
|
4844
|
+
* @param {!proto.sport.IssueBetbyFreebetsResponse} message
|
|
4845
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4846
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4847
|
+
*/
|
|
4848
|
+
proto.sport.IssueBetbyFreebetsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4849
|
+
var f = undefined;
|
|
4850
|
+
f = message.getData();
|
|
4851
|
+
if (f.length > 0) {
|
|
4852
|
+
writer.writeString(
|
|
4853
|
+
1,
|
|
4854
|
+
f
|
|
4855
|
+
);
|
|
4856
|
+
}
|
|
4857
|
+
};
|
|
4858
|
+
|
|
4859
|
+
|
|
4860
|
+
/**
|
|
4861
|
+
* optional string data = 1;
|
|
4862
|
+
* @return {string}
|
|
4863
|
+
*/
|
|
4864
|
+
proto.sport.IssueBetbyFreebetsResponse.prototype.getData = function() {
|
|
4865
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4866
|
+
};
|
|
4867
|
+
|
|
4868
|
+
|
|
4869
|
+
/**
|
|
4870
|
+
* @param {string} value
|
|
4871
|
+
* @return {!proto.sport.IssueBetbyFreebetsResponse} returns this
|
|
4872
|
+
*/
|
|
4873
|
+
proto.sport.IssueBetbyFreebetsResponse.prototype.setData = function(value) {
|
|
4874
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4875
|
+
};
|
|
4876
|
+
|
|
4877
|
+
|
|
3876
4878
|
goog.object.extend(exports, proto.sport);
|