protobuf-platform 1.0.256 → 1.0.258

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.
@@ -6,6 +6,8 @@ service Analytic {
6
6
  rpc checkConnection(PingRequest) returns (PongResponse);
7
7
  //Global
8
8
  rpc getGlobalCasinoStats(PaginationRequest) returns (GlobalCasinoResponse);
9
+ //Payment
10
+ rpc getPaymentProvidersStats(PaginationRequest) returns (PaymentProvidersResponse);
9
11
  }
10
12
  //Technical
11
13
  message PingRequest { string ping = 1; }
@@ -45,4 +47,22 @@ message GlobalCasinoResponse {
45
47
  repeated GlobalCasinoItem items = 1;
46
48
  optional int32 total_pages = 2;
47
49
  optional int32 total_items = 3;
50
+ }
51
+ //Payment
52
+ message PaymentItem {
53
+ string date = 1;
54
+ optional string provider = 2;
55
+ optional string method = 3;
56
+ optional int32 total_deposits_count = 4;
57
+ optional int32 total_pending_count = 5;
58
+ optional int32 total_failed_count = 6;
59
+ optional int32 total_succeed_count = 7;
60
+ optional float total_conversion = 8;
61
+ optional float success_to_failure = 9;
62
+ optional int32 total_processed_count = 10;
63
+ }
64
+ message PaymentProvidersResponse {
65
+ repeated PaymentItem items = 1;
66
+ optional int32 total_pages = 2;
67
+ optional int32 total_items = 3;
48
68
  }
@@ -26,6 +26,17 @@ function deserialize_analytic_PaginationRequest(buffer_arg) {
26
26
  return analytic_pb.PaginationRequest.deserializeBinary(new Uint8Array(buffer_arg));
27
27
  }
28
28
 
29
+ function serialize_analytic_PaymentProvidersResponse(arg) {
30
+ if (!(arg instanceof analytic_pb.PaymentProvidersResponse)) {
31
+ throw new Error('Expected argument of type analytic.PaymentProvidersResponse');
32
+ }
33
+ return Buffer.from(arg.serializeBinary());
34
+ }
35
+
36
+ function deserialize_analytic_PaymentProvidersResponse(buffer_arg) {
37
+ return analytic_pb.PaymentProvidersResponse.deserializeBinary(new Uint8Array(buffer_arg));
38
+ }
39
+
29
40
  function serialize_analytic_PingRequest(arg) {
30
41
  if (!(arg instanceof analytic_pb.PingRequest)) {
31
42
  throw new Error('Expected argument of type analytic.PingRequest');
@@ -73,6 +84,18 @@ getGlobalCasinoStats: {
73
84
  responseSerialize: serialize_analytic_GlobalCasinoResponse,
74
85
  responseDeserialize: deserialize_analytic_GlobalCasinoResponse,
75
86
  },
87
+ // Payment
88
+ getPaymentProvidersStats: {
89
+ path: '/analytic.Analytic/getPaymentProvidersStats',
90
+ requestStream: false,
91
+ responseStream: false,
92
+ requestType: analytic_pb.PaginationRequest,
93
+ responseType: analytic_pb.PaymentProvidersResponse,
94
+ requestSerialize: serialize_analytic_PaginationRequest,
95
+ requestDeserialize: deserialize_analytic_PaginationRequest,
96
+ responseSerialize: serialize_analytic_PaymentProvidersResponse,
97
+ responseDeserialize: deserialize_analytic_PaymentProvidersResponse,
98
+ },
76
99
  };
77
100
 
78
101
  exports.AnalyticClient = grpc.makeGenericClientConstructor(AnalyticService);
@@ -25,6 +25,8 @@ goog.exportSymbol('proto.analytic.GlobalCasinoItem', null, global);
25
25
  goog.exportSymbol('proto.analytic.GlobalCasinoResponse', null, global);
26
26
  goog.exportSymbol('proto.analytic.GlobalSearchRequest', null, global);
27
27
  goog.exportSymbol('proto.analytic.PaginationRequest', null, global);
28
+ goog.exportSymbol('proto.analytic.PaymentItem', null, global);
29
+ goog.exportSymbol('proto.analytic.PaymentProvidersResponse', null, global);
28
30
  goog.exportSymbol('proto.analytic.PingRequest', null, global);
29
31
  goog.exportSymbol('proto.analytic.PongResponse', null, global);
30
32
  /**
@@ -153,6 +155,48 @@ if (goog.DEBUG && !COMPILED) {
153
155
  */
154
156
  proto.analytic.GlobalCasinoResponse.displayName = 'proto.analytic.GlobalCasinoResponse';
155
157
  }
158
+ /**
159
+ * Generated by JsPbCodeGenerator.
160
+ * @param {Array=} opt_data Optional initial data array, typically from a
161
+ * server response, or constructed directly in Javascript. The array is used
162
+ * in place and becomes part of the constructed object. It is not cloned.
163
+ * If no data is provided, the constructed object will be empty, but still
164
+ * valid.
165
+ * @extends {jspb.Message}
166
+ * @constructor
167
+ */
168
+ proto.analytic.PaymentItem = function(opt_data) {
169
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
170
+ };
171
+ goog.inherits(proto.analytic.PaymentItem, jspb.Message);
172
+ if (goog.DEBUG && !COMPILED) {
173
+ /**
174
+ * @public
175
+ * @override
176
+ */
177
+ proto.analytic.PaymentItem.displayName = 'proto.analytic.PaymentItem';
178
+ }
179
+ /**
180
+ * Generated by JsPbCodeGenerator.
181
+ * @param {Array=} opt_data Optional initial data array, typically from a
182
+ * server response, or constructed directly in Javascript. The array is used
183
+ * in place and becomes part of the constructed object. It is not cloned.
184
+ * If no data is provided, the constructed object will be empty, but still
185
+ * valid.
186
+ * @extends {jspb.Message}
187
+ * @constructor
188
+ */
189
+ proto.analytic.PaymentProvidersResponse = function(opt_data) {
190
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.analytic.PaymentProvidersResponse.repeatedFields_, null);
191
+ };
192
+ goog.inherits(proto.analytic.PaymentProvidersResponse, jspb.Message);
193
+ if (goog.DEBUG && !COMPILED) {
194
+ /**
195
+ * @public
196
+ * @override
197
+ */
198
+ proto.analytic.PaymentProvidersResponse.displayName = 'proto.analytic.PaymentProvidersResponse';
199
+ }
156
200
 
157
201
 
158
202
 
@@ -2214,4 +2258,822 @@ proto.analytic.GlobalCasinoResponse.prototype.hasTotalItems = function() {
2214
2258
  };
2215
2259
 
2216
2260
 
2261
+
2262
+
2263
+
2264
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2265
+ /**
2266
+ * Creates an object representation of this proto.
2267
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2268
+ * Optional fields that are not set will be set to undefined.
2269
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2270
+ * For the list of reserved names please see:
2271
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2272
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2273
+ * JSPB instance for transitional soy proto support:
2274
+ * http://goto/soy-param-migration
2275
+ * @return {!Object}
2276
+ */
2277
+ proto.analytic.PaymentItem.prototype.toObject = function(opt_includeInstance) {
2278
+ return proto.analytic.PaymentItem.toObject(opt_includeInstance, this);
2279
+ };
2280
+
2281
+
2282
+ /**
2283
+ * Static version of the {@see toObject} method.
2284
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2285
+ * the JSPB instance for transitional soy proto support:
2286
+ * http://goto/soy-param-migration
2287
+ * @param {!proto.analytic.PaymentItem} msg The msg instance to transform.
2288
+ * @return {!Object}
2289
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2290
+ */
2291
+ proto.analytic.PaymentItem.toObject = function(includeInstance, msg) {
2292
+ var f, obj = {
2293
+ date: jspb.Message.getFieldWithDefault(msg, 1, ""),
2294
+ provider: jspb.Message.getFieldWithDefault(msg, 2, ""),
2295
+ method: jspb.Message.getFieldWithDefault(msg, 3, ""),
2296
+ totalDepositsCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
2297
+ totalPendingCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
2298
+ totalFailedCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
2299
+ totalSucceedCount: jspb.Message.getFieldWithDefault(msg, 7, 0),
2300
+ totalConversion: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
2301
+ successToFailure: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
2302
+ totalProcessedCount: jspb.Message.getFieldWithDefault(msg, 10, 0)
2303
+ };
2304
+
2305
+ if (includeInstance) {
2306
+ obj.$jspbMessageInstance = msg;
2307
+ }
2308
+ return obj;
2309
+ };
2310
+ }
2311
+
2312
+
2313
+ /**
2314
+ * Deserializes binary data (in protobuf wire format).
2315
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2316
+ * @return {!proto.analytic.PaymentItem}
2317
+ */
2318
+ proto.analytic.PaymentItem.deserializeBinary = function(bytes) {
2319
+ var reader = new jspb.BinaryReader(bytes);
2320
+ var msg = new proto.analytic.PaymentItem;
2321
+ return proto.analytic.PaymentItem.deserializeBinaryFromReader(msg, reader);
2322
+ };
2323
+
2324
+
2325
+ /**
2326
+ * Deserializes binary data (in protobuf wire format) from the
2327
+ * given reader into the given message object.
2328
+ * @param {!proto.analytic.PaymentItem} msg The message object to deserialize into.
2329
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2330
+ * @return {!proto.analytic.PaymentItem}
2331
+ */
2332
+ proto.analytic.PaymentItem.deserializeBinaryFromReader = function(msg, reader) {
2333
+ while (reader.nextField()) {
2334
+ if (reader.isEndGroup()) {
2335
+ break;
2336
+ }
2337
+ var field = reader.getFieldNumber();
2338
+ switch (field) {
2339
+ case 1:
2340
+ var value = /** @type {string} */ (reader.readString());
2341
+ msg.setDate(value);
2342
+ break;
2343
+ case 2:
2344
+ var value = /** @type {string} */ (reader.readString());
2345
+ msg.setProvider(value);
2346
+ break;
2347
+ case 3:
2348
+ var value = /** @type {string} */ (reader.readString());
2349
+ msg.setMethod(value);
2350
+ break;
2351
+ case 4:
2352
+ var value = /** @type {number} */ (reader.readInt32());
2353
+ msg.setTotalDepositsCount(value);
2354
+ break;
2355
+ case 5:
2356
+ var value = /** @type {number} */ (reader.readInt32());
2357
+ msg.setTotalPendingCount(value);
2358
+ break;
2359
+ case 6:
2360
+ var value = /** @type {number} */ (reader.readInt32());
2361
+ msg.setTotalFailedCount(value);
2362
+ break;
2363
+ case 7:
2364
+ var value = /** @type {number} */ (reader.readInt32());
2365
+ msg.setTotalSucceedCount(value);
2366
+ break;
2367
+ case 8:
2368
+ var value = /** @type {number} */ (reader.readFloat());
2369
+ msg.setTotalConversion(value);
2370
+ break;
2371
+ case 9:
2372
+ var value = /** @type {number} */ (reader.readFloat());
2373
+ msg.setSuccessToFailure(value);
2374
+ break;
2375
+ case 10:
2376
+ var value = /** @type {number} */ (reader.readInt32());
2377
+ msg.setTotalProcessedCount(value);
2378
+ break;
2379
+ default:
2380
+ reader.skipField();
2381
+ break;
2382
+ }
2383
+ }
2384
+ return msg;
2385
+ };
2386
+
2387
+
2388
+ /**
2389
+ * Serializes the message to binary data (in protobuf wire format).
2390
+ * @return {!Uint8Array}
2391
+ */
2392
+ proto.analytic.PaymentItem.prototype.serializeBinary = function() {
2393
+ var writer = new jspb.BinaryWriter();
2394
+ proto.analytic.PaymentItem.serializeBinaryToWriter(this, writer);
2395
+ return writer.getResultBuffer();
2396
+ };
2397
+
2398
+
2399
+ /**
2400
+ * Serializes the given message to binary data (in protobuf wire
2401
+ * format), writing to the given BinaryWriter.
2402
+ * @param {!proto.analytic.PaymentItem} message
2403
+ * @param {!jspb.BinaryWriter} writer
2404
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2405
+ */
2406
+ proto.analytic.PaymentItem.serializeBinaryToWriter = function(message, writer) {
2407
+ var f = undefined;
2408
+ f = message.getDate();
2409
+ if (f.length > 0) {
2410
+ writer.writeString(
2411
+ 1,
2412
+ f
2413
+ );
2414
+ }
2415
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
2416
+ if (f != null) {
2417
+ writer.writeString(
2418
+ 2,
2419
+ f
2420
+ );
2421
+ }
2422
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
2423
+ if (f != null) {
2424
+ writer.writeString(
2425
+ 3,
2426
+ f
2427
+ );
2428
+ }
2429
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
2430
+ if (f != null) {
2431
+ writer.writeInt32(
2432
+ 4,
2433
+ f
2434
+ );
2435
+ }
2436
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
2437
+ if (f != null) {
2438
+ writer.writeInt32(
2439
+ 5,
2440
+ f
2441
+ );
2442
+ }
2443
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
2444
+ if (f != null) {
2445
+ writer.writeInt32(
2446
+ 6,
2447
+ f
2448
+ );
2449
+ }
2450
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
2451
+ if (f != null) {
2452
+ writer.writeInt32(
2453
+ 7,
2454
+ f
2455
+ );
2456
+ }
2457
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
2458
+ if (f != null) {
2459
+ writer.writeFloat(
2460
+ 8,
2461
+ f
2462
+ );
2463
+ }
2464
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
2465
+ if (f != null) {
2466
+ writer.writeFloat(
2467
+ 9,
2468
+ f
2469
+ );
2470
+ }
2471
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
2472
+ if (f != null) {
2473
+ writer.writeInt32(
2474
+ 10,
2475
+ f
2476
+ );
2477
+ }
2478
+ };
2479
+
2480
+
2481
+ /**
2482
+ * optional string date = 1;
2483
+ * @return {string}
2484
+ */
2485
+ proto.analytic.PaymentItem.prototype.getDate = function() {
2486
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2487
+ };
2488
+
2489
+
2490
+ /**
2491
+ * @param {string} value
2492
+ * @return {!proto.analytic.PaymentItem} returns this
2493
+ */
2494
+ proto.analytic.PaymentItem.prototype.setDate = function(value) {
2495
+ return jspb.Message.setProto3StringField(this, 1, value);
2496
+ };
2497
+
2498
+
2499
+ /**
2500
+ * optional string provider = 2;
2501
+ * @return {string}
2502
+ */
2503
+ proto.analytic.PaymentItem.prototype.getProvider = function() {
2504
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2505
+ };
2506
+
2507
+
2508
+ /**
2509
+ * @param {string} value
2510
+ * @return {!proto.analytic.PaymentItem} returns this
2511
+ */
2512
+ proto.analytic.PaymentItem.prototype.setProvider = function(value) {
2513
+ return jspb.Message.setField(this, 2, value);
2514
+ };
2515
+
2516
+
2517
+ /**
2518
+ * Clears the field making it undefined.
2519
+ * @return {!proto.analytic.PaymentItem} returns this
2520
+ */
2521
+ proto.analytic.PaymentItem.prototype.clearProvider = function() {
2522
+ return jspb.Message.setField(this, 2, undefined);
2523
+ };
2524
+
2525
+
2526
+ /**
2527
+ * Returns whether this field is set.
2528
+ * @return {boolean}
2529
+ */
2530
+ proto.analytic.PaymentItem.prototype.hasProvider = function() {
2531
+ return jspb.Message.getField(this, 2) != null;
2532
+ };
2533
+
2534
+
2535
+ /**
2536
+ * optional string method = 3;
2537
+ * @return {string}
2538
+ */
2539
+ proto.analytic.PaymentItem.prototype.getMethod = function() {
2540
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2541
+ };
2542
+
2543
+
2544
+ /**
2545
+ * @param {string} value
2546
+ * @return {!proto.analytic.PaymentItem} returns this
2547
+ */
2548
+ proto.analytic.PaymentItem.prototype.setMethod = function(value) {
2549
+ return jspb.Message.setField(this, 3, value);
2550
+ };
2551
+
2552
+
2553
+ /**
2554
+ * Clears the field making it undefined.
2555
+ * @return {!proto.analytic.PaymentItem} returns this
2556
+ */
2557
+ proto.analytic.PaymentItem.prototype.clearMethod = function() {
2558
+ return jspb.Message.setField(this, 3, undefined);
2559
+ };
2560
+
2561
+
2562
+ /**
2563
+ * Returns whether this field is set.
2564
+ * @return {boolean}
2565
+ */
2566
+ proto.analytic.PaymentItem.prototype.hasMethod = function() {
2567
+ return jspb.Message.getField(this, 3) != null;
2568
+ };
2569
+
2570
+
2571
+ /**
2572
+ * optional int32 total_deposits_count = 4;
2573
+ * @return {number}
2574
+ */
2575
+ proto.analytic.PaymentItem.prototype.getTotalDepositsCount = function() {
2576
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
2577
+ };
2578
+
2579
+
2580
+ /**
2581
+ * @param {number} value
2582
+ * @return {!proto.analytic.PaymentItem} returns this
2583
+ */
2584
+ proto.analytic.PaymentItem.prototype.setTotalDepositsCount = function(value) {
2585
+ return jspb.Message.setField(this, 4, value);
2586
+ };
2587
+
2588
+
2589
+ /**
2590
+ * Clears the field making it undefined.
2591
+ * @return {!proto.analytic.PaymentItem} returns this
2592
+ */
2593
+ proto.analytic.PaymentItem.prototype.clearTotalDepositsCount = function() {
2594
+ return jspb.Message.setField(this, 4, undefined);
2595
+ };
2596
+
2597
+
2598
+ /**
2599
+ * Returns whether this field is set.
2600
+ * @return {boolean}
2601
+ */
2602
+ proto.analytic.PaymentItem.prototype.hasTotalDepositsCount = function() {
2603
+ return jspb.Message.getField(this, 4) != null;
2604
+ };
2605
+
2606
+
2607
+ /**
2608
+ * optional int32 total_pending_count = 5;
2609
+ * @return {number}
2610
+ */
2611
+ proto.analytic.PaymentItem.prototype.getTotalPendingCount = function() {
2612
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
2613
+ };
2614
+
2615
+
2616
+ /**
2617
+ * @param {number} value
2618
+ * @return {!proto.analytic.PaymentItem} returns this
2619
+ */
2620
+ proto.analytic.PaymentItem.prototype.setTotalPendingCount = function(value) {
2621
+ return jspb.Message.setField(this, 5, value);
2622
+ };
2623
+
2624
+
2625
+ /**
2626
+ * Clears the field making it undefined.
2627
+ * @return {!proto.analytic.PaymentItem} returns this
2628
+ */
2629
+ proto.analytic.PaymentItem.prototype.clearTotalPendingCount = function() {
2630
+ return jspb.Message.setField(this, 5, undefined);
2631
+ };
2632
+
2633
+
2634
+ /**
2635
+ * Returns whether this field is set.
2636
+ * @return {boolean}
2637
+ */
2638
+ proto.analytic.PaymentItem.prototype.hasTotalPendingCount = function() {
2639
+ return jspb.Message.getField(this, 5) != null;
2640
+ };
2641
+
2642
+
2643
+ /**
2644
+ * optional int32 total_failed_count = 6;
2645
+ * @return {number}
2646
+ */
2647
+ proto.analytic.PaymentItem.prototype.getTotalFailedCount = function() {
2648
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
2649
+ };
2650
+
2651
+
2652
+ /**
2653
+ * @param {number} value
2654
+ * @return {!proto.analytic.PaymentItem} returns this
2655
+ */
2656
+ proto.analytic.PaymentItem.prototype.setTotalFailedCount = function(value) {
2657
+ return jspb.Message.setField(this, 6, value);
2658
+ };
2659
+
2660
+
2661
+ /**
2662
+ * Clears the field making it undefined.
2663
+ * @return {!proto.analytic.PaymentItem} returns this
2664
+ */
2665
+ proto.analytic.PaymentItem.prototype.clearTotalFailedCount = function() {
2666
+ return jspb.Message.setField(this, 6, undefined);
2667
+ };
2668
+
2669
+
2670
+ /**
2671
+ * Returns whether this field is set.
2672
+ * @return {boolean}
2673
+ */
2674
+ proto.analytic.PaymentItem.prototype.hasTotalFailedCount = function() {
2675
+ return jspb.Message.getField(this, 6) != null;
2676
+ };
2677
+
2678
+
2679
+ /**
2680
+ * optional int32 total_succeed_count = 7;
2681
+ * @return {number}
2682
+ */
2683
+ proto.analytic.PaymentItem.prototype.getTotalSucceedCount = function() {
2684
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
2685
+ };
2686
+
2687
+
2688
+ /**
2689
+ * @param {number} value
2690
+ * @return {!proto.analytic.PaymentItem} returns this
2691
+ */
2692
+ proto.analytic.PaymentItem.prototype.setTotalSucceedCount = function(value) {
2693
+ return jspb.Message.setField(this, 7, value);
2694
+ };
2695
+
2696
+
2697
+ /**
2698
+ * Clears the field making it undefined.
2699
+ * @return {!proto.analytic.PaymentItem} returns this
2700
+ */
2701
+ proto.analytic.PaymentItem.prototype.clearTotalSucceedCount = function() {
2702
+ return jspb.Message.setField(this, 7, undefined);
2703
+ };
2704
+
2705
+
2706
+ /**
2707
+ * Returns whether this field is set.
2708
+ * @return {boolean}
2709
+ */
2710
+ proto.analytic.PaymentItem.prototype.hasTotalSucceedCount = function() {
2711
+ return jspb.Message.getField(this, 7) != null;
2712
+ };
2713
+
2714
+
2715
+ /**
2716
+ * optional float total_conversion = 8;
2717
+ * @return {number}
2718
+ */
2719
+ proto.analytic.PaymentItem.prototype.getTotalConversion = function() {
2720
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
2721
+ };
2722
+
2723
+
2724
+ /**
2725
+ * @param {number} value
2726
+ * @return {!proto.analytic.PaymentItem} returns this
2727
+ */
2728
+ proto.analytic.PaymentItem.prototype.setTotalConversion = function(value) {
2729
+ return jspb.Message.setField(this, 8, value);
2730
+ };
2731
+
2732
+
2733
+ /**
2734
+ * Clears the field making it undefined.
2735
+ * @return {!proto.analytic.PaymentItem} returns this
2736
+ */
2737
+ proto.analytic.PaymentItem.prototype.clearTotalConversion = function() {
2738
+ return jspb.Message.setField(this, 8, undefined);
2739
+ };
2740
+
2741
+
2742
+ /**
2743
+ * Returns whether this field is set.
2744
+ * @return {boolean}
2745
+ */
2746
+ proto.analytic.PaymentItem.prototype.hasTotalConversion = function() {
2747
+ return jspb.Message.getField(this, 8) != null;
2748
+ };
2749
+
2750
+
2751
+ /**
2752
+ * optional float success_to_failure = 9;
2753
+ * @return {number}
2754
+ */
2755
+ proto.analytic.PaymentItem.prototype.getSuccessToFailure = function() {
2756
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
2757
+ };
2758
+
2759
+
2760
+ /**
2761
+ * @param {number} value
2762
+ * @return {!proto.analytic.PaymentItem} returns this
2763
+ */
2764
+ proto.analytic.PaymentItem.prototype.setSuccessToFailure = function(value) {
2765
+ return jspb.Message.setField(this, 9, value);
2766
+ };
2767
+
2768
+
2769
+ /**
2770
+ * Clears the field making it undefined.
2771
+ * @return {!proto.analytic.PaymentItem} returns this
2772
+ */
2773
+ proto.analytic.PaymentItem.prototype.clearSuccessToFailure = function() {
2774
+ return jspb.Message.setField(this, 9, undefined);
2775
+ };
2776
+
2777
+
2778
+ /**
2779
+ * Returns whether this field is set.
2780
+ * @return {boolean}
2781
+ */
2782
+ proto.analytic.PaymentItem.prototype.hasSuccessToFailure = function() {
2783
+ return jspb.Message.getField(this, 9) != null;
2784
+ };
2785
+
2786
+
2787
+ /**
2788
+ * optional int32 total_processed_count = 10;
2789
+ * @return {number}
2790
+ */
2791
+ proto.analytic.PaymentItem.prototype.getTotalProcessedCount = function() {
2792
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
2793
+ };
2794
+
2795
+
2796
+ /**
2797
+ * @param {number} value
2798
+ * @return {!proto.analytic.PaymentItem} returns this
2799
+ */
2800
+ proto.analytic.PaymentItem.prototype.setTotalProcessedCount = function(value) {
2801
+ return jspb.Message.setField(this, 10, value);
2802
+ };
2803
+
2804
+
2805
+ /**
2806
+ * Clears the field making it undefined.
2807
+ * @return {!proto.analytic.PaymentItem} returns this
2808
+ */
2809
+ proto.analytic.PaymentItem.prototype.clearTotalProcessedCount = function() {
2810
+ return jspb.Message.setField(this, 10, undefined);
2811
+ };
2812
+
2813
+
2814
+ /**
2815
+ * Returns whether this field is set.
2816
+ * @return {boolean}
2817
+ */
2818
+ proto.analytic.PaymentItem.prototype.hasTotalProcessedCount = function() {
2819
+ return jspb.Message.getField(this, 10) != null;
2820
+ };
2821
+
2822
+
2823
+
2824
+ /**
2825
+ * List of repeated fields within this message type.
2826
+ * @private {!Array<number>}
2827
+ * @const
2828
+ */
2829
+ proto.analytic.PaymentProvidersResponse.repeatedFields_ = [1];
2830
+
2831
+
2832
+
2833
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2834
+ /**
2835
+ * Creates an object representation of this proto.
2836
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2837
+ * Optional fields that are not set will be set to undefined.
2838
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2839
+ * For the list of reserved names please see:
2840
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2841
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2842
+ * JSPB instance for transitional soy proto support:
2843
+ * http://goto/soy-param-migration
2844
+ * @return {!Object}
2845
+ */
2846
+ proto.analytic.PaymentProvidersResponse.prototype.toObject = function(opt_includeInstance) {
2847
+ return proto.analytic.PaymentProvidersResponse.toObject(opt_includeInstance, this);
2848
+ };
2849
+
2850
+
2851
+ /**
2852
+ * Static version of the {@see toObject} method.
2853
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2854
+ * the JSPB instance for transitional soy proto support:
2855
+ * http://goto/soy-param-migration
2856
+ * @param {!proto.analytic.PaymentProvidersResponse} msg The msg instance to transform.
2857
+ * @return {!Object}
2858
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2859
+ */
2860
+ proto.analytic.PaymentProvidersResponse.toObject = function(includeInstance, msg) {
2861
+ var f, obj = {
2862
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
2863
+ proto.analytic.PaymentItem.toObject, includeInstance),
2864
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
2865
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
2866
+ };
2867
+
2868
+ if (includeInstance) {
2869
+ obj.$jspbMessageInstance = msg;
2870
+ }
2871
+ return obj;
2872
+ };
2873
+ }
2874
+
2875
+
2876
+ /**
2877
+ * Deserializes binary data (in protobuf wire format).
2878
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2879
+ * @return {!proto.analytic.PaymentProvidersResponse}
2880
+ */
2881
+ proto.analytic.PaymentProvidersResponse.deserializeBinary = function(bytes) {
2882
+ var reader = new jspb.BinaryReader(bytes);
2883
+ var msg = new proto.analytic.PaymentProvidersResponse;
2884
+ return proto.analytic.PaymentProvidersResponse.deserializeBinaryFromReader(msg, reader);
2885
+ };
2886
+
2887
+
2888
+ /**
2889
+ * Deserializes binary data (in protobuf wire format) from the
2890
+ * given reader into the given message object.
2891
+ * @param {!proto.analytic.PaymentProvidersResponse} msg The message object to deserialize into.
2892
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2893
+ * @return {!proto.analytic.PaymentProvidersResponse}
2894
+ */
2895
+ proto.analytic.PaymentProvidersResponse.deserializeBinaryFromReader = function(msg, reader) {
2896
+ while (reader.nextField()) {
2897
+ if (reader.isEndGroup()) {
2898
+ break;
2899
+ }
2900
+ var field = reader.getFieldNumber();
2901
+ switch (field) {
2902
+ case 1:
2903
+ var value = new proto.analytic.PaymentItem;
2904
+ reader.readMessage(value,proto.analytic.PaymentItem.deserializeBinaryFromReader);
2905
+ msg.addItems(value);
2906
+ break;
2907
+ case 2:
2908
+ var value = /** @type {number} */ (reader.readInt32());
2909
+ msg.setTotalPages(value);
2910
+ break;
2911
+ case 3:
2912
+ var value = /** @type {number} */ (reader.readInt32());
2913
+ msg.setTotalItems(value);
2914
+ break;
2915
+ default:
2916
+ reader.skipField();
2917
+ break;
2918
+ }
2919
+ }
2920
+ return msg;
2921
+ };
2922
+
2923
+
2924
+ /**
2925
+ * Serializes the message to binary data (in protobuf wire format).
2926
+ * @return {!Uint8Array}
2927
+ */
2928
+ proto.analytic.PaymentProvidersResponse.prototype.serializeBinary = function() {
2929
+ var writer = new jspb.BinaryWriter();
2930
+ proto.analytic.PaymentProvidersResponse.serializeBinaryToWriter(this, writer);
2931
+ return writer.getResultBuffer();
2932
+ };
2933
+
2934
+
2935
+ /**
2936
+ * Serializes the given message to binary data (in protobuf wire
2937
+ * format), writing to the given BinaryWriter.
2938
+ * @param {!proto.analytic.PaymentProvidersResponse} message
2939
+ * @param {!jspb.BinaryWriter} writer
2940
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2941
+ */
2942
+ proto.analytic.PaymentProvidersResponse.serializeBinaryToWriter = function(message, writer) {
2943
+ var f = undefined;
2944
+ f = message.getItemsList();
2945
+ if (f.length > 0) {
2946
+ writer.writeRepeatedMessage(
2947
+ 1,
2948
+ f,
2949
+ proto.analytic.PaymentItem.serializeBinaryToWriter
2950
+ );
2951
+ }
2952
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
2953
+ if (f != null) {
2954
+ writer.writeInt32(
2955
+ 2,
2956
+ f
2957
+ );
2958
+ }
2959
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
2960
+ if (f != null) {
2961
+ writer.writeInt32(
2962
+ 3,
2963
+ f
2964
+ );
2965
+ }
2966
+ };
2967
+
2968
+
2969
+ /**
2970
+ * repeated PaymentItem items = 1;
2971
+ * @return {!Array<!proto.analytic.PaymentItem>}
2972
+ */
2973
+ proto.analytic.PaymentProvidersResponse.prototype.getItemsList = function() {
2974
+ return /** @type{!Array<!proto.analytic.PaymentItem>} */ (
2975
+ jspb.Message.getRepeatedWrapperField(this, proto.analytic.PaymentItem, 1));
2976
+ };
2977
+
2978
+
2979
+ /**
2980
+ * @param {!Array<!proto.analytic.PaymentItem>} value
2981
+ * @return {!proto.analytic.PaymentProvidersResponse} returns this
2982
+ */
2983
+ proto.analytic.PaymentProvidersResponse.prototype.setItemsList = function(value) {
2984
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2985
+ };
2986
+
2987
+
2988
+ /**
2989
+ * @param {!proto.analytic.PaymentItem=} opt_value
2990
+ * @param {number=} opt_index
2991
+ * @return {!proto.analytic.PaymentItem}
2992
+ */
2993
+ proto.analytic.PaymentProvidersResponse.prototype.addItems = function(opt_value, opt_index) {
2994
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.analytic.PaymentItem, opt_index);
2995
+ };
2996
+
2997
+
2998
+ /**
2999
+ * Clears the list making it empty but non-null.
3000
+ * @return {!proto.analytic.PaymentProvidersResponse} returns this
3001
+ */
3002
+ proto.analytic.PaymentProvidersResponse.prototype.clearItemsList = function() {
3003
+ return this.setItemsList([]);
3004
+ };
3005
+
3006
+
3007
+ /**
3008
+ * optional int32 total_pages = 2;
3009
+ * @return {number}
3010
+ */
3011
+ proto.analytic.PaymentProvidersResponse.prototype.getTotalPages = function() {
3012
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3013
+ };
3014
+
3015
+
3016
+ /**
3017
+ * @param {number} value
3018
+ * @return {!proto.analytic.PaymentProvidersResponse} returns this
3019
+ */
3020
+ proto.analytic.PaymentProvidersResponse.prototype.setTotalPages = function(value) {
3021
+ return jspb.Message.setField(this, 2, value);
3022
+ };
3023
+
3024
+
3025
+ /**
3026
+ * Clears the field making it undefined.
3027
+ * @return {!proto.analytic.PaymentProvidersResponse} returns this
3028
+ */
3029
+ proto.analytic.PaymentProvidersResponse.prototype.clearTotalPages = function() {
3030
+ return jspb.Message.setField(this, 2, undefined);
3031
+ };
3032
+
3033
+
3034
+ /**
3035
+ * Returns whether this field is set.
3036
+ * @return {boolean}
3037
+ */
3038
+ proto.analytic.PaymentProvidersResponse.prototype.hasTotalPages = function() {
3039
+ return jspb.Message.getField(this, 2) != null;
3040
+ };
3041
+
3042
+
3043
+ /**
3044
+ * optional int32 total_items = 3;
3045
+ * @return {number}
3046
+ */
3047
+ proto.analytic.PaymentProvidersResponse.prototype.getTotalItems = function() {
3048
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
3049
+ };
3050
+
3051
+
3052
+ /**
3053
+ * @param {number} value
3054
+ * @return {!proto.analytic.PaymentProvidersResponse} returns this
3055
+ */
3056
+ proto.analytic.PaymentProvidersResponse.prototype.setTotalItems = function(value) {
3057
+ return jspb.Message.setField(this, 3, value);
3058
+ };
3059
+
3060
+
3061
+ /**
3062
+ * Clears the field making it undefined.
3063
+ * @return {!proto.analytic.PaymentProvidersResponse} returns this
3064
+ */
3065
+ proto.analytic.PaymentProvidersResponse.prototype.clearTotalItems = function() {
3066
+ return jspb.Message.setField(this, 3, undefined);
3067
+ };
3068
+
3069
+
3070
+ /**
3071
+ * Returns whether this field is set.
3072
+ * @return {boolean}
3073
+ */
3074
+ proto.analytic.PaymentProvidersResponse.prototype.hasTotalItems = function() {
3075
+ return jspb.Message.getField(this, 3) != null;
3076
+ };
3077
+
3078
+
2217
3079
  goog.object.extend(exports, proto.analytic);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.256",
3
+ "version": "1.0.258",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,6 +17,7 @@ service Payment {
17
17
  rpc updateSingleMethod(stream MethodRequest) returns (MethodResponse);
18
18
  rpc deleteSingleMethod(GetMethodRequest) returns (PaymentStatusResponse);
19
19
  rpc readListMethods(PaginationRequest) returns (MethodItemsResponse);
20
+ rpc readListPoorMethods(PoorMethodsRequest) returns (MethodItemsResponse);
20
21
  //Deposit
21
22
  rpc attemptDeposit(AttemptDepositRequest) returns (DepositResponse);
22
23
  rpc changeDepositStatus(GetDepositRequest) returns (DepositResponse);
@@ -122,6 +123,9 @@ message MethodItemsResponse {
122
123
  optional int32 total_pages = 2;
123
124
  optional int32 total_items = 3;
124
125
  }
126
+ message PoorMethodsRequest {
127
+ repeated int32 method_ids = 1;
128
+ }
125
129
  //Deposit
126
130
  message AttemptDepositRequest {
127
131
  int32 payment_method_id = 1;
@@ -191,6 +191,17 @@ function deserialize_payment_PongResponse(buffer_arg) {
191
191
  return payment_pb.PongResponse.deserializeBinary(new Uint8Array(buffer_arg));
192
192
  }
193
193
 
194
+ function serialize_payment_PoorMethodsRequest(arg) {
195
+ if (!(arg instanceof payment_pb.PoorMethodsRequest)) {
196
+ throw new Error('Expected argument of type payment.PoorMethodsRequest');
197
+ }
198
+ return Buffer.from(arg.serializeBinary());
199
+ }
200
+
201
+ function deserialize_payment_PoorMethodsRequest(buffer_arg) {
202
+ return payment_pb.PoorMethodsRequest.deserializeBinary(new Uint8Array(buffer_arg));
203
+ }
204
+
194
205
  function serialize_payment_ProviderItemsResponse(arg) {
195
206
  if (!(arg instanceof payment_pb.ProviderItemsResponse)) {
196
207
  throw new Error('Expected argument of type payment.ProviderItemsResponse');
@@ -382,6 +393,17 @@ createSingleMethod: {
382
393
  responseSerialize: serialize_payment_MethodItemsResponse,
383
394
  responseDeserialize: deserialize_payment_MethodItemsResponse,
384
395
  },
396
+ readListPoorMethods: {
397
+ path: '/payment.Payment/readListPoorMethods',
398
+ requestStream: false,
399
+ responseStream: false,
400
+ requestType: payment_pb.PoorMethodsRequest,
401
+ responseType: payment_pb.MethodItemsResponse,
402
+ requestSerialize: serialize_payment_PoorMethodsRequest,
403
+ requestDeserialize: deserialize_payment_PoorMethodsRequest,
404
+ responseSerialize: serialize_payment_MethodItemsResponse,
405
+ responseDeserialize: deserialize_payment_MethodItemsResponse,
406
+ },
385
407
  // Deposit
386
408
  attemptDeposit: {
387
409
  path: '/payment.Payment/attemptDeposit',
@@ -44,6 +44,7 @@ goog.exportSymbol('proto.payment.PaymentSearchRequest', null, global);
44
44
  goog.exportSymbol('proto.payment.PaymentStatusResponse', null, global);
45
45
  goog.exportSymbol('proto.payment.PingRequest', null, global);
46
46
  goog.exportSymbol('proto.payment.PongResponse', null, global);
47
+ goog.exportSymbol('proto.payment.PoorMethodsRequest', null, global);
47
48
  goog.exportSymbol('proto.payment.ProviderItem', null, global);
48
49
  goog.exportSymbol('proto.payment.ProviderItemRequest', null, global);
49
50
  goog.exportSymbol('proto.payment.ProviderItemsResponse', null, global);
@@ -452,6 +453,27 @@ if (goog.DEBUG && !COMPILED) {
452
453
  */
453
454
  proto.payment.MethodItemsResponse.displayName = 'proto.payment.MethodItemsResponse';
454
455
  }
456
+ /**
457
+ * Generated by JsPbCodeGenerator.
458
+ * @param {Array=} opt_data Optional initial data array, typically from a
459
+ * server response, or constructed directly in Javascript. The array is used
460
+ * in place and becomes part of the constructed object. It is not cloned.
461
+ * If no data is provided, the constructed object will be empty, but still
462
+ * valid.
463
+ * @extends {jspb.Message}
464
+ * @constructor
465
+ */
466
+ proto.payment.PoorMethodsRequest = function(opt_data) {
467
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payment.PoorMethodsRequest.repeatedFields_, null);
468
+ };
469
+ goog.inherits(proto.payment.PoorMethodsRequest, jspb.Message);
470
+ if (goog.DEBUG && !COMPILED) {
471
+ /**
472
+ * @public
473
+ * @override
474
+ */
475
+ proto.payment.PoorMethodsRequest.displayName = 'proto.payment.PoorMethodsRequest';
476
+ }
455
477
  /**
456
478
  * Generated by JsPbCodeGenerator.
457
479
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5486,6 +5508,164 @@ proto.payment.MethodItemsResponse.prototype.hasTotalItems = function() {
5486
5508
 
5487
5509
 
5488
5510
 
5511
+ /**
5512
+ * List of repeated fields within this message type.
5513
+ * @private {!Array<number>}
5514
+ * @const
5515
+ */
5516
+ proto.payment.PoorMethodsRequest.repeatedFields_ = [1];
5517
+
5518
+
5519
+
5520
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5521
+ /**
5522
+ * Creates an object representation of this proto.
5523
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5524
+ * Optional fields that are not set will be set to undefined.
5525
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5526
+ * For the list of reserved names please see:
5527
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5528
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5529
+ * JSPB instance for transitional soy proto support:
5530
+ * http://goto/soy-param-migration
5531
+ * @return {!Object}
5532
+ */
5533
+ proto.payment.PoorMethodsRequest.prototype.toObject = function(opt_includeInstance) {
5534
+ return proto.payment.PoorMethodsRequest.toObject(opt_includeInstance, this);
5535
+ };
5536
+
5537
+
5538
+ /**
5539
+ * Static version of the {@see toObject} method.
5540
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5541
+ * the JSPB instance for transitional soy proto support:
5542
+ * http://goto/soy-param-migration
5543
+ * @param {!proto.payment.PoorMethodsRequest} msg The msg instance to transform.
5544
+ * @return {!Object}
5545
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5546
+ */
5547
+ proto.payment.PoorMethodsRequest.toObject = function(includeInstance, msg) {
5548
+ var f, obj = {
5549
+ methodIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
5550
+ };
5551
+
5552
+ if (includeInstance) {
5553
+ obj.$jspbMessageInstance = msg;
5554
+ }
5555
+ return obj;
5556
+ };
5557
+ }
5558
+
5559
+
5560
+ /**
5561
+ * Deserializes binary data (in protobuf wire format).
5562
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5563
+ * @return {!proto.payment.PoorMethodsRequest}
5564
+ */
5565
+ proto.payment.PoorMethodsRequest.deserializeBinary = function(bytes) {
5566
+ var reader = new jspb.BinaryReader(bytes);
5567
+ var msg = new proto.payment.PoorMethodsRequest;
5568
+ return proto.payment.PoorMethodsRequest.deserializeBinaryFromReader(msg, reader);
5569
+ };
5570
+
5571
+
5572
+ /**
5573
+ * Deserializes binary data (in protobuf wire format) from the
5574
+ * given reader into the given message object.
5575
+ * @param {!proto.payment.PoorMethodsRequest} msg The message object to deserialize into.
5576
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5577
+ * @return {!proto.payment.PoorMethodsRequest}
5578
+ */
5579
+ proto.payment.PoorMethodsRequest.deserializeBinaryFromReader = function(msg, reader) {
5580
+ while (reader.nextField()) {
5581
+ if (reader.isEndGroup()) {
5582
+ break;
5583
+ }
5584
+ var field = reader.getFieldNumber();
5585
+ switch (field) {
5586
+ case 1:
5587
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
5588
+ for (var i = 0; i < values.length; i++) {
5589
+ msg.addMethodIds(values[i]);
5590
+ }
5591
+ break;
5592
+ default:
5593
+ reader.skipField();
5594
+ break;
5595
+ }
5596
+ }
5597
+ return msg;
5598
+ };
5599
+
5600
+
5601
+ /**
5602
+ * Serializes the message to binary data (in protobuf wire format).
5603
+ * @return {!Uint8Array}
5604
+ */
5605
+ proto.payment.PoorMethodsRequest.prototype.serializeBinary = function() {
5606
+ var writer = new jspb.BinaryWriter();
5607
+ proto.payment.PoorMethodsRequest.serializeBinaryToWriter(this, writer);
5608
+ return writer.getResultBuffer();
5609
+ };
5610
+
5611
+
5612
+ /**
5613
+ * Serializes the given message to binary data (in protobuf wire
5614
+ * format), writing to the given BinaryWriter.
5615
+ * @param {!proto.payment.PoorMethodsRequest} message
5616
+ * @param {!jspb.BinaryWriter} writer
5617
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5618
+ */
5619
+ proto.payment.PoorMethodsRequest.serializeBinaryToWriter = function(message, writer) {
5620
+ var f = undefined;
5621
+ f = message.getMethodIdsList();
5622
+ if (f.length > 0) {
5623
+ writer.writePackedInt32(
5624
+ 1,
5625
+ f
5626
+ );
5627
+ }
5628
+ };
5629
+
5630
+
5631
+ /**
5632
+ * repeated int32 method_ids = 1;
5633
+ * @return {!Array<number>}
5634
+ */
5635
+ proto.payment.PoorMethodsRequest.prototype.getMethodIdsList = function() {
5636
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
5637
+ };
5638
+
5639
+
5640
+ /**
5641
+ * @param {!Array<number>} value
5642
+ * @return {!proto.payment.PoorMethodsRequest} returns this
5643
+ */
5644
+ proto.payment.PoorMethodsRequest.prototype.setMethodIdsList = function(value) {
5645
+ return jspb.Message.setField(this, 1, value || []);
5646
+ };
5647
+
5648
+
5649
+ /**
5650
+ * @param {number} value
5651
+ * @param {number=} opt_index
5652
+ * @return {!proto.payment.PoorMethodsRequest} returns this
5653
+ */
5654
+ proto.payment.PoorMethodsRequest.prototype.addMethodIds = function(value, opt_index) {
5655
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
5656
+ };
5657
+
5658
+
5659
+ /**
5660
+ * Clears the list making it empty but non-null.
5661
+ * @return {!proto.payment.PoorMethodsRequest} returns this
5662
+ */
5663
+ proto.payment.PoorMethodsRequest.prototype.clearMethodIdsList = function() {
5664
+ return this.setMethodIdsList([]);
5665
+ };
5666
+
5667
+
5668
+
5489
5669
 
5490
5670
 
5491
5671
  if (jspb.Message.GENERATE_TO_OBJECT) {