@sniipwebmaster/agent-billing-client-grpcweb 23.12.909 → 23.13.940

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.
@@ -25,6 +25,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null,
25
25
  goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
26
26
  goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
27
27
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillsResponse', null, global);
28
+ goog.exportSymbol('proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest', null, global);
28
29
  goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest', null, global);
29
30
  goog.exportSymbol('proto.agentbillingserviceapi.DeclineAgentInvitationRequest', null, global);
30
31
  goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillResult', null, global);
@@ -38,6 +39,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, g
38
39
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
39
40
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
40
41
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse', null, global);
42
+ goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest', null, global);
43
+ goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse', null, global);
41
44
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsForClientRequest', null, global);
42
45
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsResponse', null, global);
43
46
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentRequest', null, global);
@@ -49,10 +52,12 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientResponse', nu
49
52
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsRequest', null, global);
50
53
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsResponse', null, global);
51
54
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse', null, global);
55
+ goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest', null, global);
52
56
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest', null, global);
53
57
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesResponse', null, global);
54
58
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountRequest', null, global);
55
59
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse', null, global);
60
+ goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest', null, global);
56
61
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest', null, global);
57
62
  goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchContentsInDraftRequest', null, global);
58
63
  goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesInDraftRequest', null, global);
@@ -297,6 +302,27 @@ if (goog.DEBUG && !COMPILED) {
297
302
  */
298
303
  proto.agentbillingserviceapi.CreateAgentBillsResponse.displayName = 'proto.agentbillingserviceapi.CreateAgentBillsResponse';
299
304
  }
305
+ /**
306
+ * Generated by JsPbCodeGenerator.
307
+ * @param {Array=} opt_data Optional initial data array, typically from a
308
+ * server response, or constructed directly in Javascript. The array is used
309
+ * in place and becomes part of the constructed object. It is not cloned.
310
+ * If no data is provided, the constructed object will be empty, but still
311
+ * valid.
312
+ * @extends {jspb.Message}
313
+ * @constructor
314
+ */
315
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest = function(opt_data) {
316
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.repeatedFields_, null);
317
+ };
318
+ goog.inherits(proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest, jspb.Message);
319
+ if (goog.DEBUG && !COMPILED) {
320
+ /**
321
+ * @public
322
+ * @override
323
+ */
324
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.displayName = 'proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest';
325
+ }
300
326
  /**
301
327
  * Generated by JsPbCodeGenerator.
302
328
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -570,6 +596,48 @@ if (goog.DEBUG && !COMPILED) {
570
596
  */
571
597
  proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.displayName = 'proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse';
572
598
  }
599
+ /**
600
+ * Generated by JsPbCodeGenerator.
601
+ * @param {Array=} opt_data Optional initial data array, typically from a
602
+ * server response, or constructed directly in Javascript. The array is used
603
+ * in place and becomes part of the constructed object. It is not cloned.
604
+ * If no data is provided, the constructed object will be empty, but still
605
+ * valid.
606
+ * @extends {jspb.Message}
607
+ * @constructor
608
+ */
609
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest = function(opt_data) {
610
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
611
+ };
612
+ goog.inherits(proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest, jspb.Message);
613
+ if (goog.DEBUG && !COMPILED) {
614
+ /**
615
+ * @public
616
+ * @override
617
+ */
618
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.displayName = 'proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest';
619
+ }
620
+ /**
621
+ * Generated by JsPbCodeGenerator.
622
+ * @param {Array=} opt_data Optional initial data array, typically from a
623
+ * server response, or constructed directly in Javascript. The array is used
624
+ * in place and becomes part of the constructed object. It is not cloned.
625
+ * If no data is provided, the constructed object will be empty, but still
626
+ * valid.
627
+ * @extends {jspb.Message}
628
+ * @constructor
629
+ */
630
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse = function(opt_data) {
631
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
632
+ };
633
+ goog.inherits(proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse, jspb.Message);
634
+ if (goog.DEBUG && !COMPILED) {
635
+ /**
636
+ * @public
637
+ * @override
638
+ */
639
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.displayName = 'proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse';
640
+ }
573
641
  /**
574
642
  * Generated by JsPbCodeGenerator.
575
643
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -801,6 +869,27 @@ if (goog.DEBUG && !COMPILED) {
801
869
  */
802
870
  proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse';
803
871
  }
872
+ /**
873
+ * Generated by JsPbCodeGenerator.
874
+ * @param {Array=} opt_data Optional initial data array, typically from a
875
+ * server response, or constructed directly in Javascript. The array is used
876
+ * in place and becomes part of the constructed object. It is not cloned.
877
+ * If no data is provided, the constructed object will be empty, but still
878
+ * valid.
879
+ * @extends {jspb.Message}
880
+ * @constructor
881
+ */
882
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest = function(opt_data) {
883
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
884
+ };
885
+ goog.inherits(proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest, jspb.Message);
886
+ if (goog.DEBUG && !COMPILED) {
887
+ /**
888
+ * @public
889
+ * @override
890
+ */
891
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest';
892
+ }
804
893
  /**
805
894
  * Generated by JsPbCodeGenerator.
806
895
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -885,6 +974,27 @@ if (goog.DEBUG && !COMPILED) {
885
974
  */
886
975
  proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse';
887
976
  }
977
+ /**
978
+ * Generated by JsPbCodeGenerator.
979
+ * @param {Array=} opt_data Optional initial data array, typically from a
980
+ * server response, or constructed directly in Javascript. The array is used
981
+ * in place and becomes part of the constructed object. It is not cloned.
982
+ * If no data is provided, the constructed object will be empty, but still
983
+ * valid.
984
+ * @extends {jspb.Message}
985
+ * @constructor
986
+ */
987
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest = function(opt_data) {
988
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
989
+ };
990
+ goog.inherits(proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest, jspb.Message);
991
+ if (goog.DEBUG && !COMPILED) {
992
+ /**
993
+ * @public
994
+ * @override
995
+ */
996
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest';
997
+ }
888
998
  /**
889
999
  * Generated by JsPbCodeGenerator.
890
1000
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3973,6 +4083,13 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setUploadbatchna
3973
4083
 
3974
4084
 
3975
4085
 
4086
+ /**
4087
+ * List of repeated fields within this message type.
4088
+ * @private {!Array<number>}
4089
+ * @const
4090
+ */
4091
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.repeatedFields_ = [1];
4092
+
3976
4093
 
3977
4094
 
3978
4095
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -3988,8 +4105,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3988
4105
  * http://goto/soy-param-migration
3989
4106
  * @return {!Object}
3990
4107
  */
3991
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.toObject = function(opt_includeInstance) {
3992
- return proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.toObject(opt_includeInstance, this);
4108
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.toObject = function(opt_includeInstance) {
4109
+ return proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.toObject(opt_includeInstance, this);
3993
4110
  };
3994
4111
 
3995
4112
 
@@ -3998,20 +4115,15 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.toObj
3998
4115
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3999
4116
  * the JSPB instance for transitional soy proto support:
4000
4117
  * http://goto/soy-param-migration
4001
- * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} msg The msg instance to transform.
4118
+ * @param {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} msg The msg instance to transform.
4002
4119
  * @return {!Object}
4003
4120
  * @suppress {unusedLocalVariables} f is only used for nested messages
4004
4121
  */
4005
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.toObject = function(includeInstance, msg) {
4122
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.toObject = function(includeInstance, msg) {
4006
4123
  var f, obj = {
4007
- clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
4008
- uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
4009
- billercode: jspb.Message.getFieldWithDefault(msg, 3, ""),
4010
- reference: jspb.Message.getFieldWithDefault(msg, 4, ""),
4011
- amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
4012
- duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
4013
- invoicenumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
4014
- description: jspb.Message.getFieldWithDefault(msg, 8, "")
4124
+ agentbillidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
4125
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0),
4126
+ deliverybatchname: jspb.Message.getFieldWithDefault(msg, 3, "")
4015
4127
  };
4016
4128
 
4017
4129
  if (includeInstance) {
@@ -4025,23 +4137,23 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.toObject = func
4025
4137
  /**
4026
4138
  * Deserializes binary data (in protobuf wire format).
4027
4139
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4028
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest}
4140
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest}
4029
4141
  */
4030
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinary = function(bytes) {
4142
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.deserializeBinary = function(bytes) {
4031
4143
  var reader = new jspb.BinaryReader(bytes);
4032
- var msg = new proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest;
4033
- return proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinaryFromReader(msg, reader);
4144
+ var msg = new proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest;
4145
+ return proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.deserializeBinaryFromReader(msg, reader);
4034
4146
  };
4035
4147
 
4036
4148
 
4037
4149
  /**
4038
4150
  * Deserializes binary data (in protobuf wire format) from the
4039
4151
  * given reader into the given message object.
4040
- * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} msg The message object to deserialize into.
4152
+ * @param {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} msg The message object to deserialize into.
4041
4153
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4042
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest}
4154
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest}
4043
4155
  */
4044
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinaryFromReader = function(msg, reader) {
4156
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.deserializeBinaryFromReader = function(msg, reader) {
4045
4157
  while (reader.nextField()) {
4046
4158
  if (reader.isEndGroup()) {
4047
4159
  break;
@@ -4049,36 +4161,16 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBina
4049
4161
  var field = reader.getFieldNumber();
4050
4162
  switch (field) {
4051
4163
  case 1:
4052
- var value = /** @type {number} */ (reader.readInt64());
4053
- msg.setClientuserid(value);
4164
+ var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
4165
+ msg.setAgentbillidsList(value);
4054
4166
  break;
4055
4167
  case 2:
4056
4168
  var value = /** @type {number} */ (reader.readInt64());
4057
- msg.setUploadbatchid(value);
4169
+ msg.setClientuserid(value);
4058
4170
  break;
4059
4171
  case 3:
4060
4172
  var value = /** @type {string} */ (reader.readString());
4061
- msg.setBillercode(value);
4062
- break;
4063
- case 4:
4064
- var value = /** @type {string} */ (reader.readString());
4065
- msg.setReference(value);
4066
- break;
4067
- case 5:
4068
- var value = /** @type {number} */ (reader.readDouble());
4069
- msg.setAmount(value);
4070
- break;
4071
- case 6:
4072
- var value = /** @type {string} */ (reader.readString());
4073
- msg.setDuedate(value);
4074
- break;
4075
- case 7:
4076
- var value = /** @type {string} */ (reader.readString());
4077
- msg.setInvoicenumber(value);
4078
- break;
4079
- case 8:
4080
- var value = /** @type {string} */ (reader.readString());
4081
- msg.setDescription(value);
4173
+ msg.setDeliverybatchname(value);
4082
4174
  break;
4083
4175
  default:
4084
4176
  reader.skipField();
@@ -4093,9 +4185,9 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBina
4093
4185
  * Serializes the message to binary data (in protobuf wire format).
4094
4186
  * @return {!Uint8Array}
4095
4187
  */
4096
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.serializeBinary = function() {
4188
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.serializeBinary = function() {
4097
4189
  var writer = new jspb.BinaryWriter();
4098
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.serializeBinaryToWriter(this, writer);
4190
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.serializeBinaryToWriter(this, writer);
4099
4191
  return writer.getResultBuffer();
4100
4192
  };
4101
4193
 
@@ -4103,150 +4195,384 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.seria
4103
4195
  /**
4104
4196
  * Serializes the given message to binary data (in protobuf wire
4105
4197
  * format), writing to the given BinaryWriter.
4106
- * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} message
4198
+ * @param {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} message
4107
4199
  * @param {!jspb.BinaryWriter} writer
4108
4200
  * @suppress {unusedLocalVariables} f is only used for nested messages
4109
4201
  */
4110
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.serializeBinaryToWriter = function(message, writer) {
4202
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.serializeBinaryToWriter = function(message, writer) {
4111
4203
  var f = undefined;
4112
- f = message.getClientuserid();
4113
- if (f !== 0) {
4114
- writer.writeInt64(
4204
+ f = message.getAgentbillidsList();
4205
+ if (f.length > 0) {
4206
+ writer.writePackedInt64(
4115
4207
  1,
4116
4208
  f
4117
4209
  );
4118
4210
  }
4119
- f = message.getUploadbatchid();
4211
+ f = message.getClientuserid();
4120
4212
  if (f !== 0) {
4121
4213
  writer.writeInt64(
4122
4214
  2,
4123
4215
  f
4124
4216
  );
4125
4217
  }
4126
- f = message.getBillercode();
4218
+ f = message.getDeliverybatchname();
4127
4219
  if (f.length > 0) {
4128
4220
  writer.writeString(
4129
4221
  3,
4130
4222
  f
4131
4223
  );
4132
4224
  }
4133
- f = message.getReference();
4134
- if (f.length > 0) {
4135
- writer.writeString(
4136
- 4,
4137
- f
4138
- );
4139
- }
4140
- f = message.getAmount();
4141
- if (f !== 0.0) {
4142
- writer.writeDouble(
4143
- 5,
4144
- f
4145
- );
4146
- }
4147
- f = message.getDuedate();
4148
- if (f.length > 0) {
4149
- writer.writeString(
4150
- 6,
4151
- f
4152
- );
4153
- }
4154
- f = message.getInvoicenumber();
4155
- if (f.length > 0) {
4156
- writer.writeString(
4157
- 7,
4158
- f
4159
- );
4160
- }
4161
- f = message.getDescription();
4162
- if (f.length > 0) {
4163
- writer.writeString(
4164
- 8,
4165
- f
4166
- );
4167
- }
4168
4225
  };
4169
4226
 
4170
4227
 
4171
4228
  /**
4172
- * optional int64 clientUserId = 1;
4173
- * @return {number}
4229
+ * repeated int64 agentBillIds = 1;
4230
+ * @return {!Array<number>}
4174
4231
  */
4175
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getClientuserid = function() {
4176
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4232
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.getAgentbillidsList = function() {
4233
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
4234
+ };
4235
+
4236
+
4237
+ /**
4238
+ * @param {!Array<number>} value
4239
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} returns this
4240
+ */
4241
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.setAgentbillidsList = function(value) {
4242
+ return jspb.Message.setField(this, 1, value || []);
4177
4243
  };
4178
4244
 
4179
4245
 
4180
4246
  /**
4181
4247
  * @param {number} value
4182
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4248
+ * @param {number=} opt_index
4249
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} returns this
4183
4250
  */
4184
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setClientuserid = function(value) {
4185
- return jspb.Message.setProto3IntField(this, 1, value);
4251
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.addAgentbillids = function(value, opt_index) {
4252
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
4186
4253
  };
4187
4254
 
4188
4255
 
4189
4256
  /**
4190
- * optional int64 uploadBatchId = 2;
4257
+ * Clears the list making it empty but non-null.
4258
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} returns this
4259
+ */
4260
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.clearAgentbillidsList = function() {
4261
+ return this.setAgentbillidsList([]);
4262
+ };
4263
+
4264
+
4265
+ /**
4266
+ * optional int64 clientUserId = 2;
4191
4267
  * @return {number}
4192
4268
  */
4193
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getUploadbatchid = function() {
4269
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.getClientuserid = function() {
4194
4270
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4195
4271
  };
4196
4272
 
4197
4273
 
4198
4274
  /**
4199
4275
  * @param {number} value
4200
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4276
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} returns this
4201
4277
  */
4202
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setUploadbatchid = function(value) {
4278
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.setClientuserid = function(value) {
4203
4279
  return jspb.Message.setProto3IntField(this, 2, value);
4204
4280
  };
4205
4281
 
4206
4282
 
4207
4283
  /**
4208
- * optional string billerCode = 3;
4284
+ * optional string deliveryBatchName = 3;
4209
4285
  * @return {string}
4210
4286
  */
4211
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getBillercode = function() {
4287
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.getDeliverybatchname = function() {
4212
4288
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4213
4289
  };
4214
4290
 
4215
4291
 
4216
4292
  /**
4217
4293
  * @param {string} value
4218
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4294
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} returns this
4219
4295
  */
4220
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setBillercode = function(value) {
4296
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.setDeliverybatchname = function(value) {
4221
4297
  return jspb.Message.setProto3StringField(this, 3, value);
4222
4298
  };
4223
4299
 
4224
4300
 
4225
- /**
4226
- * optional string reference = 4;
4227
- * @return {string}
4228
- */
4229
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getReference = function() {
4230
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4231
- };
4232
4301
 
4233
4302
 
4303
+
4304
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4234
4305
  /**
4235
- * @param {string} value
4236
- * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4306
+ * Creates an object representation of this proto.
4307
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4308
+ * Optional fields that are not set will be set to undefined.
4309
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4310
+ * For the list of reserved names please see:
4311
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4312
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4313
+ * JSPB instance for transitional soy proto support:
4314
+ * http://goto/soy-param-migration
4315
+ * @return {!Object}
4237
4316
  */
4238
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setReference = function(value) {
4239
- return jspb.Message.setProto3StringField(this, 4, value);
4317
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.toObject = function(opt_includeInstance) {
4318
+ return proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.toObject(opt_includeInstance, this);
4240
4319
  };
4241
4320
 
4242
4321
 
4243
4322
  /**
4244
- * optional double amount = 5;
4245
- * @return {number}
4246
- */
4247
- proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getAmount = function() {
4248
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
4249
- };
4323
+ * Static version of the {@see toObject} method.
4324
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4325
+ * the JSPB instance for transitional soy proto support:
4326
+ * http://goto/soy-param-migration
4327
+ * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} msg The msg instance to transform.
4328
+ * @return {!Object}
4329
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4330
+ */
4331
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.toObject = function(includeInstance, msg) {
4332
+ var f, obj = {
4333
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
4334
+ uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
4335
+ billercode: jspb.Message.getFieldWithDefault(msg, 3, ""),
4336
+ reference: jspb.Message.getFieldWithDefault(msg, 4, ""),
4337
+ amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
4338
+ duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
4339
+ invoicenumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
4340
+ description: jspb.Message.getFieldWithDefault(msg, 8, "")
4341
+ };
4342
+
4343
+ if (includeInstance) {
4344
+ obj.$jspbMessageInstance = msg;
4345
+ }
4346
+ return obj;
4347
+ };
4348
+ }
4349
+
4350
+
4351
+ /**
4352
+ * Deserializes binary data (in protobuf wire format).
4353
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4354
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest}
4355
+ */
4356
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinary = function(bytes) {
4357
+ var reader = new jspb.BinaryReader(bytes);
4358
+ var msg = new proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest;
4359
+ return proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinaryFromReader(msg, reader);
4360
+ };
4361
+
4362
+
4363
+ /**
4364
+ * Deserializes binary data (in protobuf wire format) from the
4365
+ * given reader into the given message object.
4366
+ * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} msg The message object to deserialize into.
4367
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4368
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest}
4369
+ */
4370
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.deserializeBinaryFromReader = function(msg, reader) {
4371
+ while (reader.nextField()) {
4372
+ if (reader.isEndGroup()) {
4373
+ break;
4374
+ }
4375
+ var field = reader.getFieldNumber();
4376
+ switch (field) {
4377
+ case 1:
4378
+ var value = /** @type {number} */ (reader.readInt64());
4379
+ msg.setClientuserid(value);
4380
+ break;
4381
+ case 2:
4382
+ var value = /** @type {number} */ (reader.readInt64());
4383
+ msg.setUploadbatchid(value);
4384
+ break;
4385
+ case 3:
4386
+ var value = /** @type {string} */ (reader.readString());
4387
+ msg.setBillercode(value);
4388
+ break;
4389
+ case 4:
4390
+ var value = /** @type {string} */ (reader.readString());
4391
+ msg.setReference(value);
4392
+ break;
4393
+ case 5:
4394
+ var value = /** @type {number} */ (reader.readDouble());
4395
+ msg.setAmount(value);
4396
+ break;
4397
+ case 6:
4398
+ var value = /** @type {string} */ (reader.readString());
4399
+ msg.setDuedate(value);
4400
+ break;
4401
+ case 7:
4402
+ var value = /** @type {string} */ (reader.readString());
4403
+ msg.setInvoicenumber(value);
4404
+ break;
4405
+ case 8:
4406
+ var value = /** @type {string} */ (reader.readString());
4407
+ msg.setDescription(value);
4408
+ break;
4409
+ default:
4410
+ reader.skipField();
4411
+ break;
4412
+ }
4413
+ }
4414
+ return msg;
4415
+ };
4416
+
4417
+
4418
+ /**
4419
+ * Serializes the message to binary data (in protobuf wire format).
4420
+ * @return {!Uint8Array}
4421
+ */
4422
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.serializeBinary = function() {
4423
+ var writer = new jspb.BinaryWriter();
4424
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.serializeBinaryToWriter(this, writer);
4425
+ return writer.getResultBuffer();
4426
+ };
4427
+
4428
+
4429
+ /**
4430
+ * Serializes the given message to binary data (in protobuf wire
4431
+ * format), writing to the given BinaryWriter.
4432
+ * @param {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} message
4433
+ * @param {!jspb.BinaryWriter} writer
4434
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4435
+ */
4436
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.serializeBinaryToWriter = function(message, writer) {
4437
+ var f = undefined;
4438
+ f = message.getClientuserid();
4439
+ if (f !== 0) {
4440
+ writer.writeInt64(
4441
+ 1,
4442
+ f
4443
+ );
4444
+ }
4445
+ f = message.getUploadbatchid();
4446
+ if (f !== 0) {
4447
+ writer.writeInt64(
4448
+ 2,
4449
+ f
4450
+ );
4451
+ }
4452
+ f = message.getBillercode();
4453
+ if (f.length > 0) {
4454
+ writer.writeString(
4455
+ 3,
4456
+ f
4457
+ );
4458
+ }
4459
+ f = message.getReference();
4460
+ if (f.length > 0) {
4461
+ writer.writeString(
4462
+ 4,
4463
+ f
4464
+ );
4465
+ }
4466
+ f = message.getAmount();
4467
+ if (f !== 0.0) {
4468
+ writer.writeDouble(
4469
+ 5,
4470
+ f
4471
+ );
4472
+ }
4473
+ f = message.getDuedate();
4474
+ if (f.length > 0) {
4475
+ writer.writeString(
4476
+ 6,
4477
+ f
4478
+ );
4479
+ }
4480
+ f = message.getInvoicenumber();
4481
+ if (f.length > 0) {
4482
+ writer.writeString(
4483
+ 7,
4484
+ f
4485
+ );
4486
+ }
4487
+ f = message.getDescription();
4488
+ if (f.length > 0) {
4489
+ writer.writeString(
4490
+ 8,
4491
+ f
4492
+ );
4493
+ }
4494
+ };
4495
+
4496
+
4497
+ /**
4498
+ * optional int64 clientUserId = 1;
4499
+ * @return {number}
4500
+ */
4501
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getClientuserid = function() {
4502
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4503
+ };
4504
+
4505
+
4506
+ /**
4507
+ * @param {number} value
4508
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4509
+ */
4510
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setClientuserid = function(value) {
4511
+ return jspb.Message.setProto3IntField(this, 1, value);
4512
+ };
4513
+
4514
+
4515
+ /**
4516
+ * optional int64 uploadBatchId = 2;
4517
+ * @return {number}
4518
+ */
4519
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getUploadbatchid = function() {
4520
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4521
+ };
4522
+
4523
+
4524
+ /**
4525
+ * @param {number} value
4526
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4527
+ */
4528
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setUploadbatchid = function(value) {
4529
+ return jspb.Message.setProto3IntField(this, 2, value);
4530
+ };
4531
+
4532
+
4533
+ /**
4534
+ * optional string billerCode = 3;
4535
+ * @return {string}
4536
+ */
4537
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getBillercode = function() {
4538
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4539
+ };
4540
+
4541
+
4542
+ /**
4543
+ * @param {string} value
4544
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4545
+ */
4546
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setBillercode = function(value) {
4547
+ return jspb.Message.setProto3StringField(this, 3, value);
4548
+ };
4549
+
4550
+
4551
+ /**
4552
+ * optional string reference = 4;
4553
+ * @return {string}
4554
+ */
4555
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getReference = function() {
4556
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4557
+ };
4558
+
4559
+
4560
+ /**
4561
+ * @param {string} value
4562
+ * @return {!proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest} returns this
4563
+ */
4564
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setReference = function(value) {
4565
+ return jspb.Message.setProto3StringField(this, 4, value);
4566
+ };
4567
+
4568
+
4569
+ /**
4570
+ * optional double amount = 5;
4571
+ * @return {number}
4572
+ */
4573
+ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.getAmount = function() {
4574
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
4575
+ };
4250
4576
 
4251
4577
 
4252
4578
  /**
@@ -5540,7 +5866,8 @@ proto.agentbillingserviceapi.DeliveryBatch.toObject = function(includeInstance,
5540
5866
  agentuserid: jspb.Message.getFieldWithDefault(msg, 6, 0),
5541
5867
  agentname: jspb.Message.getFieldWithDefault(msg, 7, ""),
5542
5868
  isbatchlocked: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
5543
- requiresattention: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
5869
+ requiresattention: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
5870
+ creationtimestamp: jspb.Message.getFieldWithDefault(msg, 10, "")
5544
5871
  };
5545
5872
 
5546
5873
  if (includeInstance) {
@@ -5613,6 +5940,10 @@ proto.agentbillingserviceapi.DeliveryBatch.deserializeBinaryFromReader = functio
5613
5940
  var value = /** @type {boolean} */ (reader.readBool());
5614
5941
  msg.setRequiresattention(value);
5615
5942
  break;
5943
+ case 10:
5944
+ var value = /** @type {string} */ (reader.readString());
5945
+ msg.setCreationtimestamp(value);
5946
+ break;
5616
5947
  default:
5617
5948
  reader.skipField();
5618
5949
  break;
@@ -5705,6 +6036,13 @@ proto.agentbillingserviceapi.DeliveryBatch.serializeBinaryToWriter = function(me
5705
6036
  f
5706
6037
  );
5707
6038
  }
6039
+ f = message.getCreationtimestamp();
6040
+ if (f.length > 0) {
6041
+ writer.writeString(
6042
+ 10,
6043
+ f
6044
+ );
6045
+ }
5708
6046
  };
5709
6047
 
5710
6048
 
@@ -5870,6 +6208,24 @@ proto.agentbillingserviceapi.DeliveryBatch.prototype.setRequiresattention = func
5870
6208
  };
5871
6209
 
5872
6210
 
6211
+ /**
6212
+ * optional string creationTimestamp = 10;
6213
+ * @return {string}
6214
+ */
6215
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.getCreationtimestamp = function() {
6216
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
6217
+ };
6218
+
6219
+
6220
+ /**
6221
+ * @param {string} value
6222
+ * @return {!proto.agentbillingserviceapi.DeliveryBatch} returns this
6223
+ */
6224
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.setCreationtimestamp = function(value) {
6225
+ return jspb.Message.setProto3StringField(this, 10, value);
6226
+ };
6227
+
6228
+
5873
6229
 
5874
6230
 
5875
6231
 
@@ -6607,8 +6963,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
6607
6963
  * http://goto/soy-param-migration
6608
6964
  * @return {!Object}
6609
6965
  */
6610
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.toObject = function(opt_includeInstance) {
6611
- return proto.agentbillingserviceapi.GetAgentBillsForClientRequest.toObject(opt_includeInstance, this);
6966
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.toObject = function(opt_includeInstance) {
6967
+ return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.toObject(opt_includeInstance, this);
6612
6968
  };
6613
6969
 
6614
6970
 
@@ -6617,18 +6973,14 @@ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.toObject =
6617
6973
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6618
6974
  * the JSPB instance for transitional soy proto support:
6619
6975
  * http://goto/soy-param-migration
6620
- * @param {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} msg The msg instance to transform.
6976
+ * @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} msg The msg instance to transform.
6621
6977
  * @return {!Object}
6622
6978
  * @suppress {unusedLocalVariables} f is only used for nested messages
6623
6979
  */
6624
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.toObject = function(includeInstance, msg) {
6980
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.toObject = function(includeInstance, msg) {
6625
6981
  var f, obj = {
6626
- clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
6627
- page: jspb.Message.getFieldWithDefault(msg, 2, 0),
6628
- size: jspb.Message.getFieldWithDefault(msg, 3, 0),
6629
- sortby: jspb.Message.getFieldWithDefault(msg, 4, ""),
6630
- sortdirection: jspb.Message.getFieldWithDefault(msg, 5, ""),
6631
- status: jspb.Message.getFieldWithDefault(msg, 6, "")
6982
+ billid: jspb.Message.getFieldWithDefault(msg, 1, 0),
6983
+ userid: jspb.Message.getFieldWithDefault(msg, 2, 0)
6632
6984
  };
6633
6985
 
6634
6986
  if (includeInstance) {
@@ -6642,23 +6994,23 @@ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.toObject = function(i
6642
6994
  /**
6643
6995
  * Deserializes binary data (in protobuf wire format).
6644
6996
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
6645
- * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest}
6997
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest}
6646
6998
  */
6647
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.deserializeBinary = function(bytes) {
6999
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.deserializeBinary = function(bytes) {
6648
7000
  var reader = new jspb.BinaryReader(bytes);
6649
- var msg = new proto.agentbillingserviceapi.GetAgentBillsForClientRequest;
6650
- return proto.agentbillingserviceapi.GetAgentBillsForClientRequest.deserializeBinaryFromReader(msg, reader);
7001
+ var msg = new proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest;
7002
+ return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.deserializeBinaryFromReader(msg, reader);
6651
7003
  };
6652
7004
 
6653
7005
 
6654
7006
  /**
6655
7007
  * Deserializes binary data (in protobuf wire format) from the
6656
7008
  * given reader into the given message object.
6657
- * @param {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} msg The message object to deserialize into.
7009
+ * @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} msg The message object to deserialize into.
6658
7010
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6659
- * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest}
7011
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest}
6660
7012
  */
6661
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.deserializeBinaryFromReader = function(msg, reader) {
7013
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.deserializeBinaryFromReader = function(msg, reader) {
6662
7014
  while (reader.nextField()) {
6663
7015
  if (reader.isEndGroup()) {
6664
7016
  break;
@@ -6667,27 +7019,11 @@ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.deserializeBinaryFrom
6667
7019
  switch (field) {
6668
7020
  case 1:
6669
7021
  var value = /** @type {number} */ (reader.readInt64());
6670
- msg.setClientuserid(value);
7022
+ msg.setBillid(value);
6671
7023
  break;
6672
7024
  case 2:
6673
- var value = /** @type {number} */ (reader.readInt32());
6674
- msg.setPage(value);
6675
- break;
6676
- case 3:
6677
- var value = /** @type {number} */ (reader.readInt32());
6678
- msg.setSize(value);
6679
- break;
6680
- case 4:
6681
- var value = /** @type {string} */ (reader.readString());
6682
- msg.setSortby(value);
6683
- break;
6684
- case 5:
6685
- var value = /** @type {string} */ (reader.readString());
6686
- msg.setSortdirection(value);
6687
- break;
6688
- case 6:
6689
- var value = /** @type {string} */ (reader.readString());
6690
- msg.setStatus(value);
7025
+ var value = /** @type {number} */ (reader.readInt64());
7026
+ msg.setUserid(value);
6691
7027
  break;
6692
7028
  default:
6693
7029
  reader.skipField();
@@ -6702,9 +7038,9 @@ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.deserializeBinaryFrom
6702
7038
  * Serializes the message to binary data (in protobuf wire format).
6703
7039
  * @return {!Uint8Array}
6704
7040
  */
6705
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.serializeBinary = function() {
7041
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.serializeBinary = function() {
6706
7042
  var writer = new jspb.BinaryWriter();
6707
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.serializeBinaryToWriter(this, writer);
7043
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.serializeBinaryToWriter(this, writer);
6708
7044
  return writer.getResultBuffer();
6709
7045
  };
6710
7046
 
@@ -6712,172 +7048,65 @@ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.serializeBi
6712
7048
  /**
6713
7049
  * Serializes the given message to binary data (in protobuf wire
6714
7050
  * format), writing to the given BinaryWriter.
6715
- * @param {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} message
7051
+ * @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} message
6716
7052
  * @param {!jspb.BinaryWriter} writer
6717
7053
  * @suppress {unusedLocalVariables} f is only used for nested messages
6718
7054
  */
6719
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.serializeBinaryToWriter = function(message, writer) {
7055
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.serializeBinaryToWriter = function(message, writer) {
6720
7056
  var f = undefined;
6721
- f = message.getClientuserid();
7057
+ f = message.getBillid();
6722
7058
  if (f !== 0) {
6723
7059
  writer.writeInt64(
6724
7060
  1,
6725
7061
  f
6726
7062
  );
6727
7063
  }
6728
- f = message.getPage();
7064
+ f = message.getUserid();
6729
7065
  if (f !== 0) {
6730
- writer.writeInt32(
7066
+ writer.writeInt64(
6731
7067
  2,
6732
7068
  f
6733
7069
  );
6734
7070
  }
6735
- f = message.getSize();
6736
- if (f !== 0) {
6737
- writer.writeInt32(
6738
- 3,
6739
- f
6740
- );
6741
- }
6742
- f = message.getSortby();
6743
- if (f.length > 0) {
6744
- writer.writeString(
6745
- 4,
6746
- f
6747
- );
6748
- }
6749
- f = message.getSortdirection();
6750
- if (f.length > 0) {
6751
- writer.writeString(
6752
- 5,
6753
- f
6754
- );
6755
- }
6756
- f = message.getStatus();
6757
- if (f.length > 0) {
6758
- writer.writeString(
6759
- 6,
6760
- f
6761
- );
6762
- }
6763
7071
  };
6764
7072
 
6765
7073
 
6766
7074
  /**
6767
- * optional int64 clientUserId = 1;
7075
+ * optional int64 billId = 1;
6768
7076
  * @return {number}
6769
7077
  */
6770
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getClientuserid = function() {
7078
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.getBillid = function() {
6771
7079
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
6772
7080
  };
6773
7081
 
6774
7082
 
6775
7083
  /**
6776
7084
  * @param {number} value
6777
- * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
7085
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} returns this
6778
7086
  */
6779
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setClientuserid = function(value) {
7087
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.setBillid = function(value) {
6780
7088
  return jspb.Message.setProto3IntField(this, 1, value);
6781
7089
  };
6782
7090
 
6783
7091
 
6784
7092
  /**
6785
- * optional int32 page = 2;
7093
+ * optional int64 userId = 2;
6786
7094
  * @return {number}
6787
7095
  */
6788
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getPage = function() {
7096
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.getUserid = function() {
6789
7097
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6790
7098
  };
6791
7099
 
6792
7100
 
6793
7101
  /**
6794
7102
  * @param {number} value
6795
- * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
7103
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} returns this
6796
7104
  */
6797
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setPage = function(value) {
7105
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.setUserid = function(value) {
6798
7106
  return jspb.Message.setProto3IntField(this, 2, value);
6799
7107
  };
6800
7108
 
6801
7109
 
6802
- /**
6803
- * optional int32 size = 3;
6804
- * @return {number}
6805
- */
6806
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getSize = function() {
6807
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
6808
- };
6809
-
6810
-
6811
- /**
6812
- * @param {number} value
6813
- * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
6814
- */
6815
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setSize = function(value) {
6816
- return jspb.Message.setProto3IntField(this, 3, value);
6817
- };
6818
-
6819
-
6820
- /**
6821
- * optional string sortBy = 4;
6822
- * @return {string}
6823
- */
6824
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getSortby = function() {
6825
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6826
- };
6827
-
6828
-
6829
- /**
6830
- * @param {string} value
6831
- * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
6832
- */
6833
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setSortby = function(value) {
6834
- return jspb.Message.setProto3StringField(this, 4, value);
6835
- };
6836
-
6837
-
6838
- /**
6839
- * optional string sortDirection = 5;
6840
- * @return {string}
6841
- */
6842
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getSortdirection = function() {
6843
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
6844
- };
6845
-
6846
-
6847
- /**
6848
- * @param {string} value
6849
- * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
6850
- */
6851
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setSortdirection = function(value) {
6852
- return jspb.Message.setProto3StringField(this, 5, value);
6853
- };
6854
-
6855
-
6856
- /**
6857
- * optional string status = 6;
6858
- * @return {string}
6859
- */
6860
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getStatus = function() {
6861
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
6862
- };
6863
-
6864
-
6865
- /**
6866
- * @param {string} value
6867
- * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
6868
- */
6869
- proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setStatus = function(value) {
6870
- return jspb.Message.setProto3StringField(this, 6, value);
6871
- };
6872
-
6873
-
6874
-
6875
- /**
6876
- * List of repeated fields within this message type.
6877
- * @private {!Array<number>}
6878
- * @const
6879
- */
6880
- proto.agentbillingserviceapi.GetAgentBillsResponse.repeatedFields_ = [2];
6881
7110
 
6882
7111
 
6883
7112
 
@@ -6894,8 +7123,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
6894
7123
  * http://goto/soy-param-migration
6895
7124
  * @return {!Object}
6896
7125
  */
6897
- proto.agentbillingserviceapi.GetAgentBillsResponse.prototype.toObject = function(opt_includeInstance) {
6898
- return proto.agentbillingserviceapi.GetAgentBillsResponse.toObject(opt_includeInstance, this);
7126
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.toObject = function(opt_includeInstance) {
7127
+ return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.toObject(opt_includeInstance, this);
6899
7128
  };
6900
7129
 
6901
7130
 
@@ -6904,19 +7133,19 @@ proto.agentbillingserviceapi.GetAgentBillsResponse.prototype.toObject = function
6904
7133
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6905
7134
  * the JSPB instance for transitional soy proto support:
6906
7135
  * http://goto/soy-param-migration
6907
- * @param {!proto.agentbillingserviceapi.GetAgentBillsResponse} msg The msg instance to transform.
7136
+ * @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} msg The msg instance to transform.
6908
7137
  * @return {!Object}
6909
7138
  * @suppress {unusedLocalVariables} f is only used for nested messages
6910
7139
  */
6911
- proto.agentbillingserviceapi.GetAgentBillsResponse.toObject = function(includeInstance, msg) {
7140
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.toObject = function(includeInstance, msg) {
6912
7141
  var f, obj = {
6913
7142
  responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
6914
- agentbillsList: jspb.Message.toObjectList(msg.getAgentbillsList(),
6915
- proto.agentbillingserviceapi.AgentBill.toObject, includeInstance),
6916
- page: jspb.Message.getFieldWithDefault(msg, 3, 0),
6917
- size: jspb.Message.getFieldWithDefault(msg, 4, 0),
6918
- totalpages: jspb.Message.getFieldWithDefault(msg, 5, 0),
6919
- totalsize: jspb.Message.getFieldWithDefault(msg, 6, 0)
7143
+ agentbillid: jspb.Message.getFieldWithDefault(msg, 2, 0),
7144
+ agentuserid: jspb.Message.getFieldWithDefault(msg, 3, 0),
7145
+ agentfirstname: jspb.Message.getFieldWithDefault(msg, 4, ""),
7146
+ agentlastname: jspb.Message.getFieldWithDefault(msg, 5, ""),
7147
+ deliverybatchname: jspb.Message.getFieldWithDefault(msg, 6, ""),
7148
+ deliverytimestamp: jspb.Message.getFieldWithDefault(msg, 7, "")
6920
7149
  };
6921
7150
 
6922
7151
  if (includeInstance) {
@@ -6930,23 +7159,23 @@ proto.agentbillingserviceapi.GetAgentBillsResponse.toObject = function(includeIn
6930
7159
  /**
6931
7160
  * Deserializes binary data (in protobuf wire format).
6932
7161
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
6933
- * @return {!proto.agentbillingserviceapi.GetAgentBillsResponse}
7162
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse}
6934
7163
  */
6935
- proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinary = function(bytes) {
7164
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinary = function(bytes) {
6936
7165
  var reader = new jspb.BinaryReader(bytes);
6937
- var msg = new proto.agentbillingserviceapi.GetAgentBillsResponse;
6938
- return proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinaryFromReader(msg, reader);
7166
+ var msg = new proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse;
7167
+ return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinaryFromReader(msg, reader);
6939
7168
  };
6940
7169
 
6941
7170
 
6942
7171
  /**
6943
7172
  * Deserializes binary data (in protobuf wire format) from the
6944
7173
  * given reader into the given message object.
6945
- * @param {!proto.agentbillingserviceapi.GetAgentBillsResponse} msg The message object to deserialize into.
7174
+ * @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} msg The message object to deserialize into.
6946
7175
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6947
- * @return {!proto.agentbillingserviceapi.GetAgentBillsResponse}
7176
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse}
6948
7177
  */
6949
- proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinaryFromReader = function(msg, reader) {
7178
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinaryFromReader = function(msg, reader) {
6950
7179
  while (reader.nextField()) {
6951
7180
  if (reader.isEndGroup()) {
6952
7181
  break;
@@ -6959,25 +7188,28 @@ proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinaryFromReader =
6959
7188
  msg.setResponsecode(value);
6960
7189
  break;
6961
7190
  case 2:
6962
- var value = new proto.agentbillingserviceapi.AgentBill;
6963
- reader.readMessage(value,proto.agentbillingserviceapi.AgentBill.deserializeBinaryFromReader);
6964
- msg.addAgentbills(value);
7191
+ var value = /** @type {number} */ (reader.readInt64());
7192
+ msg.setAgentbillid(value);
6965
7193
  break;
6966
7194
  case 3:
6967
- var value = /** @type {number} */ (reader.readInt32());
6968
- msg.setPage(value);
7195
+ var value = /** @type {number} */ (reader.readInt64());
7196
+ msg.setAgentuserid(value);
6969
7197
  break;
6970
7198
  case 4:
6971
- var value = /** @type {number} */ (reader.readInt32());
6972
- msg.setSize(value);
7199
+ var value = /** @type {string} */ (reader.readString());
7200
+ msg.setAgentfirstname(value);
6973
7201
  break;
6974
7202
  case 5:
6975
- var value = /** @type {number} */ (reader.readInt32());
6976
- msg.setTotalpages(value);
7203
+ var value = /** @type {string} */ (reader.readString());
7204
+ msg.setAgentlastname(value);
6977
7205
  break;
6978
7206
  case 6:
6979
- var value = /** @type {number} */ (reader.readInt64());
6980
- msg.setTotalsize(value);
7207
+ var value = /** @type {string} */ (reader.readString());
7208
+ msg.setDeliverybatchname(value);
7209
+ break;
7210
+ case 7:
7211
+ var value = /** @type {string} */ (reader.readString());
7212
+ msg.setDeliverytimestamp(value);
6981
7213
  break;
6982
7214
  default:
6983
7215
  reader.skipField();
@@ -6992,9 +7224,9 @@ proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinaryFromReader =
6992
7224
  * Serializes the message to binary data (in protobuf wire format).
6993
7225
  * @return {!Uint8Array}
6994
7226
  */
6995
- proto.agentbillingserviceapi.GetAgentBillsResponse.prototype.serializeBinary = function() {
7227
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.serializeBinary = function() {
6996
7228
  var writer = new jspb.BinaryWriter();
6997
- proto.agentbillingserviceapi.GetAgentBillsResponse.serializeBinaryToWriter(this, writer);
7229
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.serializeBinaryToWriter(this, writer);
6998
7230
  return writer.getResultBuffer();
6999
7231
  };
7000
7232
 
@@ -7002,11 +7234,11 @@ proto.agentbillingserviceapi.GetAgentBillsResponse.prototype.serializeBinary = f
7002
7234
  /**
7003
7235
  * Serializes the given message to binary data (in protobuf wire
7004
7236
  * format), writing to the given BinaryWriter.
7005
- * @param {!proto.agentbillingserviceapi.GetAgentBillsResponse} message
7237
+ * @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} message
7006
7238
  * @param {!jspb.BinaryWriter} writer
7007
7239
  * @suppress {unusedLocalVariables} f is only used for nested messages
7008
7240
  */
7009
- proto.agentbillingserviceapi.GetAgentBillsResponse.serializeBinaryToWriter = function(message, writer) {
7241
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.serializeBinaryToWriter = function(message, writer) {
7010
7242
  var f = undefined;
7011
7243
  f = message.getResponsecode();
7012
7244
  if (f != null) {
@@ -7016,39 +7248,654 @@ proto.agentbillingserviceapi.GetAgentBillsResponse.serializeBinaryToWriter = fun
7016
7248
  proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
7017
7249
  );
7018
7250
  }
7019
- f = message.getAgentbillsList();
7020
- if (f.length > 0) {
7021
- writer.writeRepeatedMessage(
7251
+ f = message.getAgentbillid();
7252
+ if (f !== 0) {
7253
+ writer.writeInt64(
7022
7254
  2,
7023
- f,
7024
- proto.agentbillingserviceapi.AgentBill.serializeBinaryToWriter
7255
+ f
7025
7256
  );
7026
7257
  }
7027
- f = message.getPage();
7258
+ f = message.getAgentuserid();
7028
7259
  if (f !== 0) {
7029
- writer.writeInt32(
7260
+ writer.writeInt64(
7030
7261
  3,
7031
7262
  f
7032
7263
  );
7033
7264
  }
7034
- f = message.getSize();
7035
- if (f !== 0) {
7036
- writer.writeInt32(
7265
+ f = message.getAgentfirstname();
7266
+ if (f.length > 0) {
7267
+ writer.writeString(
7037
7268
  4,
7038
7269
  f
7039
7270
  );
7040
7271
  }
7041
- f = message.getTotalpages();
7042
- if (f !== 0) {
7043
- writer.writeInt32(
7272
+ f = message.getAgentlastname();
7273
+ if (f.length > 0) {
7274
+ writer.writeString(
7044
7275
  5,
7045
7276
  f
7046
7277
  );
7047
7278
  }
7048
- f = message.getTotalsize();
7049
- if (f !== 0) {
7050
- writer.writeInt64(
7051
- 6,
7279
+ f = message.getDeliverybatchname();
7280
+ if (f.length > 0) {
7281
+ writer.writeString(
7282
+ 6,
7283
+ f
7284
+ );
7285
+ }
7286
+ f = message.getDeliverytimestamp();
7287
+ if (f.length > 0) {
7288
+ writer.writeString(
7289
+ 7,
7290
+ f
7291
+ );
7292
+ }
7293
+ };
7294
+
7295
+
7296
+ /**
7297
+ * optional ResponseCode responseCode = 1;
7298
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
7299
+ */
7300
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getResponsecode = function() {
7301
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
7302
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
7303
+ };
7304
+
7305
+
7306
+ /**
7307
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
7308
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
7309
+ */
7310
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setResponsecode = function(value) {
7311
+ return jspb.Message.setWrapperField(this, 1, value);
7312
+ };
7313
+
7314
+
7315
+ /**
7316
+ * Clears the message field making it undefined.
7317
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
7318
+ */
7319
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.clearResponsecode = function() {
7320
+ return this.setResponsecode(undefined);
7321
+ };
7322
+
7323
+
7324
+ /**
7325
+ * Returns whether this field is set.
7326
+ * @return {boolean}
7327
+ */
7328
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.hasResponsecode = function() {
7329
+ return jspb.Message.getField(this, 1) != null;
7330
+ };
7331
+
7332
+
7333
+ /**
7334
+ * optional int64 agentBillId = 2;
7335
+ * @return {number}
7336
+ */
7337
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getAgentbillid = function() {
7338
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
7339
+ };
7340
+
7341
+
7342
+ /**
7343
+ * @param {number} value
7344
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
7345
+ */
7346
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setAgentbillid = function(value) {
7347
+ return jspb.Message.setProto3IntField(this, 2, value);
7348
+ };
7349
+
7350
+
7351
+ /**
7352
+ * optional int64 agentUserId = 3;
7353
+ * @return {number}
7354
+ */
7355
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getAgentuserid = function() {
7356
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
7357
+ };
7358
+
7359
+
7360
+ /**
7361
+ * @param {number} value
7362
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
7363
+ */
7364
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setAgentuserid = function(value) {
7365
+ return jspb.Message.setProto3IntField(this, 3, value);
7366
+ };
7367
+
7368
+
7369
+ /**
7370
+ * optional string agentFirstName = 4;
7371
+ * @return {string}
7372
+ */
7373
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getAgentfirstname = function() {
7374
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
7375
+ };
7376
+
7377
+
7378
+ /**
7379
+ * @param {string} value
7380
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
7381
+ */
7382
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setAgentfirstname = function(value) {
7383
+ return jspb.Message.setProto3StringField(this, 4, value);
7384
+ };
7385
+
7386
+
7387
+ /**
7388
+ * optional string agentLastName = 5;
7389
+ * @return {string}
7390
+ */
7391
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getAgentlastname = function() {
7392
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
7393
+ };
7394
+
7395
+
7396
+ /**
7397
+ * @param {string} value
7398
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
7399
+ */
7400
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setAgentlastname = function(value) {
7401
+ return jspb.Message.setProto3StringField(this, 5, value);
7402
+ };
7403
+
7404
+
7405
+ /**
7406
+ * optional string deliveryBatchName = 6;
7407
+ * @return {string}
7408
+ */
7409
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getDeliverybatchname = function() {
7410
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
7411
+ };
7412
+
7413
+
7414
+ /**
7415
+ * @param {string} value
7416
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
7417
+ */
7418
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setDeliverybatchname = function(value) {
7419
+ return jspb.Message.setProto3StringField(this, 6, value);
7420
+ };
7421
+
7422
+
7423
+ /**
7424
+ * optional string deliveryTimestamp = 7;
7425
+ * @return {string}
7426
+ */
7427
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getDeliverytimestamp = function() {
7428
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
7429
+ };
7430
+
7431
+
7432
+ /**
7433
+ * @param {string} value
7434
+ * @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
7435
+ */
7436
+ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setDeliverytimestamp = function(value) {
7437
+ return jspb.Message.setProto3StringField(this, 7, value);
7438
+ };
7439
+
7440
+
7441
+
7442
+
7443
+
7444
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7445
+ /**
7446
+ * Creates an object representation of this proto.
7447
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7448
+ * Optional fields that are not set will be set to undefined.
7449
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7450
+ * For the list of reserved names please see:
7451
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7452
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7453
+ * JSPB instance for transitional soy proto support:
7454
+ * http://goto/soy-param-migration
7455
+ * @return {!Object}
7456
+ */
7457
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.toObject = function(opt_includeInstance) {
7458
+ return proto.agentbillingserviceapi.GetAgentBillsForClientRequest.toObject(opt_includeInstance, this);
7459
+ };
7460
+
7461
+
7462
+ /**
7463
+ * Static version of the {@see toObject} method.
7464
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7465
+ * the JSPB instance for transitional soy proto support:
7466
+ * http://goto/soy-param-migration
7467
+ * @param {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} msg The msg instance to transform.
7468
+ * @return {!Object}
7469
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7470
+ */
7471
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.toObject = function(includeInstance, msg) {
7472
+ var f, obj = {
7473
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
7474
+ page: jspb.Message.getFieldWithDefault(msg, 2, 0),
7475
+ size: jspb.Message.getFieldWithDefault(msg, 3, 0),
7476
+ sortby: jspb.Message.getFieldWithDefault(msg, 4, ""),
7477
+ sortdirection: jspb.Message.getFieldWithDefault(msg, 5, ""),
7478
+ status: jspb.Message.getFieldWithDefault(msg, 6, "")
7479
+ };
7480
+
7481
+ if (includeInstance) {
7482
+ obj.$jspbMessageInstance = msg;
7483
+ }
7484
+ return obj;
7485
+ };
7486
+ }
7487
+
7488
+
7489
+ /**
7490
+ * Deserializes binary data (in protobuf wire format).
7491
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7492
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest}
7493
+ */
7494
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.deserializeBinary = function(bytes) {
7495
+ var reader = new jspb.BinaryReader(bytes);
7496
+ var msg = new proto.agentbillingserviceapi.GetAgentBillsForClientRequest;
7497
+ return proto.agentbillingserviceapi.GetAgentBillsForClientRequest.deserializeBinaryFromReader(msg, reader);
7498
+ };
7499
+
7500
+
7501
+ /**
7502
+ * Deserializes binary data (in protobuf wire format) from the
7503
+ * given reader into the given message object.
7504
+ * @param {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} msg The message object to deserialize into.
7505
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7506
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest}
7507
+ */
7508
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.deserializeBinaryFromReader = function(msg, reader) {
7509
+ while (reader.nextField()) {
7510
+ if (reader.isEndGroup()) {
7511
+ break;
7512
+ }
7513
+ var field = reader.getFieldNumber();
7514
+ switch (field) {
7515
+ case 1:
7516
+ var value = /** @type {number} */ (reader.readInt64());
7517
+ msg.setClientuserid(value);
7518
+ break;
7519
+ case 2:
7520
+ var value = /** @type {number} */ (reader.readInt32());
7521
+ msg.setPage(value);
7522
+ break;
7523
+ case 3:
7524
+ var value = /** @type {number} */ (reader.readInt32());
7525
+ msg.setSize(value);
7526
+ break;
7527
+ case 4:
7528
+ var value = /** @type {string} */ (reader.readString());
7529
+ msg.setSortby(value);
7530
+ break;
7531
+ case 5:
7532
+ var value = /** @type {string} */ (reader.readString());
7533
+ msg.setSortdirection(value);
7534
+ break;
7535
+ case 6:
7536
+ var value = /** @type {string} */ (reader.readString());
7537
+ msg.setStatus(value);
7538
+ break;
7539
+ default:
7540
+ reader.skipField();
7541
+ break;
7542
+ }
7543
+ }
7544
+ return msg;
7545
+ };
7546
+
7547
+
7548
+ /**
7549
+ * Serializes the message to binary data (in protobuf wire format).
7550
+ * @return {!Uint8Array}
7551
+ */
7552
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.serializeBinary = function() {
7553
+ var writer = new jspb.BinaryWriter();
7554
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.serializeBinaryToWriter(this, writer);
7555
+ return writer.getResultBuffer();
7556
+ };
7557
+
7558
+
7559
+ /**
7560
+ * Serializes the given message to binary data (in protobuf wire
7561
+ * format), writing to the given BinaryWriter.
7562
+ * @param {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} message
7563
+ * @param {!jspb.BinaryWriter} writer
7564
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7565
+ */
7566
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.serializeBinaryToWriter = function(message, writer) {
7567
+ var f = undefined;
7568
+ f = message.getClientuserid();
7569
+ if (f !== 0) {
7570
+ writer.writeInt64(
7571
+ 1,
7572
+ f
7573
+ );
7574
+ }
7575
+ f = message.getPage();
7576
+ if (f !== 0) {
7577
+ writer.writeInt32(
7578
+ 2,
7579
+ f
7580
+ );
7581
+ }
7582
+ f = message.getSize();
7583
+ if (f !== 0) {
7584
+ writer.writeInt32(
7585
+ 3,
7586
+ f
7587
+ );
7588
+ }
7589
+ f = message.getSortby();
7590
+ if (f.length > 0) {
7591
+ writer.writeString(
7592
+ 4,
7593
+ f
7594
+ );
7595
+ }
7596
+ f = message.getSortdirection();
7597
+ if (f.length > 0) {
7598
+ writer.writeString(
7599
+ 5,
7600
+ f
7601
+ );
7602
+ }
7603
+ f = message.getStatus();
7604
+ if (f.length > 0) {
7605
+ writer.writeString(
7606
+ 6,
7607
+ f
7608
+ );
7609
+ }
7610
+ };
7611
+
7612
+
7613
+ /**
7614
+ * optional int64 clientUserId = 1;
7615
+ * @return {number}
7616
+ */
7617
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getClientuserid = function() {
7618
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7619
+ };
7620
+
7621
+
7622
+ /**
7623
+ * @param {number} value
7624
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
7625
+ */
7626
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setClientuserid = function(value) {
7627
+ return jspb.Message.setProto3IntField(this, 1, value);
7628
+ };
7629
+
7630
+
7631
+ /**
7632
+ * optional int32 page = 2;
7633
+ * @return {number}
7634
+ */
7635
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getPage = function() {
7636
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
7637
+ };
7638
+
7639
+
7640
+ /**
7641
+ * @param {number} value
7642
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
7643
+ */
7644
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setPage = function(value) {
7645
+ return jspb.Message.setProto3IntField(this, 2, value);
7646
+ };
7647
+
7648
+
7649
+ /**
7650
+ * optional int32 size = 3;
7651
+ * @return {number}
7652
+ */
7653
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getSize = function() {
7654
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
7655
+ };
7656
+
7657
+
7658
+ /**
7659
+ * @param {number} value
7660
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
7661
+ */
7662
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setSize = function(value) {
7663
+ return jspb.Message.setProto3IntField(this, 3, value);
7664
+ };
7665
+
7666
+
7667
+ /**
7668
+ * optional string sortBy = 4;
7669
+ * @return {string}
7670
+ */
7671
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getSortby = function() {
7672
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
7673
+ };
7674
+
7675
+
7676
+ /**
7677
+ * @param {string} value
7678
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
7679
+ */
7680
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setSortby = function(value) {
7681
+ return jspb.Message.setProto3StringField(this, 4, value);
7682
+ };
7683
+
7684
+
7685
+ /**
7686
+ * optional string sortDirection = 5;
7687
+ * @return {string}
7688
+ */
7689
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getSortdirection = function() {
7690
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
7691
+ };
7692
+
7693
+
7694
+ /**
7695
+ * @param {string} value
7696
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
7697
+ */
7698
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setSortdirection = function(value) {
7699
+ return jspb.Message.setProto3StringField(this, 5, value);
7700
+ };
7701
+
7702
+
7703
+ /**
7704
+ * optional string status = 6;
7705
+ * @return {string}
7706
+ */
7707
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.getStatus = function() {
7708
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
7709
+ };
7710
+
7711
+
7712
+ /**
7713
+ * @param {string} value
7714
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsForClientRequest} returns this
7715
+ */
7716
+ proto.agentbillingserviceapi.GetAgentBillsForClientRequest.prototype.setStatus = function(value) {
7717
+ return jspb.Message.setProto3StringField(this, 6, value);
7718
+ };
7719
+
7720
+
7721
+
7722
+ /**
7723
+ * List of repeated fields within this message type.
7724
+ * @private {!Array<number>}
7725
+ * @const
7726
+ */
7727
+ proto.agentbillingserviceapi.GetAgentBillsResponse.repeatedFields_ = [2];
7728
+
7729
+
7730
+
7731
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7732
+ /**
7733
+ * Creates an object representation of this proto.
7734
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7735
+ * Optional fields that are not set will be set to undefined.
7736
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7737
+ * For the list of reserved names please see:
7738
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7739
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7740
+ * JSPB instance for transitional soy proto support:
7741
+ * http://goto/soy-param-migration
7742
+ * @return {!Object}
7743
+ */
7744
+ proto.agentbillingserviceapi.GetAgentBillsResponse.prototype.toObject = function(opt_includeInstance) {
7745
+ return proto.agentbillingserviceapi.GetAgentBillsResponse.toObject(opt_includeInstance, this);
7746
+ };
7747
+
7748
+
7749
+ /**
7750
+ * Static version of the {@see toObject} method.
7751
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7752
+ * the JSPB instance for transitional soy proto support:
7753
+ * http://goto/soy-param-migration
7754
+ * @param {!proto.agentbillingserviceapi.GetAgentBillsResponse} msg The msg instance to transform.
7755
+ * @return {!Object}
7756
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7757
+ */
7758
+ proto.agentbillingserviceapi.GetAgentBillsResponse.toObject = function(includeInstance, msg) {
7759
+ var f, obj = {
7760
+ responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
7761
+ agentbillsList: jspb.Message.toObjectList(msg.getAgentbillsList(),
7762
+ proto.agentbillingserviceapi.AgentBill.toObject, includeInstance),
7763
+ page: jspb.Message.getFieldWithDefault(msg, 3, 0),
7764
+ size: jspb.Message.getFieldWithDefault(msg, 4, 0),
7765
+ totalpages: jspb.Message.getFieldWithDefault(msg, 5, 0),
7766
+ totalsize: jspb.Message.getFieldWithDefault(msg, 6, 0)
7767
+ };
7768
+
7769
+ if (includeInstance) {
7770
+ obj.$jspbMessageInstance = msg;
7771
+ }
7772
+ return obj;
7773
+ };
7774
+ }
7775
+
7776
+
7777
+ /**
7778
+ * Deserializes binary data (in protobuf wire format).
7779
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7780
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsResponse}
7781
+ */
7782
+ proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinary = function(bytes) {
7783
+ var reader = new jspb.BinaryReader(bytes);
7784
+ var msg = new proto.agentbillingserviceapi.GetAgentBillsResponse;
7785
+ return proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinaryFromReader(msg, reader);
7786
+ };
7787
+
7788
+
7789
+ /**
7790
+ * Deserializes binary data (in protobuf wire format) from the
7791
+ * given reader into the given message object.
7792
+ * @param {!proto.agentbillingserviceapi.GetAgentBillsResponse} msg The message object to deserialize into.
7793
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7794
+ * @return {!proto.agentbillingserviceapi.GetAgentBillsResponse}
7795
+ */
7796
+ proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinaryFromReader = function(msg, reader) {
7797
+ while (reader.nextField()) {
7798
+ if (reader.isEndGroup()) {
7799
+ break;
7800
+ }
7801
+ var field = reader.getFieldNumber();
7802
+ switch (field) {
7803
+ case 1:
7804
+ var value = new proto.agentbillingserviceapi.ResponseCode;
7805
+ reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
7806
+ msg.setResponsecode(value);
7807
+ break;
7808
+ case 2:
7809
+ var value = new proto.agentbillingserviceapi.AgentBill;
7810
+ reader.readMessage(value,proto.agentbillingserviceapi.AgentBill.deserializeBinaryFromReader);
7811
+ msg.addAgentbills(value);
7812
+ break;
7813
+ case 3:
7814
+ var value = /** @type {number} */ (reader.readInt32());
7815
+ msg.setPage(value);
7816
+ break;
7817
+ case 4:
7818
+ var value = /** @type {number} */ (reader.readInt32());
7819
+ msg.setSize(value);
7820
+ break;
7821
+ case 5:
7822
+ var value = /** @type {number} */ (reader.readInt32());
7823
+ msg.setTotalpages(value);
7824
+ break;
7825
+ case 6:
7826
+ var value = /** @type {number} */ (reader.readInt64());
7827
+ msg.setTotalsize(value);
7828
+ break;
7829
+ default:
7830
+ reader.skipField();
7831
+ break;
7832
+ }
7833
+ }
7834
+ return msg;
7835
+ };
7836
+
7837
+
7838
+ /**
7839
+ * Serializes the message to binary data (in protobuf wire format).
7840
+ * @return {!Uint8Array}
7841
+ */
7842
+ proto.agentbillingserviceapi.GetAgentBillsResponse.prototype.serializeBinary = function() {
7843
+ var writer = new jspb.BinaryWriter();
7844
+ proto.agentbillingserviceapi.GetAgentBillsResponse.serializeBinaryToWriter(this, writer);
7845
+ return writer.getResultBuffer();
7846
+ };
7847
+
7848
+
7849
+ /**
7850
+ * Serializes the given message to binary data (in protobuf wire
7851
+ * format), writing to the given BinaryWriter.
7852
+ * @param {!proto.agentbillingserviceapi.GetAgentBillsResponse} message
7853
+ * @param {!jspb.BinaryWriter} writer
7854
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7855
+ */
7856
+ proto.agentbillingserviceapi.GetAgentBillsResponse.serializeBinaryToWriter = function(message, writer) {
7857
+ var f = undefined;
7858
+ f = message.getResponsecode();
7859
+ if (f != null) {
7860
+ writer.writeMessage(
7861
+ 1,
7862
+ f,
7863
+ proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
7864
+ );
7865
+ }
7866
+ f = message.getAgentbillsList();
7867
+ if (f.length > 0) {
7868
+ writer.writeRepeatedMessage(
7869
+ 2,
7870
+ f,
7871
+ proto.agentbillingserviceapi.AgentBill.serializeBinaryToWriter
7872
+ );
7873
+ }
7874
+ f = message.getPage();
7875
+ if (f !== 0) {
7876
+ writer.writeInt32(
7877
+ 3,
7878
+ f
7879
+ );
7880
+ }
7881
+ f = message.getSize();
7882
+ if (f !== 0) {
7883
+ writer.writeInt32(
7884
+ 4,
7885
+ f
7886
+ );
7887
+ }
7888
+ f = message.getTotalpages();
7889
+ if (f !== 0) {
7890
+ writer.writeInt32(
7891
+ 5,
7892
+ f
7893
+ );
7894
+ }
7895
+ f = message.getTotalsize();
7896
+ if (f !== 0) {
7897
+ writer.writeInt64(
7898
+ 6,
7052
7899
  f
7053
7900
  );
7054
7901
  }
@@ -9135,77 +9982,327 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.serializeBinaryToW
9135
9982
 
9136
9983
 
9137
9984
  /**
9138
- * optional ResponseCode responseCode = 1;
9139
- * @return {?proto.agentbillingserviceapi.ResponseCode}
9985
+ * optional ResponseCode responseCode = 1;
9986
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
9987
+ */
9988
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getResponsecode = function() {
9989
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
9990
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
9991
+ };
9992
+
9993
+
9994
+ /**
9995
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
9996
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9997
+ */
9998
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setResponsecode = function(value) {
9999
+ return jspb.Message.setWrapperField(this, 1, value);
10000
+ };
10001
+
10002
+
10003
+ /**
10004
+ * Clears the message field making it undefined.
10005
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10006
+ */
10007
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearResponsecode = function() {
10008
+ return this.setResponsecode(undefined);
10009
+ };
10010
+
10011
+
10012
+ /**
10013
+ * Returns whether this field is set.
10014
+ * @return {boolean}
10015
+ */
10016
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.hasResponsecode = function() {
10017
+ return jspb.Message.getField(this, 1) != null;
10018
+ };
10019
+
10020
+
10021
+ /**
10022
+ * repeated AgentBillMapping agentBillMappings = 2;
10023
+ * @return {!Array<!proto.agentbillingserviceapi.AgentBillMapping>}
10024
+ */
10025
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getAgentbillmappingsList = function() {
10026
+ return /** @type{!Array<!proto.agentbillingserviceapi.AgentBillMapping>} */ (
10027
+ jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.AgentBillMapping, 2));
10028
+ };
10029
+
10030
+
10031
+ /**
10032
+ * @param {!Array<!proto.agentbillingserviceapi.AgentBillMapping>} value
10033
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10034
+ */
10035
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setAgentbillmappingsList = function(value) {
10036
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
10037
+ };
10038
+
10039
+
10040
+ /**
10041
+ * @param {!proto.agentbillingserviceapi.AgentBillMapping=} opt_value
10042
+ * @param {number=} opt_index
10043
+ * @return {!proto.agentbillingserviceapi.AgentBillMapping}
10044
+ */
10045
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.addAgentbillmappings = function(opt_value, opt_index) {
10046
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.AgentBillMapping, opt_index);
10047
+ };
10048
+
10049
+
10050
+ /**
10051
+ * Clears the list making it empty but non-null.
10052
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10053
+ */
10054
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearAgentbillmappingsList = function() {
10055
+ return this.setAgentbillmappingsList([]);
10056
+ };
10057
+
10058
+
10059
+
10060
+
10061
+
10062
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10063
+ /**
10064
+ * Creates an object representation of this proto.
10065
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10066
+ * Optional fields that are not set will be set to undefined.
10067
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10068
+ * For the list of reserved names please see:
10069
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10070
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10071
+ * JSPB instance for transitional soy proto support:
10072
+ * http://goto/soy-param-migration
10073
+ * @return {!Object}
10074
+ */
10075
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.toObject = function(opt_includeInstance) {
10076
+ return proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.toObject(opt_includeInstance, this);
10077
+ };
10078
+
10079
+
10080
+ /**
10081
+ * Static version of the {@see toObject} method.
10082
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10083
+ * the JSPB instance for transitional soy proto support:
10084
+ * http://goto/soy-param-migration
10085
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} msg The msg instance to transform.
10086
+ * @return {!Object}
10087
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10088
+ */
10089
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.toObject = function(includeInstance, msg) {
10090
+ var f, obj = {
10091
+ deliverybatchid: jspb.Message.getFieldWithDefault(msg, 1, 0),
10092
+ page: jspb.Message.getFieldWithDefault(msg, 2, 0),
10093
+ size: jspb.Message.getFieldWithDefault(msg, 3, 0),
10094
+ sortby: jspb.Message.getFieldWithDefault(msg, 4, ""),
10095
+ sortdirection: jspb.Message.getFieldWithDefault(msg, 5, "")
10096
+ };
10097
+
10098
+ if (includeInstance) {
10099
+ obj.$jspbMessageInstance = msg;
10100
+ }
10101
+ return obj;
10102
+ };
10103
+ }
10104
+
10105
+
10106
+ /**
10107
+ * Deserializes binary data (in protobuf wire format).
10108
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10109
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest}
10110
+ */
10111
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.deserializeBinary = function(bytes) {
10112
+ var reader = new jspb.BinaryReader(bytes);
10113
+ var msg = new proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest;
10114
+ return proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.deserializeBinaryFromReader(msg, reader);
10115
+ };
10116
+
10117
+
10118
+ /**
10119
+ * Deserializes binary data (in protobuf wire format) from the
10120
+ * given reader into the given message object.
10121
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} msg The message object to deserialize into.
10122
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10123
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest}
10124
+ */
10125
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.deserializeBinaryFromReader = function(msg, reader) {
10126
+ while (reader.nextField()) {
10127
+ if (reader.isEndGroup()) {
10128
+ break;
10129
+ }
10130
+ var field = reader.getFieldNumber();
10131
+ switch (field) {
10132
+ case 1:
10133
+ var value = /** @type {number} */ (reader.readInt64());
10134
+ msg.setDeliverybatchid(value);
10135
+ break;
10136
+ case 2:
10137
+ var value = /** @type {number} */ (reader.readInt32());
10138
+ msg.setPage(value);
10139
+ break;
10140
+ case 3:
10141
+ var value = /** @type {number} */ (reader.readInt32());
10142
+ msg.setSize(value);
10143
+ break;
10144
+ case 4:
10145
+ var value = /** @type {string} */ (reader.readString());
10146
+ msg.setSortby(value);
10147
+ break;
10148
+ case 5:
10149
+ var value = /** @type {string} */ (reader.readString());
10150
+ msg.setSortdirection(value);
10151
+ break;
10152
+ default:
10153
+ reader.skipField();
10154
+ break;
10155
+ }
10156
+ }
10157
+ return msg;
10158
+ };
10159
+
10160
+
10161
+ /**
10162
+ * Serializes the message to binary data (in protobuf wire format).
10163
+ * @return {!Uint8Array}
10164
+ */
10165
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.serializeBinary = function() {
10166
+ var writer = new jspb.BinaryWriter();
10167
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.serializeBinaryToWriter(this, writer);
10168
+ return writer.getResultBuffer();
10169
+ };
10170
+
10171
+
10172
+ /**
10173
+ * Serializes the given message to binary data (in protobuf wire
10174
+ * format), writing to the given BinaryWriter.
10175
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} message
10176
+ * @param {!jspb.BinaryWriter} writer
10177
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10178
+ */
10179
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.serializeBinaryToWriter = function(message, writer) {
10180
+ var f = undefined;
10181
+ f = message.getDeliverybatchid();
10182
+ if (f !== 0) {
10183
+ writer.writeInt64(
10184
+ 1,
10185
+ f
10186
+ );
10187
+ }
10188
+ f = message.getPage();
10189
+ if (f !== 0) {
10190
+ writer.writeInt32(
10191
+ 2,
10192
+ f
10193
+ );
10194
+ }
10195
+ f = message.getSize();
10196
+ if (f !== 0) {
10197
+ writer.writeInt32(
10198
+ 3,
10199
+ f
10200
+ );
10201
+ }
10202
+ f = message.getSortby();
10203
+ if (f.length > 0) {
10204
+ writer.writeString(
10205
+ 4,
10206
+ f
10207
+ );
10208
+ }
10209
+ f = message.getSortdirection();
10210
+ if (f.length > 0) {
10211
+ writer.writeString(
10212
+ 5,
10213
+ f
10214
+ );
10215
+ }
10216
+ };
10217
+
10218
+
10219
+ /**
10220
+ * optional int64 deliveryBatchId = 1;
10221
+ * @return {number}
10222
+ */
10223
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.getDeliverybatchid = function() {
10224
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10225
+ };
10226
+
10227
+
10228
+ /**
10229
+ * @param {number} value
10230
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} returns this
10231
+ */
10232
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.setDeliverybatchid = function(value) {
10233
+ return jspb.Message.setProto3IntField(this, 1, value);
10234
+ };
10235
+
10236
+
10237
+ /**
10238
+ * optional int32 page = 2;
10239
+ * @return {number}
9140
10240
  */
9141
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getResponsecode = function() {
9142
- return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
9143
- jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
10241
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.getPage = function() {
10242
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
9144
10243
  };
9145
10244
 
9146
10245
 
9147
10246
  /**
9148
- * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
9149
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9150
- */
9151
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setResponsecode = function(value) {
9152
- return jspb.Message.setWrapperField(this, 1, value);
10247
+ * @param {number} value
10248
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} returns this
10249
+ */
10250
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.setPage = function(value) {
10251
+ return jspb.Message.setProto3IntField(this, 2, value);
9153
10252
  };
9154
10253
 
9155
10254
 
9156
10255
  /**
9157
- * Clears the message field making it undefined.
9158
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10256
+ * optional int32 size = 3;
10257
+ * @return {number}
9159
10258
  */
9160
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearResponsecode = function() {
9161
- return this.setResponsecode(undefined);
10259
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.getSize = function() {
10260
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
9162
10261
  };
9163
10262
 
9164
10263
 
9165
10264
  /**
9166
- * Returns whether this field is set.
9167
- * @return {boolean}
10265
+ * @param {number} value
10266
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} returns this
9168
10267
  */
9169
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.hasResponsecode = function() {
9170
- return jspb.Message.getField(this, 1) != null;
10268
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.setSize = function(value) {
10269
+ return jspb.Message.setProto3IntField(this, 3, value);
9171
10270
  };
9172
10271
 
9173
10272
 
9174
10273
  /**
9175
- * repeated AgentBillMapping agentBillMappings = 2;
9176
- * @return {!Array<!proto.agentbillingserviceapi.AgentBillMapping>}
10274
+ * optional string sortBy = 4;
10275
+ * @return {string}
9177
10276
  */
9178
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getAgentbillmappingsList = function() {
9179
- return /** @type{!Array<!proto.agentbillingserviceapi.AgentBillMapping>} */ (
9180
- jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.AgentBillMapping, 2));
10277
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.getSortby = function() {
10278
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
9181
10279
  };
9182
10280
 
9183
10281
 
9184
10282
  /**
9185
- * @param {!Array<!proto.agentbillingserviceapi.AgentBillMapping>} value
9186
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
9187
- */
9188
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setAgentbillmappingsList = function(value) {
9189
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
10283
+ * @param {string} value
10284
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} returns this
10285
+ */
10286
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.setSortby = function(value) {
10287
+ return jspb.Message.setProto3StringField(this, 4, value);
9190
10288
  };
9191
10289
 
9192
10290
 
9193
10291
  /**
9194
- * @param {!proto.agentbillingserviceapi.AgentBillMapping=} opt_value
9195
- * @param {number=} opt_index
9196
- * @return {!proto.agentbillingserviceapi.AgentBillMapping}
10292
+ * optional string sortDirection = 5;
10293
+ * @return {string}
9197
10294
  */
9198
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.addAgentbillmappings = function(opt_value, opt_index) {
9199
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.AgentBillMapping, opt_index);
10295
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.getSortdirection = function() {
10296
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
9200
10297
  };
9201
10298
 
9202
10299
 
9203
10300
  /**
9204
- * Clears the list making it empty but non-null.
9205
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10301
+ * @param {string} value
10302
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} returns this
9206
10303
  */
9207
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearAgentbillmappingsList = function() {
9208
- return this.setAgentbillmappingsList([]);
10304
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.setSortdirection = function(value) {
10305
+ return jspb.Message.setProto3StringField(this, 5, value);
9209
10306
  };
9210
10307
 
9211
10308
 
@@ -10014,6 +11111,226 @@ proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse.prototype.setC
10014
11111
 
10015
11112
 
10016
11113
 
11114
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11115
+ /**
11116
+ * Creates an object representation of this proto.
11117
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11118
+ * Optional fields that are not set will be set to undefined.
11119
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11120
+ * For the list of reserved names please see:
11121
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11122
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11123
+ * JSPB instance for transitional soy proto support:
11124
+ * http://goto/soy-param-migration
11125
+ * @return {!Object}
11126
+ */
11127
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.toObject = function(opt_includeInstance) {
11128
+ return proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.toObject(opt_includeInstance, this);
11129
+ };
11130
+
11131
+
11132
+ /**
11133
+ * Static version of the {@see toObject} method.
11134
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11135
+ * the JSPB instance for transitional soy proto support:
11136
+ * http://goto/soy-param-migration
11137
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} msg The msg instance to transform.
11138
+ * @return {!Object}
11139
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11140
+ */
11141
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.toObject = function(includeInstance, msg) {
11142
+ var f, obj = {
11143
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
11144
+ page: jspb.Message.getFieldWithDefault(msg, 2, 0),
11145
+ size: jspb.Message.getFieldWithDefault(msg, 3, 0),
11146
+ sortdirection: jspb.Message.getFieldWithDefault(msg, 4, "")
11147
+ };
11148
+
11149
+ if (includeInstance) {
11150
+ obj.$jspbMessageInstance = msg;
11151
+ }
11152
+ return obj;
11153
+ };
11154
+ }
11155
+
11156
+
11157
+ /**
11158
+ * Deserializes binary data (in protobuf wire format).
11159
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11160
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest}
11161
+ */
11162
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.deserializeBinary = function(bytes) {
11163
+ var reader = new jspb.BinaryReader(bytes);
11164
+ var msg = new proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest;
11165
+ return proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.deserializeBinaryFromReader(msg, reader);
11166
+ };
11167
+
11168
+
11169
+ /**
11170
+ * Deserializes binary data (in protobuf wire format) from the
11171
+ * given reader into the given message object.
11172
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} msg The message object to deserialize into.
11173
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11174
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest}
11175
+ */
11176
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.deserializeBinaryFromReader = function(msg, reader) {
11177
+ while (reader.nextField()) {
11178
+ if (reader.isEndGroup()) {
11179
+ break;
11180
+ }
11181
+ var field = reader.getFieldNumber();
11182
+ switch (field) {
11183
+ case 1:
11184
+ var value = /** @type {number} */ (reader.readInt64());
11185
+ msg.setClientuserid(value);
11186
+ break;
11187
+ case 2:
11188
+ var value = /** @type {number} */ (reader.readInt32());
11189
+ msg.setPage(value);
11190
+ break;
11191
+ case 3:
11192
+ var value = /** @type {number} */ (reader.readInt32());
11193
+ msg.setSize(value);
11194
+ break;
11195
+ case 4:
11196
+ var value = /** @type {string} */ (reader.readString());
11197
+ msg.setSortdirection(value);
11198
+ break;
11199
+ default:
11200
+ reader.skipField();
11201
+ break;
11202
+ }
11203
+ }
11204
+ return msg;
11205
+ };
11206
+
11207
+
11208
+ /**
11209
+ * Serializes the message to binary data (in protobuf wire format).
11210
+ * @return {!Uint8Array}
11211
+ */
11212
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.serializeBinary = function() {
11213
+ var writer = new jspb.BinaryWriter();
11214
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.serializeBinaryToWriter(this, writer);
11215
+ return writer.getResultBuffer();
11216
+ };
11217
+
11218
+
11219
+ /**
11220
+ * Serializes the given message to binary data (in protobuf wire
11221
+ * format), writing to the given BinaryWriter.
11222
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} message
11223
+ * @param {!jspb.BinaryWriter} writer
11224
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11225
+ */
11226
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.serializeBinaryToWriter = function(message, writer) {
11227
+ var f = undefined;
11228
+ f = message.getClientuserid();
11229
+ if (f !== 0) {
11230
+ writer.writeInt64(
11231
+ 1,
11232
+ f
11233
+ );
11234
+ }
11235
+ f = message.getPage();
11236
+ if (f !== 0) {
11237
+ writer.writeInt32(
11238
+ 2,
11239
+ f
11240
+ );
11241
+ }
11242
+ f = message.getSize();
11243
+ if (f !== 0) {
11244
+ writer.writeInt32(
11245
+ 3,
11246
+ f
11247
+ );
11248
+ }
11249
+ f = message.getSortdirection();
11250
+ if (f.length > 0) {
11251
+ writer.writeString(
11252
+ 4,
11253
+ f
11254
+ );
11255
+ }
11256
+ };
11257
+
11258
+
11259
+ /**
11260
+ * optional int64 clientUserId = 1;
11261
+ * @return {number}
11262
+ */
11263
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.getClientuserid = function() {
11264
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
11265
+ };
11266
+
11267
+
11268
+ /**
11269
+ * @param {number} value
11270
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} returns this
11271
+ */
11272
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.setClientuserid = function(value) {
11273
+ return jspb.Message.setProto3IntField(this, 1, value);
11274
+ };
11275
+
11276
+
11277
+ /**
11278
+ * optional int32 page = 2;
11279
+ * @return {number}
11280
+ */
11281
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.getPage = function() {
11282
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
11283
+ };
11284
+
11285
+
11286
+ /**
11287
+ * @param {number} value
11288
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} returns this
11289
+ */
11290
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.setPage = function(value) {
11291
+ return jspb.Message.setProto3IntField(this, 2, value);
11292
+ };
11293
+
11294
+
11295
+ /**
11296
+ * optional int32 size = 3;
11297
+ * @return {number}
11298
+ */
11299
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.getSize = function() {
11300
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
11301
+ };
11302
+
11303
+
11304
+ /**
11305
+ * @param {number} value
11306
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} returns this
11307
+ */
11308
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.setSize = function(value) {
11309
+ return jspb.Message.setProto3IntField(this, 3, value);
11310
+ };
11311
+
11312
+
11313
+ /**
11314
+ * optional string sortDirection = 4;
11315
+ * @return {string}
11316
+ */
11317
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.getSortdirection = function() {
11318
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
11319
+ };
11320
+
11321
+
11322
+ /**
11323
+ * @param {string} value
11324
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} returns this
11325
+ */
11326
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.setSortdirection = function(value) {
11327
+ return jspb.Message.setProto3StringField(this, 4, value);
11328
+ };
11329
+
11330
+
11331
+
11332
+
11333
+
10017
11334
  if (jspb.Message.GENERATE_TO_OBJECT) {
10018
11335
  /**
10019
11336
  * Creates an object representation of this proto.