@sniipwebmaster/agent-billing-client-grpcweb-ts 23.13.962 → 23.13.989

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.
@@ -51,6 +51,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientRequest', nul
51
51
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientResponse', null, global);
52
52
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsRequest', null, global);
53
53
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsResponse', null, global);
54
+ goog.exportSymbol('proto.agentbillingserviceapi.GetConnectedClientsRequest', null, global);
54
55
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse', null, global);
55
56
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest', null, global);
56
57
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest', null, global);
@@ -59,6 +60,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountRequ
59
60
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse', null, global);
60
61
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest', null, global);
61
62
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest', null, global);
63
+ goog.exportSymbol('proto.agentbillingserviceapi.GetDisconnectedClientsRequest', null, global);
64
+ goog.exportSymbol('proto.agentbillingserviceapi.GetPendingClientsRequest', null, global);
62
65
  goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchContentsInDraftRequest', null, global);
63
66
  goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesInDraftRequest', null, global);
64
67
  goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesResponse', null, global);
@@ -848,6 +851,27 @@ if (goog.DEBUG && !COMPILED) {
848
851
  */
849
852
  proto.agentbillingserviceapi.GetAssociatedClientsResponse.displayName = 'proto.agentbillingserviceapi.GetAssociatedClientsResponse';
850
853
  }
854
+ /**
855
+ * Generated by JsPbCodeGenerator.
856
+ * @param {Array=} opt_data Optional initial data array, typically from a
857
+ * server response, or constructed directly in Javascript. The array is used
858
+ * in place and becomes part of the constructed object. It is not cloned.
859
+ * If no data is provided, the constructed object will be empty, but still
860
+ * valid.
861
+ * @extends {jspb.Message}
862
+ * @constructor
863
+ */
864
+ proto.agentbillingserviceapi.GetConnectedClientsRequest = function(opt_data) {
865
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
866
+ };
867
+ goog.inherits(proto.agentbillingserviceapi.GetConnectedClientsRequest, jspb.Message);
868
+ if (goog.DEBUG && !COMPILED) {
869
+ /**
870
+ * @public
871
+ * @override
872
+ */
873
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.displayName = 'proto.agentbillingserviceapi.GetConnectedClientsRequest';
874
+ }
851
875
  /**
852
876
  * Generated by JsPbCodeGenerator.
853
877
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1016,6 +1040,48 @@ if (goog.DEBUG && !COMPILED) {
1016
1040
  */
1017
1041
  proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest';
1018
1042
  }
1043
+ /**
1044
+ * Generated by JsPbCodeGenerator.
1045
+ * @param {Array=} opt_data Optional initial data array, typically from a
1046
+ * server response, or constructed directly in Javascript. The array is used
1047
+ * in place and becomes part of the constructed object. It is not cloned.
1048
+ * If no data is provided, the constructed object will be empty, but still
1049
+ * valid.
1050
+ * @extends {jspb.Message}
1051
+ * @constructor
1052
+ */
1053
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest = function(opt_data) {
1054
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1055
+ };
1056
+ goog.inherits(proto.agentbillingserviceapi.GetDisconnectedClientsRequest, jspb.Message);
1057
+ if (goog.DEBUG && !COMPILED) {
1058
+ /**
1059
+ * @public
1060
+ * @override
1061
+ */
1062
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.displayName = 'proto.agentbillingserviceapi.GetDisconnectedClientsRequest';
1063
+ }
1064
+ /**
1065
+ * Generated by JsPbCodeGenerator.
1066
+ * @param {Array=} opt_data Optional initial data array, typically from a
1067
+ * server response, or constructed directly in Javascript. The array is used
1068
+ * in place and becomes part of the constructed object. It is not cloned.
1069
+ * If no data is provided, the constructed object will be empty, but still
1070
+ * valid.
1071
+ * @extends {jspb.Message}
1072
+ * @constructor
1073
+ */
1074
+ proto.agentbillingserviceapi.GetPendingClientsRequest = function(opt_data) {
1075
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1076
+ };
1077
+ goog.inherits(proto.agentbillingserviceapi.GetPendingClientsRequest, jspb.Message);
1078
+ if (goog.DEBUG && !COMPILED) {
1079
+ /**
1080
+ * @public
1081
+ * @override
1082
+ */
1083
+ proto.agentbillingserviceapi.GetPendingClientsRequest.displayName = 'proto.agentbillingserviceapi.GetPendingClientsRequest';
1084
+ }
1019
1085
  /**
1020
1086
  * Generated by JsPbCodeGenerator.
1021
1087
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3292,9 +3358,7 @@ proto.agentbillingserviceapi.Client.toObject = function(includeInstance, msg) {
3292
3358
  imageurl: jspb.Message.getFieldWithDefault(msg, 7, ""),
3293
3359
  iscustomimage: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
3294
3360
  abn: jspb.Message.getFieldWithDefault(msg, 9, ""),
3295
- abnentitiyname: jspb.Message.getFieldWithDefault(msg, 10, ""),
3296
- billscount: jspb.Message.getFieldWithDefault(msg, 11, 0),
3297
- billstotalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0)
3361
+ abnentityname: jspb.Message.getFieldWithDefault(msg, 10, "")
3298
3362
  };
3299
3363
 
3300
3364
  if (includeInstance) {
@@ -3369,15 +3433,7 @@ proto.agentbillingserviceapi.Client.deserializeBinaryFromReader = function(msg,
3369
3433
  break;
3370
3434
  case 10:
3371
3435
  var value = /** @type {string} */ (reader.readString());
3372
- msg.setAbnentitiyname(value);
3373
- break;
3374
- case 11:
3375
- var value = /** @type {number} */ (reader.readInt32());
3376
- msg.setBillscount(value);
3377
- break;
3378
- case 12:
3379
- var value = /** @type {number} */ (reader.readDouble());
3380
- msg.setBillstotalamount(value);
3436
+ msg.setAbnentityname(value);
3381
3437
  break;
3382
3438
  default:
3383
3439
  reader.skipField();
@@ -3471,27 +3527,13 @@ proto.agentbillingserviceapi.Client.serializeBinaryToWriter = function(message,
3471
3527
  f
3472
3528
  );
3473
3529
  }
3474
- f = message.getAbnentitiyname();
3530
+ f = message.getAbnentityname();
3475
3531
  if (f.length > 0) {
3476
3532
  writer.writeString(
3477
3533
  10,
3478
3534
  f
3479
3535
  );
3480
3536
  }
3481
- f = message.getBillscount();
3482
- if (f !== 0) {
3483
- writer.writeInt32(
3484
- 11,
3485
- f
3486
- );
3487
- }
3488
- f = message.getBillstotalamount();
3489
- if (f !== 0.0) {
3490
- writer.writeDouble(
3491
- 12,
3492
- f
3493
- );
3494
- }
3495
3537
  };
3496
3538
 
3497
3539
 
@@ -3658,10 +3700,10 @@ proto.agentbillingserviceapi.Client.prototype.setAbn = function(value) {
3658
3700
 
3659
3701
 
3660
3702
  /**
3661
- * optional string abnEntitiyName = 10;
3703
+ * optional string abnEntityName = 10;
3662
3704
  * @return {string}
3663
3705
  */
3664
- proto.agentbillingserviceapi.Client.prototype.getAbnentitiyname = function() {
3706
+ proto.agentbillingserviceapi.Client.prototype.getAbnentityname = function() {
3665
3707
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
3666
3708
  };
3667
3709
 
@@ -3670,47 +3712,11 @@ proto.agentbillingserviceapi.Client.prototype.getAbnentitiyname = function() {
3670
3712
  * @param {string} value
3671
3713
  * @return {!proto.agentbillingserviceapi.Client} returns this
3672
3714
  */
3673
- proto.agentbillingserviceapi.Client.prototype.setAbnentitiyname = function(value) {
3715
+ proto.agentbillingserviceapi.Client.prototype.setAbnentityname = function(value) {
3674
3716
  return jspb.Message.setProto3StringField(this, 10, value);
3675
3717
  };
3676
3718
 
3677
3719
 
3678
- /**
3679
- * optional int32 billsCount = 11;
3680
- * @return {number}
3681
- */
3682
- proto.agentbillingserviceapi.Client.prototype.getBillscount = function() {
3683
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
3684
- };
3685
-
3686
-
3687
- /**
3688
- * @param {number} value
3689
- * @return {!proto.agentbillingserviceapi.Client} returns this
3690
- */
3691
- proto.agentbillingserviceapi.Client.prototype.setBillscount = function(value) {
3692
- return jspb.Message.setProto3IntField(this, 11, value);
3693
- };
3694
-
3695
-
3696
- /**
3697
- * optional double billsTotalAmount = 12;
3698
- * @return {number}
3699
- */
3700
- proto.agentbillingserviceapi.Client.prototype.getBillstotalamount = function() {
3701
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
3702
- };
3703
-
3704
-
3705
- /**
3706
- * @param {number} value
3707
- * @return {!proto.agentbillingserviceapi.Client} returns this
3708
- */
3709
- proto.agentbillingserviceapi.Client.prototype.setBillstotalamount = function(value) {
3710
- return jspb.Message.setProto3FloatField(this, 12, value);
3711
- };
3712
-
3713
-
3714
3720
 
3715
3721
 
3716
3722
 
@@ -9846,13 +9852,6 @@ proto.agentbillingserviceapi.GetAssociatedClientsResponse.prototype.setTotalsize
9846
9852
 
9847
9853
 
9848
9854
 
9849
- /**
9850
- * List of repeated fields within this message type.
9851
- * @private {!Array<number>}
9852
- * @const
9853
- */
9854
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.repeatedFields_ = [2];
9855
-
9856
9855
 
9857
9856
 
9858
9857
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -9868,8 +9867,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
9868
9867
  * http://goto/soy-param-migration
9869
9868
  * @return {!Object}
9870
9869
  */
9871
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.toObject = function(opt_includeInstance) {
9872
- return proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.toObject(opt_includeInstance, this);
9870
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.toObject = function(opt_includeInstance) {
9871
+ return proto.agentbillingserviceapi.GetConnectedClientsRequest.toObject(opt_includeInstance, this);
9873
9872
  };
9874
9873
 
9875
9874
 
@@ -9878,15 +9877,15 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.toObject
9878
9877
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9879
9878
  * the JSPB instance for transitional soy proto support:
9880
9879
  * http://goto/soy-param-migration
9881
- * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} msg The msg instance to transform.
9880
+ * @param {!proto.agentbillingserviceapi.GetConnectedClientsRequest} msg The msg instance to transform.
9882
9881
  * @return {!Object}
9883
9882
  * @suppress {unusedLocalVariables} f is only used for nested messages
9884
9883
  */
9885
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.toObject = function(includeInstance, msg) {
9884
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.toObject = function(includeInstance, msg) {
9886
9885
  var f, obj = {
9887
- responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
9888
- agentbillmappingsList: jspb.Message.toObjectList(msg.getAgentbillmappingsList(),
9889
- proto.agentbillingserviceapi.AgentBillMapping.toObject, includeInstance)
9886
+ page: jspb.Message.getFieldWithDefault(msg, 1, 0),
9887
+ size: jspb.Message.getFieldWithDefault(msg, 2, 0),
9888
+ userid: jspb.Message.getFieldWithDefault(msg, 3, 0)
9890
9889
  };
9891
9890
 
9892
9891
  if (includeInstance) {
@@ -9900,23 +9899,23 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.toObject = functio
9900
9899
  /**
9901
9900
  * Deserializes binary data (in protobuf wire format).
9902
9901
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
9903
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse}
9902
+ * @return {!proto.agentbillingserviceapi.GetConnectedClientsRequest}
9904
9903
  */
9905
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinary = function(bytes) {
9904
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.deserializeBinary = function(bytes) {
9906
9905
  var reader = new jspb.BinaryReader(bytes);
9907
- var msg = new proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse;
9908
- return proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryFromReader(msg, reader);
9906
+ var msg = new proto.agentbillingserviceapi.GetConnectedClientsRequest;
9907
+ return proto.agentbillingserviceapi.GetConnectedClientsRequest.deserializeBinaryFromReader(msg, reader);
9909
9908
  };
9910
9909
 
9911
9910
 
9912
9911
  /**
9913
9912
  * Deserializes binary data (in protobuf wire format) from the
9914
9913
  * given reader into the given message object.
9915
- * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} msg The message object to deserialize into.
9914
+ * @param {!proto.agentbillingserviceapi.GetConnectedClientsRequest} msg The message object to deserialize into.
9916
9915
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9917
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse}
9916
+ * @return {!proto.agentbillingserviceapi.GetConnectedClientsRequest}
9918
9917
  */
9919
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryFromReader = function(msg, reader) {
9918
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.deserializeBinaryFromReader = function(msg, reader) {
9920
9919
  while (reader.nextField()) {
9921
9920
  if (reader.isEndGroup()) {
9922
9921
  break;
@@ -9924,14 +9923,16 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryF
9924
9923
  var field = reader.getFieldNumber();
9925
9924
  switch (field) {
9926
9925
  case 1:
9927
- var value = new proto.agentbillingserviceapi.ResponseCode;
9928
- reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
9929
- msg.setResponsecode(value);
9926
+ var value = /** @type {number} */ (reader.readInt32());
9927
+ msg.setPage(value);
9930
9928
  break;
9931
9929
  case 2:
9932
- var value = new proto.agentbillingserviceapi.AgentBillMapping;
9933
- reader.readMessage(value,proto.agentbillingserviceapi.AgentBillMapping.deserializeBinaryFromReader);
9934
- msg.addAgentbillmappings(value);
9930
+ var value = /** @type {number} */ (reader.readInt32());
9931
+ msg.setSize(value);
9932
+ break;
9933
+ case 3:
9934
+ var value = /** @type {number} */ (reader.readInt64());
9935
+ msg.setUserid(value);
9935
9936
  break;
9936
9937
  default:
9937
9938
  reader.skipField();
@@ -9946,9 +9947,9 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryF
9946
9947
  * Serializes the message to binary data (in protobuf wire format).
9947
9948
  * @return {!Uint8Array}
9948
9949
  */
9949
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.serializeBinary = function() {
9950
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.serializeBinary = function() {
9950
9951
  var writer = new jspb.BinaryWriter();
9951
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.serializeBinaryToWriter(this, writer);
9952
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.serializeBinaryToWriter(this, writer);
9952
9953
  return writer.getResultBuffer();
9953
9954
  };
9954
9955
 
@@ -9956,106 +9957,97 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.serializ
9956
9957
  /**
9957
9958
  * Serializes the given message to binary data (in protobuf wire
9958
9959
  * format), writing to the given BinaryWriter.
9959
- * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} message
9960
+ * @param {!proto.agentbillingserviceapi.GetConnectedClientsRequest} message
9960
9961
  * @param {!jspb.BinaryWriter} writer
9961
9962
  * @suppress {unusedLocalVariables} f is only used for nested messages
9962
9963
  */
9963
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.serializeBinaryToWriter = function(message, writer) {
9964
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.serializeBinaryToWriter = function(message, writer) {
9964
9965
  var f = undefined;
9965
- f = message.getResponsecode();
9966
- if (f != null) {
9967
- writer.writeMessage(
9966
+ f = message.getPage();
9967
+ if (f !== 0) {
9968
+ writer.writeInt32(
9968
9969
  1,
9969
- f,
9970
- proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
9970
+ f
9971
9971
  );
9972
9972
  }
9973
- f = message.getAgentbillmappingsList();
9974
- if (f.length > 0) {
9975
- writer.writeRepeatedMessage(
9973
+ f = message.getSize();
9974
+ if (f !== 0) {
9975
+ writer.writeInt32(
9976
9976
  2,
9977
- f,
9978
- proto.agentbillingserviceapi.AgentBillMapping.serializeBinaryToWriter
9977
+ f
9978
+ );
9979
+ }
9980
+ f = message.getUserid();
9981
+ if (f !== 0) {
9982
+ writer.writeInt64(
9983
+ 3,
9984
+ f
9979
9985
  );
9980
9986
  }
9981
9987
  };
9982
9988
 
9983
9989
 
9984
9990
  /**
9985
- * optional ResponseCode responseCode = 1;
9986
- * @return {?proto.agentbillingserviceapi.ResponseCode}
9991
+ * optional int32 page = 1;
9992
+ * @return {number}
9987
9993
  */
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);
9994
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.getPage = function() {
9995
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10000
9996
  };
10001
9997
 
10002
9998
 
10003
9999
  /**
10004
- * Clears the message field making it undefined.
10005
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10000
+ * @param {number} value
10001
+ * @return {!proto.agentbillingserviceapi.GetConnectedClientsRequest} returns this
10006
10002
  */
10007
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearResponsecode = function() {
10008
- return this.setResponsecode(undefined);
10003
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.setPage = function(value) {
10004
+ return jspb.Message.setProto3IntField(this, 1, value);
10009
10005
  };
10010
10006
 
10011
10007
 
10012
10008
  /**
10013
- * Returns whether this field is set.
10014
- * @return {boolean}
10009
+ * optional int32 size = 2;
10010
+ * @return {number}
10015
10011
  */
10016
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.hasResponsecode = function() {
10017
- return jspb.Message.getField(this, 1) != null;
10012
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.getSize = function() {
10013
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
10018
10014
  };
10019
10015
 
10020
10016
 
10021
10017
  /**
10022
- * repeated AgentBillMapping agentBillMappings = 2;
10023
- * @return {!Array<!proto.agentbillingserviceapi.AgentBillMapping>}
10018
+ * @param {number} value
10019
+ * @return {!proto.agentbillingserviceapi.GetConnectedClientsRequest} returns this
10024
10020
  */
10025
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getAgentbillmappingsList = function() {
10026
- return /** @type{!Array<!proto.agentbillingserviceapi.AgentBillMapping>} */ (
10027
- jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.AgentBillMapping, 2));
10021
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.setSize = function(value) {
10022
+ return jspb.Message.setProto3IntField(this, 2, value);
10028
10023
  };
10029
10024
 
10030
10025
 
10031
10026
  /**
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);
10027
+ * optional int64 userId = 3;
10028
+ * @return {number}
10029
+ */
10030
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.getUserid = function() {
10031
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10037
10032
  };
10038
10033
 
10039
10034
 
10040
10035
  /**
10041
- * @param {!proto.agentbillingserviceapi.AgentBillMapping=} opt_value
10042
- * @param {number=} opt_index
10043
- * @return {!proto.agentbillingserviceapi.AgentBillMapping}
10036
+ * @param {number} value
10037
+ * @return {!proto.agentbillingserviceapi.GetConnectedClientsRequest} returns this
10044
10038
  */
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);
10039
+ proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.setUserid = function(value) {
10040
+ return jspb.Message.setProto3IntField(this, 3, value);
10047
10041
  };
10048
10042
 
10049
10043
 
10044
+
10050
10045
  /**
10051
- * Clears the list making it empty but non-null.
10052
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10046
+ * List of repeated fields within this message type.
10047
+ * @private {!Array<number>}
10048
+ * @const
10053
10049
  */
10054
- proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearAgentbillmappingsList = function() {
10055
- return this.setAgentbillmappingsList([]);
10056
- };
10057
-
10058
-
10050
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.repeatedFields_ = [2];
10059
10051
 
10060
10052
 
10061
10053
 
@@ -10072,8 +10064,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
10072
10064
  * http://goto/soy-param-migration
10073
10065
  * @return {!Object}
10074
10066
  */
10075
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.toObject = function(opt_includeInstance) {
10076
- return proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.toObject(opt_includeInstance, this);
10067
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.toObject = function(opt_includeInstance) {
10068
+ return proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.toObject(opt_includeInstance, this);
10077
10069
  };
10078
10070
 
10079
10071
 
@@ -10082,17 +10074,15 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.protot
10082
10074
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10083
10075
  * the JSPB instance for transitional soy proto support:
10084
10076
  * http://goto/soy-param-migration
10085
- * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} msg The msg instance to transform.
10077
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} msg The msg instance to transform.
10086
10078
  * @return {!Object}
10087
10079
  * @suppress {unusedLocalVariables} f is only used for nested messages
10088
10080
  */
10089
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.toObject = function(includeInstance, msg) {
10081
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.toObject = function(includeInstance, msg) {
10090
10082
  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, "")
10083
+ responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
10084
+ agentbillmappingsList: jspb.Message.toObjectList(msg.getAgentbillmappingsList(),
10085
+ proto.agentbillingserviceapi.AgentBillMapping.toObject, includeInstance)
10096
10086
  };
10097
10087
 
10098
10088
  if (includeInstance) {
@@ -10106,19 +10096,225 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.toObje
10106
10096
  /**
10107
10097
  * Deserializes binary data (in protobuf wire format).
10108
10098
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
10109
- * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest}
10099
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse}
10110
10100
  */
10111
- proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.deserializeBinary = function(bytes) {
10101
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinary = function(bytes) {
10112
10102
  var reader = new jspb.BinaryReader(bytes);
10113
- var msg = new proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest;
10114
- return proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.deserializeBinaryFromReader(msg, reader);
10103
+ var msg = new proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse;
10104
+ return proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryFromReader(msg, reader);
10115
10105
  };
10116
10106
 
10117
10107
 
10118
10108
  /**
10119
10109
  * Deserializes binary data (in protobuf wire format) from the
10120
10110
  * given reader into the given message object.
10121
- * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} msg The message object to deserialize into.
10111
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} msg The message object to deserialize into.
10112
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10113
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse}
10114
+ */
10115
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryFromReader = function(msg, reader) {
10116
+ while (reader.nextField()) {
10117
+ if (reader.isEndGroup()) {
10118
+ break;
10119
+ }
10120
+ var field = reader.getFieldNumber();
10121
+ switch (field) {
10122
+ case 1:
10123
+ var value = new proto.agentbillingserviceapi.ResponseCode;
10124
+ reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
10125
+ msg.setResponsecode(value);
10126
+ break;
10127
+ case 2:
10128
+ var value = new proto.agentbillingserviceapi.AgentBillMapping;
10129
+ reader.readMessage(value,proto.agentbillingserviceapi.AgentBillMapping.deserializeBinaryFromReader);
10130
+ msg.addAgentbillmappings(value);
10131
+ break;
10132
+ default:
10133
+ reader.skipField();
10134
+ break;
10135
+ }
10136
+ }
10137
+ return msg;
10138
+ };
10139
+
10140
+
10141
+ /**
10142
+ * Serializes the message to binary data (in protobuf wire format).
10143
+ * @return {!Uint8Array}
10144
+ */
10145
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.serializeBinary = function() {
10146
+ var writer = new jspb.BinaryWriter();
10147
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.serializeBinaryToWriter(this, writer);
10148
+ return writer.getResultBuffer();
10149
+ };
10150
+
10151
+
10152
+ /**
10153
+ * Serializes the given message to binary data (in protobuf wire
10154
+ * format), writing to the given BinaryWriter.
10155
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} message
10156
+ * @param {!jspb.BinaryWriter} writer
10157
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10158
+ */
10159
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.serializeBinaryToWriter = function(message, writer) {
10160
+ var f = undefined;
10161
+ f = message.getResponsecode();
10162
+ if (f != null) {
10163
+ writer.writeMessage(
10164
+ 1,
10165
+ f,
10166
+ proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
10167
+ );
10168
+ }
10169
+ f = message.getAgentbillmappingsList();
10170
+ if (f.length > 0) {
10171
+ writer.writeRepeatedMessage(
10172
+ 2,
10173
+ f,
10174
+ proto.agentbillingserviceapi.AgentBillMapping.serializeBinaryToWriter
10175
+ );
10176
+ }
10177
+ };
10178
+
10179
+
10180
+ /**
10181
+ * optional ResponseCode responseCode = 1;
10182
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
10183
+ */
10184
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getResponsecode = function() {
10185
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
10186
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
10187
+ };
10188
+
10189
+
10190
+ /**
10191
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
10192
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10193
+ */
10194
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setResponsecode = function(value) {
10195
+ return jspb.Message.setWrapperField(this, 1, value);
10196
+ };
10197
+
10198
+
10199
+ /**
10200
+ * Clears the message field making it undefined.
10201
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10202
+ */
10203
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearResponsecode = function() {
10204
+ return this.setResponsecode(undefined);
10205
+ };
10206
+
10207
+
10208
+ /**
10209
+ * Returns whether this field is set.
10210
+ * @return {boolean}
10211
+ */
10212
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.hasResponsecode = function() {
10213
+ return jspb.Message.getField(this, 1) != null;
10214
+ };
10215
+
10216
+
10217
+ /**
10218
+ * repeated AgentBillMapping agentBillMappings = 2;
10219
+ * @return {!Array<!proto.agentbillingserviceapi.AgentBillMapping>}
10220
+ */
10221
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.getAgentbillmappingsList = function() {
10222
+ return /** @type{!Array<!proto.agentbillingserviceapi.AgentBillMapping>} */ (
10223
+ jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.AgentBillMapping, 2));
10224
+ };
10225
+
10226
+
10227
+ /**
10228
+ * @param {!Array<!proto.agentbillingserviceapi.AgentBillMapping>} value
10229
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10230
+ */
10231
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.setAgentbillmappingsList = function(value) {
10232
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
10233
+ };
10234
+
10235
+
10236
+ /**
10237
+ * @param {!proto.agentbillingserviceapi.AgentBillMapping=} opt_value
10238
+ * @param {number=} opt_index
10239
+ * @return {!proto.agentbillingserviceapi.AgentBillMapping}
10240
+ */
10241
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.addAgentbillmappings = function(opt_value, opt_index) {
10242
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.AgentBillMapping, opt_index);
10243
+ };
10244
+
10245
+
10246
+ /**
10247
+ * Clears the list making it empty but non-null.
10248
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} returns this
10249
+ */
10250
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearAgentbillmappingsList = function() {
10251
+ return this.setAgentbillmappingsList([]);
10252
+ };
10253
+
10254
+
10255
+
10256
+
10257
+
10258
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10259
+ /**
10260
+ * Creates an object representation of this proto.
10261
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10262
+ * Optional fields that are not set will be set to undefined.
10263
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10264
+ * For the list of reserved names please see:
10265
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10266
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10267
+ * JSPB instance for transitional soy proto support:
10268
+ * http://goto/soy-param-migration
10269
+ * @return {!Object}
10270
+ */
10271
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.toObject = function(opt_includeInstance) {
10272
+ return proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.toObject(opt_includeInstance, this);
10273
+ };
10274
+
10275
+
10276
+ /**
10277
+ * Static version of the {@see toObject} method.
10278
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10279
+ * the JSPB instance for transitional soy proto support:
10280
+ * http://goto/soy-param-migration
10281
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} msg The msg instance to transform.
10282
+ * @return {!Object}
10283
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10284
+ */
10285
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.toObject = function(includeInstance, msg) {
10286
+ var f, obj = {
10287
+ deliverybatchid: jspb.Message.getFieldWithDefault(msg, 1, 0),
10288
+ page: jspb.Message.getFieldWithDefault(msg, 2, 0),
10289
+ size: jspb.Message.getFieldWithDefault(msg, 3, 0),
10290
+ sortby: jspb.Message.getFieldWithDefault(msg, 4, ""),
10291
+ sortdirection: jspb.Message.getFieldWithDefault(msg, 5, "")
10292
+ };
10293
+
10294
+ if (includeInstance) {
10295
+ obj.$jspbMessageInstance = msg;
10296
+ }
10297
+ return obj;
10298
+ };
10299
+ }
10300
+
10301
+
10302
+ /**
10303
+ * Deserializes binary data (in protobuf wire format).
10304
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10305
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest}
10306
+ */
10307
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.deserializeBinary = function(bytes) {
10308
+ var reader = new jspb.BinaryReader(bytes);
10309
+ var msg = new proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest;
10310
+ return proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.deserializeBinaryFromReader(msg, reader);
10311
+ };
10312
+
10313
+
10314
+ /**
10315
+ * Deserializes binary data (in protobuf wire format) from the
10316
+ * given reader into the given message object.
10317
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} msg The message object to deserialize into.
10122
10318
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10123
10319
  * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest}
10124
10320
  */
@@ -11491,6 +11687,386 @@ proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest.prototype.setSize =
11491
11687
 
11492
11688
 
11493
11689
 
11690
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11691
+ /**
11692
+ * Creates an object representation of this proto.
11693
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11694
+ * Optional fields that are not set will be set to undefined.
11695
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11696
+ * For the list of reserved names please see:
11697
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11698
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11699
+ * JSPB instance for transitional soy proto support:
11700
+ * http://goto/soy-param-migration
11701
+ * @return {!Object}
11702
+ */
11703
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.toObject = function(opt_includeInstance) {
11704
+ return proto.agentbillingserviceapi.GetDisconnectedClientsRequest.toObject(opt_includeInstance, this);
11705
+ };
11706
+
11707
+
11708
+ /**
11709
+ * Static version of the {@see toObject} method.
11710
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11711
+ * the JSPB instance for transitional soy proto support:
11712
+ * http://goto/soy-param-migration
11713
+ * @param {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} msg The msg instance to transform.
11714
+ * @return {!Object}
11715
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11716
+ */
11717
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.toObject = function(includeInstance, msg) {
11718
+ var f, obj = {
11719
+ page: jspb.Message.getFieldWithDefault(msg, 1, 0),
11720
+ size: jspb.Message.getFieldWithDefault(msg, 2, 0),
11721
+ userid: jspb.Message.getFieldWithDefault(msg, 3, 0)
11722
+ };
11723
+
11724
+ if (includeInstance) {
11725
+ obj.$jspbMessageInstance = msg;
11726
+ }
11727
+ return obj;
11728
+ };
11729
+ }
11730
+
11731
+
11732
+ /**
11733
+ * Deserializes binary data (in protobuf wire format).
11734
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11735
+ * @return {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest}
11736
+ */
11737
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.deserializeBinary = function(bytes) {
11738
+ var reader = new jspb.BinaryReader(bytes);
11739
+ var msg = new proto.agentbillingserviceapi.GetDisconnectedClientsRequest;
11740
+ return proto.agentbillingserviceapi.GetDisconnectedClientsRequest.deserializeBinaryFromReader(msg, reader);
11741
+ };
11742
+
11743
+
11744
+ /**
11745
+ * Deserializes binary data (in protobuf wire format) from the
11746
+ * given reader into the given message object.
11747
+ * @param {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} msg The message object to deserialize into.
11748
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11749
+ * @return {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest}
11750
+ */
11751
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.deserializeBinaryFromReader = function(msg, reader) {
11752
+ while (reader.nextField()) {
11753
+ if (reader.isEndGroup()) {
11754
+ break;
11755
+ }
11756
+ var field = reader.getFieldNumber();
11757
+ switch (field) {
11758
+ case 1:
11759
+ var value = /** @type {number} */ (reader.readInt32());
11760
+ msg.setPage(value);
11761
+ break;
11762
+ case 2:
11763
+ var value = /** @type {number} */ (reader.readInt32());
11764
+ msg.setSize(value);
11765
+ break;
11766
+ case 3:
11767
+ var value = /** @type {number} */ (reader.readInt64());
11768
+ msg.setUserid(value);
11769
+ break;
11770
+ default:
11771
+ reader.skipField();
11772
+ break;
11773
+ }
11774
+ }
11775
+ return msg;
11776
+ };
11777
+
11778
+
11779
+ /**
11780
+ * Serializes the message to binary data (in protobuf wire format).
11781
+ * @return {!Uint8Array}
11782
+ */
11783
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.serializeBinary = function() {
11784
+ var writer = new jspb.BinaryWriter();
11785
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.serializeBinaryToWriter(this, writer);
11786
+ return writer.getResultBuffer();
11787
+ };
11788
+
11789
+
11790
+ /**
11791
+ * Serializes the given message to binary data (in protobuf wire
11792
+ * format), writing to the given BinaryWriter.
11793
+ * @param {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} message
11794
+ * @param {!jspb.BinaryWriter} writer
11795
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11796
+ */
11797
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.serializeBinaryToWriter = function(message, writer) {
11798
+ var f = undefined;
11799
+ f = message.getPage();
11800
+ if (f !== 0) {
11801
+ writer.writeInt32(
11802
+ 1,
11803
+ f
11804
+ );
11805
+ }
11806
+ f = message.getSize();
11807
+ if (f !== 0) {
11808
+ writer.writeInt32(
11809
+ 2,
11810
+ f
11811
+ );
11812
+ }
11813
+ f = message.getUserid();
11814
+ if (f !== 0) {
11815
+ writer.writeInt64(
11816
+ 3,
11817
+ f
11818
+ );
11819
+ }
11820
+ };
11821
+
11822
+
11823
+ /**
11824
+ * optional int32 page = 1;
11825
+ * @return {number}
11826
+ */
11827
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.getPage = function() {
11828
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
11829
+ };
11830
+
11831
+
11832
+ /**
11833
+ * @param {number} value
11834
+ * @return {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} returns this
11835
+ */
11836
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.setPage = function(value) {
11837
+ return jspb.Message.setProto3IntField(this, 1, value);
11838
+ };
11839
+
11840
+
11841
+ /**
11842
+ * optional int32 size = 2;
11843
+ * @return {number}
11844
+ */
11845
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.getSize = function() {
11846
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
11847
+ };
11848
+
11849
+
11850
+ /**
11851
+ * @param {number} value
11852
+ * @return {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} returns this
11853
+ */
11854
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.setSize = function(value) {
11855
+ return jspb.Message.setProto3IntField(this, 2, value);
11856
+ };
11857
+
11858
+
11859
+ /**
11860
+ * optional int64 userId = 3;
11861
+ * @return {number}
11862
+ */
11863
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.getUserid = function() {
11864
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
11865
+ };
11866
+
11867
+
11868
+ /**
11869
+ * @param {number} value
11870
+ * @return {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} returns this
11871
+ */
11872
+ proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.setUserid = function(value) {
11873
+ return jspb.Message.setProto3IntField(this, 3, value);
11874
+ };
11875
+
11876
+
11877
+
11878
+
11879
+
11880
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11881
+ /**
11882
+ * Creates an object representation of this proto.
11883
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11884
+ * Optional fields that are not set will be set to undefined.
11885
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11886
+ * For the list of reserved names please see:
11887
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11888
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11889
+ * JSPB instance for transitional soy proto support:
11890
+ * http://goto/soy-param-migration
11891
+ * @return {!Object}
11892
+ */
11893
+ proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.toObject = function(opt_includeInstance) {
11894
+ return proto.agentbillingserviceapi.GetPendingClientsRequest.toObject(opt_includeInstance, this);
11895
+ };
11896
+
11897
+
11898
+ /**
11899
+ * Static version of the {@see toObject} method.
11900
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11901
+ * the JSPB instance for transitional soy proto support:
11902
+ * http://goto/soy-param-migration
11903
+ * @param {!proto.agentbillingserviceapi.GetPendingClientsRequest} msg The msg instance to transform.
11904
+ * @return {!Object}
11905
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11906
+ */
11907
+ proto.agentbillingserviceapi.GetPendingClientsRequest.toObject = function(includeInstance, msg) {
11908
+ var f, obj = {
11909
+ page: jspb.Message.getFieldWithDefault(msg, 1, 0),
11910
+ size: jspb.Message.getFieldWithDefault(msg, 2, 0),
11911
+ userid: jspb.Message.getFieldWithDefault(msg, 3, 0)
11912
+ };
11913
+
11914
+ if (includeInstance) {
11915
+ obj.$jspbMessageInstance = msg;
11916
+ }
11917
+ return obj;
11918
+ };
11919
+ }
11920
+
11921
+
11922
+ /**
11923
+ * Deserializes binary data (in protobuf wire format).
11924
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11925
+ * @return {!proto.agentbillingserviceapi.GetPendingClientsRequest}
11926
+ */
11927
+ proto.agentbillingserviceapi.GetPendingClientsRequest.deserializeBinary = function(bytes) {
11928
+ var reader = new jspb.BinaryReader(bytes);
11929
+ var msg = new proto.agentbillingserviceapi.GetPendingClientsRequest;
11930
+ return proto.agentbillingserviceapi.GetPendingClientsRequest.deserializeBinaryFromReader(msg, reader);
11931
+ };
11932
+
11933
+
11934
+ /**
11935
+ * Deserializes binary data (in protobuf wire format) from the
11936
+ * given reader into the given message object.
11937
+ * @param {!proto.agentbillingserviceapi.GetPendingClientsRequest} msg The message object to deserialize into.
11938
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11939
+ * @return {!proto.agentbillingserviceapi.GetPendingClientsRequest}
11940
+ */
11941
+ proto.agentbillingserviceapi.GetPendingClientsRequest.deserializeBinaryFromReader = function(msg, reader) {
11942
+ while (reader.nextField()) {
11943
+ if (reader.isEndGroup()) {
11944
+ break;
11945
+ }
11946
+ var field = reader.getFieldNumber();
11947
+ switch (field) {
11948
+ case 1:
11949
+ var value = /** @type {number} */ (reader.readInt32());
11950
+ msg.setPage(value);
11951
+ break;
11952
+ case 2:
11953
+ var value = /** @type {number} */ (reader.readInt32());
11954
+ msg.setSize(value);
11955
+ break;
11956
+ case 3:
11957
+ var value = /** @type {number} */ (reader.readInt64());
11958
+ msg.setUserid(value);
11959
+ break;
11960
+ default:
11961
+ reader.skipField();
11962
+ break;
11963
+ }
11964
+ }
11965
+ return msg;
11966
+ };
11967
+
11968
+
11969
+ /**
11970
+ * Serializes the message to binary data (in protobuf wire format).
11971
+ * @return {!Uint8Array}
11972
+ */
11973
+ proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.serializeBinary = function() {
11974
+ var writer = new jspb.BinaryWriter();
11975
+ proto.agentbillingserviceapi.GetPendingClientsRequest.serializeBinaryToWriter(this, writer);
11976
+ return writer.getResultBuffer();
11977
+ };
11978
+
11979
+
11980
+ /**
11981
+ * Serializes the given message to binary data (in protobuf wire
11982
+ * format), writing to the given BinaryWriter.
11983
+ * @param {!proto.agentbillingserviceapi.GetPendingClientsRequest} message
11984
+ * @param {!jspb.BinaryWriter} writer
11985
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11986
+ */
11987
+ proto.agentbillingserviceapi.GetPendingClientsRequest.serializeBinaryToWriter = function(message, writer) {
11988
+ var f = undefined;
11989
+ f = message.getPage();
11990
+ if (f !== 0) {
11991
+ writer.writeInt32(
11992
+ 1,
11993
+ f
11994
+ );
11995
+ }
11996
+ f = message.getSize();
11997
+ if (f !== 0) {
11998
+ writer.writeInt32(
11999
+ 2,
12000
+ f
12001
+ );
12002
+ }
12003
+ f = message.getUserid();
12004
+ if (f !== 0) {
12005
+ writer.writeInt64(
12006
+ 3,
12007
+ f
12008
+ );
12009
+ }
12010
+ };
12011
+
12012
+
12013
+ /**
12014
+ * optional int32 page = 1;
12015
+ * @return {number}
12016
+ */
12017
+ proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.getPage = function() {
12018
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
12019
+ };
12020
+
12021
+
12022
+ /**
12023
+ * @param {number} value
12024
+ * @return {!proto.agentbillingserviceapi.GetPendingClientsRequest} returns this
12025
+ */
12026
+ proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.setPage = function(value) {
12027
+ return jspb.Message.setProto3IntField(this, 1, value);
12028
+ };
12029
+
12030
+
12031
+ /**
12032
+ * optional int32 size = 2;
12033
+ * @return {number}
12034
+ */
12035
+ proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.getSize = function() {
12036
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
12037
+ };
12038
+
12039
+
12040
+ /**
12041
+ * @param {number} value
12042
+ * @return {!proto.agentbillingserviceapi.GetPendingClientsRequest} returns this
12043
+ */
12044
+ proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.setSize = function(value) {
12045
+ return jspb.Message.setProto3IntField(this, 2, value);
12046
+ };
12047
+
12048
+
12049
+ /**
12050
+ * optional int64 userId = 3;
12051
+ * @return {number}
12052
+ */
12053
+ proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.getUserid = function() {
12054
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
12055
+ };
12056
+
12057
+
12058
+ /**
12059
+ * @param {number} value
12060
+ * @return {!proto.agentbillingserviceapi.GetPendingClientsRequest} returns this
12061
+ */
12062
+ proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.setUserid = function(value) {
12063
+ return jspb.Message.setProto3IntField(this, 3, value);
12064
+ };
12065
+
12066
+
12067
+
12068
+
12069
+
11494
12070
  if (jspb.Message.GENERATE_TO_OBJECT) {
11495
12071
  /**
11496
12072
  * Creates an object representation of this proto.