@sniipwebmaster/agent-billing-client-grpcweb 26.4.5153 → 26.4.5164
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.
|
@@ -3967,5 +3967,66 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
|
|
|
3967
3967
|
};
|
|
3968
3968
|
|
|
3969
3969
|
|
|
3970
|
+
/**
|
|
3971
|
+
* @const
|
|
3972
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3973
|
+
* !proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest,
|
|
3974
|
+
* !proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse>}
|
|
3975
|
+
*/
|
|
3976
|
+
const methodDescriptor_AgentBillingServiceAPIService_GetDeliveryBatchType = new grpc.web.MethodDescriptor(
|
|
3977
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchType',
|
|
3978
|
+
grpc.web.MethodType.UNARY,
|
|
3979
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest,
|
|
3980
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse,
|
|
3981
|
+
/**
|
|
3982
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest} request
|
|
3983
|
+
* @return {!Uint8Array}
|
|
3984
|
+
*/
|
|
3985
|
+
function(request) {
|
|
3986
|
+
return request.serializeBinary();
|
|
3987
|
+
},
|
|
3988
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.deserializeBinary
|
|
3989
|
+
);
|
|
3990
|
+
|
|
3991
|
+
|
|
3992
|
+
/**
|
|
3993
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest} request The
|
|
3994
|
+
* request proto
|
|
3995
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3996
|
+
* call metadata
|
|
3997
|
+
* @param {function(?grpc.web.RpcError, ?proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse)}
|
|
3998
|
+
* callback The callback function(error, response)
|
|
3999
|
+
* @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse>|undefined}
|
|
4000
|
+
* The XHR Node Readable Stream
|
|
4001
|
+
*/
|
|
4002
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.getDeliveryBatchType =
|
|
4003
|
+
function(request, metadata, callback) {
|
|
4004
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4005
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchType',
|
|
4006
|
+
request,
|
|
4007
|
+
metadata || {},
|
|
4008
|
+
methodDescriptor_AgentBillingServiceAPIService_GetDeliveryBatchType,
|
|
4009
|
+
callback);
|
|
4010
|
+
};
|
|
4011
|
+
|
|
4012
|
+
|
|
4013
|
+
/**
|
|
4014
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest} request The
|
|
4015
|
+
* request proto
|
|
4016
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
4017
|
+
* call metadata
|
|
4018
|
+
* @return {!Promise<!proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse>}
|
|
4019
|
+
* Promise that resolves to the response
|
|
4020
|
+
*/
|
|
4021
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.getDeliveryBatchType =
|
|
4022
|
+
function(request, metadata) {
|
|
4023
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4024
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchType',
|
|
4025
|
+
request,
|
|
4026
|
+
metadata || {},
|
|
4027
|
+
methodDescriptor_AgentBillingServiceAPIService_GetDeliveryBatchType);
|
|
4028
|
+
};
|
|
4029
|
+
|
|
4030
|
+
|
|
3970
4031
|
module.exports = proto.agentbillingserviceapi;
|
|
3971
4032
|
|
|
@@ -107,6 +107,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetConnectedClientsRequest', nul
|
|
|
107
107
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse', null, global);
|
|
108
108
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest', null, global);
|
|
109
109
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest', null, global);
|
|
110
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest', null, global);
|
|
111
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse', null, global);
|
|
110
112
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesResponse', null, global);
|
|
111
113
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountRequest', null, global);
|
|
112
114
|
goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse', null, global);
|
|
@@ -2602,6 +2604,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2602
2604
|
*/
|
|
2603
2605
|
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.displayName = 'proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse';
|
|
2604
2606
|
}
|
|
2607
|
+
/**
|
|
2608
|
+
* Generated by JsPbCodeGenerator.
|
|
2609
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2610
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2611
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2612
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2613
|
+
* valid.
|
|
2614
|
+
* @extends {jspb.Message}
|
|
2615
|
+
* @constructor
|
|
2616
|
+
*/
|
|
2617
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest = function(opt_data) {
|
|
2618
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2619
|
+
};
|
|
2620
|
+
goog.inherits(proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest, jspb.Message);
|
|
2621
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2622
|
+
/**
|
|
2623
|
+
* @public
|
|
2624
|
+
* @override
|
|
2625
|
+
*/
|
|
2626
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest';
|
|
2627
|
+
}
|
|
2628
|
+
/**
|
|
2629
|
+
* Generated by JsPbCodeGenerator.
|
|
2630
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2631
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2632
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2633
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2634
|
+
* valid.
|
|
2635
|
+
* @extends {jspb.Message}
|
|
2636
|
+
* @constructor
|
|
2637
|
+
*/
|
|
2638
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse = function(opt_data) {
|
|
2639
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2640
|
+
};
|
|
2641
|
+
goog.inherits(proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse, jspb.Message);
|
|
2642
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2643
|
+
/**
|
|
2644
|
+
* @public
|
|
2645
|
+
* @override
|
|
2646
|
+
*/
|
|
2647
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse';
|
|
2648
|
+
}
|
|
2605
2649
|
/**
|
|
2606
2650
|
* Generated by JsPbCodeGenerator.
|
|
2607
2651
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -33227,6 +33271,317 @@ proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.clear
|
|
|
33227
33271
|
|
|
33228
33272
|
|
|
33229
33273
|
|
|
33274
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
33275
|
+
/**
|
|
33276
|
+
* Creates an object representation of this proto.
|
|
33277
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
33278
|
+
* Optional fields that are not set will be set to undefined.
|
|
33279
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
33280
|
+
* For the list of reserved names please see:
|
|
33281
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
33282
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
33283
|
+
* JSPB instance for transitional soy proto support:
|
|
33284
|
+
* http://goto/soy-param-migration
|
|
33285
|
+
* @return {!Object}
|
|
33286
|
+
*/
|
|
33287
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
33288
|
+
return proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.toObject(opt_includeInstance, this);
|
|
33289
|
+
};
|
|
33290
|
+
|
|
33291
|
+
|
|
33292
|
+
/**
|
|
33293
|
+
* Static version of the {@see toObject} method.
|
|
33294
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
33295
|
+
* the JSPB instance for transitional soy proto support:
|
|
33296
|
+
* http://goto/soy-param-migration
|
|
33297
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest} msg The msg instance to transform.
|
|
33298
|
+
* @return {!Object}
|
|
33299
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33300
|
+
*/
|
|
33301
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.toObject = function(includeInstance, msg) {
|
|
33302
|
+
var f, obj = {
|
|
33303
|
+
deliverybatchid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
33304
|
+
};
|
|
33305
|
+
|
|
33306
|
+
if (includeInstance) {
|
|
33307
|
+
obj.$jspbMessageInstance = msg;
|
|
33308
|
+
}
|
|
33309
|
+
return obj;
|
|
33310
|
+
};
|
|
33311
|
+
}
|
|
33312
|
+
|
|
33313
|
+
|
|
33314
|
+
/**
|
|
33315
|
+
* Deserializes binary data (in protobuf wire format).
|
|
33316
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
33317
|
+
* @return {!proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest}
|
|
33318
|
+
*/
|
|
33319
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.deserializeBinary = function(bytes) {
|
|
33320
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
33321
|
+
var msg = new proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest;
|
|
33322
|
+
return proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.deserializeBinaryFromReader(msg, reader);
|
|
33323
|
+
};
|
|
33324
|
+
|
|
33325
|
+
|
|
33326
|
+
/**
|
|
33327
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
33328
|
+
* given reader into the given message object.
|
|
33329
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest} msg The message object to deserialize into.
|
|
33330
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
33331
|
+
* @return {!proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest}
|
|
33332
|
+
*/
|
|
33333
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
33334
|
+
while (reader.nextField()) {
|
|
33335
|
+
if (reader.isEndGroup()) {
|
|
33336
|
+
break;
|
|
33337
|
+
}
|
|
33338
|
+
var field = reader.getFieldNumber();
|
|
33339
|
+
switch (field) {
|
|
33340
|
+
case 1:
|
|
33341
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
33342
|
+
msg.setDeliverybatchid(value);
|
|
33343
|
+
break;
|
|
33344
|
+
default:
|
|
33345
|
+
reader.skipField();
|
|
33346
|
+
break;
|
|
33347
|
+
}
|
|
33348
|
+
}
|
|
33349
|
+
return msg;
|
|
33350
|
+
};
|
|
33351
|
+
|
|
33352
|
+
|
|
33353
|
+
/**
|
|
33354
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
33355
|
+
* @return {!Uint8Array}
|
|
33356
|
+
*/
|
|
33357
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.prototype.serializeBinary = function() {
|
|
33358
|
+
var writer = new jspb.BinaryWriter();
|
|
33359
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.serializeBinaryToWriter(this, writer);
|
|
33360
|
+
return writer.getResultBuffer();
|
|
33361
|
+
};
|
|
33362
|
+
|
|
33363
|
+
|
|
33364
|
+
/**
|
|
33365
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
33366
|
+
* format), writing to the given BinaryWriter.
|
|
33367
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest} message
|
|
33368
|
+
* @param {!jspb.BinaryWriter} writer
|
|
33369
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33370
|
+
*/
|
|
33371
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
33372
|
+
var f = undefined;
|
|
33373
|
+
f = message.getDeliverybatchid();
|
|
33374
|
+
if (f !== 0) {
|
|
33375
|
+
writer.writeInt64(
|
|
33376
|
+
1,
|
|
33377
|
+
f
|
|
33378
|
+
);
|
|
33379
|
+
}
|
|
33380
|
+
};
|
|
33381
|
+
|
|
33382
|
+
|
|
33383
|
+
/**
|
|
33384
|
+
* optional int64 deliveryBatchId = 1;
|
|
33385
|
+
* @return {number}
|
|
33386
|
+
*/
|
|
33387
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.prototype.getDeliverybatchid = function() {
|
|
33388
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
33389
|
+
};
|
|
33390
|
+
|
|
33391
|
+
|
|
33392
|
+
/**
|
|
33393
|
+
* @param {number} value
|
|
33394
|
+
* @return {!proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest} returns this
|
|
33395
|
+
*/
|
|
33396
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeRequest.prototype.setDeliverybatchid = function(value) {
|
|
33397
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
33398
|
+
};
|
|
33399
|
+
|
|
33400
|
+
|
|
33401
|
+
|
|
33402
|
+
|
|
33403
|
+
|
|
33404
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
33405
|
+
/**
|
|
33406
|
+
* Creates an object representation of this proto.
|
|
33407
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
33408
|
+
* Optional fields that are not set will be set to undefined.
|
|
33409
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
33410
|
+
* For the list of reserved names please see:
|
|
33411
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
33412
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
33413
|
+
* JSPB instance for transitional soy proto support:
|
|
33414
|
+
* http://goto/soy-param-migration
|
|
33415
|
+
* @return {!Object}
|
|
33416
|
+
*/
|
|
33417
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
33418
|
+
return proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.toObject(opt_includeInstance, this);
|
|
33419
|
+
};
|
|
33420
|
+
|
|
33421
|
+
|
|
33422
|
+
/**
|
|
33423
|
+
* Static version of the {@see toObject} method.
|
|
33424
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
33425
|
+
* the JSPB instance for transitional soy proto support:
|
|
33426
|
+
* http://goto/soy-param-migration
|
|
33427
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse} msg The msg instance to transform.
|
|
33428
|
+
* @return {!Object}
|
|
33429
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33430
|
+
*/
|
|
33431
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.toObject = function(includeInstance, msg) {
|
|
33432
|
+
var f, obj = {
|
|
33433
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
33434
|
+
deliverybatchtype: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
33435
|
+
};
|
|
33436
|
+
|
|
33437
|
+
if (includeInstance) {
|
|
33438
|
+
obj.$jspbMessageInstance = msg;
|
|
33439
|
+
}
|
|
33440
|
+
return obj;
|
|
33441
|
+
};
|
|
33442
|
+
}
|
|
33443
|
+
|
|
33444
|
+
|
|
33445
|
+
/**
|
|
33446
|
+
* Deserializes binary data (in protobuf wire format).
|
|
33447
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
33448
|
+
* @return {!proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse}
|
|
33449
|
+
*/
|
|
33450
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.deserializeBinary = function(bytes) {
|
|
33451
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
33452
|
+
var msg = new proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse;
|
|
33453
|
+
return proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.deserializeBinaryFromReader(msg, reader);
|
|
33454
|
+
};
|
|
33455
|
+
|
|
33456
|
+
|
|
33457
|
+
/**
|
|
33458
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
33459
|
+
* given reader into the given message object.
|
|
33460
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse} msg The message object to deserialize into.
|
|
33461
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
33462
|
+
* @return {!proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse}
|
|
33463
|
+
*/
|
|
33464
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
33465
|
+
while (reader.nextField()) {
|
|
33466
|
+
if (reader.isEndGroup()) {
|
|
33467
|
+
break;
|
|
33468
|
+
}
|
|
33469
|
+
var field = reader.getFieldNumber();
|
|
33470
|
+
switch (field) {
|
|
33471
|
+
case 1:
|
|
33472
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
33473
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
33474
|
+
msg.setResponsecode(value);
|
|
33475
|
+
break;
|
|
33476
|
+
case 2:
|
|
33477
|
+
var value = /** @type {!proto.agentbillingserviceapi.DeliveryBatchType} */ (reader.readEnum());
|
|
33478
|
+
msg.setDeliverybatchtype(value);
|
|
33479
|
+
break;
|
|
33480
|
+
default:
|
|
33481
|
+
reader.skipField();
|
|
33482
|
+
break;
|
|
33483
|
+
}
|
|
33484
|
+
}
|
|
33485
|
+
return msg;
|
|
33486
|
+
};
|
|
33487
|
+
|
|
33488
|
+
|
|
33489
|
+
/**
|
|
33490
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
33491
|
+
* @return {!Uint8Array}
|
|
33492
|
+
*/
|
|
33493
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.prototype.serializeBinary = function() {
|
|
33494
|
+
var writer = new jspb.BinaryWriter();
|
|
33495
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.serializeBinaryToWriter(this, writer);
|
|
33496
|
+
return writer.getResultBuffer();
|
|
33497
|
+
};
|
|
33498
|
+
|
|
33499
|
+
|
|
33500
|
+
/**
|
|
33501
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
33502
|
+
* format), writing to the given BinaryWriter.
|
|
33503
|
+
* @param {!proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse} message
|
|
33504
|
+
* @param {!jspb.BinaryWriter} writer
|
|
33505
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33506
|
+
*/
|
|
33507
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
33508
|
+
var f = undefined;
|
|
33509
|
+
f = message.getResponsecode();
|
|
33510
|
+
if (f != null) {
|
|
33511
|
+
writer.writeMessage(
|
|
33512
|
+
1,
|
|
33513
|
+
f,
|
|
33514
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
33515
|
+
);
|
|
33516
|
+
}
|
|
33517
|
+
f = message.getDeliverybatchtype();
|
|
33518
|
+
if (f !== 0.0) {
|
|
33519
|
+
writer.writeEnum(
|
|
33520
|
+
2,
|
|
33521
|
+
f
|
|
33522
|
+
);
|
|
33523
|
+
}
|
|
33524
|
+
};
|
|
33525
|
+
|
|
33526
|
+
|
|
33527
|
+
/**
|
|
33528
|
+
* optional ResponseCode responseCode = 1;
|
|
33529
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
33530
|
+
*/
|
|
33531
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.prototype.getResponsecode = function() {
|
|
33532
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
33533
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
33534
|
+
};
|
|
33535
|
+
|
|
33536
|
+
|
|
33537
|
+
/**
|
|
33538
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
33539
|
+
* @return {!proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse} returns this
|
|
33540
|
+
*/
|
|
33541
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.prototype.setResponsecode = function(value) {
|
|
33542
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
33543
|
+
};
|
|
33544
|
+
|
|
33545
|
+
|
|
33546
|
+
/**
|
|
33547
|
+
* Clears the message field making it undefined.
|
|
33548
|
+
* @return {!proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse} returns this
|
|
33549
|
+
*/
|
|
33550
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.prototype.clearResponsecode = function() {
|
|
33551
|
+
return this.setResponsecode(undefined);
|
|
33552
|
+
};
|
|
33553
|
+
|
|
33554
|
+
|
|
33555
|
+
/**
|
|
33556
|
+
* Returns whether this field is set.
|
|
33557
|
+
* @return {boolean}
|
|
33558
|
+
*/
|
|
33559
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.prototype.hasResponsecode = function() {
|
|
33560
|
+
return jspb.Message.getField(this, 1) != null;
|
|
33561
|
+
};
|
|
33562
|
+
|
|
33563
|
+
|
|
33564
|
+
/**
|
|
33565
|
+
* optional DeliveryBatchType deliveryBatchType = 2;
|
|
33566
|
+
* @return {!proto.agentbillingserviceapi.DeliveryBatchType}
|
|
33567
|
+
*/
|
|
33568
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.prototype.getDeliverybatchtype = function() {
|
|
33569
|
+
return /** @type {!proto.agentbillingserviceapi.DeliveryBatchType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
33570
|
+
};
|
|
33571
|
+
|
|
33572
|
+
|
|
33573
|
+
/**
|
|
33574
|
+
* @param {!proto.agentbillingserviceapi.DeliveryBatchType} value
|
|
33575
|
+
* @return {!proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse} returns this
|
|
33576
|
+
*/
|
|
33577
|
+
proto.agentbillingserviceapi.GetDeliveryBatchTypeResponse.prototype.setDeliverybatchtype = function(value) {
|
|
33578
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
33579
|
+
};
|
|
33580
|
+
|
|
33581
|
+
|
|
33582
|
+
|
|
33583
|
+
|
|
33584
|
+
|
|
33230
33585
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
33231
33586
|
/**
|
|
33232
33587
|
* Creates an object representation of this proto.
|