@sniipwebmaster/payment-methods-client-grpcweb 26.9.9060 → 26.9.9079

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.
@@ -35,6 +35,8 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodD
35
35
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.AlternativePaymentMethodType', null, global);
36
36
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ApplePay', null, global);
37
37
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ApplePayDetail', null, global);
38
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest', null, global);
39
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse', null, global);
38
40
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankAccount', null, global);
39
41
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankAccountStatus', null, global);
40
42
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BankAccountVerifyRequest', null, global);
@@ -44,6 +46,7 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BillConfigForPayment', nu
44
46
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BillConfigForPayment.RejectionReason', null, global);
45
47
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentRequest', null, global);
46
48
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BillConfigsForPaymentResponse', null, global);
49
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BinLookupSummary', null, global);
47
50
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.BrowserInfo', null, global);
48
51
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentRequest', null, global);
49
52
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CancelPayToAmendmentResponse', null, global);
@@ -62,6 +65,8 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreateUserPaymentMethodGr
62
65
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCard', null, global);
63
66
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardForPaymentRequest', null, global);
64
67
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.CreditCardVerifyRequest', null, global);
68
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest', null, global);
69
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse', null, global);
65
70
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ExtendBankVerifyCodeExpiryRequest', null, global);
66
71
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ExtendBankVerifyCodeExpiryResponse', null, global);
67
72
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.File', null, global);
@@ -70,6 +75,8 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.Gateway', null, global);
70
75
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetAcceptedPaymentMethodsByGroupIdRequest', null, global);
71
76
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetActivatedPaymentMethodRequest', null, global);
72
77
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetBankVerifyCodeRequest', null, global);
78
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest', null, global);
79
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse', null, global);
73
80
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashRequest', null, global);
74
81
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCardHashesForUserRequest', null, global);
75
82
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.GetCreditCardForPaymentRequest', null, global);
@@ -136,6 +143,8 @@ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResetAmendRejectedFlagReq
136
143
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.ResponseCode', null, global);
137
144
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RetryPayToAgreementRequest', null, global);
138
145
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RetryPayToAgreementResponse', null, global);
146
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest', null, global);
147
+ goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse', null, global);
139
148
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.RevokeUserPaymentMethodGroupOverrideRequest', null, global);
140
149
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.SendPaymentMethodExpiringForScheduledPaymentsNotificationRequest', null, global);
141
150
  goog.exportSymbol('proto.sniippaymentmethodsserviceapi.UpdateBankAccount', null, global);
@@ -2221,6 +2230,195 @@ if (goog.DEBUG && !COMPILED) {
2221
2230
  */
2222
2231
  proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.displayName = 'proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest';
2223
2232
  }
2233
+ /**
2234
+ * Generated by JsPbCodeGenerator.
2235
+ * @param {Array=} opt_data Optional initial data array, typically from a
2236
+ * server response, or constructed directly in Javascript. The array is used
2237
+ * in place and becomes part of the constructed object. It is not cloned.
2238
+ * If no data is provided, the constructed object will be empty, but still
2239
+ * valid.
2240
+ * @extends {jspb.Message}
2241
+ * @constructor
2242
+ */
2243
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest = function(opt_data) {
2244
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2245
+ };
2246
+ goog.inherits(proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest, jspb.Message);
2247
+ if (goog.DEBUG && !COMPILED) {
2248
+ /**
2249
+ * @public
2250
+ * @override
2251
+ */
2252
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.displayName = 'proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest';
2253
+ }
2254
+ /**
2255
+ * Generated by JsPbCodeGenerator.
2256
+ * @param {Array=} opt_data Optional initial data array, typically from a
2257
+ * server response, or constructed directly in Javascript. The array is used
2258
+ * in place and becomes part of the constructed object. It is not cloned.
2259
+ * If no data is provided, the constructed object will be empty, but still
2260
+ * valid.
2261
+ * @extends {jspb.Message}
2262
+ * @constructor
2263
+ */
2264
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest = function(opt_data) {
2265
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2266
+ };
2267
+ goog.inherits(proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest, jspb.Message);
2268
+ if (goog.DEBUG && !COMPILED) {
2269
+ /**
2270
+ * @public
2271
+ * @override
2272
+ */
2273
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.displayName = 'proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest';
2274
+ }
2275
+ /**
2276
+ * Generated by JsPbCodeGenerator.
2277
+ * @param {Array=} opt_data Optional initial data array, typically from a
2278
+ * server response, or constructed directly in Javascript. The array is used
2279
+ * in place and becomes part of the constructed object. It is not cloned.
2280
+ * If no data is provided, the constructed object will be empty, but still
2281
+ * valid.
2282
+ * @extends {jspb.Message}
2283
+ * @constructor
2284
+ */
2285
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary = function(opt_data) {
2286
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2287
+ };
2288
+ goog.inherits(proto.sniippaymentmethodsserviceapi.BinLookupSummary, jspb.Message);
2289
+ if (goog.DEBUG && !COMPILED) {
2290
+ /**
2291
+ * @public
2292
+ * @override
2293
+ */
2294
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.displayName = 'proto.sniippaymentmethodsserviceapi.BinLookupSummary';
2295
+ }
2296
+ /**
2297
+ * Generated by JsPbCodeGenerator.
2298
+ * @param {Array=} opt_data Optional initial data array, typically from a
2299
+ * server response, or constructed directly in Javascript. The array is used
2300
+ * in place and becomes part of the constructed object. It is not cloned.
2301
+ * If no data is provided, the constructed object will be empty, but still
2302
+ * valid.
2303
+ * @extends {jspb.Message}
2304
+ * @constructor
2305
+ */
2306
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse = function(opt_data) {
2307
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.repeatedFields_, null);
2308
+ };
2309
+ goog.inherits(proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse, jspb.Message);
2310
+ if (goog.DEBUG && !COMPILED) {
2311
+ /**
2312
+ * @public
2313
+ * @override
2314
+ */
2315
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.displayName = 'proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse';
2316
+ }
2317
+ /**
2318
+ * Generated by JsPbCodeGenerator.
2319
+ * @param {Array=} opt_data Optional initial data array, typically from a
2320
+ * server response, or constructed directly in Javascript. The array is used
2321
+ * in place and becomes part of the constructed object. It is not cloned.
2322
+ * If no data is provided, the constructed object will be empty, but still
2323
+ * valid.
2324
+ * @extends {jspb.Message}
2325
+ * @constructor
2326
+ */
2327
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest = function(opt_data) {
2328
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2329
+ };
2330
+ goog.inherits(proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest, jspb.Message);
2331
+ if (goog.DEBUG && !COMPILED) {
2332
+ /**
2333
+ * @public
2334
+ * @override
2335
+ */
2336
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.displayName = 'proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest';
2337
+ }
2338
+ /**
2339
+ * Generated by JsPbCodeGenerator.
2340
+ * @param {Array=} opt_data Optional initial data array, typically from a
2341
+ * server response, or constructed directly in Javascript. The array is used
2342
+ * in place and becomes part of the constructed object. It is not cloned.
2343
+ * If no data is provided, the constructed object will be empty, but still
2344
+ * valid.
2345
+ * @extends {jspb.Message}
2346
+ * @constructor
2347
+ */
2348
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse = function(opt_data) {
2349
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2350
+ };
2351
+ goog.inherits(proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse, jspb.Message);
2352
+ if (goog.DEBUG && !COMPILED) {
2353
+ /**
2354
+ * @public
2355
+ * @override
2356
+ */
2357
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.displayName = 'proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse';
2358
+ }
2359
+ /**
2360
+ * Generated by JsPbCodeGenerator.
2361
+ * @param {Array=} opt_data Optional initial data array, typically from a
2362
+ * server response, or constructed directly in Javascript. The array is used
2363
+ * in place and becomes part of the constructed object. It is not cloned.
2364
+ * If no data is provided, the constructed object will be empty, but still
2365
+ * valid.
2366
+ * @extends {jspb.Message}
2367
+ * @constructor
2368
+ */
2369
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest = function(opt_data) {
2370
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2371
+ };
2372
+ goog.inherits(proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest, jspb.Message);
2373
+ if (goog.DEBUG && !COMPILED) {
2374
+ /**
2375
+ * @public
2376
+ * @override
2377
+ */
2378
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.displayName = 'proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest';
2379
+ }
2380
+ /**
2381
+ * Generated by JsPbCodeGenerator.
2382
+ * @param {Array=} opt_data Optional initial data array, typically from a
2383
+ * server response, or constructed directly in Javascript. The array is used
2384
+ * in place and becomes part of the constructed object. It is not cloned.
2385
+ * If no data is provided, the constructed object will be empty, but still
2386
+ * valid.
2387
+ * @extends {jspb.Message}
2388
+ * @constructor
2389
+ */
2390
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse = function(opt_data) {
2391
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2392
+ };
2393
+ goog.inherits(proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse, jspb.Message);
2394
+ if (goog.DEBUG && !COMPILED) {
2395
+ /**
2396
+ * @public
2397
+ * @override
2398
+ */
2399
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.displayName = 'proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse';
2400
+ }
2401
+ /**
2402
+ * Generated by JsPbCodeGenerator.
2403
+ * @param {Array=} opt_data Optional initial data array, typically from a
2404
+ * server response, or constructed directly in Javascript. The array is used
2405
+ * in place and becomes part of the constructed object. It is not cloned.
2406
+ * If no data is provided, the constructed object will be empty, but still
2407
+ * valid.
2408
+ * @extends {jspb.Message}
2409
+ * @constructor
2410
+ */
2411
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse = function(opt_data) {
2412
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2413
+ };
2414
+ goog.inherits(proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse, jspb.Message);
2415
+ if (goog.DEBUG && !COMPILED) {
2416
+ /**
2417
+ * @public
2418
+ * @override
2419
+ */
2420
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.displayName = 'proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse';
2421
+ }
2224
2422
  /**
2225
2423
  * Generated by JsPbCodeGenerator.
2226
2424
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -28764,6 +28962,2070 @@ proto.sniippaymentmethodsserviceapi.UpdateMasterBinLookupOverrideRequest.prototy
28764
28962
 
28765
28963
 
28766
28964
 
28965
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28966
+ /**
28967
+ * Creates an object representation of this proto.
28968
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28969
+ * Optional fields that are not set will be set to undefined.
28970
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28971
+ * For the list of reserved names please see:
28972
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28973
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28974
+ * JSPB instance for transitional soy proto support:
28975
+ * http://goto/soy-param-migration
28976
+ * @return {!Object}
28977
+ */
28978
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.prototype.toObject = function(opt_includeInstance) {
28979
+ return proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.toObject(opt_includeInstance, this);
28980
+ };
28981
+
28982
+
28983
+ /**
28984
+ * Static version of the {@see toObject} method.
28985
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28986
+ * the JSPB instance for transitional soy proto support:
28987
+ * http://goto/soy-param-migration
28988
+ * @param {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest} msg The msg instance to transform.
28989
+ * @return {!Object}
28990
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28991
+ */
28992
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.toObject = function(includeInstance, msg) {
28993
+ var f, obj = {
28994
+ batchsize: jspb.Message.getFieldWithDefault(msg, 1, 0),
28995
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
28996
+ dryrun: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
28997
+ systemauth: jspb.Message.getFieldWithDefault(msg, 4, "")
28998
+ };
28999
+
29000
+ if (includeInstance) {
29001
+ obj.$jspbMessageInstance = msg;
29002
+ }
29003
+ return obj;
29004
+ };
29005
+ }
29006
+
29007
+
29008
+ /**
29009
+ * Deserializes binary data (in protobuf wire format).
29010
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29011
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest}
29012
+ */
29013
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.deserializeBinary = function(bytes) {
29014
+ var reader = new jspb.BinaryReader(bytes);
29015
+ var msg = new proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest;
29016
+ return proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.deserializeBinaryFromReader(msg, reader);
29017
+ };
29018
+
29019
+
29020
+ /**
29021
+ * Deserializes binary data (in protobuf wire format) from the
29022
+ * given reader into the given message object.
29023
+ * @param {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest} msg The message object to deserialize into.
29024
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29025
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest}
29026
+ */
29027
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.deserializeBinaryFromReader = function(msg, reader) {
29028
+ while (reader.nextField()) {
29029
+ if (reader.isEndGroup()) {
29030
+ break;
29031
+ }
29032
+ var field = reader.getFieldNumber();
29033
+ switch (field) {
29034
+ case 1:
29035
+ var value = /** @type {number} */ (reader.readInt32());
29036
+ msg.setBatchsize(value);
29037
+ break;
29038
+ case 2:
29039
+ var value = /** @type {number} */ (reader.readInt32());
29040
+ msg.setLimit(value);
29041
+ break;
29042
+ case 3:
29043
+ var value = /** @type {boolean} */ (reader.readBool());
29044
+ msg.setDryrun(value);
29045
+ break;
29046
+ case 4:
29047
+ var value = /** @type {string} */ (reader.readString());
29048
+ msg.setSystemauth(value);
29049
+ break;
29050
+ default:
29051
+ reader.skipField();
29052
+ break;
29053
+ }
29054
+ }
29055
+ return msg;
29056
+ };
29057
+
29058
+
29059
+ /**
29060
+ * Serializes the message to binary data (in protobuf wire format).
29061
+ * @return {!Uint8Array}
29062
+ */
29063
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.prototype.serializeBinary = function() {
29064
+ var writer = new jspb.BinaryWriter();
29065
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.serializeBinaryToWriter(this, writer);
29066
+ return writer.getResultBuffer();
29067
+ };
29068
+
29069
+
29070
+ /**
29071
+ * Serializes the given message to binary data (in protobuf wire
29072
+ * format), writing to the given BinaryWriter.
29073
+ * @param {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest} message
29074
+ * @param {!jspb.BinaryWriter} writer
29075
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29076
+ */
29077
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.serializeBinaryToWriter = function(message, writer) {
29078
+ var f = undefined;
29079
+ f = message.getBatchsize();
29080
+ if (f !== 0) {
29081
+ writer.writeInt32(
29082
+ 1,
29083
+ f
29084
+ );
29085
+ }
29086
+ f = message.getLimit();
29087
+ if (f !== 0) {
29088
+ writer.writeInt32(
29089
+ 2,
29090
+ f
29091
+ );
29092
+ }
29093
+ f = message.getDryrun();
29094
+ if (f) {
29095
+ writer.writeBool(
29096
+ 3,
29097
+ f
29098
+ );
29099
+ }
29100
+ f = message.getSystemauth();
29101
+ if (f.length > 0) {
29102
+ writer.writeString(
29103
+ 4,
29104
+ f
29105
+ );
29106
+ }
29107
+ };
29108
+
29109
+
29110
+ /**
29111
+ * optional int32 batchSize = 1;
29112
+ * @return {number}
29113
+ */
29114
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.prototype.getBatchsize = function() {
29115
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
29116
+ };
29117
+
29118
+
29119
+ /**
29120
+ * @param {number} value
29121
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest} returns this
29122
+ */
29123
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.prototype.setBatchsize = function(value) {
29124
+ return jspb.Message.setProto3IntField(this, 1, value);
29125
+ };
29126
+
29127
+
29128
+ /**
29129
+ * optional int32 limit = 2;
29130
+ * @return {number}
29131
+ */
29132
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.prototype.getLimit = function() {
29133
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
29134
+ };
29135
+
29136
+
29137
+ /**
29138
+ * @param {number} value
29139
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest} returns this
29140
+ */
29141
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.prototype.setLimit = function(value) {
29142
+ return jspb.Message.setProto3IntField(this, 2, value);
29143
+ };
29144
+
29145
+
29146
+ /**
29147
+ * optional bool dryRun = 3;
29148
+ * @return {boolean}
29149
+ */
29150
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.prototype.getDryrun = function() {
29151
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
29152
+ };
29153
+
29154
+
29155
+ /**
29156
+ * @param {boolean} value
29157
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest} returns this
29158
+ */
29159
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.prototype.setDryrun = function(value) {
29160
+ return jspb.Message.setProto3BooleanField(this, 3, value);
29161
+ };
29162
+
29163
+
29164
+ /**
29165
+ * optional string systemAuth = 4;
29166
+ * @return {string}
29167
+ */
29168
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.prototype.getSystemauth = function() {
29169
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
29170
+ };
29171
+
29172
+
29173
+ /**
29174
+ * @param {string} value
29175
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest} returns this
29176
+ */
29177
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacRequest.prototype.setSystemauth = function(value) {
29178
+ return jspb.Message.setProto3StringField(this, 4, value);
29179
+ };
29180
+
29181
+
29182
+
29183
+
29184
+
29185
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29186
+ /**
29187
+ * Creates an object representation of this proto.
29188
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29189
+ * Optional fields that are not set will be set to undefined.
29190
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29191
+ * For the list of reserved names please see:
29192
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29193
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29194
+ * JSPB instance for transitional soy proto support:
29195
+ * http://goto/soy-param-migration
29196
+ * @return {!Object}
29197
+ */
29198
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.prototype.toObject = function(opt_includeInstance) {
29199
+ return proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.toObject(opt_includeInstance, this);
29200
+ };
29201
+
29202
+
29203
+ /**
29204
+ * Static version of the {@see toObject} method.
29205
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29206
+ * the JSPB instance for transitional soy proto support:
29207
+ * http://goto/soy-param-migration
29208
+ * @param {!proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest} msg The msg instance to transform.
29209
+ * @return {!Object}
29210
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29211
+ */
29212
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.toObject = function(includeInstance, msg) {
29213
+ var f, obj = {
29214
+ paymentmethodid: jspb.Message.getFieldWithDefault(msg, 1, 0)
29215
+ };
29216
+
29217
+ if (includeInstance) {
29218
+ obj.$jspbMessageInstance = msg;
29219
+ }
29220
+ return obj;
29221
+ };
29222
+ }
29223
+
29224
+
29225
+ /**
29226
+ * Deserializes binary data (in protobuf wire format).
29227
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29228
+ * @return {!proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest}
29229
+ */
29230
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.deserializeBinary = function(bytes) {
29231
+ var reader = new jspb.BinaryReader(bytes);
29232
+ var msg = new proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest;
29233
+ return proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.deserializeBinaryFromReader(msg, reader);
29234
+ };
29235
+
29236
+
29237
+ /**
29238
+ * Deserializes binary data (in protobuf wire format) from the
29239
+ * given reader into the given message object.
29240
+ * @param {!proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest} msg The message object to deserialize into.
29241
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29242
+ * @return {!proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest}
29243
+ */
29244
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.deserializeBinaryFromReader = function(msg, reader) {
29245
+ while (reader.nextField()) {
29246
+ if (reader.isEndGroup()) {
29247
+ break;
29248
+ }
29249
+ var field = reader.getFieldNumber();
29250
+ switch (field) {
29251
+ case 1:
29252
+ var value = /** @type {number} */ (reader.readInt64());
29253
+ msg.setPaymentmethodid(value);
29254
+ break;
29255
+ default:
29256
+ reader.skipField();
29257
+ break;
29258
+ }
29259
+ }
29260
+ return msg;
29261
+ };
29262
+
29263
+
29264
+ /**
29265
+ * Serializes the message to binary data (in protobuf wire format).
29266
+ * @return {!Uint8Array}
29267
+ */
29268
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.prototype.serializeBinary = function() {
29269
+ var writer = new jspb.BinaryWriter();
29270
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.serializeBinaryToWriter(this, writer);
29271
+ return writer.getResultBuffer();
29272
+ };
29273
+
29274
+
29275
+ /**
29276
+ * Serializes the given message to binary data (in protobuf wire
29277
+ * format), writing to the given BinaryWriter.
29278
+ * @param {!proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest} message
29279
+ * @param {!jspb.BinaryWriter} writer
29280
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29281
+ */
29282
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.serializeBinaryToWriter = function(message, writer) {
29283
+ var f = undefined;
29284
+ f = message.getPaymentmethodid();
29285
+ if (f !== 0) {
29286
+ writer.writeInt64(
29287
+ 1,
29288
+ f
29289
+ );
29290
+ }
29291
+ };
29292
+
29293
+
29294
+ /**
29295
+ * optional int64 paymentMethodId = 1;
29296
+ * @return {number}
29297
+ */
29298
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.prototype.getPaymentmethodid = function() {
29299
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
29300
+ };
29301
+
29302
+
29303
+ /**
29304
+ * @param {number} value
29305
+ * @return {!proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest} returns this
29306
+ */
29307
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsRequest.prototype.setPaymentmethodid = function(value) {
29308
+ return jspb.Message.setProto3IntField(this, 1, value);
29309
+ };
29310
+
29311
+
29312
+
29313
+
29314
+
29315
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29316
+ /**
29317
+ * Creates an object representation of this proto.
29318
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29319
+ * Optional fields that are not set will be set to undefined.
29320
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29321
+ * For the list of reserved names please see:
29322
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29323
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29324
+ * JSPB instance for transitional soy proto support:
29325
+ * http://goto/soy-param-migration
29326
+ * @return {!Object}
29327
+ */
29328
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.toObject = function(opt_includeInstance) {
29329
+ return proto.sniippaymentmethodsserviceapi.BinLookupSummary.toObject(opt_includeInstance, this);
29330
+ };
29331
+
29332
+
29333
+ /**
29334
+ * Static version of the {@see toObject} method.
29335
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29336
+ * the JSPB instance for transitional soy proto support:
29337
+ * http://goto/soy-param-migration
29338
+ * @param {!proto.sniippaymentmethodsserviceapi.BinLookupSummary} msg The msg instance to transform.
29339
+ * @return {!Object}
29340
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29341
+ */
29342
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.toObject = function(includeInstance, msg) {
29343
+ var f, obj = {
29344
+ binid: jspb.Message.getFieldWithDefault(msg, 1, 0),
29345
+ binprefix: jspb.Message.getFieldWithDefault(msg, 2, ""),
29346
+ binlength: jspb.Message.getFieldWithDefault(msg, 4, 0),
29347
+ payloadencrypted: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
29348
+ createdat: jspb.Message.getFieldWithDefault(msg, 6, "")
29349
+ };
29350
+
29351
+ if (includeInstance) {
29352
+ obj.$jspbMessageInstance = msg;
29353
+ }
29354
+ return obj;
29355
+ };
29356
+ }
29357
+
29358
+
29359
+ /**
29360
+ * Deserializes binary data (in protobuf wire format).
29361
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29362
+ * @return {!proto.sniippaymentmethodsserviceapi.BinLookupSummary}
29363
+ */
29364
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.deserializeBinary = function(bytes) {
29365
+ var reader = new jspb.BinaryReader(bytes);
29366
+ var msg = new proto.sniippaymentmethodsserviceapi.BinLookupSummary;
29367
+ return proto.sniippaymentmethodsserviceapi.BinLookupSummary.deserializeBinaryFromReader(msg, reader);
29368
+ };
29369
+
29370
+
29371
+ /**
29372
+ * Deserializes binary data (in protobuf wire format) from the
29373
+ * given reader into the given message object.
29374
+ * @param {!proto.sniippaymentmethodsserviceapi.BinLookupSummary} msg The message object to deserialize into.
29375
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29376
+ * @return {!proto.sniippaymentmethodsserviceapi.BinLookupSummary}
29377
+ */
29378
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.deserializeBinaryFromReader = function(msg, reader) {
29379
+ while (reader.nextField()) {
29380
+ if (reader.isEndGroup()) {
29381
+ break;
29382
+ }
29383
+ var field = reader.getFieldNumber();
29384
+ switch (field) {
29385
+ case 1:
29386
+ var value = /** @type {number} */ (reader.readInt64());
29387
+ msg.setBinid(value);
29388
+ break;
29389
+ case 2:
29390
+ var value = /** @type {string} */ (reader.readString());
29391
+ msg.setBinprefix(value);
29392
+ break;
29393
+ case 4:
29394
+ var value = /** @type {number} */ (reader.readInt32());
29395
+ msg.setBinlength(value);
29396
+ break;
29397
+ case 5:
29398
+ var value = /** @type {boolean} */ (reader.readBool());
29399
+ msg.setPayloadencrypted(value);
29400
+ break;
29401
+ case 6:
29402
+ var value = /** @type {string} */ (reader.readString());
29403
+ msg.setCreatedat(value);
29404
+ break;
29405
+ default:
29406
+ reader.skipField();
29407
+ break;
29408
+ }
29409
+ }
29410
+ return msg;
29411
+ };
29412
+
29413
+
29414
+ /**
29415
+ * Serializes the message to binary data (in protobuf wire format).
29416
+ * @return {!Uint8Array}
29417
+ */
29418
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.serializeBinary = function() {
29419
+ var writer = new jspb.BinaryWriter();
29420
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.serializeBinaryToWriter(this, writer);
29421
+ return writer.getResultBuffer();
29422
+ };
29423
+
29424
+
29425
+ /**
29426
+ * Serializes the given message to binary data (in protobuf wire
29427
+ * format), writing to the given BinaryWriter.
29428
+ * @param {!proto.sniippaymentmethodsserviceapi.BinLookupSummary} message
29429
+ * @param {!jspb.BinaryWriter} writer
29430
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29431
+ */
29432
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.serializeBinaryToWriter = function(message, writer) {
29433
+ var f = undefined;
29434
+ f = message.getBinid();
29435
+ if (f !== 0) {
29436
+ writer.writeInt64(
29437
+ 1,
29438
+ f
29439
+ );
29440
+ }
29441
+ f = message.getBinprefix();
29442
+ if (f.length > 0) {
29443
+ writer.writeString(
29444
+ 2,
29445
+ f
29446
+ );
29447
+ }
29448
+ f = message.getBinlength();
29449
+ if (f !== 0) {
29450
+ writer.writeInt32(
29451
+ 4,
29452
+ f
29453
+ );
29454
+ }
29455
+ f = message.getPayloadencrypted();
29456
+ if (f) {
29457
+ writer.writeBool(
29458
+ 5,
29459
+ f
29460
+ );
29461
+ }
29462
+ f = message.getCreatedat();
29463
+ if (f.length > 0) {
29464
+ writer.writeString(
29465
+ 6,
29466
+ f
29467
+ );
29468
+ }
29469
+ };
29470
+
29471
+
29472
+ /**
29473
+ * optional int64 binId = 1;
29474
+ * @return {number}
29475
+ */
29476
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.getBinid = function() {
29477
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
29478
+ };
29479
+
29480
+
29481
+ /**
29482
+ * @param {number} value
29483
+ * @return {!proto.sniippaymentmethodsserviceapi.BinLookupSummary} returns this
29484
+ */
29485
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.setBinid = function(value) {
29486
+ return jspb.Message.setProto3IntField(this, 1, value);
29487
+ };
29488
+
29489
+
29490
+ /**
29491
+ * optional string binPrefix = 2;
29492
+ * @return {string}
29493
+ */
29494
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.getBinprefix = function() {
29495
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
29496
+ };
29497
+
29498
+
29499
+ /**
29500
+ * @param {string} value
29501
+ * @return {!proto.sniippaymentmethodsserviceapi.BinLookupSummary} returns this
29502
+ */
29503
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.setBinprefix = function(value) {
29504
+ return jspb.Message.setProto3StringField(this, 2, value);
29505
+ };
29506
+
29507
+
29508
+ /**
29509
+ * optional int32 binLength = 4;
29510
+ * @return {number}
29511
+ */
29512
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.getBinlength = function() {
29513
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
29514
+ };
29515
+
29516
+
29517
+ /**
29518
+ * @param {number} value
29519
+ * @return {!proto.sniippaymentmethodsserviceapi.BinLookupSummary} returns this
29520
+ */
29521
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.setBinlength = function(value) {
29522
+ return jspb.Message.setProto3IntField(this, 4, value);
29523
+ };
29524
+
29525
+
29526
+ /**
29527
+ * optional bool payloadEncrypted = 5;
29528
+ * @return {boolean}
29529
+ */
29530
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.getPayloadencrypted = function() {
29531
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
29532
+ };
29533
+
29534
+
29535
+ /**
29536
+ * @param {boolean} value
29537
+ * @return {!proto.sniippaymentmethodsserviceapi.BinLookupSummary} returns this
29538
+ */
29539
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.setPayloadencrypted = function(value) {
29540
+ return jspb.Message.setProto3BooleanField(this, 5, value);
29541
+ };
29542
+
29543
+
29544
+ /**
29545
+ * optional string createdAt = 6;
29546
+ * @return {string}
29547
+ */
29548
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.getCreatedat = function() {
29549
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
29550
+ };
29551
+
29552
+
29553
+ /**
29554
+ * @param {string} value
29555
+ * @return {!proto.sniippaymentmethodsserviceapi.BinLookupSummary} returns this
29556
+ */
29557
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.prototype.setCreatedat = function(value) {
29558
+ return jspb.Message.setProto3StringField(this, 6, value);
29559
+ };
29560
+
29561
+
29562
+
29563
+ /**
29564
+ * List of repeated fields within this message type.
29565
+ * @private {!Array<number>}
29566
+ * @const
29567
+ */
29568
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.repeatedFields_ = [2];
29569
+
29570
+
29571
+
29572
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29573
+ /**
29574
+ * Creates an object representation of this proto.
29575
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29576
+ * Optional fields that are not set will be set to undefined.
29577
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29578
+ * For the list of reserved names please see:
29579
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29580
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29581
+ * JSPB instance for transitional soy proto support:
29582
+ * http://goto/soy-param-migration
29583
+ * @return {!Object}
29584
+ */
29585
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.prototype.toObject = function(opt_includeInstance) {
29586
+ return proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.toObject(opt_includeInstance, this);
29587
+ };
29588
+
29589
+
29590
+ /**
29591
+ * Static version of the {@see toObject} method.
29592
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29593
+ * the JSPB instance for transitional soy proto support:
29594
+ * http://goto/soy-param-migration
29595
+ * @param {!proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse} msg The msg instance to transform.
29596
+ * @return {!Object}
29597
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29598
+ */
29599
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.toObject = function(includeInstance, msg) {
29600
+ var f, obj = {
29601
+ responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
29602
+ lookupsList: jspb.Message.toObjectList(msg.getLookupsList(),
29603
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.toObject, includeInstance)
29604
+ };
29605
+
29606
+ if (includeInstance) {
29607
+ obj.$jspbMessageInstance = msg;
29608
+ }
29609
+ return obj;
29610
+ };
29611
+ }
29612
+
29613
+
29614
+ /**
29615
+ * Deserializes binary data (in protobuf wire format).
29616
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29617
+ * @return {!proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse}
29618
+ */
29619
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.deserializeBinary = function(bytes) {
29620
+ var reader = new jspb.BinaryReader(bytes);
29621
+ var msg = new proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse;
29622
+ return proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.deserializeBinaryFromReader(msg, reader);
29623
+ };
29624
+
29625
+
29626
+ /**
29627
+ * Deserializes binary data (in protobuf wire format) from the
29628
+ * given reader into the given message object.
29629
+ * @param {!proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse} msg The message object to deserialize into.
29630
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29631
+ * @return {!proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse}
29632
+ */
29633
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.deserializeBinaryFromReader = function(msg, reader) {
29634
+ while (reader.nextField()) {
29635
+ if (reader.isEndGroup()) {
29636
+ break;
29637
+ }
29638
+ var field = reader.getFieldNumber();
29639
+ switch (field) {
29640
+ case 1:
29641
+ var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
29642
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
29643
+ msg.setResponsecode(value);
29644
+ break;
29645
+ case 2:
29646
+ var value = new proto.sniippaymentmethodsserviceapi.BinLookupSummary;
29647
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.BinLookupSummary.deserializeBinaryFromReader);
29648
+ msg.addLookups(value);
29649
+ break;
29650
+ default:
29651
+ reader.skipField();
29652
+ break;
29653
+ }
29654
+ }
29655
+ return msg;
29656
+ };
29657
+
29658
+
29659
+ /**
29660
+ * Serializes the message to binary data (in protobuf wire format).
29661
+ * @return {!Uint8Array}
29662
+ */
29663
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.prototype.serializeBinary = function() {
29664
+ var writer = new jspb.BinaryWriter();
29665
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.serializeBinaryToWriter(this, writer);
29666
+ return writer.getResultBuffer();
29667
+ };
29668
+
29669
+
29670
+ /**
29671
+ * Serializes the given message to binary data (in protobuf wire
29672
+ * format), writing to the given BinaryWriter.
29673
+ * @param {!proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse} message
29674
+ * @param {!jspb.BinaryWriter} writer
29675
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29676
+ */
29677
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.serializeBinaryToWriter = function(message, writer) {
29678
+ var f = undefined;
29679
+ f = message.getResponsecode();
29680
+ if (f != null) {
29681
+ writer.writeMessage(
29682
+ 1,
29683
+ f,
29684
+ proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
29685
+ );
29686
+ }
29687
+ f = message.getLookupsList();
29688
+ if (f.length > 0) {
29689
+ writer.writeRepeatedMessage(
29690
+ 2,
29691
+ f,
29692
+ proto.sniippaymentmethodsserviceapi.BinLookupSummary.serializeBinaryToWriter
29693
+ );
29694
+ }
29695
+ };
29696
+
29697
+
29698
+ /**
29699
+ * optional ResponseCode responseCode = 1;
29700
+ * @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
29701
+ */
29702
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.prototype.getResponsecode = function() {
29703
+ return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
29704
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
29705
+ };
29706
+
29707
+
29708
+ /**
29709
+ * @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
29710
+ * @return {!proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse} returns this
29711
+ */
29712
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.prototype.setResponsecode = function(value) {
29713
+ return jspb.Message.setWrapperField(this, 1, value);
29714
+ };
29715
+
29716
+
29717
+ /**
29718
+ * Clears the message field making it undefined.
29719
+ * @return {!proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse} returns this
29720
+ */
29721
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.prototype.clearResponsecode = function() {
29722
+ return this.setResponsecode(undefined);
29723
+ };
29724
+
29725
+
29726
+ /**
29727
+ * Returns whether this field is set.
29728
+ * @return {boolean}
29729
+ */
29730
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.prototype.hasResponsecode = function() {
29731
+ return jspb.Message.getField(this, 1) != null;
29732
+ };
29733
+
29734
+
29735
+ /**
29736
+ * repeated BinLookupSummary lookups = 2;
29737
+ * @return {!Array<!proto.sniippaymentmethodsserviceapi.BinLookupSummary>}
29738
+ */
29739
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.prototype.getLookupsList = function() {
29740
+ return /** @type{!Array<!proto.sniippaymentmethodsserviceapi.BinLookupSummary>} */ (
29741
+ jspb.Message.getRepeatedWrapperField(this, proto.sniippaymentmethodsserviceapi.BinLookupSummary, 2));
29742
+ };
29743
+
29744
+
29745
+ /**
29746
+ * @param {!Array<!proto.sniippaymentmethodsserviceapi.BinLookupSummary>} value
29747
+ * @return {!proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse} returns this
29748
+ */
29749
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.prototype.setLookupsList = function(value) {
29750
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
29751
+ };
29752
+
29753
+
29754
+ /**
29755
+ * @param {!proto.sniippaymentmethodsserviceapi.BinLookupSummary=} opt_value
29756
+ * @param {number=} opt_index
29757
+ * @return {!proto.sniippaymentmethodsserviceapi.BinLookupSummary}
29758
+ */
29759
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.prototype.addLookups = function(opt_value, opt_index) {
29760
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniippaymentmethodsserviceapi.BinLookupSummary, opt_index);
29761
+ };
29762
+
29763
+
29764
+ /**
29765
+ * Clears the list making it empty but non-null.
29766
+ * @return {!proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse} returns this
29767
+ */
29768
+ proto.sniippaymentmethodsserviceapi.GetBinLookupsResponse.prototype.clearLookupsList = function() {
29769
+ return this.setLookupsList([]);
29770
+ };
29771
+
29772
+
29773
+
29774
+
29775
+
29776
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29777
+ /**
29778
+ * Creates an object representation of this proto.
29779
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29780
+ * Optional fields that are not set will be set to undefined.
29781
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29782
+ * For the list of reserved names please see:
29783
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29784
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29785
+ * JSPB instance for transitional soy proto support:
29786
+ * http://goto/soy-param-migration
29787
+ * @return {!Object}
29788
+ */
29789
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.prototype.toObject = function(opt_includeInstance) {
29790
+ return proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.toObject(opt_includeInstance, this);
29791
+ };
29792
+
29793
+
29794
+ /**
29795
+ * Static version of the {@see toObject} method.
29796
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29797
+ * the JSPB instance for transitional soy proto support:
29798
+ * http://goto/soy-param-migration
29799
+ * @param {!proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest} msg The msg instance to transform.
29800
+ * @return {!Object}
29801
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29802
+ */
29803
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.toObject = function(includeInstance, msg) {
29804
+ var f, obj = {
29805
+ binid: jspb.Message.getFieldWithDefault(msg, 2, 0),
29806
+ reason: jspb.Message.getFieldWithDefault(msg, 4, "")
29807
+ };
29808
+
29809
+ if (includeInstance) {
29810
+ obj.$jspbMessageInstance = msg;
29811
+ }
29812
+ return obj;
29813
+ };
29814
+ }
29815
+
29816
+
29817
+ /**
29818
+ * Deserializes binary data (in protobuf wire format).
29819
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29820
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest}
29821
+ */
29822
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.deserializeBinary = function(bytes) {
29823
+ var reader = new jspb.BinaryReader(bytes);
29824
+ var msg = new proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest;
29825
+ return proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.deserializeBinaryFromReader(msg, reader);
29826
+ };
29827
+
29828
+
29829
+ /**
29830
+ * Deserializes binary data (in protobuf wire format) from the
29831
+ * given reader into the given message object.
29832
+ * @param {!proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest} msg The message object to deserialize into.
29833
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29834
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest}
29835
+ */
29836
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.deserializeBinaryFromReader = function(msg, reader) {
29837
+ while (reader.nextField()) {
29838
+ if (reader.isEndGroup()) {
29839
+ break;
29840
+ }
29841
+ var field = reader.getFieldNumber();
29842
+ switch (field) {
29843
+ case 2:
29844
+ var value = /** @type {number} */ (reader.readInt64());
29845
+ msg.setBinid(value);
29846
+ break;
29847
+ case 4:
29848
+ var value = /** @type {string} */ (reader.readString());
29849
+ msg.setReason(value);
29850
+ break;
29851
+ default:
29852
+ reader.skipField();
29853
+ break;
29854
+ }
29855
+ }
29856
+ return msg;
29857
+ };
29858
+
29859
+
29860
+ /**
29861
+ * Serializes the message to binary data (in protobuf wire format).
29862
+ * @return {!Uint8Array}
29863
+ */
29864
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.prototype.serializeBinary = function() {
29865
+ var writer = new jspb.BinaryWriter();
29866
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.serializeBinaryToWriter(this, writer);
29867
+ return writer.getResultBuffer();
29868
+ };
29869
+
29870
+
29871
+ /**
29872
+ * Serializes the given message to binary data (in protobuf wire
29873
+ * format), writing to the given BinaryWriter.
29874
+ * @param {!proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest} message
29875
+ * @param {!jspb.BinaryWriter} writer
29876
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29877
+ */
29878
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.serializeBinaryToWriter = function(message, writer) {
29879
+ var f = undefined;
29880
+ f = message.getBinid();
29881
+ if (f !== 0) {
29882
+ writer.writeInt64(
29883
+ 2,
29884
+ f
29885
+ );
29886
+ }
29887
+ f = message.getReason();
29888
+ if (f.length > 0) {
29889
+ writer.writeString(
29890
+ 4,
29891
+ f
29892
+ );
29893
+ }
29894
+ };
29895
+
29896
+
29897
+ /**
29898
+ * optional int64 binId = 2;
29899
+ * @return {number}
29900
+ */
29901
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.prototype.getBinid = function() {
29902
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
29903
+ };
29904
+
29905
+
29906
+ /**
29907
+ * @param {number} value
29908
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest} returns this
29909
+ */
29910
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.prototype.setBinid = function(value) {
29911
+ return jspb.Message.setProto3IntField(this, 2, value);
29912
+ };
29913
+
29914
+
29915
+ /**
29916
+ * optional string reason = 4;
29917
+ * @return {string}
29918
+ */
29919
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.prototype.getReason = function() {
29920
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
29921
+ };
29922
+
29923
+
29924
+ /**
29925
+ * @param {string} value
29926
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest} returns this
29927
+ */
29928
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupRequest.prototype.setReason = function(value) {
29929
+ return jspb.Message.setProto3StringField(this, 4, value);
29930
+ };
29931
+
29932
+
29933
+
29934
+
29935
+
29936
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29937
+ /**
29938
+ * Creates an object representation of this proto.
29939
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29940
+ * Optional fields that are not set will be set to undefined.
29941
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29942
+ * For the list of reserved names please see:
29943
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29944
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29945
+ * JSPB instance for transitional soy proto support:
29946
+ * http://goto/soy-param-migration
29947
+ * @return {!Object}
29948
+ */
29949
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.toObject = function(opt_includeInstance) {
29950
+ return proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.toObject(opt_includeInstance, this);
29951
+ };
29952
+
29953
+
29954
+ /**
29955
+ * Static version of the {@see toObject} method.
29956
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29957
+ * the JSPB instance for transitional soy proto support:
29958
+ * http://goto/soy-param-migration
29959
+ * @param {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} msg The msg instance to transform.
29960
+ * @return {!Object}
29961
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29962
+ */
29963
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.toObject = function(includeInstance, msg) {
29964
+ var f, obj = {
29965
+ responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
29966
+ binid: jspb.Message.getFieldWithDefault(msg, 2, 0),
29967
+ paymentmethodid: jspb.Message.getFieldWithDefault(msg, 3, 0),
29968
+ binprefix: jspb.Message.getFieldWithDefault(msg, 4, ""),
29969
+ binlength: jspb.Message.getFieldWithDefault(msg, 5, 0),
29970
+ rawresponse: jspb.Message.getFieldWithDefault(msg, 6, ""),
29971
+ revealauditid: jspb.Message.getFieldWithDefault(msg, 7, 0)
29972
+ };
29973
+
29974
+ if (includeInstance) {
29975
+ obj.$jspbMessageInstance = msg;
29976
+ }
29977
+ return obj;
29978
+ };
29979
+ }
29980
+
29981
+
29982
+ /**
29983
+ * Deserializes binary data (in protobuf wire format).
29984
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29985
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse}
29986
+ */
29987
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.deserializeBinary = function(bytes) {
29988
+ var reader = new jspb.BinaryReader(bytes);
29989
+ var msg = new proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse;
29990
+ return proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.deserializeBinaryFromReader(msg, reader);
29991
+ };
29992
+
29993
+
29994
+ /**
29995
+ * Deserializes binary data (in protobuf wire format) from the
29996
+ * given reader into the given message object.
29997
+ * @param {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} msg The message object to deserialize into.
29998
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29999
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse}
30000
+ */
30001
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.deserializeBinaryFromReader = function(msg, reader) {
30002
+ while (reader.nextField()) {
30003
+ if (reader.isEndGroup()) {
30004
+ break;
30005
+ }
30006
+ var field = reader.getFieldNumber();
30007
+ switch (field) {
30008
+ case 1:
30009
+ var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
30010
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
30011
+ msg.setResponsecode(value);
30012
+ break;
30013
+ case 2:
30014
+ var value = /** @type {number} */ (reader.readInt64());
30015
+ msg.setBinid(value);
30016
+ break;
30017
+ case 3:
30018
+ var value = /** @type {number} */ (reader.readInt64());
30019
+ msg.setPaymentmethodid(value);
30020
+ break;
30021
+ case 4:
30022
+ var value = /** @type {string} */ (reader.readString());
30023
+ msg.setBinprefix(value);
30024
+ break;
30025
+ case 5:
30026
+ var value = /** @type {number} */ (reader.readInt32());
30027
+ msg.setBinlength(value);
30028
+ break;
30029
+ case 6:
30030
+ var value = /** @type {string} */ (reader.readString());
30031
+ msg.setRawresponse(value);
30032
+ break;
30033
+ case 7:
30034
+ var value = /** @type {number} */ (reader.readInt64());
30035
+ msg.setRevealauditid(value);
30036
+ break;
30037
+ default:
30038
+ reader.skipField();
30039
+ break;
30040
+ }
30041
+ }
30042
+ return msg;
30043
+ };
30044
+
30045
+
30046
+ /**
30047
+ * Serializes the message to binary data (in protobuf wire format).
30048
+ * @return {!Uint8Array}
30049
+ */
30050
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.serializeBinary = function() {
30051
+ var writer = new jspb.BinaryWriter();
30052
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.serializeBinaryToWriter(this, writer);
30053
+ return writer.getResultBuffer();
30054
+ };
30055
+
30056
+
30057
+ /**
30058
+ * Serializes the given message to binary data (in protobuf wire
30059
+ * format), writing to the given BinaryWriter.
30060
+ * @param {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} message
30061
+ * @param {!jspb.BinaryWriter} writer
30062
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30063
+ */
30064
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.serializeBinaryToWriter = function(message, writer) {
30065
+ var f = undefined;
30066
+ f = message.getResponsecode();
30067
+ if (f != null) {
30068
+ writer.writeMessage(
30069
+ 1,
30070
+ f,
30071
+ proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
30072
+ );
30073
+ }
30074
+ f = message.getBinid();
30075
+ if (f !== 0) {
30076
+ writer.writeInt64(
30077
+ 2,
30078
+ f
30079
+ );
30080
+ }
30081
+ f = message.getPaymentmethodid();
30082
+ if (f !== 0) {
30083
+ writer.writeInt64(
30084
+ 3,
30085
+ f
30086
+ );
30087
+ }
30088
+ f = message.getBinprefix();
30089
+ if (f.length > 0) {
30090
+ writer.writeString(
30091
+ 4,
30092
+ f
30093
+ );
30094
+ }
30095
+ f = message.getBinlength();
30096
+ if (f !== 0) {
30097
+ writer.writeInt32(
30098
+ 5,
30099
+ f
30100
+ );
30101
+ }
30102
+ f = message.getRawresponse();
30103
+ if (f.length > 0) {
30104
+ writer.writeString(
30105
+ 6,
30106
+ f
30107
+ );
30108
+ }
30109
+ f = message.getRevealauditid();
30110
+ if (f !== 0) {
30111
+ writer.writeInt64(
30112
+ 7,
30113
+ f
30114
+ );
30115
+ }
30116
+ };
30117
+
30118
+
30119
+ /**
30120
+ * optional ResponseCode responseCode = 1;
30121
+ * @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
30122
+ */
30123
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.getResponsecode = function() {
30124
+ return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
30125
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
30126
+ };
30127
+
30128
+
30129
+ /**
30130
+ * @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
30131
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} returns this
30132
+ */
30133
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.setResponsecode = function(value) {
30134
+ return jspb.Message.setWrapperField(this, 1, value);
30135
+ };
30136
+
30137
+
30138
+ /**
30139
+ * Clears the message field making it undefined.
30140
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} returns this
30141
+ */
30142
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.clearResponsecode = function() {
30143
+ return this.setResponsecode(undefined);
30144
+ };
30145
+
30146
+
30147
+ /**
30148
+ * Returns whether this field is set.
30149
+ * @return {boolean}
30150
+ */
30151
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.hasResponsecode = function() {
30152
+ return jspb.Message.getField(this, 1) != null;
30153
+ };
30154
+
30155
+
30156
+ /**
30157
+ * optional int64 binId = 2;
30158
+ * @return {number}
30159
+ */
30160
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.getBinid = function() {
30161
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
30162
+ };
30163
+
30164
+
30165
+ /**
30166
+ * @param {number} value
30167
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} returns this
30168
+ */
30169
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.setBinid = function(value) {
30170
+ return jspb.Message.setProto3IntField(this, 2, value);
30171
+ };
30172
+
30173
+
30174
+ /**
30175
+ * optional int64 paymentMethodId = 3;
30176
+ * @return {number}
30177
+ */
30178
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.getPaymentmethodid = function() {
30179
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
30180
+ };
30181
+
30182
+
30183
+ /**
30184
+ * @param {number} value
30185
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} returns this
30186
+ */
30187
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.setPaymentmethodid = function(value) {
30188
+ return jspb.Message.setProto3IntField(this, 3, value);
30189
+ };
30190
+
30191
+
30192
+ /**
30193
+ * optional string binPrefix = 4;
30194
+ * @return {string}
30195
+ */
30196
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.getBinprefix = function() {
30197
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
30198
+ };
30199
+
30200
+
30201
+ /**
30202
+ * @param {string} value
30203
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} returns this
30204
+ */
30205
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.setBinprefix = function(value) {
30206
+ return jspb.Message.setProto3StringField(this, 4, value);
30207
+ };
30208
+
30209
+
30210
+ /**
30211
+ * optional int32 binLength = 5;
30212
+ * @return {number}
30213
+ */
30214
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.getBinlength = function() {
30215
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
30216
+ };
30217
+
30218
+
30219
+ /**
30220
+ * @param {number} value
30221
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} returns this
30222
+ */
30223
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.setBinlength = function(value) {
30224
+ return jspb.Message.setProto3IntField(this, 5, value);
30225
+ };
30226
+
30227
+
30228
+ /**
30229
+ * optional string rawResponse = 6;
30230
+ * @return {string}
30231
+ */
30232
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.getRawresponse = function() {
30233
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
30234
+ };
30235
+
30236
+
30237
+ /**
30238
+ * @param {string} value
30239
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} returns this
30240
+ */
30241
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.setRawresponse = function(value) {
30242
+ return jspb.Message.setProto3StringField(this, 6, value);
30243
+ };
30244
+
30245
+
30246
+ /**
30247
+ * optional int64 revealAuditId = 7;
30248
+ * @return {number}
30249
+ */
30250
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.getRevealauditid = function() {
30251
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
30252
+ };
30253
+
30254
+
30255
+ /**
30256
+ * @param {number} value
30257
+ * @return {!proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse} returns this
30258
+ */
30259
+ proto.sniippaymentmethodsserviceapi.RevealBinLookupResponse.prototype.setRevealauditid = function(value) {
30260
+ return jspb.Message.setProto3IntField(this, 7, value);
30261
+ };
30262
+
30263
+
30264
+
30265
+
30266
+
30267
+ if (jspb.Message.GENERATE_TO_OBJECT) {
30268
+ /**
30269
+ * Creates an object representation of this proto.
30270
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
30271
+ * Optional fields that are not set will be set to undefined.
30272
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
30273
+ * For the list of reserved names please see:
30274
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
30275
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
30276
+ * JSPB instance for transitional soy proto support:
30277
+ * http://goto/soy-param-migration
30278
+ * @return {!Object}
30279
+ */
30280
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.prototype.toObject = function(opt_includeInstance) {
30281
+ return proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.toObject(opt_includeInstance, this);
30282
+ };
30283
+
30284
+
30285
+ /**
30286
+ * Static version of the {@see toObject} method.
30287
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
30288
+ * the JSPB instance for transitional soy proto support:
30289
+ * http://goto/soy-param-migration
30290
+ * @param {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest} msg The msg instance to transform.
30291
+ * @return {!Object}
30292
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30293
+ */
30294
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.toObject = function(includeInstance, msg) {
30295
+ var f, obj = {
30296
+ systemauth: jspb.Message.getFieldWithDefault(msg, 1, ""),
30297
+ batchsize: jspb.Message.getFieldWithDefault(msg, 2, 0),
30298
+ limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
30299
+ dryrun: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
30300
+ };
30301
+
30302
+ if (includeInstance) {
30303
+ obj.$jspbMessageInstance = msg;
30304
+ }
30305
+ return obj;
30306
+ };
30307
+ }
30308
+
30309
+
30310
+ /**
30311
+ * Deserializes binary data (in protobuf wire format).
30312
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
30313
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest}
30314
+ */
30315
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.deserializeBinary = function(bytes) {
30316
+ var reader = new jspb.BinaryReader(bytes);
30317
+ var msg = new proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest;
30318
+ return proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.deserializeBinaryFromReader(msg, reader);
30319
+ };
30320
+
30321
+
30322
+ /**
30323
+ * Deserializes binary data (in protobuf wire format) from the
30324
+ * given reader into the given message object.
30325
+ * @param {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest} msg The message object to deserialize into.
30326
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
30327
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest}
30328
+ */
30329
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.deserializeBinaryFromReader = function(msg, reader) {
30330
+ while (reader.nextField()) {
30331
+ if (reader.isEndGroup()) {
30332
+ break;
30333
+ }
30334
+ var field = reader.getFieldNumber();
30335
+ switch (field) {
30336
+ case 1:
30337
+ var value = /** @type {string} */ (reader.readString());
30338
+ msg.setSystemauth(value);
30339
+ break;
30340
+ case 2:
30341
+ var value = /** @type {number} */ (reader.readInt32());
30342
+ msg.setBatchsize(value);
30343
+ break;
30344
+ case 3:
30345
+ var value = /** @type {number} */ (reader.readInt32());
30346
+ msg.setLimit(value);
30347
+ break;
30348
+ case 4:
30349
+ var value = /** @type {boolean} */ (reader.readBool());
30350
+ msg.setDryrun(value);
30351
+ break;
30352
+ default:
30353
+ reader.skipField();
30354
+ break;
30355
+ }
30356
+ }
30357
+ return msg;
30358
+ };
30359
+
30360
+
30361
+ /**
30362
+ * Serializes the message to binary data (in protobuf wire format).
30363
+ * @return {!Uint8Array}
30364
+ */
30365
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.prototype.serializeBinary = function() {
30366
+ var writer = new jspb.BinaryWriter();
30367
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.serializeBinaryToWriter(this, writer);
30368
+ return writer.getResultBuffer();
30369
+ };
30370
+
30371
+
30372
+ /**
30373
+ * Serializes the given message to binary data (in protobuf wire
30374
+ * format), writing to the given BinaryWriter.
30375
+ * @param {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest} message
30376
+ * @param {!jspb.BinaryWriter} writer
30377
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30378
+ */
30379
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.serializeBinaryToWriter = function(message, writer) {
30380
+ var f = undefined;
30381
+ f = message.getSystemauth();
30382
+ if (f.length > 0) {
30383
+ writer.writeString(
30384
+ 1,
30385
+ f
30386
+ );
30387
+ }
30388
+ f = message.getBatchsize();
30389
+ if (f !== 0) {
30390
+ writer.writeInt32(
30391
+ 2,
30392
+ f
30393
+ );
30394
+ }
30395
+ f = message.getLimit();
30396
+ if (f !== 0) {
30397
+ writer.writeInt32(
30398
+ 3,
30399
+ f
30400
+ );
30401
+ }
30402
+ f = message.getDryrun();
30403
+ if (f) {
30404
+ writer.writeBool(
30405
+ 4,
30406
+ f
30407
+ );
30408
+ }
30409
+ };
30410
+
30411
+
30412
+ /**
30413
+ * optional string systemAuth = 1;
30414
+ * @return {string}
30415
+ */
30416
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.prototype.getSystemauth = function() {
30417
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
30418
+ };
30419
+
30420
+
30421
+ /**
30422
+ * @param {string} value
30423
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest} returns this
30424
+ */
30425
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.prototype.setSystemauth = function(value) {
30426
+ return jspb.Message.setProto3StringField(this, 1, value);
30427
+ };
30428
+
30429
+
30430
+ /**
30431
+ * optional int32 batchSize = 2;
30432
+ * @return {number}
30433
+ */
30434
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.prototype.getBatchsize = function() {
30435
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
30436
+ };
30437
+
30438
+
30439
+ /**
30440
+ * @param {number} value
30441
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest} returns this
30442
+ */
30443
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.prototype.setBatchsize = function(value) {
30444
+ return jspb.Message.setProto3IntField(this, 2, value);
30445
+ };
30446
+
30447
+
30448
+ /**
30449
+ * optional int32 limit = 3;
30450
+ * @return {number}
30451
+ */
30452
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.prototype.getLimit = function() {
30453
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
30454
+ };
30455
+
30456
+
30457
+ /**
30458
+ * @param {number} value
30459
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest} returns this
30460
+ */
30461
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.prototype.setLimit = function(value) {
30462
+ return jspb.Message.setProto3IntField(this, 3, value);
30463
+ };
30464
+
30465
+
30466
+ /**
30467
+ * optional bool dryRun = 4;
30468
+ * @return {boolean}
30469
+ */
30470
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.prototype.getDryrun = function() {
30471
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
30472
+ };
30473
+
30474
+
30475
+ /**
30476
+ * @param {boolean} value
30477
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest} returns this
30478
+ */
30479
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsRequest.prototype.setDryrun = function(value) {
30480
+ return jspb.Message.setProto3BooleanField(this, 4, value);
30481
+ };
30482
+
30483
+
30484
+
30485
+
30486
+
30487
+ if (jspb.Message.GENERATE_TO_OBJECT) {
30488
+ /**
30489
+ * Creates an object representation of this proto.
30490
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
30491
+ * Optional fields that are not set will be set to undefined.
30492
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
30493
+ * For the list of reserved names please see:
30494
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
30495
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
30496
+ * JSPB instance for transitional soy proto support:
30497
+ * http://goto/soy-param-migration
30498
+ * @return {!Object}
30499
+ */
30500
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.toObject = function(opt_includeInstance) {
30501
+ return proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.toObject(opt_includeInstance, this);
30502
+ };
30503
+
30504
+
30505
+ /**
30506
+ * Static version of the {@see toObject} method.
30507
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
30508
+ * the JSPB instance for transitional soy proto support:
30509
+ * http://goto/soy-param-migration
30510
+ * @param {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse} msg The msg instance to transform.
30511
+ * @return {!Object}
30512
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30513
+ */
30514
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.toObject = function(includeInstance, msg) {
30515
+ var f, obj = {
30516
+ responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
30517
+ processed: jspb.Message.getFieldWithDefault(msg, 2, 0),
30518
+ skipped: jspb.Message.getFieldWithDefault(msg, 3, 0),
30519
+ remaining: jspb.Message.getFieldWithDefault(msg, 4, 0),
30520
+ dryrun: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
30521
+ };
30522
+
30523
+ if (includeInstance) {
30524
+ obj.$jspbMessageInstance = msg;
30525
+ }
30526
+ return obj;
30527
+ };
30528
+ }
30529
+
30530
+
30531
+ /**
30532
+ * Deserializes binary data (in protobuf wire format).
30533
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
30534
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse}
30535
+ */
30536
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.deserializeBinary = function(bytes) {
30537
+ var reader = new jspb.BinaryReader(bytes);
30538
+ var msg = new proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse;
30539
+ return proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.deserializeBinaryFromReader(msg, reader);
30540
+ };
30541
+
30542
+
30543
+ /**
30544
+ * Deserializes binary data (in protobuf wire format) from the
30545
+ * given reader into the given message object.
30546
+ * @param {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse} msg The message object to deserialize into.
30547
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
30548
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse}
30549
+ */
30550
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.deserializeBinaryFromReader = function(msg, reader) {
30551
+ while (reader.nextField()) {
30552
+ if (reader.isEndGroup()) {
30553
+ break;
30554
+ }
30555
+ var field = reader.getFieldNumber();
30556
+ switch (field) {
30557
+ case 1:
30558
+ var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
30559
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
30560
+ msg.setResponsecode(value);
30561
+ break;
30562
+ case 2:
30563
+ var value = /** @type {number} */ (reader.readInt64());
30564
+ msg.setProcessed(value);
30565
+ break;
30566
+ case 3:
30567
+ var value = /** @type {number} */ (reader.readInt64());
30568
+ msg.setSkipped(value);
30569
+ break;
30570
+ case 4:
30571
+ var value = /** @type {number} */ (reader.readInt64());
30572
+ msg.setRemaining(value);
30573
+ break;
30574
+ case 5:
30575
+ var value = /** @type {boolean} */ (reader.readBool());
30576
+ msg.setDryrun(value);
30577
+ break;
30578
+ default:
30579
+ reader.skipField();
30580
+ break;
30581
+ }
30582
+ }
30583
+ return msg;
30584
+ };
30585
+
30586
+
30587
+ /**
30588
+ * Serializes the message to binary data (in protobuf wire format).
30589
+ * @return {!Uint8Array}
30590
+ */
30591
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.serializeBinary = function() {
30592
+ var writer = new jspb.BinaryWriter();
30593
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.serializeBinaryToWriter(this, writer);
30594
+ return writer.getResultBuffer();
30595
+ };
30596
+
30597
+
30598
+ /**
30599
+ * Serializes the given message to binary data (in protobuf wire
30600
+ * format), writing to the given BinaryWriter.
30601
+ * @param {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse} message
30602
+ * @param {!jspb.BinaryWriter} writer
30603
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30604
+ */
30605
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.serializeBinaryToWriter = function(message, writer) {
30606
+ var f = undefined;
30607
+ f = message.getResponsecode();
30608
+ if (f != null) {
30609
+ writer.writeMessage(
30610
+ 1,
30611
+ f,
30612
+ proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
30613
+ );
30614
+ }
30615
+ f = message.getProcessed();
30616
+ if (f !== 0) {
30617
+ writer.writeInt64(
30618
+ 2,
30619
+ f
30620
+ );
30621
+ }
30622
+ f = message.getSkipped();
30623
+ if (f !== 0) {
30624
+ writer.writeInt64(
30625
+ 3,
30626
+ f
30627
+ );
30628
+ }
30629
+ f = message.getRemaining();
30630
+ if (f !== 0) {
30631
+ writer.writeInt64(
30632
+ 4,
30633
+ f
30634
+ );
30635
+ }
30636
+ f = message.getDryrun();
30637
+ if (f) {
30638
+ writer.writeBool(
30639
+ 5,
30640
+ f
30641
+ );
30642
+ }
30643
+ };
30644
+
30645
+
30646
+ /**
30647
+ * optional ResponseCode responseCode = 1;
30648
+ * @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
30649
+ */
30650
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.getResponsecode = function() {
30651
+ return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
30652
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
30653
+ };
30654
+
30655
+
30656
+ /**
30657
+ * @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
30658
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse} returns this
30659
+ */
30660
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.setResponsecode = function(value) {
30661
+ return jspb.Message.setWrapperField(this, 1, value);
30662
+ };
30663
+
30664
+
30665
+ /**
30666
+ * Clears the message field making it undefined.
30667
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse} returns this
30668
+ */
30669
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.clearResponsecode = function() {
30670
+ return this.setResponsecode(undefined);
30671
+ };
30672
+
30673
+
30674
+ /**
30675
+ * Returns whether this field is set.
30676
+ * @return {boolean}
30677
+ */
30678
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.hasResponsecode = function() {
30679
+ return jspb.Message.getField(this, 1) != null;
30680
+ };
30681
+
30682
+
30683
+ /**
30684
+ * optional int64 processed = 2;
30685
+ * @return {number}
30686
+ */
30687
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.getProcessed = function() {
30688
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
30689
+ };
30690
+
30691
+
30692
+ /**
30693
+ * @param {number} value
30694
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse} returns this
30695
+ */
30696
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.setProcessed = function(value) {
30697
+ return jspb.Message.setProto3IntField(this, 2, value);
30698
+ };
30699
+
30700
+
30701
+ /**
30702
+ * optional int64 skipped = 3;
30703
+ * @return {number}
30704
+ */
30705
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.getSkipped = function() {
30706
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
30707
+ };
30708
+
30709
+
30710
+ /**
30711
+ * @param {number} value
30712
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse} returns this
30713
+ */
30714
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.setSkipped = function(value) {
30715
+ return jspb.Message.setProto3IntField(this, 3, value);
30716
+ };
30717
+
30718
+
30719
+ /**
30720
+ * optional int64 remaining = 4;
30721
+ * @return {number}
30722
+ */
30723
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.getRemaining = function() {
30724
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
30725
+ };
30726
+
30727
+
30728
+ /**
30729
+ * @param {number} value
30730
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse} returns this
30731
+ */
30732
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.setRemaining = function(value) {
30733
+ return jspb.Message.setProto3IntField(this, 4, value);
30734
+ };
30735
+
30736
+
30737
+ /**
30738
+ * optional bool dryRun = 5;
30739
+ * @return {boolean}
30740
+ */
30741
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.getDryrun = function() {
30742
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
30743
+ };
30744
+
30745
+
30746
+ /**
30747
+ * @param {boolean} value
30748
+ * @return {!proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse} returns this
30749
+ */
30750
+ proto.sniippaymentmethodsserviceapi.EncryptBinLookupPayloadsResponse.prototype.setDryrun = function(value) {
30751
+ return jspb.Message.setProto3BooleanField(this, 5, value);
30752
+ };
30753
+
30754
+
30755
+
30756
+
30757
+
30758
+ if (jspb.Message.GENERATE_TO_OBJECT) {
30759
+ /**
30760
+ * Creates an object representation of this proto.
30761
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
30762
+ * Optional fields that are not set will be set to undefined.
30763
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
30764
+ * For the list of reserved names please see:
30765
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
30766
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
30767
+ * JSPB instance for transitional soy proto support:
30768
+ * http://goto/soy-param-migration
30769
+ * @return {!Object}
30770
+ */
30771
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.toObject = function(opt_includeInstance) {
30772
+ return proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.toObject(opt_includeInstance, this);
30773
+ };
30774
+
30775
+
30776
+ /**
30777
+ * Static version of the {@see toObject} method.
30778
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
30779
+ * the JSPB instance for transitional soy proto support:
30780
+ * http://goto/soy-param-migration
30781
+ * @param {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse} msg The msg instance to transform.
30782
+ * @return {!Object}
30783
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30784
+ */
30785
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.toObject = function(includeInstance, msg) {
30786
+ var f, obj = {
30787
+ responsecode: (f = msg.getResponsecode()) && proto.sniippaymentmethodsserviceapi.ResponseCode.toObject(includeInstance, f),
30788
+ processed: jspb.Message.getFieldWithDefault(msg, 2, 0),
30789
+ skipped: jspb.Message.getFieldWithDefault(msg, 3, 0),
30790
+ remaining: jspb.Message.getFieldWithDefault(msg, 4, 0),
30791
+ dryrun: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
30792
+ };
30793
+
30794
+ if (includeInstance) {
30795
+ obj.$jspbMessageInstance = msg;
30796
+ }
30797
+ return obj;
30798
+ };
30799
+ }
30800
+
30801
+
30802
+ /**
30803
+ * Deserializes binary data (in protobuf wire format).
30804
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
30805
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse}
30806
+ */
30807
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.deserializeBinary = function(bytes) {
30808
+ var reader = new jspb.BinaryReader(bytes);
30809
+ var msg = new proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse;
30810
+ return proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.deserializeBinaryFromReader(msg, reader);
30811
+ };
30812
+
30813
+
30814
+ /**
30815
+ * Deserializes binary data (in protobuf wire format) from the
30816
+ * given reader into the given message object.
30817
+ * @param {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse} msg The message object to deserialize into.
30818
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
30819
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse}
30820
+ */
30821
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.deserializeBinaryFromReader = function(msg, reader) {
30822
+ while (reader.nextField()) {
30823
+ if (reader.isEndGroup()) {
30824
+ break;
30825
+ }
30826
+ var field = reader.getFieldNumber();
30827
+ switch (field) {
30828
+ case 1:
30829
+ var value = new proto.sniippaymentmethodsserviceapi.ResponseCode;
30830
+ reader.readMessage(value,proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinaryFromReader);
30831
+ msg.setResponsecode(value);
30832
+ break;
30833
+ case 2:
30834
+ var value = /** @type {number} */ (reader.readInt64());
30835
+ msg.setProcessed(value);
30836
+ break;
30837
+ case 3:
30838
+ var value = /** @type {number} */ (reader.readInt64());
30839
+ msg.setSkipped(value);
30840
+ break;
30841
+ case 4:
30842
+ var value = /** @type {number} */ (reader.readInt64());
30843
+ msg.setRemaining(value);
30844
+ break;
30845
+ case 5:
30846
+ var value = /** @type {boolean} */ (reader.readBool());
30847
+ msg.setDryrun(value);
30848
+ break;
30849
+ default:
30850
+ reader.skipField();
30851
+ break;
30852
+ }
30853
+ }
30854
+ return msg;
30855
+ };
30856
+
30857
+
30858
+ /**
30859
+ * Serializes the message to binary data (in protobuf wire format).
30860
+ * @return {!Uint8Array}
30861
+ */
30862
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.serializeBinary = function() {
30863
+ var writer = new jspb.BinaryWriter();
30864
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.serializeBinaryToWriter(this, writer);
30865
+ return writer.getResultBuffer();
30866
+ };
30867
+
30868
+
30869
+ /**
30870
+ * Serializes the given message to binary data (in protobuf wire
30871
+ * format), writing to the given BinaryWriter.
30872
+ * @param {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse} message
30873
+ * @param {!jspb.BinaryWriter} writer
30874
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30875
+ */
30876
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.serializeBinaryToWriter = function(message, writer) {
30877
+ var f = undefined;
30878
+ f = message.getResponsecode();
30879
+ if (f != null) {
30880
+ writer.writeMessage(
30881
+ 1,
30882
+ f,
30883
+ proto.sniippaymentmethodsserviceapi.ResponseCode.serializeBinaryToWriter
30884
+ );
30885
+ }
30886
+ f = message.getProcessed();
30887
+ if (f !== 0) {
30888
+ writer.writeInt64(
30889
+ 2,
30890
+ f
30891
+ );
30892
+ }
30893
+ f = message.getSkipped();
30894
+ if (f !== 0) {
30895
+ writer.writeInt64(
30896
+ 3,
30897
+ f
30898
+ );
30899
+ }
30900
+ f = message.getRemaining();
30901
+ if (f !== 0) {
30902
+ writer.writeInt64(
30903
+ 4,
30904
+ f
30905
+ );
30906
+ }
30907
+ f = message.getDryrun();
30908
+ if (f) {
30909
+ writer.writeBool(
30910
+ 5,
30911
+ f
30912
+ );
30913
+ }
30914
+ };
30915
+
30916
+
30917
+ /**
30918
+ * optional ResponseCode responseCode = 1;
30919
+ * @return {?proto.sniippaymentmethodsserviceapi.ResponseCode}
30920
+ */
30921
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.getResponsecode = function() {
30922
+ return /** @type{?proto.sniippaymentmethodsserviceapi.ResponseCode} */ (
30923
+ jspb.Message.getWrapperField(this, proto.sniippaymentmethodsserviceapi.ResponseCode, 1));
30924
+ };
30925
+
30926
+
30927
+ /**
30928
+ * @param {?proto.sniippaymentmethodsserviceapi.ResponseCode|undefined} value
30929
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse} returns this
30930
+ */
30931
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.setResponsecode = function(value) {
30932
+ return jspb.Message.setWrapperField(this, 1, value);
30933
+ };
30934
+
30935
+
30936
+ /**
30937
+ * Clears the message field making it undefined.
30938
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse} returns this
30939
+ */
30940
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.clearResponsecode = function() {
30941
+ return this.setResponsecode(undefined);
30942
+ };
30943
+
30944
+
30945
+ /**
30946
+ * Returns whether this field is set.
30947
+ * @return {boolean}
30948
+ */
30949
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.hasResponsecode = function() {
30950
+ return jspb.Message.getField(this, 1) != null;
30951
+ };
30952
+
30953
+
30954
+ /**
30955
+ * optional int64 processed = 2;
30956
+ * @return {number}
30957
+ */
30958
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.getProcessed = function() {
30959
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
30960
+ };
30961
+
30962
+
30963
+ /**
30964
+ * @param {number} value
30965
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse} returns this
30966
+ */
30967
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.setProcessed = function(value) {
30968
+ return jspb.Message.setProto3IntField(this, 2, value);
30969
+ };
30970
+
30971
+
30972
+ /**
30973
+ * optional int64 skipped = 3;
30974
+ * @return {number}
30975
+ */
30976
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.getSkipped = function() {
30977
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
30978
+ };
30979
+
30980
+
30981
+ /**
30982
+ * @param {number} value
30983
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse} returns this
30984
+ */
30985
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.setSkipped = function(value) {
30986
+ return jspb.Message.setProto3IntField(this, 3, value);
30987
+ };
30988
+
30989
+
30990
+ /**
30991
+ * optional int64 remaining = 4;
30992
+ * @return {number}
30993
+ */
30994
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.getRemaining = function() {
30995
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
30996
+ };
30997
+
30998
+
30999
+ /**
31000
+ * @param {number} value
31001
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse} returns this
31002
+ */
31003
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.setRemaining = function(value) {
31004
+ return jspb.Message.setProto3IntField(this, 4, value);
31005
+ };
31006
+
31007
+
31008
+ /**
31009
+ * optional bool dryRun = 5;
31010
+ * @return {boolean}
31011
+ */
31012
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.getDryrun = function() {
31013
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
31014
+ };
31015
+
31016
+
31017
+ /**
31018
+ * @param {boolean} value
31019
+ * @return {!proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse} returns this
31020
+ */
31021
+ proto.sniippaymentmethodsserviceapi.BackfillMasterBinHmacResponse.prototype.setDryrun = function(value) {
31022
+ return jspb.Message.setProto3BooleanField(this, 5, value);
31023
+ };
31024
+
31025
+
31026
+
31027
+
31028
+
28767
31029
  if (jspb.Message.GENERATE_TO_OBJECT) {
28768
31030
  /**
28769
31031
  * Creates an object representation of this proto.