@sniipwebmaster/agent-billing-client-grpcweb 23.11.770 → 23.12.797

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.
@@ -16,17 +16,27 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
16
16
  goog.object.extend(proto, google_api_annotations_pb);
17
17
  goog.exportSymbol('proto.agentbillingserviceapi.Agent', null, global);
18
18
  goog.exportSymbol('proto.agentbillingserviceapi.AgentBill', null, global);
19
+ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillResult', null, global);
20
+ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest', null, global);
21
+ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest', null, global);
22
+ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsResponse', null, global);
19
23
  goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null, global);
20
24
  goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
21
25
  goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
22
26
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillsResponse', null, global);
23
27
  goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest', null, global);
24
28
  goog.exportSymbol('proto.agentbillingserviceapi.DeclineAgentInvitationRequest', null, global);
29
+ goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillResult', null, global);
30
+ goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest', null, global);
31
+ goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest', null, global);
32
+ goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsResponse', null, global);
25
33
  goog.exportSymbol('proto.agentbillingserviceapi.DeleteDeliveryBatchAsClientRequest', null, global);
26
34
  goog.exportSymbol('proto.agentbillingserviceapi.DeleteDeliveryBatchRequest', null, global);
27
35
  goog.exportSymbol('proto.agentbillingserviceapi.DeliveryBatch', null, global);
28
36
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
29
37
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
38
+ goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
39
+ goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse', null, global);
30
40
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsForClientRequest', null, global);
31
41
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsResponse', null, global);
32
42
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentRequest', null, global);
@@ -97,6 +107,90 @@ if (goog.DEBUG && !COMPILED) {
97
107
  */
98
108
  proto.agentbillingserviceapi.AgentBill.displayName = 'proto.agentbillingserviceapi.AgentBill';
99
109
  }
110
+ /**
111
+ * Generated by JsPbCodeGenerator.
112
+ * @param {Array=} opt_data Optional initial data array, typically from a
113
+ * server response, or constructed directly in Javascript. The array is used
114
+ * in place and becomes part of the constructed object. It is not cloned.
115
+ * If no data is provided, the constructed object will be empty, but still
116
+ * valid.
117
+ * @extends {jspb.Message}
118
+ * @constructor
119
+ */
120
+ proto.agentbillingserviceapi.ArchiveAgentBillResult = function(opt_data) {
121
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
122
+ };
123
+ goog.inherits(proto.agentbillingserviceapi.ArchiveAgentBillResult, jspb.Message);
124
+ if (goog.DEBUG && !COMPILED) {
125
+ /**
126
+ * @public
127
+ * @override
128
+ */
129
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.displayName = 'proto.agentbillingserviceapi.ArchiveAgentBillResult';
130
+ }
131
+ /**
132
+ * Generated by JsPbCodeGenerator.
133
+ * @param {Array=} opt_data Optional initial data array, typically from a
134
+ * server response, or constructed directly in Javascript. The array is used
135
+ * in place and becomes part of the constructed object. It is not cloned.
136
+ * If no data is provided, the constructed object will be empty, but still
137
+ * valid.
138
+ * @extends {jspb.Message}
139
+ * @constructor
140
+ */
141
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest = function(opt_data) {
142
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.repeatedFields_, null);
143
+ };
144
+ goog.inherits(proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest, jspb.Message);
145
+ if (goog.DEBUG && !COMPILED) {
146
+ /**
147
+ * @public
148
+ * @override
149
+ */
150
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.displayName = 'proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest';
151
+ }
152
+ /**
153
+ * Generated by JsPbCodeGenerator.
154
+ * @param {Array=} opt_data Optional initial data array, typically from a
155
+ * server response, or constructed directly in Javascript. The array is used
156
+ * in place and becomes part of the constructed object. It is not cloned.
157
+ * If no data is provided, the constructed object will be empty, but still
158
+ * valid.
159
+ * @extends {jspb.Message}
160
+ * @constructor
161
+ */
162
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest = function(opt_data) {
163
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
164
+ };
165
+ goog.inherits(proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest, jspb.Message);
166
+ if (goog.DEBUG && !COMPILED) {
167
+ /**
168
+ * @public
169
+ * @override
170
+ */
171
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.displayName = 'proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest';
172
+ }
173
+ /**
174
+ * Generated by JsPbCodeGenerator.
175
+ * @param {Array=} opt_data Optional initial data array, typically from a
176
+ * server response, or constructed directly in Javascript. The array is used
177
+ * in place and becomes part of the constructed object. It is not cloned.
178
+ * If no data is provided, the constructed object will be empty, but still
179
+ * valid.
180
+ * @extends {jspb.Message}
181
+ * @constructor
182
+ */
183
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse = function(opt_data) {
184
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.ArchiveAgentBillsResponse.repeatedFields_, null);
185
+ };
186
+ goog.inherits(proto.agentbillingserviceapi.ArchiveAgentBillsResponse, jspb.Message);
187
+ if (goog.DEBUG && !COMPILED) {
188
+ /**
189
+ * @public
190
+ * @override
191
+ */
192
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.displayName = 'proto.agentbillingserviceapi.ArchiveAgentBillsResponse';
193
+ }
100
194
  /**
101
195
  * Generated by JsPbCodeGenerator.
102
196
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -223,6 +317,90 @@ if (goog.DEBUG && !COMPILED) {
223
317
  */
224
318
  proto.agentbillingserviceapi.DeclineAgentInvitationRequest.displayName = 'proto.agentbillingserviceapi.DeclineAgentInvitationRequest';
225
319
  }
320
+ /**
321
+ * Generated by JsPbCodeGenerator.
322
+ * @param {Array=} opt_data Optional initial data array, typically from a
323
+ * server response, or constructed directly in Javascript. The array is used
324
+ * in place and becomes part of the constructed object. It is not cloned.
325
+ * If no data is provided, the constructed object will be empty, but still
326
+ * valid.
327
+ * @extends {jspb.Message}
328
+ * @constructor
329
+ */
330
+ proto.agentbillingserviceapi.DeleteAgentBillResult = function(opt_data) {
331
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
332
+ };
333
+ goog.inherits(proto.agentbillingserviceapi.DeleteAgentBillResult, jspb.Message);
334
+ if (goog.DEBUG && !COMPILED) {
335
+ /**
336
+ * @public
337
+ * @override
338
+ */
339
+ proto.agentbillingserviceapi.DeleteAgentBillResult.displayName = 'proto.agentbillingserviceapi.DeleteAgentBillResult';
340
+ }
341
+ /**
342
+ * Generated by JsPbCodeGenerator.
343
+ * @param {Array=} opt_data Optional initial data array, typically from a
344
+ * server response, or constructed directly in Javascript. The array is used
345
+ * in place and becomes part of the constructed object. It is not cloned.
346
+ * If no data is provided, the constructed object will be empty, but still
347
+ * valid.
348
+ * @extends {jspb.Message}
349
+ * @constructor
350
+ */
351
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest = function(opt_data) {
352
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.repeatedFields_, null);
353
+ };
354
+ goog.inherits(proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest, jspb.Message);
355
+ if (goog.DEBUG && !COMPILED) {
356
+ /**
357
+ * @public
358
+ * @override
359
+ */
360
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.displayName = 'proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest';
361
+ }
362
+ /**
363
+ * Generated by JsPbCodeGenerator.
364
+ * @param {Array=} opt_data Optional initial data array, typically from a
365
+ * server response, or constructed directly in Javascript. The array is used
366
+ * in place and becomes part of the constructed object. It is not cloned.
367
+ * If no data is provided, the constructed object will be empty, but still
368
+ * valid.
369
+ * @extends {jspb.Message}
370
+ * @constructor
371
+ */
372
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest = function(opt_data) {
373
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
374
+ };
375
+ goog.inherits(proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest, jspb.Message);
376
+ if (goog.DEBUG && !COMPILED) {
377
+ /**
378
+ * @public
379
+ * @override
380
+ */
381
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.displayName = 'proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest';
382
+ }
383
+ /**
384
+ * Generated by JsPbCodeGenerator.
385
+ * @param {Array=} opt_data Optional initial data array, typically from a
386
+ * server response, or constructed directly in Javascript. The array is used
387
+ * in place and becomes part of the constructed object. It is not cloned.
388
+ * If no data is provided, the constructed object will be empty, but still
389
+ * valid.
390
+ * @extends {jspb.Message}
391
+ * @constructor
392
+ */
393
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse = function(opt_data) {
394
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.DeleteAgentBillsResponse.repeatedFields_, null);
395
+ };
396
+ goog.inherits(proto.agentbillingserviceapi.DeleteAgentBillsResponse, jspb.Message);
397
+ if (goog.DEBUG && !COMPILED) {
398
+ /**
399
+ * @public
400
+ * @override
401
+ */
402
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.displayName = 'proto.agentbillingserviceapi.DeleteAgentBillsResponse';
403
+ }
226
404
  /**
227
405
  * Generated by JsPbCodeGenerator.
228
406
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -328,6 +506,48 @@ if (goog.DEBUG && !COMPILED) {
328
506
  */
329
507
  proto.agentbillingserviceapi.DisconnectClientRequest.displayName = 'proto.agentbillingserviceapi.DisconnectClientRequest';
330
508
  }
509
+ /**
510
+ * Generated by JsPbCodeGenerator.
511
+ * @param {Array=} opt_data Optional initial data array, typically from a
512
+ * server response, or constructed directly in Javascript. The array is used
513
+ * in place and becomes part of the constructed object. It is not cloned.
514
+ * If no data is provided, the constructed object will be empty, but still
515
+ * valid.
516
+ * @extends {jspb.Message}
517
+ * @constructor
518
+ */
519
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest = function(opt_data) {
520
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
521
+ };
522
+ goog.inherits(proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest, jspb.Message);
523
+ if (goog.DEBUG && !COMPILED) {
524
+ /**
525
+ * @public
526
+ * @override
527
+ */
528
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.displayName = 'proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest';
529
+ }
530
+ /**
531
+ * Generated by JsPbCodeGenerator.
532
+ * @param {Array=} opt_data Optional initial data array, typically from a
533
+ * server response, or constructed directly in Javascript. The array is used
534
+ * in place and becomes part of the constructed object. It is not cloned.
535
+ * If no data is provided, the constructed object will be empty, but still
536
+ * valid.
537
+ * @extends {jspb.Message}
538
+ * @constructor
539
+ */
540
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse = function(opt_data) {
541
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
542
+ };
543
+ goog.inherits(proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse, jspb.Message);
544
+ if (goog.DEBUG && !COMPILED) {
545
+ /**
546
+ * @public
547
+ * @override
548
+ */
549
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.displayName = 'proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse';
550
+ }
331
551
  /**
332
552
  * Generated by JsPbCodeGenerator.
333
553
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1728,8 +1948,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1728
1948
  * http://goto/soy-param-migration
1729
1949
  * @return {!Object}
1730
1950
  */
1731
- proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.toObject = function(opt_includeInstance) {
1732
- return proto.agentbillingserviceapi.CancelAgentInviteRequest.toObject(opt_includeInstance, this);
1951
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.toObject = function(opt_includeInstance) {
1952
+ return proto.agentbillingserviceapi.ArchiveAgentBillResult.toObject(opt_includeInstance, this);
1733
1953
  };
1734
1954
 
1735
1955
 
@@ -1738,13 +1958,16 @@ proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.toObject = funct
1738
1958
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1739
1959
  * the JSPB instance for transitional soy proto support:
1740
1960
  * http://goto/soy-param-migration
1741
- * @param {!proto.agentbillingserviceapi.CancelAgentInviteRequest} msg The msg instance to transform.
1961
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillResult} msg The msg instance to transform.
1742
1962
  * @return {!Object}
1743
1963
  * @suppress {unusedLocalVariables} f is only used for nested messages
1744
1964
  */
1745
- proto.agentbillingserviceapi.CancelAgentInviteRequest.toObject = function(includeInstance, msg) {
1965
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.toObject = function(includeInstance, msg) {
1746
1966
  var f, obj = {
1747
- agentemail: jspb.Message.getFieldWithDefault(msg, 1, "")
1967
+ agentbillid: jspb.Message.getFieldWithDefault(msg, 1, 0),
1968
+ billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
1969
+ wassuccessfullyarchived: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
1970
+ message: jspb.Message.getFieldWithDefault(msg, 4, "")
1748
1971
  };
1749
1972
 
1750
1973
  if (includeInstance) {
@@ -1758,23 +1981,23 @@ proto.agentbillingserviceapi.CancelAgentInviteRequest.toObject = function(includ
1758
1981
  /**
1759
1982
  * Deserializes binary data (in protobuf wire format).
1760
1983
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1761
- * @return {!proto.agentbillingserviceapi.CancelAgentInviteRequest}
1984
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult}
1762
1985
  */
1763
- proto.agentbillingserviceapi.CancelAgentInviteRequest.deserializeBinary = function(bytes) {
1986
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.deserializeBinary = function(bytes) {
1764
1987
  var reader = new jspb.BinaryReader(bytes);
1765
- var msg = new proto.agentbillingserviceapi.CancelAgentInviteRequest;
1766
- return proto.agentbillingserviceapi.CancelAgentInviteRequest.deserializeBinaryFromReader(msg, reader);
1988
+ var msg = new proto.agentbillingserviceapi.ArchiveAgentBillResult;
1989
+ return proto.agentbillingserviceapi.ArchiveAgentBillResult.deserializeBinaryFromReader(msg, reader);
1767
1990
  };
1768
1991
 
1769
1992
 
1770
1993
  /**
1771
1994
  * Deserializes binary data (in protobuf wire format) from the
1772
1995
  * given reader into the given message object.
1773
- * @param {!proto.agentbillingserviceapi.CancelAgentInviteRequest} msg The message object to deserialize into.
1996
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillResult} msg The message object to deserialize into.
1774
1997
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1775
- * @return {!proto.agentbillingserviceapi.CancelAgentInviteRequest}
1998
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult}
1776
1999
  */
1777
- proto.agentbillingserviceapi.CancelAgentInviteRequest.deserializeBinaryFromReader = function(msg, reader) {
2000
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.deserializeBinaryFromReader = function(msg, reader) {
1778
2001
  while (reader.nextField()) {
1779
2002
  if (reader.isEndGroup()) {
1780
2003
  break;
@@ -1782,8 +2005,20 @@ proto.agentbillingserviceapi.CancelAgentInviteRequest.deserializeBinaryFromReade
1782
2005
  var field = reader.getFieldNumber();
1783
2006
  switch (field) {
1784
2007
  case 1:
2008
+ var value = /** @type {number} */ (reader.readInt64());
2009
+ msg.setAgentbillid(value);
2010
+ break;
2011
+ case 2:
2012
+ var value = /** @type {number} */ (reader.readInt64());
2013
+ msg.setBillid(value);
2014
+ break;
2015
+ case 3:
2016
+ var value = /** @type {boolean} */ (reader.readBool());
2017
+ msg.setWassuccessfullyarchived(value);
2018
+ break;
2019
+ case 4:
1785
2020
  var value = /** @type {string} */ (reader.readString());
1786
- msg.setAgentemail(value);
2021
+ msg.setMessage(value);
1787
2022
  break;
1788
2023
  default:
1789
2024
  reader.skipField();
@@ -1798,9 +2033,9 @@ proto.agentbillingserviceapi.CancelAgentInviteRequest.deserializeBinaryFromReade
1798
2033
  * Serializes the message to binary data (in protobuf wire format).
1799
2034
  * @return {!Uint8Array}
1800
2035
  */
1801
- proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.serializeBinary = function() {
2036
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.serializeBinary = function() {
1802
2037
  var writer = new jspb.BinaryWriter();
1803
- proto.agentbillingserviceapi.CancelAgentInviteRequest.serializeBinaryToWriter(this, writer);
2038
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.serializeBinaryToWriter(this, writer);
1804
2039
  return writer.getResultBuffer();
1805
2040
  };
1806
2041
 
@@ -1808,16 +2043,37 @@ proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.serializeBinary
1808
2043
  /**
1809
2044
  * Serializes the given message to binary data (in protobuf wire
1810
2045
  * format), writing to the given BinaryWriter.
1811
- * @param {!proto.agentbillingserviceapi.CancelAgentInviteRequest} message
2046
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillResult} message
1812
2047
  * @param {!jspb.BinaryWriter} writer
1813
2048
  * @suppress {unusedLocalVariables} f is only used for nested messages
1814
2049
  */
1815
- proto.agentbillingserviceapi.CancelAgentInviteRequest.serializeBinaryToWriter = function(message, writer) {
2050
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.serializeBinaryToWriter = function(message, writer) {
1816
2051
  var f = undefined;
1817
- f = message.getAgentemail();
2052
+ f = message.getAgentbillid();
2053
+ if (f !== 0) {
2054
+ writer.writeInt64(
2055
+ 1,
2056
+ f
2057
+ );
2058
+ }
2059
+ f = message.getBillid();
2060
+ if (f !== 0) {
2061
+ writer.writeInt64(
2062
+ 2,
2063
+ f
2064
+ );
2065
+ }
2066
+ f = message.getWassuccessfullyarchived();
2067
+ if (f) {
2068
+ writer.writeBool(
2069
+ 3,
2070
+ f
2071
+ );
2072
+ }
2073
+ f = message.getMessage();
1818
2074
  if (f.length > 0) {
1819
2075
  writer.writeString(
1820
- 1,
2076
+ 4,
1821
2077
  f
1822
2078
  );
1823
2079
  }
@@ -1825,32 +2081,1574 @@ proto.agentbillingserviceapi.CancelAgentInviteRequest.serializeBinaryToWriter =
1825
2081
 
1826
2082
 
1827
2083
  /**
1828
- * optional string agentEmail = 1;
1829
- * @return {string}
2084
+ * optional int64 agentBillId = 1;
2085
+ * @return {number}
1830
2086
  */
1831
- proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.getAgentemail = function() {
1832
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2087
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.getAgentbillid = function() {
2088
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1833
2089
  };
1834
2090
 
1835
2091
 
1836
2092
  /**
1837
- * @param {string} value
1838
- * @return {!proto.agentbillingserviceapi.CancelAgentInviteRequest} returns this
2093
+ * @param {number} value
2094
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult} returns this
1839
2095
  */
1840
- proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.setAgentemail = function(value) {
1841
- return jspb.Message.setProto3StringField(this, 1, value);
2096
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.setAgentbillid = function(value) {
2097
+ return jspb.Message.setProto3IntField(this, 1, value);
1842
2098
  };
1843
2099
 
1844
2100
 
2101
+ /**
2102
+ * optional int64 billId = 2;
2103
+ * @return {number}
2104
+ */
2105
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.getBillid = function() {
2106
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2107
+ };
1845
2108
 
1846
2109
 
1847
-
1848
- if (jspb.Message.GENERATE_TO_OBJECT) {
1849
2110
  /**
1850
- * Creates an object representation of this proto.
1851
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1852
- * Optional fields that are not set will be set to undefined.
1853
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2111
+ * @param {number} value
2112
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult} returns this
2113
+ */
2114
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.setBillid = function(value) {
2115
+ return jspb.Message.setProto3IntField(this, 2, value);
2116
+ };
2117
+
2118
+
2119
+ /**
2120
+ * optional bool wasSuccessfullyArchived = 3;
2121
+ * @return {boolean}
2122
+ */
2123
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.getWassuccessfullyarchived = function() {
2124
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
2125
+ };
2126
+
2127
+
2128
+ /**
2129
+ * @param {boolean} value
2130
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult} returns this
2131
+ */
2132
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.setWassuccessfullyarchived = function(value) {
2133
+ return jspb.Message.setProto3BooleanField(this, 3, value);
2134
+ };
2135
+
2136
+
2137
+ /**
2138
+ * optional string message = 4;
2139
+ * @return {string}
2140
+ */
2141
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.getMessage = function() {
2142
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2143
+ };
2144
+
2145
+
2146
+ /**
2147
+ * @param {string} value
2148
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult} returns this
2149
+ */
2150
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.setMessage = function(value) {
2151
+ return jspb.Message.setProto3StringField(this, 4, value);
2152
+ };
2153
+
2154
+
2155
+
2156
+ /**
2157
+ * List of repeated fields within this message type.
2158
+ * @private {!Array<number>}
2159
+ * @const
2160
+ */
2161
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.repeatedFields_ = [1];
2162
+
2163
+
2164
+
2165
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2166
+ /**
2167
+ * Creates an object representation of this proto.
2168
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2169
+ * Optional fields that are not set will be set to undefined.
2170
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2171
+ * For the list of reserved names please see:
2172
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2173
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2174
+ * JSPB instance for transitional soy proto support:
2175
+ * http://goto/soy-param-migration
2176
+ * @return {!Object}
2177
+ */
2178
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.toObject = function(opt_includeInstance) {
2179
+ return proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.toObject(opt_includeInstance, this);
2180
+ };
2181
+
2182
+
2183
+ /**
2184
+ * Static version of the {@see toObject} method.
2185
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2186
+ * the JSPB instance for transitional soy proto support:
2187
+ * http://goto/soy-param-migration
2188
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} msg The msg instance to transform.
2189
+ * @return {!Object}
2190
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2191
+ */
2192
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.toObject = function(includeInstance, msg) {
2193
+ var f, obj = {
2194
+ agentbillidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2195
+ };
2196
+
2197
+ if (includeInstance) {
2198
+ obj.$jspbMessageInstance = msg;
2199
+ }
2200
+ return obj;
2201
+ };
2202
+ }
2203
+
2204
+
2205
+ /**
2206
+ * Deserializes binary data (in protobuf wire format).
2207
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2208
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest}
2209
+ */
2210
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.deserializeBinary = function(bytes) {
2211
+ var reader = new jspb.BinaryReader(bytes);
2212
+ var msg = new proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest;
2213
+ return proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.deserializeBinaryFromReader(msg, reader);
2214
+ };
2215
+
2216
+
2217
+ /**
2218
+ * Deserializes binary data (in protobuf wire format) from the
2219
+ * given reader into the given message object.
2220
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} msg The message object to deserialize into.
2221
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2222
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest}
2223
+ */
2224
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
2225
+ while (reader.nextField()) {
2226
+ if (reader.isEndGroup()) {
2227
+ break;
2228
+ }
2229
+ var field = reader.getFieldNumber();
2230
+ switch (field) {
2231
+ case 1:
2232
+ var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
2233
+ msg.setAgentbillidsList(value);
2234
+ break;
2235
+ default:
2236
+ reader.skipField();
2237
+ break;
2238
+ }
2239
+ }
2240
+ return msg;
2241
+ };
2242
+
2243
+
2244
+ /**
2245
+ * Serializes the message to binary data (in protobuf wire format).
2246
+ * @return {!Uint8Array}
2247
+ */
2248
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.serializeBinary = function() {
2249
+ var writer = new jspb.BinaryWriter();
2250
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.serializeBinaryToWriter(this, writer);
2251
+ return writer.getResultBuffer();
2252
+ };
2253
+
2254
+
2255
+ /**
2256
+ * Serializes the given message to binary data (in protobuf wire
2257
+ * format), writing to the given BinaryWriter.
2258
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} message
2259
+ * @param {!jspb.BinaryWriter} writer
2260
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2261
+ */
2262
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.serializeBinaryToWriter = function(message, writer) {
2263
+ var f = undefined;
2264
+ f = message.getAgentbillidsList();
2265
+ if (f.length > 0) {
2266
+ writer.writePackedInt64(
2267
+ 1,
2268
+ f
2269
+ );
2270
+ }
2271
+ };
2272
+
2273
+
2274
+ /**
2275
+ * repeated int64 agentBillIds = 1;
2276
+ * @return {!Array<number>}
2277
+ */
2278
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.getAgentbillidsList = function() {
2279
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
2280
+ };
2281
+
2282
+
2283
+ /**
2284
+ * @param {!Array<number>} value
2285
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} returns this
2286
+ */
2287
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.setAgentbillidsList = function(value) {
2288
+ return jspb.Message.setField(this, 1, value || []);
2289
+ };
2290
+
2291
+
2292
+ /**
2293
+ * @param {number} value
2294
+ * @param {number=} opt_index
2295
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} returns this
2296
+ */
2297
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.addAgentbillids = function(value, opt_index) {
2298
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2299
+ };
2300
+
2301
+
2302
+ /**
2303
+ * Clears the list making it empty but non-null.
2304
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} returns this
2305
+ */
2306
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.clearAgentbillidsList = function() {
2307
+ return this.setAgentbillidsList([]);
2308
+ };
2309
+
2310
+
2311
+
2312
+
2313
+
2314
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2315
+ /**
2316
+ * Creates an object representation of this proto.
2317
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2318
+ * Optional fields that are not set will be set to undefined.
2319
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2320
+ * For the list of reserved names please see:
2321
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2322
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2323
+ * JSPB instance for transitional soy proto support:
2324
+ * http://goto/soy-param-migration
2325
+ * @return {!Object}
2326
+ */
2327
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.prototype.toObject = function(opt_includeInstance) {
2328
+ return proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.toObject(opt_includeInstance, this);
2329
+ };
2330
+
2331
+
2332
+ /**
2333
+ * Static version of the {@see toObject} method.
2334
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2335
+ * the JSPB instance for transitional soy proto support:
2336
+ * http://goto/soy-param-migration
2337
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest} msg The msg instance to transform.
2338
+ * @return {!Object}
2339
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2340
+ */
2341
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.toObject = function(includeInstance, msg) {
2342
+ var f, obj = {
2343
+ deliverybatchid: jspb.Message.getFieldWithDefault(msg, 1, 0)
2344
+ };
2345
+
2346
+ if (includeInstance) {
2347
+ obj.$jspbMessageInstance = msg;
2348
+ }
2349
+ return obj;
2350
+ };
2351
+ }
2352
+
2353
+
2354
+ /**
2355
+ * Deserializes binary data (in protobuf wire format).
2356
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2357
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest}
2358
+ */
2359
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.deserializeBinary = function(bytes) {
2360
+ var reader = new jspb.BinaryReader(bytes);
2361
+ var msg = new proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest;
2362
+ return proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.deserializeBinaryFromReader(msg, reader);
2363
+ };
2364
+
2365
+
2366
+ /**
2367
+ * Deserializes binary data (in protobuf wire format) from the
2368
+ * given reader into the given message object.
2369
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest} msg The message object to deserialize into.
2370
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2371
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest}
2372
+ */
2373
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.deserializeBinaryFromReader = function(msg, reader) {
2374
+ while (reader.nextField()) {
2375
+ if (reader.isEndGroup()) {
2376
+ break;
2377
+ }
2378
+ var field = reader.getFieldNumber();
2379
+ switch (field) {
2380
+ case 1:
2381
+ var value = /** @type {number} */ (reader.readInt64());
2382
+ msg.setDeliverybatchid(value);
2383
+ break;
2384
+ default:
2385
+ reader.skipField();
2386
+ break;
2387
+ }
2388
+ }
2389
+ return msg;
2390
+ };
2391
+
2392
+
2393
+ /**
2394
+ * Serializes the message to binary data (in protobuf wire format).
2395
+ * @return {!Uint8Array}
2396
+ */
2397
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.prototype.serializeBinary = function() {
2398
+ var writer = new jspb.BinaryWriter();
2399
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.serializeBinaryToWriter(this, writer);
2400
+ return writer.getResultBuffer();
2401
+ };
2402
+
2403
+
2404
+ /**
2405
+ * Serializes the given message to binary data (in protobuf wire
2406
+ * format), writing to the given BinaryWriter.
2407
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest} message
2408
+ * @param {!jspb.BinaryWriter} writer
2409
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2410
+ */
2411
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.serializeBinaryToWriter = function(message, writer) {
2412
+ var f = undefined;
2413
+ f = message.getDeliverybatchid();
2414
+ if (f !== 0) {
2415
+ writer.writeInt64(
2416
+ 1,
2417
+ f
2418
+ );
2419
+ }
2420
+ };
2421
+
2422
+
2423
+ /**
2424
+ * optional int64 deliveryBatchId = 1;
2425
+ * @return {number}
2426
+ */
2427
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.prototype.getDeliverybatchid = function() {
2428
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2429
+ };
2430
+
2431
+
2432
+ /**
2433
+ * @param {number} value
2434
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest} returns this
2435
+ */
2436
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.prototype.setDeliverybatchid = function(value) {
2437
+ return jspb.Message.setProto3IntField(this, 1, value);
2438
+ };
2439
+
2440
+
2441
+
2442
+ /**
2443
+ * List of repeated fields within this message type.
2444
+ * @private {!Array<number>}
2445
+ * @const
2446
+ */
2447
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.repeatedFields_ = [4];
2448
+
2449
+
2450
+
2451
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2452
+ /**
2453
+ * Creates an object representation of this proto.
2454
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2455
+ * Optional fields that are not set will be set to undefined.
2456
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2457
+ * For the list of reserved names please see:
2458
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2459
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2460
+ * JSPB instance for transitional soy proto support:
2461
+ * http://goto/soy-param-migration
2462
+ * @return {!Object}
2463
+ */
2464
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.toObject = function(opt_includeInstance) {
2465
+ return proto.agentbillingserviceapi.ArchiveAgentBillsResponse.toObject(opt_includeInstance, this);
2466
+ };
2467
+
2468
+
2469
+ /**
2470
+ * Static version of the {@see toObject} method.
2471
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2472
+ * the JSPB instance for transitional soy proto support:
2473
+ * http://goto/soy-param-migration
2474
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} msg The msg instance to transform.
2475
+ * @return {!Object}
2476
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2477
+ */
2478
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.toObject = function(includeInstance, msg) {
2479
+ var f, obj = {
2480
+ responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
2481
+ archivedcount: jspb.Message.getFieldWithDefault(msg, 2, 0),
2482
+ notarchivedcount: jspb.Message.getFieldWithDefault(msg, 3, 0),
2483
+ archiveagentbillsresultsList: jspb.Message.toObjectList(msg.getArchiveagentbillsresultsList(),
2484
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.toObject, includeInstance)
2485
+ };
2486
+
2487
+ if (includeInstance) {
2488
+ obj.$jspbMessageInstance = msg;
2489
+ }
2490
+ return obj;
2491
+ };
2492
+ }
2493
+
2494
+
2495
+ /**
2496
+ * Deserializes binary data (in protobuf wire format).
2497
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2498
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse}
2499
+ */
2500
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.deserializeBinary = function(bytes) {
2501
+ var reader = new jspb.BinaryReader(bytes);
2502
+ var msg = new proto.agentbillingserviceapi.ArchiveAgentBillsResponse;
2503
+ return proto.agentbillingserviceapi.ArchiveAgentBillsResponse.deserializeBinaryFromReader(msg, reader);
2504
+ };
2505
+
2506
+
2507
+ /**
2508
+ * Deserializes binary data (in protobuf wire format) from the
2509
+ * given reader into the given message object.
2510
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} msg The message object to deserialize into.
2511
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2512
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse}
2513
+ */
2514
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.deserializeBinaryFromReader = function(msg, reader) {
2515
+ while (reader.nextField()) {
2516
+ if (reader.isEndGroup()) {
2517
+ break;
2518
+ }
2519
+ var field = reader.getFieldNumber();
2520
+ switch (field) {
2521
+ case 1:
2522
+ var value = new proto.agentbillingserviceapi.ResponseCode;
2523
+ reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
2524
+ msg.setResponsecode(value);
2525
+ break;
2526
+ case 2:
2527
+ var value = /** @type {number} */ (reader.readInt32());
2528
+ msg.setArchivedcount(value);
2529
+ break;
2530
+ case 3:
2531
+ var value = /** @type {number} */ (reader.readInt32());
2532
+ msg.setNotarchivedcount(value);
2533
+ break;
2534
+ case 4:
2535
+ var value = new proto.agentbillingserviceapi.ArchiveAgentBillResult;
2536
+ reader.readMessage(value,proto.agentbillingserviceapi.ArchiveAgentBillResult.deserializeBinaryFromReader);
2537
+ msg.addArchiveagentbillsresults(value);
2538
+ break;
2539
+ default:
2540
+ reader.skipField();
2541
+ break;
2542
+ }
2543
+ }
2544
+ return msg;
2545
+ };
2546
+
2547
+
2548
+ /**
2549
+ * Serializes the message to binary data (in protobuf wire format).
2550
+ * @return {!Uint8Array}
2551
+ */
2552
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.serializeBinary = function() {
2553
+ var writer = new jspb.BinaryWriter();
2554
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.serializeBinaryToWriter(this, writer);
2555
+ return writer.getResultBuffer();
2556
+ };
2557
+
2558
+
2559
+ /**
2560
+ * Serializes the given message to binary data (in protobuf wire
2561
+ * format), writing to the given BinaryWriter.
2562
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} message
2563
+ * @param {!jspb.BinaryWriter} writer
2564
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2565
+ */
2566
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.serializeBinaryToWriter = function(message, writer) {
2567
+ var f = undefined;
2568
+ f = message.getResponsecode();
2569
+ if (f != null) {
2570
+ writer.writeMessage(
2571
+ 1,
2572
+ f,
2573
+ proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
2574
+ );
2575
+ }
2576
+ f = message.getArchivedcount();
2577
+ if (f !== 0) {
2578
+ writer.writeInt32(
2579
+ 2,
2580
+ f
2581
+ );
2582
+ }
2583
+ f = message.getNotarchivedcount();
2584
+ if (f !== 0) {
2585
+ writer.writeInt32(
2586
+ 3,
2587
+ f
2588
+ );
2589
+ }
2590
+ f = message.getArchiveagentbillsresultsList();
2591
+ if (f.length > 0) {
2592
+ writer.writeRepeatedMessage(
2593
+ 4,
2594
+ f,
2595
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.serializeBinaryToWriter
2596
+ );
2597
+ }
2598
+ };
2599
+
2600
+
2601
+ /**
2602
+ * optional ResponseCode responseCode = 1;
2603
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
2604
+ */
2605
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.getResponsecode = function() {
2606
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
2607
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
2608
+ };
2609
+
2610
+
2611
+ /**
2612
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
2613
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
2614
+ */
2615
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.setResponsecode = function(value) {
2616
+ return jspb.Message.setWrapperField(this, 1, value);
2617
+ };
2618
+
2619
+
2620
+ /**
2621
+ * Clears the message field making it undefined.
2622
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
2623
+ */
2624
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.clearResponsecode = function() {
2625
+ return this.setResponsecode(undefined);
2626
+ };
2627
+
2628
+
2629
+ /**
2630
+ * Returns whether this field is set.
2631
+ * @return {boolean}
2632
+ */
2633
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.hasResponsecode = function() {
2634
+ return jspb.Message.getField(this, 1) != null;
2635
+ };
2636
+
2637
+
2638
+ /**
2639
+ * optional int32 archivedCount = 2;
2640
+ * @return {number}
2641
+ */
2642
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.getArchivedcount = function() {
2643
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2644
+ };
2645
+
2646
+
2647
+ /**
2648
+ * @param {number} value
2649
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
2650
+ */
2651
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.setArchivedcount = function(value) {
2652
+ return jspb.Message.setProto3IntField(this, 2, value);
2653
+ };
2654
+
2655
+
2656
+ /**
2657
+ * optional int32 notArchivedCount = 3;
2658
+ * @return {number}
2659
+ */
2660
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.getNotarchivedcount = function() {
2661
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2662
+ };
2663
+
2664
+
2665
+ /**
2666
+ * @param {number} value
2667
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
2668
+ */
2669
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.setNotarchivedcount = function(value) {
2670
+ return jspb.Message.setProto3IntField(this, 3, value);
2671
+ };
2672
+
2673
+
2674
+ /**
2675
+ * repeated ArchiveAgentBillResult archiveAgentBillsResults = 4;
2676
+ * @return {!Array<!proto.agentbillingserviceapi.ArchiveAgentBillResult>}
2677
+ */
2678
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.getArchiveagentbillsresultsList = function() {
2679
+ return /** @type{!Array<!proto.agentbillingserviceapi.ArchiveAgentBillResult>} */ (
2680
+ jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.ArchiveAgentBillResult, 4));
2681
+ };
2682
+
2683
+
2684
+ /**
2685
+ * @param {!Array<!proto.agentbillingserviceapi.ArchiveAgentBillResult>} value
2686
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
2687
+ */
2688
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.setArchiveagentbillsresultsList = function(value) {
2689
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
2690
+ };
2691
+
2692
+
2693
+ /**
2694
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillResult=} opt_value
2695
+ * @param {number=} opt_index
2696
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult}
2697
+ */
2698
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.addArchiveagentbillsresults = function(opt_value, opt_index) {
2699
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.agentbillingserviceapi.ArchiveAgentBillResult, opt_index);
2700
+ };
2701
+
2702
+
2703
+ /**
2704
+ * Clears the list making it empty but non-null.
2705
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
2706
+ */
2707
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.clearArchiveagentbillsresultsList = function() {
2708
+ return this.setArchiveagentbillsresultsList([]);
2709
+ };
2710
+
2711
+
2712
+
2713
+
2714
+
2715
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2716
+ /**
2717
+ * Creates an object representation of this proto.
2718
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2719
+ * Optional fields that are not set will be set to undefined.
2720
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2721
+ * For the list of reserved names please see:
2722
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2723
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2724
+ * JSPB instance for transitional soy proto support:
2725
+ * http://goto/soy-param-migration
2726
+ * @return {!Object}
2727
+ */
2728
+ proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.toObject = function(opt_includeInstance) {
2729
+ return proto.agentbillingserviceapi.CancelAgentInviteRequest.toObject(opt_includeInstance, this);
2730
+ };
2731
+
2732
+
2733
+ /**
2734
+ * Static version of the {@see toObject} method.
2735
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2736
+ * the JSPB instance for transitional soy proto support:
2737
+ * http://goto/soy-param-migration
2738
+ * @param {!proto.agentbillingserviceapi.CancelAgentInviteRequest} msg The msg instance to transform.
2739
+ * @return {!Object}
2740
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2741
+ */
2742
+ proto.agentbillingserviceapi.CancelAgentInviteRequest.toObject = function(includeInstance, msg) {
2743
+ var f, obj = {
2744
+ agentemail: jspb.Message.getFieldWithDefault(msg, 1, "")
2745
+ };
2746
+
2747
+ if (includeInstance) {
2748
+ obj.$jspbMessageInstance = msg;
2749
+ }
2750
+ return obj;
2751
+ };
2752
+ }
2753
+
2754
+
2755
+ /**
2756
+ * Deserializes binary data (in protobuf wire format).
2757
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2758
+ * @return {!proto.agentbillingserviceapi.CancelAgentInviteRequest}
2759
+ */
2760
+ proto.agentbillingserviceapi.CancelAgentInviteRequest.deserializeBinary = function(bytes) {
2761
+ var reader = new jspb.BinaryReader(bytes);
2762
+ var msg = new proto.agentbillingserviceapi.CancelAgentInviteRequest;
2763
+ return proto.agentbillingserviceapi.CancelAgentInviteRequest.deserializeBinaryFromReader(msg, reader);
2764
+ };
2765
+
2766
+
2767
+ /**
2768
+ * Deserializes binary data (in protobuf wire format) from the
2769
+ * given reader into the given message object.
2770
+ * @param {!proto.agentbillingserviceapi.CancelAgentInviteRequest} msg The message object to deserialize into.
2771
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2772
+ * @return {!proto.agentbillingserviceapi.CancelAgentInviteRequest}
2773
+ */
2774
+ proto.agentbillingserviceapi.CancelAgentInviteRequest.deserializeBinaryFromReader = function(msg, reader) {
2775
+ while (reader.nextField()) {
2776
+ if (reader.isEndGroup()) {
2777
+ break;
2778
+ }
2779
+ var field = reader.getFieldNumber();
2780
+ switch (field) {
2781
+ case 1:
2782
+ var value = /** @type {string} */ (reader.readString());
2783
+ msg.setAgentemail(value);
2784
+ break;
2785
+ default:
2786
+ reader.skipField();
2787
+ break;
2788
+ }
2789
+ }
2790
+ return msg;
2791
+ };
2792
+
2793
+
2794
+ /**
2795
+ * Serializes the message to binary data (in protobuf wire format).
2796
+ * @return {!Uint8Array}
2797
+ */
2798
+ proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.serializeBinary = function() {
2799
+ var writer = new jspb.BinaryWriter();
2800
+ proto.agentbillingserviceapi.CancelAgentInviteRequest.serializeBinaryToWriter(this, writer);
2801
+ return writer.getResultBuffer();
2802
+ };
2803
+
2804
+
2805
+ /**
2806
+ * Serializes the given message to binary data (in protobuf wire
2807
+ * format), writing to the given BinaryWriter.
2808
+ * @param {!proto.agentbillingserviceapi.CancelAgentInviteRequest} message
2809
+ * @param {!jspb.BinaryWriter} writer
2810
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2811
+ */
2812
+ proto.agentbillingserviceapi.CancelAgentInviteRequest.serializeBinaryToWriter = function(message, writer) {
2813
+ var f = undefined;
2814
+ f = message.getAgentemail();
2815
+ if (f.length > 0) {
2816
+ writer.writeString(
2817
+ 1,
2818
+ f
2819
+ );
2820
+ }
2821
+ };
2822
+
2823
+
2824
+ /**
2825
+ * optional string agentEmail = 1;
2826
+ * @return {string}
2827
+ */
2828
+ proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.getAgentemail = function() {
2829
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2830
+ };
2831
+
2832
+
2833
+ /**
2834
+ * @param {string} value
2835
+ * @return {!proto.agentbillingserviceapi.CancelAgentInviteRequest} returns this
2836
+ */
2837
+ proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.setAgentemail = function(value) {
2838
+ return jspb.Message.setProto3StringField(this, 1, value);
2839
+ };
2840
+
2841
+
2842
+
2843
+
2844
+
2845
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2846
+ /**
2847
+ * Creates an object representation of this proto.
2848
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2849
+ * Optional fields that are not set will be set to undefined.
2850
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2851
+ * For the list of reserved names please see:
2852
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2853
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2854
+ * JSPB instance for transitional soy proto support:
2855
+ * http://goto/soy-param-migration
2856
+ * @return {!Object}
2857
+ */
2858
+ proto.agentbillingserviceapi.Client.prototype.toObject = function(opt_includeInstance) {
2859
+ return proto.agentbillingserviceapi.Client.toObject(opt_includeInstance, this);
2860
+ };
2861
+
2862
+
2863
+ /**
2864
+ * Static version of the {@see toObject} method.
2865
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2866
+ * the JSPB instance for transitional soy proto support:
2867
+ * http://goto/soy-param-migration
2868
+ * @param {!proto.agentbillingserviceapi.Client} msg The msg instance to transform.
2869
+ * @return {!Object}
2870
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2871
+ */
2872
+ proto.agentbillingserviceapi.Client.toObject = function(includeInstance, msg) {
2873
+ var f, obj = {
2874
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
2875
+ connectionstatus: jspb.Message.getFieldWithDefault(msg, 2, ""),
2876
+ email: jspb.Message.getFieldWithDefault(msg, 3, ""),
2877
+ phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
2878
+ firstname: jspb.Message.getFieldWithDefault(msg, 5, ""),
2879
+ lastname: jspb.Message.getFieldWithDefault(msg, 6, ""),
2880
+ imageurl: jspb.Message.getFieldWithDefault(msg, 7, ""),
2881
+ iscustomimage: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
2882
+ abn: jspb.Message.getFieldWithDefault(msg, 9, ""),
2883
+ abnentitiyname: jspb.Message.getFieldWithDefault(msg, 10, ""),
2884
+ billscount: jspb.Message.getFieldWithDefault(msg, 11, 0),
2885
+ billstotalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0)
2886
+ };
2887
+
2888
+ if (includeInstance) {
2889
+ obj.$jspbMessageInstance = msg;
2890
+ }
2891
+ return obj;
2892
+ };
2893
+ }
2894
+
2895
+
2896
+ /**
2897
+ * Deserializes binary data (in protobuf wire format).
2898
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2899
+ * @return {!proto.agentbillingserviceapi.Client}
2900
+ */
2901
+ proto.agentbillingserviceapi.Client.deserializeBinary = function(bytes) {
2902
+ var reader = new jspb.BinaryReader(bytes);
2903
+ var msg = new proto.agentbillingserviceapi.Client;
2904
+ return proto.agentbillingserviceapi.Client.deserializeBinaryFromReader(msg, reader);
2905
+ };
2906
+
2907
+
2908
+ /**
2909
+ * Deserializes binary data (in protobuf wire format) from the
2910
+ * given reader into the given message object.
2911
+ * @param {!proto.agentbillingserviceapi.Client} msg The message object to deserialize into.
2912
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2913
+ * @return {!proto.agentbillingserviceapi.Client}
2914
+ */
2915
+ proto.agentbillingserviceapi.Client.deserializeBinaryFromReader = function(msg, reader) {
2916
+ while (reader.nextField()) {
2917
+ if (reader.isEndGroup()) {
2918
+ break;
2919
+ }
2920
+ var field = reader.getFieldNumber();
2921
+ switch (field) {
2922
+ case 1:
2923
+ var value = /** @type {number} */ (reader.readInt64());
2924
+ msg.setUserid(value);
2925
+ break;
2926
+ case 2:
2927
+ var value = /** @type {string} */ (reader.readString());
2928
+ msg.setConnectionstatus(value);
2929
+ break;
2930
+ case 3:
2931
+ var value = /** @type {string} */ (reader.readString());
2932
+ msg.setEmail(value);
2933
+ break;
2934
+ case 4:
2935
+ var value = /** @type {string} */ (reader.readString());
2936
+ msg.setPhone(value);
2937
+ break;
2938
+ case 5:
2939
+ var value = /** @type {string} */ (reader.readString());
2940
+ msg.setFirstname(value);
2941
+ break;
2942
+ case 6:
2943
+ var value = /** @type {string} */ (reader.readString());
2944
+ msg.setLastname(value);
2945
+ break;
2946
+ case 7:
2947
+ var value = /** @type {string} */ (reader.readString());
2948
+ msg.setImageurl(value);
2949
+ break;
2950
+ case 8:
2951
+ var value = /** @type {boolean} */ (reader.readBool());
2952
+ msg.setIscustomimage(value);
2953
+ break;
2954
+ case 9:
2955
+ var value = /** @type {string} */ (reader.readString());
2956
+ msg.setAbn(value);
2957
+ break;
2958
+ case 10:
2959
+ var value = /** @type {string} */ (reader.readString());
2960
+ msg.setAbnentitiyname(value);
2961
+ break;
2962
+ case 11:
2963
+ var value = /** @type {number} */ (reader.readInt32());
2964
+ msg.setBillscount(value);
2965
+ break;
2966
+ case 12:
2967
+ var value = /** @type {number} */ (reader.readDouble());
2968
+ msg.setBillstotalamount(value);
2969
+ break;
2970
+ default:
2971
+ reader.skipField();
2972
+ break;
2973
+ }
2974
+ }
2975
+ return msg;
2976
+ };
2977
+
2978
+
2979
+ /**
2980
+ * Serializes the message to binary data (in protobuf wire format).
2981
+ * @return {!Uint8Array}
2982
+ */
2983
+ proto.agentbillingserviceapi.Client.prototype.serializeBinary = function() {
2984
+ var writer = new jspb.BinaryWriter();
2985
+ proto.agentbillingserviceapi.Client.serializeBinaryToWriter(this, writer);
2986
+ return writer.getResultBuffer();
2987
+ };
2988
+
2989
+
2990
+ /**
2991
+ * Serializes the given message to binary data (in protobuf wire
2992
+ * format), writing to the given BinaryWriter.
2993
+ * @param {!proto.agentbillingserviceapi.Client} message
2994
+ * @param {!jspb.BinaryWriter} writer
2995
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2996
+ */
2997
+ proto.agentbillingserviceapi.Client.serializeBinaryToWriter = function(message, writer) {
2998
+ var f = undefined;
2999
+ f = message.getUserid();
3000
+ if (f !== 0) {
3001
+ writer.writeInt64(
3002
+ 1,
3003
+ f
3004
+ );
3005
+ }
3006
+ f = message.getConnectionstatus();
3007
+ if (f.length > 0) {
3008
+ writer.writeString(
3009
+ 2,
3010
+ f
3011
+ );
3012
+ }
3013
+ f = message.getEmail();
3014
+ if (f.length > 0) {
3015
+ writer.writeString(
3016
+ 3,
3017
+ f
3018
+ );
3019
+ }
3020
+ f = message.getPhone();
3021
+ if (f.length > 0) {
3022
+ writer.writeString(
3023
+ 4,
3024
+ f
3025
+ );
3026
+ }
3027
+ f = message.getFirstname();
3028
+ if (f.length > 0) {
3029
+ writer.writeString(
3030
+ 5,
3031
+ f
3032
+ );
3033
+ }
3034
+ f = message.getLastname();
3035
+ if (f.length > 0) {
3036
+ writer.writeString(
3037
+ 6,
3038
+ f
3039
+ );
3040
+ }
3041
+ f = message.getImageurl();
3042
+ if (f.length > 0) {
3043
+ writer.writeString(
3044
+ 7,
3045
+ f
3046
+ );
3047
+ }
3048
+ f = message.getIscustomimage();
3049
+ if (f) {
3050
+ writer.writeBool(
3051
+ 8,
3052
+ f
3053
+ );
3054
+ }
3055
+ f = message.getAbn();
3056
+ if (f.length > 0) {
3057
+ writer.writeString(
3058
+ 9,
3059
+ f
3060
+ );
3061
+ }
3062
+ f = message.getAbnentitiyname();
3063
+ if (f.length > 0) {
3064
+ writer.writeString(
3065
+ 10,
3066
+ f
3067
+ );
3068
+ }
3069
+ f = message.getBillscount();
3070
+ if (f !== 0) {
3071
+ writer.writeInt32(
3072
+ 11,
3073
+ f
3074
+ );
3075
+ }
3076
+ f = message.getBillstotalamount();
3077
+ if (f !== 0.0) {
3078
+ writer.writeDouble(
3079
+ 12,
3080
+ f
3081
+ );
3082
+ }
3083
+ };
3084
+
3085
+
3086
+ /**
3087
+ * optional int64 userId = 1;
3088
+ * @return {number}
3089
+ */
3090
+ proto.agentbillingserviceapi.Client.prototype.getUserid = function() {
3091
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3092
+ };
3093
+
3094
+
3095
+ /**
3096
+ * @param {number} value
3097
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3098
+ */
3099
+ proto.agentbillingserviceapi.Client.prototype.setUserid = function(value) {
3100
+ return jspb.Message.setProto3IntField(this, 1, value);
3101
+ };
3102
+
3103
+
3104
+ /**
3105
+ * optional string connectionStatus = 2;
3106
+ * @return {string}
3107
+ */
3108
+ proto.agentbillingserviceapi.Client.prototype.getConnectionstatus = function() {
3109
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3110
+ };
3111
+
3112
+
3113
+ /**
3114
+ * @param {string} value
3115
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3116
+ */
3117
+ proto.agentbillingserviceapi.Client.prototype.setConnectionstatus = function(value) {
3118
+ return jspb.Message.setProto3StringField(this, 2, value);
3119
+ };
3120
+
3121
+
3122
+ /**
3123
+ * optional string email = 3;
3124
+ * @return {string}
3125
+ */
3126
+ proto.agentbillingserviceapi.Client.prototype.getEmail = function() {
3127
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3128
+ };
3129
+
3130
+
3131
+ /**
3132
+ * @param {string} value
3133
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3134
+ */
3135
+ proto.agentbillingserviceapi.Client.prototype.setEmail = function(value) {
3136
+ return jspb.Message.setProto3StringField(this, 3, value);
3137
+ };
3138
+
3139
+
3140
+ /**
3141
+ * optional string phone = 4;
3142
+ * @return {string}
3143
+ */
3144
+ proto.agentbillingserviceapi.Client.prototype.getPhone = function() {
3145
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3146
+ };
3147
+
3148
+
3149
+ /**
3150
+ * @param {string} value
3151
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3152
+ */
3153
+ proto.agentbillingserviceapi.Client.prototype.setPhone = function(value) {
3154
+ return jspb.Message.setProto3StringField(this, 4, value);
3155
+ };
3156
+
3157
+
3158
+ /**
3159
+ * optional string firstName = 5;
3160
+ * @return {string}
3161
+ */
3162
+ proto.agentbillingserviceapi.Client.prototype.getFirstname = function() {
3163
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3164
+ };
3165
+
3166
+
3167
+ /**
3168
+ * @param {string} value
3169
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3170
+ */
3171
+ proto.agentbillingserviceapi.Client.prototype.setFirstname = function(value) {
3172
+ return jspb.Message.setProto3StringField(this, 5, value);
3173
+ };
3174
+
3175
+
3176
+ /**
3177
+ * optional string lastName = 6;
3178
+ * @return {string}
3179
+ */
3180
+ proto.agentbillingserviceapi.Client.prototype.getLastname = function() {
3181
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3182
+ };
3183
+
3184
+
3185
+ /**
3186
+ * @param {string} value
3187
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3188
+ */
3189
+ proto.agentbillingserviceapi.Client.prototype.setLastname = function(value) {
3190
+ return jspb.Message.setProto3StringField(this, 6, value);
3191
+ };
3192
+
3193
+
3194
+ /**
3195
+ * optional string imageUrl = 7;
3196
+ * @return {string}
3197
+ */
3198
+ proto.agentbillingserviceapi.Client.prototype.getImageurl = function() {
3199
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3200
+ };
3201
+
3202
+
3203
+ /**
3204
+ * @param {string} value
3205
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3206
+ */
3207
+ proto.agentbillingserviceapi.Client.prototype.setImageurl = function(value) {
3208
+ return jspb.Message.setProto3StringField(this, 7, value);
3209
+ };
3210
+
3211
+
3212
+ /**
3213
+ * optional bool isCustomImage = 8;
3214
+ * @return {boolean}
3215
+ */
3216
+ proto.agentbillingserviceapi.Client.prototype.getIscustomimage = function() {
3217
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
3218
+ };
3219
+
3220
+
3221
+ /**
3222
+ * @param {boolean} value
3223
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3224
+ */
3225
+ proto.agentbillingserviceapi.Client.prototype.setIscustomimage = function(value) {
3226
+ return jspb.Message.setProto3BooleanField(this, 8, value);
3227
+ };
3228
+
3229
+
3230
+ /**
3231
+ * optional string abn = 9;
3232
+ * @return {string}
3233
+ */
3234
+ proto.agentbillingserviceapi.Client.prototype.getAbn = function() {
3235
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
3236
+ };
3237
+
3238
+
3239
+ /**
3240
+ * @param {string} value
3241
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3242
+ */
3243
+ proto.agentbillingserviceapi.Client.prototype.setAbn = function(value) {
3244
+ return jspb.Message.setProto3StringField(this, 9, value);
3245
+ };
3246
+
3247
+
3248
+ /**
3249
+ * optional string abnEntitiyName = 10;
3250
+ * @return {string}
3251
+ */
3252
+ proto.agentbillingserviceapi.Client.prototype.getAbnentitiyname = function() {
3253
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
3254
+ };
3255
+
3256
+
3257
+ /**
3258
+ * @param {string} value
3259
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3260
+ */
3261
+ proto.agentbillingserviceapi.Client.prototype.setAbnentitiyname = function(value) {
3262
+ return jspb.Message.setProto3StringField(this, 10, value);
3263
+ };
3264
+
3265
+
3266
+ /**
3267
+ * optional int32 billsCount = 11;
3268
+ * @return {number}
3269
+ */
3270
+ proto.agentbillingserviceapi.Client.prototype.getBillscount = function() {
3271
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
3272
+ };
3273
+
3274
+
3275
+ /**
3276
+ * @param {number} value
3277
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3278
+ */
3279
+ proto.agentbillingserviceapi.Client.prototype.setBillscount = function(value) {
3280
+ return jspb.Message.setProto3IntField(this, 11, value);
3281
+ };
3282
+
3283
+
3284
+ /**
3285
+ * optional double billsTotalAmount = 12;
3286
+ * @return {number}
3287
+ */
3288
+ proto.agentbillingserviceapi.Client.prototype.getBillstotalamount = function() {
3289
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
3290
+ };
3291
+
3292
+
3293
+ /**
3294
+ * @param {number} value
3295
+ * @return {!proto.agentbillingserviceapi.Client} returns this
3296
+ */
3297
+ proto.agentbillingserviceapi.Client.prototype.setBillstotalamount = function(value) {
3298
+ return jspb.Message.setProto3FloatField(this, 12, value);
3299
+ };
3300
+
3301
+
3302
+
3303
+
3304
+
3305
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3306
+ /**
3307
+ * Creates an object representation of this proto.
3308
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3309
+ * Optional fields that are not set will be set to undefined.
3310
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3311
+ * For the list of reserved names please see:
3312
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3313
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3314
+ * JSPB instance for transitional soy proto support:
3315
+ * http://goto/soy-param-migration
3316
+ * @return {!Object}
3317
+ */
3318
+ proto.agentbillingserviceapi.ConnectAgentRequest.prototype.toObject = function(opt_includeInstance) {
3319
+ return proto.agentbillingserviceapi.ConnectAgentRequest.toObject(opt_includeInstance, this);
3320
+ };
3321
+
3322
+
3323
+ /**
3324
+ * Static version of the {@see toObject} method.
3325
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3326
+ * the JSPB instance for transitional soy proto support:
3327
+ * http://goto/soy-param-migration
3328
+ * @param {!proto.agentbillingserviceapi.ConnectAgentRequest} msg The msg instance to transform.
3329
+ * @return {!Object}
3330
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3331
+ */
3332
+ proto.agentbillingserviceapi.ConnectAgentRequest.toObject = function(includeInstance, msg) {
3333
+ var f, obj = {
3334
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
3335
+ };
3336
+
3337
+ if (includeInstance) {
3338
+ obj.$jspbMessageInstance = msg;
3339
+ }
3340
+ return obj;
3341
+ };
3342
+ }
3343
+
3344
+
3345
+ /**
3346
+ * Deserializes binary data (in protobuf wire format).
3347
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3348
+ * @return {!proto.agentbillingserviceapi.ConnectAgentRequest}
3349
+ */
3350
+ proto.agentbillingserviceapi.ConnectAgentRequest.deserializeBinary = function(bytes) {
3351
+ var reader = new jspb.BinaryReader(bytes);
3352
+ var msg = new proto.agentbillingserviceapi.ConnectAgentRequest;
3353
+ return proto.agentbillingserviceapi.ConnectAgentRequest.deserializeBinaryFromReader(msg, reader);
3354
+ };
3355
+
3356
+
3357
+ /**
3358
+ * Deserializes binary data (in protobuf wire format) from the
3359
+ * given reader into the given message object.
3360
+ * @param {!proto.agentbillingserviceapi.ConnectAgentRequest} msg The message object to deserialize into.
3361
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3362
+ * @return {!proto.agentbillingserviceapi.ConnectAgentRequest}
3363
+ */
3364
+ proto.agentbillingserviceapi.ConnectAgentRequest.deserializeBinaryFromReader = function(msg, reader) {
3365
+ while (reader.nextField()) {
3366
+ if (reader.isEndGroup()) {
3367
+ break;
3368
+ }
3369
+ var field = reader.getFieldNumber();
3370
+ switch (field) {
3371
+ case 1:
3372
+ var value = /** @type {number} */ (reader.readInt64());
3373
+ msg.setClientuserid(value);
3374
+ break;
3375
+ default:
3376
+ reader.skipField();
3377
+ break;
3378
+ }
3379
+ }
3380
+ return msg;
3381
+ };
3382
+
3383
+
3384
+ /**
3385
+ * Serializes the message to binary data (in protobuf wire format).
3386
+ * @return {!Uint8Array}
3387
+ */
3388
+ proto.agentbillingserviceapi.ConnectAgentRequest.prototype.serializeBinary = function() {
3389
+ var writer = new jspb.BinaryWriter();
3390
+ proto.agentbillingserviceapi.ConnectAgentRequest.serializeBinaryToWriter(this, writer);
3391
+ return writer.getResultBuffer();
3392
+ };
3393
+
3394
+
3395
+ /**
3396
+ * Serializes the given message to binary data (in protobuf wire
3397
+ * format), writing to the given BinaryWriter.
3398
+ * @param {!proto.agentbillingserviceapi.ConnectAgentRequest} message
3399
+ * @param {!jspb.BinaryWriter} writer
3400
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3401
+ */
3402
+ proto.agentbillingserviceapi.ConnectAgentRequest.serializeBinaryToWriter = function(message, writer) {
3403
+ var f = undefined;
3404
+ f = message.getClientuserid();
3405
+ if (f !== 0) {
3406
+ writer.writeInt64(
3407
+ 1,
3408
+ f
3409
+ );
3410
+ }
3411
+ };
3412
+
3413
+
3414
+ /**
3415
+ * optional int64 clientUserId = 1;
3416
+ * @return {number}
3417
+ */
3418
+ proto.agentbillingserviceapi.ConnectAgentRequest.prototype.getClientuserid = function() {
3419
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3420
+ };
3421
+
3422
+
3423
+ /**
3424
+ * @param {number} value
3425
+ * @return {!proto.agentbillingserviceapi.ConnectAgentRequest} returns this
3426
+ */
3427
+ proto.agentbillingserviceapi.ConnectAgentRequest.prototype.setClientuserid = function(value) {
3428
+ return jspb.Message.setProto3IntField(this, 1, value);
3429
+ };
3430
+
3431
+
3432
+
3433
+
3434
+
3435
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3436
+ /**
3437
+ * Creates an object representation of this proto.
3438
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3439
+ * Optional fields that are not set will be set to undefined.
3440
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3441
+ * For the list of reserved names please see:
3442
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3443
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3444
+ * JSPB instance for transitional soy proto support:
3445
+ * http://goto/soy-param-migration
3446
+ * @return {!Object}
3447
+ */
3448
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.toObject = function(opt_includeInstance) {
3449
+ return proto.agentbillingserviceapi.CreateAgentBillsResponse.toObject(opt_includeInstance, this);
3450
+ };
3451
+
3452
+
3453
+ /**
3454
+ * Static version of the {@see toObject} method.
3455
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3456
+ * the JSPB instance for transitional soy proto support:
3457
+ * http://goto/soy-param-migration
3458
+ * @param {!proto.agentbillingserviceapi.CreateAgentBillsResponse} msg The msg instance to transform.
3459
+ * @return {!Object}
3460
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3461
+ */
3462
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.toObject = function(includeInstance, msg) {
3463
+ var f, obj = {
3464
+ responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
3465
+ uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
3466
+ addedbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0)
3467
+ };
3468
+
3469
+ if (includeInstance) {
3470
+ obj.$jspbMessageInstance = msg;
3471
+ }
3472
+ return obj;
3473
+ };
3474
+ }
3475
+
3476
+
3477
+ /**
3478
+ * Deserializes binary data (in protobuf wire format).
3479
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3480
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse}
3481
+ */
3482
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinary = function(bytes) {
3483
+ var reader = new jspb.BinaryReader(bytes);
3484
+ var msg = new proto.agentbillingserviceapi.CreateAgentBillsResponse;
3485
+ return proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReader(msg, reader);
3486
+ };
3487
+
3488
+
3489
+ /**
3490
+ * Deserializes binary data (in protobuf wire format) from the
3491
+ * given reader into the given message object.
3492
+ * @param {!proto.agentbillingserviceapi.CreateAgentBillsResponse} msg The message object to deserialize into.
3493
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3494
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse}
3495
+ */
3496
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReader = function(msg, reader) {
3497
+ while (reader.nextField()) {
3498
+ if (reader.isEndGroup()) {
3499
+ break;
3500
+ }
3501
+ var field = reader.getFieldNumber();
3502
+ switch (field) {
3503
+ case 1:
3504
+ var value = new proto.agentbillingserviceapi.ResponseCode;
3505
+ reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
3506
+ msg.setResponsecode(value);
3507
+ break;
3508
+ case 2:
3509
+ var value = /** @type {number} */ (reader.readInt64());
3510
+ msg.setUploadbatchid(value);
3511
+ break;
3512
+ case 3:
3513
+ var value = /** @type {number} */ (reader.readInt64());
3514
+ msg.setAddedbillscount(value);
3515
+ break;
3516
+ default:
3517
+ reader.skipField();
3518
+ break;
3519
+ }
3520
+ }
3521
+ return msg;
3522
+ };
3523
+
3524
+
3525
+ /**
3526
+ * Serializes the message to binary data (in protobuf wire format).
3527
+ * @return {!Uint8Array}
3528
+ */
3529
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.serializeBinary = function() {
3530
+ var writer = new jspb.BinaryWriter();
3531
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.serializeBinaryToWriter(this, writer);
3532
+ return writer.getResultBuffer();
3533
+ };
3534
+
3535
+
3536
+ /**
3537
+ * Serializes the given message to binary data (in protobuf wire
3538
+ * format), writing to the given BinaryWriter.
3539
+ * @param {!proto.agentbillingserviceapi.CreateAgentBillsResponse} message
3540
+ * @param {!jspb.BinaryWriter} writer
3541
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3542
+ */
3543
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.serializeBinaryToWriter = function(message, writer) {
3544
+ var f = undefined;
3545
+ f = message.getResponsecode();
3546
+ if (f != null) {
3547
+ writer.writeMessage(
3548
+ 1,
3549
+ f,
3550
+ proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
3551
+ );
3552
+ }
3553
+ f = message.getUploadbatchid();
3554
+ if (f !== 0) {
3555
+ writer.writeInt64(
3556
+ 2,
3557
+ f
3558
+ );
3559
+ }
3560
+ f = message.getAddedbillscount();
3561
+ if (f !== 0) {
3562
+ writer.writeInt64(
3563
+ 3,
3564
+ f
3565
+ );
3566
+ }
3567
+ };
3568
+
3569
+
3570
+ /**
3571
+ * optional ResponseCode responseCode = 1;
3572
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
3573
+ */
3574
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getResponsecode = function() {
3575
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
3576
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
3577
+ };
3578
+
3579
+
3580
+ /**
3581
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
3582
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
3583
+ */
3584
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setResponsecode = function(value) {
3585
+ return jspb.Message.setWrapperField(this, 1, value);
3586
+ };
3587
+
3588
+
3589
+ /**
3590
+ * Clears the message field making it undefined.
3591
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
3592
+ */
3593
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.clearResponsecode = function() {
3594
+ return this.setResponsecode(undefined);
3595
+ };
3596
+
3597
+
3598
+ /**
3599
+ * Returns whether this field is set.
3600
+ * @return {boolean}
3601
+ */
3602
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.hasResponsecode = function() {
3603
+ return jspb.Message.getField(this, 1) != null;
3604
+ };
3605
+
3606
+
3607
+ /**
3608
+ * optional int64 uploadBatchId = 2;
3609
+ * @return {number}
3610
+ */
3611
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getUploadbatchid = function() {
3612
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3613
+ };
3614
+
3615
+
3616
+ /**
3617
+ * @param {number} value
3618
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
3619
+ */
3620
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setUploadbatchid = function(value) {
3621
+ return jspb.Message.setProto3IntField(this, 2, value);
3622
+ };
3623
+
3624
+
3625
+ /**
3626
+ * optional int64 addedBillsCount = 3;
3627
+ * @return {number}
3628
+ */
3629
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getAddedbillscount = function() {
3630
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
3631
+ };
3632
+
3633
+
3634
+ /**
3635
+ * @param {number} value
3636
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
3637
+ */
3638
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setAddedbillscount = function(value) {
3639
+ return jspb.Message.setProto3IntField(this, 3, value);
3640
+ };
3641
+
3642
+
3643
+
3644
+
3645
+
3646
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3647
+ /**
3648
+ * Creates an object representation of this proto.
3649
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3650
+ * Optional fields that are not set will be set to undefined.
3651
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1854
3652
  * For the list of reserved names please see:
1855
3653
  * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1856
3654
  * @param {boolean=} opt_includeInstance Deprecated. whether to include the
@@ -1858,8 +3656,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1858
3656
  * http://goto/soy-param-migration
1859
3657
  * @return {!Object}
1860
3658
  */
1861
- proto.agentbillingserviceapi.Client.prototype.toObject = function(opt_includeInstance) {
1862
- return proto.agentbillingserviceapi.Client.toObject(opt_includeInstance, this);
3659
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.toObject = function(opt_includeInstance) {
3660
+ return proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.toObject(opt_includeInstance, this);
1863
3661
  };
1864
3662
 
1865
3663
 
@@ -1868,24 +3666,20 @@ proto.agentbillingserviceapi.Client.prototype.toObject = function(opt_includeIns
1868
3666
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1869
3667
  * the JSPB instance for transitional soy proto support:
1870
3668
  * http://goto/soy-param-migration
1871
- * @param {!proto.agentbillingserviceapi.Client} msg The msg instance to transform.
3669
+ * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} msg The msg instance to transform.
1872
3670
  * @return {!Object}
1873
3671
  * @suppress {unusedLocalVariables} f is only used for nested messages
1874
3672
  */
1875
- proto.agentbillingserviceapi.Client.toObject = function(includeInstance, msg) {
3673
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.toObject = function(includeInstance, msg) {
1876
3674
  var f, obj = {
1877
- userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
1878
- connectionstatus: jspb.Message.getFieldWithDefault(msg, 2, ""),
1879
- email: jspb.Message.getFieldWithDefault(msg, 3, ""),
1880
- phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
1881
- firstname: jspb.Message.getFieldWithDefault(msg, 5, ""),
1882
- lastname: jspb.Message.getFieldWithDefault(msg, 6, ""),
1883
- imageurl: jspb.Message.getFieldWithDefault(msg, 7, ""),
1884
- iscustomimage: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
1885
- abn: jspb.Message.getFieldWithDefault(msg, 9, ""),
1886
- abnentitiyname: jspb.Message.getFieldWithDefault(msg, 10, ""),
1887
- billscount: jspb.Message.getFieldWithDefault(msg, 11, 0),
1888
- billstotalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0)
3675
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
3676
+ uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
3677
+ billercode: jspb.Message.getFieldWithDefault(msg, 3, ""),
3678
+ reference: jspb.Message.getFieldWithDefault(msg, 4, ""),
3679
+ amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
3680
+ duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
3681
+ invoicenumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
3682
+ description: jspb.Message.getFieldWithDefault(msg, 8, "")
1889
3683
  };
1890
3684
 
1891
3685
  if (includeInstance) {
@@ -1899,23 +3693,23 @@ proto.agentbillingserviceapi.Client.toObject = function(includeInstance, msg) {
1899
3693
  /**
1900
3694
  * Deserializes binary data (in protobuf wire format).
1901
3695
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1902
- * @return {!proto.agentbillingserviceapi.Client}
3696
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest}
1903
3697
  */
1904
- proto.agentbillingserviceapi.Client.deserializeBinary = function(bytes) {
3698
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinary = function(bytes) {
1905
3699
  var reader = new jspb.BinaryReader(bytes);
1906
- var msg = new proto.agentbillingserviceapi.Client;
1907
- return proto.agentbillingserviceapi.Client.deserializeBinaryFromReader(msg, reader);
3700
+ var msg = new proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest;
3701
+ return proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinaryFromReader(msg, reader);
1908
3702
  };
1909
3703
 
1910
3704
 
1911
3705
  /**
1912
3706
  * Deserializes binary data (in protobuf wire format) from the
1913
3707
  * given reader into the given message object.
1914
- * @param {!proto.agentbillingserviceapi.Client} msg The message object to deserialize into.
3708
+ * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} msg The message object to deserialize into.
1915
3709
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1916
- * @return {!proto.agentbillingserviceapi.Client}
3710
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest}
1917
3711
  */
1918
- proto.agentbillingserviceapi.Client.deserializeBinaryFromReader = function(msg, reader) {
3712
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinaryFromReader = function(msg, reader) {
1919
3713
  while (reader.nextField()) {
1920
3714
  if (reader.isEndGroup()) {
1921
3715
  break;
@@ -1924,51 +3718,35 @@ proto.agentbillingserviceapi.Client.deserializeBinaryFromReader = function(msg,
1924
3718
  switch (field) {
1925
3719
  case 1:
1926
3720
  var value = /** @type {number} */ (reader.readInt64());
1927
- msg.setUserid(value);
3721
+ msg.setClientuserid(value);
1928
3722
  break;
1929
3723
  case 2:
1930
- var value = /** @type {string} */ (reader.readString());
1931
- msg.setConnectionstatus(value);
3724
+ var value = /** @type {number} */ (reader.readInt64());
3725
+ msg.setUploadbatchid(value);
1932
3726
  break;
1933
3727
  case 3:
1934
3728
  var value = /** @type {string} */ (reader.readString());
1935
- msg.setEmail(value);
3729
+ msg.setBillercode(value);
1936
3730
  break;
1937
3731
  case 4:
1938
3732
  var value = /** @type {string} */ (reader.readString());
1939
- msg.setPhone(value);
3733
+ msg.setReference(value);
1940
3734
  break;
1941
3735
  case 5:
1942
- var value = /** @type {string} */ (reader.readString());
1943
- msg.setFirstname(value);
3736
+ var value = /** @type {number} */ (reader.readDouble());
3737
+ msg.setAmount(value);
1944
3738
  break;
1945
3739
  case 6:
1946
3740
  var value = /** @type {string} */ (reader.readString());
1947
- msg.setLastname(value);
3741
+ msg.setDuedate(value);
1948
3742
  break;
1949
3743
  case 7:
1950
3744
  var value = /** @type {string} */ (reader.readString());
1951
- msg.setImageurl(value);
3745
+ msg.setInvoicenumber(value);
1952
3746
  break;
1953
3747
  case 8:
1954
- var value = /** @type {boolean} */ (reader.readBool());
1955
- msg.setIscustomimage(value);
1956
- break;
1957
- case 9:
1958
- var value = /** @type {string} */ (reader.readString());
1959
- msg.setAbn(value);
1960
- break;
1961
- case 10:
1962
3748
  var value = /** @type {string} */ (reader.readString());
1963
- msg.setAbnentitiyname(value);
1964
- break;
1965
- case 11:
1966
- var value = /** @type {number} */ (reader.readInt32());
1967
- msg.setBillscount(value);
1968
- break;
1969
- case 12:
1970
- var value = /** @type {number} */ (reader.readDouble());
1971
- msg.setBillstotalamount(value);
3749
+ msg.setDescription(value);
1972
3750
  break;
1973
3751
  default:
1974
3752
  reader.skipField();
@@ -1983,9 +3761,9 @@ proto.agentbillingserviceapi.Client.deserializeBinaryFromReader = function(msg,
1983
3761
  * Serializes the message to binary data (in protobuf wire format).
1984
3762
  * @return {!Uint8Array}
1985
3763
  */
1986
- proto.agentbillingserviceapi.Client.prototype.serializeBinary = function() {
3764
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.serializeBinary = function() {
1987
3765
  var writer = new jspb.BinaryWriter();
1988
- proto.agentbillingserviceapi.Client.serializeBinaryToWriter(this, writer);
3766
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.serializeBinaryToWriter(this, writer);
1989
3767
  return writer.getResultBuffer();
1990
3768
  };
1991
3769
 
@@ -1993,93 +3771,65 @@ proto.agentbillingserviceapi.Client.prototype.serializeBinary = function() {
1993
3771
  /**
1994
3772
  * Serializes the given message to binary data (in protobuf wire
1995
3773
  * format), writing to the given BinaryWriter.
1996
- * @param {!proto.agentbillingserviceapi.Client} message
3774
+ * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} message
1997
3775
  * @param {!jspb.BinaryWriter} writer
1998
3776
  * @suppress {unusedLocalVariables} f is only used for nested messages
1999
3777
  */
2000
- proto.agentbillingserviceapi.Client.serializeBinaryToWriter = function(message, writer) {
3778
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.serializeBinaryToWriter = function(message, writer) {
2001
3779
  var f = undefined;
2002
- f = message.getUserid();
3780
+ f = message.getClientuserid();
2003
3781
  if (f !== 0) {
2004
3782
  writer.writeInt64(
2005
3783
  1,
2006
3784
  f
2007
3785
  );
2008
3786
  }
2009
- f = message.getConnectionstatus();
2010
- if (f.length > 0) {
2011
- writer.writeString(
3787
+ f = message.getUploadbatchid();
3788
+ if (f !== 0) {
3789
+ writer.writeInt64(
2012
3790
  2,
2013
3791
  f
2014
3792
  );
2015
3793
  }
2016
- f = message.getEmail();
3794
+ f = message.getBillercode();
2017
3795
  if (f.length > 0) {
2018
3796
  writer.writeString(
2019
3797
  3,
2020
3798
  f
2021
3799
  );
2022
3800
  }
2023
- f = message.getPhone();
3801
+ f = message.getReference();
2024
3802
  if (f.length > 0) {
2025
3803
  writer.writeString(
2026
3804
  4,
2027
3805
  f
2028
3806
  );
2029
3807
  }
2030
- f = message.getFirstname();
2031
- if (f.length > 0) {
2032
- writer.writeString(
3808
+ f = message.getAmount();
3809
+ if (f !== 0.0) {
3810
+ writer.writeDouble(
2033
3811
  5,
2034
3812
  f
2035
3813
  );
2036
3814
  }
2037
- f = message.getLastname();
3815
+ f = message.getDuedate();
2038
3816
  if (f.length > 0) {
2039
3817
  writer.writeString(
2040
3818
  6,
2041
3819
  f
2042
3820
  );
2043
3821
  }
2044
- f = message.getImageurl();
3822
+ f = message.getInvoicenumber();
2045
3823
  if (f.length > 0) {
2046
3824
  writer.writeString(
2047
3825
  7,
2048
3826
  f
2049
3827
  );
2050
3828
  }
2051
- f = message.getIscustomimage();
2052
- if (f) {
2053
- writer.writeBool(
2054
- 8,
2055
- f
2056
- );
2057
- }
2058
- f = message.getAbn();
2059
- if (f.length > 0) {
2060
- writer.writeString(
2061
- 9,
2062
- f
2063
- );
2064
- }
2065
- f = message.getAbnentitiyname();
3829
+ f = message.getDescription();
2066
3830
  if (f.length > 0) {
2067
3831
  writer.writeString(
2068
- 10,
2069
- f
2070
- );
2071
- }
2072
- f = message.getBillscount();
2073
- if (f !== 0) {
2074
- writer.writeInt32(
2075
- 11,
2076
- f
2077
- );
2078
- }
2079
- f = message.getBillstotalamount();
2080
- if (f !== 0.0) {
2081
- writer.writeDouble(
2082
- 12,
3832
+ 8,
2083
3833
  f
2084
3834
  );
2085
3835
  }
@@ -2087,218 +3837,146 @@ proto.agentbillingserviceapi.Client.serializeBinaryToWriter = function(message,
2087
3837
 
2088
3838
 
2089
3839
  /**
2090
- * optional int64 userId = 1;
3840
+ * optional int64 clientUserId = 1;
2091
3841
  * @return {number}
2092
3842
  */
2093
- proto.agentbillingserviceapi.Client.prototype.getUserid = function() {
3843
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getClientuserid = function() {
2094
3844
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2095
3845
  };
2096
3846
 
2097
3847
 
2098
3848
  /**
2099
3849
  * @param {number} value
2100
- * @return {!proto.agentbillingserviceapi.Client} returns this
3850
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
2101
3851
  */
2102
- proto.agentbillingserviceapi.Client.prototype.setUserid = function(value) {
3852
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setClientuserid = function(value) {
2103
3853
  return jspb.Message.setProto3IntField(this, 1, value);
2104
3854
  };
2105
3855
 
2106
3856
 
2107
3857
  /**
2108
- * optional string connectionStatus = 2;
2109
- * @return {string}
3858
+ * optional int64 uploadBatchId = 2;
3859
+ * @return {number}
2110
3860
  */
2111
- proto.agentbillingserviceapi.Client.prototype.getConnectionstatus = function() {
2112
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3861
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getUploadbatchid = function() {
3862
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2113
3863
  };
2114
3864
 
2115
3865
 
2116
3866
  /**
2117
- * @param {string} value
2118
- * @return {!proto.agentbillingserviceapi.Client} returns this
3867
+ * @param {number} value
3868
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
2119
3869
  */
2120
- proto.agentbillingserviceapi.Client.prototype.setConnectionstatus = function(value) {
2121
- return jspb.Message.setProto3StringField(this, 2, value);
3870
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setUploadbatchid = function(value) {
3871
+ return jspb.Message.setProto3IntField(this, 2, value);
2122
3872
  };
2123
3873
 
2124
3874
 
2125
3875
  /**
2126
- * optional string email = 3;
3876
+ * optional string billerCode = 3;
2127
3877
  * @return {string}
2128
3878
  */
2129
- proto.agentbillingserviceapi.Client.prototype.getEmail = function() {
3879
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getBillercode = function() {
2130
3880
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2131
3881
  };
2132
3882
 
2133
3883
 
2134
3884
  /**
2135
3885
  * @param {string} value
2136
- * @return {!proto.agentbillingserviceapi.Client} returns this
3886
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
2137
3887
  */
2138
- proto.agentbillingserviceapi.Client.prototype.setEmail = function(value) {
3888
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setBillercode = function(value) {
2139
3889
  return jspb.Message.setProto3StringField(this, 3, value);
2140
3890
  };
2141
3891
 
2142
3892
 
2143
3893
  /**
2144
- * optional string phone = 4;
3894
+ * optional string reference = 4;
2145
3895
  * @return {string}
2146
3896
  */
2147
- proto.agentbillingserviceapi.Client.prototype.getPhone = function() {
3897
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getReference = function() {
2148
3898
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2149
3899
  };
2150
3900
 
2151
3901
 
2152
3902
  /**
2153
3903
  * @param {string} value
2154
- * @return {!proto.agentbillingserviceapi.Client} returns this
3904
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
2155
3905
  */
2156
- proto.agentbillingserviceapi.Client.prototype.setPhone = function(value) {
3906
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setReference = function(value) {
2157
3907
  return jspb.Message.setProto3StringField(this, 4, value);
2158
3908
  };
2159
3909
 
2160
3910
 
2161
3911
  /**
2162
- * optional string firstName = 5;
2163
- * @return {string}
3912
+ * optional double amount = 5;
3913
+ * @return {number}
2164
3914
  */
2165
- proto.agentbillingserviceapi.Client.prototype.getFirstname = function() {
2166
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3915
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getAmount = function() {
3916
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
2167
3917
  };
2168
3918
 
2169
3919
 
2170
3920
  /**
2171
- * @param {string} value
2172
- * @return {!proto.agentbillingserviceapi.Client} returns this
3921
+ * @param {number} value
3922
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
2173
3923
  */
2174
- proto.agentbillingserviceapi.Client.prototype.setFirstname = function(value) {
2175
- return jspb.Message.setProto3StringField(this, 5, value);
3924
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setAmount = function(value) {
3925
+ return jspb.Message.setProto3FloatField(this, 5, value);
2176
3926
  };
2177
3927
 
2178
3928
 
2179
3929
  /**
2180
- * optional string lastName = 6;
3930
+ * optional string dueDate = 6;
2181
3931
  * @return {string}
2182
3932
  */
2183
- proto.agentbillingserviceapi.Client.prototype.getLastname = function() {
3933
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getDuedate = function() {
2184
3934
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2185
3935
  };
2186
3936
 
2187
3937
 
2188
3938
  /**
2189
3939
  * @param {string} value
2190
- * @return {!proto.agentbillingserviceapi.Client} returns this
3940
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
2191
3941
  */
2192
- proto.agentbillingserviceapi.Client.prototype.setLastname = function(value) {
3942
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setDuedate = function(value) {
2193
3943
  return jspb.Message.setProto3StringField(this, 6, value);
2194
3944
  };
2195
3945
 
2196
3946
 
2197
3947
  /**
2198
- * optional string imageUrl = 7;
3948
+ * optional string invoiceNumber = 7;
2199
3949
  * @return {string}
2200
3950
  */
2201
- proto.agentbillingserviceapi.Client.prototype.getImageurl = function() {
3951
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getInvoicenumber = function() {
2202
3952
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2203
3953
  };
2204
3954
 
2205
3955
 
2206
3956
  /**
2207
3957
  * @param {string} value
2208
- * @return {!proto.agentbillingserviceapi.Client} returns this
3958
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
2209
3959
  */
2210
- proto.agentbillingserviceapi.Client.prototype.setImageurl = function(value) {
3960
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setInvoicenumber = function(value) {
2211
3961
  return jspb.Message.setProto3StringField(this, 7, value);
2212
3962
  };
2213
3963
 
2214
3964
 
2215
3965
  /**
2216
- * optional bool isCustomImage = 8;
2217
- * @return {boolean}
2218
- */
2219
- proto.agentbillingserviceapi.Client.prototype.getIscustomimage = function() {
2220
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
2221
- };
2222
-
2223
-
2224
- /**
2225
- * @param {boolean} value
2226
- * @return {!proto.agentbillingserviceapi.Client} returns this
2227
- */
2228
- proto.agentbillingserviceapi.Client.prototype.setIscustomimage = function(value) {
2229
- return jspb.Message.setProto3BooleanField(this, 8, value);
2230
- };
2231
-
2232
-
2233
- /**
2234
- * optional string abn = 9;
2235
- * @return {string}
2236
- */
2237
- proto.agentbillingserviceapi.Client.prototype.getAbn = function() {
2238
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
2239
- };
2240
-
2241
-
2242
- /**
2243
- * @param {string} value
2244
- * @return {!proto.agentbillingserviceapi.Client} returns this
2245
- */
2246
- proto.agentbillingserviceapi.Client.prototype.setAbn = function(value) {
2247
- return jspb.Message.setProto3StringField(this, 9, value);
2248
- };
2249
-
2250
-
2251
- /**
2252
- * optional string abnEntitiyName = 10;
3966
+ * optional string description = 8;
2253
3967
  * @return {string}
2254
3968
  */
2255
- proto.agentbillingserviceapi.Client.prototype.getAbnentitiyname = function() {
2256
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
3969
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getDescription = function() {
3970
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2257
3971
  };
2258
3972
 
2259
3973
 
2260
3974
  /**
2261
3975
  * @param {string} value
2262
- * @return {!proto.agentbillingserviceapi.Client} returns this
2263
- */
2264
- proto.agentbillingserviceapi.Client.prototype.setAbnentitiyname = function(value) {
2265
- return jspb.Message.setProto3StringField(this, 10, value);
2266
- };
2267
-
2268
-
2269
- /**
2270
- * optional int32 billsCount = 11;
2271
- * @return {number}
2272
- */
2273
- proto.agentbillingserviceapi.Client.prototype.getBillscount = function() {
2274
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
2275
- };
2276
-
2277
-
2278
- /**
2279
- * @param {number} value
2280
- * @return {!proto.agentbillingserviceapi.Client} returns this
2281
- */
2282
- proto.agentbillingserviceapi.Client.prototype.setBillscount = function(value) {
2283
- return jspb.Message.setProto3IntField(this, 11, value);
2284
- };
2285
-
2286
-
2287
- /**
2288
- * optional double billsTotalAmount = 12;
2289
- * @return {number}
2290
- */
2291
- proto.agentbillingserviceapi.Client.prototype.getBillstotalamount = function() {
2292
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
2293
- };
2294
-
2295
-
2296
- /**
2297
- * @param {number} value
2298
- * @return {!proto.agentbillingserviceapi.Client} returns this
3976
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
2299
3977
  */
2300
- proto.agentbillingserviceapi.Client.prototype.setBillstotalamount = function(value) {
2301
- return jspb.Message.setProto3FloatField(this, 12, value);
3978
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setDescription = function(value) {
3979
+ return jspb.Message.setProto3StringField(this, 8, value);
2302
3980
  };
2303
3981
 
2304
3982
 
@@ -2318,8 +3996,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2318
3996
  * http://goto/soy-param-migration
2319
3997
  * @return {!Object}
2320
3998
  */
2321
- proto.agentbillingserviceapi.ConnectAgentRequest.prototype.toObject = function(opt_includeInstance) {
2322
- return proto.agentbillingserviceapi.ConnectAgentRequest.toObject(opt_includeInstance, this);
3999
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.toObject = function(opt_includeInstance) {
4000
+ return proto.agentbillingserviceapi.DeclineAgentInvitationRequest.toObject(opt_includeInstance, this);
2323
4001
  };
2324
4002
 
2325
4003
 
@@ -2328,11 +4006,11 @@ proto.agentbillingserviceapi.ConnectAgentRequest.prototype.toObject = function(o
2328
4006
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2329
4007
  * the JSPB instance for transitional soy proto support:
2330
4008
  * http://goto/soy-param-migration
2331
- * @param {!proto.agentbillingserviceapi.ConnectAgentRequest} msg The msg instance to transform.
4009
+ * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} msg The msg instance to transform.
2332
4010
  * @return {!Object}
2333
4011
  * @suppress {unusedLocalVariables} f is only used for nested messages
2334
4012
  */
2335
- proto.agentbillingserviceapi.ConnectAgentRequest.toObject = function(includeInstance, msg) {
4013
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.toObject = function(includeInstance, msg) {
2336
4014
  var f, obj = {
2337
4015
  clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
2338
4016
  };
@@ -2348,23 +4026,23 @@ proto.agentbillingserviceapi.ConnectAgentRequest.toObject = function(includeInst
2348
4026
  /**
2349
4027
  * Deserializes binary data (in protobuf wire format).
2350
4028
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2351
- * @return {!proto.agentbillingserviceapi.ConnectAgentRequest}
4029
+ * @return {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest}
2352
4030
  */
2353
- proto.agentbillingserviceapi.ConnectAgentRequest.deserializeBinary = function(bytes) {
4031
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinary = function(bytes) {
2354
4032
  var reader = new jspb.BinaryReader(bytes);
2355
- var msg = new proto.agentbillingserviceapi.ConnectAgentRequest;
2356
- return proto.agentbillingserviceapi.ConnectAgentRequest.deserializeBinaryFromReader(msg, reader);
4033
+ var msg = new proto.agentbillingserviceapi.DeclineAgentInvitationRequest;
4034
+ return proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinaryFromReader(msg, reader);
2357
4035
  };
2358
4036
 
2359
4037
 
2360
4038
  /**
2361
4039
  * Deserializes binary data (in protobuf wire format) from the
2362
4040
  * given reader into the given message object.
2363
- * @param {!proto.agentbillingserviceapi.ConnectAgentRequest} msg The message object to deserialize into.
4041
+ * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} msg The message object to deserialize into.
2364
4042
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2365
- * @return {!proto.agentbillingserviceapi.ConnectAgentRequest}
4043
+ * @return {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest}
2366
4044
  */
2367
- proto.agentbillingserviceapi.ConnectAgentRequest.deserializeBinaryFromReader = function(msg, reader) {
4045
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinaryFromReader = function(msg, reader) {
2368
4046
  while (reader.nextField()) {
2369
4047
  if (reader.isEndGroup()) {
2370
4048
  break;
@@ -2388,9 +4066,9 @@ proto.agentbillingserviceapi.ConnectAgentRequest.deserializeBinaryFromReader = f
2388
4066
  * Serializes the message to binary data (in protobuf wire format).
2389
4067
  * @return {!Uint8Array}
2390
4068
  */
2391
- proto.agentbillingserviceapi.ConnectAgentRequest.prototype.serializeBinary = function() {
4069
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.serializeBinary = function() {
2392
4070
  var writer = new jspb.BinaryWriter();
2393
- proto.agentbillingserviceapi.ConnectAgentRequest.serializeBinaryToWriter(this, writer);
4071
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.serializeBinaryToWriter(this, writer);
2394
4072
  return writer.getResultBuffer();
2395
4073
  };
2396
4074
 
@@ -2398,11 +4076,11 @@ proto.agentbillingserviceapi.ConnectAgentRequest.prototype.serializeBinary = fun
2398
4076
  /**
2399
4077
  * Serializes the given message to binary data (in protobuf wire
2400
4078
  * format), writing to the given BinaryWriter.
2401
- * @param {!proto.agentbillingserviceapi.ConnectAgentRequest} message
4079
+ * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} message
2402
4080
  * @param {!jspb.BinaryWriter} writer
2403
4081
  * @suppress {unusedLocalVariables} f is only used for nested messages
2404
4082
  */
2405
- proto.agentbillingserviceapi.ConnectAgentRequest.serializeBinaryToWriter = function(message, writer) {
4083
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.serializeBinaryToWriter = function(message, writer) {
2406
4084
  var f = undefined;
2407
4085
  f = message.getClientuserid();
2408
4086
  if (f !== 0) {
@@ -2418,16 +4096,16 @@ proto.agentbillingserviceapi.ConnectAgentRequest.serializeBinaryToWriter = funct
2418
4096
  * optional int64 clientUserId = 1;
2419
4097
  * @return {number}
2420
4098
  */
2421
- proto.agentbillingserviceapi.ConnectAgentRequest.prototype.getClientuserid = function() {
4099
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.getClientuserid = function() {
2422
4100
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2423
4101
  };
2424
4102
 
2425
4103
 
2426
4104
  /**
2427
4105
  * @param {number} value
2428
- * @return {!proto.agentbillingserviceapi.ConnectAgentRequest} returns this
4106
+ * @return {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} returns this
2429
4107
  */
2430
- proto.agentbillingserviceapi.ConnectAgentRequest.prototype.setClientuserid = function(value) {
4108
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.setClientuserid = function(value) {
2431
4109
  return jspb.Message.setProto3IntField(this, 1, value);
2432
4110
  };
2433
4111
 
@@ -2448,8 +4126,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2448
4126
  * http://goto/soy-param-migration
2449
4127
  * @return {!Object}
2450
4128
  */
2451
- proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.toObject = function(opt_includeInstance) {
2452
- return proto.agentbillingserviceapi.CreateAgentBillsResponse.toObject(opt_includeInstance, this);
4129
+ proto.agentbillingserviceapi.DeleteAgentBillResult.prototype.toObject = function(opt_includeInstance) {
4130
+ return proto.agentbillingserviceapi.DeleteAgentBillResult.toObject(opt_includeInstance, this);
2453
4131
  };
2454
4132
 
2455
4133
 
@@ -2458,15 +4136,16 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.toObject = funct
2458
4136
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2459
4137
  * the JSPB instance for transitional soy proto support:
2460
4138
  * http://goto/soy-param-migration
2461
- * @param {!proto.agentbillingserviceapi.CreateAgentBillsResponse} msg The msg instance to transform.
4139
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillResult} msg The msg instance to transform.
2462
4140
  * @return {!Object}
2463
4141
  * @suppress {unusedLocalVariables} f is only used for nested messages
2464
4142
  */
2465
- proto.agentbillingserviceapi.CreateAgentBillsResponse.toObject = function(includeInstance, msg) {
4143
+ proto.agentbillingserviceapi.DeleteAgentBillResult.toObject = function(includeInstance, msg) {
2466
4144
  var f, obj = {
2467
- responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
2468
- uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
2469
- addedbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0)
4145
+ agentbillid: jspb.Message.getFieldWithDefault(msg, 1, 0),
4146
+ billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
4147
+ wassuccessfullydeleted: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
4148
+ message: jspb.Message.getFieldWithDefault(msg, 4, "")
2470
4149
  };
2471
4150
 
2472
4151
  if (includeInstance) {
@@ -2480,23 +4159,23 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.toObject = function(includ
2480
4159
  /**
2481
4160
  * Deserializes binary data (in protobuf wire format).
2482
4161
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2483
- * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse}
4162
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillResult}
2484
4163
  */
2485
- proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinary = function(bytes) {
4164
+ proto.agentbillingserviceapi.DeleteAgentBillResult.deserializeBinary = function(bytes) {
2486
4165
  var reader = new jspb.BinaryReader(bytes);
2487
- var msg = new proto.agentbillingserviceapi.CreateAgentBillsResponse;
2488
- return proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReader(msg, reader);
4166
+ var msg = new proto.agentbillingserviceapi.DeleteAgentBillResult;
4167
+ return proto.agentbillingserviceapi.DeleteAgentBillResult.deserializeBinaryFromReader(msg, reader);
2489
4168
  };
2490
4169
 
2491
4170
 
2492
4171
  /**
2493
4172
  * Deserializes binary data (in protobuf wire format) from the
2494
4173
  * given reader into the given message object.
2495
- * @param {!proto.agentbillingserviceapi.CreateAgentBillsResponse} msg The message object to deserialize into.
4174
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillResult} msg The message object to deserialize into.
2496
4175
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2497
- * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse}
4176
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillResult}
2498
4177
  */
2499
- proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReader = function(msg, reader) {
4178
+ proto.agentbillingserviceapi.DeleteAgentBillResult.deserializeBinaryFromReader = function(msg, reader) {
2500
4179
  while (reader.nextField()) {
2501
4180
  if (reader.isEndGroup()) {
2502
4181
  break;
@@ -2504,17 +4183,20 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReade
2504
4183
  var field = reader.getFieldNumber();
2505
4184
  switch (field) {
2506
4185
  case 1:
2507
- var value = new proto.agentbillingserviceapi.ResponseCode;
2508
- reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
2509
- msg.setResponsecode(value);
4186
+ var value = /** @type {number} */ (reader.readInt64());
4187
+ msg.setAgentbillid(value);
2510
4188
  break;
2511
4189
  case 2:
2512
4190
  var value = /** @type {number} */ (reader.readInt64());
2513
- msg.setUploadbatchid(value);
4191
+ msg.setBillid(value);
2514
4192
  break;
2515
4193
  case 3:
2516
- var value = /** @type {number} */ (reader.readInt64());
2517
- msg.setAddedbillscount(value);
4194
+ var value = /** @type {boolean} */ (reader.readBool());
4195
+ msg.setWassuccessfullydeleted(value);
4196
+ break;
4197
+ case 4:
4198
+ var value = /** @type {string} */ (reader.readString());
4199
+ msg.setMessage(value);
2518
4200
  break;
2519
4201
  default:
2520
4202
  reader.skipField();
@@ -2529,9 +4211,9 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReade
2529
4211
  * Serializes the message to binary data (in protobuf wire format).
2530
4212
  * @return {!Uint8Array}
2531
4213
  */
2532
- proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.serializeBinary = function() {
4214
+ proto.agentbillingserviceapi.DeleteAgentBillResult.prototype.serializeBinary = function() {
2533
4215
  var writer = new jspb.BinaryWriter();
2534
- proto.agentbillingserviceapi.CreateAgentBillsResponse.serializeBinaryToWriter(this, writer);
4216
+ proto.agentbillingserviceapi.DeleteAgentBillResult.serializeBinaryToWriter(this, writer);
2535
4217
  return writer.getResultBuffer();
2536
4218
  };
2537
4219
 
@@ -2539,111 +4221,123 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.serializeBinary
2539
4221
  /**
2540
4222
  * Serializes the given message to binary data (in protobuf wire
2541
4223
  * format), writing to the given BinaryWriter.
2542
- * @param {!proto.agentbillingserviceapi.CreateAgentBillsResponse} message
4224
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillResult} message
2543
4225
  * @param {!jspb.BinaryWriter} writer
2544
4226
  * @suppress {unusedLocalVariables} f is only used for nested messages
2545
4227
  */
2546
- proto.agentbillingserviceapi.CreateAgentBillsResponse.serializeBinaryToWriter = function(message, writer) {
4228
+ proto.agentbillingserviceapi.DeleteAgentBillResult.serializeBinaryToWriter = function(message, writer) {
2547
4229
  var f = undefined;
2548
- f = message.getResponsecode();
2549
- if (f != null) {
2550
- writer.writeMessage(
4230
+ f = message.getAgentbillid();
4231
+ if (f !== 0) {
4232
+ writer.writeInt64(
2551
4233
  1,
2552
- f,
2553
- proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
4234
+ f
2554
4235
  );
2555
4236
  }
2556
- f = message.getUploadbatchid();
4237
+ f = message.getBillid();
2557
4238
  if (f !== 0) {
2558
4239
  writer.writeInt64(
2559
4240
  2,
2560
4241
  f
2561
4242
  );
2562
4243
  }
2563
- f = message.getAddedbillscount();
2564
- if (f !== 0) {
2565
- writer.writeInt64(
4244
+ f = message.getWassuccessfullydeleted();
4245
+ if (f) {
4246
+ writer.writeBool(
2566
4247
  3,
2567
4248
  f
2568
4249
  );
2569
4250
  }
4251
+ f = message.getMessage();
4252
+ if (f.length > 0) {
4253
+ writer.writeString(
4254
+ 4,
4255
+ f
4256
+ );
4257
+ }
2570
4258
  };
2571
4259
 
2572
4260
 
2573
4261
  /**
2574
- * optional ResponseCode responseCode = 1;
2575
- * @return {?proto.agentbillingserviceapi.ResponseCode}
4262
+ * optional int64 agentBillId = 1;
4263
+ * @return {number}
2576
4264
  */
2577
- proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getResponsecode = function() {
2578
- return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
2579
- jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
4265
+ proto.agentbillingserviceapi.DeleteAgentBillResult.prototype.getAgentbillid = function() {
4266
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2580
4267
  };
2581
4268
 
2582
4269
 
2583
4270
  /**
2584
- * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
2585
- * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
2586
- */
2587
- proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setResponsecode = function(value) {
2588
- return jspb.Message.setWrapperField(this, 1, value);
4271
+ * @param {number} value
4272
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillResult} returns this
4273
+ */
4274
+ proto.agentbillingserviceapi.DeleteAgentBillResult.prototype.setAgentbillid = function(value) {
4275
+ return jspb.Message.setProto3IntField(this, 1, value);
2589
4276
  };
2590
4277
 
2591
4278
 
2592
4279
  /**
2593
- * Clears the message field making it undefined.
2594
- * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
4280
+ * optional int64 billId = 2;
4281
+ * @return {number}
2595
4282
  */
2596
- proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.clearResponsecode = function() {
2597
- return this.setResponsecode(undefined);
4283
+ proto.agentbillingserviceapi.DeleteAgentBillResult.prototype.getBillid = function() {
4284
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2598
4285
  };
2599
4286
 
2600
4287
 
2601
4288
  /**
2602
- * Returns whether this field is set.
2603
- * @return {boolean}
4289
+ * @param {number} value
4290
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillResult} returns this
2604
4291
  */
2605
- proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.hasResponsecode = function() {
2606
- return jspb.Message.getField(this, 1) != null;
4292
+ proto.agentbillingserviceapi.DeleteAgentBillResult.prototype.setBillid = function(value) {
4293
+ return jspb.Message.setProto3IntField(this, 2, value);
2607
4294
  };
2608
4295
 
2609
4296
 
2610
4297
  /**
2611
- * optional int64 uploadBatchId = 2;
2612
- * @return {number}
4298
+ * optional bool wasSuccessfullyDeleted = 3;
4299
+ * @return {boolean}
2613
4300
  */
2614
- proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getUploadbatchid = function() {
2615
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4301
+ proto.agentbillingserviceapi.DeleteAgentBillResult.prototype.getWassuccessfullydeleted = function() {
4302
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
2616
4303
  };
2617
4304
 
2618
4305
 
2619
4306
  /**
2620
- * @param {number} value
2621
- * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
4307
+ * @param {boolean} value
4308
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillResult} returns this
2622
4309
  */
2623
- proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setUploadbatchid = function(value) {
2624
- return jspb.Message.setProto3IntField(this, 2, value);
4310
+ proto.agentbillingserviceapi.DeleteAgentBillResult.prototype.setWassuccessfullydeleted = function(value) {
4311
+ return jspb.Message.setProto3BooleanField(this, 3, value);
2625
4312
  };
2626
4313
 
2627
4314
 
2628
4315
  /**
2629
- * optional int64 addedBillsCount = 3;
2630
- * @return {number}
4316
+ * optional string message = 4;
4317
+ * @return {string}
2631
4318
  */
2632
- proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getAddedbillscount = function() {
2633
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
4319
+ proto.agentbillingserviceapi.DeleteAgentBillResult.prototype.getMessage = function() {
4320
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2634
4321
  };
2635
4322
 
2636
4323
 
2637
4324
  /**
2638
- * @param {number} value
2639
- * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
4325
+ * @param {string} value
4326
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillResult} returns this
2640
4327
  */
2641
- proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setAddedbillscount = function(value) {
2642
- return jspb.Message.setProto3IntField(this, 3, value);
4328
+ proto.agentbillingserviceapi.DeleteAgentBillResult.prototype.setMessage = function(value) {
4329
+ return jspb.Message.setProto3StringField(this, 4, value);
2643
4330
  };
2644
4331
 
2645
4332
 
2646
4333
 
4334
+ /**
4335
+ * List of repeated fields within this message type.
4336
+ * @private {!Array<number>}
4337
+ * @const
4338
+ */
4339
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.repeatedFields_ = [1];
4340
+
2647
4341
 
2648
4342
 
2649
4343
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2659,8 +4353,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2659
4353
  * http://goto/soy-param-migration
2660
4354
  * @return {!Object}
2661
4355
  */
2662
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.toObject = function(opt_includeInstance) {
2663
- return proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.toObject(opt_includeInstance, this);
4356
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.prototype.toObject = function(opt_includeInstance) {
4357
+ return proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.toObject(opt_includeInstance, this);
2664
4358
  };
2665
4359
 
2666
4360
 
@@ -2669,20 +4363,13 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.toObj
2669
4363
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2670
4364
  * the JSPB instance for transitional soy proto support:
2671
4365
  * http://goto/soy-param-migration
2672
- * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} msg The msg instance to transform.
4366
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest} msg The msg instance to transform.
2673
4367
  * @return {!Object}
2674
4368
  * @suppress {unusedLocalVariables} f is only used for nested messages
2675
4369
  */
2676
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.toObject = function(includeInstance, msg) {
4370
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.toObject = function(includeInstance, msg) {
2677
4371
  var f, obj = {
2678
- clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
2679
- uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
2680
- billercode: jspb.Message.getFieldWithDefault(msg, 3, ""),
2681
- reference: jspb.Message.getFieldWithDefault(msg, 4, ""),
2682
- amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
2683
- duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
2684
- invoicenumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
2685
- description: jspb.Message.getFieldWithDefault(msg, 8, "")
4372
+ agentbillidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2686
4373
  };
2687
4374
 
2688
4375
  if (includeInstance) {
@@ -2696,23 +4383,23 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.toObject = func
2696
4383
  /**
2697
4384
  * Deserializes binary data (in protobuf wire format).
2698
4385
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2699
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest}
4386
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest}
2700
4387
  */
2701
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinary = function(bytes) {
4388
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.deserializeBinary = function(bytes) {
2702
4389
  var reader = new jspb.BinaryReader(bytes);
2703
- var msg = new proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest;
2704
- return proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinaryFromReader(msg, reader);
4390
+ var msg = new proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest;
4391
+ return proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.deserializeBinaryFromReader(msg, reader);
2705
4392
  };
2706
4393
 
2707
4394
 
2708
4395
  /**
2709
4396
  * Deserializes binary data (in protobuf wire format) from the
2710
4397
  * given reader into the given message object.
2711
- * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} msg The message object to deserialize into.
4398
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest} msg The message object to deserialize into.
2712
4399
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2713
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest}
4400
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest}
2714
4401
  */
2715
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinaryFromReader = function(msg, reader) {
4402
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
2716
4403
  while (reader.nextField()) {
2717
4404
  if (reader.isEndGroup()) {
2718
4405
  break;
@@ -2720,36 +4407,8 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBina
2720
4407
  var field = reader.getFieldNumber();
2721
4408
  switch (field) {
2722
4409
  case 1:
2723
- var value = /** @type {number} */ (reader.readInt64());
2724
- msg.setClientuserid(value);
2725
- break;
2726
- case 2:
2727
- var value = /** @type {number} */ (reader.readInt64());
2728
- msg.setUploadbatchid(value);
2729
- break;
2730
- case 3:
2731
- var value = /** @type {string} */ (reader.readString());
2732
- msg.setBillercode(value);
2733
- break;
2734
- case 4:
2735
- var value = /** @type {string} */ (reader.readString());
2736
- msg.setReference(value);
2737
- break;
2738
- case 5:
2739
- var value = /** @type {number} */ (reader.readDouble());
2740
- msg.setAmount(value);
2741
- break;
2742
- case 6:
2743
- var value = /** @type {string} */ (reader.readString());
2744
- msg.setDuedate(value);
2745
- break;
2746
- case 7:
2747
- var value = /** @type {string} */ (reader.readString());
2748
- msg.setInvoicenumber(value);
2749
- break;
2750
- case 8:
2751
- var value = /** @type {string} */ (reader.readString());
2752
- msg.setDescription(value);
4410
+ var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
4411
+ msg.setAgentbillidsList(value);
2753
4412
  break;
2754
4413
  default:
2755
4414
  reader.skipField();
@@ -2764,9 +4423,9 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBina
2764
4423
  * Serializes the message to binary data (in protobuf wire format).
2765
4424
  * @return {!Uint8Array}
2766
4425
  */
2767
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.serializeBinary = function() {
4426
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.prototype.serializeBinary = function() {
2768
4427
  var writer = new jspb.BinaryWriter();
2769
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.serializeBinaryToWriter(this, writer);
4428
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.serializeBinaryToWriter(this, writer);
2770
4429
  return writer.getResultBuffer();
2771
4430
  };
2772
4431
 
@@ -2774,65 +4433,16 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.seria
2774
4433
  /**
2775
4434
  * Serializes the given message to binary data (in protobuf wire
2776
4435
  * format), writing to the given BinaryWriter.
2777
- * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} message
4436
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest} message
2778
4437
  * @param {!jspb.BinaryWriter} writer
2779
4438
  * @suppress {unusedLocalVariables} f is only used for nested messages
2780
4439
  */
2781
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.serializeBinaryToWriter = function(message, writer) {
4440
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.serializeBinaryToWriter = function(message, writer) {
2782
4441
  var f = undefined;
2783
- f = message.getClientuserid();
2784
- if (f !== 0) {
2785
- writer.writeInt64(
2786
- 1,
2787
- f
2788
- );
2789
- }
2790
- f = message.getUploadbatchid();
2791
- if (f !== 0) {
2792
- writer.writeInt64(
2793
- 2,
2794
- f
2795
- );
2796
- }
2797
- f = message.getBillercode();
2798
- if (f.length > 0) {
2799
- writer.writeString(
2800
- 3,
2801
- f
2802
- );
2803
- }
2804
- f = message.getReference();
2805
- if (f.length > 0) {
2806
- writer.writeString(
2807
- 4,
2808
- f
2809
- );
2810
- }
2811
- f = message.getAmount();
2812
- if (f !== 0.0) {
2813
- writer.writeDouble(
2814
- 5,
2815
- f
2816
- );
2817
- }
2818
- f = message.getDuedate();
2819
- if (f.length > 0) {
2820
- writer.writeString(
2821
- 6,
2822
- f
2823
- );
2824
- }
2825
- f = message.getInvoicenumber();
2826
- if (f.length > 0) {
2827
- writer.writeString(
2828
- 7,
2829
- f
2830
- );
2831
- }
2832
- f = message.getDescription();
4442
+ f = message.getAgentbillidsList();
2833
4443
  if (f.length > 0) {
2834
- writer.writeString(
2835
- 8,
4444
+ writer.writePackedInt64(
4445
+ 1,
2836
4446
  f
2837
4447
  );
2838
4448
  }
@@ -2840,150 +4450,180 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.serializeBinary
2840
4450
 
2841
4451
 
2842
4452
  /**
2843
- * optional int64 clientUserId = 1;
2844
- * @return {number}
2845
- */
2846
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getClientuserid = function() {
2847
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2848
- };
2849
-
2850
-
2851
- /**
2852
- * @param {number} value
2853
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
2854
- */
2855
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setClientuserid = function(value) {
2856
- return jspb.Message.setProto3IntField(this, 1, value);
2857
- };
2858
-
2859
-
2860
- /**
2861
- * optional int64 uploadBatchId = 2;
2862
- * @return {number}
2863
- */
2864
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getUploadbatchid = function() {
2865
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2866
- };
2867
-
2868
-
2869
- /**
2870
- * @param {number} value
2871
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
2872
- */
2873
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setUploadbatchid = function(value) {
2874
- return jspb.Message.setProto3IntField(this, 2, value);
2875
- };
2876
-
2877
-
2878
- /**
2879
- * optional string billerCode = 3;
2880
- * @return {string}
4453
+ * repeated int64 agentBillIds = 1;
4454
+ * @return {!Array<number>}
2881
4455
  */
2882
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getBillercode = function() {
2883
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4456
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.prototype.getAgentbillidsList = function() {
4457
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
2884
4458
  };
2885
4459
 
2886
4460
 
2887
4461
  /**
2888
- * @param {string} value
2889
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4462
+ * @param {!Array<number>} value
4463
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest} returns this
2890
4464
  */
2891
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setBillercode = function(value) {
2892
- return jspb.Message.setProto3StringField(this, 3, value);
4465
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.prototype.setAgentbillidsList = function(value) {
4466
+ return jspb.Message.setField(this, 1, value || []);
2893
4467
  };
2894
4468
 
2895
4469
 
2896
4470
  /**
2897
- * optional string reference = 4;
2898
- * @return {string}
4471
+ * @param {number} value
4472
+ * @param {number=} opt_index
4473
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest} returns this
2899
4474
  */
2900
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getReference = function() {
2901
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4475
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.prototype.addAgentbillids = function(value, opt_index) {
4476
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2902
4477
  };
2903
4478
 
2904
4479
 
2905
4480
  /**
2906
- * @param {string} value
2907
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4481
+ * Clears the list making it empty but non-null.
4482
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest} returns this
2908
4483
  */
2909
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setReference = function(value) {
2910
- return jspb.Message.setProto3StringField(this, 4, value);
4484
+ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.prototype.clearAgentbillidsList = function() {
4485
+ return this.setAgentbillidsList([]);
2911
4486
  };
2912
4487
 
2913
4488
 
4489
+
4490
+
4491
+
4492
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2914
4493
  /**
2915
- * optional double amount = 5;
2916
- * @return {number}
4494
+ * Creates an object representation of this proto.
4495
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4496
+ * Optional fields that are not set will be set to undefined.
4497
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4498
+ * For the list of reserved names please see:
4499
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4500
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4501
+ * JSPB instance for transitional soy proto support:
4502
+ * http://goto/soy-param-migration
4503
+ * @return {!Object}
2917
4504
  */
2918
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getAmount = function() {
2919
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
4505
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.prototype.toObject = function(opt_includeInstance) {
4506
+ return proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.toObject(opt_includeInstance, this);
2920
4507
  };
2921
4508
 
2922
4509
 
2923
4510
  /**
2924
- * @param {number} value
2925
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4511
+ * Static version of the {@see toObject} method.
4512
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4513
+ * the JSPB instance for transitional soy proto support:
4514
+ * http://goto/soy-param-migration
4515
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest} msg The msg instance to transform.
4516
+ * @return {!Object}
4517
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2926
4518
  */
2927
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setAmount = function(value) {
2928
- return jspb.Message.setProto3FloatField(this, 5, value);
4519
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.toObject = function(includeInstance, msg) {
4520
+ var f, obj = {
4521
+ uploadbatchid: jspb.Message.getFieldWithDefault(msg, 1, 0)
4522
+ };
4523
+
4524
+ if (includeInstance) {
4525
+ obj.$jspbMessageInstance = msg;
4526
+ }
4527
+ return obj;
2929
4528
  };
4529
+ }
2930
4530
 
2931
4531
 
2932
4532
  /**
2933
- * optional string dueDate = 6;
2934
- * @return {string}
4533
+ * Deserializes binary data (in protobuf wire format).
4534
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4535
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest}
2935
4536
  */
2936
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getDuedate = function() {
2937
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
4537
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.deserializeBinary = function(bytes) {
4538
+ var reader = new jspb.BinaryReader(bytes);
4539
+ var msg = new proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest;
4540
+ return proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.deserializeBinaryFromReader(msg, reader);
2938
4541
  };
2939
4542
 
2940
4543
 
2941
4544
  /**
2942
- * @param {string} value
2943
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4545
+ * Deserializes binary data (in protobuf wire format) from the
4546
+ * given reader into the given message object.
4547
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest} msg The message object to deserialize into.
4548
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4549
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest}
2944
4550
  */
2945
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setDuedate = function(value) {
2946
- return jspb.Message.setProto3StringField(this, 6, value);
4551
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.deserializeBinaryFromReader = function(msg, reader) {
4552
+ while (reader.nextField()) {
4553
+ if (reader.isEndGroup()) {
4554
+ break;
4555
+ }
4556
+ var field = reader.getFieldNumber();
4557
+ switch (field) {
4558
+ case 1:
4559
+ var value = /** @type {number} */ (reader.readInt64());
4560
+ msg.setUploadbatchid(value);
4561
+ break;
4562
+ default:
4563
+ reader.skipField();
4564
+ break;
4565
+ }
4566
+ }
4567
+ return msg;
2947
4568
  };
2948
4569
 
2949
4570
 
2950
4571
  /**
2951
- * optional string invoiceNumber = 7;
2952
- * @return {string}
4572
+ * Serializes the message to binary data (in protobuf wire format).
4573
+ * @return {!Uint8Array}
2953
4574
  */
2954
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getInvoicenumber = function() {
2955
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4575
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.prototype.serializeBinary = function() {
4576
+ var writer = new jspb.BinaryWriter();
4577
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.serializeBinaryToWriter(this, writer);
4578
+ return writer.getResultBuffer();
2956
4579
  };
2957
4580
 
2958
4581
 
2959
4582
  /**
2960
- * @param {string} value
2961
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4583
+ * Serializes the given message to binary data (in protobuf wire
4584
+ * format), writing to the given BinaryWriter.
4585
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest} message
4586
+ * @param {!jspb.BinaryWriter} writer
4587
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2962
4588
  */
2963
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setInvoicenumber = function(value) {
2964
- return jspb.Message.setProto3StringField(this, 7, value);
4589
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.serializeBinaryToWriter = function(message, writer) {
4590
+ var f = undefined;
4591
+ f = message.getUploadbatchid();
4592
+ if (f !== 0) {
4593
+ writer.writeInt64(
4594
+ 1,
4595
+ f
4596
+ );
4597
+ }
2965
4598
  };
2966
4599
 
2967
4600
 
2968
4601
  /**
2969
- * optional string description = 8;
2970
- * @return {string}
4602
+ * optional int64 uploadBatchId = 1;
4603
+ * @return {number}
2971
4604
  */
2972
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getDescription = function() {
2973
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4605
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.prototype.getUploadbatchid = function() {
4606
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2974
4607
  };
2975
4608
 
2976
4609
 
2977
4610
  /**
2978
- * @param {string} value
2979
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4611
+ * @param {number} value
4612
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest} returns this
2980
4613
  */
2981
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setDescription = function(value) {
2982
- return jspb.Message.setProto3StringField(this, 8, value);
4614
+ proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest.prototype.setUploadbatchid = function(value) {
4615
+ return jspb.Message.setProto3IntField(this, 1, value);
2983
4616
  };
2984
4617
 
2985
4618
 
2986
4619
 
4620
+ /**
4621
+ * List of repeated fields within this message type.
4622
+ * @private {!Array<number>}
4623
+ * @const
4624
+ */
4625
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.repeatedFields_ = [4];
4626
+
2987
4627
 
2988
4628
 
2989
4629
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2999,8 +4639,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2999
4639
  * http://goto/soy-param-migration
3000
4640
  * @return {!Object}
3001
4641
  */
3002
- proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.toObject = function(opt_includeInstance) {
3003
- return proto.agentbillingserviceapi.DeclineAgentInvitationRequest.toObject(opt_includeInstance, this);
4642
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.toObject = function(opt_includeInstance) {
4643
+ return proto.agentbillingserviceapi.DeleteAgentBillsResponse.toObject(opt_includeInstance, this);
3004
4644
  };
3005
4645
 
3006
4646
 
@@ -3009,13 +4649,17 @@ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.toObject =
3009
4649
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3010
4650
  * the JSPB instance for transitional soy proto support:
3011
4651
  * http://goto/soy-param-migration
3012
- * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} msg The msg instance to transform.
4652
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsResponse} msg The msg instance to transform.
3013
4653
  * @return {!Object}
3014
4654
  * @suppress {unusedLocalVariables} f is only used for nested messages
3015
4655
  */
3016
- proto.agentbillingserviceapi.DeclineAgentInvitationRequest.toObject = function(includeInstance, msg) {
4656
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.toObject = function(includeInstance, msg) {
3017
4657
  var f, obj = {
3018
- clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
4658
+ responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
4659
+ deletedcount: jspb.Message.getFieldWithDefault(msg, 2, 0),
4660
+ notdeletedcount: jspb.Message.getFieldWithDefault(msg, 3, 0),
4661
+ deleteagentbillsresultsList: jspb.Message.toObjectList(msg.getDeleteagentbillsresultsList(),
4662
+ proto.agentbillingserviceapi.DeleteAgentBillResult.toObject, includeInstance)
3019
4663
  };
3020
4664
 
3021
4665
  if (includeInstance) {
@@ -3029,23 +4673,23 @@ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.toObject = function(i
3029
4673
  /**
3030
4674
  * Deserializes binary data (in protobuf wire format).
3031
4675
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3032
- * @return {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest}
4676
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsResponse}
3033
4677
  */
3034
- proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinary = function(bytes) {
4678
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.deserializeBinary = function(bytes) {
3035
4679
  var reader = new jspb.BinaryReader(bytes);
3036
- var msg = new proto.agentbillingserviceapi.DeclineAgentInvitationRequest;
3037
- return proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinaryFromReader(msg, reader);
4680
+ var msg = new proto.agentbillingserviceapi.DeleteAgentBillsResponse;
4681
+ return proto.agentbillingserviceapi.DeleteAgentBillsResponse.deserializeBinaryFromReader(msg, reader);
3038
4682
  };
3039
4683
 
3040
4684
 
3041
4685
  /**
3042
4686
  * Deserializes binary data (in protobuf wire format) from the
3043
4687
  * given reader into the given message object.
3044
- * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} msg The message object to deserialize into.
4688
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsResponse} msg The message object to deserialize into.
3045
4689
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3046
- * @return {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest}
4690
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsResponse}
3047
4691
  */
3048
- proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinaryFromReader = function(msg, reader) {
4692
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.deserializeBinaryFromReader = function(msg, reader) {
3049
4693
  while (reader.nextField()) {
3050
4694
  if (reader.isEndGroup()) {
3051
4695
  break;
@@ -3053,8 +4697,22 @@ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinaryFrom
3053
4697
  var field = reader.getFieldNumber();
3054
4698
  switch (field) {
3055
4699
  case 1:
3056
- var value = /** @type {number} */ (reader.readInt64());
3057
- msg.setClientuserid(value);
4700
+ var value = new proto.agentbillingserviceapi.ResponseCode;
4701
+ reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
4702
+ msg.setResponsecode(value);
4703
+ break;
4704
+ case 2:
4705
+ var value = /** @type {number} */ (reader.readInt32());
4706
+ msg.setDeletedcount(value);
4707
+ break;
4708
+ case 3:
4709
+ var value = /** @type {number} */ (reader.readInt32());
4710
+ msg.setNotdeletedcount(value);
4711
+ break;
4712
+ case 4:
4713
+ var value = new proto.agentbillingserviceapi.DeleteAgentBillResult;
4714
+ reader.readMessage(value,proto.agentbillingserviceapi.DeleteAgentBillResult.deserializeBinaryFromReader);
4715
+ msg.addDeleteagentbillsresults(value);
3058
4716
  break;
3059
4717
  default:
3060
4718
  reader.skipField();
@@ -3069,9 +4727,9 @@ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinaryFrom
3069
4727
  * Serializes the message to binary data (in protobuf wire format).
3070
4728
  * @return {!Uint8Array}
3071
4729
  */
3072
- proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.serializeBinary = function() {
4730
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.serializeBinary = function() {
3073
4731
  var writer = new jspb.BinaryWriter();
3074
- proto.agentbillingserviceapi.DeclineAgentInvitationRequest.serializeBinaryToWriter(this, writer);
4732
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.serializeBinaryToWriter(this, writer);
3075
4733
  return writer.getResultBuffer();
3076
4734
  };
3077
4735
 
@@ -3079,37 +4737,153 @@ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.serializeBi
3079
4737
  /**
3080
4738
  * Serializes the given message to binary data (in protobuf wire
3081
4739
  * format), writing to the given BinaryWriter.
3082
- * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} message
4740
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsResponse} message
3083
4741
  * @param {!jspb.BinaryWriter} writer
3084
4742
  * @suppress {unusedLocalVariables} f is only used for nested messages
3085
4743
  */
3086
- proto.agentbillingserviceapi.DeclineAgentInvitationRequest.serializeBinaryToWriter = function(message, writer) {
4744
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.serializeBinaryToWriter = function(message, writer) {
3087
4745
  var f = undefined;
3088
- f = message.getClientuserid();
3089
- if (f !== 0) {
3090
- writer.writeInt64(
4746
+ f = message.getResponsecode();
4747
+ if (f != null) {
4748
+ writer.writeMessage(
3091
4749
  1,
4750
+ f,
4751
+ proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
4752
+ );
4753
+ }
4754
+ f = message.getDeletedcount();
4755
+ if (f !== 0) {
4756
+ writer.writeInt32(
4757
+ 2,
4758
+ f
4759
+ );
4760
+ }
4761
+ f = message.getNotdeletedcount();
4762
+ if (f !== 0) {
4763
+ writer.writeInt32(
4764
+ 3,
3092
4765
  f
3093
4766
  );
3094
4767
  }
4768
+ f = message.getDeleteagentbillsresultsList();
4769
+ if (f.length > 0) {
4770
+ writer.writeRepeatedMessage(
4771
+ 4,
4772
+ f,
4773
+ proto.agentbillingserviceapi.DeleteAgentBillResult.serializeBinaryToWriter
4774
+ );
4775
+ }
3095
4776
  };
3096
4777
 
3097
4778
 
3098
4779
  /**
3099
- * optional int64 clientUserId = 1;
4780
+ * optional ResponseCode responseCode = 1;
4781
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
4782
+ */
4783
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.getResponsecode = function() {
4784
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
4785
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
4786
+ };
4787
+
4788
+
4789
+ /**
4790
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
4791
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsResponse} returns this
4792
+ */
4793
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.setResponsecode = function(value) {
4794
+ return jspb.Message.setWrapperField(this, 1, value);
4795
+ };
4796
+
4797
+
4798
+ /**
4799
+ * Clears the message field making it undefined.
4800
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsResponse} returns this
4801
+ */
4802
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.clearResponsecode = function() {
4803
+ return this.setResponsecode(undefined);
4804
+ };
4805
+
4806
+
4807
+ /**
4808
+ * Returns whether this field is set.
4809
+ * @return {boolean}
4810
+ */
4811
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.hasResponsecode = function() {
4812
+ return jspb.Message.getField(this, 1) != null;
4813
+ };
4814
+
4815
+
4816
+ /**
4817
+ * optional int32 deletedCount = 2;
4818
+ * @return {number}
4819
+ */
4820
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.getDeletedcount = function() {
4821
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4822
+ };
4823
+
4824
+
4825
+ /**
4826
+ * @param {number} value
4827
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsResponse} returns this
4828
+ */
4829
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.setDeletedcount = function(value) {
4830
+ return jspb.Message.setProto3IntField(this, 2, value);
4831
+ };
4832
+
4833
+
4834
+ /**
4835
+ * optional int32 notDeletedCount = 3;
3100
4836
  * @return {number}
3101
4837
  */
3102
- proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.getClientuserid = function() {
3103
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4838
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.getNotdeletedcount = function() {
4839
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
4840
+ };
4841
+
4842
+
4843
+ /**
4844
+ * @param {number} value
4845
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsResponse} returns this
4846
+ */
4847
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.setNotdeletedcount = function(value) {
4848
+ return jspb.Message.setProto3IntField(this, 3, value);
4849
+ };
4850
+
4851
+
4852
+ /**
4853
+ * repeated DeleteAgentBillResult deleteAgentBillsResults = 4;
4854
+ * @return {!Array<!proto.agentbillingserviceapi.DeleteAgentBillResult>}
4855
+ */
4856
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.getDeleteagentbillsresultsList = function() {
4857
+ return /** @type{!Array<!proto.agentbillingserviceapi.DeleteAgentBillResult>} */ (
4858
+ jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.DeleteAgentBillResult, 4));
4859
+ };
4860
+
4861
+
4862
+ /**
4863
+ * @param {!Array<!proto.agentbillingserviceapi.DeleteAgentBillResult>} value
4864
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsResponse} returns this
4865
+ */
4866
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.setDeleteagentbillsresultsList = function(value) {
4867
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
4868
+ };
4869
+
4870
+
4871
+ /**
4872
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillResult=} opt_value
4873
+ * @param {number=} opt_index
4874
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillResult}
4875
+ */
4876
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.addDeleteagentbillsresults = function(opt_value, opt_index) {
4877
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.agentbillingserviceapi.DeleteAgentBillResult, opt_index);
3104
4878
  };
3105
4879
 
3106
4880
 
3107
4881
  /**
3108
- * @param {number} value
3109
- * @return {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} returns this
4882
+ * Clears the list making it empty but non-null.
4883
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsResponse} returns this
3110
4884
  */
3111
- proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.setClientuserid = function(value) {
3112
- return jspb.Message.setProto3IntField(this, 1, value);
4885
+ proto.agentbillingserviceapi.DeleteAgentBillsResponse.prototype.clearDeleteagentbillsresultsList = function() {
4886
+ return this.setDeleteagentbillsresultsList([]);
3113
4887
  };
3114
4888
 
3115
4889
 
@@ -3672,35 +5446,295 @@ proto.agentbillingserviceapi.DeliveryBatch.prototype.setDueamount = function(val
3672
5446
  * optional int64 agentUserId = 6;
3673
5447
  * @return {number}
3674
5448
  */
3675
- proto.agentbillingserviceapi.DeliveryBatch.prototype.getAgentuserid = function() {
3676
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
5449
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.getAgentuserid = function() {
5450
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
5451
+ };
5452
+
5453
+
5454
+ /**
5455
+ * @param {number} value
5456
+ * @return {!proto.agentbillingserviceapi.DeliveryBatch} returns this
5457
+ */
5458
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.setAgentuserid = function(value) {
5459
+ return jspb.Message.setProto3IntField(this, 6, value);
5460
+ };
5461
+
5462
+
5463
+ /**
5464
+ * optional string agentName = 7;
5465
+ * @return {string}
5466
+ */
5467
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.getAgentname = function() {
5468
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
5469
+ };
5470
+
5471
+
5472
+ /**
5473
+ * @param {string} value
5474
+ * @return {!proto.agentbillingserviceapi.DeliveryBatch} returns this
5475
+ */
5476
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.setAgentname = function(value) {
5477
+ return jspb.Message.setProto3StringField(this, 7, value);
5478
+ };
5479
+
5480
+
5481
+
5482
+
5483
+
5484
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5485
+ /**
5486
+ * Creates an object representation of this proto.
5487
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5488
+ * Optional fields that are not set will be set to undefined.
5489
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5490
+ * For the list of reserved names please see:
5491
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5492
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5493
+ * JSPB instance for transitional soy proto support:
5494
+ * http://goto/soy-param-migration
5495
+ * @return {!Object}
5496
+ */
5497
+ proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.toObject = function(opt_includeInstance) {
5498
+ return proto.agentbillingserviceapi.DisconnectAgentRequest.toObject(opt_includeInstance, this);
5499
+ };
5500
+
5501
+
5502
+ /**
5503
+ * Static version of the {@see toObject} method.
5504
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5505
+ * the JSPB instance for transitional soy proto support:
5506
+ * http://goto/soy-param-migration
5507
+ * @param {!proto.agentbillingserviceapi.DisconnectAgentRequest} msg The msg instance to transform.
5508
+ * @return {!Object}
5509
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5510
+ */
5511
+ proto.agentbillingserviceapi.DisconnectAgentRequest.toObject = function(includeInstance, msg) {
5512
+ var f, obj = {
5513
+ agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
5514
+ };
5515
+
5516
+ if (includeInstance) {
5517
+ obj.$jspbMessageInstance = msg;
5518
+ }
5519
+ return obj;
5520
+ };
5521
+ }
5522
+
5523
+
5524
+ /**
5525
+ * Deserializes binary data (in protobuf wire format).
5526
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5527
+ * @return {!proto.agentbillingserviceapi.DisconnectAgentRequest}
5528
+ */
5529
+ proto.agentbillingserviceapi.DisconnectAgentRequest.deserializeBinary = function(bytes) {
5530
+ var reader = new jspb.BinaryReader(bytes);
5531
+ var msg = new proto.agentbillingserviceapi.DisconnectAgentRequest;
5532
+ return proto.agentbillingserviceapi.DisconnectAgentRequest.deserializeBinaryFromReader(msg, reader);
5533
+ };
5534
+
5535
+
5536
+ /**
5537
+ * Deserializes binary data (in protobuf wire format) from the
5538
+ * given reader into the given message object.
5539
+ * @param {!proto.agentbillingserviceapi.DisconnectAgentRequest} msg The message object to deserialize into.
5540
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5541
+ * @return {!proto.agentbillingserviceapi.DisconnectAgentRequest}
5542
+ */
5543
+ proto.agentbillingserviceapi.DisconnectAgentRequest.deserializeBinaryFromReader = function(msg, reader) {
5544
+ while (reader.nextField()) {
5545
+ if (reader.isEndGroup()) {
5546
+ break;
5547
+ }
5548
+ var field = reader.getFieldNumber();
5549
+ switch (field) {
5550
+ case 1:
5551
+ var value = /** @type {number} */ (reader.readInt64());
5552
+ msg.setAgentuserid(value);
5553
+ break;
5554
+ default:
5555
+ reader.skipField();
5556
+ break;
5557
+ }
5558
+ }
5559
+ return msg;
5560
+ };
5561
+
5562
+
5563
+ /**
5564
+ * Serializes the message to binary data (in protobuf wire format).
5565
+ * @return {!Uint8Array}
5566
+ */
5567
+ proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.serializeBinary = function() {
5568
+ var writer = new jspb.BinaryWriter();
5569
+ proto.agentbillingserviceapi.DisconnectAgentRequest.serializeBinaryToWriter(this, writer);
5570
+ return writer.getResultBuffer();
5571
+ };
5572
+
5573
+
5574
+ /**
5575
+ * Serializes the given message to binary data (in protobuf wire
5576
+ * format), writing to the given BinaryWriter.
5577
+ * @param {!proto.agentbillingserviceapi.DisconnectAgentRequest} message
5578
+ * @param {!jspb.BinaryWriter} writer
5579
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5580
+ */
5581
+ proto.agentbillingserviceapi.DisconnectAgentRequest.serializeBinaryToWriter = function(message, writer) {
5582
+ var f = undefined;
5583
+ f = message.getAgentuserid();
5584
+ if (f !== 0) {
5585
+ writer.writeInt64(
5586
+ 1,
5587
+ f
5588
+ );
5589
+ }
5590
+ };
5591
+
5592
+
5593
+ /**
5594
+ * optional int64 agentUserId = 1;
5595
+ * @return {number}
5596
+ */
5597
+ proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.getAgentuserid = function() {
5598
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
5599
+ };
5600
+
5601
+
5602
+ /**
5603
+ * @param {number} value
5604
+ * @return {!proto.agentbillingserviceapi.DisconnectAgentRequest} returns this
5605
+ */
5606
+ proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.setAgentuserid = function(value) {
5607
+ return jspb.Message.setProto3IntField(this, 1, value);
5608
+ };
5609
+
5610
+
5611
+
5612
+
5613
+
5614
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5615
+ /**
5616
+ * Creates an object representation of this proto.
5617
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5618
+ * Optional fields that are not set will be set to undefined.
5619
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5620
+ * For the list of reserved names please see:
5621
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5622
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5623
+ * JSPB instance for transitional soy proto support:
5624
+ * http://goto/soy-param-migration
5625
+ * @return {!Object}
5626
+ */
5627
+ proto.agentbillingserviceapi.DisconnectClientRequest.prototype.toObject = function(opt_includeInstance) {
5628
+ return proto.agentbillingserviceapi.DisconnectClientRequest.toObject(opt_includeInstance, this);
5629
+ };
5630
+
5631
+
5632
+ /**
5633
+ * Static version of the {@see toObject} method.
5634
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5635
+ * the JSPB instance for transitional soy proto support:
5636
+ * http://goto/soy-param-migration
5637
+ * @param {!proto.agentbillingserviceapi.DisconnectClientRequest} msg The msg instance to transform.
5638
+ * @return {!Object}
5639
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5640
+ */
5641
+ proto.agentbillingserviceapi.DisconnectClientRequest.toObject = function(includeInstance, msg) {
5642
+ var f, obj = {
5643
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
5644
+ };
5645
+
5646
+ if (includeInstance) {
5647
+ obj.$jspbMessageInstance = msg;
5648
+ }
5649
+ return obj;
5650
+ };
5651
+ }
5652
+
5653
+
5654
+ /**
5655
+ * Deserializes binary data (in protobuf wire format).
5656
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5657
+ * @return {!proto.agentbillingserviceapi.DisconnectClientRequest}
5658
+ */
5659
+ proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinary = function(bytes) {
5660
+ var reader = new jspb.BinaryReader(bytes);
5661
+ var msg = new proto.agentbillingserviceapi.DisconnectClientRequest;
5662
+ return proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinaryFromReader(msg, reader);
5663
+ };
5664
+
5665
+
5666
+ /**
5667
+ * Deserializes binary data (in protobuf wire format) from the
5668
+ * given reader into the given message object.
5669
+ * @param {!proto.agentbillingserviceapi.DisconnectClientRequest} msg The message object to deserialize into.
5670
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5671
+ * @return {!proto.agentbillingserviceapi.DisconnectClientRequest}
5672
+ */
5673
+ proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinaryFromReader = function(msg, reader) {
5674
+ while (reader.nextField()) {
5675
+ if (reader.isEndGroup()) {
5676
+ break;
5677
+ }
5678
+ var field = reader.getFieldNumber();
5679
+ switch (field) {
5680
+ case 1:
5681
+ var value = /** @type {number} */ (reader.readInt64());
5682
+ msg.setClientuserid(value);
5683
+ break;
5684
+ default:
5685
+ reader.skipField();
5686
+ break;
5687
+ }
5688
+ }
5689
+ return msg;
5690
+ };
5691
+
5692
+
5693
+ /**
5694
+ * Serializes the message to binary data (in protobuf wire format).
5695
+ * @return {!Uint8Array}
5696
+ */
5697
+ proto.agentbillingserviceapi.DisconnectClientRequest.prototype.serializeBinary = function() {
5698
+ var writer = new jspb.BinaryWriter();
5699
+ proto.agentbillingserviceapi.DisconnectClientRequest.serializeBinaryToWriter(this, writer);
5700
+ return writer.getResultBuffer();
3677
5701
  };
3678
5702
 
3679
5703
 
3680
5704
  /**
3681
- * @param {number} value
3682
- * @return {!proto.agentbillingserviceapi.DeliveryBatch} returns this
5705
+ * Serializes the given message to binary data (in protobuf wire
5706
+ * format), writing to the given BinaryWriter.
5707
+ * @param {!proto.agentbillingserviceapi.DisconnectClientRequest} message
5708
+ * @param {!jspb.BinaryWriter} writer
5709
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3683
5710
  */
3684
- proto.agentbillingserviceapi.DeliveryBatch.prototype.setAgentuserid = function(value) {
3685
- return jspb.Message.setProto3IntField(this, 6, value);
5711
+ proto.agentbillingserviceapi.DisconnectClientRequest.serializeBinaryToWriter = function(message, writer) {
5712
+ var f = undefined;
5713
+ f = message.getClientuserid();
5714
+ if (f !== 0) {
5715
+ writer.writeInt64(
5716
+ 1,
5717
+ f
5718
+ );
5719
+ }
3686
5720
  };
3687
5721
 
3688
5722
 
3689
5723
  /**
3690
- * optional string agentName = 7;
3691
- * @return {string}
5724
+ * optional int64 clientUserId = 1;
5725
+ * @return {number}
3692
5726
  */
3693
- proto.agentbillingserviceapi.DeliveryBatch.prototype.getAgentname = function() {
3694
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
5727
+ proto.agentbillingserviceapi.DisconnectClientRequest.prototype.getClientuserid = function() {
5728
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3695
5729
  };
3696
5730
 
3697
5731
 
3698
5732
  /**
3699
- * @param {string} value
3700
- * @return {!proto.agentbillingserviceapi.DeliveryBatch} returns this
5733
+ * @param {number} value
5734
+ * @return {!proto.agentbillingserviceapi.DisconnectClientRequest} returns this
3701
5735
  */
3702
- proto.agentbillingserviceapi.DeliveryBatch.prototype.setAgentname = function(value) {
3703
- return jspb.Message.setProto3StringField(this, 7, value);
5736
+ proto.agentbillingserviceapi.DisconnectClientRequest.prototype.setClientuserid = function(value) {
5737
+ return jspb.Message.setProto3IntField(this, 1, value);
3704
5738
  };
3705
5739
 
3706
5740
 
@@ -3720,8 +5754,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3720
5754
  * http://goto/soy-param-migration
3721
5755
  * @return {!Object}
3722
5756
  */
3723
- proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.toObject = function(opt_includeInstance) {
3724
- return proto.agentbillingserviceapi.DisconnectAgentRequest.toObject(opt_includeInstance, this);
5757
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.prototype.toObject = function(opt_includeInstance) {
5758
+ return proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.toObject(opt_includeInstance, this);
3725
5759
  };
3726
5760
 
3727
5761
 
@@ -3730,13 +5764,13 @@ proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.toObject = functio
3730
5764
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3731
5765
  * the JSPB instance for transitional soy proto support:
3732
5766
  * http://goto/soy-param-migration
3733
- * @param {!proto.agentbillingserviceapi.DisconnectAgentRequest} msg The msg instance to transform.
5767
+ * @param {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest} msg The msg instance to transform.
3734
5768
  * @return {!Object}
3735
5769
  * @suppress {unusedLocalVariables} f is only used for nested messages
3736
5770
  */
3737
- proto.agentbillingserviceapi.DisconnectAgentRequest.toObject = function(includeInstance, msg) {
5771
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.toObject = function(includeInstance, msg) {
3738
5772
  var f, obj = {
3739
- agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
5773
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
3740
5774
  };
3741
5775
 
3742
5776
  if (includeInstance) {
@@ -3750,23 +5784,23 @@ proto.agentbillingserviceapi.DisconnectAgentRequest.toObject = function(includeI
3750
5784
  /**
3751
5785
  * Deserializes binary data (in protobuf wire format).
3752
5786
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3753
- * @return {!proto.agentbillingserviceapi.DisconnectAgentRequest}
5787
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest}
3754
5788
  */
3755
- proto.agentbillingserviceapi.DisconnectAgentRequest.deserializeBinary = function(bytes) {
5789
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.deserializeBinary = function(bytes) {
3756
5790
  var reader = new jspb.BinaryReader(bytes);
3757
- var msg = new proto.agentbillingserviceapi.DisconnectAgentRequest;
3758
- return proto.agentbillingserviceapi.DisconnectAgentRequest.deserializeBinaryFromReader(msg, reader);
5791
+ var msg = new proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest;
5792
+ return proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.deserializeBinaryFromReader(msg, reader);
3759
5793
  };
3760
5794
 
3761
5795
 
3762
5796
  /**
3763
5797
  * Deserializes binary data (in protobuf wire format) from the
3764
5798
  * given reader into the given message object.
3765
- * @param {!proto.agentbillingserviceapi.DisconnectAgentRequest} msg The message object to deserialize into.
5799
+ * @param {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest} msg The message object to deserialize into.
3766
5800
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3767
- * @return {!proto.agentbillingserviceapi.DisconnectAgentRequest}
5801
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest}
3768
5802
  */
3769
- proto.agentbillingserviceapi.DisconnectAgentRequest.deserializeBinaryFromReader = function(msg, reader) {
5803
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.deserializeBinaryFromReader = function(msg, reader) {
3770
5804
  while (reader.nextField()) {
3771
5805
  if (reader.isEndGroup()) {
3772
5806
  break;
@@ -3775,7 +5809,7 @@ proto.agentbillingserviceapi.DisconnectAgentRequest.deserializeBinaryFromReader
3775
5809
  switch (field) {
3776
5810
  case 1:
3777
5811
  var value = /** @type {number} */ (reader.readInt64());
3778
- msg.setAgentuserid(value);
5812
+ msg.setClientuserid(value);
3779
5813
  break;
3780
5814
  default:
3781
5815
  reader.skipField();
@@ -3790,9 +5824,9 @@ proto.agentbillingserviceapi.DisconnectAgentRequest.deserializeBinaryFromReader
3790
5824
  * Serializes the message to binary data (in protobuf wire format).
3791
5825
  * @return {!Uint8Array}
3792
5826
  */
3793
- proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.serializeBinary = function() {
5827
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.prototype.serializeBinary = function() {
3794
5828
  var writer = new jspb.BinaryWriter();
3795
- proto.agentbillingserviceapi.DisconnectAgentRequest.serializeBinaryToWriter(this, writer);
5829
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.serializeBinaryToWriter(this, writer);
3796
5830
  return writer.getResultBuffer();
3797
5831
  };
3798
5832
 
@@ -3800,13 +5834,13 @@ proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.serializeBinary =
3800
5834
  /**
3801
5835
  * Serializes the given message to binary data (in protobuf wire
3802
5836
  * format), writing to the given BinaryWriter.
3803
- * @param {!proto.agentbillingserviceapi.DisconnectAgentRequest} message
5837
+ * @param {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest} message
3804
5838
  * @param {!jspb.BinaryWriter} writer
3805
5839
  * @suppress {unusedLocalVariables} f is only used for nested messages
3806
5840
  */
3807
- proto.agentbillingserviceapi.DisconnectAgentRequest.serializeBinaryToWriter = function(message, writer) {
5841
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.serializeBinaryToWriter = function(message, writer) {
3808
5842
  var f = undefined;
3809
- f = message.getAgentuserid();
5843
+ f = message.getClientuserid();
3810
5844
  if (f !== 0) {
3811
5845
  writer.writeInt64(
3812
5846
  1,
@@ -3817,19 +5851,19 @@ proto.agentbillingserviceapi.DisconnectAgentRequest.serializeBinaryToWriter = fu
3817
5851
 
3818
5852
 
3819
5853
  /**
3820
- * optional int64 agentUserId = 1;
5854
+ * optional int64 clientUserId = 1;
3821
5855
  * @return {number}
3822
5856
  */
3823
- proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.getAgentuserid = function() {
5857
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.prototype.getClientuserid = function() {
3824
5858
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3825
5859
  };
3826
5860
 
3827
5861
 
3828
5862
  /**
3829
5863
  * @param {number} value
3830
- * @return {!proto.agentbillingserviceapi.DisconnectAgentRequest} returns this
5864
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest} returns this
3831
5865
  */
3832
- proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.setAgentuserid = function(value) {
5866
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest.prototype.setClientuserid = function(value) {
3833
5867
  return jspb.Message.setProto3IntField(this, 1, value);
3834
5868
  };
3835
5869
 
@@ -3850,8 +5884,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3850
5884
  * http://goto/soy-param-migration
3851
5885
  * @return {!Object}
3852
5886
  */
3853
- proto.agentbillingserviceapi.DisconnectClientRequest.prototype.toObject = function(opt_includeInstance) {
3854
- return proto.agentbillingserviceapi.DisconnectClientRequest.toObject(opt_includeInstance, this);
5887
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.toObject = function(opt_includeInstance) {
5888
+ return proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.toObject(opt_includeInstance, this);
3855
5889
  };
3856
5890
 
3857
5891
 
@@ -3860,13 +5894,19 @@ proto.agentbillingserviceapi.DisconnectClientRequest.prototype.toObject = functi
3860
5894
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3861
5895
  * the JSPB instance for transitional soy proto support:
3862
5896
  * http://goto/soy-param-migration
3863
- * @param {!proto.agentbillingserviceapi.DisconnectClientRequest} msg The msg instance to transform.
5897
+ * @param {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} msg The msg instance to transform.
3864
5898
  * @return {!Object}
3865
5899
  * @suppress {unusedLocalVariables} f is only used for nested messages
3866
5900
  */
3867
- proto.agentbillingserviceapi.DisconnectClientRequest.toObject = function(includeInstance, msg) {
5901
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.toObject = function(includeInstance, msg) {
3868
5902
  var f, obj = {
3869
- clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
5903
+ responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
5904
+ uploadbatchescount: jspb.Message.getFieldWithDefault(msg, 2, 0),
5905
+ underreviewbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0),
5906
+ blockedbillscount: jspb.Message.getFieldWithDefault(msg, 4, 0),
5907
+ readytosendbillscount: jspb.Message.getFieldWithDefault(msg, 5, 0),
5908
+ deliverybatchescount: jspb.Message.getFieldWithDefault(msg, 6, 0),
5909
+ archivebillscount: jspb.Message.getFieldWithDefault(msg, 7, 0)
3870
5910
  };
3871
5911
 
3872
5912
  if (includeInstance) {
@@ -3880,23 +5920,23 @@ proto.agentbillingserviceapi.DisconnectClientRequest.toObject = function(include
3880
5920
  /**
3881
5921
  * Deserializes binary data (in protobuf wire format).
3882
5922
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3883
- * @return {!proto.agentbillingserviceapi.DisconnectClientRequest}
5923
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse}
3884
5924
  */
3885
- proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinary = function(bytes) {
5925
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.deserializeBinary = function(bytes) {
3886
5926
  var reader = new jspb.BinaryReader(bytes);
3887
- var msg = new proto.agentbillingserviceapi.DisconnectClientRequest;
3888
- return proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinaryFromReader(msg, reader);
5927
+ var msg = new proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse;
5928
+ return proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.deserializeBinaryFromReader(msg, reader);
3889
5929
  };
3890
5930
 
3891
5931
 
3892
5932
  /**
3893
5933
  * Deserializes binary data (in protobuf wire format) from the
3894
5934
  * given reader into the given message object.
3895
- * @param {!proto.agentbillingserviceapi.DisconnectClientRequest} msg The message object to deserialize into.
5935
+ * @param {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} msg The message object to deserialize into.
3896
5936
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3897
- * @return {!proto.agentbillingserviceapi.DisconnectClientRequest}
5937
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse}
3898
5938
  */
3899
- proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinaryFromReader = function(msg, reader) {
5939
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.deserializeBinaryFromReader = function(msg, reader) {
3900
5940
  while (reader.nextField()) {
3901
5941
  if (reader.isEndGroup()) {
3902
5942
  break;
@@ -3904,8 +5944,33 @@ proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinaryFromReader
3904
5944
  var field = reader.getFieldNumber();
3905
5945
  switch (field) {
3906
5946
  case 1:
3907
- var value = /** @type {number} */ (reader.readInt64());
3908
- msg.setClientuserid(value);
5947
+ var value = new proto.agentbillingserviceapi.ResponseCode;
5948
+ reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
5949
+ msg.setResponsecode(value);
5950
+ break;
5951
+ case 2:
5952
+ var value = /** @type {number} */ (reader.readInt32());
5953
+ msg.setUploadbatchescount(value);
5954
+ break;
5955
+ case 3:
5956
+ var value = /** @type {number} */ (reader.readInt32());
5957
+ msg.setUnderreviewbillscount(value);
5958
+ break;
5959
+ case 4:
5960
+ var value = /** @type {number} */ (reader.readInt32());
5961
+ msg.setBlockedbillscount(value);
5962
+ break;
5963
+ case 5:
5964
+ var value = /** @type {number} */ (reader.readInt32());
5965
+ msg.setReadytosendbillscount(value);
5966
+ break;
5967
+ case 6:
5968
+ var value = /** @type {number} */ (reader.readInt32());
5969
+ msg.setDeliverybatchescount(value);
5970
+ break;
5971
+ case 7:
5972
+ var value = /** @type {number} */ (reader.readInt32());
5973
+ msg.setArchivebillscount(value);
3909
5974
  break;
3910
5975
  default:
3911
5976
  reader.skipField();
@@ -3920,9 +5985,9 @@ proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinaryFromReader
3920
5985
  * Serializes the message to binary data (in protobuf wire format).
3921
5986
  * @return {!Uint8Array}
3922
5987
  */
3923
- proto.agentbillingserviceapi.DisconnectClientRequest.prototype.serializeBinary = function() {
5988
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.serializeBinary = function() {
3924
5989
  var writer = new jspb.BinaryWriter();
3925
- proto.agentbillingserviceapi.DisconnectClientRequest.serializeBinaryToWriter(this, writer);
5990
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.serializeBinaryToWriter(this, writer);
3926
5991
  return writer.getResultBuffer();
3927
5992
  };
3928
5993
 
@@ -3930,16 +5995,59 @@ proto.agentbillingserviceapi.DisconnectClientRequest.prototype.serializeBinary =
3930
5995
  /**
3931
5996
  * Serializes the given message to binary data (in protobuf wire
3932
5997
  * format), writing to the given BinaryWriter.
3933
- * @param {!proto.agentbillingserviceapi.DisconnectClientRequest} message
5998
+ * @param {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} message
3934
5999
  * @param {!jspb.BinaryWriter} writer
3935
6000
  * @suppress {unusedLocalVariables} f is only used for nested messages
3936
6001
  */
3937
- proto.agentbillingserviceapi.DisconnectClientRequest.serializeBinaryToWriter = function(message, writer) {
6002
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.serializeBinaryToWriter = function(message, writer) {
3938
6003
  var f = undefined;
3939
- f = message.getClientuserid();
3940
- if (f !== 0) {
3941
- writer.writeInt64(
6004
+ f = message.getResponsecode();
6005
+ if (f != null) {
6006
+ writer.writeMessage(
3942
6007
  1,
6008
+ f,
6009
+ proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
6010
+ );
6011
+ }
6012
+ f = message.getUploadbatchescount();
6013
+ if (f !== 0) {
6014
+ writer.writeInt32(
6015
+ 2,
6016
+ f
6017
+ );
6018
+ }
6019
+ f = message.getUnderreviewbillscount();
6020
+ if (f !== 0) {
6021
+ writer.writeInt32(
6022
+ 3,
6023
+ f
6024
+ );
6025
+ }
6026
+ f = message.getBlockedbillscount();
6027
+ if (f !== 0) {
6028
+ writer.writeInt32(
6029
+ 4,
6030
+ f
6031
+ );
6032
+ }
6033
+ f = message.getReadytosendbillscount();
6034
+ if (f !== 0) {
6035
+ writer.writeInt32(
6036
+ 5,
6037
+ f
6038
+ );
6039
+ }
6040
+ f = message.getDeliverybatchescount();
6041
+ if (f !== 0) {
6042
+ writer.writeInt32(
6043
+ 6,
6044
+ f
6045
+ );
6046
+ }
6047
+ f = message.getArchivebillscount();
6048
+ if (f !== 0) {
6049
+ writer.writeInt32(
6050
+ 7,
3943
6051
  f
3944
6052
  );
3945
6053
  }
@@ -3947,20 +6055,147 @@ proto.agentbillingserviceapi.DisconnectClientRequest.serializeBinaryToWriter = f
3947
6055
 
3948
6056
 
3949
6057
  /**
3950
- * optional int64 clientUserId = 1;
6058
+ * optional ResponseCode responseCode = 1;
6059
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
6060
+ */
6061
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.getResponsecode = function() {
6062
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
6063
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
6064
+ };
6065
+
6066
+
6067
+ /**
6068
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
6069
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} returns this
6070
+ */
6071
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.setResponsecode = function(value) {
6072
+ return jspb.Message.setWrapperField(this, 1, value);
6073
+ };
6074
+
6075
+
6076
+ /**
6077
+ * Clears the message field making it undefined.
6078
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} returns this
6079
+ */
6080
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.clearResponsecode = function() {
6081
+ return this.setResponsecode(undefined);
6082
+ };
6083
+
6084
+
6085
+ /**
6086
+ * Returns whether this field is set.
6087
+ * @return {boolean}
6088
+ */
6089
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.hasResponsecode = function() {
6090
+ return jspb.Message.getField(this, 1) != null;
6091
+ };
6092
+
6093
+
6094
+ /**
6095
+ * optional int32 uploadBatchesCount = 2;
3951
6096
  * @return {number}
3952
6097
  */
3953
- proto.agentbillingserviceapi.DisconnectClientRequest.prototype.getClientuserid = function() {
3954
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
6098
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.getUploadbatchescount = function() {
6099
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3955
6100
  };
3956
6101
 
3957
6102
 
3958
6103
  /**
3959
6104
  * @param {number} value
3960
- * @return {!proto.agentbillingserviceapi.DisconnectClientRequest} returns this
6105
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} returns this
3961
6106
  */
3962
- proto.agentbillingserviceapi.DisconnectClientRequest.prototype.setClientuserid = function(value) {
3963
- return jspb.Message.setProto3IntField(this, 1, value);
6107
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.setUploadbatchescount = function(value) {
6108
+ return jspb.Message.setProto3IntField(this, 2, value);
6109
+ };
6110
+
6111
+
6112
+ /**
6113
+ * optional int32 underReviewBillsCount = 3;
6114
+ * @return {number}
6115
+ */
6116
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.getUnderreviewbillscount = function() {
6117
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
6118
+ };
6119
+
6120
+
6121
+ /**
6122
+ * @param {number} value
6123
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} returns this
6124
+ */
6125
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.setUnderreviewbillscount = function(value) {
6126
+ return jspb.Message.setProto3IntField(this, 3, value);
6127
+ };
6128
+
6129
+
6130
+ /**
6131
+ * optional int32 blockedBillsCount = 4;
6132
+ * @return {number}
6133
+ */
6134
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.getBlockedbillscount = function() {
6135
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
6136
+ };
6137
+
6138
+
6139
+ /**
6140
+ * @param {number} value
6141
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} returns this
6142
+ */
6143
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.setBlockedbillscount = function(value) {
6144
+ return jspb.Message.setProto3IntField(this, 4, value);
6145
+ };
6146
+
6147
+
6148
+ /**
6149
+ * optional int32 readyToSendBillsCount = 5;
6150
+ * @return {number}
6151
+ */
6152
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.getReadytosendbillscount = function() {
6153
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
6154
+ };
6155
+
6156
+
6157
+ /**
6158
+ * @param {number} value
6159
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} returns this
6160
+ */
6161
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.setReadytosendbillscount = function(value) {
6162
+ return jspb.Message.setProto3IntField(this, 5, value);
6163
+ };
6164
+
6165
+
6166
+ /**
6167
+ * optional int32 deliveryBatchesCount = 6;
6168
+ * @return {number}
6169
+ */
6170
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.getDeliverybatchescount = function() {
6171
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
6172
+ };
6173
+
6174
+
6175
+ /**
6176
+ * @param {number} value
6177
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} returns this
6178
+ */
6179
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.setDeliverybatchescount = function(value) {
6180
+ return jspb.Message.setProto3IntField(this, 6, value);
6181
+ };
6182
+
6183
+
6184
+ /**
6185
+ * optional int32 archiveBillsCount = 7;
6186
+ * @return {number}
6187
+ */
6188
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.getArchivebillscount = function() {
6189
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
6190
+ };
6191
+
6192
+
6193
+ /**
6194
+ * @param {number} value
6195
+ * @return {!proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse} returns this
6196
+ */
6197
+ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.setArchivebillscount = function(value) {
6198
+ return jspb.Message.setProto3IntField(this, 7, value);
3964
6199
  };
3965
6200
 
3966
6201