@sniipwebmaster/agent-billing-client-grpcweb-ts 24.5.2065 → 24.5.2087
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.
|
@@ -685,6 +685,49 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
685
685
|
this.methodDescriptorGetAgentAttachments);
|
|
686
686
|
}
|
|
687
687
|
|
|
688
|
+
methodDescriptorDeleteAgentAttachments = new grpcWeb.MethodDescriptor(
|
|
689
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentAttachments',
|
|
690
|
+
grpcWeb.MethodType.UNARY,
|
|
691
|
+
service_pb.DeleteAttachmentsRequest,
|
|
692
|
+
service_pb.DeleteAttachmentsResponse,
|
|
693
|
+
(request: service_pb.DeleteAttachmentsRequest) => {
|
|
694
|
+
return request.serializeBinary();
|
|
695
|
+
},
|
|
696
|
+
service_pb.DeleteAttachmentsResponse.deserializeBinary
|
|
697
|
+
);
|
|
698
|
+
|
|
699
|
+
deleteAgentAttachments(
|
|
700
|
+
request: service_pb.DeleteAttachmentsRequest,
|
|
701
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.DeleteAttachmentsResponse>;
|
|
702
|
+
|
|
703
|
+
deleteAgentAttachments(
|
|
704
|
+
request: service_pb.DeleteAttachmentsRequest,
|
|
705
|
+
metadata: grpcWeb.Metadata | null,
|
|
706
|
+
callback: (err: grpcWeb.RpcError,
|
|
707
|
+
response: service_pb.DeleteAttachmentsResponse) => void): grpcWeb.ClientReadableStream<service_pb.DeleteAttachmentsResponse>;
|
|
708
|
+
|
|
709
|
+
deleteAgentAttachments(
|
|
710
|
+
request: service_pb.DeleteAttachmentsRequest,
|
|
711
|
+
metadata: grpcWeb.Metadata | null,
|
|
712
|
+
callback?: (err: grpcWeb.RpcError,
|
|
713
|
+
response: service_pb.DeleteAttachmentsResponse) => void) {
|
|
714
|
+
if (callback !== undefined) {
|
|
715
|
+
return this.client_.rpcCall(
|
|
716
|
+
this.hostname_ +
|
|
717
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentAttachments',
|
|
718
|
+
request,
|
|
719
|
+
metadata || {},
|
|
720
|
+
this.methodDescriptorDeleteAgentAttachments,
|
|
721
|
+
callback);
|
|
722
|
+
}
|
|
723
|
+
return this.client_.unaryCall(
|
|
724
|
+
this.hostname_ +
|
|
725
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentAttachments',
|
|
726
|
+
request,
|
|
727
|
+
metadata || {},
|
|
728
|
+
this.methodDescriptorDeleteAgentAttachments);
|
|
729
|
+
}
|
|
730
|
+
|
|
688
731
|
methodDescriptorGetAgentBillDeliveryDetailsByBillId = new grpcWeb.MethodDescriptor(
|
|
689
732
|
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillId',
|
|
690
733
|
grpcWeb.MethodType.UNARY,
|
|
@@ -836,6 +836,50 @@ export namespace AgentAttachmentsResponse {
|
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
838
|
|
|
839
|
+
export class DeleteAttachmentsRequest extends jspb.Message {
|
|
840
|
+
getClientid(): number;
|
|
841
|
+
setClientid(value: number): DeleteAttachmentsRequest;
|
|
842
|
+
|
|
843
|
+
getAttachmentsidList(): Array<number>;
|
|
844
|
+
setAttachmentsidList(value: Array<number>): DeleteAttachmentsRequest;
|
|
845
|
+
clearAttachmentsidList(): DeleteAttachmentsRequest;
|
|
846
|
+
addAttachmentsid(value: number, index?: number): DeleteAttachmentsRequest;
|
|
847
|
+
|
|
848
|
+
serializeBinary(): Uint8Array;
|
|
849
|
+
toObject(includeInstance?: boolean): DeleteAttachmentsRequest.AsObject;
|
|
850
|
+
static toObject(includeInstance: boolean, msg: DeleteAttachmentsRequest): DeleteAttachmentsRequest.AsObject;
|
|
851
|
+
static serializeBinaryToWriter(message: DeleteAttachmentsRequest, writer: jspb.BinaryWriter): void;
|
|
852
|
+
static deserializeBinary(bytes: Uint8Array): DeleteAttachmentsRequest;
|
|
853
|
+
static deserializeBinaryFromReader(message: DeleteAttachmentsRequest, reader: jspb.BinaryReader): DeleteAttachmentsRequest;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
export namespace DeleteAttachmentsRequest {
|
|
857
|
+
export type AsObject = {
|
|
858
|
+
clientid: number,
|
|
859
|
+
attachmentsidList: Array<number>,
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export class DeleteAttachmentsResponse extends jspb.Message {
|
|
864
|
+
getResponsecode(): ResponseCode | undefined;
|
|
865
|
+
setResponsecode(value?: ResponseCode): DeleteAttachmentsResponse;
|
|
866
|
+
hasResponsecode(): boolean;
|
|
867
|
+
clearResponsecode(): DeleteAttachmentsResponse;
|
|
868
|
+
|
|
869
|
+
serializeBinary(): Uint8Array;
|
|
870
|
+
toObject(includeInstance?: boolean): DeleteAttachmentsResponse.AsObject;
|
|
871
|
+
static toObject(includeInstance: boolean, msg: DeleteAttachmentsResponse): DeleteAttachmentsResponse.AsObject;
|
|
872
|
+
static serializeBinaryToWriter(message: DeleteAttachmentsResponse, writer: jspb.BinaryWriter): void;
|
|
873
|
+
static deserializeBinary(bytes: Uint8Array): DeleteAttachmentsResponse;
|
|
874
|
+
static deserializeBinaryFromReader(message: DeleteAttachmentsResponse, reader: jspb.BinaryReader): DeleteAttachmentsResponse;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
export namespace DeleteAttachmentsResponse {
|
|
878
|
+
export type AsObject = {
|
|
879
|
+
responsecode?: ResponseCode.AsObject,
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
|
|
839
883
|
export class GetImportedBatchesInfoRequest extends jspb.Message {
|
|
840
884
|
getClientid(): number;
|
|
841
885
|
setClientid(value: number): GetImportedBatchesInfoRequest;
|
|
@@ -46,6 +46,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillResult', null, gl
|
|
|
46
46
|
goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest', null, global);
|
|
47
47
|
goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest', null, global);
|
|
48
48
|
goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsResponse', null, global);
|
|
49
|
+
goog.exportSymbol('proto.agentbillingserviceapi.DeleteAttachmentsRequest', null, global);
|
|
50
|
+
goog.exportSymbol('proto.agentbillingserviceapi.DeleteAttachmentsResponse', null, global);
|
|
49
51
|
goog.exportSymbol('proto.agentbillingserviceapi.DeleteDeliveryBatchAsClientRequest', null, global);
|
|
50
52
|
goog.exportSymbol('proto.agentbillingserviceapi.DeleteDeliveryBatchRequest', null, global);
|
|
51
53
|
goog.exportSymbol('proto.agentbillingserviceapi.DeliveryBatch', null, global);
|
|
@@ -547,6 +549,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
547
549
|
*/
|
|
548
550
|
proto.agentbillingserviceapi.AgentAttachmentsResponse.displayName = 'proto.agentbillingserviceapi.AgentAttachmentsResponse';
|
|
549
551
|
}
|
|
552
|
+
/**
|
|
553
|
+
* Generated by JsPbCodeGenerator.
|
|
554
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
555
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
556
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
557
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
558
|
+
* valid.
|
|
559
|
+
* @extends {jspb.Message}
|
|
560
|
+
* @constructor
|
|
561
|
+
*/
|
|
562
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest = function(opt_data) {
|
|
563
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.DeleteAttachmentsRequest.repeatedFields_, null);
|
|
564
|
+
};
|
|
565
|
+
goog.inherits(proto.agentbillingserviceapi.DeleteAttachmentsRequest, jspb.Message);
|
|
566
|
+
if (goog.DEBUG && !COMPILED) {
|
|
567
|
+
/**
|
|
568
|
+
* @public
|
|
569
|
+
* @override
|
|
570
|
+
*/
|
|
571
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.displayName = 'proto.agentbillingserviceapi.DeleteAttachmentsRequest';
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* Generated by JsPbCodeGenerator.
|
|
575
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
576
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
577
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
578
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
579
|
+
* valid.
|
|
580
|
+
* @extends {jspb.Message}
|
|
581
|
+
* @constructor
|
|
582
|
+
*/
|
|
583
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse = function(opt_data) {
|
|
584
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
585
|
+
};
|
|
586
|
+
goog.inherits(proto.agentbillingserviceapi.DeleteAttachmentsResponse, jspb.Message);
|
|
587
|
+
if (goog.DEBUG && !COMPILED) {
|
|
588
|
+
/**
|
|
589
|
+
* @public
|
|
590
|
+
* @override
|
|
591
|
+
*/
|
|
592
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.displayName = 'proto.agentbillingserviceapi.DeleteAttachmentsResponse';
|
|
593
|
+
}
|
|
550
594
|
/**
|
|
551
595
|
* Generated by JsPbCodeGenerator.
|
|
552
596
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -8163,6 +8207,343 @@ proto.agentbillingserviceapi.AgentAttachmentsResponse.prototype.clearAttachments
|
|
|
8163
8207
|
|
|
8164
8208
|
|
|
8165
8209
|
|
|
8210
|
+
/**
|
|
8211
|
+
* List of repeated fields within this message type.
|
|
8212
|
+
* @private {!Array<number>}
|
|
8213
|
+
* @const
|
|
8214
|
+
*/
|
|
8215
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.repeatedFields_ = [2];
|
|
8216
|
+
|
|
8217
|
+
|
|
8218
|
+
|
|
8219
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8220
|
+
/**
|
|
8221
|
+
* Creates an object representation of this proto.
|
|
8222
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8223
|
+
* Optional fields that are not set will be set to undefined.
|
|
8224
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8225
|
+
* For the list of reserved names please see:
|
|
8226
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8227
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8228
|
+
* JSPB instance for transitional soy proto support:
|
|
8229
|
+
* http://goto/soy-param-migration
|
|
8230
|
+
* @return {!Object}
|
|
8231
|
+
*/
|
|
8232
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8233
|
+
return proto.agentbillingserviceapi.DeleteAttachmentsRequest.toObject(opt_includeInstance, this);
|
|
8234
|
+
};
|
|
8235
|
+
|
|
8236
|
+
|
|
8237
|
+
/**
|
|
8238
|
+
* Static version of the {@see toObject} method.
|
|
8239
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8240
|
+
* the JSPB instance for transitional soy proto support:
|
|
8241
|
+
* http://goto/soy-param-migration
|
|
8242
|
+
* @param {!proto.agentbillingserviceapi.DeleteAttachmentsRequest} msg The msg instance to transform.
|
|
8243
|
+
* @return {!Object}
|
|
8244
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8245
|
+
*/
|
|
8246
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.toObject = function(includeInstance, msg) {
|
|
8247
|
+
var f, obj = {
|
|
8248
|
+
clientid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
8249
|
+
attachmentsidList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
8250
|
+
};
|
|
8251
|
+
|
|
8252
|
+
if (includeInstance) {
|
|
8253
|
+
obj.$jspbMessageInstance = msg;
|
|
8254
|
+
}
|
|
8255
|
+
return obj;
|
|
8256
|
+
};
|
|
8257
|
+
}
|
|
8258
|
+
|
|
8259
|
+
|
|
8260
|
+
/**
|
|
8261
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8262
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8263
|
+
* @return {!proto.agentbillingserviceapi.DeleteAttachmentsRequest}
|
|
8264
|
+
*/
|
|
8265
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.deserializeBinary = function(bytes) {
|
|
8266
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8267
|
+
var msg = new proto.agentbillingserviceapi.DeleteAttachmentsRequest;
|
|
8268
|
+
return proto.agentbillingserviceapi.DeleteAttachmentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
8269
|
+
};
|
|
8270
|
+
|
|
8271
|
+
|
|
8272
|
+
/**
|
|
8273
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8274
|
+
* given reader into the given message object.
|
|
8275
|
+
* @param {!proto.agentbillingserviceapi.DeleteAttachmentsRequest} msg The message object to deserialize into.
|
|
8276
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8277
|
+
* @return {!proto.agentbillingserviceapi.DeleteAttachmentsRequest}
|
|
8278
|
+
*/
|
|
8279
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8280
|
+
while (reader.nextField()) {
|
|
8281
|
+
if (reader.isEndGroup()) {
|
|
8282
|
+
break;
|
|
8283
|
+
}
|
|
8284
|
+
var field = reader.getFieldNumber();
|
|
8285
|
+
switch (field) {
|
|
8286
|
+
case 1:
|
|
8287
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8288
|
+
msg.setClientid(value);
|
|
8289
|
+
break;
|
|
8290
|
+
case 2:
|
|
8291
|
+
var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
|
|
8292
|
+
msg.setAttachmentsidList(value);
|
|
8293
|
+
break;
|
|
8294
|
+
default:
|
|
8295
|
+
reader.skipField();
|
|
8296
|
+
break;
|
|
8297
|
+
}
|
|
8298
|
+
}
|
|
8299
|
+
return msg;
|
|
8300
|
+
};
|
|
8301
|
+
|
|
8302
|
+
|
|
8303
|
+
/**
|
|
8304
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8305
|
+
* @return {!Uint8Array}
|
|
8306
|
+
*/
|
|
8307
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.prototype.serializeBinary = function() {
|
|
8308
|
+
var writer = new jspb.BinaryWriter();
|
|
8309
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.serializeBinaryToWriter(this, writer);
|
|
8310
|
+
return writer.getResultBuffer();
|
|
8311
|
+
};
|
|
8312
|
+
|
|
8313
|
+
|
|
8314
|
+
/**
|
|
8315
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8316
|
+
* format), writing to the given BinaryWriter.
|
|
8317
|
+
* @param {!proto.agentbillingserviceapi.DeleteAttachmentsRequest} message
|
|
8318
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8319
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8320
|
+
*/
|
|
8321
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8322
|
+
var f = undefined;
|
|
8323
|
+
f = message.getClientid();
|
|
8324
|
+
if (f !== 0) {
|
|
8325
|
+
writer.writeInt64(
|
|
8326
|
+
1,
|
|
8327
|
+
f
|
|
8328
|
+
);
|
|
8329
|
+
}
|
|
8330
|
+
f = message.getAttachmentsidList();
|
|
8331
|
+
if (f.length > 0) {
|
|
8332
|
+
writer.writePackedInt64(
|
|
8333
|
+
2,
|
|
8334
|
+
f
|
|
8335
|
+
);
|
|
8336
|
+
}
|
|
8337
|
+
};
|
|
8338
|
+
|
|
8339
|
+
|
|
8340
|
+
/**
|
|
8341
|
+
* optional int64 clientId = 1;
|
|
8342
|
+
* @return {number}
|
|
8343
|
+
*/
|
|
8344
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.prototype.getClientid = function() {
|
|
8345
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
8346
|
+
};
|
|
8347
|
+
|
|
8348
|
+
|
|
8349
|
+
/**
|
|
8350
|
+
* @param {number} value
|
|
8351
|
+
* @return {!proto.agentbillingserviceapi.DeleteAttachmentsRequest} returns this
|
|
8352
|
+
*/
|
|
8353
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.prototype.setClientid = function(value) {
|
|
8354
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
8355
|
+
};
|
|
8356
|
+
|
|
8357
|
+
|
|
8358
|
+
/**
|
|
8359
|
+
* repeated int64 attachmentsId = 2;
|
|
8360
|
+
* @return {!Array<number>}
|
|
8361
|
+
*/
|
|
8362
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.prototype.getAttachmentsidList = function() {
|
|
8363
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
8364
|
+
};
|
|
8365
|
+
|
|
8366
|
+
|
|
8367
|
+
/**
|
|
8368
|
+
* @param {!Array<number>} value
|
|
8369
|
+
* @return {!proto.agentbillingserviceapi.DeleteAttachmentsRequest} returns this
|
|
8370
|
+
*/
|
|
8371
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.prototype.setAttachmentsidList = function(value) {
|
|
8372
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
8373
|
+
};
|
|
8374
|
+
|
|
8375
|
+
|
|
8376
|
+
/**
|
|
8377
|
+
* @param {number} value
|
|
8378
|
+
* @param {number=} opt_index
|
|
8379
|
+
* @return {!proto.agentbillingserviceapi.DeleteAttachmentsRequest} returns this
|
|
8380
|
+
*/
|
|
8381
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.prototype.addAttachmentsid = function(value, opt_index) {
|
|
8382
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
8383
|
+
};
|
|
8384
|
+
|
|
8385
|
+
|
|
8386
|
+
/**
|
|
8387
|
+
* Clears the list making it empty but non-null.
|
|
8388
|
+
* @return {!proto.agentbillingserviceapi.DeleteAttachmentsRequest} returns this
|
|
8389
|
+
*/
|
|
8390
|
+
proto.agentbillingserviceapi.DeleteAttachmentsRequest.prototype.clearAttachmentsidList = function() {
|
|
8391
|
+
return this.setAttachmentsidList([]);
|
|
8392
|
+
};
|
|
8393
|
+
|
|
8394
|
+
|
|
8395
|
+
|
|
8396
|
+
|
|
8397
|
+
|
|
8398
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8399
|
+
/**
|
|
8400
|
+
* Creates an object representation of this proto.
|
|
8401
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8402
|
+
* Optional fields that are not set will be set to undefined.
|
|
8403
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8404
|
+
* For the list of reserved names please see:
|
|
8405
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8406
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8407
|
+
* JSPB instance for transitional soy proto support:
|
|
8408
|
+
* http://goto/soy-param-migration
|
|
8409
|
+
* @return {!Object}
|
|
8410
|
+
*/
|
|
8411
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8412
|
+
return proto.agentbillingserviceapi.DeleteAttachmentsResponse.toObject(opt_includeInstance, this);
|
|
8413
|
+
};
|
|
8414
|
+
|
|
8415
|
+
|
|
8416
|
+
/**
|
|
8417
|
+
* Static version of the {@see toObject} method.
|
|
8418
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8419
|
+
* the JSPB instance for transitional soy proto support:
|
|
8420
|
+
* http://goto/soy-param-migration
|
|
8421
|
+
* @param {!proto.agentbillingserviceapi.DeleteAttachmentsResponse} msg The msg instance to transform.
|
|
8422
|
+
* @return {!Object}
|
|
8423
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8424
|
+
*/
|
|
8425
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.toObject = function(includeInstance, msg) {
|
|
8426
|
+
var f, obj = {
|
|
8427
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f)
|
|
8428
|
+
};
|
|
8429
|
+
|
|
8430
|
+
if (includeInstance) {
|
|
8431
|
+
obj.$jspbMessageInstance = msg;
|
|
8432
|
+
}
|
|
8433
|
+
return obj;
|
|
8434
|
+
};
|
|
8435
|
+
}
|
|
8436
|
+
|
|
8437
|
+
|
|
8438
|
+
/**
|
|
8439
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8440
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8441
|
+
* @return {!proto.agentbillingserviceapi.DeleteAttachmentsResponse}
|
|
8442
|
+
*/
|
|
8443
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.deserializeBinary = function(bytes) {
|
|
8444
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8445
|
+
var msg = new proto.agentbillingserviceapi.DeleteAttachmentsResponse;
|
|
8446
|
+
return proto.agentbillingserviceapi.DeleteAttachmentsResponse.deserializeBinaryFromReader(msg, reader);
|
|
8447
|
+
};
|
|
8448
|
+
|
|
8449
|
+
|
|
8450
|
+
/**
|
|
8451
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8452
|
+
* given reader into the given message object.
|
|
8453
|
+
* @param {!proto.agentbillingserviceapi.DeleteAttachmentsResponse} msg The message object to deserialize into.
|
|
8454
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8455
|
+
* @return {!proto.agentbillingserviceapi.DeleteAttachmentsResponse}
|
|
8456
|
+
*/
|
|
8457
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8458
|
+
while (reader.nextField()) {
|
|
8459
|
+
if (reader.isEndGroup()) {
|
|
8460
|
+
break;
|
|
8461
|
+
}
|
|
8462
|
+
var field = reader.getFieldNumber();
|
|
8463
|
+
switch (field) {
|
|
8464
|
+
case 1:
|
|
8465
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
8466
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
8467
|
+
msg.setResponsecode(value);
|
|
8468
|
+
break;
|
|
8469
|
+
default:
|
|
8470
|
+
reader.skipField();
|
|
8471
|
+
break;
|
|
8472
|
+
}
|
|
8473
|
+
}
|
|
8474
|
+
return msg;
|
|
8475
|
+
};
|
|
8476
|
+
|
|
8477
|
+
|
|
8478
|
+
/**
|
|
8479
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8480
|
+
* @return {!Uint8Array}
|
|
8481
|
+
*/
|
|
8482
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.prototype.serializeBinary = function() {
|
|
8483
|
+
var writer = new jspb.BinaryWriter();
|
|
8484
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.serializeBinaryToWriter(this, writer);
|
|
8485
|
+
return writer.getResultBuffer();
|
|
8486
|
+
};
|
|
8487
|
+
|
|
8488
|
+
|
|
8489
|
+
/**
|
|
8490
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8491
|
+
* format), writing to the given BinaryWriter.
|
|
8492
|
+
* @param {!proto.agentbillingserviceapi.DeleteAttachmentsResponse} message
|
|
8493
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8494
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8495
|
+
*/
|
|
8496
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8497
|
+
var f = undefined;
|
|
8498
|
+
f = message.getResponsecode();
|
|
8499
|
+
if (f != null) {
|
|
8500
|
+
writer.writeMessage(
|
|
8501
|
+
1,
|
|
8502
|
+
f,
|
|
8503
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
8504
|
+
);
|
|
8505
|
+
}
|
|
8506
|
+
};
|
|
8507
|
+
|
|
8508
|
+
|
|
8509
|
+
/**
|
|
8510
|
+
* optional ResponseCode responseCode = 1;
|
|
8511
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
8512
|
+
*/
|
|
8513
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.prototype.getResponsecode = function() {
|
|
8514
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
8515
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
8516
|
+
};
|
|
8517
|
+
|
|
8518
|
+
|
|
8519
|
+
/**
|
|
8520
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
8521
|
+
* @return {!proto.agentbillingserviceapi.DeleteAttachmentsResponse} returns this
|
|
8522
|
+
*/
|
|
8523
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.prototype.setResponsecode = function(value) {
|
|
8524
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
8525
|
+
};
|
|
8526
|
+
|
|
8527
|
+
|
|
8528
|
+
/**
|
|
8529
|
+
* Clears the message field making it undefined.
|
|
8530
|
+
* @return {!proto.agentbillingserviceapi.DeleteAttachmentsResponse} returns this
|
|
8531
|
+
*/
|
|
8532
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.prototype.clearResponsecode = function() {
|
|
8533
|
+
return this.setResponsecode(undefined);
|
|
8534
|
+
};
|
|
8535
|
+
|
|
8536
|
+
|
|
8537
|
+
/**
|
|
8538
|
+
* Returns whether this field is set.
|
|
8539
|
+
* @return {boolean}
|
|
8540
|
+
*/
|
|
8541
|
+
proto.agentbillingserviceapi.DeleteAttachmentsResponse.prototype.hasResponsecode = function() {
|
|
8542
|
+
return jspb.Message.getField(this, 1) != null;
|
|
8543
|
+
};
|
|
8544
|
+
|
|
8545
|
+
|
|
8546
|
+
|
|
8166
8547
|
|
|
8167
8548
|
|
|
8168
8549
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|