@sniipwebmaster/config-service-client-grpcweb 26.3.2281 → 26.4.2307
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.
|
@@ -566,6 +566,67 @@ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.ge
|
|
|
566
566
|
};
|
|
567
567
|
|
|
568
568
|
|
|
569
|
+
/**
|
|
570
|
+
* @const
|
|
571
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
572
|
+
* !proto.google.protobuf.Empty,
|
|
573
|
+
* !proto.sniipappappconfigapi.GetBusinessRulesResponse>}
|
|
574
|
+
*/
|
|
575
|
+
const methodDescriptor_SniipAppAppConfigAPIService_GetBusinessRules = new grpc.web.MethodDescriptor(
|
|
576
|
+
'/sniipappappconfigapi.SniipAppAppConfigAPIService/GetBusinessRules',
|
|
577
|
+
grpc.web.MethodType.UNARY,
|
|
578
|
+
google_protobuf_empty_pb.Empty,
|
|
579
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse,
|
|
580
|
+
/**
|
|
581
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
582
|
+
* @return {!Uint8Array}
|
|
583
|
+
*/
|
|
584
|
+
function(request) {
|
|
585
|
+
return request.serializeBinary();
|
|
586
|
+
},
|
|
587
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.deserializeBinary
|
|
588
|
+
);
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
593
|
+
* request proto
|
|
594
|
+
* @param {?Object<string, string>} metadata User defined
|
|
595
|
+
* call metadata
|
|
596
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.GetBusinessRulesResponse)}
|
|
597
|
+
* callback The callback function(error, response)
|
|
598
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.GetBusinessRulesResponse>|undefined}
|
|
599
|
+
* The XHR Node Readable Stream
|
|
600
|
+
*/
|
|
601
|
+
proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.getBusinessRules =
|
|
602
|
+
function(request, metadata, callback) {
|
|
603
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
604
|
+
'/sniipappappconfigapi.SniipAppAppConfigAPIService/GetBusinessRules',
|
|
605
|
+
request,
|
|
606
|
+
metadata || {},
|
|
607
|
+
methodDescriptor_SniipAppAppConfigAPIService_GetBusinessRules,
|
|
608
|
+
callback);
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
614
|
+
* request proto
|
|
615
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
616
|
+
* call metadata
|
|
617
|
+
* @return {!Promise<!proto.sniipappappconfigapi.GetBusinessRulesResponse>}
|
|
618
|
+
* Promise that resolves to the response
|
|
619
|
+
*/
|
|
620
|
+
proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.getBusinessRules =
|
|
621
|
+
function(request, metadata) {
|
|
622
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
623
|
+
'/sniipappappconfigapi.SniipAppAppConfigAPIService/GetBusinessRules',
|
|
624
|
+
request,
|
|
625
|
+
metadata || {},
|
|
626
|
+
methodDescriptor_SniipAppAppConfigAPIService_GetBusinessRules);
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
|
|
569
630
|
/**
|
|
570
631
|
* @const
|
|
571
632
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -22,6 +22,7 @@ goog.object.extend(proto, google_protobuf_empty_pb);
|
|
|
22
22
|
goog.exportSymbol('proto.sniipappappconfigapi.AddOnboardingScreenRequest', null, global);
|
|
23
23
|
goog.exportSymbol('proto.sniipappappconfigapi.AppConfig', null, global);
|
|
24
24
|
goog.exportSymbol('proto.sniipappappconfigapi.AppConfiggetConfigRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.sniipappappconfigapi.BusinessRules', null, global);
|
|
25
26
|
goog.exportSymbol('proto.sniipappappconfigapi.ConfigExtra', null, global);
|
|
26
27
|
goog.exportSymbol('proto.sniipappappconfigapi.CreateConfigRequest', null, global);
|
|
27
28
|
goog.exportSymbol('proto.sniipappappconfigapi.CreateOfferRequest', null, global);
|
|
@@ -33,6 +34,7 @@ goog.exportSymbol('proto.sniipappappconfigapi.DashboardItemsRequest', null, glob
|
|
|
33
34
|
goog.exportSymbol('proto.sniipappappconfigapi.DashboardItemsResponse', null, global);
|
|
34
35
|
goog.exportSymbol('proto.sniipappappconfigapi.DeleteOfferRequest', null, global);
|
|
35
36
|
goog.exportSymbol('proto.sniipappappconfigapi.DeleteOfferRulesetRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.sniipappappconfigapi.GetBusinessRulesResponse', null, global);
|
|
36
38
|
goog.exportSymbol('proto.sniipappappconfigapi.GetConfigRequest', null, global);
|
|
37
39
|
goog.exportSymbol('proto.sniipappappconfigapi.GetConfigResponse', null, global);
|
|
38
40
|
goog.exportSymbol('proto.sniipappappconfigapi.GetOfferRequest', null, global);
|
|
@@ -258,6 +260,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
258
260
|
*/
|
|
259
261
|
proto.sniipappappconfigapi.DashboardItemsResponse.displayName = 'proto.sniipappappconfigapi.DashboardItemsResponse';
|
|
260
262
|
}
|
|
263
|
+
/**
|
|
264
|
+
* Generated by JsPbCodeGenerator.
|
|
265
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
266
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
267
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
268
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
269
|
+
* valid.
|
|
270
|
+
* @extends {jspb.Message}
|
|
271
|
+
* @constructor
|
|
272
|
+
*/
|
|
273
|
+
proto.sniipappappconfigapi.BusinessRules = function(opt_data) {
|
|
274
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
275
|
+
};
|
|
276
|
+
goog.inherits(proto.sniipappappconfigapi.BusinessRules, jspb.Message);
|
|
277
|
+
if (goog.DEBUG && !COMPILED) {
|
|
278
|
+
/**
|
|
279
|
+
* @public
|
|
280
|
+
* @override
|
|
281
|
+
*/
|
|
282
|
+
proto.sniipappappconfigapi.BusinessRules.displayName = 'proto.sniipappappconfigapi.BusinessRules';
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Generated by JsPbCodeGenerator.
|
|
286
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
287
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
288
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
289
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
290
|
+
* valid.
|
|
291
|
+
* @extends {jspb.Message}
|
|
292
|
+
* @constructor
|
|
293
|
+
*/
|
|
294
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse = function(opt_data) {
|
|
295
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
296
|
+
};
|
|
297
|
+
goog.inherits(proto.sniipappappconfigapi.GetBusinessRulesResponse, jspb.Message);
|
|
298
|
+
if (goog.DEBUG && !COMPILED) {
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
* @override
|
|
302
|
+
*/
|
|
303
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.displayName = 'proto.sniipappappconfigapi.GetBusinessRulesResponse';
|
|
304
|
+
}
|
|
261
305
|
/**
|
|
262
306
|
* Generated by JsPbCodeGenerator.
|
|
263
307
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1904,7 +1948,9 @@ proto.sniipappappconfigapi.ConfigExtra.toObject = function(includeInstance, msg)
|
|
|
1904
1948
|
filteredspotoffersenabled: jspb.Message.getBooleanFieldWithDefault(msg, 45, false),
|
|
1905
1949
|
paymentmethodtypevaluetagMap: (f = msg.getPaymentmethodtypevaluetagMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1906
1950
|
click2payenabled: jspb.Message.getBooleanFieldWithDefault(msg, 47, false),
|
|
1907
|
-
click2paybetauser: jspb.Message.getBooleanFieldWithDefault(msg, 48, false)
|
|
1951
|
+
click2paybetauser: jspb.Message.getBooleanFieldWithDefault(msg, 48, false),
|
|
1952
|
+
paymentmethodtypepaymentflowvaluetagMap: (f = msg.getPaymentmethodtypepaymentflowvaluetagMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1953
|
+
abaallowedcharacters: jspb.Message.getFieldWithDefault(msg, 50, "")
|
|
1908
1954
|
};
|
|
1909
1955
|
|
|
1910
1956
|
if (includeInstance) {
|
|
@@ -2137,6 +2183,16 @@ proto.sniipappappconfigapi.ConfigExtra.deserializeBinaryFromReader = function(ms
|
|
|
2137
2183
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2138
2184
|
msg.setClick2paybetauser(value);
|
|
2139
2185
|
break;
|
|
2186
|
+
case 49:
|
|
2187
|
+
var value = msg.getPaymentmethodtypepaymentflowvaluetagMap();
|
|
2188
|
+
reader.readMessage(value, function(message, reader) {
|
|
2189
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
2190
|
+
});
|
|
2191
|
+
break;
|
|
2192
|
+
case 50:
|
|
2193
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2194
|
+
msg.setAbaallowedcharacters(value);
|
|
2195
|
+
break;
|
|
2140
2196
|
default:
|
|
2141
2197
|
reader.skipField();
|
|
2142
2198
|
break;
|
|
@@ -2501,6 +2557,17 @@ proto.sniipappappconfigapi.ConfigExtra.serializeBinaryToWriter = function(messag
|
|
|
2501
2557
|
f
|
|
2502
2558
|
);
|
|
2503
2559
|
}
|
|
2560
|
+
f = message.getPaymentmethodtypepaymentflowvaluetagMap(true);
|
|
2561
|
+
if (f && f.getLength() > 0) {
|
|
2562
|
+
f.serializeBinary(49, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
2563
|
+
}
|
|
2564
|
+
f = message.getAbaallowedcharacters();
|
|
2565
|
+
if (f.length > 0) {
|
|
2566
|
+
writer.writeString(
|
|
2567
|
+
50,
|
|
2568
|
+
f
|
|
2569
|
+
);
|
|
2570
|
+
}
|
|
2504
2571
|
};
|
|
2505
2572
|
|
|
2506
2573
|
|
|
@@ -3448,6 +3515,46 @@ proto.sniipappappconfigapi.ConfigExtra.prototype.setClick2paybetauser = function
|
|
|
3448
3515
|
};
|
|
3449
3516
|
|
|
3450
3517
|
|
|
3518
|
+
/**
|
|
3519
|
+
* map<string, string> paymentMethodTypePaymentFlowValueTag = 49;
|
|
3520
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
3521
|
+
* empty, instead returning `undefined`
|
|
3522
|
+
* @return {!jspb.Map<string,string>}
|
|
3523
|
+
*/
|
|
3524
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getPaymentmethodtypepaymentflowvaluetagMap = function(opt_noLazyCreate) {
|
|
3525
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
3526
|
+
jspb.Message.getMapField(this, 49, opt_noLazyCreate,
|
|
3527
|
+
null));
|
|
3528
|
+
};
|
|
3529
|
+
|
|
3530
|
+
|
|
3531
|
+
/**
|
|
3532
|
+
* Clears values from the map. The map will be non-null.
|
|
3533
|
+
* @return {!proto.sniipappappconfigapi.ConfigExtra} returns this
|
|
3534
|
+
*/
|
|
3535
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.clearPaymentmethodtypepaymentflowvaluetagMap = function() {
|
|
3536
|
+
this.getPaymentmethodtypepaymentflowvaluetagMap().clear();
|
|
3537
|
+
return this;};
|
|
3538
|
+
|
|
3539
|
+
|
|
3540
|
+
/**
|
|
3541
|
+
* optional string abaAllowedCharacters = 50;
|
|
3542
|
+
* @return {string}
|
|
3543
|
+
*/
|
|
3544
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.getAbaallowedcharacters = function() {
|
|
3545
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 50, ""));
|
|
3546
|
+
};
|
|
3547
|
+
|
|
3548
|
+
|
|
3549
|
+
/**
|
|
3550
|
+
* @param {string} value
|
|
3551
|
+
* @return {!proto.sniipappappconfigapi.ConfigExtra} returns this
|
|
3552
|
+
*/
|
|
3553
|
+
proto.sniipappappconfigapi.ConfigExtra.prototype.setAbaallowedcharacters = function(value) {
|
|
3554
|
+
return jspb.Message.setProto3StringField(this, 50, value);
|
|
3555
|
+
};
|
|
3556
|
+
|
|
3557
|
+
|
|
3451
3558
|
|
|
3452
3559
|
|
|
3453
3560
|
|
|
@@ -4592,6 +4699,338 @@ proto.sniipappappconfigapi.DashboardItemsResponse.prototype.clearDisableddashboa
|
|
|
4592
4699
|
|
|
4593
4700
|
|
|
4594
4701
|
|
|
4702
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4703
|
+
/**
|
|
4704
|
+
* Creates an object representation of this proto.
|
|
4705
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4706
|
+
* Optional fields that are not set will be set to undefined.
|
|
4707
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4708
|
+
* For the list of reserved names please see:
|
|
4709
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4710
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4711
|
+
* JSPB instance for transitional soy proto support:
|
|
4712
|
+
* http://goto/soy-param-migration
|
|
4713
|
+
* @return {!Object}
|
|
4714
|
+
*/
|
|
4715
|
+
proto.sniipappappconfigapi.BusinessRules.prototype.toObject = function(opt_includeInstance) {
|
|
4716
|
+
return proto.sniipappappconfigapi.BusinessRules.toObject(opt_includeInstance, this);
|
|
4717
|
+
};
|
|
4718
|
+
|
|
4719
|
+
|
|
4720
|
+
/**
|
|
4721
|
+
* Static version of the {@see toObject} method.
|
|
4722
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4723
|
+
* the JSPB instance for transitional soy proto support:
|
|
4724
|
+
* http://goto/soy-param-migration
|
|
4725
|
+
* @param {!proto.sniipappappconfigapi.BusinessRules} msg The msg instance to transform.
|
|
4726
|
+
* @return {!Object}
|
|
4727
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4728
|
+
*/
|
|
4729
|
+
proto.sniipappappconfigapi.BusinessRules.toObject = function(includeInstance, msg) {
|
|
4730
|
+
var f, obj = {
|
|
4731
|
+
abaallowedcharacters: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4732
|
+
};
|
|
4733
|
+
|
|
4734
|
+
if (includeInstance) {
|
|
4735
|
+
obj.$jspbMessageInstance = msg;
|
|
4736
|
+
}
|
|
4737
|
+
return obj;
|
|
4738
|
+
};
|
|
4739
|
+
}
|
|
4740
|
+
|
|
4741
|
+
|
|
4742
|
+
/**
|
|
4743
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4744
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4745
|
+
* @return {!proto.sniipappappconfigapi.BusinessRules}
|
|
4746
|
+
*/
|
|
4747
|
+
proto.sniipappappconfigapi.BusinessRules.deserializeBinary = function(bytes) {
|
|
4748
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4749
|
+
var msg = new proto.sniipappappconfigapi.BusinessRules;
|
|
4750
|
+
return proto.sniipappappconfigapi.BusinessRules.deserializeBinaryFromReader(msg, reader);
|
|
4751
|
+
};
|
|
4752
|
+
|
|
4753
|
+
|
|
4754
|
+
/**
|
|
4755
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4756
|
+
* given reader into the given message object.
|
|
4757
|
+
* @param {!proto.sniipappappconfigapi.BusinessRules} msg The message object to deserialize into.
|
|
4758
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4759
|
+
* @return {!proto.sniipappappconfigapi.BusinessRules}
|
|
4760
|
+
*/
|
|
4761
|
+
proto.sniipappappconfigapi.BusinessRules.deserializeBinaryFromReader = function(msg, reader) {
|
|
4762
|
+
while (reader.nextField()) {
|
|
4763
|
+
if (reader.isEndGroup()) {
|
|
4764
|
+
break;
|
|
4765
|
+
}
|
|
4766
|
+
var field = reader.getFieldNumber();
|
|
4767
|
+
switch (field) {
|
|
4768
|
+
case 1:
|
|
4769
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4770
|
+
msg.setAbaallowedcharacters(value);
|
|
4771
|
+
break;
|
|
4772
|
+
default:
|
|
4773
|
+
reader.skipField();
|
|
4774
|
+
break;
|
|
4775
|
+
}
|
|
4776
|
+
}
|
|
4777
|
+
return msg;
|
|
4778
|
+
};
|
|
4779
|
+
|
|
4780
|
+
|
|
4781
|
+
/**
|
|
4782
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4783
|
+
* @return {!Uint8Array}
|
|
4784
|
+
*/
|
|
4785
|
+
proto.sniipappappconfigapi.BusinessRules.prototype.serializeBinary = function() {
|
|
4786
|
+
var writer = new jspb.BinaryWriter();
|
|
4787
|
+
proto.sniipappappconfigapi.BusinessRules.serializeBinaryToWriter(this, writer);
|
|
4788
|
+
return writer.getResultBuffer();
|
|
4789
|
+
};
|
|
4790
|
+
|
|
4791
|
+
|
|
4792
|
+
/**
|
|
4793
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4794
|
+
* format), writing to the given BinaryWriter.
|
|
4795
|
+
* @param {!proto.sniipappappconfigapi.BusinessRules} message
|
|
4796
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4797
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4798
|
+
*/
|
|
4799
|
+
proto.sniipappappconfigapi.BusinessRules.serializeBinaryToWriter = function(message, writer) {
|
|
4800
|
+
var f = undefined;
|
|
4801
|
+
f = message.getAbaallowedcharacters();
|
|
4802
|
+
if (f.length > 0) {
|
|
4803
|
+
writer.writeString(
|
|
4804
|
+
1,
|
|
4805
|
+
f
|
|
4806
|
+
);
|
|
4807
|
+
}
|
|
4808
|
+
};
|
|
4809
|
+
|
|
4810
|
+
|
|
4811
|
+
/**
|
|
4812
|
+
* optional string abaAllowedCharacters = 1;
|
|
4813
|
+
* @return {string}
|
|
4814
|
+
*/
|
|
4815
|
+
proto.sniipappappconfigapi.BusinessRules.prototype.getAbaallowedcharacters = function() {
|
|
4816
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4817
|
+
};
|
|
4818
|
+
|
|
4819
|
+
|
|
4820
|
+
/**
|
|
4821
|
+
* @param {string} value
|
|
4822
|
+
* @return {!proto.sniipappappconfigapi.BusinessRules} returns this
|
|
4823
|
+
*/
|
|
4824
|
+
proto.sniipappappconfigapi.BusinessRules.prototype.setAbaallowedcharacters = function(value) {
|
|
4825
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4826
|
+
};
|
|
4827
|
+
|
|
4828
|
+
|
|
4829
|
+
|
|
4830
|
+
|
|
4831
|
+
|
|
4832
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4833
|
+
/**
|
|
4834
|
+
* Creates an object representation of this proto.
|
|
4835
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4836
|
+
* Optional fields that are not set will be set to undefined.
|
|
4837
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4838
|
+
* For the list of reserved names please see:
|
|
4839
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4840
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4841
|
+
* JSPB instance for transitional soy proto support:
|
|
4842
|
+
* http://goto/soy-param-migration
|
|
4843
|
+
* @return {!Object}
|
|
4844
|
+
*/
|
|
4845
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4846
|
+
return proto.sniipappappconfigapi.GetBusinessRulesResponse.toObject(opt_includeInstance, this);
|
|
4847
|
+
};
|
|
4848
|
+
|
|
4849
|
+
|
|
4850
|
+
/**
|
|
4851
|
+
* Static version of the {@see toObject} method.
|
|
4852
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4853
|
+
* the JSPB instance for transitional soy proto support:
|
|
4854
|
+
* http://goto/soy-param-migration
|
|
4855
|
+
* @param {!proto.sniipappappconfigapi.GetBusinessRulesResponse} msg The msg instance to transform.
|
|
4856
|
+
* @return {!Object}
|
|
4857
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4858
|
+
*/
|
|
4859
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.toObject = function(includeInstance, msg) {
|
|
4860
|
+
var f, obj = {
|
|
4861
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipappappconfigapi.ResponseCode.toObject(includeInstance, f),
|
|
4862
|
+
rules: (f = msg.getRules()) && proto.sniipappappconfigapi.BusinessRules.toObject(includeInstance, f)
|
|
4863
|
+
};
|
|
4864
|
+
|
|
4865
|
+
if (includeInstance) {
|
|
4866
|
+
obj.$jspbMessageInstance = msg;
|
|
4867
|
+
}
|
|
4868
|
+
return obj;
|
|
4869
|
+
};
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
|
|
4873
|
+
/**
|
|
4874
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4875
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4876
|
+
* @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse}
|
|
4877
|
+
*/
|
|
4878
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.deserializeBinary = function(bytes) {
|
|
4879
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4880
|
+
var msg = new proto.sniipappappconfigapi.GetBusinessRulesResponse;
|
|
4881
|
+
return proto.sniipappappconfigapi.GetBusinessRulesResponse.deserializeBinaryFromReader(msg, reader);
|
|
4882
|
+
};
|
|
4883
|
+
|
|
4884
|
+
|
|
4885
|
+
/**
|
|
4886
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4887
|
+
* given reader into the given message object.
|
|
4888
|
+
* @param {!proto.sniipappappconfigapi.GetBusinessRulesResponse} msg The message object to deserialize into.
|
|
4889
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4890
|
+
* @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse}
|
|
4891
|
+
*/
|
|
4892
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4893
|
+
while (reader.nextField()) {
|
|
4894
|
+
if (reader.isEndGroup()) {
|
|
4895
|
+
break;
|
|
4896
|
+
}
|
|
4897
|
+
var field = reader.getFieldNumber();
|
|
4898
|
+
switch (field) {
|
|
4899
|
+
case 1:
|
|
4900
|
+
var value = new proto.sniipappappconfigapi.ResponseCode;
|
|
4901
|
+
reader.readMessage(value,proto.sniipappappconfigapi.ResponseCode.deserializeBinaryFromReader);
|
|
4902
|
+
msg.setResponsecode(value);
|
|
4903
|
+
break;
|
|
4904
|
+
case 2:
|
|
4905
|
+
var value = new proto.sniipappappconfigapi.BusinessRules;
|
|
4906
|
+
reader.readMessage(value,proto.sniipappappconfigapi.BusinessRules.deserializeBinaryFromReader);
|
|
4907
|
+
msg.setRules(value);
|
|
4908
|
+
break;
|
|
4909
|
+
default:
|
|
4910
|
+
reader.skipField();
|
|
4911
|
+
break;
|
|
4912
|
+
}
|
|
4913
|
+
}
|
|
4914
|
+
return msg;
|
|
4915
|
+
};
|
|
4916
|
+
|
|
4917
|
+
|
|
4918
|
+
/**
|
|
4919
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4920
|
+
* @return {!Uint8Array}
|
|
4921
|
+
*/
|
|
4922
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.serializeBinary = function() {
|
|
4923
|
+
var writer = new jspb.BinaryWriter();
|
|
4924
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.serializeBinaryToWriter(this, writer);
|
|
4925
|
+
return writer.getResultBuffer();
|
|
4926
|
+
};
|
|
4927
|
+
|
|
4928
|
+
|
|
4929
|
+
/**
|
|
4930
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4931
|
+
* format), writing to the given BinaryWriter.
|
|
4932
|
+
* @param {!proto.sniipappappconfigapi.GetBusinessRulesResponse} message
|
|
4933
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4934
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4935
|
+
*/
|
|
4936
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4937
|
+
var f = undefined;
|
|
4938
|
+
f = message.getResponsecode();
|
|
4939
|
+
if (f != null) {
|
|
4940
|
+
writer.writeMessage(
|
|
4941
|
+
1,
|
|
4942
|
+
f,
|
|
4943
|
+
proto.sniipappappconfigapi.ResponseCode.serializeBinaryToWriter
|
|
4944
|
+
);
|
|
4945
|
+
}
|
|
4946
|
+
f = message.getRules();
|
|
4947
|
+
if (f != null) {
|
|
4948
|
+
writer.writeMessage(
|
|
4949
|
+
2,
|
|
4950
|
+
f,
|
|
4951
|
+
proto.sniipappappconfigapi.BusinessRules.serializeBinaryToWriter
|
|
4952
|
+
);
|
|
4953
|
+
}
|
|
4954
|
+
};
|
|
4955
|
+
|
|
4956
|
+
|
|
4957
|
+
/**
|
|
4958
|
+
* optional ResponseCode responseCode = 1;
|
|
4959
|
+
* @return {?proto.sniipappappconfigapi.ResponseCode}
|
|
4960
|
+
*/
|
|
4961
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.getResponsecode = function() {
|
|
4962
|
+
return /** @type{?proto.sniipappappconfigapi.ResponseCode} */ (
|
|
4963
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ResponseCode, 1));
|
|
4964
|
+
};
|
|
4965
|
+
|
|
4966
|
+
|
|
4967
|
+
/**
|
|
4968
|
+
* @param {?proto.sniipappappconfigapi.ResponseCode|undefined} value
|
|
4969
|
+
* @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse} returns this
|
|
4970
|
+
*/
|
|
4971
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.setResponsecode = function(value) {
|
|
4972
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4973
|
+
};
|
|
4974
|
+
|
|
4975
|
+
|
|
4976
|
+
/**
|
|
4977
|
+
* Clears the message field making it undefined.
|
|
4978
|
+
* @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse} returns this
|
|
4979
|
+
*/
|
|
4980
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.clearResponsecode = function() {
|
|
4981
|
+
return this.setResponsecode(undefined);
|
|
4982
|
+
};
|
|
4983
|
+
|
|
4984
|
+
|
|
4985
|
+
/**
|
|
4986
|
+
* Returns whether this field is set.
|
|
4987
|
+
* @return {boolean}
|
|
4988
|
+
*/
|
|
4989
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.hasResponsecode = function() {
|
|
4990
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4991
|
+
};
|
|
4992
|
+
|
|
4993
|
+
|
|
4994
|
+
/**
|
|
4995
|
+
* optional BusinessRules rules = 2;
|
|
4996
|
+
* @return {?proto.sniipappappconfigapi.BusinessRules}
|
|
4997
|
+
*/
|
|
4998
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.getRules = function() {
|
|
4999
|
+
return /** @type{?proto.sniipappappconfigapi.BusinessRules} */ (
|
|
5000
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.BusinessRules, 2));
|
|
5001
|
+
};
|
|
5002
|
+
|
|
5003
|
+
|
|
5004
|
+
/**
|
|
5005
|
+
* @param {?proto.sniipappappconfigapi.BusinessRules|undefined} value
|
|
5006
|
+
* @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse} returns this
|
|
5007
|
+
*/
|
|
5008
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.setRules = function(value) {
|
|
5009
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
5010
|
+
};
|
|
5011
|
+
|
|
5012
|
+
|
|
5013
|
+
/**
|
|
5014
|
+
* Clears the message field making it undefined.
|
|
5015
|
+
* @return {!proto.sniipappappconfigapi.GetBusinessRulesResponse} returns this
|
|
5016
|
+
*/
|
|
5017
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.clearRules = function() {
|
|
5018
|
+
return this.setRules(undefined);
|
|
5019
|
+
};
|
|
5020
|
+
|
|
5021
|
+
|
|
5022
|
+
/**
|
|
5023
|
+
* Returns whether this field is set.
|
|
5024
|
+
* @return {boolean}
|
|
5025
|
+
*/
|
|
5026
|
+
proto.sniipappappconfigapi.GetBusinessRulesResponse.prototype.hasRules = function() {
|
|
5027
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5028
|
+
};
|
|
5029
|
+
|
|
5030
|
+
|
|
5031
|
+
|
|
5032
|
+
|
|
5033
|
+
|
|
4595
5034
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4596
5035
|
/**
|
|
4597
5036
|
* Creates an object representation of this proto.
|