@sniipwebmaster/config-service-client-grpcweb-ts 26.2.2113 → 26.2.2133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/ServiceServiceClientPb.ts +167 -38
- package/dependancies/service_pb.d.ts +202 -40
- package/dependancies/service_pb.js +1509 -176
- package/package.json +1 -1
|
@@ -25,16 +25,20 @@ goog.exportSymbol('proto.sniipappappconfigapi.AppConfiggetConfigRequest', null,
|
|
|
25
25
|
goog.exportSymbol('proto.sniipappappconfigapi.ConfigExtra', null, global);
|
|
26
26
|
goog.exportSymbol('proto.sniipappappconfigapi.CreateConfigRequest', null, global);
|
|
27
27
|
goog.exportSymbol('proto.sniipappappconfigapi.CreateOfferRequest', null, global);
|
|
28
|
+
goog.exportSymbol('proto.sniipappappconfigapi.CreateOfferRulesetRequest', null, global);
|
|
28
29
|
goog.exportSymbol('proto.sniipappappconfigapi.CreateTermsAndConditionsRequest', null, global);
|
|
29
30
|
goog.exportSymbol('proto.sniipappappconfigapi.CybersourceDigitalPaymentsEnabledConfig', null, global);
|
|
30
31
|
goog.exportSymbol('proto.sniipappappconfigapi.DashboardItem', null, global);
|
|
31
32
|
goog.exportSymbol('proto.sniipappappconfigapi.DashboardItemsRequest', null, global);
|
|
32
33
|
goog.exportSymbol('proto.sniipappappconfigapi.DashboardItemsResponse', null, global);
|
|
33
34
|
goog.exportSymbol('proto.sniipappappconfigapi.DeleteOfferRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.sniipappappconfigapi.DeleteOfferRulesetRequest', null, global);
|
|
34
36
|
goog.exportSymbol('proto.sniipappappconfigapi.GetConfigRequest', null, global);
|
|
35
37
|
goog.exportSymbol('proto.sniipappappconfigapi.GetConfigResponse', null, global);
|
|
36
38
|
goog.exportSymbol('proto.sniipappappconfigapi.GetOfferRequest', null, global);
|
|
37
|
-
goog.exportSymbol('proto.sniipappappconfigapi.
|
|
39
|
+
goog.exportSymbol('proto.sniipappappconfigapi.GetOfferRulesetRequest', null, global);
|
|
40
|
+
goog.exportSymbol('proto.sniipappappconfigapi.ListOfferRulesetsRequest', null, global);
|
|
41
|
+
goog.exportSymbol('proto.sniipappappconfigapi.ListOfferRulesetsResponse', null, global);
|
|
38
42
|
goog.exportSymbol('proto.sniipappappconfigapi.ListOffersAdminRequest', null, global);
|
|
39
43
|
goog.exportSymbol('proto.sniipappappconfigapi.ListOffersRequest', null, global);
|
|
40
44
|
goog.exportSymbol('proto.sniipappappconfigapi.ListOffersResponse', null, global);
|
|
@@ -45,7 +49,8 @@ goog.exportSymbol('proto.sniipappappconfigapi.OfferCreateRequest', null, global)
|
|
|
45
49
|
goog.exportSymbol('proto.sniipappappconfigapi.OfferResponse', null, global);
|
|
46
50
|
goog.exportSymbol('proto.sniipappappconfigapi.OfferRuleGroupProto', null, global);
|
|
47
51
|
goog.exportSymbol('proto.sniipappappconfigapi.OfferRuleProto', null, global);
|
|
48
|
-
goog.exportSymbol('proto.sniipappappconfigapi.
|
|
52
|
+
goog.exportSymbol('proto.sniipappappconfigapi.OfferRuleset', null, global);
|
|
53
|
+
goog.exportSymbol('proto.sniipappappconfigapi.OfferRulesetResponse', null, global);
|
|
49
54
|
goog.exportSymbol('proto.sniipappappconfigapi.OfferUpdateRequest', null, global);
|
|
50
55
|
goog.exportSymbol('proto.sniipappappconfigapi.OnboardingScreen', null, global);
|
|
51
56
|
goog.exportSymbol('proto.sniipappappconfigapi.PatchConfigRequest', null, global);
|
|
@@ -53,13 +58,13 @@ goog.exportSymbol('proto.sniipappappconfigapi.PutConfigExtraRequest', null, glob
|
|
|
53
58
|
goog.exportSymbol('proto.sniipappappconfigapi.ResponseCode', null, global);
|
|
54
59
|
goog.exportSymbol('proto.sniipappappconfigapi.RuleOperator', null, global);
|
|
55
60
|
goog.exportSymbol('proto.sniipappappconfigapi.ScanCodes', null, global);
|
|
56
|
-
goog.exportSymbol('proto.sniipappappconfigapi.SetOfferRulesRequest', null, global);
|
|
57
61
|
goog.exportSymbol('proto.sniipappappconfigapi.TermsAndConditionsRequest', null, global);
|
|
58
62
|
goog.exportSymbol('proto.sniipappappconfigapi.TermsAndConditionsRequestInternal', null, global);
|
|
59
63
|
goog.exportSymbol('proto.sniipappappconfigapi.TermsAndConditionsResponse', null, global);
|
|
60
64
|
goog.exportSymbol('proto.sniipappappconfigapi.UpdateDashboardItemsRequest', null, global);
|
|
61
65
|
goog.exportSymbol('proto.sniipappappconfigapi.UpdateMbillingFlagRequest', null, global);
|
|
62
66
|
goog.exportSymbol('proto.sniipappappconfigapi.UpdateOfferRequest', null, global);
|
|
67
|
+
goog.exportSymbol('proto.sniipappappconfigapi.UpdateOfferRulesetRequest', null, global);
|
|
63
68
|
goog.exportSymbol('proto.sniipappappconfigapi.UpdateUserHasMbillingSubscriptionsRequest', null, global);
|
|
64
69
|
goog.exportSymbol('proto.sniipappappconfigapi.UserConfigResponse', null, global);
|
|
65
70
|
/**
|
|
@@ -828,16 +833,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
828
833
|
* @extends {jspb.Message}
|
|
829
834
|
* @constructor
|
|
830
835
|
*/
|
|
831
|
-
proto.sniipappappconfigapi.
|
|
836
|
+
proto.sniipappappconfigapi.OfferRuleset = function(opt_data) {
|
|
832
837
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
833
838
|
};
|
|
834
|
-
goog.inherits(proto.sniipappappconfigapi.
|
|
839
|
+
goog.inherits(proto.sniipappappconfigapi.OfferRuleset, jspb.Message);
|
|
835
840
|
if (goog.DEBUG && !COMPILED) {
|
|
836
841
|
/**
|
|
837
842
|
* @public
|
|
838
843
|
* @override
|
|
839
844
|
*/
|
|
840
|
-
proto.sniipappappconfigapi.
|
|
845
|
+
proto.sniipappappconfigapi.OfferRuleset.displayName = 'proto.sniipappappconfigapi.OfferRuleset';
|
|
841
846
|
}
|
|
842
847
|
/**
|
|
843
848
|
* Generated by JsPbCodeGenerator.
|
|
@@ -849,16 +854,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
849
854
|
* @extends {jspb.Message}
|
|
850
855
|
* @constructor
|
|
851
856
|
*/
|
|
852
|
-
proto.sniipappappconfigapi.
|
|
857
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest = function(opt_data) {
|
|
853
858
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
854
859
|
};
|
|
855
|
-
goog.inherits(proto.sniipappappconfigapi.
|
|
860
|
+
goog.inherits(proto.sniipappappconfigapi.CreateOfferRulesetRequest, jspb.Message);
|
|
856
861
|
if (goog.DEBUG && !COMPILED) {
|
|
857
862
|
/**
|
|
858
863
|
* @public
|
|
859
864
|
* @override
|
|
860
865
|
*/
|
|
861
|
-
proto.sniipappappconfigapi.
|
|
866
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.displayName = 'proto.sniipappappconfigapi.CreateOfferRulesetRequest';
|
|
862
867
|
}
|
|
863
868
|
/**
|
|
864
869
|
* Generated by JsPbCodeGenerator.
|
|
@@ -870,16 +875,121 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
870
875
|
* @extends {jspb.Message}
|
|
871
876
|
* @constructor
|
|
872
877
|
*/
|
|
873
|
-
proto.sniipappappconfigapi.
|
|
878
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest = function(opt_data) {
|
|
874
879
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
875
880
|
};
|
|
876
|
-
goog.inherits(proto.sniipappappconfigapi.
|
|
881
|
+
goog.inherits(proto.sniipappappconfigapi.UpdateOfferRulesetRequest, jspb.Message);
|
|
877
882
|
if (goog.DEBUG && !COMPILED) {
|
|
878
883
|
/**
|
|
879
884
|
* @public
|
|
880
885
|
* @override
|
|
881
886
|
*/
|
|
882
|
-
proto.sniipappappconfigapi.
|
|
887
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.displayName = 'proto.sniipappappconfigapi.UpdateOfferRulesetRequest';
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* Generated by JsPbCodeGenerator.
|
|
891
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
892
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
893
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
894
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
895
|
+
* valid.
|
|
896
|
+
* @extends {jspb.Message}
|
|
897
|
+
* @constructor
|
|
898
|
+
*/
|
|
899
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest = function(opt_data) {
|
|
900
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
901
|
+
};
|
|
902
|
+
goog.inherits(proto.sniipappappconfigapi.GetOfferRulesetRequest, jspb.Message);
|
|
903
|
+
if (goog.DEBUG && !COMPILED) {
|
|
904
|
+
/**
|
|
905
|
+
* @public
|
|
906
|
+
* @override
|
|
907
|
+
*/
|
|
908
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest.displayName = 'proto.sniipappappconfigapi.GetOfferRulesetRequest';
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
* Generated by JsPbCodeGenerator.
|
|
912
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
913
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
914
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
915
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
916
|
+
* valid.
|
|
917
|
+
* @extends {jspb.Message}
|
|
918
|
+
* @constructor
|
|
919
|
+
*/
|
|
920
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest = function(opt_data) {
|
|
921
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
922
|
+
};
|
|
923
|
+
goog.inherits(proto.sniipappappconfigapi.DeleteOfferRulesetRequest, jspb.Message);
|
|
924
|
+
if (goog.DEBUG && !COMPILED) {
|
|
925
|
+
/**
|
|
926
|
+
* @public
|
|
927
|
+
* @override
|
|
928
|
+
*/
|
|
929
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest.displayName = 'proto.sniipappappconfigapi.DeleteOfferRulesetRequest';
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* Generated by JsPbCodeGenerator.
|
|
933
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
934
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
935
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
936
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
937
|
+
* valid.
|
|
938
|
+
* @extends {jspb.Message}
|
|
939
|
+
* @constructor
|
|
940
|
+
*/
|
|
941
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest = function(opt_data) {
|
|
942
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
943
|
+
};
|
|
944
|
+
goog.inherits(proto.sniipappappconfigapi.ListOfferRulesetsRequest, jspb.Message);
|
|
945
|
+
if (goog.DEBUG && !COMPILED) {
|
|
946
|
+
/**
|
|
947
|
+
* @public
|
|
948
|
+
* @override
|
|
949
|
+
*/
|
|
950
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.displayName = 'proto.sniipappappconfigapi.ListOfferRulesetsRequest';
|
|
951
|
+
}
|
|
952
|
+
/**
|
|
953
|
+
* Generated by JsPbCodeGenerator.
|
|
954
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
955
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
956
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
957
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
958
|
+
* valid.
|
|
959
|
+
* @extends {jspb.Message}
|
|
960
|
+
* @constructor
|
|
961
|
+
*/
|
|
962
|
+
proto.sniipappappconfigapi.OfferRulesetResponse = function(opt_data) {
|
|
963
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
964
|
+
};
|
|
965
|
+
goog.inherits(proto.sniipappappconfigapi.OfferRulesetResponse, jspb.Message);
|
|
966
|
+
if (goog.DEBUG && !COMPILED) {
|
|
967
|
+
/**
|
|
968
|
+
* @public
|
|
969
|
+
* @override
|
|
970
|
+
*/
|
|
971
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.displayName = 'proto.sniipappappconfigapi.OfferRulesetResponse';
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* Generated by JsPbCodeGenerator.
|
|
975
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
976
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
977
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
978
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
979
|
+
* valid.
|
|
980
|
+
* @extends {jspb.Message}
|
|
981
|
+
* @constructor
|
|
982
|
+
*/
|
|
983
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse = function(opt_data) {
|
|
984
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipappappconfigapi.ListOfferRulesetsResponse.repeatedFields_, null);
|
|
985
|
+
};
|
|
986
|
+
goog.inherits(proto.sniipappappconfigapi.ListOfferRulesetsResponse, jspb.Message);
|
|
987
|
+
if (goog.DEBUG && !COMPILED) {
|
|
988
|
+
/**
|
|
989
|
+
* @public
|
|
990
|
+
* @override
|
|
991
|
+
*/
|
|
992
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.displayName = 'proto.sniipappappconfigapi.ListOfferRulesetsResponse';
|
|
883
993
|
}
|
|
884
994
|
|
|
885
995
|
|
|
@@ -7222,7 +7332,9 @@ proto.sniipappappconfigapi.Offer.toObject = function(includeInstance, msg) {
|
|
|
7222
7332
|
orderby: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
7223
7333
|
createdtimestamp: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
7224
7334
|
modifiedtimestamp: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
7225
|
-
deletedtimestamp: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
7335
|
+
deletedtimestamp: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
7336
|
+
offerrulesetid: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
7337
|
+
offerrulesetname: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
7226
7338
|
};
|
|
7227
7339
|
|
|
7228
7340
|
if (includeInstance) {
|
|
@@ -7327,6 +7439,14 @@ proto.sniipappappconfigapi.Offer.deserializeBinaryFromReader = function(msg, rea
|
|
|
7327
7439
|
var value = /** @type {string} */ (reader.readString());
|
|
7328
7440
|
msg.setDeletedtimestamp(value);
|
|
7329
7441
|
break;
|
|
7442
|
+
case 18:
|
|
7443
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7444
|
+
msg.setOfferrulesetid(value);
|
|
7445
|
+
break;
|
|
7446
|
+
case 19:
|
|
7447
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7448
|
+
msg.setOfferrulesetname(value);
|
|
7449
|
+
break;
|
|
7330
7450
|
default:
|
|
7331
7451
|
reader.skipField();
|
|
7332
7452
|
break;
|
|
@@ -7475,6 +7595,20 @@ proto.sniipappappconfigapi.Offer.serializeBinaryToWriter = function(message, wri
|
|
|
7475
7595
|
f
|
|
7476
7596
|
);
|
|
7477
7597
|
}
|
|
7598
|
+
f = message.getOfferrulesetid();
|
|
7599
|
+
if (f !== 0) {
|
|
7600
|
+
writer.writeInt64(
|
|
7601
|
+
18,
|
|
7602
|
+
f
|
|
7603
|
+
);
|
|
7604
|
+
}
|
|
7605
|
+
f = message.getOfferrulesetname();
|
|
7606
|
+
if (f.length > 0) {
|
|
7607
|
+
writer.writeString(
|
|
7608
|
+
19,
|
|
7609
|
+
f
|
|
7610
|
+
);
|
|
7611
|
+
}
|
|
7478
7612
|
};
|
|
7479
7613
|
|
|
7480
7614
|
|
|
@@ -7784,6 +7918,42 @@ proto.sniipappappconfigapi.Offer.prototype.setDeletedtimestamp = function(value)
|
|
|
7784
7918
|
};
|
|
7785
7919
|
|
|
7786
7920
|
|
|
7921
|
+
/**
|
|
7922
|
+
* optional int64 offerRulesetId = 18;
|
|
7923
|
+
* @return {number}
|
|
7924
|
+
*/
|
|
7925
|
+
proto.sniipappappconfigapi.Offer.prototype.getOfferrulesetid = function() {
|
|
7926
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
7927
|
+
};
|
|
7928
|
+
|
|
7929
|
+
|
|
7930
|
+
/**
|
|
7931
|
+
* @param {number} value
|
|
7932
|
+
* @return {!proto.sniipappappconfigapi.Offer} returns this
|
|
7933
|
+
*/
|
|
7934
|
+
proto.sniipappappconfigapi.Offer.prototype.setOfferrulesetid = function(value) {
|
|
7935
|
+
return jspb.Message.setProto3IntField(this, 18, value);
|
|
7936
|
+
};
|
|
7937
|
+
|
|
7938
|
+
|
|
7939
|
+
/**
|
|
7940
|
+
* optional string offerRulesetName = 19;
|
|
7941
|
+
* @return {string}
|
|
7942
|
+
*/
|
|
7943
|
+
proto.sniipappappconfigapi.Offer.prototype.getOfferrulesetname = function() {
|
|
7944
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
7945
|
+
};
|
|
7946
|
+
|
|
7947
|
+
|
|
7948
|
+
/**
|
|
7949
|
+
* @param {string} value
|
|
7950
|
+
* @return {!proto.sniipappappconfigapi.Offer} returns this
|
|
7951
|
+
*/
|
|
7952
|
+
proto.sniipappappconfigapi.Offer.prototype.setOfferrulesetname = function(value) {
|
|
7953
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
7954
|
+
};
|
|
7955
|
+
|
|
7956
|
+
|
|
7787
7957
|
|
|
7788
7958
|
|
|
7789
7959
|
|
|
@@ -7828,7 +7998,8 @@ proto.sniipappappconfigapi.OfferCreateRequest.toObject = function(includeInstanc
|
|
|
7828
7998
|
isenabled: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
7829
7999
|
offerwidgetheadingtext: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
7830
8000
|
offerscontent: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
7831
|
-
orderby: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
8001
|
+
orderby: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
8002
|
+
offerrulesetid: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
7832
8003
|
};
|
|
7833
8004
|
|
|
7834
8005
|
if (includeInstance) {
|
|
@@ -7917,6 +8088,10 @@ proto.sniipappappconfigapi.OfferCreateRequest.deserializeBinaryFromReader = func
|
|
|
7917
8088
|
var value = /** @type {number} */ (reader.readInt32());
|
|
7918
8089
|
msg.setOrderby(value);
|
|
7919
8090
|
break;
|
|
8091
|
+
case 14:
|
|
8092
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8093
|
+
msg.setOfferrulesetid(value);
|
|
8094
|
+
break;
|
|
7920
8095
|
default:
|
|
7921
8096
|
reader.skipField();
|
|
7922
8097
|
break;
|
|
@@ -8037,6 +8212,13 @@ proto.sniipappappconfigapi.OfferCreateRequest.serializeBinaryToWriter = function
|
|
|
8037
8212
|
f
|
|
8038
8213
|
);
|
|
8039
8214
|
}
|
|
8215
|
+
f = message.getOfferrulesetid();
|
|
8216
|
+
if (f !== 0) {
|
|
8217
|
+
writer.writeInt64(
|
|
8218
|
+
14,
|
|
8219
|
+
f
|
|
8220
|
+
);
|
|
8221
|
+
}
|
|
8040
8222
|
};
|
|
8041
8223
|
|
|
8042
8224
|
|
|
@@ -8274,6 +8456,24 @@ proto.sniipappappconfigapi.OfferCreateRequest.prototype.setOrderby = function(va
|
|
|
8274
8456
|
};
|
|
8275
8457
|
|
|
8276
8458
|
|
|
8459
|
+
/**
|
|
8460
|
+
* optional int64 offerRulesetId = 14;
|
|
8461
|
+
* @return {number}
|
|
8462
|
+
*/
|
|
8463
|
+
proto.sniipappappconfigapi.OfferCreateRequest.prototype.getOfferrulesetid = function() {
|
|
8464
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
8465
|
+
};
|
|
8466
|
+
|
|
8467
|
+
|
|
8468
|
+
/**
|
|
8469
|
+
* @param {number} value
|
|
8470
|
+
* @return {!proto.sniipappappconfigapi.OfferCreateRequest} returns this
|
|
8471
|
+
*/
|
|
8472
|
+
proto.sniipappappconfigapi.OfferCreateRequest.prototype.setOfferrulesetid = function(value) {
|
|
8473
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
8474
|
+
};
|
|
8475
|
+
|
|
8476
|
+
|
|
8277
8477
|
|
|
8278
8478
|
|
|
8279
8479
|
|
|
@@ -8470,7 +8670,8 @@ proto.sniipappappconfigapi.OfferUpdateRequest.toObject = function(includeInstanc
|
|
|
8470
8670
|
isenabled: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
8471
8671
|
offerwidgetheadingtext: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
8472
8672
|
offerscontent: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
8473
|
-
orderby: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
8673
|
+
orderby: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
8674
|
+
offerrulesetid: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
|
8474
8675
|
};
|
|
8475
8676
|
|
|
8476
8677
|
if (includeInstance) {
|
|
@@ -8563,6 +8764,10 @@ proto.sniipappappconfigapi.OfferUpdateRequest.deserializeBinaryFromReader = func
|
|
|
8563
8764
|
var value = /** @type {number} */ (reader.readInt32());
|
|
8564
8765
|
msg.setOrderby(value);
|
|
8565
8766
|
break;
|
|
8767
|
+
case 15:
|
|
8768
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8769
|
+
msg.setOfferrulesetid(value);
|
|
8770
|
+
break;
|
|
8566
8771
|
default:
|
|
8567
8772
|
reader.skipField();
|
|
8568
8773
|
break;
|
|
@@ -8690,6 +8895,13 @@ proto.sniipappappconfigapi.OfferUpdateRequest.serializeBinaryToWriter = function
|
|
|
8690
8895
|
f
|
|
8691
8896
|
);
|
|
8692
8897
|
}
|
|
8898
|
+
f = message.getOfferrulesetid();
|
|
8899
|
+
if (f !== 0) {
|
|
8900
|
+
writer.writeInt64(
|
|
8901
|
+
15,
|
|
8902
|
+
f
|
|
8903
|
+
);
|
|
8904
|
+
}
|
|
8693
8905
|
};
|
|
8694
8906
|
|
|
8695
8907
|
|
|
@@ -8945,6 +9157,24 @@ proto.sniipappappconfigapi.OfferUpdateRequest.prototype.setOrderby = function(va
|
|
|
8945
9157
|
};
|
|
8946
9158
|
|
|
8947
9159
|
|
|
9160
|
+
/**
|
|
9161
|
+
* optional int64 offerRulesetId = 15;
|
|
9162
|
+
* @return {number}
|
|
9163
|
+
*/
|
|
9164
|
+
proto.sniipappappconfigapi.OfferUpdateRequest.prototype.getOfferrulesetid = function() {
|
|
9165
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
9166
|
+
};
|
|
9167
|
+
|
|
9168
|
+
|
|
9169
|
+
/**
|
|
9170
|
+
* @param {number} value
|
|
9171
|
+
* @return {!proto.sniipappappconfigapi.OfferUpdateRequest} returns this
|
|
9172
|
+
*/
|
|
9173
|
+
proto.sniipappappconfigapi.OfferUpdateRequest.prototype.setOfferrulesetid = function(value) {
|
|
9174
|
+
return jspb.Message.setProto3IntField(this, 15, value);
|
|
9175
|
+
};
|
|
9176
|
+
|
|
9177
|
+
|
|
8948
9178
|
|
|
8949
9179
|
|
|
8950
9180
|
|
|
@@ -10718,8 +10948,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
10718
10948
|
* http://goto/soy-param-migration
|
|
10719
10949
|
* @return {!Object}
|
|
10720
10950
|
*/
|
|
10721
|
-
proto.sniipappappconfigapi.
|
|
10722
|
-
return proto.sniipappappconfigapi.
|
|
10951
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.toObject = function(opt_includeInstance) {
|
|
10952
|
+
return proto.sniipappappconfigapi.OfferRuleset.toObject(opt_includeInstance, this);
|
|
10723
10953
|
};
|
|
10724
10954
|
|
|
10725
10955
|
|
|
@@ -10728,13 +10958,18 @@ proto.sniipappappconfigapi.GetOfferRulesRequest.prototype.toObject = function(op
|
|
|
10728
10958
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10729
10959
|
* the JSPB instance for transitional soy proto support:
|
|
10730
10960
|
* http://goto/soy-param-migration
|
|
10731
|
-
* @param {!proto.sniipappappconfigapi.
|
|
10961
|
+
* @param {!proto.sniipappappconfigapi.OfferRuleset} msg The msg instance to transform.
|
|
10732
10962
|
* @return {!Object}
|
|
10733
10963
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10734
10964
|
*/
|
|
10735
|
-
proto.sniipappappconfigapi.
|
|
10965
|
+
proto.sniipappappconfigapi.OfferRuleset.toObject = function(includeInstance, msg) {
|
|
10736
10966
|
var f, obj = {
|
|
10737
|
-
|
|
10967
|
+
offerrulesetid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10968
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10969
|
+
rootgroup: (f = msg.getRootgroup()) && proto.sniipappappconfigapi.OfferRuleGroupProto.toObject(includeInstance, f),
|
|
10970
|
+
createdtimestamp: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10971
|
+
modifiedtimestamp: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10972
|
+
deletedtimestamp: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
10738
10973
|
};
|
|
10739
10974
|
|
|
10740
10975
|
if (includeInstance) {
|
|
@@ -10748,23 +10983,23 @@ proto.sniipappappconfigapi.GetOfferRulesRequest.toObject = function(includeInsta
|
|
|
10748
10983
|
/**
|
|
10749
10984
|
* Deserializes binary data (in protobuf wire format).
|
|
10750
10985
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10751
|
-
* @return {!proto.sniipappappconfigapi.
|
|
10986
|
+
* @return {!proto.sniipappappconfigapi.OfferRuleset}
|
|
10752
10987
|
*/
|
|
10753
|
-
proto.sniipappappconfigapi.
|
|
10988
|
+
proto.sniipappappconfigapi.OfferRuleset.deserializeBinary = function(bytes) {
|
|
10754
10989
|
var reader = new jspb.BinaryReader(bytes);
|
|
10755
|
-
var msg = new proto.sniipappappconfigapi.
|
|
10756
|
-
return proto.sniipappappconfigapi.
|
|
10990
|
+
var msg = new proto.sniipappappconfigapi.OfferRuleset;
|
|
10991
|
+
return proto.sniipappappconfigapi.OfferRuleset.deserializeBinaryFromReader(msg, reader);
|
|
10757
10992
|
};
|
|
10758
10993
|
|
|
10759
10994
|
|
|
10760
10995
|
/**
|
|
10761
10996
|
* Deserializes binary data (in protobuf wire format) from the
|
|
10762
10997
|
* given reader into the given message object.
|
|
10763
|
-
* @param {!proto.sniipappappconfigapi.
|
|
10998
|
+
* @param {!proto.sniipappappconfigapi.OfferRuleset} msg The message object to deserialize into.
|
|
10764
10999
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10765
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11000
|
+
* @return {!proto.sniipappappconfigapi.OfferRuleset}
|
|
10766
11001
|
*/
|
|
10767
|
-
proto.sniipappappconfigapi.
|
|
11002
|
+
proto.sniipappappconfigapi.OfferRuleset.deserializeBinaryFromReader = function(msg, reader) {
|
|
10768
11003
|
while (reader.nextField()) {
|
|
10769
11004
|
if (reader.isEndGroup()) {
|
|
10770
11005
|
break;
|
|
@@ -10773,7 +11008,28 @@ proto.sniipappappconfigapi.GetOfferRulesRequest.deserializeBinaryFromReader = fu
|
|
|
10773
11008
|
switch (field) {
|
|
10774
11009
|
case 1:
|
|
10775
11010
|
var value = /** @type {number} */ (reader.readInt64());
|
|
10776
|
-
msg.
|
|
11011
|
+
msg.setOfferrulesetid(value);
|
|
11012
|
+
break;
|
|
11013
|
+
case 2:
|
|
11014
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11015
|
+
msg.setName(value);
|
|
11016
|
+
break;
|
|
11017
|
+
case 3:
|
|
11018
|
+
var value = new proto.sniipappappconfigapi.OfferRuleGroupProto;
|
|
11019
|
+
reader.readMessage(value,proto.sniipappappconfigapi.OfferRuleGroupProto.deserializeBinaryFromReader);
|
|
11020
|
+
msg.setRootgroup(value);
|
|
11021
|
+
break;
|
|
11022
|
+
case 4:
|
|
11023
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11024
|
+
msg.setCreatedtimestamp(value);
|
|
11025
|
+
break;
|
|
11026
|
+
case 5:
|
|
11027
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11028
|
+
msg.setModifiedtimestamp(value);
|
|
11029
|
+
break;
|
|
11030
|
+
case 6:
|
|
11031
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11032
|
+
msg.setDeletedtimestamp(value);
|
|
10777
11033
|
break;
|
|
10778
11034
|
default:
|
|
10779
11035
|
reader.skipField();
|
|
@@ -10788,9 +11044,9 @@ proto.sniipappappconfigapi.GetOfferRulesRequest.deserializeBinaryFromReader = fu
|
|
|
10788
11044
|
* Serializes the message to binary data (in protobuf wire format).
|
|
10789
11045
|
* @return {!Uint8Array}
|
|
10790
11046
|
*/
|
|
10791
|
-
proto.sniipappappconfigapi.
|
|
11047
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.serializeBinary = function() {
|
|
10792
11048
|
var writer = new jspb.BinaryWriter();
|
|
10793
|
-
proto.sniipappappconfigapi.
|
|
11049
|
+
proto.sniipappappconfigapi.OfferRuleset.serializeBinaryToWriter(this, writer);
|
|
10794
11050
|
return writer.getResultBuffer();
|
|
10795
11051
|
};
|
|
10796
11052
|
|
|
@@ -10798,74 +11054,218 @@ proto.sniipappappconfigapi.GetOfferRulesRequest.prototype.serializeBinary = func
|
|
|
10798
11054
|
/**
|
|
10799
11055
|
* Serializes the given message to binary data (in protobuf wire
|
|
10800
11056
|
* format), writing to the given BinaryWriter.
|
|
10801
|
-
* @param {!proto.sniipappappconfigapi.
|
|
11057
|
+
* @param {!proto.sniipappappconfigapi.OfferRuleset} message
|
|
10802
11058
|
* @param {!jspb.BinaryWriter} writer
|
|
10803
11059
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10804
11060
|
*/
|
|
10805
|
-
proto.sniipappappconfigapi.
|
|
11061
|
+
proto.sniipappappconfigapi.OfferRuleset.serializeBinaryToWriter = function(message, writer) {
|
|
10806
11062
|
var f = undefined;
|
|
10807
|
-
f = message.
|
|
11063
|
+
f = message.getOfferrulesetid();
|
|
10808
11064
|
if (f !== 0) {
|
|
10809
11065
|
writer.writeInt64(
|
|
10810
11066
|
1,
|
|
10811
11067
|
f
|
|
10812
11068
|
);
|
|
10813
11069
|
}
|
|
11070
|
+
f = message.getName();
|
|
11071
|
+
if (f.length > 0) {
|
|
11072
|
+
writer.writeString(
|
|
11073
|
+
2,
|
|
11074
|
+
f
|
|
11075
|
+
);
|
|
11076
|
+
}
|
|
11077
|
+
f = message.getRootgroup();
|
|
11078
|
+
if (f != null) {
|
|
11079
|
+
writer.writeMessage(
|
|
11080
|
+
3,
|
|
11081
|
+
f,
|
|
11082
|
+
proto.sniipappappconfigapi.OfferRuleGroupProto.serializeBinaryToWriter
|
|
11083
|
+
);
|
|
11084
|
+
}
|
|
11085
|
+
f = message.getCreatedtimestamp();
|
|
11086
|
+
if (f.length > 0) {
|
|
11087
|
+
writer.writeString(
|
|
11088
|
+
4,
|
|
11089
|
+
f
|
|
11090
|
+
);
|
|
11091
|
+
}
|
|
11092
|
+
f = message.getModifiedtimestamp();
|
|
11093
|
+
if (f.length > 0) {
|
|
11094
|
+
writer.writeString(
|
|
11095
|
+
5,
|
|
11096
|
+
f
|
|
11097
|
+
);
|
|
11098
|
+
}
|
|
11099
|
+
f = message.getDeletedtimestamp();
|
|
11100
|
+
if (f.length > 0) {
|
|
11101
|
+
writer.writeString(
|
|
11102
|
+
6,
|
|
11103
|
+
f
|
|
11104
|
+
);
|
|
11105
|
+
}
|
|
10814
11106
|
};
|
|
10815
11107
|
|
|
10816
11108
|
|
|
10817
11109
|
/**
|
|
10818
|
-
* optional int64
|
|
11110
|
+
* optional int64 offerRulesetId = 1;
|
|
10819
11111
|
* @return {number}
|
|
10820
11112
|
*/
|
|
10821
|
-
proto.sniipappappconfigapi.
|
|
11113
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.getOfferrulesetid = function() {
|
|
10822
11114
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
10823
11115
|
};
|
|
10824
11116
|
|
|
10825
11117
|
|
|
10826
11118
|
/**
|
|
10827
11119
|
* @param {number} value
|
|
10828
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11120
|
+
* @return {!proto.sniipappappconfigapi.OfferRuleset} returns this
|
|
10829
11121
|
*/
|
|
10830
|
-
proto.sniipappappconfigapi.
|
|
11122
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.setOfferrulesetid = function(value) {
|
|
10831
11123
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
10832
11124
|
};
|
|
10833
11125
|
|
|
10834
11126
|
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
10838
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10839
11127
|
/**
|
|
10840
|
-
*
|
|
10841
|
-
*
|
|
10842
|
-
* Optional fields that are not set will be set to undefined.
|
|
10843
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10844
|
-
* For the list of reserved names please see:
|
|
10845
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10846
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10847
|
-
* JSPB instance for transitional soy proto support:
|
|
10848
|
-
* http://goto/soy-param-migration
|
|
10849
|
-
* @return {!Object}
|
|
11128
|
+
* optional string name = 2;
|
|
11129
|
+
* @return {string}
|
|
10850
11130
|
*/
|
|
10851
|
-
proto.sniipappappconfigapi.
|
|
10852
|
-
return
|
|
11131
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.getName = function() {
|
|
11132
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10853
11133
|
};
|
|
10854
11134
|
|
|
10855
11135
|
|
|
10856
11136
|
/**
|
|
10857
|
-
*
|
|
11137
|
+
* @param {string} value
|
|
11138
|
+
* @return {!proto.sniipappappconfigapi.OfferRuleset} returns this
|
|
11139
|
+
*/
|
|
11140
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.setName = function(value) {
|
|
11141
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11142
|
+
};
|
|
11143
|
+
|
|
11144
|
+
|
|
11145
|
+
/**
|
|
11146
|
+
* optional OfferRuleGroupProto rootGroup = 3;
|
|
11147
|
+
* @return {?proto.sniipappappconfigapi.OfferRuleGroupProto}
|
|
11148
|
+
*/
|
|
11149
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.getRootgroup = function() {
|
|
11150
|
+
return /** @type{?proto.sniipappappconfigapi.OfferRuleGroupProto} */ (
|
|
11151
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.OfferRuleGroupProto, 3));
|
|
11152
|
+
};
|
|
11153
|
+
|
|
11154
|
+
|
|
11155
|
+
/**
|
|
11156
|
+
* @param {?proto.sniipappappconfigapi.OfferRuleGroupProto|undefined} value
|
|
11157
|
+
* @return {!proto.sniipappappconfigapi.OfferRuleset} returns this
|
|
11158
|
+
*/
|
|
11159
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.setRootgroup = function(value) {
|
|
11160
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
11161
|
+
};
|
|
11162
|
+
|
|
11163
|
+
|
|
11164
|
+
/**
|
|
11165
|
+
* Clears the message field making it undefined.
|
|
11166
|
+
* @return {!proto.sniipappappconfigapi.OfferRuleset} returns this
|
|
11167
|
+
*/
|
|
11168
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.clearRootgroup = function() {
|
|
11169
|
+
return this.setRootgroup(undefined);
|
|
11170
|
+
};
|
|
11171
|
+
|
|
11172
|
+
|
|
11173
|
+
/**
|
|
11174
|
+
* Returns whether this field is set.
|
|
11175
|
+
* @return {boolean}
|
|
11176
|
+
*/
|
|
11177
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.hasRootgroup = function() {
|
|
11178
|
+
return jspb.Message.getField(this, 3) != null;
|
|
11179
|
+
};
|
|
11180
|
+
|
|
11181
|
+
|
|
11182
|
+
/**
|
|
11183
|
+
* optional string createdTimestamp = 4;
|
|
11184
|
+
* @return {string}
|
|
11185
|
+
*/
|
|
11186
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.getCreatedtimestamp = function() {
|
|
11187
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
11188
|
+
};
|
|
11189
|
+
|
|
11190
|
+
|
|
11191
|
+
/**
|
|
11192
|
+
* @param {string} value
|
|
11193
|
+
* @return {!proto.sniipappappconfigapi.OfferRuleset} returns this
|
|
11194
|
+
*/
|
|
11195
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.setCreatedtimestamp = function(value) {
|
|
11196
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
11197
|
+
};
|
|
11198
|
+
|
|
11199
|
+
|
|
11200
|
+
/**
|
|
11201
|
+
* optional string modifiedTimestamp = 5;
|
|
11202
|
+
* @return {string}
|
|
11203
|
+
*/
|
|
11204
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.getModifiedtimestamp = function() {
|
|
11205
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
11206
|
+
};
|
|
11207
|
+
|
|
11208
|
+
|
|
11209
|
+
/**
|
|
11210
|
+
* @param {string} value
|
|
11211
|
+
* @return {!proto.sniipappappconfigapi.OfferRuleset} returns this
|
|
11212
|
+
*/
|
|
11213
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.setModifiedtimestamp = function(value) {
|
|
11214
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
11215
|
+
};
|
|
11216
|
+
|
|
11217
|
+
|
|
11218
|
+
/**
|
|
11219
|
+
* optional string deletedTimestamp = 6;
|
|
11220
|
+
* @return {string}
|
|
11221
|
+
*/
|
|
11222
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.getDeletedtimestamp = function() {
|
|
11223
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
11224
|
+
};
|
|
11225
|
+
|
|
11226
|
+
|
|
11227
|
+
/**
|
|
11228
|
+
* @param {string} value
|
|
11229
|
+
* @return {!proto.sniipappappconfigapi.OfferRuleset} returns this
|
|
11230
|
+
*/
|
|
11231
|
+
proto.sniipappappconfigapi.OfferRuleset.prototype.setDeletedtimestamp = function(value) {
|
|
11232
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
11233
|
+
};
|
|
11234
|
+
|
|
11235
|
+
|
|
11236
|
+
|
|
11237
|
+
|
|
11238
|
+
|
|
11239
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11240
|
+
/**
|
|
11241
|
+
* Creates an object representation of this proto.
|
|
11242
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11243
|
+
* Optional fields that are not set will be set to undefined.
|
|
11244
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11245
|
+
* For the list of reserved names please see:
|
|
11246
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11247
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11248
|
+
* JSPB instance for transitional soy proto support:
|
|
11249
|
+
* http://goto/soy-param-migration
|
|
11250
|
+
* @return {!Object}
|
|
11251
|
+
*/
|
|
11252
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11253
|
+
return proto.sniipappappconfigapi.CreateOfferRulesetRequest.toObject(opt_includeInstance, this);
|
|
11254
|
+
};
|
|
11255
|
+
|
|
11256
|
+
|
|
11257
|
+
/**
|
|
11258
|
+
* Static version of the {@see toObject} method.
|
|
10858
11259
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10859
11260
|
* the JSPB instance for transitional soy proto support:
|
|
10860
11261
|
* http://goto/soy-param-migration
|
|
10861
|
-
* @param {!proto.sniipappappconfigapi.
|
|
11262
|
+
* @param {!proto.sniipappappconfigapi.CreateOfferRulesetRequest} msg The msg instance to transform.
|
|
10862
11263
|
* @return {!Object}
|
|
10863
11264
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10864
11265
|
*/
|
|
10865
|
-
proto.sniipappappconfigapi.
|
|
11266
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.toObject = function(includeInstance, msg) {
|
|
10866
11267
|
var f, obj = {
|
|
10867
|
-
|
|
10868
|
-
offerid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
11268
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10869
11269
|
rootgroup: (f = msg.getRootgroup()) && proto.sniipappappconfigapi.OfferRuleGroupProto.toObject(includeInstance, f)
|
|
10870
11270
|
};
|
|
10871
11271
|
|
|
@@ -10880,23 +11280,23 @@ proto.sniipappappconfigapi.OfferRulesResponse.toObject = function(includeInstanc
|
|
|
10880
11280
|
/**
|
|
10881
11281
|
* Deserializes binary data (in protobuf wire format).
|
|
10882
11282
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10883
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11283
|
+
* @return {!proto.sniipappappconfigapi.CreateOfferRulesetRequest}
|
|
10884
11284
|
*/
|
|
10885
|
-
proto.sniipappappconfigapi.
|
|
11285
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.deserializeBinary = function(bytes) {
|
|
10886
11286
|
var reader = new jspb.BinaryReader(bytes);
|
|
10887
|
-
var msg = new proto.sniipappappconfigapi.
|
|
10888
|
-
return proto.sniipappappconfigapi.
|
|
11287
|
+
var msg = new proto.sniipappappconfigapi.CreateOfferRulesetRequest;
|
|
11288
|
+
return proto.sniipappappconfigapi.CreateOfferRulesetRequest.deserializeBinaryFromReader(msg, reader);
|
|
10889
11289
|
};
|
|
10890
11290
|
|
|
10891
11291
|
|
|
10892
11292
|
/**
|
|
10893
11293
|
* Deserializes binary data (in protobuf wire format) from the
|
|
10894
11294
|
* given reader into the given message object.
|
|
10895
|
-
* @param {!proto.sniipappappconfigapi.
|
|
11295
|
+
* @param {!proto.sniipappappconfigapi.CreateOfferRulesetRequest} msg The message object to deserialize into.
|
|
10896
11296
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10897
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11297
|
+
* @return {!proto.sniipappappconfigapi.CreateOfferRulesetRequest}
|
|
10898
11298
|
*/
|
|
10899
|
-
proto.sniipappappconfigapi.
|
|
11299
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10900
11300
|
while (reader.nextField()) {
|
|
10901
11301
|
if (reader.isEndGroup()) {
|
|
10902
11302
|
break;
|
|
@@ -10904,15 +11304,10 @@ proto.sniipappappconfigapi.OfferRulesResponse.deserializeBinaryFromReader = func
|
|
|
10904
11304
|
var field = reader.getFieldNumber();
|
|
10905
11305
|
switch (field) {
|
|
10906
11306
|
case 1:
|
|
10907
|
-
var value =
|
|
10908
|
-
|
|
10909
|
-
msg.setResponsecode(value);
|
|
11307
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11308
|
+
msg.setName(value);
|
|
10910
11309
|
break;
|
|
10911
11310
|
case 2:
|
|
10912
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
10913
|
-
msg.setOfferid(value);
|
|
10914
|
-
break;
|
|
10915
|
-
case 3:
|
|
10916
11311
|
var value = new proto.sniipappappconfigapi.OfferRuleGroupProto;
|
|
10917
11312
|
reader.readMessage(value,proto.sniipappappconfigapi.OfferRuleGroupProto.deserializeBinaryFromReader);
|
|
10918
11313
|
msg.setRootgroup(value);
|
|
@@ -10930,9 +11325,9 @@ proto.sniipappappconfigapi.OfferRulesResponse.deserializeBinaryFromReader = func
|
|
|
10930
11325
|
* Serializes the message to binary data (in protobuf wire format).
|
|
10931
11326
|
* @return {!Uint8Array}
|
|
10932
11327
|
*/
|
|
10933
|
-
proto.sniipappappconfigapi.
|
|
11328
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.prototype.serializeBinary = function() {
|
|
10934
11329
|
var writer = new jspb.BinaryWriter();
|
|
10935
|
-
proto.sniipappappconfigapi.
|
|
11330
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.serializeBinaryToWriter(this, writer);
|
|
10936
11331
|
return writer.getResultBuffer();
|
|
10937
11332
|
};
|
|
10938
11333
|
|
|
@@ -10940,31 +11335,23 @@ proto.sniipappappconfigapi.OfferRulesResponse.prototype.serializeBinary = functi
|
|
|
10940
11335
|
/**
|
|
10941
11336
|
* Serializes the given message to binary data (in protobuf wire
|
|
10942
11337
|
* format), writing to the given BinaryWriter.
|
|
10943
|
-
* @param {!proto.sniipappappconfigapi.
|
|
11338
|
+
* @param {!proto.sniipappappconfigapi.CreateOfferRulesetRequest} message
|
|
10944
11339
|
* @param {!jspb.BinaryWriter} writer
|
|
10945
11340
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10946
11341
|
*/
|
|
10947
|
-
proto.sniipappappconfigapi.
|
|
11342
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10948
11343
|
var f = undefined;
|
|
10949
|
-
f = message.
|
|
10950
|
-
if (f
|
|
10951
|
-
writer.
|
|
11344
|
+
f = message.getName();
|
|
11345
|
+
if (f.length > 0) {
|
|
11346
|
+
writer.writeString(
|
|
10952
11347
|
1,
|
|
10953
|
-
f,
|
|
10954
|
-
proto.sniipappappconfigapi.ResponseCode.serializeBinaryToWriter
|
|
10955
|
-
);
|
|
10956
|
-
}
|
|
10957
|
-
f = message.getOfferid();
|
|
10958
|
-
if (f !== 0) {
|
|
10959
|
-
writer.writeInt64(
|
|
10960
|
-
2,
|
|
10961
11348
|
f
|
|
10962
11349
|
);
|
|
10963
11350
|
}
|
|
10964
11351
|
f = message.getRootgroup();
|
|
10965
11352
|
if (f != null) {
|
|
10966
11353
|
writer.writeMessage(
|
|
10967
|
-
|
|
11354
|
+
2,
|
|
10968
11355
|
f,
|
|
10969
11356
|
proto.sniipappappconfigapi.OfferRuleGroupProto.serializeBinaryToWriter
|
|
10970
11357
|
);
|
|
@@ -10973,84 +11360,47 @@ proto.sniipappappconfigapi.OfferRulesResponse.serializeBinaryToWriter = function
|
|
|
10973
11360
|
|
|
10974
11361
|
|
|
10975
11362
|
/**
|
|
10976
|
-
* optional
|
|
10977
|
-
* @return {
|
|
10978
|
-
*/
|
|
10979
|
-
proto.sniipappappconfigapi.OfferRulesResponse.prototype.getResponsecode = function() {
|
|
10980
|
-
return /** @type{?proto.sniipappappconfigapi.ResponseCode} */ (
|
|
10981
|
-
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ResponseCode, 1));
|
|
10982
|
-
};
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
/**
|
|
10986
|
-
* @param {?proto.sniipappappconfigapi.ResponseCode|undefined} value
|
|
10987
|
-
* @return {!proto.sniipappappconfigapi.OfferRulesResponse} returns this
|
|
10988
|
-
*/
|
|
10989
|
-
proto.sniipappappconfigapi.OfferRulesResponse.prototype.setResponsecode = function(value) {
|
|
10990
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
10991
|
-
};
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
/**
|
|
10995
|
-
* Clears the message field making it undefined.
|
|
10996
|
-
* @return {!proto.sniipappappconfigapi.OfferRulesResponse} returns this
|
|
10997
|
-
*/
|
|
10998
|
-
proto.sniipappappconfigapi.OfferRulesResponse.prototype.clearResponsecode = function() {
|
|
10999
|
-
return this.setResponsecode(undefined);
|
|
11000
|
-
};
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
/**
|
|
11004
|
-
* Returns whether this field is set.
|
|
11005
|
-
* @return {boolean}
|
|
11006
|
-
*/
|
|
11007
|
-
proto.sniipappappconfigapi.OfferRulesResponse.prototype.hasResponsecode = function() {
|
|
11008
|
-
return jspb.Message.getField(this, 1) != null;
|
|
11009
|
-
};
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
/**
|
|
11013
|
-
* optional int64 offerId = 2;
|
|
11014
|
-
* @return {number}
|
|
11363
|
+
* optional string name = 1;
|
|
11364
|
+
* @return {string}
|
|
11015
11365
|
*/
|
|
11016
|
-
proto.sniipappappconfigapi.
|
|
11017
|
-
return /** @type {
|
|
11366
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.prototype.getName = function() {
|
|
11367
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11018
11368
|
};
|
|
11019
11369
|
|
|
11020
11370
|
|
|
11021
11371
|
/**
|
|
11022
|
-
* @param {
|
|
11023
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11372
|
+
* @param {string} value
|
|
11373
|
+
* @return {!proto.sniipappappconfigapi.CreateOfferRulesetRequest} returns this
|
|
11024
11374
|
*/
|
|
11025
|
-
proto.sniipappappconfigapi.
|
|
11026
|
-
return jspb.Message.
|
|
11375
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.prototype.setName = function(value) {
|
|
11376
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11027
11377
|
};
|
|
11028
11378
|
|
|
11029
11379
|
|
|
11030
11380
|
/**
|
|
11031
|
-
* optional OfferRuleGroupProto rootGroup =
|
|
11381
|
+
* optional OfferRuleGroupProto rootGroup = 2;
|
|
11032
11382
|
* @return {?proto.sniipappappconfigapi.OfferRuleGroupProto}
|
|
11033
11383
|
*/
|
|
11034
|
-
proto.sniipappappconfigapi.
|
|
11384
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.prototype.getRootgroup = function() {
|
|
11035
11385
|
return /** @type{?proto.sniipappappconfigapi.OfferRuleGroupProto} */ (
|
|
11036
|
-
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.OfferRuleGroupProto,
|
|
11386
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.OfferRuleGroupProto, 2));
|
|
11037
11387
|
};
|
|
11038
11388
|
|
|
11039
11389
|
|
|
11040
11390
|
/**
|
|
11041
11391
|
* @param {?proto.sniipappappconfigapi.OfferRuleGroupProto|undefined} value
|
|
11042
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11392
|
+
* @return {!proto.sniipappappconfigapi.CreateOfferRulesetRequest} returns this
|
|
11043
11393
|
*/
|
|
11044
|
-
proto.sniipappappconfigapi.
|
|
11045
|
-
return jspb.Message.setWrapperField(this,
|
|
11394
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.prototype.setRootgroup = function(value) {
|
|
11395
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
11046
11396
|
};
|
|
11047
11397
|
|
|
11048
11398
|
|
|
11049
11399
|
/**
|
|
11050
11400
|
* Clears the message field making it undefined.
|
|
11051
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11401
|
+
* @return {!proto.sniipappappconfigapi.CreateOfferRulesetRequest} returns this
|
|
11052
11402
|
*/
|
|
11053
|
-
proto.sniipappappconfigapi.
|
|
11403
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.prototype.clearRootgroup = function() {
|
|
11054
11404
|
return this.setRootgroup(undefined);
|
|
11055
11405
|
};
|
|
11056
11406
|
|
|
@@ -11059,8 +11409,8 @@ proto.sniipappappconfigapi.OfferRulesResponse.prototype.clearRootgroup = functio
|
|
|
11059
11409
|
* Returns whether this field is set.
|
|
11060
11410
|
* @return {boolean}
|
|
11061
11411
|
*/
|
|
11062
|
-
proto.sniipappappconfigapi.
|
|
11063
|
-
return jspb.Message.getField(this,
|
|
11412
|
+
proto.sniipappappconfigapi.CreateOfferRulesetRequest.prototype.hasRootgroup = function() {
|
|
11413
|
+
return jspb.Message.getField(this, 2) != null;
|
|
11064
11414
|
};
|
|
11065
11415
|
|
|
11066
11416
|
|
|
@@ -11080,8 +11430,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
11080
11430
|
* http://goto/soy-param-migration
|
|
11081
11431
|
* @return {!Object}
|
|
11082
11432
|
*/
|
|
11083
|
-
proto.sniipappappconfigapi.
|
|
11084
|
-
return proto.sniipappappconfigapi.
|
|
11433
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11434
|
+
return proto.sniipappappconfigapi.UpdateOfferRulesetRequest.toObject(opt_includeInstance, this);
|
|
11085
11435
|
};
|
|
11086
11436
|
|
|
11087
11437
|
|
|
@@ -11090,13 +11440,14 @@ proto.sniipappappconfigapi.SetOfferRulesRequest.prototype.toObject = function(op
|
|
|
11090
11440
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11091
11441
|
* the JSPB instance for transitional soy proto support:
|
|
11092
11442
|
* http://goto/soy-param-migration
|
|
11093
|
-
* @param {!proto.sniipappappconfigapi.
|
|
11443
|
+
* @param {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest} msg The msg instance to transform.
|
|
11094
11444
|
* @return {!Object}
|
|
11095
11445
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11096
11446
|
*/
|
|
11097
|
-
proto.sniipappappconfigapi.
|
|
11447
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.toObject = function(includeInstance, msg) {
|
|
11098
11448
|
var f, obj = {
|
|
11099
|
-
|
|
11449
|
+
offerrulesetid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
11450
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11100
11451
|
rootgroup: (f = msg.getRootgroup()) && proto.sniipappappconfigapi.OfferRuleGroupProto.toObject(includeInstance, f)
|
|
11101
11452
|
};
|
|
11102
11453
|
|
|
@@ -11111,23 +11462,23 @@ proto.sniipappappconfigapi.SetOfferRulesRequest.toObject = function(includeInsta
|
|
|
11111
11462
|
/**
|
|
11112
11463
|
* Deserializes binary data (in protobuf wire format).
|
|
11113
11464
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11114
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11465
|
+
* @return {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest}
|
|
11115
11466
|
*/
|
|
11116
|
-
proto.sniipappappconfigapi.
|
|
11467
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.deserializeBinary = function(bytes) {
|
|
11117
11468
|
var reader = new jspb.BinaryReader(bytes);
|
|
11118
|
-
var msg = new proto.sniipappappconfigapi.
|
|
11119
|
-
return proto.sniipappappconfigapi.
|
|
11469
|
+
var msg = new proto.sniipappappconfigapi.UpdateOfferRulesetRequest;
|
|
11470
|
+
return proto.sniipappappconfigapi.UpdateOfferRulesetRequest.deserializeBinaryFromReader(msg, reader);
|
|
11120
11471
|
};
|
|
11121
11472
|
|
|
11122
11473
|
|
|
11123
11474
|
/**
|
|
11124
11475
|
* Deserializes binary data (in protobuf wire format) from the
|
|
11125
11476
|
* given reader into the given message object.
|
|
11126
|
-
* @param {!proto.sniipappappconfigapi.
|
|
11477
|
+
* @param {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest} msg The message object to deserialize into.
|
|
11127
11478
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11128
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11479
|
+
* @return {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest}
|
|
11129
11480
|
*/
|
|
11130
|
-
proto.sniipappappconfigapi.
|
|
11481
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11131
11482
|
while (reader.nextField()) {
|
|
11132
11483
|
if (reader.isEndGroup()) {
|
|
11133
11484
|
break;
|
|
@@ -11136,9 +11487,13 @@ proto.sniipappappconfigapi.SetOfferRulesRequest.deserializeBinaryFromReader = fu
|
|
|
11136
11487
|
switch (field) {
|
|
11137
11488
|
case 1:
|
|
11138
11489
|
var value = /** @type {number} */ (reader.readInt64());
|
|
11139
|
-
msg.
|
|
11490
|
+
msg.setOfferrulesetid(value);
|
|
11140
11491
|
break;
|
|
11141
11492
|
case 2:
|
|
11493
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11494
|
+
msg.setName(value);
|
|
11495
|
+
break;
|
|
11496
|
+
case 3:
|
|
11142
11497
|
var value = new proto.sniipappappconfigapi.OfferRuleGroupProto;
|
|
11143
11498
|
reader.readMessage(value,proto.sniipappappconfigapi.OfferRuleGroupProto.deserializeBinaryFromReader);
|
|
11144
11499
|
msg.setRootgroup(value);
|
|
@@ -11156,9 +11511,9 @@ proto.sniipappappconfigapi.SetOfferRulesRequest.deserializeBinaryFromReader = fu
|
|
|
11156
11511
|
* Serializes the message to binary data (in protobuf wire format).
|
|
11157
11512
|
* @return {!Uint8Array}
|
|
11158
11513
|
*/
|
|
11159
|
-
proto.sniipappappconfigapi.
|
|
11514
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.prototype.serializeBinary = function() {
|
|
11160
11515
|
var writer = new jspb.BinaryWriter();
|
|
11161
|
-
proto.sniipappappconfigapi.
|
|
11516
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.serializeBinaryToWriter(this, writer);
|
|
11162
11517
|
return writer.getResultBuffer();
|
|
11163
11518
|
};
|
|
11164
11519
|
|
|
@@ -11166,23 +11521,30 @@ proto.sniipappappconfigapi.SetOfferRulesRequest.prototype.serializeBinary = func
|
|
|
11166
11521
|
/**
|
|
11167
11522
|
* Serializes the given message to binary data (in protobuf wire
|
|
11168
11523
|
* format), writing to the given BinaryWriter.
|
|
11169
|
-
* @param {!proto.sniipappappconfigapi.
|
|
11524
|
+
* @param {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest} message
|
|
11170
11525
|
* @param {!jspb.BinaryWriter} writer
|
|
11171
11526
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11172
11527
|
*/
|
|
11173
|
-
proto.sniipappappconfigapi.
|
|
11528
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11174
11529
|
var f = undefined;
|
|
11175
|
-
f = message.
|
|
11530
|
+
f = message.getOfferrulesetid();
|
|
11176
11531
|
if (f !== 0) {
|
|
11177
11532
|
writer.writeInt64(
|
|
11178
11533
|
1,
|
|
11179
11534
|
f
|
|
11180
11535
|
);
|
|
11181
11536
|
}
|
|
11537
|
+
f = message.getName();
|
|
11538
|
+
if (f.length > 0) {
|
|
11539
|
+
writer.writeString(
|
|
11540
|
+
2,
|
|
11541
|
+
f
|
|
11542
|
+
);
|
|
11543
|
+
}
|
|
11182
11544
|
f = message.getRootgroup();
|
|
11183
11545
|
if (f != null) {
|
|
11184
11546
|
writer.writeMessage(
|
|
11185
|
-
|
|
11547
|
+
3,
|
|
11186
11548
|
f,
|
|
11187
11549
|
proto.sniipappappconfigapi.OfferRuleGroupProto.serializeBinaryToWriter
|
|
11188
11550
|
);
|
|
@@ -11191,47 +11553,65 @@ proto.sniipappappconfigapi.SetOfferRulesRequest.serializeBinaryToWriter = functi
|
|
|
11191
11553
|
|
|
11192
11554
|
|
|
11193
11555
|
/**
|
|
11194
|
-
* optional int64
|
|
11556
|
+
* optional int64 offerRulesetId = 1;
|
|
11195
11557
|
* @return {number}
|
|
11196
11558
|
*/
|
|
11197
|
-
proto.sniipappappconfigapi.
|
|
11559
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.prototype.getOfferrulesetid = function() {
|
|
11198
11560
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
11199
11561
|
};
|
|
11200
11562
|
|
|
11201
11563
|
|
|
11202
11564
|
/**
|
|
11203
11565
|
* @param {number} value
|
|
11204
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11566
|
+
* @return {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest} returns this
|
|
11205
11567
|
*/
|
|
11206
|
-
proto.sniipappappconfigapi.
|
|
11568
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.prototype.setOfferrulesetid = function(value) {
|
|
11207
11569
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
11208
11570
|
};
|
|
11209
11571
|
|
|
11210
11572
|
|
|
11211
11573
|
/**
|
|
11212
|
-
* optional
|
|
11574
|
+
* optional string name = 2;
|
|
11575
|
+
* @return {string}
|
|
11576
|
+
*/
|
|
11577
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.prototype.getName = function() {
|
|
11578
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11579
|
+
};
|
|
11580
|
+
|
|
11581
|
+
|
|
11582
|
+
/**
|
|
11583
|
+
* @param {string} value
|
|
11584
|
+
* @return {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest} returns this
|
|
11585
|
+
*/
|
|
11586
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.prototype.setName = function(value) {
|
|
11587
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11588
|
+
};
|
|
11589
|
+
|
|
11590
|
+
|
|
11591
|
+
/**
|
|
11592
|
+
* optional OfferRuleGroupProto rootGroup = 3;
|
|
11213
11593
|
* @return {?proto.sniipappappconfigapi.OfferRuleGroupProto}
|
|
11214
11594
|
*/
|
|
11215
|
-
proto.sniipappappconfigapi.
|
|
11595
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.prototype.getRootgroup = function() {
|
|
11216
11596
|
return /** @type{?proto.sniipappappconfigapi.OfferRuleGroupProto} */ (
|
|
11217
|
-
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.OfferRuleGroupProto,
|
|
11597
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.OfferRuleGroupProto, 3));
|
|
11218
11598
|
};
|
|
11219
11599
|
|
|
11220
11600
|
|
|
11221
11601
|
/**
|
|
11222
11602
|
* @param {?proto.sniipappappconfigapi.OfferRuleGroupProto|undefined} value
|
|
11223
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11603
|
+
* @return {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest} returns this
|
|
11224
11604
|
*/
|
|
11225
|
-
proto.sniipappappconfigapi.
|
|
11226
|
-
return jspb.Message.setWrapperField(this,
|
|
11605
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.prototype.setRootgroup = function(value) {
|
|
11606
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
11227
11607
|
};
|
|
11228
11608
|
|
|
11229
11609
|
|
|
11230
11610
|
/**
|
|
11231
11611
|
* Clears the message field making it undefined.
|
|
11232
|
-
* @return {!proto.sniipappappconfigapi.
|
|
11612
|
+
* @return {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest} returns this
|
|
11233
11613
|
*/
|
|
11234
|
-
proto.sniipappappconfigapi.
|
|
11614
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.prototype.clearRootgroup = function() {
|
|
11235
11615
|
return this.setRootgroup(undefined);
|
|
11236
11616
|
};
|
|
11237
11617
|
|
|
@@ -11240,8 +11620,961 @@ proto.sniipappappconfigapi.SetOfferRulesRequest.prototype.clearRootgroup = funct
|
|
|
11240
11620
|
* Returns whether this field is set.
|
|
11241
11621
|
* @return {boolean}
|
|
11242
11622
|
*/
|
|
11243
|
-
proto.sniipappappconfigapi.
|
|
11244
|
-
return jspb.Message.getField(this,
|
|
11623
|
+
proto.sniipappappconfigapi.UpdateOfferRulesetRequest.prototype.hasRootgroup = function() {
|
|
11624
|
+
return jspb.Message.getField(this, 3) != null;
|
|
11625
|
+
};
|
|
11626
|
+
|
|
11627
|
+
|
|
11628
|
+
|
|
11629
|
+
|
|
11630
|
+
|
|
11631
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11632
|
+
/**
|
|
11633
|
+
* Creates an object representation of this proto.
|
|
11634
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11635
|
+
* Optional fields that are not set will be set to undefined.
|
|
11636
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11637
|
+
* For the list of reserved names please see:
|
|
11638
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11639
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11640
|
+
* JSPB instance for transitional soy proto support:
|
|
11641
|
+
* http://goto/soy-param-migration
|
|
11642
|
+
* @return {!Object}
|
|
11643
|
+
*/
|
|
11644
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11645
|
+
return proto.sniipappappconfigapi.GetOfferRulesetRequest.toObject(opt_includeInstance, this);
|
|
11646
|
+
};
|
|
11647
|
+
|
|
11648
|
+
|
|
11649
|
+
/**
|
|
11650
|
+
* Static version of the {@see toObject} method.
|
|
11651
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11652
|
+
* the JSPB instance for transitional soy proto support:
|
|
11653
|
+
* http://goto/soy-param-migration
|
|
11654
|
+
* @param {!proto.sniipappappconfigapi.GetOfferRulesetRequest} msg The msg instance to transform.
|
|
11655
|
+
* @return {!Object}
|
|
11656
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11657
|
+
*/
|
|
11658
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest.toObject = function(includeInstance, msg) {
|
|
11659
|
+
var f, obj = {
|
|
11660
|
+
offerrulesetid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
11661
|
+
};
|
|
11662
|
+
|
|
11663
|
+
if (includeInstance) {
|
|
11664
|
+
obj.$jspbMessageInstance = msg;
|
|
11665
|
+
}
|
|
11666
|
+
return obj;
|
|
11667
|
+
};
|
|
11668
|
+
}
|
|
11669
|
+
|
|
11670
|
+
|
|
11671
|
+
/**
|
|
11672
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11673
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11674
|
+
* @return {!proto.sniipappappconfigapi.GetOfferRulesetRequest}
|
|
11675
|
+
*/
|
|
11676
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest.deserializeBinary = function(bytes) {
|
|
11677
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11678
|
+
var msg = new proto.sniipappappconfigapi.GetOfferRulesetRequest;
|
|
11679
|
+
return proto.sniipappappconfigapi.GetOfferRulesetRequest.deserializeBinaryFromReader(msg, reader);
|
|
11680
|
+
};
|
|
11681
|
+
|
|
11682
|
+
|
|
11683
|
+
/**
|
|
11684
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11685
|
+
* given reader into the given message object.
|
|
11686
|
+
* @param {!proto.sniipappappconfigapi.GetOfferRulesetRequest} msg The message object to deserialize into.
|
|
11687
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11688
|
+
* @return {!proto.sniipappappconfigapi.GetOfferRulesetRequest}
|
|
11689
|
+
*/
|
|
11690
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11691
|
+
while (reader.nextField()) {
|
|
11692
|
+
if (reader.isEndGroup()) {
|
|
11693
|
+
break;
|
|
11694
|
+
}
|
|
11695
|
+
var field = reader.getFieldNumber();
|
|
11696
|
+
switch (field) {
|
|
11697
|
+
case 1:
|
|
11698
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11699
|
+
msg.setOfferrulesetid(value);
|
|
11700
|
+
break;
|
|
11701
|
+
default:
|
|
11702
|
+
reader.skipField();
|
|
11703
|
+
break;
|
|
11704
|
+
}
|
|
11705
|
+
}
|
|
11706
|
+
return msg;
|
|
11707
|
+
};
|
|
11708
|
+
|
|
11709
|
+
|
|
11710
|
+
/**
|
|
11711
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11712
|
+
* @return {!Uint8Array}
|
|
11713
|
+
*/
|
|
11714
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest.prototype.serializeBinary = function() {
|
|
11715
|
+
var writer = new jspb.BinaryWriter();
|
|
11716
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest.serializeBinaryToWriter(this, writer);
|
|
11717
|
+
return writer.getResultBuffer();
|
|
11718
|
+
};
|
|
11719
|
+
|
|
11720
|
+
|
|
11721
|
+
/**
|
|
11722
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11723
|
+
* format), writing to the given BinaryWriter.
|
|
11724
|
+
* @param {!proto.sniipappappconfigapi.GetOfferRulesetRequest} message
|
|
11725
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11726
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11727
|
+
*/
|
|
11728
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11729
|
+
var f = undefined;
|
|
11730
|
+
f = message.getOfferrulesetid();
|
|
11731
|
+
if (f !== 0) {
|
|
11732
|
+
writer.writeInt64(
|
|
11733
|
+
1,
|
|
11734
|
+
f
|
|
11735
|
+
);
|
|
11736
|
+
}
|
|
11737
|
+
};
|
|
11738
|
+
|
|
11739
|
+
|
|
11740
|
+
/**
|
|
11741
|
+
* optional int64 offerRulesetId = 1;
|
|
11742
|
+
* @return {number}
|
|
11743
|
+
*/
|
|
11744
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest.prototype.getOfferrulesetid = function() {
|
|
11745
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
11746
|
+
};
|
|
11747
|
+
|
|
11748
|
+
|
|
11749
|
+
/**
|
|
11750
|
+
* @param {number} value
|
|
11751
|
+
* @return {!proto.sniipappappconfigapi.GetOfferRulesetRequest} returns this
|
|
11752
|
+
*/
|
|
11753
|
+
proto.sniipappappconfigapi.GetOfferRulesetRequest.prototype.setOfferrulesetid = function(value) {
|
|
11754
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
11755
|
+
};
|
|
11756
|
+
|
|
11757
|
+
|
|
11758
|
+
|
|
11759
|
+
|
|
11760
|
+
|
|
11761
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11762
|
+
/**
|
|
11763
|
+
* Creates an object representation of this proto.
|
|
11764
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11765
|
+
* Optional fields that are not set will be set to undefined.
|
|
11766
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11767
|
+
* For the list of reserved names please see:
|
|
11768
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11769
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11770
|
+
* JSPB instance for transitional soy proto support:
|
|
11771
|
+
* http://goto/soy-param-migration
|
|
11772
|
+
* @return {!Object}
|
|
11773
|
+
*/
|
|
11774
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11775
|
+
return proto.sniipappappconfigapi.DeleteOfferRulesetRequest.toObject(opt_includeInstance, this);
|
|
11776
|
+
};
|
|
11777
|
+
|
|
11778
|
+
|
|
11779
|
+
/**
|
|
11780
|
+
* Static version of the {@see toObject} method.
|
|
11781
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11782
|
+
* the JSPB instance for transitional soy proto support:
|
|
11783
|
+
* http://goto/soy-param-migration
|
|
11784
|
+
* @param {!proto.sniipappappconfigapi.DeleteOfferRulesetRequest} msg The msg instance to transform.
|
|
11785
|
+
* @return {!Object}
|
|
11786
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11787
|
+
*/
|
|
11788
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest.toObject = function(includeInstance, msg) {
|
|
11789
|
+
var f, obj = {
|
|
11790
|
+
offerrulesetid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
11791
|
+
};
|
|
11792
|
+
|
|
11793
|
+
if (includeInstance) {
|
|
11794
|
+
obj.$jspbMessageInstance = msg;
|
|
11795
|
+
}
|
|
11796
|
+
return obj;
|
|
11797
|
+
};
|
|
11798
|
+
}
|
|
11799
|
+
|
|
11800
|
+
|
|
11801
|
+
/**
|
|
11802
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11803
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11804
|
+
* @return {!proto.sniipappappconfigapi.DeleteOfferRulesetRequest}
|
|
11805
|
+
*/
|
|
11806
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest.deserializeBinary = function(bytes) {
|
|
11807
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11808
|
+
var msg = new proto.sniipappappconfigapi.DeleteOfferRulesetRequest;
|
|
11809
|
+
return proto.sniipappappconfigapi.DeleteOfferRulesetRequest.deserializeBinaryFromReader(msg, reader);
|
|
11810
|
+
};
|
|
11811
|
+
|
|
11812
|
+
|
|
11813
|
+
/**
|
|
11814
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11815
|
+
* given reader into the given message object.
|
|
11816
|
+
* @param {!proto.sniipappappconfigapi.DeleteOfferRulesetRequest} msg The message object to deserialize into.
|
|
11817
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11818
|
+
* @return {!proto.sniipappappconfigapi.DeleteOfferRulesetRequest}
|
|
11819
|
+
*/
|
|
11820
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11821
|
+
while (reader.nextField()) {
|
|
11822
|
+
if (reader.isEndGroup()) {
|
|
11823
|
+
break;
|
|
11824
|
+
}
|
|
11825
|
+
var field = reader.getFieldNumber();
|
|
11826
|
+
switch (field) {
|
|
11827
|
+
case 1:
|
|
11828
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11829
|
+
msg.setOfferrulesetid(value);
|
|
11830
|
+
break;
|
|
11831
|
+
default:
|
|
11832
|
+
reader.skipField();
|
|
11833
|
+
break;
|
|
11834
|
+
}
|
|
11835
|
+
}
|
|
11836
|
+
return msg;
|
|
11837
|
+
};
|
|
11838
|
+
|
|
11839
|
+
|
|
11840
|
+
/**
|
|
11841
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11842
|
+
* @return {!Uint8Array}
|
|
11843
|
+
*/
|
|
11844
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest.prototype.serializeBinary = function() {
|
|
11845
|
+
var writer = new jspb.BinaryWriter();
|
|
11846
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest.serializeBinaryToWriter(this, writer);
|
|
11847
|
+
return writer.getResultBuffer();
|
|
11848
|
+
};
|
|
11849
|
+
|
|
11850
|
+
|
|
11851
|
+
/**
|
|
11852
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11853
|
+
* format), writing to the given BinaryWriter.
|
|
11854
|
+
* @param {!proto.sniipappappconfigapi.DeleteOfferRulesetRequest} message
|
|
11855
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11856
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11857
|
+
*/
|
|
11858
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11859
|
+
var f = undefined;
|
|
11860
|
+
f = message.getOfferrulesetid();
|
|
11861
|
+
if (f !== 0) {
|
|
11862
|
+
writer.writeInt64(
|
|
11863
|
+
1,
|
|
11864
|
+
f
|
|
11865
|
+
);
|
|
11866
|
+
}
|
|
11867
|
+
};
|
|
11868
|
+
|
|
11869
|
+
|
|
11870
|
+
/**
|
|
11871
|
+
* optional int64 offerRulesetId = 1;
|
|
11872
|
+
* @return {number}
|
|
11873
|
+
*/
|
|
11874
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest.prototype.getOfferrulesetid = function() {
|
|
11875
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
11876
|
+
};
|
|
11877
|
+
|
|
11878
|
+
|
|
11879
|
+
/**
|
|
11880
|
+
* @param {number} value
|
|
11881
|
+
* @return {!proto.sniipappappconfigapi.DeleteOfferRulesetRequest} returns this
|
|
11882
|
+
*/
|
|
11883
|
+
proto.sniipappappconfigapi.DeleteOfferRulesetRequest.prototype.setOfferrulesetid = function(value) {
|
|
11884
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
11885
|
+
};
|
|
11886
|
+
|
|
11887
|
+
|
|
11888
|
+
|
|
11889
|
+
|
|
11890
|
+
|
|
11891
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11892
|
+
/**
|
|
11893
|
+
* Creates an object representation of this proto.
|
|
11894
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11895
|
+
* Optional fields that are not set will be set to undefined.
|
|
11896
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11897
|
+
* For the list of reserved names please see:
|
|
11898
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11899
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11900
|
+
* JSPB instance for transitional soy proto support:
|
|
11901
|
+
* http://goto/soy-param-migration
|
|
11902
|
+
* @return {!Object}
|
|
11903
|
+
*/
|
|
11904
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11905
|
+
return proto.sniipappappconfigapi.ListOfferRulesetsRequest.toObject(opt_includeInstance, this);
|
|
11906
|
+
};
|
|
11907
|
+
|
|
11908
|
+
|
|
11909
|
+
/**
|
|
11910
|
+
* Static version of the {@see toObject} method.
|
|
11911
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11912
|
+
* the JSPB instance for transitional soy proto support:
|
|
11913
|
+
* http://goto/soy-param-migration
|
|
11914
|
+
* @param {!proto.sniipappappconfigapi.ListOfferRulesetsRequest} msg The msg instance to transform.
|
|
11915
|
+
* @return {!Object}
|
|
11916
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11917
|
+
*/
|
|
11918
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.toObject = function(includeInstance, msg) {
|
|
11919
|
+
var f, obj = {
|
|
11920
|
+
page: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
11921
|
+
pagesize: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
11922
|
+
};
|
|
11923
|
+
|
|
11924
|
+
if (includeInstance) {
|
|
11925
|
+
obj.$jspbMessageInstance = msg;
|
|
11926
|
+
}
|
|
11927
|
+
return obj;
|
|
11928
|
+
};
|
|
11929
|
+
}
|
|
11930
|
+
|
|
11931
|
+
|
|
11932
|
+
/**
|
|
11933
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11934
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11935
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsRequest}
|
|
11936
|
+
*/
|
|
11937
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.deserializeBinary = function(bytes) {
|
|
11938
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11939
|
+
var msg = new proto.sniipappappconfigapi.ListOfferRulesetsRequest;
|
|
11940
|
+
return proto.sniipappappconfigapi.ListOfferRulesetsRequest.deserializeBinaryFromReader(msg, reader);
|
|
11941
|
+
};
|
|
11942
|
+
|
|
11943
|
+
|
|
11944
|
+
/**
|
|
11945
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11946
|
+
* given reader into the given message object.
|
|
11947
|
+
* @param {!proto.sniipappappconfigapi.ListOfferRulesetsRequest} msg The message object to deserialize into.
|
|
11948
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11949
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsRequest}
|
|
11950
|
+
*/
|
|
11951
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11952
|
+
while (reader.nextField()) {
|
|
11953
|
+
if (reader.isEndGroup()) {
|
|
11954
|
+
break;
|
|
11955
|
+
}
|
|
11956
|
+
var field = reader.getFieldNumber();
|
|
11957
|
+
switch (field) {
|
|
11958
|
+
case 1:
|
|
11959
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
11960
|
+
msg.setPage(value);
|
|
11961
|
+
break;
|
|
11962
|
+
case 2:
|
|
11963
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
11964
|
+
msg.setPagesize(value);
|
|
11965
|
+
break;
|
|
11966
|
+
default:
|
|
11967
|
+
reader.skipField();
|
|
11968
|
+
break;
|
|
11969
|
+
}
|
|
11970
|
+
}
|
|
11971
|
+
return msg;
|
|
11972
|
+
};
|
|
11973
|
+
|
|
11974
|
+
|
|
11975
|
+
/**
|
|
11976
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11977
|
+
* @return {!Uint8Array}
|
|
11978
|
+
*/
|
|
11979
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.prototype.serializeBinary = function() {
|
|
11980
|
+
var writer = new jspb.BinaryWriter();
|
|
11981
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.serializeBinaryToWriter(this, writer);
|
|
11982
|
+
return writer.getResultBuffer();
|
|
11983
|
+
};
|
|
11984
|
+
|
|
11985
|
+
|
|
11986
|
+
/**
|
|
11987
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11988
|
+
* format), writing to the given BinaryWriter.
|
|
11989
|
+
* @param {!proto.sniipappappconfigapi.ListOfferRulesetsRequest} message
|
|
11990
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11991
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11992
|
+
*/
|
|
11993
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11994
|
+
var f = undefined;
|
|
11995
|
+
f = message.getPage();
|
|
11996
|
+
if (f !== 0) {
|
|
11997
|
+
writer.writeInt32(
|
|
11998
|
+
1,
|
|
11999
|
+
f
|
|
12000
|
+
);
|
|
12001
|
+
}
|
|
12002
|
+
f = message.getPagesize();
|
|
12003
|
+
if (f !== 0) {
|
|
12004
|
+
writer.writeInt32(
|
|
12005
|
+
2,
|
|
12006
|
+
f
|
|
12007
|
+
);
|
|
12008
|
+
}
|
|
12009
|
+
};
|
|
12010
|
+
|
|
12011
|
+
|
|
12012
|
+
/**
|
|
12013
|
+
* optional int32 page = 1;
|
|
12014
|
+
* @return {number}
|
|
12015
|
+
*/
|
|
12016
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.prototype.getPage = function() {
|
|
12017
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12018
|
+
};
|
|
12019
|
+
|
|
12020
|
+
|
|
12021
|
+
/**
|
|
12022
|
+
* @param {number} value
|
|
12023
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsRequest} returns this
|
|
12024
|
+
*/
|
|
12025
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.prototype.setPage = function(value) {
|
|
12026
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
12027
|
+
};
|
|
12028
|
+
|
|
12029
|
+
|
|
12030
|
+
/**
|
|
12031
|
+
* optional int32 pageSize = 2;
|
|
12032
|
+
* @return {number}
|
|
12033
|
+
*/
|
|
12034
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.prototype.getPagesize = function() {
|
|
12035
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
12036
|
+
};
|
|
12037
|
+
|
|
12038
|
+
|
|
12039
|
+
/**
|
|
12040
|
+
* @param {number} value
|
|
12041
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsRequest} returns this
|
|
12042
|
+
*/
|
|
12043
|
+
proto.sniipappappconfigapi.ListOfferRulesetsRequest.prototype.setPagesize = function(value) {
|
|
12044
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
12045
|
+
};
|
|
12046
|
+
|
|
12047
|
+
|
|
12048
|
+
|
|
12049
|
+
|
|
12050
|
+
|
|
12051
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12052
|
+
/**
|
|
12053
|
+
* Creates an object representation of this proto.
|
|
12054
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12055
|
+
* Optional fields that are not set will be set to undefined.
|
|
12056
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12057
|
+
* For the list of reserved names please see:
|
|
12058
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12059
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12060
|
+
* JSPB instance for transitional soy proto support:
|
|
12061
|
+
* http://goto/soy-param-migration
|
|
12062
|
+
* @return {!Object}
|
|
12063
|
+
*/
|
|
12064
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.prototype.toObject = function(opt_includeInstance) {
|
|
12065
|
+
return proto.sniipappappconfigapi.OfferRulesetResponse.toObject(opt_includeInstance, this);
|
|
12066
|
+
};
|
|
12067
|
+
|
|
12068
|
+
|
|
12069
|
+
/**
|
|
12070
|
+
* Static version of the {@see toObject} method.
|
|
12071
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12072
|
+
* the JSPB instance for transitional soy proto support:
|
|
12073
|
+
* http://goto/soy-param-migration
|
|
12074
|
+
* @param {!proto.sniipappappconfigapi.OfferRulesetResponse} msg The msg instance to transform.
|
|
12075
|
+
* @return {!Object}
|
|
12076
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12077
|
+
*/
|
|
12078
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.toObject = function(includeInstance, msg) {
|
|
12079
|
+
var f, obj = {
|
|
12080
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipappappconfigapi.ResponseCode.toObject(includeInstance, f),
|
|
12081
|
+
offerruleset: (f = msg.getOfferruleset()) && proto.sniipappappconfigapi.OfferRuleset.toObject(includeInstance, f)
|
|
12082
|
+
};
|
|
12083
|
+
|
|
12084
|
+
if (includeInstance) {
|
|
12085
|
+
obj.$jspbMessageInstance = msg;
|
|
12086
|
+
}
|
|
12087
|
+
return obj;
|
|
12088
|
+
};
|
|
12089
|
+
}
|
|
12090
|
+
|
|
12091
|
+
|
|
12092
|
+
/**
|
|
12093
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12094
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12095
|
+
* @return {!proto.sniipappappconfigapi.OfferRulesetResponse}
|
|
12096
|
+
*/
|
|
12097
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.deserializeBinary = function(bytes) {
|
|
12098
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12099
|
+
var msg = new proto.sniipappappconfigapi.OfferRulesetResponse;
|
|
12100
|
+
return proto.sniipappappconfigapi.OfferRulesetResponse.deserializeBinaryFromReader(msg, reader);
|
|
12101
|
+
};
|
|
12102
|
+
|
|
12103
|
+
|
|
12104
|
+
/**
|
|
12105
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12106
|
+
* given reader into the given message object.
|
|
12107
|
+
* @param {!proto.sniipappappconfigapi.OfferRulesetResponse} msg The message object to deserialize into.
|
|
12108
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12109
|
+
* @return {!proto.sniipappappconfigapi.OfferRulesetResponse}
|
|
12110
|
+
*/
|
|
12111
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12112
|
+
while (reader.nextField()) {
|
|
12113
|
+
if (reader.isEndGroup()) {
|
|
12114
|
+
break;
|
|
12115
|
+
}
|
|
12116
|
+
var field = reader.getFieldNumber();
|
|
12117
|
+
switch (field) {
|
|
12118
|
+
case 1:
|
|
12119
|
+
var value = new proto.sniipappappconfigapi.ResponseCode;
|
|
12120
|
+
reader.readMessage(value,proto.sniipappappconfigapi.ResponseCode.deserializeBinaryFromReader);
|
|
12121
|
+
msg.setResponsecode(value);
|
|
12122
|
+
break;
|
|
12123
|
+
case 2:
|
|
12124
|
+
var value = new proto.sniipappappconfigapi.OfferRuleset;
|
|
12125
|
+
reader.readMessage(value,proto.sniipappappconfigapi.OfferRuleset.deserializeBinaryFromReader);
|
|
12126
|
+
msg.setOfferruleset(value);
|
|
12127
|
+
break;
|
|
12128
|
+
default:
|
|
12129
|
+
reader.skipField();
|
|
12130
|
+
break;
|
|
12131
|
+
}
|
|
12132
|
+
}
|
|
12133
|
+
return msg;
|
|
12134
|
+
};
|
|
12135
|
+
|
|
12136
|
+
|
|
12137
|
+
/**
|
|
12138
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12139
|
+
* @return {!Uint8Array}
|
|
12140
|
+
*/
|
|
12141
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.prototype.serializeBinary = function() {
|
|
12142
|
+
var writer = new jspb.BinaryWriter();
|
|
12143
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.serializeBinaryToWriter(this, writer);
|
|
12144
|
+
return writer.getResultBuffer();
|
|
12145
|
+
};
|
|
12146
|
+
|
|
12147
|
+
|
|
12148
|
+
/**
|
|
12149
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12150
|
+
* format), writing to the given BinaryWriter.
|
|
12151
|
+
* @param {!proto.sniipappappconfigapi.OfferRulesetResponse} message
|
|
12152
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12153
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12154
|
+
*/
|
|
12155
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.serializeBinaryToWriter = function(message, writer) {
|
|
12156
|
+
var f = undefined;
|
|
12157
|
+
f = message.getResponsecode();
|
|
12158
|
+
if (f != null) {
|
|
12159
|
+
writer.writeMessage(
|
|
12160
|
+
1,
|
|
12161
|
+
f,
|
|
12162
|
+
proto.sniipappappconfigapi.ResponseCode.serializeBinaryToWriter
|
|
12163
|
+
);
|
|
12164
|
+
}
|
|
12165
|
+
f = message.getOfferruleset();
|
|
12166
|
+
if (f != null) {
|
|
12167
|
+
writer.writeMessage(
|
|
12168
|
+
2,
|
|
12169
|
+
f,
|
|
12170
|
+
proto.sniipappappconfigapi.OfferRuleset.serializeBinaryToWriter
|
|
12171
|
+
);
|
|
12172
|
+
}
|
|
12173
|
+
};
|
|
12174
|
+
|
|
12175
|
+
|
|
12176
|
+
/**
|
|
12177
|
+
* optional ResponseCode responseCode = 1;
|
|
12178
|
+
* @return {?proto.sniipappappconfigapi.ResponseCode}
|
|
12179
|
+
*/
|
|
12180
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.prototype.getResponsecode = function() {
|
|
12181
|
+
return /** @type{?proto.sniipappappconfigapi.ResponseCode} */ (
|
|
12182
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ResponseCode, 1));
|
|
12183
|
+
};
|
|
12184
|
+
|
|
12185
|
+
|
|
12186
|
+
/**
|
|
12187
|
+
* @param {?proto.sniipappappconfigapi.ResponseCode|undefined} value
|
|
12188
|
+
* @return {!proto.sniipappappconfigapi.OfferRulesetResponse} returns this
|
|
12189
|
+
*/
|
|
12190
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.prototype.setResponsecode = function(value) {
|
|
12191
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
12192
|
+
};
|
|
12193
|
+
|
|
12194
|
+
|
|
12195
|
+
/**
|
|
12196
|
+
* Clears the message field making it undefined.
|
|
12197
|
+
* @return {!proto.sniipappappconfigapi.OfferRulesetResponse} returns this
|
|
12198
|
+
*/
|
|
12199
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.prototype.clearResponsecode = function() {
|
|
12200
|
+
return this.setResponsecode(undefined);
|
|
12201
|
+
};
|
|
12202
|
+
|
|
12203
|
+
|
|
12204
|
+
/**
|
|
12205
|
+
* Returns whether this field is set.
|
|
12206
|
+
* @return {boolean}
|
|
12207
|
+
*/
|
|
12208
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.prototype.hasResponsecode = function() {
|
|
12209
|
+
return jspb.Message.getField(this, 1) != null;
|
|
12210
|
+
};
|
|
12211
|
+
|
|
12212
|
+
|
|
12213
|
+
/**
|
|
12214
|
+
* optional OfferRuleset offerRuleset = 2;
|
|
12215
|
+
* @return {?proto.sniipappappconfigapi.OfferRuleset}
|
|
12216
|
+
*/
|
|
12217
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.prototype.getOfferruleset = function() {
|
|
12218
|
+
return /** @type{?proto.sniipappappconfigapi.OfferRuleset} */ (
|
|
12219
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.OfferRuleset, 2));
|
|
12220
|
+
};
|
|
12221
|
+
|
|
12222
|
+
|
|
12223
|
+
/**
|
|
12224
|
+
* @param {?proto.sniipappappconfigapi.OfferRuleset|undefined} value
|
|
12225
|
+
* @return {!proto.sniipappappconfigapi.OfferRulesetResponse} returns this
|
|
12226
|
+
*/
|
|
12227
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.prototype.setOfferruleset = function(value) {
|
|
12228
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
12229
|
+
};
|
|
12230
|
+
|
|
12231
|
+
|
|
12232
|
+
/**
|
|
12233
|
+
* Clears the message field making it undefined.
|
|
12234
|
+
* @return {!proto.sniipappappconfigapi.OfferRulesetResponse} returns this
|
|
12235
|
+
*/
|
|
12236
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.prototype.clearOfferruleset = function() {
|
|
12237
|
+
return this.setOfferruleset(undefined);
|
|
12238
|
+
};
|
|
12239
|
+
|
|
12240
|
+
|
|
12241
|
+
/**
|
|
12242
|
+
* Returns whether this field is set.
|
|
12243
|
+
* @return {boolean}
|
|
12244
|
+
*/
|
|
12245
|
+
proto.sniipappappconfigapi.OfferRulesetResponse.prototype.hasOfferruleset = function() {
|
|
12246
|
+
return jspb.Message.getField(this, 2) != null;
|
|
12247
|
+
};
|
|
12248
|
+
|
|
12249
|
+
|
|
12250
|
+
|
|
12251
|
+
/**
|
|
12252
|
+
* List of repeated fields within this message type.
|
|
12253
|
+
* @private {!Array<number>}
|
|
12254
|
+
* @const
|
|
12255
|
+
*/
|
|
12256
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.repeatedFields_ = [2];
|
|
12257
|
+
|
|
12258
|
+
|
|
12259
|
+
|
|
12260
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12261
|
+
/**
|
|
12262
|
+
* Creates an object representation of this proto.
|
|
12263
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12264
|
+
* Optional fields that are not set will be set to undefined.
|
|
12265
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12266
|
+
* For the list of reserved names please see:
|
|
12267
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12268
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12269
|
+
* JSPB instance for transitional soy proto support:
|
|
12270
|
+
* http://goto/soy-param-migration
|
|
12271
|
+
* @return {!Object}
|
|
12272
|
+
*/
|
|
12273
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
12274
|
+
return proto.sniipappappconfigapi.ListOfferRulesetsResponse.toObject(opt_includeInstance, this);
|
|
12275
|
+
};
|
|
12276
|
+
|
|
12277
|
+
|
|
12278
|
+
/**
|
|
12279
|
+
* Static version of the {@see toObject} method.
|
|
12280
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12281
|
+
* the JSPB instance for transitional soy proto support:
|
|
12282
|
+
* http://goto/soy-param-migration
|
|
12283
|
+
* @param {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} msg The msg instance to transform.
|
|
12284
|
+
* @return {!Object}
|
|
12285
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12286
|
+
*/
|
|
12287
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.toObject = function(includeInstance, msg) {
|
|
12288
|
+
var f, obj = {
|
|
12289
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipappappconfigapi.ResponseCode.toObject(includeInstance, f),
|
|
12290
|
+
offerrulesetsList: jspb.Message.toObjectList(msg.getOfferrulesetsList(),
|
|
12291
|
+
proto.sniipappappconfigapi.OfferRuleset.toObject, includeInstance),
|
|
12292
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
12293
|
+
size: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
12294
|
+
totalpages: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
12295
|
+
totalsize: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
12296
|
+
};
|
|
12297
|
+
|
|
12298
|
+
if (includeInstance) {
|
|
12299
|
+
obj.$jspbMessageInstance = msg;
|
|
12300
|
+
}
|
|
12301
|
+
return obj;
|
|
12302
|
+
};
|
|
12303
|
+
}
|
|
12304
|
+
|
|
12305
|
+
|
|
12306
|
+
/**
|
|
12307
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12308
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12309
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsResponse}
|
|
12310
|
+
*/
|
|
12311
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.deserializeBinary = function(bytes) {
|
|
12312
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12313
|
+
var msg = new proto.sniipappappconfigapi.ListOfferRulesetsResponse;
|
|
12314
|
+
return proto.sniipappappconfigapi.ListOfferRulesetsResponse.deserializeBinaryFromReader(msg, reader);
|
|
12315
|
+
};
|
|
12316
|
+
|
|
12317
|
+
|
|
12318
|
+
/**
|
|
12319
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12320
|
+
* given reader into the given message object.
|
|
12321
|
+
* @param {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} msg The message object to deserialize into.
|
|
12322
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12323
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsResponse}
|
|
12324
|
+
*/
|
|
12325
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12326
|
+
while (reader.nextField()) {
|
|
12327
|
+
if (reader.isEndGroup()) {
|
|
12328
|
+
break;
|
|
12329
|
+
}
|
|
12330
|
+
var field = reader.getFieldNumber();
|
|
12331
|
+
switch (field) {
|
|
12332
|
+
case 1:
|
|
12333
|
+
var value = new proto.sniipappappconfigapi.ResponseCode;
|
|
12334
|
+
reader.readMessage(value,proto.sniipappappconfigapi.ResponseCode.deserializeBinaryFromReader);
|
|
12335
|
+
msg.setResponsecode(value);
|
|
12336
|
+
break;
|
|
12337
|
+
case 2:
|
|
12338
|
+
var value = new proto.sniipappappconfigapi.OfferRuleset;
|
|
12339
|
+
reader.readMessage(value,proto.sniipappappconfigapi.OfferRuleset.deserializeBinaryFromReader);
|
|
12340
|
+
msg.addOfferrulesets(value);
|
|
12341
|
+
break;
|
|
12342
|
+
case 3:
|
|
12343
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
12344
|
+
msg.setPage(value);
|
|
12345
|
+
break;
|
|
12346
|
+
case 4:
|
|
12347
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
12348
|
+
msg.setSize(value);
|
|
12349
|
+
break;
|
|
12350
|
+
case 5:
|
|
12351
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
12352
|
+
msg.setTotalpages(value);
|
|
12353
|
+
break;
|
|
12354
|
+
case 6:
|
|
12355
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12356
|
+
msg.setTotalsize(value);
|
|
12357
|
+
break;
|
|
12358
|
+
default:
|
|
12359
|
+
reader.skipField();
|
|
12360
|
+
break;
|
|
12361
|
+
}
|
|
12362
|
+
}
|
|
12363
|
+
return msg;
|
|
12364
|
+
};
|
|
12365
|
+
|
|
12366
|
+
|
|
12367
|
+
/**
|
|
12368
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12369
|
+
* @return {!Uint8Array}
|
|
12370
|
+
*/
|
|
12371
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.serializeBinary = function() {
|
|
12372
|
+
var writer = new jspb.BinaryWriter();
|
|
12373
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.serializeBinaryToWriter(this, writer);
|
|
12374
|
+
return writer.getResultBuffer();
|
|
12375
|
+
};
|
|
12376
|
+
|
|
12377
|
+
|
|
12378
|
+
/**
|
|
12379
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12380
|
+
* format), writing to the given BinaryWriter.
|
|
12381
|
+
* @param {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} message
|
|
12382
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12383
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12384
|
+
*/
|
|
12385
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
12386
|
+
var f = undefined;
|
|
12387
|
+
f = message.getResponsecode();
|
|
12388
|
+
if (f != null) {
|
|
12389
|
+
writer.writeMessage(
|
|
12390
|
+
1,
|
|
12391
|
+
f,
|
|
12392
|
+
proto.sniipappappconfigapi.ResponseCode.serializeBinaryToWriter
|
|
12393
|
+
);
|
|
12394
|
+
}
|
|
12395
|
+
f = message.getOfferrulesetsList();
|
|
12396
|
+
if (f.length > 0) {
|
|
12397
|
+
writer.writeRepeatedMessage(
|
|
12398
|
+
2,
|
|
12399
|
+
f,
|
|
12400
|
+
proto.sniipappappconfigapi.OfferRuleset.serializeBinaryToWriter
|
|
12401
|
+
);
|
|
12402
|
+
}
|
|
12403
|
+
f = message.getPage();
|
|
12404
|
+
if (f !== 0) {
|
|
12405
|
+
writer.writeInt32(
|
|
12406
|
+
3,
|
|
12407
|
+
f
|
|
12408
|
+
);
|
|
12409
|
+
}
|
|
12410
|
+
f = message.getSize();
|
|
12411
|
+
if (f !== 0) {
|
|
12412
|
+
writer.writeInt32(
|
|
12413
|
+
4,
|
|
12414
|
+
f
|
|
12415
|
+
);
|
|
12416
|
+
}
|
|
12417
|
+
f = message.getTotalpages();
|
|
12418
|
+
if (f !== 0) {
|
|
12419
|
+
writer.writeInt32(
|
|
12420
|
+
5,
|
|
12421
|
+
f
|
|
12422
|
+
);
|
|
12423
|
+
}
|
|
12424
|
+
f = message.getTotalsize();
|
|
12425
|
+
if (f !== 0) {
|
|
12426
|
+
writer.writeInt64(
|
|
12427
|
+
6,
|
|
12428
|
+
f
|
|
12429
|
+
);
|
|
12430
|
+
}
|
|
12431
|
+
};
|
|
12432
|
+
|
|
12433
|
+
|
|
12434
|
+
/**
|
|
12435
|
+
* optional ResponseCode responseCode = 1;
|
|
12436
|
+
* @return {?proto.sniipappappconfigapi.ResponseCode}
|
|
12437
|
+
*/
|
|
12438
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.getResponsecode = function() {
|
|
12439
|
+
return /** @type{?proto.sniipappappconfigapi.ResponseCode} */ (
|
|
12440
|
+
jspb.Message.getWrapperField(this, proto.sniipappappconfigapi.ResponseCode, 1));
|
|
12441
|
+
};
|
|
12442
|
+
|
|
12443
|
+
|
|
12444
|
+
/**
|
|
12445
|
+
* @param {?proto.sniipappappconfigapi.ResponseCode|undefined} value
|
|
12446
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} returns this
|
|
12447
|
+
*/
|
|
12448
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.setResponsecode = function(value) {
|
|
12449
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
12450
|
+
};
|
|
12451
|
+
|
|
12452
|
+
|
|
12453
|
+
/**
|
|
12454
|
+
* Clears the message field making it undefined.
|
|
12455
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} returns this
|
|
12456
|
+
*/
|
|
12457
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.clearResponsecode = function() {
|
|
12458
|
+
return this.setResponsecode(undefined);
|
|
12459
|
+
};
|
|
12460
|
+
|
|
12461
|
+
|
|
12462
|
+
/**
|
|
12463
|
+
* Returns whether this field is set.
|
|
12464
|
+
* @return {boolean}
|
|
12465
|
+
*/
|
|
12466
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.hasResponsecode = function() {
|
|
12467
|
+
return jspb.Message.getField(this, 1) != null;
|
|
12468
|
+
};
|
|
12469
|
+
|
|
12470
|
+
|
|
12471
|
+
/**
|
|
12472
|
+
* repeated OfferRuleset offerRulesets = 2;
|
|
12473
|
+
* @return {!Array<!proto.sniipappappconfigapi.OfferRuleset>}
|
|
12474
|
+
*/
|
|
12475
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.getOfferrulesetsList = function() {
|
|
12476
|
+
return /** @type{!Array<!proto.sniipappappconfigapi.OfferRuleset>} */ (
|
|
12477
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipappappconfigapi.OfferRuleset, 2));
|
|
12478
|
+
};
|
|
12479
|
+
|
|
12480
|
+
|
|
12481
|
+
/**
|
|
12482
|
+
* @param {!Array<!proto.sniipappappconfigapi.OfferRuleset>} value
|
|
12483
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} returns this
|
|
12484
|
+
*/
|
|
12485
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.setOfferrulesetsList = function(value) {
|
|
12486
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
12487
|
+
};
|
|
12488
|
+
|
|
12489
|
+
|
|
12490
|
+
/**
|
|
12491
|
+
* @param {!proto.sniipappappconfigapi.OfferRuleset=} opt_value
|
|
12492
|
+
* @param {number=} opt_index
|
|
12493
|
+
* @return {!proto.sniipappappconfigapi.OfferRuleset}
|
|
12494
|
+
*/
|
|
12495
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.addOfferrulesets = function(opt_value, opt_index) {
|
|
12496
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniipappappconfigapi.OfferRuleset, opt_index);
|
|
12497
|
+
};
|
|
12498
|
+
|
|
12499
|
+
|
|
12500
|
+
/**
|
|
12501
|
+
* Clears the list making it empty but non-null.
|
|
12502
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} returns this
|
|
12503
|
+
*/
|
|
12504
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.clearOfferrulesetsList = function() {
|
|
12505
|
+
return this.setOfferrulesetsList([]);
|
|
12506
|
+
};
|
|
12507
|
+
|
|
12508
|
+
|
|
12509
|
+
/**
|
|
12510
|
+
* optional int32 page = 3;
|
|
12511
|
+
* @return {number}
|
|
12512
|
+
*/
|
|
12513
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.getPage = function() {
|
|
12514
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
12515
|
+
};
|
|
12516
|
+
|
|
12517
|
+
|
|
12518
|
+
/**
|
|
12519
|
+
* @param {number} value
|
|
12520
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} returns this
|
|
12521
|
+
*/
|
|
12522
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.setPage = function(value) {
|
|
12523
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
12524
|
+
};
|
|
12525
|
+
|
|
12526
|
+
|
|
12527
|
+
/**
|
|
12528
|
+
* optional int32 size = 4;
|
|
12529
|
+
* @return {number}
|
|
12530
|
+
*/
|
|
12531
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.getSize = function() {
|
|
12532
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
12533
|
+
};
|
|
12534
|
+
|
|
12535
|
+
|
|
12536
|
+
/**
|
|
12537
|
+
* @param {number} value
|
|
12538
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} returns this
|
|
12539
|
+
*/
|
|
12540
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.setSize = function(value) {
|
|
12541
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
12542
|
+
};
|
|
12543
|
+
|
|
12544
|
+
|
|
12545
|
+
/**
|
|
12546
|
+
* optional int32 totalPages = 5;
|
|
12547
|
+
* @return {number}
|
|
12548
|
+
*/
|
|
12549
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.getTotalpages = function() {
|
|
12550
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
12551
|
+
};
|
|
12552
|
+
|
|
12553
|
+
|
|
12554
|
+
/**
|
|
12555
|
+
* @param {number} value
|
|
12556
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} returns this
|
|
12557
|
+
*/
|
|
12558
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.setTotalpages = function(value) {
|
|
12559
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
12560
|
+
};
|
|
12561
|
+
|
|
12562
|
+
|
|
12563
|
+
/**
|
|
12564
|
+
* optional int64 totalSize = 6;
|
|
12565
|
+
* @return {number}
|
|
12566
|
+
*/
|
|
12567
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.getTotalsize = function() {
|
|
12568
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
12569
|
+
};
|
|
12570
|
+
|
|
12571
|
+
|
|
12572
|
+
/**
|
|
12573
|
+
* @param {number} value
|
|
12574
|
+
* @return {!proto.sniipappappconfigapi.ListOfferRulesetsResponse} returns this
|
|
12575
|
+
*/
|
|
12576
|
+
proto.sniipappappconfigapi.ListOfferRulesetsResponse.prototype.setTotalsize = function(value) {
|
|
12577
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
11245
12578
|
};
|
|
11246
12579
|
|
|
11247
12580
|
|