@sniipwebmaster/agent-billing-client-grpcweb-ts 23.13.977 → 23.13.1000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dependancies/ServiceServiceClientPb.ts +173 -0
- package/dependancies/service_pb.d.ts +114 -11
- package/dependancies/service_pb.js +1013 -172
- package/package.json +1 -1
|
@@ -14,6 +14,8 @@ var global = Function('return this')();
|
|
|
14
14
|
|
|
15
15
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
16
16
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
17
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
18
|
+
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
17
19
|
goog.exportSymbol('proto.agentbillingserviceapi.Agent', null, global);
|
|
18
20
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentBill', null, global);
|
|
19
21
|
goog.exportSymbol('proto.agentbillingserviceapi.AgentBillMapping', null, global);
|
|
@@ -43,6 +45,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBil
|
|
|
43
45
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse', null, global);
|
|
44
46
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsForClientRequest', null, global);
|
|
45
47
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsResponse', null, global);
|
|
48
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse', null, global);
|
|
46
49
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentRequest', null, global);
|
|
47
50
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentResponse', null, global);
|
|
48
51
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentsRequest', null, global);
|
|
@@ -51,6 +54,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientRequest', nul
|
|
|
51
54
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientResponse', null, global);
|
|
52
55
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsRequest', null, global);
|
|
53
56
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsResponse', null, global);
|
|
57
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetConnectedClientsRequest', null, global);
|
|
54
58
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse', null, global);
|
|
55
59
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest', null, global);
|
|
56
60
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest', null, global);
|
|
@@ -59,6 +63,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountRequ
|
|
|
59
63
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse', null, global);
|
|
60
64
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest', null, global);
|
|
61
65
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest', null, global);
|
|
66
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetDisconnectedClientsRequest', null, global);
|
|
67
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetPendingClientsRequest', null, global);
|
|
62
68
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchContentsInDraftRequest', null, global);
|
|
63
69
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesInDraftRequest', null, global);
|
|
64
70
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesResponse', null, global);
|
|
@@ -680,6 +686,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
680
686
|
*/
|
|
681
687
|
proto.agentbillingserviceapi.GetAgentBillsResponse.displayName = 'proto.agentbillingserviceapi.GetAgentBillsResponse';
|
|
682
688
|
}
|
|
689
|
+
/**
|
|
690
|
+
* Generated by JsPbCodeGenerator.
|
|
691
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
692
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
693
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
694
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
695
|
+
* valid.
|
|
696
|
+
* @extends {jspb.Message}
|
|
697
|
+
* @constructor
|
|
698
|
+
*/
|
|
699
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse = function(opt_data) {
|
|
700
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
701
|
+
};
|
|
702
|
+
goog.inherits(proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse, jspb.Message);
|
|
703
|
+
if (goog.DEBUG && !COMPILED) {
|
|
704
|
+
/**
|
|
705
|
+
* @public
|
|
706
|
+
* @override
|
|
707
|
+
*/
|
|
708
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.displayName = 'proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse';
|
|
709
|
+
}
|
|
683
710
|
/**
|
|
684
711
|
* Generated by JsPbCodeGenerator.
|
|
685
712
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -848,6 +875,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
848
875
|
*/
|
|
849
876
|
proto.agentbillingserviceapi.GetAssociatedClientsResponse.displayName = 'proto.agentbillingserviceapi.GetAssociatedClientsResponse';
|
|
850
877
|
}
|
|
878
|
+
/**
|
|
879
|
+
* Generated by JsPbCodeGenerator.
|
|
880
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
881
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
882
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
883
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
884
|
+
* valid.
|
|
885
|
+
* @extends {jspb.Message}
|
|
886
|
+
* @constructor
|
|
887
|
+
*/
|
|
888
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest = function(opt_data) {
|
|
889
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
890
|
+
};
|
|
891
|
+
goog.inherits(proto.agentbillingserviceapi.GetConnectedClientsRequest, jspb.Message);
|
|
892
|
+
if (goog.DEBUG && !COMPILED) {
|
|
893
|
+
/**
|
|
894
|
+
* @public
|
|
895
|
+
* @override
|
|
896
|
+
*/
|
|
897
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.displayName = 'proto.agentbillingserviceapi.GetConnectedClientsRequest';
|
|
898
|
+
}
|
|
851
899
|
/**
|
|
852
900
|
* Generated by JsPbCodeGenerator.
|
|
853
901
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1016,6 +1064,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1016
1064
|
*/
|
|
1017
1065
|
proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest';
|
|
1018
1066
|
}
|
|
1067
|
+
/**
|
|
1068
|
+
* Generated by JsPbCodeGenerator.
|
|
1069
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1070
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1071
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1072
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1073
|
+
* valid.
|
|
1074
|
+
* @extends {jspb.Message}
|
|
1075
|
+
* @constructor
|
|
1076
|
+
*/
|
|
1077
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest = function(opt_data) {
|
|
1078
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1079
|
+
};
|
|
1080
|
+
goog.inherits(proto.agentbillingserviceapi.GetDisconnectedClientsRequest, jspb.Message);
|
|
1081
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1082
|
+
/**
|
|
1083
|
+
* @public
|
|
1084
|
+
* @override
|
|
1085
|
+
*/
|
|
1086
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.displayName = 'proto.agentbillingserviceapi.GetDisconnectedClientsRequest';
|
|
1087
|
+
}
|
|
1088
|
+
/**
|
|
1089
|
+
* Generated by JsPbCodeGenerator.
|
|
1090
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1091
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1092
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1093
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1094
|
+
* valid.
|
|
1095
|
+
* @extends {jspb.Message}
|
|
1096
|
+
* @constructor
|
|
1097
|
+
*/
|
|
1098
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest = function(opt_data) {
|
|
1099
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1100
|
+
};
|
|
1101
|
+
goog.inherits(proto.agentbillingserviceapi.GetPendingClientsRequest, jspb.Message);
|
|
1102
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1103
|
+
/**
|
|
1104
|
+
* @public
|
|
1105
|
+
* @override
|
|
1106
|
+
*/
|
|
1107
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.displayName = 'proto.agentbillingserviceapi.GetPendingClientsRequest';
|
|
1108
|
+
}
|
|
1019
1109
|
/**
|
|
1020
1110
|
* Generated by JsPbCodeGenerator.
|
|
1021
1111
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3292,9 +3382,7 @@ proto.agentbillingserviceapi.Client.toObject = function(includeInstance, msg) {
|
|
|
3292
3382
|
imageurl: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3293
3383
|
iscustomimage: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
3294
3384
|
abn: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3295
|
-
|
|
3296
|
-
billscount: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
3297
|
-
billstotalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0)
|
|
3385
|
+
abnentityname: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
3298
3386
|
};
|
|
3299
3387
|
|
|
3300
3388
|
if (includeInstance) {
|
|
@@ -3369,15 +3457,7 @@ proto.agentbillingserviceapi.Client.deserializeBinaryFromReader = function(msg,
|
|
|
3369
3457
|
break;
|
|
3370
3458
|
case 10:
|
|
3371
3459
|
var value = /** @type {string} */ (reader.readString());
|
|
3372
|
-
msg.
|
|
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);
|
|
3460
|
+
msg.setAbnentityname(value);
|
|
3381
3461
|
break;
|
|
3382
3462
|
default:
|
|
3383
3463
|
reader.skipField();
|
|
@@ -3471,27 +3551,13 @@ proto.agentbillingserviceapi.Client.serializeBinaryToWriter = function(message,
|
|
|
3471
3551
|
f
|
|
3472
3552
|
);
|
|
3473
3553
|
}
|
|
3474
|
-
f = message.
|
|
3554
|
+
f = message.getAbnentityname();
|
|
3475
3555
|
if (f.length > 0) {
|
|
3476
3556
|
writer.writeString(
|
|
3477
3557
|
10,
|
|
3478
3558
|
f
|
|
3479
3559
|
);
|
|
3480
3560
|
}
|
|
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
3561
|
};
|
|
3496
3562
|
|
|
3497
3563
|
|
|
@@ -3658,10 +3724,10 @@ proto.agentbillingserviceapi.Client.prototype.setAbn = function(value) {
|
|
|
3658
3724
|
|
|
3659
3725
|
|
|
3660
3726
|
/**
|
|
3661
|
-
* optional string
|
|
3727
|
+
* optional string abnEntityName = 10;
|
|
3662
3728
|
* @return {string}
|
|
3663
3729
|
*/
|
|
3664
|
-
proto.agentbillingserviceapi.Client.prototype.
|
|
3730
|
+
proto.agentbillingserviceapi.Client.prototype.getAbnentityname = function() {
|
|
3665
3731
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
3666
3732
|
};
|
|
3667
3733
|
|
|
@@ -3670,47 +3736,11 @@ proto.agentbillingserviceapi.Client.prototype.getAbnentitiyname = function() {
|
|
|
3670
3736
|
* @param {string} value
|
|
3671
3737
|
* @return {!proto.agentbillingserviceapi.Client} returns this
|
|
3672
3738
|
*/
|
|
3673
|
-
proto.agentbillingserviceapi.Client.prototype.
|
|
3739
|
+
proto.agentbillingserviceapi.Client.prototype.setAbnentityname = function(value) {
|
|
3674
3740
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
3675
3741
|
};
|
|
3676
3742
|
|
|
3677
3743
|
|
|
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
3744
|
|
|
3715
3745
|
|
|
3716
3746
|
|
|
@@ -8065,8 +8095,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8065
8095
|
* http://goto/soy-param-migration
|
|
8066
8096
|
* @return {!Object}
|
|
8067
8097
|
*/
|
|
8068
|
-
proto.agentbillingserviceapi.
|
|
8069
|
-
return proto.agentbillingserviceapi.
|
|
8098
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8099
|
+
return proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.toObject(opt_includeInstance, this);
|
|
8070
8100
|
};
|
|
8071
8101
|
|
|
8072
8102
|
|
|
@@ -8075,15 +8105,16 @@ proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.toObject = func
|
|
|
8075
8105
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8076
8106
|
* the JSPB instance for transitional soy proto support:
|
|
8077
8107
|
* http://goto/soy-param-migration
|
|
8078
|
-
* @param {!proto.agentbillingserviceapi.
|
|
8108
|
+
* @param {!proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse} msg The msg instance to transform.
|
|
8079
8109
|
* @return {!Object}
|
|
8080
8110
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8081
8111
|
*/
|
|
8082
|
-
proto.agentbillingserviceapi.
|
|
8112
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.toObject = function(includeInstance, msg) {
|
|
8083
8113
|
var f, obj = {
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
|
|
8114
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
8115
|
+
activecount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8116
|
+
inactivecount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8117
|
+
pendingrequestcount: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
8087
8118
|
};
|
|
8088
8119
|
|
|
8089
8120
|
if (includeInstance) {
|
|
@@ -8097,23 +8128,23 @@ proto.agentbillingserviceapi.GetAssociatedAgentRequest.toObject = function(inclu
|
|
|
8097
8128
|
/**
|
|
8098
8129
|
* Deserializes binary data (in protobuf wire format).
|
|
8099
8130
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8100
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8131
|
+
* @return {!proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse}
|
|
8101
8132
|
*/
|
|
8102
|
-
proto.agentbillingserviceapi.
|
|
8133
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.deserializeBinary = function(bytes) {
|
|
8103
8134
|
var reader = new jspb.BinaryReader(bytes);
|
|
8104
|
-
var msg = new proto.agentbillingserviceapi.
|
|
8105
|
-
return proto.agentbillingserviceapi.
|
|
8135
|
+
var msg = new proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse;
|
|
8136
|
+
return proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.deserializeBinaryFromReader(msg, reader);
|
|
8106
8137
|
};
|
|
8107
8138
|
|
|
8108
8139
|
|
|
8109
8140
|
/**
|
|
8110
8141
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8111
8142
|
* given reader into the given message object.
|
|
8112
|
-
* @param {!proto.agentbillingserviceapi.
|
|
8143
|
+
* @param {!proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse} msg The message object to deserialize into.
|
|
8113
8144
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8114
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8145
|
+
* @return {!proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse}
|
|
8115
8146
|
*/
|
|
8116
|
-
proto.agentbillingserviceapi.
|
|
8147
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8117
8148
|
while (reader.nextField()) {
|
|
8118
8149
|
if (reader.isEndGroup()) {
|
|
8119
8150
|
break;
|
|
@@ -8121,16 +8152,21 @@ proto.agentbillingserviceapi.GetAssociatedAgentRequest.deserializeBinaryFromRead
|
|
|
8121
8152
|
var field = reader.getFieldNumber();
|
|
8122
8153
|
switch (field) {
|
|
8123
8154
|
case 1:
|
|
8124
|
-
var value =
|
|
8125
|
-
|
|
8155
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
8156
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
8157
|
+
msg.setResponsecode(value);
|
|
8126
8158
|
break;
|
|
8127
8159
|
case 2:
|
|
8128
|
-
var value = /** @type {number} */ (reader.
|
|
8129
|
-
msg.
|
|
8160
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8161
|
+
msg.setActivecount(value);
|
|
8130
8162
|
break;
|
|
8131
8163
|
case 3:
|
|
8132
|
-
var value = /** @type {
|
|
8133
|
-
msg.
|
|
8164
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8165
|
+
msg.setInactivecount(value);
|
|
8166
|
+
break;
|
|
8167
|
+
case 4:
|
|
8168
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8169
|
+
msg.setPendingrequestcount(value);
|
|
8134
8170
|
break;
|
|
8135
8171
|
default:
|
|
8136
8172
|
reader.skipField();
|
|
@@ -8145,9 +8181,9 @@ proto.agentbillingserviceapi.GetAssociatedAgentRequest.deserializeBinaryFromRead
|
|
|
8145
8181
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8146
8182
|
* @return {!Uint8Array}
|
|
8147
8183
|
*/
|
|
8148
|
-
proto.agentbillingserviceapi.
|
|
8184
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.serializeBinary = function() {
|
|
8149
8185
|
var writer = new jspb.BinaryWriter();
|
|
8150
|
-
proto.agentbillingserviceapi.
|
|
8186
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.serializeBinaryToWriter(this, writer);
|
|
8151
8187
|
return writer.getResultBuffer();
|
|
8152
8188
|
};
|
|
8153
8189
|
|
|
@@ -8155,87 +8191,132 @@ proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.serializeBinary
|
|
|
8155
8191
|
/**
|
|
8156
8192
|
* Serializes the given message to binary data (in protobuf wire
|
|
8157
8193
|
* format), writing to the given BinaryWriter.
|
|
8158
|
-
* @param {!proto.agentbillingserviceapi.
|
|
8194
|
+
* @param {!proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse} message
|
|
8159
8195
|
* @param {!jspb.BinaryWriter} writer
|
|
8160
8196
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8161
8197
|
*/
|
|
8162
|
-
proto.agentbillingserviceapi.
|
|
8198
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8163
8199
|
var f = undefined;
|
|
8164
|
-
f = message.
|
|
8165
|
-
if (f
|
|
8166
|
-
writer.
|
|
8200
|
+
f = message.getResponsecode();
|
|
8201
|
+
if (f != null) {
|
|
8202
|
+
writer.writeMessage(
|
|
8167
8203
|
1,
|
|
8168
|
-
f
|
|
8204
|
+
f,
|
|
8205
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
8169
8206
|
);
|
|
8170
8207
|
}
|
|
8171
|
-
f = message.
|
|
8208
|
+
f = message.getActivecount();
|
|
8172
8209
|
if (f !== 0) {
|
|
8173
|
-
writer.
|
|
8210
|
+
writer.writeInt32(
|
|
8174
8211
|
2,
|
|
8175
8212
|
f
|
|
8176
8213
|
);
|
|
8177
8214
|
}
|
|
8178
|
-
f = message.
|
|
8179
|
-
if (f
|
|
8180
|
-
writer.
|
|
8215
|
+
f = message.getInactivecount();
|
|
8216
|
+
if (f !== 0) {
|
|
8217
|
+
writer.writeInt32(
|
|
8181
8218
|
3,
|
|
8182
8219
|
f
|
|
8183
8220
|
);
|
|
8184
8221
|
}
|
|
8222
|
+
f = message.getPendingrequestcount();
|
|
8223
|
+
if (f !== 0) {
|
|
8224
|
+
writer.writeInt32(
|
|
8225
|
+
4,
|
|
8226
|
+
f
|
|
8227
|
+
);
|
|
8228
|
+
}
|
|
8185
8229
|
};
|
|
8186
8230
|
|
|
8187
8231
|
|
|
8188
8232
|
/**
|
|
8189
|
-
* optional
|
|
8190
|
-
* @return {
|
|
8233
|
+
* optional ResponseCode responseCode = 1;
|
|
8234
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
8191
8235
|
*/
|
|
8192
|
-
proto.agentbillingserviceapi.
|
|
8193
|
-
return /** @type
|
|
8236
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.getResponsecode = function() {
|
|
8237
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
8238
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
8194
8239
|
};
|
|
8195
8240
|
|
|
8196
8241
|
|
|
8197
8242
|
/**
|
|
8198
|
-
* @param {
|
|
8199
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8243
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
8244
|
+
* @return {!proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse} returns this
|
|
8245
|
+
*/
|
|
8246
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.setResponsecode = function(value) {
|
|
8247
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
8248
|
+
};
|
|
8249
|
+
|
|
8250
|
+
|
|
8251
|
+
/**
|
|
8252
|
+
* Clears the message field making it undefined.
|
|
8253
|
+
* @return {!proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse} returns this
|
|
8200
8254
|
*/
|
|
8201
|
-
proto.agentbillingserviceapi.
|
|
8202
|
-
return
|
|
8255
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.clearResponsecode = function() {
|
|
8256
|
+
return this.setResponsecode(undefined);
|
|
8203
8257
|
};
|
|
8204
8258
|
|
|
8205
8259
|
|
|
8206
8260
|
/**
|
|
8207
|
-
*
|
|
8261
|
+
* Returns whether this field is set.
|
|
8262
|
+
* @return {boolean}
|
|
8263
|
+
*/
|
|
8264
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.hasResponsecode = function() {
|
|
8265
|
+
return jspb.Message.getField(this, 1) != null;
|
|
8266
|
+
};
|
|
8267
|
+
|
|
8268
|
+
|
|
8269
|
+
/**
|
|
8270
|
+
* optional int32 activeCount = 2;
|
|
8208
8271
|
* @return {number}
|
|
8209
8272
|
*/
|
|
8210
|
-
proto.agentbillingserviceapi.
|
|
8273
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.getActivecount = function() {
|
|
8211
8274
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
8212
8275
|
};
|
|
8213
8276
|
|
|
8214
8277
|
|
|
8215
8278
|
/**
|
|
8216
8279
|
* @param {number} value
|
|
8217
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8280
|
+
* @return {!proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse} returns this
|
|
8218
8281
|
*/
|
|
8219
|
-
proto.agentbillingserviceapi.
|
|
8282
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.setActivecount = function(value) {
|
|
8220
8283
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
8221
8284
|
};
|
|
8222
8285
|
|
|
8223
8286
|
|
|
8224
8287
|
/**
|
|
8225
|
-
* optional
|
|
8226
|
-
* @return {
|
|
8288
|
+
* optional int32 inactiveCount = 3;
|
|
8289
|
+
* @return {number}
|
|
8227
8290
|
*/
|
|
8228
|
-
proto.agentbillingserviceapi.
|
|
8229
|
-
return /** @type {
|
|
8291
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.getInactivecount = function() {
|
|
8292
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
8230
8293
|
};
|
|
8231
8294
|
|
|
8232
8295
|
|
|
8233
8296
|
/**
|
|
8234
|
-
* @param {
|
|
8235
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8297
|
+
* @param {number} value
|
|
8298
|
+
* @return {!proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse} returns this
|
|
8236
8299
|
*/
|
|
8237
|
-
proto.agentbillingserviceapi.
|
|
8238
|
-
return jspb.Message.
|
|
8300
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.setInactivecount = function(value) {
|
|
8301
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
8302
|
+
};
|
|
8303
|
+
|
|
8304
|
+
|
|
8305
|
+
/**
|
|
8306
|
+
* optional int32 pendingRequestCount = 4;
|
|
8307
|
+
* @return {number}
|
|
8308
|
+
*/
|
|
8309
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.getPendingrequestcount = function() {
|
|
8310
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
8311
|
+
};
|
|
8312
|
+
|
|
8313
|
+
|
|
8314
|
+
/**
|
|
8315
|
+
* @param {number} value
|
|
8316
|
+
* @return {!proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse} returns this
|
|
8317
|
+
*/
|
|
8318
|
+
proto.agentbillingserviceapi.GetAgentConnectionCategoryCountsResponse.prototype.setPendingrequestcount = function(value) {
|
|
8319
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
8239
8320
|
};
|
|
8240
8321
|
|
|
8241
8322
|
|
|
@@ -8255,8 +8336,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8255
8336
|
* http://goto/soy-param-migration
|
|
8256
8337
|
* @return {!Object}
|
|
8257
8338
|
*/
|
|
8258
|
-
proto.agentbillingserviceapi.
|
|
8259
|
-
return proto.agentbillingserviceapi.
|
|
8339
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8340
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentRequest.toObject(opt_includeInstance, this);
|
|
8260
8341
|
};
|
|
8261
8342
|
|
|
8262
8343
|
|
|
@@ -8265,14 +8346,15 @@ proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.toObject = fun
|
|
|
8265
8346
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8266
8347
|
* the JSPB instance for transitional soy proto support:
|
|
8267
8348
|
* http://goto/soy-param-migration
|
|
8268
|
-
* @param {!proto.agentbillingserviceapi.
|
|
8349
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} msg The msg instance to transform.
|
|
8269
8350
|
* @return {!Object}
|
|
8270
8351
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8271
8352
|
*/
|
|
8272
|
-
proto.agentbillingserviceapi.
|
|
8353
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.toObject = function(includeInstance, msg) {
|
|
8273
8354
|
var f, obj = {
|
|
8274
|
-
|
|
8275
|
-
|
|
8355
|
+
agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
8356
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8357
|
+
invitedagentemail: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
8276
8358
|
};
|
|
8277
8359
|
|
|
8278
8360
|
if (includeInstance) {
|
|
@@ -8286,21 +8368,210 @@ proto.agentbillingserviceapi.GetAssociatedAgentResponse.toObject = function(incl
|
|
|
8286
8368
|
/**
|
|
8287
8369
|
* Deserializes binary data (in protobuf wire format).
|
|
8288
8370
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8289
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8371
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentRequest}
|
|
8290
8372
|
*/
|
|
8291
|
-
proto.agentbillingserviceapi.
|
|
8373
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.deserializeBinary = function(bytes) {
|
|
8292
8374
|
var reader = new jspb.BinaryReader(bytes);
|
|
8293
|
-
var msg = new proto.agentbillingserviceapi.
|
|
8294
|
-
return proto.agentbillingserviceapi.
|
|
8375
|
+
var msg = new proto.agentbillingserviceapi.GetAssociatedAgentRequest;
|
|
8376
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentRequest.deserializeBinaryFromReader(msg, reader);
|
|
8295
8377
|
};
|
|
8296
8378
|
|
|
8297
8379
|
|
|
8298
8380
|
/**
|
|
8299
8381
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8300
8382
|
* given reader into the given message object.
|
|
8301
|
-
* @param {!proto.agentbillingserviceapi.
|
|
8383
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} msg The message object to deserialize into.
|
|
8302
8384
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8303
|
-
* @return {!proto.agentbillingserviceapi.
|
|
8385
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentRequest}
|
|
8386
|
+
*/
|
|
8387
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8388
|
+
while (reader.nextField()) {
|
|
8389
|
+
if (reader.isEndGroup()) {
|
|
8390
|
+
break;
|
|
8391
|
+
}
|
|
8392
|
+
var field = reader.getFieldNumber();
|
|
8393
|
+
switch (field) {
|
|
8394
|
+
case 1:
|
|
8395
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8396
|
+
msg.setAgentuserid(value);
|
|
8397
|
+
break;
|
|
8398
|
+
case 2:
|
|
8399
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8400
|
+
msg.setClientuserid(value);
|
|
8401
|
+
break;
|
|
8402
|
+
case 3:
|
|
8403
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8404
|
+
msg.setInvitedagentemail(value);
|
|
8405
|
+
break;
|
|
8406
|
+
default:
|
|
8407
|
+
reader.skipField();
|
|
8408
|
+
break;
|
|
8409
|
+
}
|
|
8410
|
+
}
|
|
8411
|
+
return msg;
|
|
8412
|
+
};
|
|
8413
|
+
|
|
8414
|
+
|
|
8415
|
+
/**
|
|
8416
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8417
|
+
* @return {!Uint8Array}
|
|
8418
|
+
*/
|
|
8419
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.serializeBinary = function() {
|
|
8420
|
+
var writer = new jspb.BinaryWriter();
|
|
8421
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.serializeBinaryToWriter(this, writer);
|
|
8422
|
+
return writer.getResultBuffer();
|
|
8423
|
+
};
|
|
8424
|
+
|
|
8425
|
+
|
|
8426
|
+
/**
|
|
8427
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8428
|
+
* format), writing to the given BinaryWriter.
|
|
8429
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} message
|
|
8430
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8431
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8432
|
+
*/
|
|
8433
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8434
|
+
var f = undefined;
|
|
8435
|
+
f = message.getAgentuserid();
|
|
8436
|
+
if (f !== 0) {
|
|
8437
|
+
writer.writeInt64(
|
|
8438
|
+
1,
|
|
8439
|
+
f
|
|
8440
|
+
);
|
|
8441
|
+
}
|
|
8442
|
+
f = message.getClientuserid();
|
|
8443
|
+
if (f !== 0) {
|
|
8444
|
+
writer.writeInt64(
|
|
8445
|
+
2,
|
|
8446
|
+
f
|
|
8447
|
+
);
|
|
8448
|
+
}
|
|
8449
|
+
f = message.getInvitedagentemail();
|
|
8450
|
+
if (f.length > 0) {
|
|
8451
|
+
writer.writeString(
|
|
8452
|
+
3,
|
|
8453
|
+
f
|
|
8454
|
+
);
|
|
8455
|
+
}
|
|
8456
|
+
};
|
|
8457
|
+
|
|
8458
|
+
|
|
8459
|
+
/**
|
|
8460
|
+
* optional int64 agentUserId = 1;
|
|
8461
|
+
* @return {number}
|
|
8462
|
+
*/
|
|
8463
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.getAgentuserid = function() {
|
|
8464
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
8465
|
+
};
|
|
8466
|
+
|
|
8467
|
+
|
|
8468
|
+
/**
|
|
8469
|
+
* @param {number} value
|
|
8470
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} returns this
|
|
8471
|
+
*/
|
|
8472
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.setAgentuserid = function(value) {
|
|
8473
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
8474
|
+
};
|
|
8475
|
+
|
|
8476
|
+
|
|
8477
|
+
/**
|
|
8478
|
+
* optional int64 clientUserId = 2;
|
|
8479
|
+
* @return {number}
|
|
8480
|
+
*/
|
|
8481
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.getClientuserid = function() {
|
|
8482
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
8483
|
+
};
|
|
8484
|
+
|
|
8485
|
+
|
|
8486
|
+
/**
|
|
8487
|
+
* @param {number} value
|
|
8488
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} returns this
|
|
8489
|
+
*/
|
|
8490
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.setClientuserid = function(value) {
|
|
8491
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
8492
|
+
};
|
|
8493
|
+
|
|
8494
|
+
|
|
8495
|
+
/**
|
|
8496
|
+
* optional string invitedAgentEmail = 3;
|
|
8497
|
+
* @return {string}
|
|
8498
|
+
*/
|
|
8499
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.getInvitedagentemail = function() {
|
|
8500
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8501
|
+
};
|
|
8502
|
+
|
|
8503
|
+
|
|
8504
|
+
/**
|
|
8505
|
+
* @param {string} value
|
|
8506
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentRequest} returns this
|
|
8507
|
+
*/
|
|
8508
|
+
proto.agentbillingserviceapi.GetAssociatedAgentRequest.prototype.setInvitedagentemail = function(value) {
|
|
8509
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
8510
|
+
};
|
|
8511
|
+
|
|
8512
|
+
|
|
8513
|
+
|
|
8514
|
+
|
|
8515
|
+
|
|
8516
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8517
|
+
/**
|
|
8518
|
+
* Creates an object representation of this proto.
|
|
8519
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8520
|
+
* Optional fields that are not set will be set to undefined.
|
|
8521
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8522
|
+
* For the list of reserved names please see:
|
|
8523
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8524
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8525
|
+
* JSPB instance for transitional soy proto support:
|
|
8526
|
+
* http://goto/soy-param-migration
|
|
8527
|
+
* @return {!Object}
|
|
8528
|
+
*/
|
|
8529
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8530
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentResponse.toObject(opt_includeInstance, this);
|
|
8531
|
+
};
|
|
8532
|
+
|
|
8533
|
+
|
|
8534
|
+
/**
|
|
8535
|
+
* Static version of the {@see toObject} method.
|
|
8536
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8537
|
+
* the JSPB instance for transitional soy proto support:
|
|
8538
|
+
* http://goto/soy-param-migration
|
|
8539
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentResponse} msg The msg instance to transform.
|
|
8540
|
+
* @return {!Object}
|
|
8541
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8542
|
+
*/
|
|
8543
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.toObject = function(includeInstance, msg) {
|
|
8544
|
+
var f, obj = {
|
|
8545
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
8546
|
+
associatedagent: (f = msg.getAssociatedagent()) && proto.agentbillingserviceapi.Agent.toObject(includeInstance, f)
|
|
8547
|
+
};
|
|
8548
|
+
|
|
8549
|
+
if (includeInstance) {
|
|
8550
|
+
obj.$jspbMessageInstance = msg;
|
|
8551
|
+
}
|
|
8552
|
+
return obj;
|
|
8553
|
+
};
|
|
8554
|
+
}
|
|
8555
|
+
|
|
8556
|
+
|
|
8557
|
+
/**
|
|
8558
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8559
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8560
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentResponse}
|
|
8561
|
+
*/
|
|
8562
|
+
proto.agentbillingserviceapi.GetAssociatedAgentResponse.deserializeBinary = function(bytes) {
|
|
8563
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8564
|
+
var msg = new proto.agentbillingserviceapi.GetAssociatedAgentResponse;
|
|
8565
|
+
return proto.agentbillingserviceapi.GetAssociatedAgentResponse.deserializeBinaryFromReader(msg, reader);
|
|
8566
|
+
};
|
|
8567
|
+
|
|
8568
|
+
|
|
8569
|
+
/**
|
|
8570
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8571
|
+
* given reader into the given message object.
|
|
8572
|
+
* @param {!proto.agentbillingserviceapi.GetAssociatedAgentResponse} msg The message object to deserialize into.
|
|
8573
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8574
|
+
* @return {!proto.agentbillingserviceapi.GetAssociatedAgentResponse}
|
|
8304
8575
|
*/
|
|
8305
8576
|
proto.agentbillingserviceapi.GetAssociatedAgentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8306
8577
|
while (reader.nextField()) {
|
|
@@ -9846,13 +10117,6 @@ proto.agentbillingserviceapi.GetAssociatedClientsResponse.prototype.setTotalsize
|
|
|
9846
10117
|
|
|
9847
10118
|
|
|
9848
10119
|
|
|
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
10120
|
|
|
9857
10121
|
|
|
9858
10122
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -9868,8 +10132,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
9868
10132
|
* http://goto/soy-param-migration
|
|
9869
10133
|
* @return {!Object}
|
|
9870
10134
|
*/
|
|
9871
|
-
proto.agentbillingserviceapi.
|
|
9872
|
-
return proto.agentbillingserviceapi.
|
|
10135
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10136
|
+
return proto.agentbillingserviceapi.GetConnectedClientsRequest.toObject(opt_includeInstance, this);
|
|
9873
10137
|
};
|
|
9874
10138
|
|
|
9875
10139
|
|
|
@@ -9878,15 +10142,15 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.toObject
|
|
|
9878
10142
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9879
10143
|
* the JSPB instance for transitional soy proto support:
|
|
9880
10144
|
* http://goto/soy-param-migration
|
|
9881
|
-
* @param {!proto.agentbillingserviceapi.
|
|
10145
|
+
* @param {!proto.agentbillingserviceapi.GetConnectedClientsRequest} msg The msg instance to transform.
|
|
9882
10146
|
* @return {!Object}
|
|
9883
10147
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9884
10148
|
*/
|
|
9885
|
-
proto.agentbillingserviceapi.
|
|
10149
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.toObject = function(includeInstance, msg) {
|
|
9886
10150
|
var f, obj = {
|
|
9887
|
-
|
|
9888
|
-
|
|
9889
|
-
|
|
10151
|
+
page: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10152
|
+
size: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
10153
|
+
userid: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
9890
10154
|
};
|
|
9891
10155
|
|
|
9892
10156
|
if (includeInstance) {
|
|
@@ -9900,23 +10164,23 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.toObject = functio
|
|
|
9900
10164
|
/**
|
|
9901
10165
|
* Deserializes binary data (in protobuf wire format).
|
|
9902
10166
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9903
|
-
* @return {!proto.agentbillingserviceapi.
|
|
10167
|
+
* @return {!proto.agentbillingserviceapi.GetConnectedClientsRequest}
|
|
9904
10168
|
*/
|
|
9905
|
-
proto.agentbillingserviceapi.
|
|
10169
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.deserializeBinary = function(bytes) {
|
|
9906
10170
|
var reader = new jspb.BinaryReader(bytes);
|
|
9907
|
-
var msg = new proto.agentbillingserviceapi.
|
|
9908
|
-
return proto.agentbillingserviceapi.
|
|
10171
|
+
var msg = new proto.agentbillingserviceapi.GetConnectedClientsRequest;
|
|
10172
|
+
return proto.agentbillingserviceapi.GetConnectedClientsRequest.deserializeBinaryFromReader(msg, reader);
|
|
9909
10173
|
};
|
|
9910
10174
|
|
|
9911
10175
|
|
|
9912
10176
|
/**
|
|
9913
10177
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9914
10178
|
* given reader into the given message object.
|
|
9915
|
-
* @param {!proto.agentbillingserviceapi.
|
|
10179
|
+
* @param {!proto.agentbillingserviceapi.GetConnectedClientsRequest} msg The message object to deserialize into.
|
|
9916
10180
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9917
|
-
* @return {!proto.agentbillingserviceapi.
|
|
10181
|
+
* @return {!proto.agentbillingserviceapi.GetConnectedClientsRequest}
|
|
9918
10182
|
*/
|
|
9919
|
-
proto.agentbillingserviceapi.
|
|
10183
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9920
10184
|
while (reader.nextField()) {
|
|
9921
10185
|
if (reader.isEndGroup()) {
|
|
9922
10186
|
break;
|
|
@@ -9924,14 +10188,16 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryF
|
|
|
9924
10188
|
var field = reader.getFieldNumber();
|
|
9925
10189
|
switch (field) {
|
|
9926
10190
|
case 1:
|
|
9927
|
-
var value =
|
|
9928
|
-
|
|
9929
|
-
msg.setResponsecode(value);
|
|
10191
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10192
|
+
msg.setPage(value);
|
|
9930
10193
|
break;
|
|
9931
10194
|
case 2:
|
|
9932
|
-
var value =
|
|
9933
|
-
|
|
9934
|
-
|
|
10195
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10196
|
+
msg.setSize(value);
|
|
10197
|
+
break;
|
|
10198
|
+
case 3:
|
|
10199
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10200
|
+
msg.setUserid(value);
|
|
9935
10201
|
break;
|
|
9936
10202
|
default:
|
|
9937
10203
|
reader.skipField();
|
|
@@ -9946,9 +10212,9 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryF
|
|
|
9946
10212
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9947
10213
|
* @return {!Uint8Array}
|
|
9948
10214
|
*/
|
|
9949
|
-
proto.agentbillingserviceapi.
|
|
10215
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.serializeBinary = function() {
|
|
9950
10216
|
var writer = new jspb.BinaryWriter();
|
|
9951
|
-
proto.agentbillingserviceapi.
|
|
10217
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.serializeBinaryToWriter(this, writer);
|
|
9952
10218
|
return writer.getResultBuffer();
|
|
9953
10219
|
};
|
|
9954
10220
|
|
|
@@ -9956,26 +10222,221 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.serializ
|
|
|
9956
10222
|
/**
|
|
9957
10223
|
* Serializes the given message to binary data (in protobuf wire
|
|
9958
10224
|
* format), writing to the given BinaryWriter.
|
|
9959
|
-
* @param {!proto.agentbillingserviceapi.
|
|
10225
|
+
* @param {!proto.agentbillingserviceapi.GetConnectedClientsRequest} message
|
|
9960
10226
|
* @param {!jspb.BinaryWriter} writer
|
|
9961
10227
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9962
10228
|
*/
|
|
9963
|
-
proto.agentbillingserviceapi.
|
|
10229
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9964
10230
|
var f = undefined;
|
|
9965
|
-
f = message.
|
|
9966
|
-
if (f
|
|
9967
|
-
writer.
|
|
10231
|
+
f = message.getPage();
|
|
10232
|
+
if (f !== 0) {
|
|
10233
|
+
writer.writeInt32(
|
|
9968
10234
|
1,
|
|
9969
|
-
f
|
|
9970
|
-
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
10235
|
+
f
|
|
9971
10236
|
);
|
|
9972
10237
|
}
|
|
9973
|
-
f = message.
|
|
9974
|
-
if (f
|
|
9975
|
-
writer.
|
|
10238
|
+
f = message.getSize();
|
|
10239
|
+
if (f !== 0) {
|
|
10240
|
+
writer.writeInt32(
|
|
9976
10241
|
2,
|
|
9977
|
-
f
|
|
9978
|
-
|
|
10242
|
+
f
|
|
10243
|
+
);
|
|
10244
|
+
}
|
|
10245
|
+
f = message.getUserid();
|
|
10246
|
+
if (f !== 0) {
|
|
10247
|
+
writer.writeInt64(
|
|
10248
|
+
3,
|
|
10249
|
+
f
|
|
10250
|
+
);
|
|
10251
|
+
}
|
|
10252
|
+
};
|
|
10253
|
+
|
|
10254
|
+
|
|
10255
|
+
/**
|
|
10256
|
+
* optional int32 page = 1;
|
|
10257
|
+
* @return {number}
|
|
10258
|
+
*/
|
|
10259
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.getPage = function() {
|
|
10260
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
10261
|
+
};
|
|
10262
|
+
|
|
10263
|
+
|
|
10264
|
+
/**
|
|
10265
|
+
* @param {number} value
|
|
10266
|
+
* @return {!proto.agentbillingserviceapi.GetConnectedClientsRequest} returns this
|
|
10267
|
+
*/
|
|
10268
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.setPage = function(value) {
|
|
10269
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
10270
|
+
};
|
|
10271
|
+
|
|
10272
|
+
|
|
10273
|
+
/**
|
|
10274
|
+
* optional int32 size = 2;
|
|
10275
|
+
* @return {number}
|
|
10276
|
+
*/
|
|
10277
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.getSize = function() {
|
|
10278
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
10279
|
+
};
|
|
10280
|
+
|
|
10281
|
+
|
|
10282
|
+
/**
|
|
10283
|
+
* @param {number} value
|
|
10284
|
+
* @return {!proto.agentbillingserviceapi.GetConnectedClientsRequest} returns this
|
|
10285
|
+
*/
|
|
10286
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.setSize = function(value) {
|
|
10287
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
10288
|
+
};
|
|
10289
|
+
|
|
10290
|
+
|
|
10291
|
+
/**
|
|
10292
|
+
* optional int64 userId = 3;
|
|
10293
|
+
* @return {number}
|
|
10294
|
+
*/
|
|
10295
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.getUserid = function() {
|
|
10296
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
10297
|
+
};
|
|
10298
|
+
|
|
10299
|
+
|
|
10300
|
+
/**
|
|
10301
|
+
* @param {number} value
|
|
10302
|
+
* @return {!proto.agentbillingserviceapi.GetConnectedClientsRequest} returns this
|
|
10303
|
+
*/
|
|
10304
|
+
proto.agentbillingserviceapi.GetConnectedClientsRequest.prototype.setUserid = function(value) {
|
|
10305
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
10306
|
+
};
|
|
10307
|
+
|
|
10308
|
+
|
|
10309
|
+
|
|
10310
|
+
/**
|
|
10311
|
+
* List of repeated fields within this message type.
|
|
10312
|
+
* @private {!Array<number>}
|
|
10313
|
+
* @const
|
|
10314
|
+
*/
|
|
10315
|
+
proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.repeatedFields_ = [2];
|
|
10316
|
+
|
|
10317
|
+
|
|
10318
|
+
|
|
10319
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10320
|
+
/**
|
|
10321
|
+
* Creates an object representation of this proto.
|
|
10322
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10323
|
+
* Optional fields that are not set will be set to undefined.
|
|
10324
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10325
|
+
* For the list of reserved names please see:
|
|
10326
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10327
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10328
|
+
* JSPB instance for transitional soy proto support:
|
|
10329
|
+
* http://goto/soy-param-migration
|
|
10330
|
+
* @return {!Object}
|
|
10331
|
+
*/
|
|
10332
|
+
proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10333
|
+
return proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.toObject(opt_includeInstance, this);
|
|
10334
|
+
};
|
|
10335
|
+
|
|
10336
|
+
|
|
10337
|
+
/**
|
|
10338
|
+
* Static version of the {@see toObject} method.
|
|
10339
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10340
|
+
* the JSPB instance for transitional soy proto support:
|
|
10341
|
+
* http://goto/soy-param-migration
|
|
10342
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} msg The msg instance to transform.
|
|
10343
|
+
* @return {!Object}
|
|
10344
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10345
|
+
*/
|
|
10346
|
+
proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.toObject = function(includeInstance, msg) {
|
|
10347
|
+
var f, obj = {
|
|
10348
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
10349
|
+
agentbillmappingsList: jspb.Message.toObjectList(msg.getAgentbillmappingsList(),
|
|
10350
|
+
proto.agentbillingserviceapi.AgentBillMapping.toObject, includeInstance)
|
|
10351
|
+
};
|
|
10352
|
+
|
|
10353
|
+
if (includeInstance) {
|
|
10354
|
+
obj.$jspbMessageInstance = msg;
|
|
10355
|
+
}
|
|
10356
|
+
return obj;
|
|
10357
|
+
};
|
|
10358
|
+
}
|
|
10359
|
+
|
|
10360
|
+
|
|
10361
|
+
/**
|
|
10362
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10363
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10364
|
+
* @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse}
|
|
10365
|
+
*/
|
|
10366
|
+
proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinary = function(bytes) {
|
|
10367
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10368
|
+
var msg = new proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse;
|
|
10369
|
+
return proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryFromReader(msg, reader);
|
|
10370
|
+
};
|
|
10371
|
+
|
|
10372
|
+
|
|
10373
|
+
/**
|
|
10374
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10375
|
+
* given reader into the given message object.
|
|
10376
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} msg The message object to deserialize into.
|
|
10377
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10378
|
+
* @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse}
|
|
10379
|
+
*/
|
|
10380
|
+
proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10381
|
+
while (reader.nextField()) {
|
|
10382
|
+
if (reader.isEndGroup()) {
|
|
10383
|
+
break;
|
|
10384
|
+
}
|
|
10385
|
+
var field = reader.getFieldNumber();
|
|
10386
|
+
switch (field) {
|
|
10387
|
+
case 1:
|
|
10388
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
10389
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
10390
|
+
msg.setResponsecode(value);
|
|
10391
|
+
break;
|
|
10392
|
+
case 2:
|
|
10393
|
+
var value = new proto.agentbillingserviceapi.AgentBillMapping;
|
|
10394
|
+
reader.readMessage(value,proto.agentbillingserviceapi.AgentBillMapping.deserializeBinaryFromReader);
|
|
10395
|
+
msg.addAgentbillmappings(value);
|
|
10396
|
+
break;
|
|
10397
|
+
default:
|
|
10398
|
+
reader.skipField();
|
|
10399
|
+
break;
|
|
10400
|
+
}
|
|
10401
|
+
}
|
|
10402
|
+
return msg;
|
|
10403
|
+
};
|
|
10404
|
+
|
|
10405
|
+
|
|
10406
|
+
/**
|
|
10407
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10408
|
+
* @return {!Uint8Array}
|
|
10409
|
+
*/
|
|
10410
|
+
proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.serializeBinary = function() {
|
|
10411
|
+
var writer = new jspb.BinaryWriter();
|
|
10412
|
+
proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.serializeBinaryToWriter(this, writer);
|
|
10413
|
+
return writer.getResultBuffer();
|
|
10414
|
+
};
|
|
10415
|
+
|
|
10416
|
+
|
|
10417
|
+
/**
|
|
10418
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10419
|
+
* format), writing to the given BinaryWriter.
|
|
10420
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse} message
|
|
10421
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10422
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10423
|
+
*/
|
|
10424
|
+
proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10425
|
+
var f = undefined;
|
|
10426
|
+
f = message.getResponsecode();
|
|
10427
|
+
if (f != null) {
|
|
10428
|
+
writer.writeMessage(
|
|
10429
|
+
1,
|
|
10430
|
+
f,
|
|
10431
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
10432
|
+
);
|
|
10433
|
+
}
|
|
10434
|
+
f = message.getAgentbillmappingsList();
|
|
10435
|
+
if (f.length > 0) {
|
|
10436
|
+
writer.writeRepeatedMessage(
|
|
10437
|
+
2,
|
|
10438
|
+
f,
|
|
10439
|
+
proto.agentbillingserviceapi.AgentBillMapping.serializeBinaryToWriter
|
|
9979
10440
|
);
|
|
9980
10441
|
}
|
|
9981
10442
|
};
|
|
@@ -11491,6 +11952,386 @@ proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest.prototype.setSize =
|
|
|
11491
11952
|
|
|
11492
11953
|
|
|
11493
11954
|
|
|
11955
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11956
|
+
/**
|
|
11957
|
+
* Creates an object representation of this proto.
|
|
11958
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11959
|
+
* Optional fields that are not set will be set to undefined.
|
|
11960
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11961
|
+
* For the list of reserved names please see:
|
|
11962
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11963
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11964
|
+
* JSPB instance for transitional soy proto support:
|
|
11965
|
+
* http://goto/soy-param-migration
|
|
11966
|
+
* @return {!Object}
|
|
11967
|
+
*/
|
|
11968
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11969
|
+
return proto.agentbillingserviceapi.GetDisconnectedClientsRequest.toObject(opt_includeInstance, this);
|
|
11970
|
+
};
|
|
11971
|
+
|
|
11972
|
+
|
|
11973
|
+
/**
|
|
11974
|
+
* Static version of the {@see toObject} method.
|
|
11975
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11976
|
+
* the JSPB instance for transitional soy proto support:
|
|
11977
|
+
* http://goto/soy-param-migration
|
|
11978
|
+
* @param {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} msg The msg instance to transform.
|
|
11979
|
+
* @return {!Object}
|
|
11980
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11981
|
+
*/
|
|
11982
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.toObject = function(includeInstance, msg) {
|
|
11983
|
+
var f, obj = {
|
|
11984
|
+
page: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
11985
|
+
size: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
11986
|
+
userid: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
11987
|
+
};
|
|
11988
|
+
|
|
11989
|
+
if (includeInstance) {
|
|
11990
|
+
obj.$jspbMessageInstance = msg;
|
|
11991
|
+
}
|
|
11992
|
+
return obj;
|
|
11993
|
+
};
|
|
11994
|
+
}
|
|
11995
|
+
|
|
11996
|
+
|
|
11997
|
+
/**
|
|
11998
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11999
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12000
|
+
* @return {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest}
|
|
12001
|
+
*/
|
|
12002
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.deserializeBinary = function(bytes) {
|
|
12003
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12004
|
+
var msg = new proto.agentbillingserviceapi.GetDisconnectedClientsRequest;
|
|
12005
|
+
return proto.agentbillingserviceapi.GetDisconnectedClientsRequest.deserializeBinaryFromReader(msg, reader);
|
|
12006
|
+
};
|
|
12007
|
+
|
|
12008
|
+
|
|
12009
|
+
/**
|
|
12010
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12011
|
+
* given reader into the given message object.
|
|
12012
|
+
* @param {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} msg The message object to deserialize into.
|
|
12013
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12014
|
+
* @return {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest}
|
|
12015
|
+
*/
|
|
12016
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
12017
|
+
while (reader.nextField()) {
|
|
12018
|
+
if (reader.isEndGroup()) {
|
|
12019
|
+
break;
|
|
12020
|
+
}
|
|
12021
|
+
var field = reader.getFieldNumber();
|
|
12022
|
+
switch (field) {
|
|
12023
|
+
case 1:
|
|
12024
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
12025
|
+
msg.setPage(value);
|
|
12026
|
+
break;
|
|
12027
|
+
case 2:
|
|
12028
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
12029
|
+
msg.setSize(value);
|
|
12030
|
+
break;
|
|
12031
|
+
case 3:
|
|
12032
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12033
|
+
msg.setUserid(value);
|
|
12034
|
+
break;
|
|
12035
|
+
default:
|
|
12036
|
+
reader.skipField();
|
|
12037
|
+
break;
|
|
12038
|
+
}
|
|
12039
|
+
}
|
|
12040
|
+
return msg;
|
|
12041
|
+
};
|
|
12042
|
+
|
|
12043
|
+
|
|
12044
|
+
/**
|
|
12045
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12046
|
+
* @return {!Uint8Array}
|
|
12047
|
+
*/
|
|
12048
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.serializeBinary = function() {
|
|
12049
|
+
var writer = new jspb.BinaryWriter();
|
|
12050
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.serializeBinaryToWriter(this, writer);
|
|
12051
|
+
return writer.getResultBuffer();
|
|
12052
|
+
};
|
|
12053
|
+
|
|
12054
|
+
|
|
12055
|
+
/**
|
|
12056
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12057
|
+
* format), writing to the given BinaryWriter.
|
|
12058
|
+
* @param {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} message
|
|
12059
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12060
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12061
|
+
*/
|
|
12062
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
12063
|
+
var f = undefined;
|
|
12064
|
+
f = message.getPage();
|
|
12065
|
+
if (f !== 0) {
|
|
12066
|
+
writer.writeInt32(
|
|
12067
|
+
1,
|
|
12068
|
+
f
|
|
12069
|
+
);
|
|
12070
|
+
}
|
|
12071
|
+
f = message.getSize();
|
|
12072
|
+
if (f !== 0) {
|
|
12073
|
+
writer.writeInt32(
|
|
12074
|
+
2,
|
|
12075
|
+
f
|
|
12076
|
+
);
|
|
12077
|
+
}
|
|
12078
|
+
f = message.getUserid();
|
|
12079
|
+
if (f !== 0) {
|
|
12080
|
+
writer.writeInt64(
|
|
12081
|
+
3,
|
|
12082
|
+
f
|
|
12083
|
+
);
|
|
12084
|
+
}
|
|
12085
|
+
};
|
|
12086
|
+
|
|
12087
|
+
|
|
12088
|
+
/**
|
|
12089
|
+
* optional int32 page = 1;
|
|
12090
|
+
* @return {number}
|
|
12091
|
+
*/
|
|
12092
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.getPage = function() {
|
|
12093
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12094
|
+
};
|
|
12095
|
+
|
|
12096
|
+
|
|
12097
|
+
/**
|
|
12098
|
+
* @param {number} value
|
|
12099
|
+
* @return {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} returns this
|
|
12100
|
+
*/
|
|
12101
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.setPage = function(value) {
|
|
12102
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
12103
|
+
};
|
|
12104
|
+
|
|
12105
|
+
|
|
12106
|
+
/**
|
|
12107
|
+
* optional int32 size = 2;
|
|
12108
|
+
* @return {number}
|
|
12109
|
+
*/
|
|
12110
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.getSize = function() {
|
|
12111
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
12112
|
+
};
|
|
12113
|
+
|
|
12114
|
+
|
|
12115
|
+
/**
|
|
12116
|
+
* @param {number} value
|
|
12117
|
+
* @return {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} returns this
|
|
12118
|
+
*/
|
|
12119
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.setSize = function(value) {
|
|
12120
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
12121
|
+
};
|
|
12122
|
+
|
|
12123
|
+
|
|
12124
|
+
/**
|
|
12125
|
+
* optional int64 userId = 3;
|
|
12126
|
+
* @return {number}
|
|
12127
|
+
*/
|
|
12128
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.getUserid = function() {
|
|
12129
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
12130
|
+
};
|
|
12131
|
+
|
|
12132
|
+
|
|
12133
|
+
/**
|
|
12134
|
+
* @param {number} value
|
|
12135
|
+
* @return {!proto.agentbillingserviceapi.GetDisconnectedClientsRequest} returns this
|
|
12136
|
+
*/
|
|
12137
|
+
proto.agentbillingserviceapi.GetDisconnectedClientsRequest.prototype.setUserid = function(value) {
|
|
12138
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
12139
|
+
};
|
|
12140
|
+
|
|
12141
|
+
|
|
12142
|
+
|
|
12143
|
+
|
|
12144
|
+
|
|
12145
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12146
|
+
/**
|
|
12147
|
+
* Creates an object representation of this proto.
|
|
12148
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12149
|
+
* Optional fields that are not set will be set to undefined.
|
|
12150
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12151
|
+
* For the list of reserved names please see:
|
|
12152
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12153
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12154
|
+
* JSPB instance for transitional soy proto support:
|
|
12155
|
+
* http://goto/soy-param-migration
|
|
12156
|
+
* @return {!Object}
|
|
12157
|
+
*/
|
|
12158
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
12159
|
+
return proto.agentbillingserviceapi.GetPendingClientsRequest.toObject(opt_includeInstance, this);
|
|
12160
|
+
};
|
|
12161
|
+
|
|
12162
|
+
|
|
12163
|
+
/**
|
|
12164
|
+
* Static version of the {@see toObject} method.
|
|
12165
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12166
|
+
* the JSPB instance for transitional soy proto support:
|
|
12167
|
+
* http://goto/soy-param-migration
|
|
12168
|
+
* @param {!proto.agentbillingserviceapi.GetPendingClientsRequest} msg The msg instance to transform.
|
|
12169
|
+
* @return {!Object}
|
|
12170
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12171
|
+
*/
|
|
12172
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.toObject = function(includeInstance, msg) {
|
|
12173
|
+
var f, obj = {
|
|
12174
|
+
page: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
12175
|
+
size: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
12176
|
+
userid: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
12177
|
+
};
|
|
12178
|
+
|
|
12179
|
+
if (includeInstance) {
|
|
12180
|
+
obj.$jspbMessageInstance = msg;
|
|
12181
|
+
}
|
|
12182
|
+
return obj;
|
|
12183
|
+
};
|
|
12184
|
+
}
|
|
12185
|
+
|
|
12186
|
+
|
|
12187
|
+
/**
|
|
12188
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12189
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12190
|
+
* @return {!proto.agentbillingserviceapi.GetPendingClientsRequest}
|
|
12191
|
+
*/
|
|
12192
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.deserializeBinary = function(bytes) {
|
|
12193
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12194
|
+
var msg = new proto.agentbillingserviceapi.GetPendingClientsRequest;
|
|
12195
|
+
return proto.agentbillingserviceapi.GetPendingClientsRequest.deserializeBinaryFromReader(msg, reader);
|
|
12196
|
+
};
|
|
12197
|
+
|
|
12198
|
+
|
|
12199
|
+
/**
|
|
12200
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12201
|
+
* given reader into the given message object.
|
|
12202
|
+
* @param {!proto.agentbillingserviceapi.GetPendingClientsRequest} msg The message object to deserialize into.
|
|
12203
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12204
|
+
* @return {!proto.agentbillingserviceapi.GetPendingClientsRequest}
|
|
12205
|
+
*/
|
|
12206
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
12207
|
+
while (reader.nextField()) {
|
|
12208
|
+
if (reader.isEndGroup()) {
|
|
12209
|
+
break;
|
|
12210
|
+
}
|
|
12211
|
+
var field = reader.getFieldNumber();
|
|
12212
|
+
switch (field) {
|
|
12213
|
+
case 1:
|
|
12214
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
12215
|
+
msg.setPage(value);
|
|
12216
|
+
break;
|
|
12217
|
+
case 2:
|
|
12218
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
12219
|
+
msg.setSize(value);
|
|
12220
|
+
break;
|
|
12221
|
+
case 3:
|
|
12222
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12223
|
+
msg.setUserid(value);
|
|
12224
|
+
break;
|
|
12225
|
+
default:
|
|
12226
|
+
reader.skipField();
|
|
12227
|
+
break;
|
|
12228
|
+
}
|
|
12229
|
+
}
|
|
12230
|
+
return msg;
|
|
12231
|
+
};
|
|
12232
|
+
|
|
12233
|
+
|
|
12234
|
+
/**
|
|
12235
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12236
|
+
* @return {!Uint8Array}
|
|
12237
|
+
*/
|
|
12238
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.serializeBinary = function() {
|
|
12239
|
+
var writer = new jspb.BinaryWriter();
|
|
12240
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.serializeBinaryToWriter(this, writer);
|
|
12241
|
+
return writer.getResultBuffer();
|
|
12242
|
+
};
|
|
12243
|
+
|
|
12244
|
+
|
|
12245
|
+
/**
|
|
12246
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12247
|
+
* format), writing to the given BinaryWriter.
|
|
12248
|
+
* @param {!proto.agentbillingserviceapi.GetPendingClientsRequest} message
|
|
12249
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12250
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12251
|
+
*/
|
|
12252
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
12253
|
+
var f = undefined;
|
|
12254
|
+
f = message.getPage();
|
|
12255
|
+
if (f !== 0) {
|
|
12256
|
+
writer.writeInt32(
|
|
12257
|
+
1,
|
|
12258
|
+
f
|
|
12259
|
+
);
|
|
12260
|
+
}
|
|
12261
|
+
f = message.getSize();
|
|
12262
|
+
if (f !== 0) {
|
|
12263
|
+
writer.writeInt32(
|
|
12264
|
+
2,
|
|
12265
|
+
f
|
|
12266
|
+
);
|
|
12267
|
+
}
|
|
12268
|
+
f = message.getUserid();
|
|
12269
|
+
if (f !== 0) {
|
|
12270
|
+
writer.writeInt64(
|
|
12271
|
+
3,
|
|
12272
|
+
f
|
|
12273
|
+
);
|
|
12274
|
+
}
|
|
12275
|
+
};
|
|
12276
|
+
|
|
12277
|
+
|
|
12278
|
+
/**
|
|
12279
|
+
* optional int32 page = 1;
|
|
12280
|
+
* @return {number}
|
|
12281
|
+
*/
|
|
12282
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.getPage = function() {
|
|
12283
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12284
|
+
};
|
|
12285
|
+
|
|
12286
|
+
|
|
12287
|
+
/**
|
|
12288
|
+
* @param {number} value
|
|
12289
|
+
* @return {!proto.agentbillingserviceapi.GetPendingClientsRequest} returns this
|
|
12290
|
+
*/
|
|
12291
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.setPage = function(value) {
|
|
12292
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
12293
|
+
};
|
|
12294
|
+
|
|
12295
|
+
|
|
12296
|
+
/**
|
|
12297
|
+
* optional int32 size = 2;
|
|
12298
|
+
* @return {number}
|
|
12299
|
+
*/
|
|
12300
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.getSize = function() {
|
|
12301
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
12302
|
+
};
|
|
12303
|
+
|
|
12304
|
+
|
|
12305
|
+
/**
|
|
12306
|
+
* @param {number} value
|
|
12307
|
+
* @return {!proto.agentbillingserviceapi.GetPendingClientsRequest} returns this
|
|
12308
|
+
*/
|
|
12309
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.setSize = function(value) {
|
|
12310
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
12311
|
+
};
|
|
12312
|
+
|
|
12313
|
+
|
|
12314
|
+
/**
|
|
12315
|
+
* optional int64 userId = 3;
|
|
12316
|
+
* @return {number}
|
|
12317
|
+
*/
|
|
12318
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.getUserid = function() {
|
|
12319
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
12320
|
+
};
|
|
12321
|
+
|
|
12322
|
+
|
|
12323
|
+
/**
|
|
12324
|
+
* @param {number} value
|
|
12325
|
+
* @return {!proto.agentbillingserviceapi.GetPendingClientsRequest} returns this
|
|
12326
|
+
*/
|
|
12327
|
+
proto.agentbillingserviceapi.GetPendingClientsRequest.prototype.setUserid = function(value) {
|
|
12328
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
12329
|
+
};
|
|
12330
|
+
|
|
12331
|
+
|
|
12332
|
+
|
|
12333
|
+
|
|
12334
|
+
|
|
11494
12335
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11495
12336
|
/**
|
|
11496
12337
|
* Creates an object representation of this proto.
|