@sniipwebmaster/bill-service-client-grpcweb 22.10.8759 → 22.10.8773
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/service_pb.js +182 -182
- package/package.json +1 -1
|
@@ -115,8 +115,8 @@ goog.exportSymbol('proto.sniipbillapi.UpdateDueDateRequest', null, global);
|
|
|
115
115
|
goog.exportSymbol('proto.sniipbillapi.UpdateUserBillConfigRequest', null, global);
|
|
116
116
|
goog.exportSymbol('proto.sniipbillapi.UserBillConfig', null, global);
|
|
117
117
|
goog.exportSymbol('proto.sniipbillapi.UserBillConfigResponse', null, global);
|
|
118
|
+
goog.exportSymbol('proto.sniipbillapi.UserBillListData', null, global);
|
|
118
119
|
goog.exportSymbol('proto.sniipbillapi.UserBillListResponse', null, global);
|
|
119
|
-
goog.exportSymbol('proto.sniipbillapi.UserBillListResponseData', null, global);
|
|
120
120
|
goog.exportSymbol('proto.sniipbillapi.UsersForBillerRequest', null, global);
|
|
121
121
|
goog.exportSymbol('proto.sniipbillapi.ValidateBillOwnerRequest', null, global);
|
|
122
122
|
goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceRequest', null, global);
|
|
@@ -27560,13 +27560,20 @@ proto.sniipbillapi.UserBillConfigResponse.prototype.hasUserbillconfig = function
|
|
|
27560
27560
|
* @extends {jspb.Message}
|
|
27561
27561
|
* @constructor
|
|
27562
27562
|
*/
|
|
27563
|
-
proto.sniipbillapi.
|
|
27564
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
27563
|
+
proto.sniipbillapi.UserBillListData = function(opt_data) {
|
|
27564
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.UserBillListData.repeatedFields_, null);
|
|
27565
27565
|
};
|
|
27566
|
-
goog.inherits(proto.sniipbillapi.
|
|
27566
|
+
goog.inherits(proto.sniipbillapi.UserBillListData, jspb.Message);
|
|
27567
27567
|
if (goog.DEBUG && !COMPILED) {
|
|
27568
|
-
proto.sniipbillapi.
|
|
27568
|
+
proto.sniipbillapi.UserBillListData.displayName = 'proto.sniipbillapi.UserBillListData';
|
|
27569
27569
|
}
|
|
27570
|
+
/**
|
|
27571
|
+
* List of repeated fields within this message type.
|
|
27572
|
+
* @private {!Array<number>}
|
|
27573
|
+
* @const
|
|
27574
|
+
*/
|
|
27575
|
+
proto.sniipbillapi.UserBillListData.repeatedFields_ = [4];
|
|
27576
|
+
|
|
27570
27577
|
|
|
27571
27578
|
|
|
27572
27579
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -27580,8 +27587,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
27580
27587
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
27581
27588
|
* @return {!Object}
|
|
27582
27589
|
*/
|
|
27583
|
-
proto.sniipbillapi.
|
|
27584
|
-
return proto.sniipbillapi.
|
|
27590
|
+
proto.sniipbillapi.UserBillListData.prototype.toObject = function(opt_includeInstance) {
|
|
27591
|
+
return proto.sniipbillapi.UserBillListData.toObject(opt_includeInstance, this);
|
|
27585
27592
|
};
|
|
27586
27593
|
|
|
27587
27594
|
|
|
@@ -27590,13 +27597,16 @@ proto.sniipbillapi.UserBillListResponse.prototype.toObject = function(opt_includ
|
|
|
27590
27597
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
27591
27598
|
* instance for transitional soy proto support:
|
|
27592
27599
|
* http://goto/soy-param-migration
|
|
27593
|
-
* @param {!proto.sniipbillapi.
|
|
27600
|
+
* @param {!proto.sniipbillapi.UserBillListData} msg The msg instance to transform.
|
|
27594
27601
|
* @return {!Object}
|
|
27595
27602
|
*/
|
|
27596
|
-
proto.sniipbillapi.
|
|
27603
|
+
proto.sniipbillapi.UserBillListData.toObject = function(includeInstance, msg) {
|
|
27597
27604
|
var f, obj = {
|
|
27598
|
-
|
|
27599
|
-
|
|
27605
|
+
limit: msg.getLimit(),
|
|
27606
|
+
page: msg.getPage(),
|
|
27607
|
+
total: msg.getTotal(),
|
|
27608
|
+
billlistList: jspb.Message.toObjectList(msg.getBilllistList(),
|
|
27609
|
+
proto.sniipbillapi.BillDetail.toObject, includeInstance)
|
|
27600
27610
|
};
|
|
27601
27611
|
|
|
27602
27612
|
if (includeInstance) {
|
|
@@ -27610,23 +27620,23 @@ proto.sniipbillapi.UserBillListResponse.toObject = function(includeInstance, msg
|
|
|
27610
27620
|
/**
|
|
27611
27621
|
* Deserializes binary data (in protobuf wire format).
|
|
27612
27622
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27613
|
-
* @return {!proto.sniipbillapi.
|
|
27623
|
+
* @return {!proto.sniipbillapi.UserBillListData}
|
|
27614
27624
|
*/
|
|
27615
|
-
proto.sniipbillapi.
|
|
27625
|
+
proto.sniipbillapi.UserBillListData.deserializeBinary = function(bytes) {
|
|
27616
27626
|
var reader = new jspb.BinaryReader(bytes);
|
|
27617
|
-
var msg = new proto.sniipbillapi.
|
|
27618
|
-
return proto.sniipbillapi.
|
|
27627
|
+
var msg = new proto.sniipbillapi.UserBillListData;
|
|
27628
|
+
return proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader(msg, reader);
|
|
27619
27629
|
};
|
|
27620
27630
|
|
|
27621
27631
|
|
|
27622
27632
|
/**
|
|
27623
27633
|
* Deserializes binary data (in protobuf wire format) from the
|
|
27624
27634
|
* given reader into the given message object.
|
|
27625
|
-
* @param {!proto.sniipbillapi.
|
|
27635
|
+
* @param {!proto.sniipbillapi.UserBillListData} msg The message object to deserialize into.
|
|
27626
27636
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27627
|
-
* @return {!proto.sniipbillapi.
|
|
27637
|
+
* @return {!proto.sniipbillapi.UserBillListData}
|
|
27628
27638
|
*/
|
|
27629
|
-
proto.sniipbillapi.
|
|
27639
|
+
proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader = function(msg, reader) {
|
|
27630
27640
|
while (reader.nextField()) {
|
|
27631
27641
|
if (reader.isEndGroup()) {
|
|
27632
27642
|
break;
|
|
@@ -27634,14 +27644,22 @@ proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader = function(m
|
|
|
27634
27644
|
var field = reader.getFieldNumber();
|
|
27635
27645
|
switch (field) {
|
|
27636
27646
|
case 1:
|
|
27637
|
-
var value =
|
|
27638
|
-
|
|
27639
|
-
msg.setResponsecode(value);
|
|
27647
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
27648
|
+
msg.setLimit(value);
|
|
27640
27649
|
break;
|
|
27641
27650
|
case 2:
|
|
27642
|
-
var value =
|
|
27643
|
-
|
|
27644
|
-
|
|
27651
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
27652
|
+
msg.setPage(value);
|
|
27653
|
+
break;
|
|
27654
|
+
case 3:
|
|
27655
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
27656
|
+
msg.setTotal(value);
|
|
27657
|
+
break;
|
|
27658
|
+
case 4:
|
|
27659
|
+
var value = new proto.sniipbillapi.BillDetail;
|
|
27660
|
+
reader.readMessage(value,proto.sniipbillapi.BillDetail.deserializeBinaryFromReader);
|
|
27661
|
+
msg.getBilllistList().push(value);
|
|
27662
|
+
msg.setBilllistList(msg.getBilllistList());
|
|
27645
27663
|
break;
|
|
27646
27664
|
default:
|
|
27647
27665
|
reader.skipField();
|
|
@@ -27655,10 +27673,10 @@ proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader = function(m
|
|
|
27655
27673
|
/**
|
|
27656
27674
|
* Class method variant: serializes the given message to binary data
|
|
27657
27675
|
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
27658
|
-
* @param {!proto.sniipbillapi.
|
|
27676
|
+
* @param {!proto.sniipbillapi.UserBillListData} message
|
|
27659
27677
|
* @param {!jspb.BinaryWriter} writer
|
|
27660
27678
|
*/
|
|
27661
|
-
proto.sniipbillapi.
|
|
27679
|
+
proto.sniipbillapi.UserBillListData.serializeBinaryToWriter = function(message, writer) {
|
|
27662
27680
|
message.serializeBinaryToWriter(writer);
|
|
27663
27681
|
};
|
|
27664
27682
|
|
|
@@ -27667,7 +27685,7 @@ proto.sniipbillapi.UserBillListResponse.serializeBinaryToWriter = function(messa
|
|
|
27667
27685
|
* Serializes the message to binary data (in protobuf wire format).
|
|
27668
27686
|
* @return {!Uint8Array}
|
|
27669
27687
|
*/
|
|
27670
|
-
proto.sniipbillapi.
|
|
27688
|
+
proto.sniipbillapi.UserBillListData.prototype.serializeBinary = function() {
|
|
27671
27689
|
var writer = new jspb.BinaryWriter();
|
|
27672
27690
|
this.serializeBinaryToWriter(writer);
|
|
27673
27691
|
return writer.getResultBuffer();
|
|
@@ -27679,22 +27697,35 @@ proto.sniipbillapi.UserBillListResponse.prototype.serializeBinary = function() {
|
|
|
27679
27697
|
* writing to the given BinaryWriter.
|
|
27680
27698
|
* @param {!jspb.BinaryWriter} writer
|
|
27681
27699
|
*/
|
|
27682
|
-
proto.sniipbillapi.
|
|
27700
|
+
proto.sniipbillapi.UserBillListData.prototype.serializeBinaryToWriter = function (writer) {
|
|
27683
27701
|
var f = undefined;
|
|
27684
|
-
f = this.
|
|
27685
|
-
if (f
|
|
27686
|
-
writer.
|
|
27702
|
+
f = this.getLimit();
|
|
27703
|
+
if (f !== 0) {
|
|
27704
|
+
writer.writeInt32(
|
|
27687
27705
|
1,
|
|
27688
|
-
f
|
|
27689
|
-
proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
|
|
27706
|
+
f
|
|
27690
27707
|
);
|
|
27691
27708
|
}
|
|
27692
|
-
f = this.
|
|
27693
|
-
if (f
|
|
27694
|
-
writer.
|
|
27709
|
+
f = this.getPage();
|
|
27710
|
+
if (f !== 0) {
|
|
27711
|
+
writer.writeInt32(
|
|
27695
27712
|
2,
|
|
27713
|
+
f
|
|
27714
|
+
);
|
|
27715
|
+
}
|
|
27716
|
+
f = this.getTotal();
|
|
27717
|
+
if (f !== 0) {
|
|
27718
|
+
writer.writeInt32(
|
|
27719
|
+
3,
|
|
27720
|
+
f
|
|
27721
|
+
);
|
|
27722
|
+
}
|
|
27723
|
+
f = this.getBilllistList();
|
|
27724
|
+
if (f.length > 0) {
|
|
27725
|
+
writer.writeRepeatedMessage(
|
|
27726
|
+
4,
|
|
27696
27727
|
f,
|
|
27697
|
-
proto.sniipbillapi.
|
|
27728
|
+
proto.sniipbillapi.BillDetail.serializeBinaryToWriter
|
|
27698
27729
|
);
|
|
27699
27730
|
}
|
|
27700
27731
|
};
|
|
@@ -27702,70 +27733,78 @@ proto.sniipbillapi.UserBillListResponse.prototype.serializeBinaryToWriter = func
|
|
|
27702
27733
|
|
|
27703
27734
|
/**
|
|
27704
27735
|
* Creates a deep clone of this proto. No data is shared with the original.
|
|
27705
|
-
* @return {!proto.sniipbillapi.
|
|
27736
|
+
* @return {!proto.sniipbillapi.UserBillListData} The clone.
|
|
27706
27737
|
*/
|
|
27707
|
-
proto.sniipbillapi.
|
|
27708
|
-
return /** @type {!proto.sniipbillapi.
|
|
27738
|
+
proto.sniipbillapi.UserBillListData.prototype.cloneMessage = function() {
|
|
27739
|
+
return /** @type {!proto.sniipbillapi.UserBillListData} */ (jspb.Message.cloneMessage(this));
|
|
27709
27740
|
};
|
|
27710
27741
|
|
|
27711
27742
|
|
|
27712
27743
|
/**
|
|
27713
|
-
* optional
|
|
27714
|
-
* @return {
|
|
27744
|
+
* optional int32 limit = 1;
|
|
27745
|
+
* @return {number}
|
|
27715
27746
|
*/
|
|
27716
|
-
proto.sniipbillapi.
|
|
27717
|
-
return /** @type{
|
|
27718
|
-
jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
|
|
27747
|
+
proto.sniipbillapi.UserBillListData.prototype.getLimit = function() {
|
|
27748
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
27719
27749
|
};
|
|
27720
27750
|
|
|
27721
27751
|
|
|
27722
|
-
/** @param {
|
|
27723
|
-
proto.sniipbillapi.
|
|
27724
|
-
jspb.Message.
|
|
27752
|
+
/** @param {number} value */
|
|
27753
|
+
proto.sniipbillapi.UserBillListData.prototype.setLimit = function(value) {
|
|
27754
|
+
jspb.Message.setField(this, 1, value);
|
|
27725
27755
|
};
|
|
27726
27756
|
|
|
27727
27757
|
|
|
27728
|
-
|
|
27729
|
-
|
|
27758
|
+
/**
|
|
27759
|
+
* optional int32 page = 2;
|
|
27760
|
+
* @return {number}
|
|
27761
|
+
*/
|
|
27762
|
+
proto.sniipbillapi.UserBillListData.prototype.getPage = function() {
|
|
27763
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
27730
27764
|
};
|
|
27731
27765
|
|
|
27732
27766
|
|
|
27733
|
-
/**
|
|
27734
|
-
|
|
27735
|
-
|
|
27736
|
-
*/
|
|
27737
|
-
proto.sniipbillapi.UserBillListResponse.prototype.hasResponsecode = function() {
|
|
27738
|
-
return jspb.Message.getField(this, 1) != null;
|
|
27767
|
+
/** @param {number} value */
|
|
27768
|
+
proto.sniipbillapi.UserBillListData.prototype.setPage = function(value) {
|
|
27769
|
+
jspb.Message.setField(this, 2, value);
|
|
27739
27770
|
};
|
|
27740
27771
|
|
|
27741
27772
|
|
|
27742
27773
|
/**
|
|
27743
|
-
* optional
|
|
27744
|
-
* @return {
|
|
27774
|
+
* optional int32 total = 3;
|
|
27775
|
+
* @return {number}
|
|
27745
27776
|
*/
|
|
27746
|
-
proto.sniipbillapi.
|
|
27747
|
-
return /** @type{
|
|
27748
|
-
jspb.Message.getWrapperField(this, proto.sniipbillapi.UserBillListResponseData, 2));
|
|
27777
|
+
proto.sniipbillapi.UserBillListData.prototype.getTotal = function() {
|
|
27778
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
27749
27779
|
};
|
|
27750
27780
|
|
|
27751
27781
|
|
|
27752
|
-
/** @param {
|
|
27753
|
-
proto.sniipbillapi.
|
|
27754
|
-
jspb.Message.
|
|
27782
|
+
/** @param {number} value */
|
|
27783
|
+
proto.sniipbillapi.UserBillListData.prototype.setTotal = function(value) {
|
|
27784
|
+
jspb.Message.setField(this, 3, value);
|
|
27755
27785
|
};
|
|
27756
27786
|
|
|
27757
27787
|
|
|
27758
|
-
|
|
27759
|
-
|
|
27788
|
+
/**
|
|
27789
|
+
* repeated BillDetail billList = 4;
|
|
27790
|
+
* If you change this array by adding, removing or replacing elements, or if you
|
|
27791
|
+
* replace the array itself, then you must call the setter to update it.
|
|
27792
|
+
* @return {!Array.<!proto.sniipbillapi.BillDetail>}
|
|
27793
|
+
*/
|
|
27794
|
+
proto.sniipbillapi.UserBillListData.prototype.getBilllistList = function() {
|
|
27795
|
+
return /** @type{!Array.<!proto.sniipbillapi.BillDetail>} */ (
|
|
27796
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillDetail, 4));
|
|
27760
27797
|
};
|
|
27761
27798
|
|
|
27762
27799
|
|
|
27763
|
-
/**
|
|
27764
|
-
|
|
27765
|
-
|
|
27766
|
-
|
|
27767
|
-
|
|
27768
|
-
|
|
27800
|
+
/** @param {Array.<!proto.sniipbillapi.BillDetail>} value */
|
|
27801
|
+
proto.sniipbillapi.UserBillListData.prototype.setBilllistList = function(value) {
|
|
27802
|
+
jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
27803
|
+
};
|
|
27804
|
+
|
|
27805
|
+
|
|
27806
|
+
proto.sniipbillapi.UserBillListData.prototype.clearBilllistList = function() {
|
|
27807
|
+
this.setBilllistList([]);
|
|
27769
27808
|
};
|
|
27770
27809
|
|
|
27771
27810
|
|
|
@@ -27780,20 +27819,13 @@ proto.sniipbillapi.UserBillListResponse.prototype.hasUserbilllistresponsedata =
|
|
|
27780
27819
|
* @extends {jspb.Message}
|
|
27781
27820
|
* @constructor
|
|
27782
27821
|
*/
|
|
27783
|
-
proto.sniipbillapi.
|
|
27784
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
27822
|
+
proto.sniipbillapi.UserBillListResponse = function(opt_data) {
|
|
27823
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
27785
27824
|
};
|
|
27786
|
-
goog.inherits(proto.sniipbillapi.
|
|
27825
|
+
goog.inherits(proto.sniipbillapi.UserBillListResponse, jspb.Message);
|
|
27787
27826
|
if (goog.DEBUG && !COMPILED) {
|
|
27788
|
-
proto.sniipbillapi.
|
|
27827
|
+
proto.sniipbillapi.UserBillListResponse.displayName = 'proto.sniipbillapi.UserBillListResponse';
|
|
27789
27828
|
}
|
|
27790
|
-
/**
|
|
27791
|
-
* List of repeated fields within this message type.
|
|
27792
|
-
* @private {!Array<number>}
|
|
27793
|
-
* @const
|
|
27794
|
-
*/
|
|
27795
|
-
proto.sniipbillapi.UserBillListResponseData.repeatedFields_ = [4];
|
|
27796
|
-
|
|
27797
27829
|
|
|
27798
27830
|
|
|
27799
27831
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -27807,8 +27839,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
27807
27839
|
* for transitional soy proto support: http://goto/soy-param-migration
|
|
27808
27840
|
* @return {!Object}
|
|
27809
27841
|
*/
|
|
27810
|
-
proto.sniipbillapi.
|
|
27811
|
-
return proto.sniipbillapi.
|
|
27842
|
+
proto.sniipbillapi.UserBillListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
27843
|
+
return proto.sniipbillapi.UserBillListResponse.toObject(opt_includeInstance, this);
|
|
27812
27844
|
};
|
|
27813
27845
|
|
|
27814
27846
|
|
|
@@ -27817,16 +27849,13 @@ proto.sniipbillapi.UserBillListResponseData.prototype.toObject = function(opt_in
|
|
|
27817
27849
|
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
27818
27850
|
* instance for transitional soy proto support:
|
|
27819
27851
|
* http://goto/soy-param-migration
|
|
27820
|
-
* @param {!proto.sniipbillapi.
|
|
27852
|
+
* @param {!proto.sniipbillapi.UserBillListResponse} msg The msg instance to transform.
|
|
27821
27853
|
* @return {!Object}
|
|
27822
27854
|
*/
|
|
27823
|
-
proto.sniipbillapi.
|
|
27855
|
+
proto.sniipbillapi.UserBillListResponse.toObject = function(includeInstance, msg) {
|
|
27824
27856
|
var f, obj = {
|
|
27825
|
-
|
|
27826
|
-
|
|
27827
|
-
total: msg.getTotal(),
|
|
27828
|
-
billlistList: jspb.Message.toObjectList(msg.getBilllistList(),
|
|
27829
|
-
proto.sniipbillapi.BillDetail.toObject, includeInstance)
|
|
27857
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
|
|
27858
|
+
userbilllistdata: (f = msg.getUserbilllistdata()) && proto.sniipbillapi.UserBillListData.toObject(includeInstance, f)
|
|
27830
27859
|
};
|
|
27831
27860
|
|
|
27832
27861
|
if (includeInstance) {
|
|
@@ -27840,23 +27869,23 @@ proto.sniipbillapi.UserBillListResponseData.toObject = function(includeInstance,
|
|
|
27840
27869
|
/**
|
|
27841
27870
|
* Deserializes binary data (in protobuf wire format).
|
|
27842
27871
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27843
|
-
* @return {!proto.sniipbillapi.
|
|
27872
|
+
* @return {!proto.sniipbillapi.UserBillListResponse}
|
|
27844
27873
|
*/
|
|
27845
|
-
proto.sniipbillapi.
|
|
27874
|
+
proto.sniipbillapi.UserBillListResponse.deserializeBinary = function(bytes) {
|
|
27846
27875
|
var reader = new jspb.BinaryReader(bytes);
|
|
27847
|
-
var msg = new proto.sniipbillapi.
|
|
27848
|
-
return proto.sniipbillapi.
|
|
27876
|
+
var msg = new proto.sniipbillapi.UserBillListResponse;
|
|
27877
|
+
return proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader(msg, reader);
|
|
27849
27878
|
};
|
|
27850
27879
|
|
|
27851
27880
|
|
|
27852
27881
|
/**
|
|
27853
27882
|
* Deserializes binary data (in protobuf wire format) from the
|
|
27854
27883
|
* given reader into the given message object.
|
|
27855
|
-
* @param {!proto.sniipbillapi.
|
|
27884
|
+
* @param {!proto.sniipbillapi.UserBillListResponse} msg The message object to deserialize into.
|
|
27856
27885
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27857
|
-
* @return {!proto.sniipbillapi.
|
|
27886
|
+
* @return {!proto.sniipbillapi.UserBillListResponse}
|
|
27858
27887
|
*/
|
|
27859
|
-
proto.sniipbillapi.
|
|
27888
|
+
proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
27860
27889
|
while (reader.nextField()) {
|
|
27861
27890
|
if (reader.isEndGroup()) {
|
|
27862
27891
|
break;
|
|
@@ -27864,22 +27893,14 @@ proto.sniipbillapi.UserBillListResponseData.deserializeBinaryFromReader = functi
|
|
|
27864
27893
|
var field = reader.getFieldNumber();
|
|
27865
27894
|
switch (field) {
|
|
27866
27895
|
case 1:
|
|
27867
|
-
var value =
|
|
27868
|
-
|
|
27896
|
+
var value = new proto.sniipbillapi.ResponseCode;
|
|
27897
|
+
reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
|
|
27898
|
+
msg.setResponsecode(value);
|
|
27869
27899
|
break;
|
|
27870
27900
|
case 2:
|
|
27871
|
-
var value =
|
|
27872
|
-
|
|
27873
|
-
|
|
27874
|
-
case 3:
|
|
27875
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
27876
|
-
msg.setTotal(value);
|
|
27877
|
-
break;
|
|
27878
|
-
case 4:
|
|
27879
|
-
var value = new proto.sniipbillapi.BillDetail;
|
|
27880
|
-
reader.readMessage(value,proto.sniipbillapi.BillDetail.deserializeBinaryFromReader);
|
|
27881
|
-
msg.getBilllistList().push(value);
|
|
27882
|
-
msg.setBilllistList(msg.getBilllistList());
|
|
27901
|
+
var value = new proto.sniipbillapi.UserBillListData;
|
|
27902
|
+
reader.readMessage(value,proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader);
|
|
27903
|
+
msg.setUserbilllistdata(value);
|
|
27883
27904
|
break;
|
|
27884
27905
|
default:
|
|
27885
27906
|
reader.skipField();
|
|
@@ -27893,10 +27914,10 @@ proto.sniipbillapi.UserBillListResponseData.deserializeBinaryFromReader = functi
|
|
|
27893
27914
|
/**
|
|
27894
27915
|
* Class method variant: serializes the given message to binary data
|
|
27895
27916
|
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
27896
|
-
* @param {!proto.sniipbillapi.
|
|
27917
|
+
* @param {!proto.sniipbillapi.UserBillListResponse} message
|
|
27897
27918
|
* @param {!jspb.BinaryWriter} writer
|
|
27898
27919
|
*/
|
|
27899
|
-
proto.sniipbillapi.
|
|
27920
|
+
proto.sniipbillapi.UserBillListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
27900
27921
|
message.serializeBinaryToWriter(writer);
|
|
27901
27922
|
};
|
|
27902
27923
|
|
|
@@ -27905,7 +27926,7 @@ proto.sniipbillapi.UserBillListResponseData.serializeBinaryToWriter = function(m
|
|
|
27905
27926
|
* Serializes the message to binary data (in protobuf wire format).
|
|
27906
27927
|
* @return {!Uint8Array}
|
|
27907
27928
|
*/
|
|
27908
|
-
proto.sniipbillapi.
|
|
27929
|
+
proto.sniipbillapi.UserBillListResponse.prototype.serializeBinary = function() {
|
|
27909
27930
|
var writer = new jspb.BinaryWriter();
|
|
27910
27931
|
this.serializeBinaryToWriter(writer);
|
|
27911
27932
|
return writer.getResultBuffer();
|
|
@@ -27917,35 +27938,22 @@ proto.sniipbillapi.UserBillListResponseData.prototype.serializeBinary = function
|
|
|
27917
27938
|
* writing to the given BinaryWriter.
|
|
27918
27939
|
* @param {!jspb.BinaryWriter} writer
|
|
27919
27940
|
*/
|
|
27920
|
-
proto.sniipbillapi.
|
|
27941
|
+
proto.sniipbillapi.UserBillListResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
27921
27942
|
var f = undefined;
|
|
27922
|
-
f = this.
|
|
27923
|
-
if (f
|
|
27924
|
-
writer.
|
|
27943
|
+
f = this.getResponsecode();
|
|
27944
|
+
if (f != null) {
|
|
27945
|
+
writer.writeMessage(
|
|
27925
27946
|
1,
|
|
27926
|
-
f
|
|
27947
|
+
f,
|
|
27948
|
+
proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
|
|
27927
27949
|
);
|
|
27928
27950
|
}
|
|
27929
|
-
f = this.
|
|
27930
|
-
if (f
|
|
27931
|
-
writer.
|
|
27951
|
+
f = this.getUserbilllistdata();
|
|
27952
|
+
if (f != null) {
|
|
27953
|
+
writer.writeMessage(
|
|
27932
27954
|
2,
|
|
27933
|
-
f
|
|
27934
|
-
);
|
|
27935
|
-
}
|
|
27936
|
-
f = this.getTotal();
|
|
27937
|
-
if (f !== 0) {
|
|
27938
|
-
writer.writeInt32(
|
|
27939
|
-
3,
|
|
27940
|
-
f
|
|
27941
|
-
);
|
|
27942
|
-
}
|
|
27943
|
-
f = this.getBilllistList();
|
|
27944
|
-
if (f.length > 0) {
|
|
27945
|
-
writer.writeRepeatedMessage(
|
|
27946
|
-
4,
|
|
27947
27955
|
f,
|
|
27948
|
-
proto.sniipbillapi.
|
|
27956
|
+
proto.sniipbillapi.UserBillListData.serializeBinaryToWriter
|
|
27949
27957
|
);
|
|
27950
27958
|
}
|
|
27951
27959
|
};
|
|
@@ -27953,78 +27961,70 @@ proto.sniipbillapi.UserBillListResponseData.prototype.serializeBinaryToWriter =
|
|
|
27953
27961
|
|
|
27954
27962
|
/**
|
|
27955
27963
|
* Creates a deep clone of this proto. No data is shared with the original.
|
|
27956
|
-
* @return {!proto.sniipbillapi.
|
|
27964
|
+
* @return {!proto.sniipbillapi.UserBillListResponse} The clone.
|
|
27957
27965
|
*/
|
|
27958
|
-
proto.sniipbillapi.
|
|
27959
|
-
return /** @type {!proto.sniipbillapi.
|
|
27966
|
+
proto.sniipbillapi.UserBillListResponse.prototype.cloneMessage = function() {
|
|
27967
|
+
return /** @type {!proto.sniipbillapi.UserBillListResponse} */ (jspb.Message.cloneMessage(this));
|
|
27960
27968
|
};
|
|
27961
27969
|
|
|
27962
27970
|
|
|
27963
27971
|
/**
|
|
27964
|
-
* optional
|
|
27965
|
-
* @return {
|
|
27972
|
+
* optional ResponseCode responseCode = 1;
|
|
27973
|
+
* @return {proto.sniipbillapi.ResponseCode}
|
|
27966
27974
|
*/
|
|
27967
|
-
proto.sniipbillapi.
|
|
27968
|
-
return /** @type
|
|
27969
|
-
|
|
27970
|
-
|
|
27971
|
-
|
|
27972
|
-
/** @param {number} value */
|
|
27973
|
-
proto.sniipbillapi.UserBillListResponseData.prototype.setLimit = function(value) {
|
|
27974
|
-
jspb.Message.setField(this, 1, value);
|
|
27975
|
+
proto.sniipbillapi.UserBillListResponse.prototype.getResponsecode = function() {
|
|
27976
|
+
return /** @type{proto.sniipbillapi.ResponseCode} */ (
|
|
27977
|
+
jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
|
|
27975
27978
|
};
|
|
27976
27979
|
|
|
27977
27980
|
|
|
27978
|
-
/**
|
|
27979
|
-
|
|
27980
|
-
|
|
27981
|
-
*/
|
|
27982
|
-
proto.sniipbillapi.UserBillListResponseData.prototype.getPage = function() {
|
|
27983
|
-
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
27981
|
+
/** @param {proto.sniipbillapi.ResponseCode|undefined} value */
|
|
27982
|
+
proto.sniipbillapi.UserBillListResponse.prototype.setResponsecode = function(value) {
|
|
27983
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
27984
27984
|
};
|
|
27985
27985
|
|
|
27986
27986
|
|
|
27987
|
-
|
|
27988
|
-
|
|
27989
|
-
jspb.Message.setField(this, 2, value);
|
|
27987
|
+
proto.sniipbillapi.UserBillListResponse.prototype.clearResponsecode = function() {
|
|
27988
|
+
this.setResponsecode(undefined);
|
|
27990
27989
|
};
|
|
27991
27990
|
|
|
27992
27991
|
|
|
27993
27992
|
/**
|
|
27994
|
-
*
|
|
27995
|
-
* @return
|
|
27993
|
+
* Returns whether this field is set.
|
|
27994
|
+
* @return{!boolean}
|
|
27996
27995
|
*/
|
|
27997
|
-
proto.sniipbillapi.
|
|
27998
|
-
return
|
|
27996
|
+
proto.sniipbillapi.UserBillListResponse.prototype.hasResponsecode = function() {
|
|
27997
|
+
return jspb.Message.getField(this, 1) != null;
|
|
27999
27998
|
};
|
|
28000
27999
|
|
|
28001
28000
|
|
|
28002
|
-
/**
|
|
28003
|
-
|
|
28004
|
-
|
|
28001
|
+
/**
|
|
28002
|
+
* optional UserBillListData userBillListData = 2;
|
|
28003
|
+
* @return {proto.sniipbillapi.UserBillListData}
|
|
28004
|
+
*/
|
|
28005
|
+
proto.sniipbillapi.UserBillListResponse.prototype.getUserbilllistdata = function() {
|
|
28006
|
+
return /** @type{proto.sniipbillapi.UserBillListData} */ (
|
|
28007
|
+
jspb.Message.getWrapperField(this, proto.sniipbillapi.UserBillListData, 2));
|
|
28005
28008
|
};
|
|
28006
28009
|
|
|
28007
28010
|
|
|
28008
|
-
/**
|
|
28009
|
-
|
|
28010
|
-
|
|
28011
|
-
* replace the array itself, then you must call the setter to update it.
|
|
28012
|
-
* @return {!Array.<!proto.sniipbillapi.BillDetail>}
|
|
28013
|
-
*/
|
|
28014
|
-
proto.sniipbillapi.UserBillListResponseData.prototype.getBilllistList = function() {
|
|
28015
|
-
return /** @type{!Array.<!proto.sniipbillapi.BillDetail>} */ (
|
|
28016
|
-
jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillDetail, 4));
|
|
28011
|
+
/** @param {proto.sniipbillapi.UserBillListData|undefined} value */
|
|
28012
|
+
proto.sniipbillapi.UserBillListResponse.prototype.setUserbilllistdata = function(value) {
|
|
28013
|
+
jspb.Message.setWrapperField(this, 2, value);
|
|
28017
28014
|
};
|
|
28018
28015
|
|
|
28019
28016
|
|
|
28020
|
-
|
|
28021
|
-
|
|
28022
|
-
jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
28017
|
+
proto.sniipbillapi.UserBillListResponse.prototype.clearUserbilllistdata = function() {
|
|
28018
|
+
this.setUserbilllistdata(undefined);
|
|
28023
28019
|
};
|
|
28024
28020
|
|
|
28025
28021
|
|
|
28026
|
-
|
|
28027
|
-
|
|
28022
|
+
/**
|
|
28023
|
+
* Returns whether this field is set.
|
|
28024
|
+
* @return{!boolean}
|
|
28025
|
+
*/
|
|
28026
|
+
proto.sniipbillapi.UserBillListResponse.prototype.hasUserbilllistdata = function() {
|
|
28027
|
+
return jspb.Message.getField(this, 2) != null;
|
|
28028
28028
|
};
|
|
28029
28029
|
|
|
28030
28030
|
|