@sniipwebmaster/agent-billing-client-grpcweb-ts 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.
|
@@ -2729,5 +2729,48 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
2729
2729
|
this.methodDescriptorGetClientDeliveryBatchTypes);
|
|
2730
2730
|
}
|
|
2731
2731
|
|
|
2732
|
+
methodDescriptorGetDeliveryBatchType = new grpcWeb.MethodDescriptor(
|
|
2733
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchType',
|
|
2734
|
+
grpcWeb.MethodType.UNARY,
|
|
2735
|
+
service_pb.GetDeliveryBatchTypeRequest,
|
|
2736
|
+
service_pb.GetDeliveryBatchTypeResponse,
|
|
2737
|
+
(request: service_pb.GetDeliveryBatchTypeRequest) => {
|
|
2738
|
+
return request.serializeBinary();
|
|
2739
|
+
},
|
|
2740
|
+
service_pb.GetDeliveryBatchTypeResponse.deserializeBinary
|
|
2741
|
+
);
|
|
2742
|
+
|
|
2743
|
+
getDeliveryBatchType(
|
|
2744
|
+
request: service_pb.GetDeliveryBatchTypeRequest,
|
|
2745
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.GetDeliveryBatchTypeResponse>;
|
|
2746
|
+
|
|
2747
|
+
getDeliveryBatchType(
|
|
2748
|
+
request: service_pb.GetDeliveryBatchTypeRequest,
|
|
2749
|
+
metadata: grpcWeb.Metadata | null,
|
|
2750
|
+
callback: (err: grpcWeb.RpcError,
|
|
2751
|
+
response: service_pb.GetDeliveryBatchTypeResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetDeliveryBatchTypeResponse>;
|
|
2752
|
+
|
|
2753
|
+
getDeliveryBatchType(
|
|
2754
|
+
request: service_pb.GetDeliveryBatchTypeRequest,
|
|
2755
|
+
metadata?: grpcWeb.Metadata | null,
|
|
2756
|
+
callback?: (err: grpcWeb.RpcError,
|
|
2757
|
+
response: service_pb.GetDeliveryBatchTypeResponse) => void) {
|
|
2758
|
+
if (callback !== undefined) {
|
|
2759
|
+
return this.client_.rpcCall(
|
|
2760
|
+
this.hostname_ +
|
|
2761
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchType',
|
|
2762
|
+
request,
|
|
2763
|
+
metadata || {},
|
|
2764
|
+
this.methodDescriptorGetDeliveryBatchType,
|
|
2765
|
+
callback);
|
|
2766
|
+
}
|
|
2767
|
+
return this.client_.unaryCall(
|
|
2768
|
+
this.hostname_ +
|
|
2769
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchType',
|
|
2770
|
+
request,
|
|
2771
|
+
metadata || {},
|
|
2772
|
+
this.methodDescriptorGetDeliveryBatchType);
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2732
2775
|
}
|
|
2733
2776
|
|
|
@@ -4073,6 +4073,48 @@ export namespace GetClientDeliveryBatchTypesResponse {
|
|
|
4073
4073
|
}
|
|
4074
4074
|
}
|
|
4075
4075
|
|
|
4076
|
+
export class GetDeliveryBatchTypeRequest extends jspb.Message {
|
|
4077
|
+
getDeliverybatchid(): number;
|
|
4078
|
+
setDeliverybatchid(value: number): GetDeliveryBatchTypeRequest;
|
|
4079
|
+
|
|
4080
|
+
serializeBinary(): Uint8Array;
|
|
4081
|
+
toObject(includeInstance?: boolean): GetDeliveryBatchTypeRequest.AsObject;
|
|
4082
|
+
static toObject(includeInstance: boolean, msg: GetDeliveryBatchTypeRequest): GetDeliveryBatchTypeRequest.AsObject;
|
|
4083
|
+
static serializeBinaryToWriter(message: GetDeliveryBatchTypeRequest, writer: jspb.BinaryWriter): void;
|
|
4084
|
+
static deserializeBinary(bytes: Uint8Array): GetDeliveryBatchTypeRequest;
|
|
4085
|
+
static deserializeBinaryFromReader(message: GetDeliveryBatchTypeRequest, reader: jspb.BinaryReader): GetDeliveryBatchTypeRequest;
|
|
4086
|
+
}
|
|
4087
|
+
|
|
4088
|
+
export namespace GetDeliveryBatchTypeRequest {
|
|
4089
|
+
export type AsObject = {
|
|
4090
|
+
deliverybatchid: number,
|
|
4091
|
+
}
|
|
4092
|
+
}
|
|
4093
|
+
|
|
4094
|
+
export class GetDeliveryBatchTypeResponse extends jspb.Message {
|
|
4095
|
+
getResponsecode(): ResponseCode | undefined;
|
|
4096
|
+
setResponsecode(value?: ResponseCode): GetDeliveryBatchTypeResponse;
|
|
4097
|
+
hasResponsecode(): boolean;
|
|
4098
|
+
clearResponsecode(): GetDeliveryBatchTypeResponse;
|
|
4099
|
+
|
|
4100
|
+
getDeliverybatchtype(): DeliveryBatchType;
|
|
4101
|
+
setDeliverybatchtype(value: DeliveryBatchType): GetDeliveryBatchTypeResponse;
|
|
4102
|
+
|
|
4103
|
+
serializeBinary(): Uint8Array;
|
|
4104
|
+
toObject(includeInstance?: boolean): GetDeliveryBatchTypeResponse.AsObject;
|
|
4105
|
+
static toObject(includeInstance: boolean, msg: GetDeliveryBatchTypeResponse): GetDeliveryBatchTypeResponse.AsObject;
|
|
4106
|
+
static serializeBinaryToWriter(message: GetDeliveryBatchTypeResponse, writer: jspb.BinaryWriter): void;
|
|
4107
|
+
static deserializeBinary(bytes: Uint8Array): GetDeliveryBatchTypeResponse;
|
|
4108
|
+
static deserializeBinaryFromReader(message: GetDeliveryBatchTypeResponse, reader: jspb.BinaryReader): GetDeliveryBatchTypeResponse;
|
|
4109
|
+
}
|
|
4110
|
+
|
|
4111
|
+
export namespace GetDeliveryBatchTypeResponse {
|
|
4112
|
+
export type AsObject = {
|
|
4113
|
+
responsecode?: ResponseCode.AsObject,
|
|
4114
|
+
deliverybatchtype: DeliveryBatchType,
|
|
4115
|
+
}
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4076
4118
|
export class GetUserRelationshipsRequest extends jspb.Message {
|
|
4077
4119
|
getUserid(): number;
|
|
4078
4120
|
setUserid(value: number): GetUserRelationshipsRequest;
|
|
@@ -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.
|