@sniipwebmaster/agent-billing-client-grpcweb-ts 23.15.1167 → 23.15.1197
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.
|
@@ -68,6 +68,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetPendingClientsRequest', null,
|
|
|
68
68
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchContentsInDraftRequest', null, global);
|
|
69
69
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesInDraftRequest', null, global);
|
|
70
70
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesResponse', null, global);
|
|
71
|
+
goog.exportSymbol('proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest', null, global);
|
|
72
|
+
goog.exportSymbol('proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse', null, global);
|
|
71
73
|
goog.exportSymbol('proto.agentbillingserviceapi.InviteAgentRequest', null, global);
|
|
72
74
|
goog.exportSymbol('proto.agentbillingserviceapi.ProcessAgentBillResult', null, global);
|
|
73
75
|
goog.exportSymbol('proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest', null, global);
|
|
@@ -78,6 +80,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.ResendAgentInvitationRequest', n
|
|
|
78
80
|
goog.exportSymbol('proto.agentbillingserviceapi.ResponseCode', null, global);
|
|
79
81
|
goog.exportSymbol('proto.agentbillingserviceapi.ReviewAgentBillRequest', null, global);
|
|
80
82
|
goog.exportSymbol('proto.agentbillingserviceapi.UploadBatch', null, global);
|
|
83
|
+
goog.exportSymbol('proto.agentbillingserviceapi.UploadCsvResponse', null, global);
|
|
81
84
|
/**
|
|
82
85
|
* Generated by JsPbCodeGenerator.
|
|
83
86
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1170,6 +1173,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1170
1173
|
*/
|
|
1171
1174
|
proto.agentbillingserviceapi.GetUploadBatchesResponse.displayName = 'proto.agentbillingserviceapi.GetUploadBatchesResponse';
|
|
1172
1175
|
}
|
|
1176
|
+
/**
|
|
1177
|
+
* Generated by JsPbCodeGenerator.
|
|
1178
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1179
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1180
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1181
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1182
|
+
* valid.
|
|
1183
|
+
* @extends {jspb.Message}
|
|
1184
|
+
* @constructor
|
|
1185
|
+
*/
|
|
1186
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest = function(opt_data) {
|
|
1187
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1188
|
+
};
|
|
1189
|
+
goog.inherits(proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest, jspb.Message);
|
|
1190
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1191
|
+
/**
|
|
1192
|
+
* @public
|
|
1193
|
+
* @override
|
|
1194
|
+
*/
|
|
1195
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.displayName = 'proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest';
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
* Generated by JsPbCodeGenerator.
|
|
1199
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1200
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1201
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1202
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1203
|
+
* valid.
|
|
1204
|
+
* @extends {jspb.Message}
|
|
1205
|
+
* @constructor
|
|
1206
|
+
*/
|
|
1207
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse = function(opt_data) {
|
|
1208
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1209
|
+
};
|
|
1210
|
+
goog.inherits(proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse, jspb.Message);
|
|
1211
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1212
|
+
/**
|
|
1213
|
+
* @public
|
|
1214
|
+
* @override
|
|
1215
|
+
*/
|
|
1216
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.displayName = 'proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse';
|
|
1217
|
+
}
|
|
1173
1218
|
/**
|
|
1174
1219
|
* Generated by JsPbCodeGenerator.
|
|
1175
1220
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1380,6 +1425,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1380
1425
|
*/
|
|
1381
1426
|
proto.agentbillingserviceapi.UploadBatch.displayName = 'proto.agentbillingserviceapi.UploadBatch';
|
|
1382
1427
|
}
|
|
1428
|
+
/**
|
|
1429
|
+
* Generated by JsPbCodeGenerator.
|
|
1430
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1431
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1432
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1433
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1434
|
+
* valid.
|
|
1435
|
+
* @extends {jspb.Message}
|
|
1436
|
+
* @constructor
|
|
1437
|
+
*/
|
|
1438
|
+
proto.agentbillingserviceapi.UploadCsvResponse = function(opt_data) {
|
|
1439
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1440
|
+
};
|
|
1441
|
+
goog.inherits(proto.agentbillingserviceapi.UploadCsvResponse, jspb.Message);
|
|
1442
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1443
|
+
/**
|
|
1444
|
+
* @public
|
|
1445
|
+
* @override
|
|
1446
|
+
*/
|
|
1447
|
+
proto.agentbillingserviceapi.UploadCsvResponse.displayName = 'proto.agentbillingserviceapi.UploadCsvResponse';
|
|
1448
|
+
}
|
|
1383
1449
|
|
|
1384
1450
|
|
|
1385
1451
|
|
|
@@ -4215,7 +4281,7 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReade
|
|
|
4215
4281
|
msg.setUploadbatchid(value);
|
|
4216
4282
|
break;
|
|
4217
4283
|
case 3:
|
|
4218
|
-
var value = /** @type {number} */ (reader.
|
|
4284
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4219
4285
|
msg.setAddedbillscount(value);
|
|
4220
4286
|
break;
|
|
4221
4287
|
case 4:
|
|
@@ -4268,7 +4334,7 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.serializeBinaryToWriter =
|
|
|
4268
4334
|
}
|
|
4269
4335
|
f = message.getAddedbillscount();
|
|
4270
4336
|
if (f !== 0) {
|
|
4271
|
-
writer.
|
|
4337
|
+
writer.writeInt32(
|
|
4272
4338
|
3,
|
|
4273
4339
|
f
|
|
4274
4340
|
);
|
|
@@ -4339,7 +4405,7 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setUploadbatchid
|
|
|
4339
4405
|
|
|
4340
4406
|
|
|
4341
4407
|
/**
|
|
4342
|
-
* optional
|
|
4408
|
+
* optional int32 addedBillsCount = 3;
|
|
4343
4409
|
* @return {number}
|
|
4344
4410
|
*/
|
|
4345
4411
|
proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getAddedbillscount = function() {
|
|
@@ -13438,8 +13504,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
13438
13504
|
* http://goto/soy-param-migration
|
|
13439
13505
|
* @return {!Object}
|
|
13440
13506
|
*/
|
|
13441
|
-
proto.agentbillingserviceapi.
|
|
13442
|
-
return proto.agentbillingserviceapi.
|
|
13507
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
13508
|
+
return proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.toObject(opt_includeInstance, this);
|
|
13443
13509
|
};
|
|
13444
13510
|
|
|
13445
13511
|
|
|
@@ -13448,13 +13514,13 @@ proto.agentbillingserviceapi.InviteAgentRequest.prototype.toObject = function(op
|
|
|
13448
13514
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13449
13515
|
* the JSPB instance for transitional soy proto support:
|
|
13450
13516
|
* http://goto/soy-param-migration
|
|
13451
|
-
* @param {!proto.agentbillingserviceapi.
|
|
13517
|
+
* @param {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest} msg The msg instance to transform.
|
|
13452
13518
|
* @return {!Object}
|
|
13453
13519
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13454
13520
|
*/
|
|
13455
|
-
proto.agentbillingserviceapi.
|
|
13521
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.toObject = function(includeInstance, msg) {
|
|
13456
13522
|
var f, obj = {
|
|
13457
|
-
|
|
13523
|
+
csvid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
13458
13524
|
};
|
|
13459
13525
|
|
|
13460
13526
|
if (includeInstance) {
|
|
@@ -13468,23 +13534,23 @@ proto.agentbillingserviceapi.InviteAgentRequest.toObject = function(includeInsta
|
|
|
13468
13534
|
/**
|
|
13469
13535
|
* Deserializes binary data (in protobuf wire format).
|
|
13470
13536
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13471
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13537
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest}
|
|
13472
13538
|
*/
|
|
13473
|
-
proto.agentbillingserviceapi.
|
|
13539
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.deserializeBinary = function(bytes) {
|
|
13474
13540
|
var reader = new jspb.BinaryReader(bytes);
|
|
13475
|
-
var msg = new proto.agentbillingserviceapi.
|
|
13476
|
-
return proto.agentbillingserviceapi.
|
|
13541
|
+
var msg = new proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest;
|
|
13542
|
+
return proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.deserializeBinaryFromReader(msg, reader);
|
|
13477
13543
|
};
|
|
13478
13544
|
|
|
13479
13545
|
|
|
13480
13546
|
/**
|
|
13481
13547
|
* Deserializes binary data (in protobuf wire format) from the
|
|
13482
13548
|
* given reader into the given message object.
|
|
13483
|
-
* @param {!proto.agentbillingserviceapi.
|
|
13549
|
+
* @param {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest} msg The message object to deserialize into.
|
|
13484
13550
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13485
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13551
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest}
|
|
13486
13552
|
*/
|
|
13487
|
-
proto.agentbillingserviceapi.
|
|
13553
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13488
13554
|
while (reader.nextField()) {
|
|
13489
13555
|
if (reader.isEndGroup()) {
|
|
13490
13556
|
break;
|
|
@@ -13492,8 +13558,8 @@ proto.agentbillingserviceapi.InviteAgentRequest.deserializeBinaryFromReader = fu
|
|
|
13492
13558
|
var field = reader.getFieldNumber();
|
|
13493
13559
|
switch (field) {
|
|
13494
13560
|
case 1:
|
|
13495
|
-
var value = /** @type {
|
|
13496
|
-
msg.
|
|
13561
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13562
|
+
msg.setCsvid(value);
|
|
13497
13563
|
break;
|
|
13498
13564
|
default:
|
|
13499
13565
|
reader.skipField();
|
|
@@ -13508,9 +13574,9 @@ proto.agentbillingserviceapi.InviteAgentRequest.deserializeBinaryFromReader = fu
|
|
|
13508
13574
|
* Serializes the message to binary data (in protobuf wire format).
|
|
13509
13575
|
* @return {!Uint8Array}
|
|
13510
13576
|
*/
|
|
13511
|
-
proto.agentbillingserviceapi.
|
|
13577
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.prototype.serializeBinary = function() {
|
|
13512
13578
|
var writer = new jspb.BinaryWriter();
|
|
13513
|
-
proto.agentbillingserviceapi.
|
|
13579
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.serializeBinaryToWriter(this, writer);
|
|
13514
13580
|
return writer.getResultBuffer();
|
|
13515
13581
|
};
|
|
13516
13582
|
|
|
@@ -13518,15 +13584,15 @@ proto.agentbillingserviceapi.InviteAgentRequest.prototype.serializeBinary = func
|
|
|
13518
13584
|
/**
|
|
13519
13585
|
* Serializes the given message to binary data (in protobuf wire
|
|
13520
13586
|
* format), writing to the given BinaryWriter.
|
|
13521
|
-
* @param {!proto.agentbillingserviceapi.
|
|
13587
|
+
* @param {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest} message
|
|
13522
13588
|
* @param {!jspb.BinaryWriter} writer
|
|
13523
13589
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13524
13590
|
*/
|
|
13525
|
-
proto.agentbillingserviceapi.
|
|
13591
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13526
13592
|
var f = undefined;
|
|
13527
|
-
f = message.
|
|
13528
|
-
if (f
|
|
13529
|
-
writer.
|
|
13593
|
+
f = message.getCsvid();
|
|
13594
|
+
if (f !== 0) {
|
|
13595
|
+
writer.writeInt64(
|
|
13530
13596
|
1,
|
|
13531
13597
|
f
|
|
13532
13598
|
);
|
|
@@ -13535,20 +13601,20 @@ proto.agentbillingserviceapi.InviteAgentRequest.serializeBinaryToWriter = functi
|
|
|
13535
13601
|
|
|
13536
13602
|
|
|
13537
13603
|
/**
|
|
13538
|
-
* optional
|
|
13539
|
-
* @return {
|
|
13604
|
+
* optional int64 csvId = 1;
|
|
13605
|
+
* @return {number}
|
|
13540
13606
|
*/
|
|
13541
|
-
proto.agentbillingserviceapi.
|
|
13542
|
-
return /** @type {
|
|
13607
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.prototype.getCsvid = function() {
|
|
13608
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
13543
13609
|
};
|
|
13544
13610
|
|
|
13545
13611
|
|
|
13546
13612
|
/**
|
|
13547
|
-
* @param {
|
|
13548
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13613
|
+
* @param {number} value
|
|
13614
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest} returns this
|
|
13549
13615
|
*/
|
|
13550
|
-
proto.agentbillingserviceapi.
|
|
13551
|
-
return jspb.Message.
|
|
13616
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.prototype.setCsvid = function(value) {
|
|
13617
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
13552
13618
|
};
|
|
13553
13619
|
|
|
13554
13620
|
|
|
@@ -13568,8 +13634,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
13568
13634
|
* http://goto/soy-param-migration
|
|
13569
13635
|
* @return {!Object}
|
|
13570
13636
|
*/
|
|
13571
|
-
proto.agentbillingserviceapi.
|
|
13572
|
-
return proto.agentbillingserviceapi.
|
|
13637
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.toObject = function(opt_includeInstance) {
|
|
13638
|
+
return proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.toObject(opt_includeInstance, this);
|
|
13573
13639
|
};
|
|
13574
13640
|
|
|
13575
13641
|
|
|
@@ -13578,17 +13644,17 @@ proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.toObject = functio
|
|
|
13578
13644
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13579
13645
|
* the JSPB instance for transitional soy proto support:
|
|
13580
13646
|
* http://goto/soy-param-migration
|
|
13581
|
-
* @param {!proto.agentbillingserviceapi.
|
|
13647
|
+
* @param {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse} msg The msg instance to transform.
|
|
13582
13648
|
* @return {!Object}
|
|
13583
13649
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13584
13650
|
*/
|
|
13585
|
-
proto.agentbillingserviceapi.
|
|
13651
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.toObject = function(includeInstance, msg) {
|
|
13586
13652
|
var f, obj = {
|
|
13587
|
-
|
|
13588
|
-
|
|
13589
|
-
|
|
13590
|
-
|
|
13591
|
-
|
|
13653
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
13654
|
+
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
13655
|
+
addedbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
13656
|
+
uploadbatchname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
13657
|
+
csvid: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
13592
13658
|
};
|
|
13593
13659
|
|
|
13594
13660
|
if (includeInstance) {
|
|
@@ -13602,23 +13668,23 @@ proto.agentbillingserviceapi.ProcessAgentBillResult.toObject = function(includeI
|
|
|
13602
13668
|
/**
|
|
13603
13669
|
* Deserializes binary data (in protobuf wire format).
|
|
13604
13670
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13605
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13671
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse}
|
|
13606
13672
|
*/
|
|
13607
|
-
proto.agentbillingserviceapi.
|
|
13673
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.deserializeBinary = function(bytes) {
|
|
13608
13674
|
var reader = new jspb.BinaryReader(bytes);
|
|
13609
|
-
var msg = new proto.agentbillingserviceapi.
|
|
13610
|
-
return proto.agentbillingserviceapi.
|
|
13675
|
+
var msg = new proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse;
|
|
13676
|
+
return proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.deserializeBinaryFromReader(msg, reader);
|
|
13611
13677
|
};
|
|
13612
13678
|
|
|
13613
13679
|
|
|
13614
13680
|
/**
|
|
13615
13681
|
* Deserializes binary data (in protobuf wire format) from the
|
|
13616
13682
|
* given reader into the given message object.
|
|
13617
|
-
* @param {!proto.agentbillingserviceapi.
|
|
13683
|
+
* @param {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse} msg The message object to deserialize into.
|
|
13618
13684
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13619
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13685
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse}
|
|
13620
13686
|
*/
|
|
13621
|
-
proto.agentbillingserviceapi.
|
|
13687
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
13622
13688
|
while (reader.nextField()) {
|
|
13623
13689
|
if (reader.isEndGroup()) {
|
|
13624
13690
|
break;
|
|
@@ -13626,24 +13692,25 @@ proto.agentbillingserviceapi.ProcessAgentBillResult.deserializeBinaryFromReader
|
|
|
13626
13692
|
var field = reader.getFieldNumber();
|
|
13627
13693
|
switch (field) {
|
|
13628
13694
|
case 1:
|
|
13629
|
-
var value =
|
|
13630
|
-
|
|
13695
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
13696
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
13697
|
+
msg.setResponsecode(value);
|
|
13631
13698
|
break;
|
|
13632
13699
|
case 2:
|
|
13633
13700
|
var value = /** @type {number} */ (reader.readInt64());
|
|
13634
|
-
msg.
|
|
13701
|
+
msg.setUploadbatchid(value);
|
|
13635
13702
|
break;
|
|
13636
13703
|
case 3:
|
|
13637
|
-
var value = /** @type {
|
|
13638
|
-
msg.
|
|
13704
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
13705
|
+
msg.setAddedbillscount(value);
|
|
13639
13706
|
break;
|
|
13640
13707
|
case 4:
|
|
13641
13708
|
var value = /** @type {string} */ (reader.readString());
|
|
13642
|
-
msg.
|
|
13709
|
+
msg.setUploadbatchname(value);
|
|
13643
13710
|
break;
|
|
13644
13711
|
case 5:
|
|
13645
|
-
var value = /** @type {
|
|
13646
|
-
msg.
|
|
13712
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13713
|
+
msg.setCsvid(value);
|
|
13647
13714
|
break;
|
|
13648
13715
|
default:
|
|
13649
13716
|
reader.skipField();
|
|
@@ -13658,9 +13725,9 @@ proto.agentbillingserviceapi.ProcessAgentBillResult.deserializeBinaryFromReader
|
|
|
13658
13725
|
* Serializes the message to binary data (in protobuf wire format).
|
|
13659
13726
|
* @return {!Uint8Array}
|
|
13660
13727
|
*/
|
|
13661
|
-
proto.agentbillingserviceapi.
|
|
13728
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.serializeBinary = function() {
|
|
13662
13729
|
var writer = new jspb.BinaryWriter();
|
|
13663
|
-
proto.agentbillingserviceapi.
|
|
13730
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.serializeBinaryToWriter(this, writer);
|
|
13664
13731
|
return writer.getResultBuffer();
|
|
13665
13732
|
};
|
|
13666
13733
|
|
|
@@ -13668,43 +13735,44 @@ proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.serializeBinary =
|
|
|
13668
13735
|
/**
|
|
13669
13736
|
* Serializes the given message to binary data (in protobuf wire
|
|
13670
13737
|
* format), writing to the given BinaryWriter.
|
|
13671
|
-
* @param {!proto.agentbillingserviceapi.
|
|
13738
|
+
* @param {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse} message
|
|
13672
13739
|
* @param {!jspb.BinaryWriter} writer
|
|
13673
13740
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13674
13741
|
*/
|
|
13675
|
-
proto.agentbillingserviceapi.
|
|
13742
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.serializeBinaryToWriter = function(message, writer) {
|
|
13676
13743
|
var f = undefined;
|
|
13677
|
-
f = message.
|
|
13678
|
-
if (f
|
|
13679
|
-
writer.
|
|
13744
|
+
f = message.getResponsecode();
|
|
13745
|
+
if (f != null) {
|
|
13746
|
+
writer.writeMessage(
|
|
13680
13747
|
1,
|
|
13681
|
-
f
|
|
13748
|
+
f,
|
|
13749
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
13682
13750
|
);
|
|
13683
13751
|
}
|
|
13684
|
-
f = message.
|
|
13752
|
+
f = message.getUploadbatchid();
|
|
13685
13753
|
if (f !== 0) {
|
|
13686
13754
|
writer.writeInt64(
|
|
13687
13755
|
2,
|
|
13688
13756
|
f
|
|
13689
13757
|
);
|
|
13690
13758
|
}
|
|
13691
|
-
f = message.
|
|
13692
|
-
if (f) {
|
|
13693
|
-
writer.
|
|
13759
|
+
f = message.getAddedbillscount();
|
|
13760
|
+
if (f !== 0) {
|
|
13761
|
+
writer.writeInt32(
|
|
13694
13762
|
3,
|
|
13695
13763
|
f
|
|
13696
13764
|
);
|
|
13697
13765
|
}
|
|
13698
|
-
f = message.
|
|
13766
|
+
f = message.getUploadbatchname();
|
|
13699
13767
|
if (f.length > 0) {
|
|
13700
13768
|
writer.writeString(
|
|
13701
13769
|
4,
|
|
13702
13770
|
f
|
|
13703
13771
|
);
|
|
13704
13772
|
}
|
|
13705
|
-
f = message.
|
|
13706
|
-
if (f
|
|
13707
|
-
writer.
|
|
13773
|
+
f = message.getCsvid();
|
|
13774
|
+
if (f !== 0) {
|
|
13775
|
+
writer.writeInt64(
|
|
13708
13776
|
5,
|
|
13709
13777
|
f
|
|
13710
13778
|
);
|
|
@@ -13713,103 +13781,115 @@ proto.agentbillingserviceapi.ProcessAgentBillResult.serializeBinaryToWriter = fu
|
|
|
13713
13781
|
|
|
13714
13782
|
|
|
13715
13783
|
/**
|
|
13716
|
-
* optional
|
|
13717
|
-
* @return {
|
|
13784
|
+
* optional ResponseCode responseCode = 1;
|
|
13785
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
13718
13786
|
*/
|
|
13719
|
-
proto.agentbillingserviceapi.
|
|
13720
|
-
return /** @type
|
|
13787
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.getResponsecode = function() {
|
|
13788
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
13789
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
13721
13790
|
};
|
|
13722
13791
|
|
|
13723
13792
|
|
|
13724
13793
|
/**
|
|
13725
|
-
* @param {
|
|
13726
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13794
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
13795
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse} returns this
|
|
13796
|
+
*/
|
|
13797
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.setResponsecode = function(value) {
|
|
13798
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
13799
|
+
};
|
|
13800
|
+
|
|
13801
|
+
|
|
13802
|
+
/**
|
|
13803
|
+
* Clears the message field making it undefined.
|
|
13804
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse} returns this
|
|
13727
13805
|
*/
|
|
13728
|
-
proto.agentbillingserviceapi.
|
|
13729
|
-
return
|
|
13806
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.clearResponsecode = function() {
|
|
13807
|
+
return this.setResponsecode(undefined);
|
|
13730
13808
|
};
|
|
13731
13809
|
|
|
13732
13810
|
|
|
13733
13811
|
/**
|
|
13734
|
-
*
|
|
13812
|
+
* Returns whether this field is set.
|
|
13813
|
+
* @return {boolean}
|
|
13814
|
+
*/
|
|
13815
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.hasResponsecode = function() {
|
|
13816
|
+
return jspb.Message.getField(this, 1) != null;
|
|
13817
|
+
};
|
|
13818
|
+
|
|
13819
|
+
|
|
13820
|
+
/**
|
|
13821
|
+
* optional int64 uploadBatchId = 2;
|
|
13735
13822
|
* @return {number}
|
|
13736
13823
|
*/
|
|
13737
|
-
proto.agentbillingserviceapi.
|
|
13824
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.getUploadbatchid = function() {
|
|
13738
13825
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
13739
13826
|
};
|
|
13740
13827
|
|
|
13741
13828
|
|
|
13742
13829
|
/**
|
|
13743
13830
|
* @param {number} value
|
|
13744
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13831
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse} returns this
|
|
13745
13832
|
*/
|
|
13746
|
-
proto.agentbillingserviceapi.
|
|
13833
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.setUploadbatchid = function(value) {
|
|
13747
13834
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
13748
13835
|
};
|
|
13749
13836
|
|
|
13750
13837
|
|
|
13751
13838
|
/**
|
|
13752
|
-
* optional
|
|
13753
|
-
* @return {
|
|
13839
|
+
* optional int32 addedBillsCount = 3;
|
|
13840
|
+
* @return {number}
|
|
13754
13841
|
*/
|
|
13755
|
-
proto.agentbillingserviceapi.
|
|
13756
|
-
return /** @type {
|
|
13842
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.getAddedbillscount = function() {
|
|
13843
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
13757
13844
|
};
|
|
13758
13845
|
|
|
13759
13846
|
|
|
13760
13847
|
/**
|
|
13761
|
-
* @param {
|
|
13762
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13848
|
+
* @param {number} value
|
|
13849
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse} returns this
|
|
13763
13850
|
*/
|
|
13764
|
-
proto.agentbillingserviceapi.
|
|
13765
|
-
return jspb.Message.
|
|
13851
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.setAddedbillscount = function(value) {
|
|
13852
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
13766
13853
|
};
|
|
13767
13854
|
|
|
13768
13855
|
|
|
13769
13856
|
/**
|
|
13770
|
-
* optional string
|
|
13857
|
+
* optional string uploadBatchName = 4;
|
|
13771
13858
|
* @return {string}
|
|
13772
13859
|
*/
|
|
13773
|
-
proto.agentbillingserviceapi.
|
|
13860
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.getUploadbatchname = function() {
|
|
13774
13861
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
13775
13862
|
};
|
|
13776
13863
|
|
|
13777
13864
|
|
|
13778
13865
|
/**
|
|
13779
13866
|
* @param {string} value
|
|
13780
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13867
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse} returns this
|
|
13781
13868
|
*/
|
|
13782
|
-
proto.agentbillingserviceapi.
|
|
13869
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.setUploadbatchname = function(value) {
|
|
13783
13870
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
13784
13871
|
};
|
|
13785
13872
|
|
|
13786
13873
|
|
|
13787
13874
|
/**
|
|
13788
|
-
* optional
|
|
13789
|
-
* @return {
|
|
13875
|
+
* optional int64 csvId = 5;
|
|
13876
|
+
* @return {number}
|
|
13790
13877
|
*/
|
|
13791
|
-
proto.agentbillingserviceapi.
|
|
13792
|
-
return /** @type {
|
|
13878
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.getCsvid = function() {
|
|
13879
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
13793
13880
|
};
|
|
13794
13881
|
|
|
13795
13882
|
|
|
13796
13883
|
/**
|
|
13797
|
-
* @param {
|
|
13798
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13884
|
+
* @param {number} value
|
|
13885
|
+
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse} returns this
|
|
13799
13886
|
*/
|
|
13800
|
-
proto.agentbillingserviceapi.
|
|
13801
|
-
return jspb.Message.
|
|
13887
|
+
proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.setCsvid = function(value) {
|
|
13888
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
13802
13889
|
};
|
|
13803
13890
|
|
|
13804
13891
|
|
|
13805
13892
|
|
|
13806
|
-
/**
|
|
13807
|
-
* List of repeated fields within this message type.
|
|
13808
|
-
* @private {!Array<number>}
|
|
13809
|
-
* @const
|
|
13810
|
-
*/
|
|
13811
|
-
proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.repeatedFields_ = [1];
|
|
13812
|
-
|
|
13813
13893
|
|
|
13814
13894
|
|
|
13815
13895
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -13825,8 +13905,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
13825
13905
|
* http://goto/soy-param-migration
|
|
13826
13906
|
* @return {!Object}
|
|
13827
13907
|
*/
|
|
13828
|
-
proto.agentbillingserviceapi.
|
|
13829
|
-
return proto.agentbillingserviceapi.
|
|
13908
|
+
proto.agentbillingserviceapi.InviteAgentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
13909
|
+
return proto.agentbillingserviceapi.InviteAgentRequest.toObject(opt_includeInstance, this);
|
|
13830
13910
|
};
|
|
13831
13911
|
|
|
13832
13912
|
|
|
@@ -13835,13 +13915,13 @@ proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.prototype.to
|
|
|
13835
13915
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13836
13916
|
* the JSPB instance for transitional soy proto support:
|
|
13837
13917
|
* http://goto/soy-param-migration
|
|
13838
|
-
* @param {!proto.agentbillingserviceapi.
|
|
13918
|
+
* @param {!proto.agentbillingserviceapi.InviteAgentRequest} msg The msg instance to transform.
|
|
13839
13919
|
* @return {!Object}
|
|
13840
13920
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13841
13921
|
*/
|
|
13842
|
-
proto.agentbillingserviceapi.
|
|
13922
|
+
proto.agentbillingserviceapi.InviteAgentRequest.toObject = function(includeInstance, msg) {
|
|
13843
13923
|
var f, obj = {
|
|
13844
|
-
|
|
13924
|
+
agentemail: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
13845
13925
|
};
|
|
13846
13926
|
|
|
13847
13927
|
if (includeInstance) {
|
|
@@ -13855,23 +13935,23 @@ proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.toObject = f
|
|
|
13855
13935
|
/**
|
|
13856
13936
|
* Deserializes binary data (in protobuf wire format).
|
|
13857
13937
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13858
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13938
|
+
* @return {!proto.agentbillingserviceapi.InviteAgentRequest}
|
|
13859
13939
|
*/
|
|
13860
|
-
proto.agentbillingserviceapi.
|
|
13940
|
+
proto.agentbillingserviceapi.InviteAgentRequest.deserializeBinary = function(bytes) {
|
|
13861
13941
|
var reader = new jspb.BinaryReader(bytes);
|
|
13862
|
-
var msg = new proto.agentbillingserviceapi.
|
|
13863
|
-
return proto.agentbillingserviceapi.
|
|
13942
|
+
var msg = new proto.agentbillingserviceapi.InviteAgentRequest;
|
|
13943
|
+
return proto.agentbillingserviceapi.InviteAgentRequest.deserializeBinaryFromReader(msg, reader);
|
|
13864
13944
|
};
|
|
13865
13945
|
|
|
13866
13946
|
|
|
13867
13947
|
/**
|
|
13868
13948
|
* Deserializes binary data (in protobuf wire format) from the
|
|
13869
13949
|
* given reader into the given message object.
|
|
13870
|
-
* @param {!proto.agentbillingserviceapi.
|
|
13950
|
+
* @param {!proto.agentbillingserviceapi.InviteAgentRequest} msg The message object to deserialize into.
|
|
13871
13951
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13872
|
-
* @return {!proto.agentbillingserviceapi.
|
|
13952
|
+
* @return {!proto.agentbillingserviceapi.InviteAgentRequest}
|
|
13873
13953
|
*/
|
|
13874
|
-
proto.agentbillingserviceapi.
|
|
13954
|
+
proto.agentbillingserviceapi.InviteAgentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13875
13955
|
while (reader.nextField()) {
|
|
13876
13956
|
if (reader.isEndGroup()) {
|
|
13877
13957
|
break;
|
|
@@ -13879,8 +13959,8 @@ proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.deserializeB
|
|
|
13879
13959
|
var field = reader.getFieldNumber();
|
|
13880
13960
|
switch (field) {
|
|
13881
13961
|
case 1:
|
|
13882
|
-
var value = /** @type {
|
|
13883
|
-
msg.
|
|
13962
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13963
|
+
msg.setAgentemail(value);
|
|
13884
13964
|
break;
|
|
13885
13965
|
default:
|
|
13886
13966
|
reader.skipField();
|
|
@@ -13895,7 +13975,394 @@ proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.deserializeB
|
|
|
13895
13975
|
* Serializes the message to binary data (in protobuf wire format).
|
|
13896
13976
|
* @return {!Uint8Array}
|
|
13897
13977
|
*/
|
|
13898
|
-
proto.agentbillingserviceapi.
|
|
13978
|
+
proto.agentbillingserviceapi.InviteAgentRequest.prototype.serializeBinary = function() {
|
|
13979
|
+
var writer = new jspb.BinaryWriter();
|
|
13980
|
+
proto.agentbillingserviceapi.InviteAgentRequest.serializeBinaryToWriter(this, writer);
|
|
13981
|
+
return writer.getResultBuffer();
|
|
13982
|
+
};
|
|
13983
|
+
|
|
13984
|
+
|
|
13985
|
+
/**
|
|
13986
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13987
|
+
* format), writing to the given BinaryWriter.
|
|
13988
|
+
* @param {!proto.agentbillingserviceapi.InviteAgentRequest} message
|
|
13989
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13990
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13991
|
+
*/
|
|
13992
|
+
proto.agentbillingserviceapi.InviteAgentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13993
|
+
var f = undefined;
|
|
13994
|
+
f = message.getAgentemail();
|
|
13995
|
+
if (f.length > 0) {
|
|
13996
|
+
writer.writeString(
|
|
13997
|
+
1,
|
|
13998
|
+
f
|
|
13999
|
+
);
|
|
14000
|
+
}
|
|
14001
|
+
};
|
|
14002
|
+
|
|
14003
|
+
|
|
14004
|
+
/**
|
|
14005
|
+
* optional string agentEmail = 1;
|
|
14006
|
+
* @return {string}
|
|
14007
|
+
*/
|
|
14008
|
+
proto.agentbillingserviceapi.InviteAgentRequest.prototype.getAgentemail = function() {
|
|
14009
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14010
|
+
};
|
|
14011
|
+
|
|
14012
|
+
|
|
14013
|
+
/**
|
|
14014
|
+
* @param {string} value
|
|
14015
|
+
* @return {!proto.agentbillingserviceapi.InviteAgentRequest} returns this
|
|
14016
|
+
*/
|
|
14017
|
+
proto.agentbillingserviceapi.InviteAgentRequest.prototype.setAgentemail = function(value) {
|
|
14018
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
14019
|
+
};
|
|
14020
|
+
|
|
14021
|
+
|
|
14022
|
+
|
|
14023
|
+
|
|
14024
|
+
|
|
14025
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14026
|
+
/**
|
|
14027
|
+
* Creates an object representation of this proto.
|
|
14028
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14029
|
+
* Optional fields that are not set will be set to undefined.
|
|
14030
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14031
|
+
* For the list of reserved names please see:
|
|
14032
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14033
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14034
|
+
* JSPB instance for transitional soy proto support:
|
|
14035
|
+
* http://goto/soy-param-migration
|
|
14036
|
+
* @return {!Object}
|
|
14037
|
+
*/
|
|
14038
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.toObject = function(opt_includeInstance) {
|
|
14039
|
+
return proto.agentbillingserviceapi.ProcessAgentBillResult.toObject(opt_includeInstance, this);
|
|
14040
|
+
};
|
|
14041
|
+
|
|
14042
|
+
|
|
14043
|
+
/**
|
|
14044
|
+
* Static version of the {@see toObject} method.
|
|
14045
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14046
|
+
* the JSPB instance for transitional soy proto support:
|
|
14047
|
+
* http://goto/soy-param-migration
|
|
14048
|
+
* @param {!proto.agentbillingserviceapi.ProcessAgentBillResult} msg The msg instance to transform.
|
|
14049
|
+
* @return {!Object}
|
|
14050
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14051
|
+
*/
|
|
14052
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.toObject = function(includeInstance, msg) {
|
|
14053
|
+
var f, obj = {
|
|
14054
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
14055
|
+
billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
14056
|
+
wassuccessfullyprocessed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
14057
|
+
status: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
14058
|
+
message: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
14059
|
+
};
|
|
14060
|
+
|
|
14061
|
+
if (includeInstance) {
|
|
14062
|
+
obj.$jspbMessageInstance = msg;
|
|
14063
|
+
}
|
|
14064
|
+
return obj;
|
|
14065
|
+
};
|
|
14066
|
+
}
|
|
14067
|
+
|
|
14068
|
+
|
|
14069
|
+
/**
|
|
14070
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14071
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14072
|
+
* @return {!proto.agentbillingserviceapi.ProcessAgentBillResult}
|
|
14073
|
+
*/
|
|
14074
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.deserializeBinary = function(bytes) {
|
|
14075
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14076
|
+
var msg = new proto.agentbillingserviceapi.ProcessAgentBillResult;
|
|
14077
|
+
return proto.agentbillingserviceapi.ProcessAgentBillResult.deserializeBinaryFromReader(msg, reader);
|
|
14078
|
+
};
|
|
14079
|
+
|
|
14080
|
+
|
|
14081
|
+
/**
|
|
14082
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14083
|
+
* given reader into the given message object.
|
|
14084
|
+
* @param {!proto.agentbillingserviceapi.ProcessAgentBillResult} msg The message object to deserialize into.
|
|
14085
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14086
|
+
* @return {!proto.agentbillingserviceapi.ProcessAgentBillResult}
|
|
14087
|
+
*/
|
|
14088
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.deserializeBinaryFromReader = function(msg, reader) {
|
|
14089
|
+
while (reader.nextField()) {
|
|
14090
|
+
if (reader.isEndGroup()) {
|
|
14091
|
+
break;
|
|
14092
|
+
}
|
|
14093
|
+
var field = reader.getFieldNumber();
|
|
14094
|
+
switch (field) {
|
|
14095
|
+
case 1:
|
|
14096
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14097
|
+
msg.setAgentbillid(value);
|
|
14098
|
+
break;
|
|
14099
|
+
case 2:
|
|
14100
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14101
|
+
msg.setBillid(value);
|
|
14102
|
+
break;
|
|
14103
|
+
case 3:
|
|
14104
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14105
|
+
msg.setWassuccessfullyprocessed(value);
|
|
14106
|
+
break;
|
|
14107
|
+
case 4:
|
|
14108
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14109
|
+
msg.setStatus(value);
|
|
14110
|
+
break;
|
|
14111
|
+
case 5:
|
|
14112
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14113
|
+
msg.setMessage(value);
|
|
14114
|
+
break;
|
|
14115
|
+
default:
|
|
14116
|
+
reader.skipField();
|
|
14117
|
+
break;
|
|
14118
|
+
}
|
|
14119
|
+
}
|
|
14120
|
+
return msg;
|
|
14121
|
+
};
|
|
14122
|
+
|
|
14123
|
+
|
|
14124
|
+
/**
|
|
14125
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14126
|
+
* @return {!Uint8Array}
|
|
14127
|
+
*/
|
|
14128
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.serializeBinary = function() {
|
|
14129
|
+
var writer = new jspb.BinaryWriter();
|
|
14130
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.serializeBinaryToWriter(this, writer);
|
|
14131
|
+
return writer.getResultBuffer();
|
|
14132
|
+
};
|
|
14133
|
+
|
|
14134
|
+
|
|
14135
|
+
/**
|
|
14136
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14137
|
+
* format), writing to the given BinaryWriter.
|
|
14138
|
+
* @param {!proto.agentbillingserviceapi.ProcessAgentBillResult} message
|
|
14139
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14140
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14141
|
+
*/
|
|
14142
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.serializeBinaryToWriter = function(message, writer) {
|
|
14143
|
+
var f = undefined;
|
|
14144
|
+
f = message.getAgentbillid();
|
|
14145
|
+
if (f !== 0) {
|
|
14146
|
+
writer.writeInt64(
|
|
14147
|
+
1,
|
|
14148
|
+
f
|
|
14149
|
+
);
|
|
14150
|
+
}
|
|
14151
|
+
f = message.getBillid();
|
|
14152
|
+
if (f !== 0) {
|
|
14153
|
+
writer.writeInt64(
|
|
14154
|
+
2,
|
|
14155
|
+
f
|
|
14156
|
+
);
|
|
14157
|
+
}
|
|
14158
|
+
f = message.getWassuccessfullyprocessed();
|
|
14159
|
+
if (f) {
|
|
14160
|
+
writer.writeBool(
|
|
14161
|
+
3,
|
|
14162
|
+
f
|
|
14163
|
+
);
|
|
14164
|
+
}
|
|
14165
|
+
f = message.getStatus();
|
|
14166
|
+
if (f.length > 0) {
|
|
14167
|
+
writer.writeString(
|
|
14168
|
+
4,
|
|
14169
|
+
f
|
|
14170
|
+
);
|
|
14171
|
+
}
|
|
14172
|
+
f = message.getMessage();
|
|
14173
|
+
if (f.length > 0) {
|
|
14174
|
+
writer.writeString(
|
|
14175
|
+
5,
|
|
14176
|
+
f
|
|
14177
|
+
);
|
|
14178
|
+
}
|
|
14179
|
+
};
|
|
14180
|
+
|
|
14181
|
+
|
|
14182
|
+
/**
|
|
14183
|
+
* optional int64 agentBillId = 1;
|
|
14184
|
+
* @return {number}
|
|
14185
|
+
*/
|
|
14186
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.getAgentbillid = function() {
|
|
14187
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
14188
|
+
};
|
|
14189
|
+
|
|
14190
|
+
|
|
14191
|
+
/**
|
|
14192
|
+
* @param {number} value
|
|
14193
|
+
* @return {!proto.agentbillingserviceapi.ProcessAgentBillResult} returns this
|
|
14194
|
+
*/
|
|
14195
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.setAgentbillid = function(value) {
|
|
14196
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
14197
|
+
};
|
|
14198
|
+
|
|
14199
|
+
|
|
14200
|
+
/**
|
|
14201
|
+
* optional int64 billId = 2;
|
|
14202
|
+
* @return {number}
|
|
14203
|
+
*/
|
|
14204
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.getBillid = function() {
|
|
14205
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
14206
|
+
};
|
|
14207
|
+
|
|
14208
|
+
|
|
14209
|
+
/**
|
|
14210
|
+
* @param {number} value
|
|
14211
|
+
* @return {!proto.agentbillingserviceapi.ProcessAgentBillResult} returns this
|
|
14212
|
+
*/
|
|
14213
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.setBillid = function(value) {
|
|
14214
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
14215
|
+
};
|
|
14216
|
+
|
|
14217
|
+
|
|
14218
|
+
/**
|
|
14219
|
+
* optional bool wasSuccessfullyProcessed = 3;
|
|
14220
|
+
* @return {boolean}
|
|
14221
|
+
*/
|
|
14222
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.getWassuccessfullyprocessed = function() {
|
|
14223
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
14224
|
+
};
|
|
14225
|
+
|
|
14226
|
+
|
|
14227
|
+
/**
|
|
14228
|
+
* @param {boolean} value
|
|
14229
|
+
* @return {!proto.agentbillingserviceapi.ProcessAgentBillResult} returns this
|
|
14230
|
+
*/
|
|
14231
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.setWassuccessfullyprocessed = function(value) {
|
|
14232
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
14233
|
+
};
|
|
14234
|
+
|
|
14235
|
+
|
|
14236
|
+
/**
|
|
14237
|
+
* optional string status = 4;
|
|
14238
|
+
* @return {string}
|
|
14239
|
+
*/
|
|
14240
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.getStatus = function() {
|
|
14241
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
14242
|
+
};
|
|
14243
|
+
|
|
14244
|
+
|
|
14245
|
+
/**
|
|
14246
|
+
* @param {string} value
|
|
14247
|
+
* @return {!proto.agentbillingserviceapi.ProcessAgentBillResult} returns this
|
|
14248
|
+
*/
|
|
14249
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.setStatus = function(value) {
|
|
14250
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
14251
|
+
};
|
|
14252
|
+
|
|
14253
|
+
|
|
14254
|
+
/**
|
|
14255
|
+
* optional string message = 5;
|
|
14256
|
+
* @return {string}
|
|
14257
|
+
*/
|
|
14258
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.getMessage = function() {
|
|
14259
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
14260
|
+
};
|
|
14261
|
+
|
|
14262
|
+
|
|
14263
|
+
/**
|
|
14264
|
+
* @param {string} value
|
|
14265
|
+
* @return {!proto.agentbillingserviceapi.ProcessAgentBillResult} returns this
|
|
14266
|
+
*/
|
|
14267
|
+
proto.agentbillingserviceapi.ProcessAgentBillResult.prototype.setMessage = function(value) {
|
|
14268
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
14269
|
+
};
|
|
14270
|
+
|
|
14271
|
+
|
|
14272
|
+
|
|
14273
|
+
/**
|
|
14274
|
+
* List of repeated fields within this message type.
|
|
14275
|
+
* @private {!Array<number>}
|
|
14276
|
+
* @const
|
|
14277
|
+
*/
|
|
14278
|
+
proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.repeatedFields_ = [1];
|
|
14279
|
+
|
|
14280
|
+
|
|
14281
|
+
|
|
14282
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14283
|
+
/**
|
|
14284
|
+
* Creates an object representation of this proto.
|
|
14285
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14286
|
+
* Optional fields that are not set will be set to undefined.
|
|
14287
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14288
|
+
* For the list of reserved names please see:
|
|
14289
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14290
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14291
|
+
* JSPB instance for transitional soy proto support:
|
|
14292
|
+
* http://goto/soy-param-migration
|
|
14293
|
+
* @return {!Object}
|
|
14294
|
+
*/
|
|
14295
|
+
proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14296
|
+
return proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.toObject(opt_includeInstance, this);
|
|
14297
|
+
};
|
|
14298
|
+
|
|
14299
|
+
|
|
14300
|
+
/**
|
|
14301
|
+
* Static version of the {@see toObject} method.
|
|
14302
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14303
|
+
* the JSPB instance for transitional soy proto support:
|
|
14304
|
+
* http://goto/soy-param-migration
|
|
14305
|
+
* @param {!proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest} msg The msg instance to transform.
|
|
14306
|
+
* @return {!Object}
|
|
14307
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14308
|
+
*/
|
|
14309
|
+
proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.toObject = function(includeInstance, msg) {
|
|
14310
|
+
var f, obj = {
|
|
14311
|
+
agentbillidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
14312
|
+
};
|
|
14313
|
+
|
|
14314
|
+
if (includeInstance) {
|
|
14315
|
+
obj.$jspbMessageInstance = msg;
|
|
14316
|
+
}
|
|
14317
|
+
return obj;
|
|
14318
|
+
};
|
|
14319
|
+
}
|
|
14320
|
+
|
|
14321
|
+
|
|
14322
|
+
/**
|
|
14323
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14324
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14325
|
+
* @return {!proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest}
|
|
14326
|
+
*/
|
|
14327
|
+
proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.deserializeBinary = function(bytes) {
|
|
14328
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14329
|
+
var msg = new proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest;
|
|
14330
|
+
return proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
14331
|
+
};
|
|
14332
|
+
|
|
14333
|
+
|
|
14334
|
+
/**
|
|
14335
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14336
|
+
* given reader into the given message object.
|
|
14337
|
+
* @param {!proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest} msg The message object to deserialize into.
|
|
14338
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14339
|
+
* @return {!proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest}
|
|
14340
|
+
*/
|
|
14341
|
+
proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14342
|
+
while (reader.nextField()) {
|
|
14343
|
+
if (reader.isEndGroup()) {
|
|
14344
|
+
break;
|
|
14345
|
+
}
|
|
14346
|
+
var field = reader.getFieldNumber();
|
|
14347
|
+
switch (field) {
|
|
14348
|
+
case 1:
|
|
14349
|
+
var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
|
|
14350
|
+
msg.setAgentbillidsList(value);
|
|
14351
|
+
break;
|
|
14352
|
+
default:
|
|
14353
|
+
reader.skipField();
|
|
14354
|
+
break;
|
|
14355
|
+
}
|
|
14356
|
+
}
|
|
14357
|
+
return msg;
|
|
14358
|
+
};
|
|
14359
|
+
|
|
14360
|
+
|
|
14361
|
+
/**
|
|
14362
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14363
|
+
* @return {!Uint8Array}
|
|
14364
|
+
*/
|
|
14365
|
+
proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.prototype.serializeBinary = function() {
|
|
13899
14366
|
var writer = new jspb.BinaryWriter();
|
|
13900
14367
|
proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest.serializeBinaryToWriter(this, writer);
|
|
13901
14368
|
return writer.getResultBuffer();
|
|
@@ -15336,7 +15803,9 @@ proto.agentbillingserviceapi.UploadBatch.toObject = function(includeInstance, ms
|
|
|
15336
15803
|
draftbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
15337
15804
|
dueamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
15338
15805
|
creationtime: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
15339
|
-
requiresdraftreview: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
15806
|
+
requiresdraftreview: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
15807
|
+
type: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
15808
|
+
billcounterrorcsvid: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
15340
15809
|
};
|
|
15341
15810
|
|
|
15342
15811
|
if (includeInstance) {
|
|
@@ -15397,6 +15866,14 @@ proto.agentbillingserviceapi.UploadBatch.deserializeBinaryFromReader = function(
|
|
|
15397
15866
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
15398
15867
|
msg.setRequiresdraftreview(value);
|
|
15399
15868
|
break;
|
|
15869
|
+
case 7:
|
|
15870
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15871
|
+
msg.setType(value);
|
|
15872
|
+
break;
|
|
15873
|
+
case 8:
|
|
15874
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
15875
|
+
msg.setBillcounterrorcsvid(value);
|
|
15876
|
+
break;
|
|
15400
15877
|
default:
|
|
15401
15878
|
reader.skipField();
|
|
15402
15879
|
break;
|
|
@@ -15468,6 +15945,20 @@ proto.agentbillingserviceapi.UploadBatch.serializeBinaryToWriter = function(mess
|
|
|
15468
15945
|
f
|
|
15469
15946
|
);
|
|
15470
15947
|
}
|
|
15948
|
+
f = message.getType();
|
|
15949
|
+
if (f.length > 0) {
|
|
15950
|
+
writer.writeString(
|
|
15951
|
+
7,
|
|
15952
|
+
f
|
|
15953
|
+
);
|
|
15954
|
+
}
|
|
15955
|
+
f = message.getBillcounterrorcsvid();
|
|
15956
|
+
if (f !== 0) {
|
|
15957
|
+
writer.writeInt64(
|
|
15958
|
+
8,
|
|
15959
|
+
f
|
|
15960
|
+
);
|
|
15961
|
+
}
|
|
15471
15962
|
};
|
|
15472
15963
|
|
|
15473
15964
|
|
|
@@ -15579,4 +16070,221 @@ proto.agentbillingserviceapi.UploadBatch.prototype.setRequiresdraftreview = func
|
|
|
15579
16070
|
};
|
|
15580
16071
|
|
|
15581
16072
|
|
|
16073
|
+
/**
|
|
16074
|
+
* optional string type = 7;
|
|
16075
|
+
* @return {string}
|
|
16076
|
+
*/
|
|
16077
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getType = function() {
|
|
16078
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
16079
|
+
};
|
|
16080
|
+
|
|
16081
|
+
|
|
16082
|
+
/**
|
|
16083
|
+
* @param {string} value
|
|
16084
|
+
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
16085
|
+
*/
|
|
16086
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setType = function(value) {
|
|
16087
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
16088
|
+
};
|
|
16089
|
+
|
|
16090
|
+
|
|
16091
|
+
/**
|
|
16092
|
+
* optional int64 billCountErrorCsvId = 8;
|
|
16093
|
+
* @return {number}
|
|
16094
|
+
*/
|
|
16095
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getBillcounterrorcsvid = function() {
|
|
16096
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
16097
|
+
};
|
|
16098
|
+
|
|
16099
|
+
|
|
16100
|
+
/**
|
|
16101
|
+
* @param {number} value
|
|
16102
|
+
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
16103
|
+
*/
|
|
16104
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setBillcounterrorcsvid = function(value) {
|
|
16105
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
16106
|
+
};
|
|
16107
|
+
|
|
16108
|
+
|
|
16109
|
+
|
|
16110
|
+
|
|
16111
|
+
|
|
16112
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16113
|
+
/**
|
|
16114
|
+
* Creates an object representation of this proto.
|
|
16115
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16116
|
+
* Optional fields that are not set will be set to undefined.
|
|
16117
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16118
|
+
* For the list of reserved names please see:
|
|
16119
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16120
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16121
|
+
* JSPB instance for transitional soy proto support:
|
|
16122
|
+
* http://goto/soy-param-migration
|
|
16123
|
+
* @return {!Object}
|
|
16124
|
+
*/
|
|
16125
|
+
proto.agentbillingserviceapi.UploadCsvResponse.prototype.toObject = function(opt_includeInstance) {
|
|
16126
|
+
return proto.agentbillingserviceapi.UploadCsvResponse.toObject(opt_includeInstance, this);
|
|
16127
|
+
};
|
|
16128
|
+
|
|
16129
|
+
|
|
16130
|
+
/**
|
|
16131
|
+
* Static version of the {@see toObject} method.
|
|
16132
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16133
|
+
* the JSPB instance for transitional soy proto support:
|
|
16134
|
+
* http://goto/soy-param-migration
|
|
16135
|
+
* @param {!proto.agentbillingserviceapi.UploadCsvResponse} msg The msg instance to transform.
|
|
16136
|
+
* @return {!Object}
|
|
16137
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16138
|
+
*/
|
|
16139
|
+
proto.agentbillingserviceapi.UploadCsvResponse.toObject = function(includeInstance, msg) {
|
|
16140
|
+
var f, obj = {
|
|
16141
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
16142
|
+
csvid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
16143
|
+
};
|
|
16144
|
+
|
|
16145
|
+
if (includeInstance) {
|
|
16146
|
+
obj.$jspbMessageInstance = msg;
|
|
16147
|
+
}
|
|
16148
|
+
return obj;
|
|
16149
|
+
};
|
|
16150
|
+
}
|
|
16151
|
+
|
|
16152
|
+
|
|
16153
|
+
/**
|
|
16154
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16155
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16156
|
+
* @return {!proto.agentbillingserviceapi.UploadCsvResponse}
|
|
16157
|
+
*/
|
|
16158
|
+
proto.agentbillingserviceapi.UploadCsvResponse.deserializeBinary = function(bytes) {
|
|
16159
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16160
|
+
var msg = new proto.agentbillingserviceapi.UploadCsvResponse;
|
|
16161
|
+
return proto.agentbillingserviceapi.UploadCsvResponse.deserializeBinaryFromReader(msg, reader);
|
|
16162
|
+
};
|
|
16163
|
+
|
|
16164
|
+
|
|
16165
|
+
/**
|
|
16166
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16167
|
+
* given reader into the given message object.
|
|
16168
|
+
* @param {!proto.agentbillingserviceapi.UploadCsvResponse} msg The message object to deserialize into.
|
|
16169
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16170
|
+
* @return {!proto.agentbillingserviceapi.UploadCsvResponse}
|
|
16171
|
+
*/
|
|
16172
|
+
proto.agentbillingserviceapi.UploadCsvResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
16173
|
+
while (reader.nextField()) {
|
|
16174
|
+
if (reader.isEndGroup()) {
|
|
16175
|
+
break;
|
|
16176
|
+
}
|
|
16177
|
+
var field = reader.getFieldNumber();
|
|
16178
|
+
switch (field) {
|
|
16179
|
+
case 1:
|
|
16180
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
16181
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
16182
|
+
msg.setResponsecode(value);
|
|
16183
|
+
break;
|
|
16184
|
+
case 2:
|
|
16185
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16186
|
+
msg.setCsvid(value);
|
|
16187
|
+
break;
|
|
16188
|
+
default:
|
|
16189
|
+
reader.skipField();
|
|
16190
|
+
break;
|
|
16191
|
+
}
|
|
16192
|
+
}
|
|
16193
|
+
return msg;
|
|
16194
|
+
};
|
|
16195
|
+
|
|
16196
|
+
|
|
16197
|
+
/**
|
|
16198
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16199
|
+
* @return {!Uint8Array}
|
|
16200
|
+
*/
|
|
16201
|
+
proto.agentbillingserviceapi.UploadCsvResponse.prototype.serializeBinary = function() {
|
|
16202
|
+
var writer = new jspb.BinaryWriter();
|
|
16203
|
+
proto.agentbillingserviceapi.UploadCsvResponse.serializeBinaryToWriter(this, writer);
|
|
16204
|
+
return writer.getResultBuffer();
|
|
16205
|
+
};
|
|
16206
|
+
|
|
16207
|
+
|
|
16208
|
+
/**
|
|
16209
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16210
|
+
* format), writing to the given BinaryWriter.
|
|
16211
|
+
* @param {!proto.agentbillingserviceapi.UploadCsvResponse} message
|
|
16212
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16213
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16214
|
+
*/
|
|
16215
|
+
proto.agentbillingserviceapi.UploadCsvResponse.serializeBinaryToWriter = function(message, writer) {
|
|
16216
|
+
var f = undefined;
|
|
16217
|
+
f = message.getResponsecode();
|
|
16218
|
+
if (f != null) {
|
|
16219
|
+
writer.writeMessage(
|
|
16220
|
+
1,
|
|
16221
|
+
f,
|
|
16222
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
16223
|
+
);
|
|
16224
|
+
}
|
|
16225
|
+
f = message.getCsvid();
|
|
16226
|
+
if (f !== 0) {
|
|
16227
|
+
writer.writeInt64(
|
|
16228
|
+
2,
|
|
16229
|
+
f
|
|
16230
|
+
);
|
|
16231
|
+
}
|
|
16232
|
+
};
|
|
16233
|
+
|
|
16234
|
+
|
|
16235
|
+
/**
|
|
16236
|
+
* optional ResponseCode responseCode = 1;
|
|
16237
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
16238
|
+
*/
|
|
16239
|
+
proto.agentbillingserviceapi.UploadCsvResponse.prototype.getResponsecode = function() {
|
|
16240
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
16241
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
16242
|
+
};
|
|
16243
|
+
|
|
16244
|
+
|
|
16245
|
+
/**
|
|
16246
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
16247
|
+
* @return {!proto.agentbillingserviceapi.UploadCsvResponse} returns this
|
|
16248
|
+
*/
|
|
16249
|
+
proto.agentbillingserviceapi.UploadCsvResponse.prototype.setResponsecode = function(value) {
|
|
16250
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
16251
|
+
};
|
|
16252
|
+
|
|
16253
|
+
|
|
16254
|
+
/**
|
|
16255
|
+
* Clears the message field making it undefined.
|
|
16256
|
+
* @return {!proto.agentbillingserviceapi.UploadCsvResponse} returns this
|
|
16257
|
+
*/
|
|
16258
|
+
proto.agentbillingserviceapi.UploadCsvResponse.prototype.clearResponsecode = function() {
|
|
16259
|
+
return this.setResponsecode(undefined);
|
|
16260
|
+
};
|
|
16261
|
+
|
|
16262
|
+
|
|
16263
|
+
/**
|
|
16264
|
+
* Returns whether this field is set.
|
|
16265
|
+
* @return {boolean}
|
|
16266
|
+
*/
|
|
16267
|
+
proto.agentbillingserviceapi.UploadCsvResponse.prototype.hasResponsecode = function() {
|
|
16268
|
+
return jspb.Message.getField(this, 1) != null;
|
|
16269
|
+
};
|
|
16270
|
+
|
|
16271
|
+
|
|
16272
|
+
/**
|
|
16273
|
+
* optional int64 csvId = 2;
|
|
16274
|
+
* @return {number}
|
|
16275
|
+
*/
|
|
16276
|
+
proto.agentbillingserviceapi.UploadCsvResponse.prototype.getCsvid = function() {
|
|
16277
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
16278
|
+
};
|
|
16279
|
+
|
|
16280
|
+
|
|
16281
|
+
/**
|
|
16282
|
+
* @param {number} value
|
|
16283
|
+
* @return {!proto.agentbillingserviceapi.UploadCsvResponse} returns this
|
|
16284
|
+
*/
|
|
16285
|
+
proto.agentbillingserviceapi.UploadCsvResponse.prototype.setCsvid = function(value) {
|
|
16286
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
16287
|
+
};
|
|
16288
|
+
|
|
16289
|
+
|
|
15582
16290
|
goog.object.extend(exports, proto.agentbillingserviceapi);
|