@sniipwebmaster/agent-billing-client-grpcweb-ts 26.11.5439 → 26.12.5473
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.
|
@@ -2686,6 +2686,49 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
2686
2686
|
this.methodDescriptorGetUserRelationships);
|
|
2687
2687
|
}
|
|
2688
2688
|
|
|
2689
|
+
methodDescriptorCheckAgentClientConnection = new grpcWeb.MethodDescriptor(
|
|
2690
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/CheckAgentClientConnection',
|
|
2691
|
+
grpcWeb.MethodType.UNARY,
|
|
2692
|
+
service_pb.CheckAgentClientConnectionRequest,
|
|
2693
|
+
service_pb.CheckAgentClientConnectionResponse,
|
|
2694
|
+
(request: service_pb.CheckAgentClientConnectionRequest) => {
|
|
2695
|
+
return request.serializeBinary();
|
|
2696
|
+
},
|
|
2697
|
+
service_pb.CheckAgentClientConnectionResponse.deserializeBinary
|
|
2698
|
+
);
|
|
2699
|
+
|
|
2700
|
+
checkAgentClientConnection(
|
|
2701
|
+
request: service_pb.CheckAgentClientConnectionRequest,
|
|
2702
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.CheckAgentClientConnectionResponse>;
|
|
2703
|
+
|
|
2704
|
+
checkAgentClientConnection(
|
|
2705
|
+
request: service_pb.CheckAgentClientConnectionRequest,
|
|
2706
|
+
metadata: grpcWeb.Metadata | null,
|
|
2707
|
+
callback: (err: grpcWeb.RpcError,
|
|
2708
|
+
response: service_pb.CheckAgentClientConnectionResponse) => void): grpcWeb.ClientReadableStream<service_pb.CheckAgentClientConnectionResponse>;
|
|
2709
|
+
|
|
2710
|
+
checkAgentClientConnection(
|
|
2711
|
+
request: service_pb.CheckAgentClientConnectionRequest,
|
|
2712
|
+
metadata?: grpcWeb.Metadata | null,
|
|
2713
|
+
callback?: (err: grpcWeb.RpcError,
|
|
2714
|
+
response: service_pb.CheckAgentClientConnectionResponse) => void) {
|
|
2715
|
+
if (callback !== undefined) {
|
|
2716
|
+
return this.client_.rpcCall(
|
|
2717
|
+
this.hostname_ +
|
|
2718
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/CheckAgentClientConnection',
|
|
2719
|
+
request,
|
|
2720
|
+
metadata || {},
|
|
2721
|
+
this.methodDescriptorCheckAgentClientConnection,
|
|
2722
|
+
callback);
|
|
2723
|
+
}
|
|
2724
|
+
return this.client_.unaryCall(
|
|
2725
|
+
this.hostname_ +
|
|
2726
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/CheckAgentClientConnection',
|
|
2727
|
+
request,
|
|
2728
|
+
metadata || {},
|
|
2729
|
+
this.methodDescriptorCheckAgentClientConnection);
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2689
2732
|
methodDescriptorGetClientDeliveryBatchTypes = new grpcWeb.MethodDescriptor(
|
|
2690
2733
|
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetClientDeliveryBatchTypes',
|
|
2691
2734
|
grpcWeb.MethodType.UNARY,
|
|
@@ -4169,6 +4169,52 @@ export namespace GetUserRelationshipsResponse {
|
|
|
4169
4169
|
}
|
|
4170
4170
|
}
|
|
4171
4171
|
|
|
4172
|
+
export class CheckAgentClientConnectionRequest extends jspb.Message {
|
|
4173
|
+
getAgentuserid(): number;
|
|
4174
|
+
setAgentuserid(value: number): CheckAgentClientConnectionRequest;
|
|
4175
|
+
|
|
4176
|
+
getClientuserid(): number;
|
|
4177
|
+
setClientuserid(value: number): CheckAgentClientConnectionRequest;
|
|
4178
|
+
|
|
4179
|
+
serializeBinary(): Uint8Array;
|
|
4180
|
+
toObject(includeInstance?: boolean): CheckAgentClientConnectionRequest.AsObject;
|
|
4181
|
+
static toObject(includeInstance: boolean, msg: CheckAgentClientConnectionRequest): CheckAgentClientConnectionRequest.AsObject;
|
|
4182
|
+
static serializeBinaryToWriter(message: CheckAgentClientConnectionRequest, writer: jspb.BinaryWriter): void;
|
|
4183
|
+
static deserializeBinary(bytes: Uint8Array): CheckAgentClientConnectionRequest;
|
|
4184
|
+
static deserializeBinaryFromReader(message: CheckAgentClientConnectionRequest, reader: jspb.BinaryReader): CheckAgentClientConnectionRequest;
|
|
4185
|
+
}
|
|
4186
|
+
|
|
4187
|
+
export namespace CheckAgentClientConnectionRequest {
|
|
4188
|
+
export type AsObject = {
|
|
4189
|
+
agentuserid: number,
|
|
4190
|
+
clientuserid: number,
|
|
4191
|
+
}
|
|
4192
|
+
}
|
|
4193
|
+
|
|
4194
|
+
export class CheckAgentClientConnectionResponse extends jspb.Message {
|
|
4195
|
+
getResponsecode(): ResponseCode | undefined;
|
|
4196
|
+
setResponsecode(value?: ResponseCode): CheckAgentClientConnectionResponse;
|
|
4197
|
+
hasResponsecode(): boolean;
|
|
4198
|
+
clearResponsecode(): CheckAgentClientConnectionResponse;
|
|
4199
|
+
|
|
4200
|
+
getConnected(): boolean;
|
|
4201
|
+
setConnected(value: boolean): CheckAgentClientConnectionResponse;
|
|
4202
|
+
|
|
4203
|
+
serializeBinary(): Uint8Array;
|
|
4204
|
+
toObject(includeInstance?: boolean): CheckAgentClientConnectionResponse.AsObject;
|
|
4205
|
+
static toObject(includeInstance: boolean, msg: CheckAgentClientConnectionResponse): CheckAgentClientConnectionResponse.AsObject;
|
|
4206
|
+
static serializeBinaryToWriter(message: CheckAgentClientConnectionResponse, writer: jspb.BinaryWriter): void;
|
|
4207
|
+
static deserializeBinary(bytes: Uint8Array): CheckAgentClientConnectionResponse;
|
|
4208
|
+
static deserializeBinaryFromReader(message: CheckAgentClientConnectionResponse, reader: jspb.BinaryReader): CheckAgentClientConnectionResponse;
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4211
|
+
export namespace CheckAgentClientConnectionResponse {
|
|
4212
|
+
export type AsObject = {
|
|
4213
|
+
responsecode?: ResponseCode.AsObject,
|
|
4214
|
+
connected: boolean,
|
|
4215
|
+
}
|
|
4216
|
+
}
|
|
4217
|
+
|
|
4172
4218
|
export enum BillScanType {
|
|
4173
4219
|
SNIIP = 0,
|
|
4174
4220
|
BPAY = 1,
|
|
@@ -38,6 +38,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.BillConfig', null, global);
|
|
|
38
38
|
goog.exportSymbol('proto.agentbillingserviceapi.BillConfigRequest', null, global);
|
|
39
39
|
goog.exportSymbol('proto.agentbillingserviceapi.BillScanType', null, global);
|
|
40
40
|
goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null, global);
|
|
41
|
+
goog.exportSymbol('proto.agentbillingserviceapi.CheckAgentClientConnectionRequest', null, global);
|
|
42
|
+
goog.exportSymbol('proto.agentbillingserviceapi.CheckAgentClientConnectionResponse', null, global);
|
|
41
43
|
goog.exportSymbol('proto.agentbillingserviceapi.CheckConnectionRequest', null, global);
|
|
42
44
|
goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
|
|
43
45
|
goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
|
|
@@ -2688,6 +2690,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2688
2690
|
*/
|
|
2689
2691
|
proto.agentbillingserviceapi.GetUserRelationshipsResponse.displayName = 'proto.agentbillingserviceapi.GetUserRelationshipsResponse';
|
|
2690
2692
|
}
|
|
2693
|
+
/**
|
|
2694
|
+
* Generated by JsPbCodeGenerator.
|
|
2695
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2696
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2697
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2698
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2699
|
+
* valid.
|
|
2700
|
+
* @extends {jspb.Message}
|
|
2701
|
+
* @constructor
|
|
2702
|
+
*/
|
|
2703
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest = function(opt_data) {
|
|
2704
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2705
|
+
};
|
|
2706
|
+
goog.inherits(proto.agentbillingserviceapi.CheckAgentClientConnectionRequest, jspb.Message);
|
|
2707
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2708
|
+
/**
|
|
2709
|
+
* @public
|
|
2710
|
+
* @override
|
|
2711
|
+
*/
|
|
2712
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.displayName = 'proto.agentbillingserviceapi.CheckAgentClientConnectionRequest';
|
|
2713
|
+
}
|
|
2714
|
+
/**
|
|
2715
|
+
* Generated by JsPbCodeGenerator.
|
|
2716
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2717
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2718
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2719
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2720
|
+
* valid.
|
|
2721
|
+
* @extends {jspb.Message}
|
|
2722
|
+
* @constructor
|
|
2723
|
+
*/
|
|
2724
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse = function(opt_data) {
|
|
2725
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2726
|
+
};
|
|
2727
|
+
goog.inherits(proto.agentbillingserviceapi.CheckAgentClientConnectionResponse, jspb.Message);
|
|
2728
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2729
|
+
/**
|
|
2730
|
+
* @public
|
|
2731
|
+
* @override
|
|
2732
|
+
*/
|
|
2733
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.displayName = 'proto.agentbillingserviceapi.CheckAgentClientConnectionResponse';
|
|
2734
|
+
}
|
|
2691
2735
|
|
|
2692
2736
|
|
|
2693
2737
|
|
|
@@ -34003,6 +34047,347 @@ proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.clearClients
|
|
|
34003
34047
|
};
|
|
34004
34048
|
|
|
34005
34049
|
|
|
34050
|
+
|
|
34051
|
+
|
|
34052
|
+
|
|
34053
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
34054
|
+
/**
|
|
34055
|
+
* Creates an object representation of this proto.
|
|
34056
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
34057
|
+
* Optional fields that are not set will be set to undefined.
|
|
34058
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
34059
|
+
* For the list of reserved names please see:
|
|
34060
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
34061
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
34062
|
+
* JSPB instance for transitional soy proto support:
|
|
34063
|
+
* http://goto/soy-param-migration
|
|
34064
|
+
* @return {!Object}
|
|
34065
|
+
*/
|
|
34066
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
34067
|
+
return proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.toObject(opt_includeInstance, this);
|
|
34068
|
+
};
|
|
34069
|
+
|
|
34070
|
+
|
|
34071
|
+
/**
|
|
34072
|
+
* Static version of the {@see toObject} method.
|
|
34073
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
34074
|
+
* the JSPB instance for transitional soy proto support:
|
|
34075
|
+
* http://goto/soy-param-migration
|
|
34076
|
+
* @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} msg The msg instance to transform.
|
|
34077
|
+
* @return {!Object}
|
|
34078
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34079
|
+
*/
|
|
34080
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.toObject = function(includeInstance, msg) {
|
|
34081
|
+
var f, obj = {
|
|
34082
|
+
agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
34083
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
34084
|
+
};
|
|
34085
|
+
|
|
34086
|
+
if (includeInstance) {
|
|
34087
|
+
obj.$jspbMessageInstance = msg;
|
|
34088
|
+
}
|
|
34089
|
+
return obj;
|
|
34090
|
+
};
|
|
34091
|
+
}
|
|
34092
|
+
|
|
34093
|
+
|
|
34094
|
+
/**
|
|
34095
|
+
* Deserializes binary data (in protobuf wire format).
|
|
34096
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
34097
|
+
* @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest}
|
|
34098
|
+
*/
|
|
34099
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.deserializeBinary = function(bytes) {
|
|
34100
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
34101
|
+
var msg = new proto.agentbillingserviceapi.CheckAgentClientConnectionRequest;
|
|
34102
|
+
return proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.deserializeBinaryFromReader(msg, reader);
|
|
34103
|
+
};
|
|
34104
|
+
|
|
34105
|
+
|
|
34106
|
+
/**
|
|
34107
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
34108
|
+
* given reader into the given message object.
|
|
34109
|
+
* @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} msg The message object to deserialize into.
|
|
34110
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
34111
|
+
* @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest}
|
|
34112
|
+
*/
|
|
34113
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
34114
|
+
while (reader.nextField()) {
|
|
34115
|
+
if (reader.isEndGroup()) {
|
|
34116
|
+
break;
|
|
34117
|
+
}
|
|
34118
|
+
var field = reader.getFieldNumber();
|
|
34119
|
+
switch (field) {
|
|
34120
|
+
case 1:
|
|
34121
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
34122
|
+
msg.setAgentuserid(value);
|
|
34123
|
+
break;
|
|
34124
|
+
case 2:
|
|
34125
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
34126
|
+
msg.setClientuserid(value);
|
|
34127
|
+
break;
|
|
34128
|
+
default:
|
|
34129
|
+
reader.skipField();
|
|
34130
|
+
break;
|
|
34131
|
+
}
|
|
34132
|
+
}
|
|
34133
|
+
return msg;
|
|
34134
|
+
};
|
|
34135
|
+
|
|
34136
|
+
|
|
34137
|
+
/**
|
|
34138
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
34139
|
+
* @return {!Uint8Array}
|
|
34140
|
+
*/
|
|
34141
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.serializeBinary = function() {
|
|
34142
|
+
var writer = new jspb.BinaryWriter();
|
|
34143
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.serializeBinaryToWriter(this, writer);
|
|
34144
|
+
return writer.getResultBuffer();
|
|
34145
|
+
};
|
|
34146
|
+
|
|
34147
|
+
|
|
34148
|
+
/**
|
|
34149
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
34150
|
+
* format), writing to the given BinaryWriter.
|
|
34151
|
+
* @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} message
|
|
34152
|
+
* @param {!jspb.BinaryWriter} writer
|
|
34153
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34154
|
+
*/
|
|
34155
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
34156
|
+
var f = undefined;
|
|
34157
|
+
f = message.getAgentuserid();
|
|
34158
|
+
if (f !== 0) {
|
|
34159
|
+
writer.writeInt64(
|
|
34160
|
+
1,
|
|
34161
|
+
f
|
|
34162
|
+
);
|
|
34163
|
+
}
|
|
34164
|
+
f = message.getClientuserid();
|
|
34165
|
+
if (f !== 0) {
|
|
34166
|
+
writer.writeInt64(
|
|
34167
|
+
2,
|
|
34168
|
+
f
|
|
34169
|
+
);
|
|
34170
|
+
}
|
|
34171
|
+
};
|
|
34172
|
+
|
|
34173
|
+
|
|
34174
|
+
/**
|
|
34175
|
+
* optional int64 agentUserId = 1;
|
|
34176
|
+
* @return {number}
|
|
34177
|
+
*/
|
|
34178
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.getAgentuserid = function() {
|
|
34179
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
34180
|
+
};
|
|
34181
|
+
|
|
34182
|
+
|
|
34183
|
+
/**
|
|
34184
|
+
* @param {number} value
|
|
34185
|
+
* @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} returns this
|
|
34186
|
+
*/
|
|
34187
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.setAgentuserid = function(value) {
|
|
34188
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
34189
|
+
};
|
|
34190
|
+
|
|
34191
|
+
|
|
34192
|
+
/**
|
|
34193
|
+
* optional int64 clientUserId = 2;
|
|
34194
|
+
* @return {number}
|
|
34195
|
+
*/
|
|
34196
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.getClientuserid = function() {
|
|
34197
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
34198
|
+
};
|
|
34199
|
+
|
|
34200
|
+
|
|
34201
|
+
/**
|
|
34202
|
+
* @param {number} value
|
|
34203
|
+
* @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} returns this
|
|
34204
|
+
*/
|
|
34205
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.setClientuserid = function(value) {
|
|
34206
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
34207
|
+
};
|
|
34208
|
+
|
|
34209
|
+
|
|
34210
|
+
|
|
34211
|
+
|
|
34212
|
+
|
|
34213
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
34214
|
+
/**
|
|
34215
|
+
* Creates an object representation of this proto.
|
|
34216
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
34217
|
+
* Optional fields that are not set will be set to undefined.
|
|
34218
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
34219
|
+
* For the list of reserved names please see:
|
|
34220
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
34221
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
34222
|
+
* JSPB instance for transitional soy proto support:
|
|
34223
|
+
* http://goto/soy-param-migration
|
|
34224
|
+
* @return {!Object}
|
|
34225
|
+
*/
|
|
34226
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
34227
|
+
return proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.toObject(opt_includeInstance, this);
|
|
34228
|
+
};
|
|
34229
|
+
|
|
34230
|
+
|
|
34231
|
+
/**
|
|
34232
|
+
* Static version of the {@see toObject} method.
|
|
34233
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
34234
|
+
* the JSPB instance for transitional soy proto support:
|
|
34235
|
+
* http://goto/soy-param-migration
|
|
34236
|
+
* @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} msg The msg instance to transform.
|
|
34237
|
+
* @return {!Object}
|
|
34238
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34239
|
+
*/
|
|
34240
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.toObject = function(includeInstance, msg) {
|
|
34241
|
+
var f, obj = {
|
|
34242
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
34243
|
+
connected: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
34244
|
+
};
|
|
34245
|
+
|
|
34246
|
+
if (includeInstance) {
|
|
34247
|
+
obj.$jspbMessageInstance = msg;
|
|
34248
|
+
}
|
|
34249
|
+
return obj;
|
|
34250
|
+
};
|
|
34251
|
+
}
|
|
34252
|
+
|
|
34253
|
+
|
|
34254
|
+
/**
|
|
34255
|
+
* Deserializes binary data (in protobuf wire format).
|
|
34256
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
34257
|
+
* @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse}
|
|
34258
|
+
*/
|
|
34259
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.deserializeBinary = function(bytes) {
|
|
34260
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
34261
|
+
var msg = new proto.agentbillingserviceapi.CheckAgentClientConnectionResponse;
|
|
34262
|
+
return proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.deserializeBinaryFromReader(msg, reader);
|
|
34263
|
+
};
|
|
34264
|
+
|
|
34265
|
+
|
|
34266
|
+
/**
|
|
34267
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
34268
|
+
* given reader into the given message object.
|
|
34269
|
+
* @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} msg The message object to deserialize into.
|
|
34270
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
34271
|
+
* @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse}
|
|
34272
|
+
*/
|
|
34273
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
34274
|
+
while (reader.nextField()) {
|
|
34275
|
+
if (reader.isEndGroup()) {
|
|
34276
|
+
break;
|
|
34277
|
+
}
|
|
34278
|
+
var field = reader.getFieldNumber();
|
|
34279
|
+
switch (field) {
|
|
34280
|
+
case 1:
|
|
34281
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
34282
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
34283
|
+
msg.setResponsecode(value);
|
|
34284
|
+
break;
|
|
34285
|
+
case 2:
|
|
34286
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
34287
|
+
msg.setConnected(value);
|
|
34288
|
+
break;
|
|
34289
|
+
default:
|
|
34290
|
+
reader.skipField();
|
|
34291
|
+
break;
|
|
34292
|
+
}
|
|
34293
|
+
}
|
|
34294
|
+
return msg;
|
|
34295
|
+
};
|
|
34296
|
+
|
|
34297
|
+
|
|
34298
|
+
/**
|
|
34299
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
34300
|
+
* @return {!Uint8Array}
|
|
34301
|
+
*/
|
|
34302
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.serializeBinary = function() {
|
|
34303
|
+
var writer = new jspb.BinaryWriter();
|
|
34304
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.serializeBinaryToWriter(this, writer);
|
|
34305
|
+
return writer.getResultBuffer();
|
|
34306
|
+
};
|
|
34307
|
+
|
|
34308
|
+
|
|
34309
|
+
/**
|
|
34310
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
34311
|
+
* format), writing to the given BinaryWriter.
|
|
34312
|
+
* @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} message
|
|
34313
|
+
* @param {!jspb.BinaryWriter} writer
|
|
34314
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34315
|
+
*/
|
|
34316
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
34317
|
+
var f = undefined;
|
|
34318
|
+
f = message.getResponsecode();
|
|
34319
|
+
if (f != null) {
|
|
34320
|
+
writer.writeMessage(
|
|
34321
|
+
1,
|
|
34322
|
+
f,
|
|
34323
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
34324
|
+
);
|
|
34325
|
+
}
|
|
34326
|
+
f = message.getConnected();
|
|
34327
|
+
if (f) {
|
|
34328
|
+
writer.writeBool(
|
|
34329
|
+
2,
|
|
34330
|
+
f
|
|
34331
|
+
);
|
|
34332
|
+
}
|
|
34333
|
+
};
|
|
34334
|
+
|
|
34335
|
+
|
|
34336
|
+
/**
|
|
34337
|
+
* optional ResponseCode responseCode = 1;
|
|
34338
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
34339
|
+
*/
|
|
34340
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.getResponsecode = function() {
|
|
34341
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
34342
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
34343
|
+
};
|
|
34344
|
+
|
|
34345
|
+
|
|
34346
|
+
/**
|
|
34347
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
34348
|
+
* @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} returns this
|
|
34349
|
+
*/
|
|
34350
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.setResponsecode = function(value) {
|
|
34351
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
34352
|
+
};
|
|
34353
|
+
|
|
34354
|
+
|
|
34355
|
+
/**
|
|
34356
|
+
* Clears the message field making it undefined.
|
|
34357
|
+
* @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} returns this
|
|
34358
|
+
*/
|
|
34359
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.clearResponsecode = function() {
|
|
34360
|
+
return this.setResponsecode(undefined);
|
|
34361
|
+
};
|
|
34362
|
+
|
|
34363
|
+
|
|
34364
|
+
/**
|
|
34365
|
+
* Returns whether this field is set.
|
|
34366
|
+
* @return {boolean}
|
|
34367
|
+
*/
|
|
34368
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.hasResponsecode = function() {
|
|
34369
|
+
return jspb.Message.getField(this, 1) != null;
|
|
34370
|
+
};
|
|
34371
|
+
|
|
34372
|
+
|
|
34373
|
+
/**
|
|
34374
|
+
* optional bool connected = 2;
|
|
34375
|
+
* @return {boolean}
|
|
34376
|
+
*/
|
|
34377
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.getConnected = function() {
|
|
34378
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
34379
|
+
};
|
|
34380
|
+
|
|
34381
|
+
|
|
34382
|
+
/**
|
|
34383
|
+
* @param {boolean} value
|
|
34384
|
+
* @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} returns this
|
|
34385
|
+
*/
|
|
34386
|
+
proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.setConnected = function(value) {
|
|
34387
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
34388
|
+
};
|
|
34389
|
+
|
|
34390
|
+
|
|
34006
34391
|
/**
|
|
34007
34392
|
* @enum {number}
|
|
34008
34393
|
*/
|