protobuf-platform 1.2.745 → 1.2.746

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.
@@ -71,6 +71,15 @@ goog.exportSymbol('proto.payment.DepositRedirectFormResponse', null, global);
71
71
  goog.exportSymbol('proto.payment.DepositResponse', null, global);
72
72
  goog.exportSymbol('proto.payment.DepositStatus', null, global);
73
73
  goog.exportSymbol('proto.payment.DepositStatusItemsResponse', null, global);
74
+ goog.exportSymbol('proto.payment.DepositWagerContributionGameIdsResponse', null, global);
75
+ goog.exportSymbol('proto.payment.DepositWagerContributionGamesPageRequest', null, global);
76
+ goog.exportSymbol('proto.payment.DepositWagerContributionGamesRequest', null, global);
77
+ goog.exportSymbol('proto.payment.DepositWagerContributionGroupItem', null, global);
78
+ goog.exportSymbol('proto.payment.DepositWagerContributionGroupItemsResponse', null, global);
79
+ goog.exportSymbol('proto.payment.DepositWagerContributionGroupRequest', null, global);
80
+ goog.exportSymbol('proto.payment.DepositWagerContributionGroupResponse', null, global);
81
+ goog.exportSymbol('proto.payment.DepositWagerContributionSnapshotEntry', null, global);
82
+ goog.exportSymbol('proto.payment.DepositWagerContributionSnapshotResponse', null, global);
74
83
  goog.exportSymbol('proto.payment.DepositWebHookRequest', null, global);
75
84
  goog.exportSymbol('proto.payment.ExecuteGameplayPrecisionCommandRequest', null, global);
76
85
  goog.exportSymbol('proto.payment.ExecuteManualWithdrawalRequest', null, global);
@@ -96,6 +105,7 @@ goog.exportSymbol('proto.payment.GetCurrenciesMetadataRequest', null, global);
96
105
  goog.exportSymbol('proto.payment.GetCurrencyMetadataRequest', null, global);
97
106
  goog.exportSymbol('proto.payment.GetCurrencyRequest', null, global);
98
107
  goog.exportSymbol('proto.payment.GetDepositRequest', null, global);
108
+ goog.exportSymbol('proto.payment.GetDepositWagerContributionGroupRequest', null, global);
99
109
  goog.exportSymbol('proto.payment.GetFileRequest', null, global);
100
110
  goog.exportSymbol('proto.payment.GetMethodRequest', null, global);
101
111
  goog.exportSymbol('proto.payment.GetOperationDetailsRequest', null, global);
@@ -3877,6 +3887,216 @@ if (goog.DEBUG && !COMPILED) {
3877
3887
  */
3878
3888
  proto.payment.HistoricalBonusCompletionResponse.displayName = 'proto.payment.HistoricalBonusCompletionResponse';
3879
3889
  }
3890
+ /**
3891
+ * Generated by JsPbCodeGenerator.
3892
+ * @param {Array=} opt_data Optional initial data array, typically from a
3893
+ * server response, or constructed directly in Javascript. The array is used
3894
+ * in place and becomes part of the constructed object. It is not cloned.
3895
+ * If no data is provided, the constructed object will be empty, but still
3896
+ * valid.
3897
+ * @extends {jspb.Message}
3898
+ * @constructor
3899
+ */
3900
+ proto.payment.DepositWagerContributionGroupRequest = function(opt_data) {
3901
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3902
+ };
3903
+ goog.inherits(proto.payment.DepositWagerContributionGroupRequest, jspb.Message);
3904
+ if (goog.DEBUG && !COMPILED) {
3905
+ /**
3906
+ * @public
3907
+ * @override
3908
+ */
3909
+ proto.payment.DepositWagerContributionGroupRequest.displayName = 'proto.payment.DepositWagerContributionGroupRequest';
3910
+ }
3911
+ /**
3912
+ * Generated by JsPbCodeGenerator.
3913
+ * @param {Array=} opt_data Optional initial data array, typically from a
3914
+ * server response, or constructed directly in Javascript. The array is used
3915
+ * in place and becomes part of the constructed object. It is not cloned.
3916
+ * If no data is provided, the constructed object will be empty, but still
3917
+ * valid.
3918
+ * @extends {jspb.Message}
3919
+ * @constructor
3920
+ */
3921
+ proto.payment.GetDepositWagerContributionGroupRequest = function(opt_data) {
3922
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3923
+ };
3924
+ goog.inherits(proto.payment.GetDepositWagerContributionGroupRequest, jspb.Message);
3925
+ if (goog.DEBUG && !COMPILED) {
3926
+ /**
3927
+ * @public
3928
+ * @override
3929
+ */
3930
+ proto.payment.GetDepositWagerContributionGroupRequest.displayName = 'proto.payment.GetDepositWagerContributionGroupRequest';
3931
+ }
3932
+ /**
3933
+ * Generated by JsPbCodeGenerator.
3934
+ * @param {Array=} opt_data Optional initial data array, typically from a
3935
+ * server response, or constructed directly in Javascript. The array is used
3936
+ * in place and becomes part of the constructed object. It is not cloned.
3937
+ * If no data is provided, the constructed object will be empty, but still
3938
+ * valid.
3939
+ * @extends {jspb.Message}
3940
+ * @constructor
3941
+ */
3942
+ proto.payment.DepositWagerContributionGroupItem = function(opt_data) {
3943
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3944
+ };
3945
+ goog.inherits(proto.payment.DepositWagerContributionGroupItem, jspb.Message);
3946
+ if (goog.DEBUG && !COMPILED) {
3947
+ /**
3948
+ * @public
3949
+ * @override
3950
+ */
3951
+ proto.payment.DepositWagerContributionGroupItem.displayName = 'proto.payment.DepositWagerContributionGroupItem';
3952
+ }
3953
+ /**
3954
+ * Generated by JsPbCodeGenerator.
3955
+ * @param {Array=} opt_data Optional initial data array, typically from a
3956
+ * server response, or constructed directly in Javascript. The array is used
3957
+ * in place and becomes part of the constructed object. It is not cloned.
3958
+ * If no data is provided, the constructed object will be empty, but still
3959
+ * valid.
3960
+ * @extends {jspb.Message}
3961
+ * @constructor
3962
+ */
3963
+ proto.payment.DepositWagerContributionGroupResponse = function(opt_data) {
3964
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3965
+ };
3966
+ goog.inherits(proto.payment.DepositWagerContributionGroupResponse, jspb.Message);
3967
+ if (goog.DEBUG && !COMPILED) {
3968
+ /**
3969
+ * @public
3970
+ * @override
3971
+ */
3972
+ proto.payment.DepositWagerContributionGroupResponse.displayName = 'proto.payment.DepositWagerContributionGroupResponse';
3973
+ }
3974
+ /**
3975
+ * Generated by JsPbCodeGenerator.
3976
+ * @param {Array=} opt_data Optional initial data array, typically from a
3977
+ * server response, or constructed directly in Javascript. The array is used
3978
+ * in place and becomes part of the constructed object. It is not cloned.
3979
+ * If no data is provided, the constructed object will be empty, but still
3980
+ * valid.
3981
+ * @extends {jspb.Message}
3982
+ * @constructor
3983
+ */
3984
+ proto.payment.DepositWagerContributionGroupItemsResponse = function(opt_data) {
3985
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.DepositWagerContributionGroupItemsResponse.repeatedFields_, null);
3986
+ };
3987
+ goog.inherits(proto.payment.DepositWagerContributionGroupItemsResponse, jspb.Message);
3988
+ if (goog.DEBUG && !COMPILED) {
3989
+ /**
3990
+ * @public
3991
+ * @override
3992
+ */
3993
+ proto.payment.DepositWagerContributionGroupItemsResponse.displayName = 'proto.payment.DepositWagerContributionGroupItemsResponse';
3994
+ }
3995
+ /**
3996
+ * Generated by JsPbCodeGenerator.
3997
+ * @param {Array=} opt_data Optional initial data array, typically from a
3998
+ * server response, or constructed directly in Javascript. The array is used
3999
+ * in place and becomes part of the constructed object. It is not cloned.
4000
+ * If no data is provided, the constructed object will be empty, but still
4001
+ * valid.
4002
+ * @extends {jspb.Message}
4003
+ * @constructor
4004
+ */
4005
+ proto.payment.DepositWagerContributionGamesRequest = function(opt_data) {
4006
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.DepositWagerContributionGamesRequest.repeatedFields_, null);
4007
+ };
4008
+ goog.inherits(proto.payment.DepositWagerContributionGamesRequest, jspb.Message);
4009
+ if (goog.DEBUG && !COMPILED) {
4010
+ /**
4011
+ * @public
4012
+ * @override
4013
+ */
4014
+ proto.payment.DepositWagerContributionGamesRequest.displayName = 'proto.payment.DepositWagerContributionGamesRequest';
4015
+ }
4016
+ /**
4017
+ * Generated by JsPbCodeGenerator.
4018
+ * @param {Array=} opt_data Optional initial data array, typically from a
4019
+ * server response, or constructed directly in Javascript. The array is used
4020
+ * in place and becomes part of the constructed object. It is not cloned.
4021
+ * If no data is provided, the constructed object will be empty, but still
4022
+ * valid.
4023
+ * @extends {jspb.Message}
4024
+ * @constructor
4025
+ */
4026
+ proto.payment.DepositWagerContributionGamesPageRequest = function(opt_data) {
4027
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4028
+ };
4029
+ goog.inherits(proto.payment.DepositWagerContributionGamesPageRequest, jspb.Message);
4030
+ if (goog.DEBUG && !COMPILED) {
4031
+ /**
4032
+ * @public
4033
+ * @override
4034
+ */
4035
+ proto.payment.DepositWagerContributionGamesPageRequest.displayName = 'proto.payment.DepositWagerContributionGamesPageRequest';
4036
+ }
4037
+ /**
4038
+ * Generated by JsPbCodeGenerator.
4039
+ * @param {Array=} opt_data Optional initial data array, typically from a
4040
+ * server response, or constructed directly in Javascript. The array is used
4041
+ * in place and becomes part of the constructed object. It is not cloned.
4042
+ * If no data is provided, the constructed object will be empty, but still
4043
+ * valid.
4044
+ * @extends {jspb.Message}
4045
+ * @constructor
4046
+ */
4047
+ proto.payment.DepositWagerContributionGameIdsResponse = function(opt_data) {
4048
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.DepositWagerContributionGameIdsResponse.repeatedFields_, null);
4049
+ };
4050
+ goog.inherits(proto.payment.DepositWagerContributionGameIdsResponse, jspb.Message);
4051
+ if (goog.DEBUG && !COMPILED) {
4052
+ /**
4053
+ * @public
4054
+ * @override
4055
+ */
4056
+ proto.payment.DepositWagerContributionGameIdsResponse.displayName = 'proto.payment.DepositWagerContributionGameIdsResponse';
4057
+ }
4058
+ /**
4059
+ * Generated by JsPbCodeGenerator.
4060
+ * @param {Array=} opt_data Optional initial data array, typically from a
4061
+ * server response, or constructed directly in Javascript. The array is used
4062
+ * in place and becomes part of the constructed object. It is not cloned.
4063
+ * If no data is provided, the constructed object will be empty, but still
4064
+ * valid.
4065
+ * @extends {jspb.Message}
4066
+ * @constructor
4067
+ */
4068
+ proto.payment.DepositWagerContributionSnapshotEntry = function(opt_data) {
4069
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4070
+ };
4071
+ goog.inherits(proto.payment.DepositWagerContributionSnapshotEntry, jspb.Message);
4072
+ if (goog.DEBUG && !COMPILED) {
4073
+ /**
4074
+ * @public
4075
+ * @override
4076
+ */
4077
+ proto.payment.DepositWagerContributionSnapshotEntry.displayName = 'proto.payment.DepositWagerContributionSnapshotEntry';
4078
+ }
4079
+ /**
4080
+ * Generated by JsPbCodeGenerator.
4081
+ * @param {Array=} opt_data Optional initial data array, typically from a
4082
+ * server response, or constructed directly in Javascript. The array is used
4083
+ * in place and becomes part of the constructed object. It is not cloned.
4084
+ * If no data is provided, the constructed object will be empty, but still
4085
+ * valid.
4086
+ * @extends {jspb.Message}
4087
+ * @constructor
4088
+ */
4089
+ proto.payment.DepositWagerContributionSnapshotResponse = function(opt_data) {
4090
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.DepositWagerContributionSnapshotResponse.repeatedFields_, null);
4091
+ };
4092
+ goog.inherits(proto.payment.DepositWagerContributionSnapshotResponse, jspb.Message);
4093
+ if (goog.DEBUG && !COMPILED) {
4094
+ /**
4095
+ * @public
4096
+ * @override
4097
+ */
4098
+ proto.payment.DepositWagerContributionSnapshotResponse.displayName = 'proto.payment.DepositWagerContributionSnapshotResponse';
4099
+ }
3880
4100
 
3881
4101
 
3882
4102
 
@@ -74895,6 +75115,2361 @@ proto.payment.HistoricalBonusCompletionResponse.prototype.setReceiptId = functio
74895
75115
  };
74896
75116
 
74897
75117
 
75118
+
75119
+
75120
+
75121
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75122
+ /**
75123
+ * Creates an object representation of this proto.
75124
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75125
+ * Optional fields that are not set will be set to undefined.
75126
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75127
+ * For the list of reserved names please see:
75128
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75129
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75130
+ * JSPB instance for transitional soy proto support:
75131
+ * http://goto/soy-param-migration
75132
+ * @return {!Object}
75133
+ */
75134
+ proto.payment.DepositWagerContributionGroupRequest.prototype.toObject = function(opt_includeInstance) {
75135
+ return proto.payment.DepositWagerContributionGroupRequest.toObject(opt_includeInstance, this);
75136
+ };
75137
+
75138
+
75139
+ /**
75140
+ * Static version of the {@see toObject} method.
75141
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75142
+ * the JSPB instance for transitional soy proto support:
75143
+ * http://goto/soy-param-migration
75144
+ * @param {!proto.payment.DepositWagerContributionGroupRequest} msg The msg instance to transform.
75145
+ * @return {!Object}
75146
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75147
+ */
75148
+ proto.payment.DepositWagerContributionGroupRequest.toObject = function(includeInstance, msg) {
75149
+ var f, obj = {
75150
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
75151
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
75152
+ description: jspb.Message.getFieldWithDefault(msg, 3, ""),
75153
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
75154
+ contribution: jspb.Message.getFieldWithDefault(msg, 5, ""),
75155
+ brandKey: jspb.Message.getFieldWithDefault(msg, 6, "")
75156
+ };
75157
+
75158
+ if (includeInstance) {
75159
+ obj.$jspbMessageInstance = msg;
75160
+ }
75161
+ return obj;
75162
+ };
75163
+ }
75164
+
75165
+
75166
+ /**
75167
+ * Deserializes binary data (in protobuf wire format).
75168
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75169
+ * @return {!proto.payment.DepositWagerContributionGroupRequest}
75170
+ */
75171
+ proto.payment.DepositWagerContributionGroupRequest.deserializeBinary = function(bytes) {
75172
+ var reader = new jspb.BinaryReader(bytes);
75173
+ var msg = new proto.payment.DepositWagerContributionGroupRequest;
75174
+ return proto.payment.DepositWagerContributionGroupRequest.deserializeBinaryFromReader(msg, reader);
75175
+ };
75176
+
75177
+
75178
+ /**
75179
+ * Deserializes binary data (in protobuf wire format) from the
75180
+ * given reader into the given message object.
75181
+ * @param {!proto.payment.DepositWagerContributionGroupRequest} msg The message object to deserialize into.
75182
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75183
+ * @return {!proto.payment.DepositWagerContributionGroupRequest}
75184
+ */
75185
+ proto.payment.DepositWagerContributionGroupRequest.deserializeBinaryFromReader = function(msg, reader) {
75186
+ while (reader.nextField()) {
75187
+ if (reader.isEndGroup()) {
75188
+ break;
75189
+ }
75190
+ var field = reader.getFieldNumber();
75191
+ switch (field) {
75192
+ case 1:
75193
+ var value = /** @type {number} */ (reader.readInt32());
75194
+ msg.setId(value);
75195
+ break;
75196
+ case 2:
75197
+ var value = /** @type {string} */ (reader.readString());
75198
+ msg.setTitle(value);
75199
+ break;
75200
+ case 3:
75201
+ var value = /** @type {string} */ (reader.readString());
75202
+ msg.setDescription(value);
75203
+ break;
75204
+ case 4:
75205
+ var value = /** @type {number} */ (reader.readInt32());
75206
+ msg.setIsActive(value);
75207
+ break;
75208
+ case 5:
75209
+ var value = /** @type {string} */ (reader.readString());
75210
+ msg.setContribution(value);
75211
+ break;
75212
+ case 6:
75213
+ var value = /** @type {string} */ (reader.readString());
75214
+ msg.setBrandKey(value);
75215
+ break;
75216
+ default:
75217
+ reader.skipField();
75218
+ break;
75219
+ }
75220
+ }
75221
+ return msg;
75222
+ };
75223
+
75224
+
75225
+ /**
75226
+ * Serializes the message to binary data (in protobuf wire format).
75227
+ * @return {!Uint8Array}
75228
+ */
75229
+ proto.payment.DepositWagerContributionGroupRequest.prototype.serializeBinary = function() {
75230
+ var writer = new jspb.BinaryWriter();
75231
+ proto.payment.DepositWagerContributionGroupRequest.serializeBinaryToWriter(this, writer);
75232
+ return writer.getResultBuffer();
75233
+ };
75234
+
75235
+
75236
+ /**
75237
+ * Serializes the given message to binary data (in protobuf wire
75238
+ * format), writing to the given BinaryWriter.
75239
+ * @param {!proto.payment.DepositWagerContributionGroupRequest} message
75240
+ * @param {!jspb.BinaryWriter} writer
75241
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75242
+ */
75243
+ proto.payment.DepositWagerContributionGroupRequest.serializeBinaryToWriter = function(message, writer) {
75244
+ var f = undefined;
75245
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
75246
+ if (f != null) {
75247
+ writer.writeInt32(
75248
+ 1,
75249
+ f
75250
+ );
75251
+ }
75252
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
75253
+ if (f != null) {
75254
+ writer.writeString(
75255
+ 2,
75256
+ f
75257
+ );
75258
+ }
75259
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
75260
+ if (f != null) {
75261
+ writer.writeString(
75262
+ 3,
75263
+ f
75264
+ );
75265
+ }
75266
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
75267
+ if (f != null) {
75268
+ writer.writeInt32(
75269
+ 4,
75270
+ f
75271
+ );
75272
+ }
75273
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
75274
+ if (f != null) {
75275
+ writer.writeString(
75276
+ 5,
75277
+ f
75278
+ );
75279
+ }
75280
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
75281
+ if (f != null) {
75282
+ writer.writeString(
75283
+ 6,
75284
+ f
75285
+ );
75286
+ }
75287
+ };
75288
+
75289
+
75290
+ /**
75291
+ * optional int32 id = 1;
75292
+ * @return {number}
75293
+ */
75294
+ proto.payment.DepositWagerContributionGroupRequest.prototype.getId = function() {
75295
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
75296
+ };
75297
+
75298
+
75299
+ /**
75300
+ * @param {number} value
75301
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75302
+ */
75303
+ proto.payment.DepositWagerContributionGroupRequest.prototype.setId = function(value) {
75304
+ return jspb.Message.setField(this, 1, value);
75305
+ };
75306
+
75307
+
75308
+ /**
75309
+ * Clears the field making it undefined.
75310
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75311
+ */
75312
+ proto.payment.DepositWagerContributionGroupRequest.prototype.clearId = function() {
75313
+ return jspb.Message.setField(this, 1, undefined);
75314
+ };
75315
+
75316
+
75317
+ /**
75318
+ * Returns whether this field is set.
75319
+ * @return {boolean}
75320
+ */
75321
+ proto.payment.DepositWagerContributionGroupRequest.prototype.hasId = function() {
75322
+ return jspb.Message.getField(this, 1) != null;
75323
+ };
75324
+
75325
+
75326
+ /**
75327
+ * optional string title = 2;
75328
+ * @return {string}
75329
+ */
75330
+ proto.payment.DepositWagerContributionGroupRequest.prototype.getTitle = function() {
75331
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
75332
+ };
75333
+
75334
+
75335
+ /**
75336
+ * @param {string} value
75337
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75338
+ */
75339
+ proto.payment.DepositWagerContributionGroupRequest.prototype.setTitle = function(value) {
75340
+ return jspb.Message.setField(this, 2, value);
75341
+ };
75342
+
75343
+
75344
+ /**
75345
+ * Clears the field making it undefined.
75346
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75347
+ */
75348
+ proto.payment.DepositWagerContributionGroupRequest.prototype.clearTitle = function() {
75349
+ return jspb.Message.setField(this, 2, undefined);
75350
+ };
75351
+
75352
+
75353
+ /**
75354
+ * Returns whether this field is set.
75355
+ * @return {boolean}
75356
+ */
75357
+ proto.payment.DepositWagerContributionGroupRequest.prototype.hasTitle = function() {
75358
+ return jspb.Message.getField(this, 2) != null;
75359
+ };
75360
+
75361
+
75362
+ /**
75363
+ * optional string description = 3;
75364
+ * @return {string}
75365
+ */
75366
+ proto.payment.DepositWagerContributionGroupRequest.prototype.getDescription = function() {
75367
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
75368
+ };
75369
+
75370
+
75371
+ /**
75372
+ * @param {string} value
75373
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75374
+ */
75375
+ proto.payment.DepositWagerContributionGroupRequest.prototype.setDescription = function(value) {
75376
+ return jspb.Message.setField(this, 3, value);
75377
+ };
75378
+
75379
+
75380
+ /**
75381
+ * Clears the field making it undefined.
75382
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75383
+ */
75384
+ proto.payment.DepositWagerContributionGroupRequest.prototype.clearDescription = function() {
75385
+ return jspb.Message.setField(this, 3, undefined);
75386
+ };
75387
+
75388
+
75389
+ /**
75390
+ * Returns whether this field is set.
75391
+ * @return {boolean}
75392
+ */
75393
+ proto.payment.DepositWagerContributionGroupRequest.prototype.hasDescription = function() {
75394
+ return jspb.Message.getField(this, 3) != null;
75395
+ };
75396
+
75397
+
75398
+ /**
75399
+ * optional int32 is_active = 4;
75400
+ * @return {number}
75401
+ */
75402
+ proto.payment.DepositWagerContributionGroupRequest.prototype.getIsActive = function() {
75403
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
75404
+ };
75405
+
75406
+
75407
+ /**
75408
+ * @param {number} value
75409
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75410
+ */
75411
+ proto.payment.DepositWagerContributionGroupRequest.prototype.setIsActive = function(value) {
75412
+ return jspb.Message.setField(this, 4, value);
75413
+ };
75414
+
75415
+
75416
+ /**
75417
+ * Clears the field making it undefined.
75418
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75419
+ */
75420
+ proto.payment.DepositWagerContributionGroupRequest.prototype.clearIsActive = function() {
75421
+ return jspb.Message.setField(this, 4, undefined);
75422
+ };
75423
+
75424
+
75425
+ /**
75426
+ * Returns whether this field is set.
75427
+ * @return {boolean}
75428
+ */
75429
+ proto.payment.DepositWagerContributionGroupRequest.prototype.hasIsActive = function() {
75430
+ return jspb.Message.getField(this, 4) != null;
75431
+ };
75432
+
75433
+
75434
+ /**
75435
+ * optional string contribution = 5;
75436
+ * @return {string}
75437
+ */
75438
+ proto.payment.DepositWagerContributionGroupRequest.prototype.getContribution = function() {
75439
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
75440
+ };
75441
+
75442
+
75443
+ /**
75444
+ * @param {string} value
75445
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75446
+ */
75447
+ proto.payment.DepositWagerContributionGroupRequest.prototype.setContribution = function(value) {
75448
+ return jspb.Message.setField(this, 5, value);
75449
+ };
75450
+
75451
+
75452
+ /**
75453
+ * Clears the field making it undefined.
75454
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75455
+ */
75456
+ proto.payment.DepositWagerContributionGroupRequest.prototype.clearContribution = function() {
75457
+ return jspb.Message.setField(this, 5, undefined);
75458
+ };
75459
+
75460
+
75461
+ /**
75462
+ * Returns whether this field is set.
75463
+ * @return {boolean}
75464
+ */
75465
+ proto.payment.DepositWagerContributionGroupRequest.prototype.hasContribution = function() {
75466
+ return jspb.Message.getField(this, 5) != null;
75467
+ };
75468
+
75469
+
75470
+ /**
75471
+ * optional string brand_key = 6;
75472
+ * @return {string}
75473
+ */
75474
+ proto.payment.DepositWagerContributionGroupRequest.prototype.getBrandKey = function() {
75475
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
75476
+ };
75477
+
75478
+
75479
+ /**
75480
+ * @param {string} value
75481
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75482
+ */
75483
+ proto.payment.DepositWagerContributionGroupRequest.prototype.setBrandKey = function(value) {
75484
+ return jspb.Message.setField(this, 6, value);
75485
+ };
75486
+
75487
+
75488
+ /**
75489
+ * Clears the field making it undefined.
75490
+ * @return {!proto.payment.DepositWagerContributionGroupRequest} returns this
75491
+ */
75492
+ proto.payment.DepositWagerContributionGroupRequest.prototype.clearBrandKey = function() {
75493
+ return jspb.Message.setField(this, 6, undefined);
75494
+ };
75495
+
75496
+
75497
+ /**
75498
+ * Returns whether this field is set.
75499
+ * @return {boolean}
75500
+ */
75501
+ proto.payment.DepositWagerContributionGroupRequest.prototype.hasBrandKey = function() {
75502
+ return jspb.Message.getField(this, 6) != null;
75503
+ };
75504
+
75505
+
75506
+
75507
+
75508
+
75509
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75510
+ /**
75511
+ * Creates an object representation of this proto.
75512
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75513
+ * Optional fields that are not set will be set to undefined.
75514
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75515
+ * For the list of reserved names please see:
75516
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75517
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75518
+ * JSPB instance for transitional soy proto support:
75519
+ * http://goto/soy-param-migration
75520
+ * @return {!Object}
75521
+ */
75522
+ proto.payment.GetDepositWagerContributionGroupRequest.prototype.toObject = function(opt_includeInstance) {
75523
+ return proto.payment.GetDepositWagerContributionGroupRequest.toObject(opt_includeInstance, this);
75524
+ };
75525
+
75526
+
75527
+ /**
75528
+ * Static version of the {@see toObject} method.
75529
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75530
+ * the JSPB instance for transitional soy proto support:
75531
+ * http://goto/soy-param-migration
75532
+ * @param {!proto.payment.GetDepositWagerContributionGroupRequest} msg The msg instance to transform.
75533
+ * @return {!Object}
75534
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75535
+ */
75536
+ proto.payment.GetDepositWagerContributionGroupRequest.toObject = function(includeInstance, msg) {
75537
+ var f, obj = {
75538
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
75539
+ brandKey: jspb.Message.getFieldWithDefault(msg, 2, "")
75540
+ };
75541
+
75542
+ if (includeInstance) {
75543
+ obj.$jspbMessageInstance = msg;
75544
+ }
75545
+ return obj;
75546
+ };
75547
+ }
75548
+
75549
+
75550
+ /**
75551
+ * Deserializes binary data (in protobuf wire format).
75552
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75553
+ * @return {!proto.payment.GetDepositWagerContributionGroupRequest}
75554
+ */
75555
+ proto.payment.GetDepositWagerContributionGroupRequest.deserializeBinary = function(bytes) {
75556
+ var reader = new jspb.BinaryReader(bytes);
75557
+ var msg = new proto.payment.GetDepositWagerContributionGroupRequest;
75558
+ return proto.payment.GetDepositWagerContributionGroupRequest.deserializeBinaryFromReader(msg, reader);
75559
+ };
75560
+
75561
+
75562
+ /**
75563
+ * Deserializes binary data (in protobuf wire format) from the
75564
+ * given reader into the given message object.
75565
+ * @param {!proto.payment.GetDepositWagerContributionGroupRequest} msg The message object to deserialize into.
75566
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75567
+ * @return {!proto.payment.GetDepositWagerContributionGroupRequest}
75568
+ */
75569
+ proto.payment.GetDepositWagerContributionGroupRequest.deserializeBinaryFromReader = function(msg, reader) {
75570
+ while (reader.nextField()) {
75571
+ if (reader.isEndGroup()) {
75572
+ break;
75573
+ }
75574
+ var field = reader.getFieldNumber();
75575
+ switch (field) {
75576
+ case 1:
75577
+ var value = /** @type {number} */ (reader.readInt32());
75578
+ msg.setId(value);
75579
+ break;
75580
+ case 2:
75581
+ var value = /** @type {string} */ (reader.readString());
75582
+ msg.setBrandKey(value);
75583
+ break;
75584
+ default:
75585
+ reader.skipField();
75586
+ break;
75587
+ }
75588
+ }
75589
+ return msg;
75590
+ };
75591
+
75592
+
75593
+ /**
75594
+ * Serializes the message to binary data (in protobuf wire format).
75595
+ * @return {!Uint8Array}
75596
+ */
75597
+ proto.payment.GetDepositWagerContributionGroupRequest.prototype.serializeBinary = function() {
75598
+ var writer = new jspb.BinaryWriter();
75599
+ proto.payment.GetDepositWagerContributionGroupRequest.serializeBinaryToWriter(this, writer);
75600
+ return writer.getResultBuffer();
75601
+ };
75602
+
75603
+
75604
+ /**
75605
+ * Serializes the given message to binary data (in protobuf wire
75606
+ * format), writing to the given BinaryWriter.
75607
+ * @param {!proto.payment.GetDepositWagerContributionGroupRequest} message
75608
+ * @param {!jspb.BinaryWriter} writer
75609
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75610
+ */
75611
+ proto.payment.GetDepositWagerContributionGroupRequest.serializeBinaryToWriter = function(message, writer) {
75612
+ var f = undefined;
75613
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
75614
+ if (f != null) {
75615
+ writer.writeInt32(
75616
+ 1,
75617
+ f
75618
+ );
75619
+ }
75620
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
75621
+ if (f != null) {
75622
+ writer.writeString(
75623
+ 2,
75624
+ f
75625
+ );
75626
+ }
75627
+ };
75628
+
75629
+
75630
+ /**
75631
+ * optional int32 id = 1;
75632
+ * @return {number}
75633
+ */
75634
+ proto.payment.GetDepositWagerContributionGroupRequest.prototype.getId = function() {
75635
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
75636
+ };
75637
+
75638
+
75639
+ /**
75640
+ * @param {number} value
75641
+ * @return {!proto.payment.GetDepositWagerContributionGroupRequest} returns this
75642
+ */
75643
+ proto.payment.GetDepositWagerContributionGroupRequest.prototype.setId = function(value) {
75644
+ return jspb.Message.setField(this, 1, value);
75645
+ };
75646
+
75647
+
75648
+ /**
75649
+ * Clears the field making it undefined.
75650
+ * @return {!proto.payment.GetDepositWagerContributionGroupRequest} returns this
75651
+ */
75652
+ proto.payment.GetDepositWagerContributionGroupRequest.prototype.clearId = function() {
75653
+ return jspb.Message.setField(this, 1, undefined);
75654
+ };
75655
+
75656
+
75657
+ /**
75658
+ * Returns whether this field is set.
75659
+ * @return {boolean}
75660
+ */
75661
+ proto.payment.GetDepositWagerContributionGroupRequest.prototype.hasId = function() {
75662
+ return jspb.Message.getField(this, 1) != null;
75663
+ };
75664
+
75665
+
75666
+ /**
75667
+ * optional string brand_key = 2;
75668
+ * @return {string}
75669
+ */
75670
+ proto.payment.GetDepositWagerContributionGroupRequest.prototype.getBrandKey = function() {
75671
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
75672
+ };
75673
+
75674
+
75675
+ /**
75676
+ * @param {string} value
75677
+ * @return {!proto.payment.GetDepositWagerContributionGroupRequest} returns this
75678
+ */
75679
+ proto.payment.GetDepositWagerContributionGroupRequest.prototype.setBrandKey = function(value) {
75680
+ return jspb.Message.setField(this, 2, value);
75681
+ };
75682
+
75683
+
75684
+ /**
75685
+ * Clears the field making it undefined.
75686
+ * @return {!proto.payment.GetDepositWagerContributionGroupRequest} returns this
75687
+ */
75688
+ proto.payment.GetDepositWagerContributionGroupRequest.prototype.clearBrandKey = function() {
75689
+ return jspb.Message.setField(this, 2, undefined);
75690
+ };
75691
+
75692
+
75693
+ /**
75694
+ * Returns whether this field is set.
75695
+ * @return {boolean}
75696
+ */
75697
+ proto.payment.GetDepositWagerContributionGroupRequest.prototype.hasBrandKey = function() {
75698
+ return jspb.Message.getField(this, 2) != null;
75699
+ };
75700
+
75701
+
75702
+
75703
+
75704
+
75705
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75706
+ /**
75707
+ * Creates an object representation of this proto.
75708
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75709
+ * Optional fields that are not set will be set to undefined.
75710
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75711
+ * For the list of reserved names please see:
75712
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75713
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75714
+ * JSPB instance for transitional soy proto support:
75715
+ * http://goto/soy-param-migration
75716
+ * @return {!Object}
75717
+ */
75718
+ proto.payment.DepositWagerContributionGroupItem.prototype.toObject = function(opt_includeInstance) {
75719
+ return proto.payment.DepositWagerContributionGroupItem.toObject(opt_includeInstance, this);
75720
+ };
75721
+
75722
+
75723
+ /**
75724
+ * Static version of the {@see toObject} method.
75725
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75726
+ * the JSPB instance for transitional soy proto support:
75727
+ * http://goto/soy-param-migration
75728
+ * @param {!proto.payment.DepositWagerContributionGroupItem} msg The msg instance to transform.
75729
+ * @return {!Object}
75730
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75731
+ */
75732
+ proto.payment.DepositWagerContributionGroupItem.toObject = function(includeInstance, msg) {
75733
+ var f, obj = {
75734
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
75735
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
75736
+ contribution: jspb.Message.getFieldWithDefault(msg, 3, ""),
75737
+ description: jspb.Message.getFieldWithDefault(msg, 4, ""),
75738
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
75739
+ };
75740
+
75741
+ if (includeInstance) {
75742
+ obj.$jspbMessageInstance = msg;
75743
+ }
75744
+ return obj;
75745
+ };
75746
+ }
75747
+
75748
+
75749
+ /**
75750
+ * Deserializes binary data (in protobuf wire format).
75751
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75752
+ * @return {!proto.payment.DepositWagerContributionGroupItem}
75753
+ */
75754
+ proto.payment.DepositWagerContributionGroupItem.deserializeBinary = function(bytes) {
75755
+ var reader = new jspb.BinaryReader(bytes);
75756
+ var msg = new proto.payment.DepositWagerContributionGroupItem;
75757
+ return proto.payment.DepositWagerContributionGroupItem.deserializeBinaryFromReader(msg, reader);
75758
+ };
75759
+
75760
+
75761
+ /**
75762
+ * Deserializes binary data (in protobuf wire format) from the
75763
+ * given reader into the given message object.
75764
+ * @param {!proto.payment.DepositWagerContributionGroupItem} msg The message object to deserialize into.
75765
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75766
+ * @return {!proto.payment.DepositWagerContributionGroupItem}
75767
+ */
75768
+ proto.payment.DepositWagerContributionGroupItem.deserializeBinaryFromReader = function(msg, reader) {
75769
+ while (reader.nextField()) {
75770
+ if (reader.isEndGroup()) {
75771
+ break;
75772
+ }
75773
+ var field = reader.getFieldNumber();
75774
+ switch (field) {
75775
+ case 1:
75776
+ var value = /** @type {number} */ (reader.readInt32());
75777
+ msg.setId(value);
75778
+ break;
75779
+ case 2:
75780
+ var value = /** @type {string} */ (reader.readString());
75781
+ msg.setTitle(value);
75782
+ break;
75783
+ case 3:
75784
+ var value = /** @type {string} */ (reader.readString());
75785
+ msg.setContribution(value);
75786
+ break;
75787
+ case 4:
75788
+ var value = /** @type {string} */ (reader.readString());
75789
+ msg.setDescription(value);
75790
+ break;
75791
+ case 5:
75792
+ var value = /** @type {boolean} */ (reader.readBool());
75793
+ msg.setIsActive(value);
75794
+ break;
75795
+ default:
75796
+ reader.skipField();
75797
+ break;
75798
+ }
75799
+ }
75800
+ return msg;
75801
+ };
75802
+
75803
+
75804
+ /**
75805
+ * Serializes the message to binary data (in protobuf wire format).
75806
+ * @return {!Uint8Array}
75807
+ */
75808
+ proto.payment.DepositWagerContributionGroupItem.prototype.serializeBinary = function() {
75809
+ var writer = new jspb.BinaryWriter();
75810
+ proto.payment.DepositWagerContributionGroupItem.serializeBinaryToWriter(this, writer);
75811
+ return writer.getResultBuffer();
75812
+ };
75813
+
75814
+
75815
+ /**
75816
+ * Serializes the given message to binary data (in protobuf wire
75817
+ * format), writing to the given BinaryWriter.
75818
+ * @param {!proto.payment.DepositWagerContributionGroupItem} message
75819
+ * @param {!jspb.BinaryWriter} writer
75820
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75821
+ */
75822
+ proto.payment.DepositWagerContributionGroupItem.serializeBinaryToWriter = function(message, writer) {
75823
+ var f = undefined;
75824
+ f = message.getId();
75825
+ if (f !== 0) {
75826
+ writer.writeInt32(
75827
+ 1,
75828
+ f
75829
+ );
75830
+ }
75831
+ f = message.getTitle();
75832
+ if (f.length > 0) {
75833
+ writer.writeString(
75834
+ 2,
75835
+ f
75836
+ );
75837
+ }
75838
+ f = message.getContribution();
75839
+ if (f.length > 0) {
75840
+ writer.writeString(
75841
+ 3,
75842
+ f
75843
+ );
75844
+ }
75845
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
75846
+ if (f != null) {
75847
+ writer.writeString(
75848
+ 4,
75849
+ f
75850
+ );
75851
+ }
75852
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
75853
+ if (f != null) {
75854
+ writer.writeBool(
75855
+ 5,
75856
+ f
75857
+ );
75858
+ }
75859
+ };
75860
+
75861
+
75862
+ /**
75863
+ * optional int32 id = 1;
75864
+ * @return {number}
75865
+ */
75866
+ proto.payment.DepositWagerContributionGroupItem.prototype.getId = function() {
75867
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
75868
+ };
75869
+
75870
+
75871
+ /**
75872
+ * @param {number} value
75873
+ * @return {!proto.payment.DepositWagerContributionGroupItem} returns this
75874
+ */
75875
+ proto.payment.DepositWagerContributionGroupItem.prototype.setId = function(value) {
75876
+ return jspb.Message.setProto3IntField(this, 1, value);
75877
+ };
75878
+
75879
+
75880
+ /**
75881
+ * optional string title = 2;
75882
+ * @return {string}
75883
+ */
75884
+ proto.payment.DepositWagerContributionGroupItem.prototype.getTitle = function() {
75885
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
75886
+ };
75887
+
75888
+
75889
+ /**
75890
+ * @param {string} value
75891
+ * @return {!proto.payment.DepositWagerContributionGroupItem} returns this
75892
+ */
75893
+ proto.payment.DepositWagerContributionGroupItem.prototype.setTitle = function(value) {
75894
+ return jspb.Message.setProto3StringField(this, 2, value);
75895
+ };
75896
+
75897
+
75898
+ /**
75899
+ * optional string contribution = 3;
75900
+ * @return {string}
75901
+ */
75902
+ proto.payment.DepositWagerContributionGroupItem.prototype.getContribution = function() {
75903
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
75904
+ };
75905
+
75906
+
75907
+ /**
75908
+ * @param {string} value
75909
+ * @return {!proto.payment.DepositWagerContributionGroupItem} returns this
75910
+ */
75911
+ proto.payment.DepositWagerContributionGroupItem.prototype.setContribution = function(value) {
75912
+ return jspb.Message.setProto3StringField(this, 3, value);
75913
+ };
75914
+
75915
+
75916
+ /**
75917
+ * optional string description = 4;
75918
+ * @return {string}
75919
+ */
75920
+ proto.payment.DepositWagerContributionGroupItem.prototype.getDescription = function() {
75921
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
75922
+ };
75923
+
75924
+
75925
+ /**
75926
+ * @param {string} value
75927
+ * @return {!proto.payment.DepositWagerContributionGroupItem} returns this
75928
+ */
75929
+ proto.payment.DepositWagerContributionGroupItem.prototype.setDescription = function(value) {
75930
+ return jspb.Message.setField(this, 4, value);
75931
+ };
75932
+
75933
+
75934
+ /**
75935
+ * Clears the field making it undefined.
75936
+ * @return {!proto.payment.DepositWagerContributionGroupItem} returns this
75937
+ */
75938
+ proto.payment.DepositWagerContributionGroupItem.prototype.clearDescription = function() {
75939
+ return jspb.Message.setField(this, 4, undefined);
75940
+ };
75941
+
75942
+
75943
+ /**
75944
+ * Returns whether this field is set.
75945
+ * @return {boolean}
75946
+ */
75947
+ proto.payment.DepositWagerContributionGroupItem.prototype.hasDescription = function() {
75948
+ return jspb.Message.getField(this, 4) != null;
75949
+ };
75950
+
75951
+
75952
+ /**
75953
+ * optional bool is_active = 5;
75954
+ * @return {boolean}
75955
+ */
75956
+ proto.payment.DepositWagerContributionGroupItem.prototype.getIsActive = function() {
75957
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
75958
+ };
75959
+
75960
+
75961
+ /**
75962
+ * @param {boolean} value
75963
+ * @return {!proto.payment.DepositWagerContributionGroupItem} returns this
75964
+ */
75965
+ proto.payment.DepositWagerContributionGroupItem.prototype.setIsActive = function(value) {
75966
+ return jspb.Message.setField(this, 5, value);
75967
+ };
75968
+
75969
+
75970
+ /**
75971
+ * Clears the field making it undefined.
75972
+ * @return {!proto.payment.DepositWagerContributionGroupItem} returns this
75973
+ */
75974
+ proto.payment.DepositWagerContributionGroupItem.prototype.clearIsActive = function() {
75975
+ return jspb.Message.setField(this, 5, undefined);
75976
+ };
75977
+
75978
+
75979
+ /**
75980
+ * Returns whether this field is set.
75981
+ * @return {boolean}
75982
+ */
75983
+ proto.payment.DepositWagerContributionGroupItem.prototype.hasIsActive = function() {
75984
+ return jspb.Message.getField(this, 5) != null;
75985
+ };
75986
+
75987
+
75988
+
75989
+
75990
+
75991
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75992
+ /**
75993
+ * Creates an object representation of this proto.
75994
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75995
+ * Optional fields that are not set will be set to undefined.
75996
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75997
+ * For the list of reserved names please see:
75998
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75999
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76000
+ * JSPB instance for transitional soy proto support:
76001
+ * http://goto/soy-param-migration
76002
+ * @return {!Object}
76003
+ */
76004
+ proto.payment.DepositWagerContributionGroupResponse.prototype.toObject = function(opt_includeInstance) {
76005
+ return proto.payment.DepositWagerContributionGroupResponse.toObject(opt_includeInstance, this);
76006
+ };
76007
+
76008
+
76009
+ /**
76010
+ * Static version of the {@see toObject} method.
76011
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76012
+ * the JSPB instance for transitional soy proto support:
76013
+ * http://goto/soy-param-migration
76014
+ * @param {!proto.payment.DepositWagerContributionGroupResponse} msg The msg instance to transform.
76015
+ * @return {!Object}
76016
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76017
+ */
76018
+ proto.payment.DepositWagerContributionGroupResponse.toObject = function(includeInstance, msg) {
76019
+ var f, obj = {
76020
+ data: (f = msg.getData()) && proto.payment.DepositWagerContributionGroupItem.toObject(includeInstance, f)
76021
+ };
76022
+
76023
+ if (includeInstance) {
76024
+ obj.$jspbMessageInstance = msg;
76025
+ }
76026
+ return obj;
76027
+ };
76028
+ }
76029
+
76030
+
76031
+ /**
76032
+ * Deserializes binary data (in protobuf wire format).
76033
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76034
+ * @return {!proto.payment.DepositWagerContributionGroupResponse}
76035
+ */
76036
+ proto.payment.DepositWagerContributionGroupResponse.deserializeBinary = function(bytes) {
76037
+ var reader = new jspb.BinaryReader(bytes);
76038
+ var msg = new proto.payment.DepositWagerContributionGroupResponse;
76039
+ return proto.payment.DepositWagerContributionGroupResponse.deserializeBinaryFromReader(msg, reader);
76040
+ };
76041
+
76042
+
76043
+ /**
76044
+ * Deserializes binary data (in protobuf wire format) from the
76045
+ * given reader into the given message object.
76046
+ * @param {!proto.payment.DepositWagerContributionGroupResponse} msg The message object to deserialize into.
76047
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76048
+ * @return {!proto.payment.DepositWagerContributionGroupResponse}
76049
+ */
76050
+ proto.payment.DepositWagerContributionGroupResponse.deserializeBinaryFromReader = function(msg, reader) {
76051
+ while (reader.nextField()) {
76052
+ if (reader.isEndGroup()) {
76053
+ break;
76054
+ }
76055
+ var field = reader.getFieldNumber();
76056
+ switch (field) {
76057
+ case 1:
76058
+ var value = new proto.payment.DepositWagerContributionGroupItem;
76059
+ reader.readMessage(value,proto.payment.DepositWagerContributionGroupItem.deserializeBinaryFromReader);
76060
+ msg.setData(value);
76061
+ break;
76062
+ default:
76063
+ reader.skipField();
76064
+ break;
76065
+ }
76066
+ }
76067
+ return msg;
76068
+ };
76069
+
76070
+
76071
+ /**
76072
+ * Serializes the message to binary data (in protobuf wire format).
76073
+ * @return {!Uint8Array}
76074
+ */
76075
+ proto.payment.DepositWagerContributionGroupResponse.prototype.serializeBinary = function() {
76076
+ var writer = new jspb.BinaryWriter();
76077
+ proto.payment.DepositWagerContributionGroupResponse.serializeBinaryToWriter(this, writer);
76078
+ return writer.getResultBuffer();
76079
+ };
76080
+
76081
+
76082
+ /**
76083
+ * Serializes the given message to binary data (in protobuf wire
76084
+ * format), writing to the given BinaryWriter.
76085
+ * @param {!proto.payment.DepositWagerContributionGroupResponse} message
76086
+ * @param {!jspb.BinaryWriter} writer
76087
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76088
+ */
76089
+ proto.payment.DepositWagerContributionGroupResponse.serializeBinaryToWriter = function(message, writer) {
76090
+ var f = undefined;
76091
+ f = message.getData();
76092
+ if (f != null) {
76093
+ writer.writeMessage(
76094
+ 1,
76095
+ f,
76096
+ proto.payment.DepositWagerContributionGroupItem.serializeBinaryToWriter
76097
+ );
76098
+ }
76099
+ };
76100
+
76101
+
76102
+ /**
76103
+ * optional DepositWagerContributionGroupItem data = 1;
76104
+ * @return {?proto.payment.DepositWagerContributionGroupItem}
76105
+ */
76106
+ proto.payment.DepositWagerContributionGroupResponse.prototype.getData = function() {
76107
+ return /** @type{?proto.payment.DepositWagerContributionGroupItem} */ (
76108
+ jspb.Message.getWrapperField(this, proto.payment.DepositWagerContributionGroupItem, 1));
76109
+ };
76110
+
76111
+
76112
+ /**
76113
+ * @param {?proto.payment.DepositWagerContributionGroupItem|undefined} value
76114
+ * @return {!proto.payment.DepositWagerContributionGroupResponse} returns this
76115
+ */
76116
+ proto.payment.DepositWagerContributionGroupResponse.prototype.setData = function(value) {
76117
+ return jspb.Message.setWrapperField(this, 1, value);
76118
+ };
76119
+
76120
+
76121
+ /**
76122
+ * Clears the message field making it undefined.
76123
+ * @return {!proto.payment.DepositWagerContributionGroupResponse} returns this
76124
+ */
76125
+ proto.payment.DepositWagerContributionGroupResponse.prototype.clearData = function() {
76126
+ return this.setData(undefined);
76127
+ };
76128
+
76129
+
76130
+ /**
76131
+ * Returns whether this field is set.
76132
+ * @return {boolean}
76133
+ */
76134
+ proto.payment.DepositWagerContributionGroupResponse.prototype.hasData = function() {
76135
+ return jspb.Message.getField(this, 1) != null;
76136
+ };
76137
+
76138
+
76139
+
76140
+ /**
76141
+ * List of repeated fields within this message type.
76142
+ * @private {!Array<number>}
76143
+ * @const
76144
+ */
76145
+ proto.payment.DepositWagerContributionGroupItemsResponse.repeatedFields_ = [1];
76146
+
76147
+
76148
+
76149
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76150
+ /**
76151
+ * Creates an object representation of this proto.
76152
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76153
+ * Optional fields that are not set will be set to undefined.
76154
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76155
+ * For the list of reserved names please see:
76156
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76157
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76158
+ * JSPB instance for transitional soy proto support:
76159
+ * http://goto/soy-param-migration
76160
+ * @return {!Object}
76161
+ */
76162
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.toObject = function(opt_includeInstance) {
76163
+ return proto.payment.DepositWagerContributionGroupItemsResponse.toObject(opt_includeInstance, this);
76164
+ };
76165
+
76166
+
76167
+ /**
76168
+ * Static version of the {@see toObject} method.
76169
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76170
+ * the JSPB instance for transitional soy proto support:
76171
+ * http://goto/soy-param-migration
76172
+ * @param {!proto.payment.DepositWagerContributionGroupItemsResponse} msg The msg instance to transform.
76173
+ * @return {!Object}
76174
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76175
+ */
76176
+ proto.payment.DepositWagerContributionGroupItemsResponse.toObject = function(includeInstance, msg) {
76177
+ var f, obj = {
76178
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
76179
+ proto.payment.DepositWagerContributionGroupItem.toObject, includeInstance),
76180
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
76181
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
76182
+ };
76183
+
76184
+ if (includeInstance) {
76185
+ obj.$jspbMessageInstance = msg;
76186
+ }
76187
+ return obj;
76188
+ };
76189
+ }
76190
+
76191
+
76192
+ /**
76193
+ * Deserializes binary data (in protobuf wire format).
76194
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76195
+ * @return {!proto.payment.DepositWagerContributionGroupItemsResponse}
76196
+ */
76197
+ proto.payment.DepositWagerContributionGroupItemsResponse.deserializeBinary = function(bytes) {
76198
+ var reader = new jspb.BinaryReader(bytes);
76199
+ var msg = new proto.payment.DepositWagerContributionGroupItemsResponse;
76200
+ return proto.payment.DepositWagerContributionGroupItemsResponse.deserializeBinaryFromReader(msg, reader);
76201
+ };
76202
+
76203
+
76204
+ /**
76205
+ * Deserializes binary data (in protobuf wire format) from the
76206
+ * given reader into the given message object.
76207
+ * @param {!proto.payment.DepositWagerContributionGroupItemsResponse} msg The message object to deserialize into.
76208
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76209
+ * @return {!proto.payment.DepositWagerContributionGroupItemsResponse}
76210
+ */
76211
+ proto.payment.DepositWagerContributionGroupItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
76212
+ while (reader.nextField()) {
76213
+ if (reader.isEndGroup()) {
76214
+ break;
76215
+ }
76216
+ var field = reader.getFieldNumber();
76217
+ switch (field) {
76218
+ case 1:
76219
+ var value = new proto.payment.DepositWagerContributionGroupItem;
76220
+ reader.readMessage(value,proto.payment.DepositWagerContributionGroupItem.deserializeBinaryFromReader);
76221
+ msg.addItems(value);
76222
+ break;
76223
+ case 2:
76224
+ var value = /** @type {number} */ (reader.readInt32());
76225
+ msg.setTotalPages(value);
76226
+ break;
76227
+ case 3:
76228
+ var value = /** @type {number} */ (reader.readInt32());
76229
+ msg.setTotalItems(value);
76230
+ break;
76231
+ default:
76232
+ reader.skipField();
76233
+ break;
76234
+ }
76235
+ }
76236
+ return msg;
76237
+ };
76238
+
76239
+
76240
+ /**
76241
+ * Serializes the message to binary data (in protobuf wire format).
76242
+ * @return {!Uint8Array}
76243
+ */
76244
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.serializeBinary = function() {
76245
+ var writer = new jspb.BinaryWriter();
76246
+ proto.payment.DepositWagerContributionGroupItemsResponse.serializeBinaryToWriter(this, writer);
76247
+ return writer.getResultBuffer();
76248
+ };
76249
+
76250
+
76251
+ /**
76252
+ * Serializes the given message to binary data (in protobuf wire
76253
+ * format), writing to the given BinaryWriter.
76254
+ * @param {!proto.payment.DepositWagerContributionGroupItemsResponse} message
76255
+ * @param {!jspb.BinaryWriter} writer
76256
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76257
+ */
76258
+ proto.payment.DepositWagerContributionGroupItemsResponse.serializeBinaryToWriter = function(message, writer) {
76259
+ var f = undefined;
76260
+ f = message.getItemsList();
76261
+ if (f.length > 0) {
76262
+ writer.writeRepeatedMessage(
76263
+ 1,
76264
+ f,
76265
+ proto.payment.DepositWagerContributionGroupItem.serializeBinaryToWriter
76266
+ );
76267
+ }
76268
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
76269
+ if (f != null) {
76270
+ writer.writeInt32(
76271
+ 2,
76272
+ f
76273
+ );
76274
+ }
76275
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
76276
+ if (f != null) {
76277
+ writer.writeInt32(
76278
+ 3,
76279
+ f
76280
+ );
76281
+ }
76282
+ };
76283
+
76284
+
76285
+ /**
76286
+ * repeated DepositWagerContributionGroupItem items = 1;
76287
+ * @return {!Array<!proto.payment.DepositWagerContributionGroupItem>}
76288
+ */
76289
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.getItemsList = function() {
76290
+ return /** @type{!Array<!proto.payment.DepositWagerContributionGroupItem>} */ (
76291
+ jspb.Message.getRepeatedWrapperField(this, proto.payment.DepositWagerContributionGroupItem, 1));
76292
+ };
76293
+
76294
+
76295
+ /**
76296
+ * @param {!Array<!proto.payment.DepositWagerContributionGroupItem>} value
76297
+ * @return {!proto.payment.DepositWagerContributionGroupItemsResponse} returns this
76298
+ */
76299
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.setItemsList = function(value) {
76300
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
76301
+ };
76302
+
76303
+
76304
+ /**
76305
+ * @param {!proto.payment.DepositWagerContributionGroupItem=} opt_value
76306
+ * @param {number=} opt_index
76307
+ * @return {!proto.payment.DepositWagerContributionGroupItem}
76308
+ */
76309
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.addItems = function(opt_value, opt_index) {
76310
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.payment.DepositWagerContributionGroupItem, opt_index);
76311
+ };
76312
+
76313
+
76314
+ /**
76315
+ * Clears the list making it empty but non-null.
76316
+ * @return {!proto.payment.DepositWagerContributionGroupItemsResponse} returns this
76317
+ */
76318
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.clearItemsList = function() {
76319
+ return this.setItemsList([]);
76320
+ };
76321
+
76322
+
76323
+ /**
76324
+ * optional int32 total_pages = 2;
76325
+ * @return {number}
76326
+ */
76327
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.getTotalPages = function() {
76328
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
76329
+ };
76330
+
76331
+
76332
+ /**
76333
+ * @param {number} value
76334
+ * @return {!proto.payment.DepositWagerContributionGroupItemsResponse} returns this
76335
+ */
76336
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.setTotalPages = function(value) {
76337
+ return jspb.Message.setField(this, 2, value);
76338
+ };
76339
+
76340
+
76341
+ /**
76342
+ * Clears the field making it undefined.
76343
+ * @return {!proto.payment.DepositWagerContributionGroupItemsResponse} returns this
76344
+ */
76345
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.clearTotalPages = function() {
76346
+ return jspb.Message.setField(this, 2, undefined);
76347
+ };
76348
+
76349
+
76350
+ /**
76351
+ * Returns whether this field is set.
76352
+ * @return {boolean}
76353
+ */
76354
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.hasTotalPages = function() {
76355
+ return jspb.Message.getField(this, 2) != null;
76356
+ };
76357
+
76358
+
76359
+ /**
76360
+ * optional int32 total_items = 3;
76361
+ * @return {number}
76362
+ */
76363
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.getTotalItems = function() {
76364
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
76365
+ };
76366
+
76367
+
76368
+ /**
76369
+ * @param {number} value
76370
+ * @return {!proto.payment.DepositWagerContributionGroupItemsResponse} returns this
76371
+ */
76372
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.setTotalItems = function(value) {
76373
+ return jspb.Message.setField(this, 3, value);
76374
+ };
76375
+
76376
+
76377
+ /**
76378
+ * Clears the field making it undefined.
76379
+ * @return {!proto.payment.DepositWagerContributionGroupItemsResponse} returns this
76380
+ */
76381
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.clearTotalItems = function() {
76382
+ return jspb.Message.setField(this, 3, undefined);
76383
+ };
76384
+
76385
+
76386
+ /**
76387
+ * Returns whether this field is set.
76388
+ * @return {boolean}
76389
+ */
76390
+ proto.payment.DepositWagerContributionGroupItemsResponse.prototype.hasTotalItems = function() {
76391
+ return jspb.Message.getField(this, 3) != null;
76392
+ };
76393
+
76394
+
76395
+
76396
+ /**
76397
+ * List of repeated fields within this message type.
76398
+ * @private {!Array<number>}
76399
+ * @const
76400
+ */
76401
+ proto.payment.DepositWagerContributionGamesRequest.repeatedFields_ = [2];
76402
+
76403
+
76404
+
76405
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76406
+ /**
76407
+ * Creates an object representation of this proto.
76408
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76409
+ * Optional fields that are not set will be set to undefined.
76410
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76411
+ * For the list of reserved names please see:
76412
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76413
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76414
+ * JSPB instance for transitional soy proto support:
76415
+ * http://goto/soy-param-migration
76416
+ * @return {!Object}
76417
+ */
76418
+ proto.payment.DepositWagerContributionGamesRequest.prototype.toObject = function(opt_includeInstance) {
76419
+ return proto.payment.DepositWagerContributionGamesRequest.toObject(opt_includeInstance, this);
76420
+ };
76421
+
76422
+
76423
+ /**
76424
+ * Static version of the {@see toObject} method.
76425
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76426
+ * the JSPB instance for transitional soy proto support:
76427
+ * http://goto/soy-param-migration
76428
+ * @param {!proto.payment.DepositWagerContributionGamesRequest} msg The msg instance to transform.
76429
+ * @return {!Object}
76430
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76431
+ */
76432
+ proto.payment.DepositWagerContributionGamesRequest.toObject = function(includeInstance, msg) {
76433
+ var f, obj = {
76434
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
76435
+ gameIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
76436
+ brandKey: jspb.Message.getFieldWithDefault(msg, 3, "")
76437
+ };
76438
+
76439
+ if (includeInstance) {
76440
+ obj.$jspbMessageInstance = msg;
76441
+ }
76442
+ return obj;
76443
+ };
76444
+ }
76445
+
76446
+
76447
+ /**
76448
+ * Deserializes binary data (in protobuf wire format).
76449
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76450
+ * @return {!proto.payment.DepositWagerContributionGamesRequest}
76451
+ */
76452
+ proto.payment.DepositWagerContributionGamesRequest.deserializeBinary = function(bytes) {
76453
+ var reader = new jspb.BinaryReader(bytes);
76454
+ var msg = new proto.payment.DepositWagerContributionGamesRequest;
76455
+ return proto.payment.DepositWagerContributionGamesRequest.deserializeBinaryFromReader(msg, reader);
76456
+ };
76457
+
76458
+
76459
+ /**
76460
+ * Deserializes binary data (in protobuf wire format) from the
76461
+ * given reader into the given message object.
76462
+ * @param {!proto.payment.DepositWagerContributionGamesRequest} msg The message object to deserialize into.
76463
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76464
+ * @return {!proto.payment.DepositWagerContributionGamesRequest}
76465
+ */
76466
+ proto.payment.DepositWagerContributionGamesRequest.deserializeBinaryFromReader = function(msg, reader) {
76467
+ while (reader.nextField()) {
76468
+ if (reader.isEndGroup()) {
76469
+ break;
76470
+ }
76471
+ var field = reader.getFieldNumber();
76472
+ switch (field) {
76473
+ case 1:
76474
+ var value = /** @type {number} */ (reader.readInt32());
76475
+ msg.setId(value);
76476
+ break;
76477
+ case 2:
76478
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
76479
+ for (var i = 0; i < values.length; i++) {
76480
+ msg.addGameIds(values[i]);
76481
+ }
76482
+ break;
76483
+ case 3:
76484
+ var value = /** @type {string} */ (reader.readString());
76485
+ msg.setBrandKey(value);
76486
+ break;
76487
+ default:
76488
+ reader.skipField();
76489
+ break;
76490
+ }
76491
+ }
76492
+ return msg;
76493
+ };
76494
+
76495
+
76496
+ /**
76497
+ * Serializes the message to binary data (in protobuf wire format).
76498
+ * @return {!Uint8Array}
76499
+ */
76500
+ proto.payment.DepositWagerContributionGamesRequest.prototype.serializeBinary = function() {
76501
+ var writer = new jspb.BinaryWriter();
76502
+ proto.payment.DepositWagerContributionGamesRequest.serializeBinaryToWriter(this, writer);
76503
+ return writer.getResultBuffer();
76504
+ };
76505
+
76506
+
76507
+ /**
76508
+ * Serializes the given message to binary data (in protobuf wire
76509
+ * format), writing to the given BinaryWriter.
76510
+ * @param {!proto.payment.DepositWagerContributionGamesRequest} message
76511
+ * @param {!jspb.BinaryWriter} writer
76512
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76513
+ */
76514
+ proto.payment.DepositWagerContributionGamesRequest.serializeBinaryToWriter = function(message, writer) {
76515
+ var f = undefined;
76516
+ f = message.getId();
76517
+ if (f !== 0) {
76518
+ writer.writeInt32(
76519
+ 1,
76520
+ f
76521
+ );
76522
+ }
76523
+ f = message.getGameIdsList();
76524
+ if (f.length > 0) {
76525
+ writer.writePackedInt32(
76526
+ 2,
76527
+ f
76528
+ );
76529
+ }
76530
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
76531
+ if (f != null) {
76532
+ writer.writeString(
76533
+ 3,
76534
+ f
76535
+ );
76536
+ }
76537
+ };
76538
+
76539
+
76540
+ /**
76541
+ * optional int32 id = 1;
76542
+ * @return {number}
76543
+ */
76544
+ proto.payment.DepositWagerContributionGamesRequest.prototype.getId = function() {
76545
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
76546
+ };
76547
+
76548
+
76549
+ /**
76550
+ * @param {number} value
76551
+ * @return {!proto.payment.DepositWagerContributionGamesRequest} returns this
76552
+ */
76553
+ proto.payment.DepositWagerContributionGamesRequest.prototype.setId = function(value) {
76554
+ return jspb.Message.setProto3IntField(this, 1, value);
76555
+ };
76556
+
76557
+
76558
+ /**
76559
+ * repeated int32 game_ids = 2;
76560
+ * @return {!Array<number>}
76561
+ */
76562
+ proto.payment.DepositWagerContributionGamesRequest.prototype.getGameIdsList = function() {
76563
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
76564
+ };
76565
+
76566
+
76567
+ /**
76568
+ * @param {!Array<number>} value
76569
+ * @return {!proto.payment.DepositWagerContributionGamesRequest} returns this
76570
+ */
76571
+ proto.payment.DepositWagerContributionGamesRequest.prototype.setGameIdsList = function(value) {
76572
+ return jspb.Message.setField(this, 2, value || []);
76573
+ };
76574
+
76575
+
76576
+ /**
76577
+ * @param {number} value
76578
+ * @param {number=} opt_index
76579
+ * @return {!proto.payment.DepositWagerContributionGamesRequest} returns this
76580
+ */
76581
+ proto.payment.DepositWagerContributionGamesRequest.prototype.addGameIds = function(value, opt_index) {
76582
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
76583
+ };
76584
+
76585
+
76586
+ /**
76587
+ * Clears the list making it empty but non-null.
76588
+ * @return {!proto.payment.DepositWagerContributionGamesRequest} returns this
76589
+ */
76590
+ proto.payment.DepositWagerContributionGamesRequest.prototype.clearGameIdsList = function() {
76591
+ return this.setGameIdsList([]);
76592
+ };
76593
+
76594
+
76595
+ /**
76596
+ * optional string brand_key = 3;
76597
+ * @return {string}
76598
+ */
76599
+ proto.payment.DepositWagerContributionGamesRequest.prototype.getBrandKey = function() {
76600
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
76601
+ };
76602
+
76603
+
76604
+ /**
76605
+ * @param {string} value
76606
+ * @return {!proto.payment.DepositWagerContributionGamesRequest} returns this
76607
+ */
76608
+ proto.payment.DepositWagerContributionGamesRequest.prototype.setBrandKey = function(value) {
76609
+ return jspb.Message.setField(this, 3, value);
76610
+ };
76611
+
76612
+
76613
+ /**
76614
+ * Clears the field making it undefined.
76615
+ * @return {!proto.payment.DepositWagerContributionGamesRequest} returns this
76616
+ */
76617
+ proto.payment.DepositWagerContributionGamesRequest.prototype.clearBrandKey = function() {
76618
+ return jspb.Message.setField(this, 3, undefined);
76619
+ };
76620
+
76621
+
76622
+ /**
76623
+ * Returns whether this field is set.
76624
+ * @return {boolean}
76625
+ */
76626
+ proto.payment.DepositWagerContributionGamesRequest.prototype.hasBrandKey = function() {
76627
+ return jspb.Message.getField(this, 3) != null;
76628
+ };
76629
+
76630
+
76631
+
76632
+
76633
+
76634
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76635
+ /**
76636
+ * Creates an object representation of this proto.
76637
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76638
+ * Optional fields that are not set will be set to undefined.
76639
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76640
+ * For the list of reserved names please see:
76641
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76642
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76643
+ * JSPB instance for transitional soy proto support:
76644
+ * http://goto/soy-param-migration
76645
+ * @return {!Object}
76646
+ */
76647
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.toObject = function(opt_includeInstance) {
76648
+ return proto.payment.DepositWagerContributionGamesPageRequest.toObject(opt_includeInstance, this);
76649
+ };
76650
+
76651
+
76652
+ /**
76653
+ * Static version of the {@see toObject} method.
76654
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76655
+ * the JSPB instance for transitional soy proto support:
76656
+ * http://goto/soy-param-migration
76657
+ * @param {!proto.payment.DepositWagerContributionGamesPageRequest} msg The msg instance to transform.
76658
+ * @return {!Object}
76659
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76660
+ */
76661
+ proto.payment.DepositWagerContributionGamesPageRequest.toObject = function(includeInstance, msg) {
76662
+ var f, obj = {
76663
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
76664
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
76665
+ offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
76666
+ brandKey: jspb.Message.getFieldWithDefault(msg, 4, "")
76667
+ };
76668
+
76669
+ if (includeInstance) {
76670
+ obj.$jspbMessageInstance = msg;
76671
+ }
76672
+ return obj;
76673
+ };
76674
+ }
76675
+
76676
+
76677
+ /**
76678
+ * Deserializes binary data (in protobuf wire format).
76679
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76680
+ * @return {!proto.payment.DepositWagerContributionGamesPageRequest}
76681
+ */
76682
+ proto.payment.DepositWagerContributionGamesPageRequest.deserializeBinary = function(bytes) {
76683
+ var reader = new jspb.BinaryReader(bytes);
76684
+ var msg = new proto.payment.DepositWagerContributionGamesPageRequest;
76685
+ return proto.payment.DepositWagerContributionGamesPageRequest.deserializeBinaryFromReader(msg, reader);
76686
+ };
76687
+
76688
+
76689
+ /**
76690
+ * Deserializes binary data (in protobuf wire format) from the
76691
+ * given reader into the given message object.
76692
+ * @param {!proto.payment.DepositWagerContributionGamesPageRequest} msg The message object to deserialize into.
76693
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76694
+ * @return {!proto.payment.DepositWagerContributionGamesPageRequest}
76695
+ */
76696
+ proto.payment.DepositWagerContributionGamesPageRequest.deserializeBinaryFromReader = function(msg, reader) {
76697
+ while (reader.nextField()) {
76698
+ if (reader.isEndGroup()) {
76699
+ break;
76700
+ }
76701
+ var field = reader.getFieldNumber();
76702
+ switch (field) {
76703
+ case 1:
76704
+ var value = /** @type {number} */ (reader.readInt32());
76705
+ msg.setId(value);
76706
+ break;
76707
+ case 2:
76708
+ var value = /** @type {number} */ (reader.readInt32());
76709
+ msg.setLimit(value);
76710
+ break;
76711
+ case 3:
76712
+ var value = /** @type {number} */ (reader.readInt32());
76713
+ msg.setOffset(value);
76714
+ break;
76715
+ case 4:
76716
+ var value = /** @type {string} */ (reader.readString());
76717
+ msg.setBrandKey(value);
76718
+ break;
76719
+ default:
76720
+ reader.skipField();
76721
+ break;
76722
+ }
76723
+ }
76724
+ return msg;
76725
+ };
76726
+
76727
+
76728
+ /**
76729
+ * Serializes the message to binary data (in protobuf wire format).
76730
+ * @return {!Uint8Array}
76731
+ */
76732
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.serializeBinary = function() {
76733
+ var writer = new jspb.BinaryWriter();
76734
+ proto.payment.DepositWagerContributionGamesPageRequest.serializeBinaryToWriter(this, writer);
76735
+ return writer.getResultBuffer();
76736
+ };
76737
+
76738
+
76739
+ /**
76740
+ * Serializes the given message to binary data (in protobuf wire
76741
+ * format), writing to the given BinaryWriter.
76742
+ * @param {!proto.payment.DepositWagerContributionGamesPageRequest} message
76743
+ * @param {!jspb.BinaryWriter} writer
76744
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76745
+ */
76746
+ proto.payment.DepositWagerContributionGamesPageRequest.serializeBinaryToWriter = function(message, writer) {
76747
+ var f = undefined;
76748
+ f = message.getId();
76749
+ if (f !== 0) {
76750
+ writer.writeInt32(
76751
+ 1,
76752
+ f
76753
+ );
76754
+ }
76755
+ f = message.getLimit();
76756
+ if (f !== 0) {
76757
+ writer.writeInt32(
76758
+ 2,
76759
+ f
76760
+ );
76761
+ }
76762
+ f = message.getOffset();
76763
+ if (f !== 0) {
76764
+ writer.writeInt32(
76765
+ 3,
76766
+ f
76767
+ );
76768
+ }
76769
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
76770
+ if (f != null) {
76771
+ writer.writeString(
76772
+ 4,
76773
+ f
76774
+ );
76775
+ }
76776
+ };
76777
+
76778
+
76779
+ /**
76780
+ * optional int32 id = 1;
76781
+ * @return {number}
76782
+ */
76783
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.getId = function() {
76784
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
76785
+ };
76786
+
76787
+
76788
+ /**
76789
+ * @param {number} value
76790
+ * @return {!proto.payment.DepositWagerContributionGamesPageRequest} returns this
76791
+ */
76792
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.setId = function(value) {
76793
+ return jspb.Message.setProto3IntField(this, 1, value);
76794
+ };
76795
+
76796
+
76797
+ /**
76798
+ * optional int32 limit = 2;
76799
+ * @return {number}
76800
+ */
76801
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.getLimit = function() {
76802
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
76803
+ };
76804
+
76805
+
76806
+ /**
76807
+ * @param {number} value
76808
+ * @return {!proto.payment.DepositWagerContributionGamesPageRequest} returns this
76809
+ */
76810
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.setLimit = function(value) {
76811
+ return jspb.Message.setProto3IntField(this, 2, value);
76812
+ };
76813
+
76814
+
76815
+ /**
76816
+ * optional int32 offset = 3;
76817
+ * @return {number}
76818
+ */
76819
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.getOffset = function() {
76820
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
76821
+ };
76822
+
76823
+
76824
+ /**
76825
+ * @param {number} value
76826
+ * @return {!proto.payment.DepositWagerContributionGamesPageRequest} returns this
76827
+ */
76828
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.setOffset = function(value) {
76829
+ return jspb.Message.setProto3IntField(this, 3, value);
76830
+ };
76831
+
76832
+
76833
+ /**
76834
+ * optional string brand_key = 4;
76835
+ * @return {string}
76836
+ */
76837
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.getBrandKey = function() {
76838
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
76839
+ };
76840
+
76841
+
76842
+ /**
76843
+ * @param {string} value
76844
+ * @return {!proto.payment.DepositWagerContributionGamesPageRequest} returns this
76845
+ */
76846
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.setBrandKey = function(value) {
76847
+ return jspb.Message.setField(this, 4, value);
76848
+ };
76849
+
76850
+
76851
+ /**
76852
+ * Clears the field making it undefined.
76853
+ * @return {!proto.payment.DepositWagerContributionGamesPageRequest} returns this
76854
+ */
76855
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.clearBrandKey = function() {
76856
+ return jspb.Message.setField(this, 4, undefined);
76857
+ };
76858
+
76859
+
76860
+ /**
76861
+ * Returns whether this field is set.
76862
+ * @return {boolean}
76863
+ */
76864
+ proto.payment.DepositWagerContributionGamesPageRequest.prototype.hasBrandKey = function() {
76865
+ return jspb.Message.getField(this, 4) != null;
76866
+ };
76867
+
76868
+
76869
+
76870
+ /**
76871
+ * List of repeated fields within this message type.
76872
+ * @private {!Array<number>}
76873
+ * @const
76874
+ */
76875
+ proto.payment.DepositWagerContributionGameIdsResponse.repeatedFields_ = [1];
76876
+
76877
+
76878
+
76879
+ if (jspb.Message.GENERATE_TO_OBJECT) {
76880
+ /**
76881
+ * Creates an object representation of this proto.
76882
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
76883
+ * Optional fields that are not set will be set to undefined.
76884
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
76885
+ * For the list of reserved names please see:
76886
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
76887
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
76888
+ * JSPB instance for transitional soy proto support:
76889
+ * http://goto/soy-param-migration
76890
+ * @return {!Object}
76891
+ */
76892
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.toObject = function(opt_includeInstance) {
76893
+ return proto.payment.DepositWagerContributionGameIdsResponse.toObject(opt_includeInstance, this);
76894
+ };
76895
+
76896
+
76897
+ /**
76898
+ * Static version of the {@see toObject} method.
76899
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
76900
+ * the JSPB instance for transitional soy proto support:
76901
+ * http://goto/soy-param-migration
76902
+ * @param {!proto.payment.DepositWagerContributionGameIdsResponse} msg The msg instance to transform.
76903
+ * @return {!Object}
76904
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76905
+ */
76906
+ proto.payment.DepositWagerContributionGameIdsResponse.toObject = function(includeInstance, msg) {
76907
+ var f, obj = {
76908
+ gameIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
76909
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
76910
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
76911
+ };
76912
+
76913
+ if (includeInstance) {
76914
+ obj.$jspbMessageInstance = msg;
76915
+ }
76916
+ return obj;
76917
+ };
76918
+ }
76919
+
76920
+
76921
+ /**
76922
+ * Deserializes binary data (in protobuf wire format).
76923
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
76924
+ * @return {!proto.payment.DepositWagerContributionGameIdsResponse}
76925
+ */
76926
+ proto.payment.DepositWagerContributionGameIdsResponse.deserializeBinary = function(bytes) {
76927
+ var reader = new jspb.BinaryReader(bytes);
76928
+ var msg = new proto.payment.DepositWagerContributionGameIdsResponse;
76929
+ return proto.payment.DepositWagerContributionGameIdsResponse.deserializeBinaryFromReader(msg, reader);
76930
+ };
76931
+
76932
+
76933
+ /**
76934
+ * Deserializes binary data (in protobuf wire format) from the
76935
+ * given reader into the given message object.
76936
+ * @param {!proto.payment.DepositWagerContributionGameIdsResponse} msg The message object to deserialize into.
76937
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
76938
+ * @return {!proto.payment.DepositWagerContributionGameIdsResponse}
76939
+ */
76940
+ proto.payment.DepositWagerContributionGameIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
76941
+ while (reader.nextField()) {
76942
+ if (reader.isEndGroup()) {
76943
+ break;
76944
+ }
76945
+ var field = reader.getFieldNumber();
76946
+ switch (field) {
76947
+ case 1:
76948
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
76949
+ for (var i = 0; i < values.length; i++) {
76950
+ msg.addGameIds(values[i]);
76951
+ }
76952
+ break;
76953
+ case 2:
76954
+ var value = /** @type {number} */ (reader.readInt32());
76955
+ msg.setTotalPages(value);
76956
+ break;
76957
+ case 3:
76958
+ var value = /** @type {number} */ (reader.readInt32());
76959
+ msg.setTotalItems(value);
76960
+ break;
76961
+ default:
76962
+ reader.skipField();
76963
+ break;
76964
+ }
76965
+ }
76966
+ return msg;
76967
+ };
76968
+
76969
+
76970
+ /**
76971
+ * Serializes the message to binary data (in protobuf wire format).
76972
+ * @return {!Uint8Array}
76973
+ */
76974
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.serializeBinary = function() {
76975
+ var writer = new jspb.BinaryWriter();
76976
+ proto.payment.DepositWagerContributionGameIdsResponse.serializeBinaryToWriter(this, writer);
76977
+ return writer.getResultBuffer();
76978
+ };
76979
+
76980
+
76981
+ /**
76982
+ * Serializes the given message to binary data (in protobuf wire
76983
+ * format), writing to the given BinaryWriter.
76984
+ * @param {!proto.payment.DepositWagerContributionGameIdsResponse} message
76985
+ * @param {!jspb.BinaryWriter} writer
76986
+ * @suppress {unusedLocalVariables} f is only used for nested messages
76987
+ */
76988
+ proto.payment.DepositWagerContributionGameIdsResponse.serializeBinaryToWriter = function(message, writer) {
76989
+ var f = undefined;
76990
+ f = message.getGameIdsList();
76991
+ if (f.length > 0) {
76992
+ writer.writePackedInt32(
76993
+ 1,
76994
+ f
76995
+ );
76996
+ }
76997
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
76998
+ if (f != null) {
76999
+ writer.writeInt32(
77000
+ 2,
77001
+ f
77002
+ );
77003
+ }
77004
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
77005
+ if (f != null) {
77006
+ writer.writeInt32(
77007
+ 3,
77008
+ f
77009
+ );
77010
+ }
77011
+ };
77012
+
77013
+
77014
+ /**
77015
+ * repeated int32 game_ids = 1;
77016
+ * @return {!Array<number>}
77017
+ */
77018
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.getGameIdsList = function() {
77019
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
77020
+ };
77021
+
77022
+
77023
+ /**
77024
+ * @param {!Array<number>} value
77025
+ * @return {!proto.payment.DepositWagerContributionGameIdsResponse} returns this
77026
+ */
77027
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.setGameIdsList = function(value) {
77028
+ return jspb.Message.setField(this, 1, value || []);
77029
+ };
77030
+
77031
+
77032
+ /**
77033
+ * @param {number} value
77034
+ * @param {number=} opt_index
77035
+ * @return {!proto.payment.DepositWagerContributionGameIdsResponse} returns this
77036
+ */
77037
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.addGameIds = function(value, opt_index) {
77038
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
77039
+ };
77040
+
77041
+
77042
+ /**
77043
+ * Clears the list making it empty but non-null.
77044
+ * @return {!proto.payment.DepositWagerContributionGameIdsResponse} returns this
77045
+ */
77046
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.clearGameIdsList = function() {
77047
+ return this.setGameIdsList([]);
77048
+ };
77049
+
77050
+
77051
+ /**
77052
+ * optional int32 total_pages = 2;
77053
+ * @return {number}
77054
+ */
77055
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.getTotalPages = function() {
77056
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
77057
+ };
77058
+
77059
+
77060
+ /**
77061
+ * @param {number} value
77062
+ * @return {!proto.payment.DepositWagerContributionGameIdsResponse} returns this
77063
+ */
77064
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.setTotalPages = function(value) {
77065
+ return jspb.Message.setField(this, 2, value);
77066
+ };
77067
+
77068
+
77069
+ /**
77070
+ * Clears the field making it undefined.
77071
+ * @return {!proto.payment.DepositWagerContributionGameIdsResponse} returns this
77072
+ */
77073
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.clearTotalPages = function() {
77074
+ return jspb.Message.setField(this, 2, undefined);
77075
+ };
77076
+
77077
+
77078
+ /**
77079
+ * Returns whether this field is set.
77080
+ * @return {boolean}
77081
+ */
77082
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.hasTotalPages = function() {
77083
+ return jspb.Message.getField(this, 2) != null;
77084
+ };
77085
+
77086
+
77087
+ /**
77088
+ * optional int32 total_items = 3;
77089
+ * @return {number}
77090
+ */
77091
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.getTotalItems = function() {
77092
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
77093
+ };
77094
+
77095
+
77096
+ /**
77097
+ * @param {number} value
77098
+ * @return {!proto.payment.DepositWagerContributionGameIdsResponse} returns this
77099
+ */
77100
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.setTotalItems = function(value) {
77101
+ return jspb.Message.setField(this, 3, value);
77102
+ };
77103
+
77104
+
77105
+ /**
77106
+ * Clears the field making it undefined.
77107
+ * @return {!proto.payment.DepositWagerContributionGameIdsResponse} returns this
77108
+ */
77109
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.clearTotalItems = function() {
77110
+ return jspb.Message.setField(this, 3, undefined);
77111
+ };
77112
+
77113
+
77114
+ /**
77115
+ * Returns whether this field is set.
77116
+ * @return {boolean}
77117
+ */
77118
+ proto.payment.DepositWagerContributionGameIdsResponse.prototype.hasTotalItems = function() {
77119
+ return jspb.Message.getField(this, 3) != null;
77120
+ };
77121
+
77122
+
77123
+
77124
+
77125
+
77126
+ if (jspb.Message.GENERATE_TO_OBJECT) {
77127
+ /**
77128
+ * Creates an object representation of this proto.
77129
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
77130
+ * Optional fields that are not set will be set to undefined.
77131
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
77132
+ * For the list of reserved names please see:
77133
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
77134
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
77135
+ * JSPB instance for transitional soy proto support:
77136
+ * http://goto/soy-param-migration
77137
+ * @return {!Object}
77138
+ */
77139
+ proto.payment.DepositWagerContributionSnapshotEntry.prototype.toObject = function(opt_includeInstance) {
77140
+ return proto.payment.DepositWagerContributionSnapshotEntry.toObject(opt_includeInstance, this);
77141
+ };
77142
+
77143
+
77144
+ /**
77145
+ * Static version of the {@see toObject} method.
77146
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
77147
+ * the JSPB instance for transitional soy proto support:
77148
+ * http://goto/soy-param-migration
77149
+ * @param {!proto.payment.DepositWagerContributionSnapshotEntry} msg The msg instance to transform.
77150
+ * @return {!Object}
77151
+ * @suppress {unusedLocalVariables} f is only used for nested messages
77152
+ */
77153
+ proto.payment.DepositWagerContributionSnapshotEntry.toObject = function(includeInstance, msg) {
77154
+ var f, obj = {
77155
+ gameId: jspb.Message.getFieldWithDefault(msg, 1, 0),
77156
+ contributionBps: jspb.Message.getFieldWithDefault(msg, 2, 0)
77157
+ };
77158
+
77159
+ if (includeInstance) {
77160
+ obj.$jspbMessageInstance = msg;
77161
+ }
77162
+ return obj;
77163
+ };
77164
+ }
77165
+
77166
+
77167
+ /**
77168
+ * Deserializes binary data (in protobuf wire format).
77169
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
77170
+ * @return {!proto.payment.DepositWagerContributionSnapshotEntry}
77171
+ */
77172
+ proto.payment.DepositWagerContributionSnapshotEntry.deserializeBinary = function(bytes) {
77173
+ var reader = new jspb.BinaryReader(bytes);
77174
+ var msg = new proto.payment.DepositWagerContributionSnapshotEntry;
77175
+ return proto.payment.DepositWagerContributionSnapshotEntry.deserializeBinaryFromReader(msg, reader);
77176
+ };
77177
+
77178
+
77179
+ /**
77180
+ * Deserializes binary data (in protobuf wire format) from the
77181
+ * given reader into the given message object.
77182
+ * @param {!proto.payment.DepositWagerContributionSnapshotEntry} msg The message object to deserialize into.
77183
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
77184
+ * @return {!proto.payment.DepositWagerContributionSnapshotEntry}
77185
+ */
77186
+ proto.payment.DepositWagerContributionSnapshotEntry.deserializeBinaryFromReader = function(msg, reader) {
77187
+ while (reader.nextField()) {
77188
+ if (reader.isEndGroup()) {
77189
+ break;
77190
+ }
77191
+ var field = reader.getFieldNumber();
77192
+ switch (field) {
77193
+ case 1:
77194
+ var value = /** @type {number} */ (reader.readInt32());
77195
+ msg.setGameId(value);
77196
+ break;
77197
+ case 2:
77198
+ var value = /** @type {number} */ (reader.readInt32());
77199
+ msg.setContributionBps(value);
77200
+ break;
77201
+ default:
77202
+ reader.skipField();
77203
+ break;
77204
+ }
77205
+ }
77206
+ return msg;
77207
+ };
77208
+
77209
+
77210
+ /**
77211
+ * Serializes the message to binary data (in protobuf wire format).
77212
+ * @return {!Uint8Array}
77213
+ */
77214
+ proto.payment.DepositWagerContributionSnapshotEntry.prototype.serializeBinary = function() {
77215
+ var writer = new jspb.BinaryWriter();
77216
+ proto.payment.DepositWagerContributionSnapshotEntry.serializeBinaryToWriter(this, writer);
77217
+ return writer.getResultBuffer();
77218
+ };
77219
+
77220
+
77221
+ /**
77222
+ * Serializes the given message to binary data (in protobuf wire
77223
+ * format), writing to the given BinaryWriter.
77224
+ * @param {!proto.payment.DepositWagerContributionSnapshotEntry} message
77225
+ * @param {!jspb.BinaryWriter} writer
77226
+ * @suppress {unusedLocalVariables} f is only used for nested messages
77227
+ */
77228
+ proto.payment.DepositWagerContributionSnapshotEntry.serializeBinaryToWriter = function(message, writer) {
77229
+ var f = undefined;
77230
+ f = message.getGameId();
77231
+ if (f !== 0) {
77232
+ writer.writeInt32(
77233
+ 1,
77234
+ f
77235
+ );
77236
+ }
77237
+ f = message.getContributionBps();
77238
+ if (f !== 0) {
77239
+ writer.writeInt32(
77240
+ 2,
77241
+ f
77242
+ );
77243
+ }
77244
+ };
77245
+
77246
+
77247
+ /**
77248
+ * optional int32 game_id = 1;
77249
+ * @return {number}
77250
+ */
77251
+ proto.payment.DepositWagerContributionSnapshotEntry.prototype.getGameId = function() {
77252
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
77253
+ };
77254
+
77255
+
77256
+ /**
77257
+ * @param {number} value
77258
+ * @return {!proto.payment.DepositWagerContributionSnapshotEntry} returns this
77259
+ */
77260
+ proto.payment.DepositWagerContributionSnapshotEntry.prototype.setGameId = function(value) {
77261
+ return jspb.Message.setProto3IntField(this, 1, value);
77262
+ };
77263
+
77264
+
77265
+ /**
77266
+ * optional int32 contribution_bps = 2;
77267
+ * @return {number}
77268
+ */
77269
+ proto.payment.DepositWagerContributionSnapshotEntry.prototype.getContributionBps = function() {
77270
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
77271
+ };
77272
+
77273
+
77274
+ /**
77275
+ * @param {number} value
77276
+ * @return {!proto.payment.DepositWagerContributionSnapshotEntry} returns this
77277
+ */
77278
+ proto.payment.DepositWagerContributionSnapshotEntry.prototype.setContributionBps = function(value) {
77279
+ return jspb.Message.setProto3IntField(this, 2, value);
77280
+ };
77281
+
77282
+
77283
+
77284
+ /**
77285
+ * List of repeated fields within this message type.
77286
+ * @private {!Array<number>}
77287
+ * @const
77288
+ */
77289
+ proto.payment.DepositWagerContributionSnapshotResponse.repeatedFields_ = [2];
77290
+
77291
+
77292
+
77293
+ if (jspb.Message.GENERATE_TO_OBJECT) {
77294
+ /**
77295
+ * Creates an object representation of this proto.
77296
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
77297
+ * Optional fields that are not set will be set to undefined.
77298
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
77299
+ * For the list of reserved names please see:
77300
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
77301
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
77302
+ * JSPB instance for transitional soy proto support:
77303
+ * http://goto/soy-param-migration
77304
+ * @return {!Object}
77305
+ */
77306
+ proto.payment.DepositWagerContributionSnapshotResponse.prototype.toObject = function(opt_includeInstance) {
77307
+ return proto.payment.DepositWagerContributionSnapshotResponse.toObject(opt_includeInstance, this);
77308
+ };
77309
+
77310
+
77311
+ /**
77312
+ * Static version of the {@see toObject} method.
77313
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
77314
+ * the JSPB instance for transitional soy proto support:
77315
+ * http://goto/soy-param-migration
77316
+ * @param {!proto.payment.DepositWagerContributionSnapshotResponse} msg The msg instance to transform.
77317
+ * @return {!Object}
77318
+ * @suppress {unusedLocalVariables} f is only used for nested messages
77319
+ */
77320
+ proto.payment.DepositWagerContributionSnapshotResponse.toObject = function(includeInstance, msg) {
77321
+ var f, obj = {
77322
+ brandKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
77323
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
77324
+ proto.payment.DepositWagerContributionSnapshotEntry.toObject, includeInstance)
77325
+ };
77326
+
77327
+ if (includeInstance) {
77328
+ obj.$jspbMessageInstance = msg;
77329
+ }
77330
+ return obj;
77331
+ };
77332
+ }
77333
+
77334
+
77335
+ /**
77336
+ * Deserializes binary data (in protobuf wire format).
77337
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
77338
+ * @return {!proto.payment.DepositWagerContributionSnapshotResponse}
77339
+ */
77340
+ proto.payment.DepositWagerContributionSnapshotResponse.deserializeBinary = function(bytes) {
77341
+ var reader = new jspb.BinaryReader(bytes);
77342
+ var msg = new proto.payment.DepositWagerContributionSnapshotResponse;
77343
+ return proto.payment.DepositWagerContributionSnapshotResponse.deserializeBinaryFromReader(msg, reader);
77344
+ };
77345
+
77346
+
77347
+ /**
77348
+ * Deserializes binary data (in protobuf wire format) from the
77349
+ * given reader into the given message object.
77350
+ * @param {!proto.payment.DepositWagerContributionSnapshotResponse} msg The message object to deserialize into.
77351
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
77352
+ * @return {!proto.payment.DepositWagerContributionSnapshotResponse}
77353
+ */
77354
+ proto.payment.DepositWagerContributionSnapshotResponse.deserializeBinaryFromReader = function(msg, reader) {
77355
+ while (reader.nextField()) {
77356
+ if (reader.isEndGroup()) {
77357
+ break;
77358
+ }
77359
+ var field = reader.getFieldNumber();
77360
+ switch (field) {
77361
+ case 1:
77362
+ var value = /** @type {string} */ (reader.readString());
77363
+ msg.setBrandKey(value);
77364
+ break;
77365
+ case 2:
77366
+ var value = new proto.payment.DepositWagerContributionSnapshotEntry;
77367
+ reader.readMessage(value,proto.payment.DepositWagerContributionSnapshotEntry.deserializeBinaryFromReader);
77368
+ msg.addEntries(value);
77369
+ break;
77370
+ default:
77371
+ reader.skipField();
77372
+ break;
77373
+ }
77374
+ }
77375
+ return msg;
77376
+ };
77377
+
77378
+
77379
+ /**
77380
+ * Serializes the message to binary data (in protobuf wire format).
77381
+ * @return {!Uint8Array}
77382
+ */
77383
+ proto.payment.DepositWagerContributionSnapshotResponse.prototype.serializeBinary = function() {
77384
+ var writer = new jspb.BinaryWriter();
77385
+ proto.payment.DepositWagerContributionSnapshotResponse.serializeBinaryToWriter(this, writer);
77386
+ return writer.getResultBuffer();
77387
+ };
77388
+
77389
+
77390
+ /**
77391
+ * Serializes the given message to binary data (in protobuf wire
77392
+ * format), writing to the given BinaryWriter.
77393
+ * @param {!proto.payment.DepositWagerContributionSnapshotResponse} message
77394
+ * @param {!jspb.BinaryWriter} writer
77395
+ * @suppress {unusedLocalVariables} f is only used for nested messages
77396
+ */
77397
+ proto.payment.DepositWagerContributionSnapshotResponse.serializeBinaryToWriter = function(message, writer) {
77398
+ var f = undefined;
77399
+ f = message.getBrandKey();
77400
+ if (f.length > 0) {
77401
+ writer.writeString(
77402
+ 1,
77403
+ f
77404
+ );
77405
+ }
77406
+ f = message.getEntriesList();
77407
+ if (f.length > 0) {
77408
+ writer.writeRepeatedMessage(
77409
+ 2,
77410
+ f,
77411
+ proto.payment.DepositWagerContributionSnapshotEntry.serializeBinaryToWriter
77412
+ );
77413
+ }
77414
+ };
77415
+
77416
+
77417
+ /**
77418
+ * optional string brand_key = 1;
77419
+ * @return {string}
77420
+ */
77421
+ proto.payment.DepositWagerContributionSnapshotResponse.prototype.getBrandKey = function() {
77422
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
77423
+ };
77424
+
77425
+
77426
+ /**
77427
+ * @param {string} value
77428
+ * @return {!proto.payment.DepositWagerContributionSnapshotResponse} returns this
77429
+ */
77430
+ proto.payment.DepositWagerContributionSnapshotResponse.prototype.setBrandKey = function(value) {
77431
+ return jspb.Message.setProto3StringField(this, 1, value);
77432
+ };
77433
+
77434
+
77435
+ /**
77436
+ * repeated DepositWagerContributionSnapshotEntry entries = 2;
77437
+ * @return {!Array<!proto.payment.DepositWagerContributionSnapshotEntry>}
77438
+ */
77439
+ proto.payment.DepositWagerContributionSnapshotResponse.prototype.getEntriesList = function() {
77440
+ return /** @type{!Array<!proto.payment.DepositWagerContributionSnapshotEntry>} */ (
77441
+ jspb.Message.getRepeatedWrapperField(this, proto.payment.DepositWagerContributionSnapshotEntry, 2));
77442
+ };
77443
+
77444
+
77445
+ /**
77446
+ * @param {!Array<!proto.payment.DepositWagerContributionSnapshotEntry>} value
77447
+ * @return {!proto.payment.DepositWagerContributionSnapshotResponse} returns this
77448
+ */
77449
+ proto.payment.DepositWagerContributionSnapshotResponse.prototype.setEntriesList = function(value) {
77450
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
77451
+ };
77452
+
77453
+
77454
+ /**
77455
+ * @param {!proto.payment.DepositWagerContributionSnapshotEntry=} opt_value
77456
+ * @param {number=} opt_index
77457
+ * @return {!proto.payment.DepositWagerContributionSnapshotEntry}
77458
+ */
77459
+ proto.payment.DepositWagerContributionSnapshotResponse.prototype.addEntries = function(opt_value, opt_index) {
77460
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payment.DepositWagerContributionSnapshotEntry, opt_index);
77461
+ };
77462
+
77463
+
77464
+ /**
77465
+ * Clears the list making it empty but non-null.
77466
+ * @return {!proto.payment.DepositWagerContributionSnapshotResponse} returns this
77467
+ */
77468
+ proto.payment.DepositWagerContributionSnapshotResponse.prototype.clearEntriesList = function() {
77469
+ return this.setEntriesList([]);
77470
+ };
77471
+
77472
+
74898
77473
  /**
74899
77474
  * @enum {number}
74900
77475
  */