@sniipwebmaster/user-service-client-grpcweb-ts 26.8.14767 → 26.8.14791
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.
|
@@ -6877,5 +6877,91 @@ export class SniipUserServiceServiceClient {
|
|
|
6877
6877
|
this.methodDescriptorRedeemCapabilityToken);
|
|
6878
6878
|
}
|
|
6879
6879
|
|
|
6880
|
+
methodDescriptorMintBillReadToken = new grpcWeb.MethodDescriptor(
|
|
6881
|
+
'/sniipuserservice.SniipUserServiceService/MintBillReadToken',
|
|
6882
|
+
grpcWeb.MethodType.UNARY,
|
|
6883
|
+
service_pb.MintBillReadTokenRequest,
|
|
6884
|
+
service_pb.MintBillReadTokenResponse,
|
|
6885
|
+
(request: service_pb.MintBillReadTokenRequest) => {
|
|
6886
|
+
return request.serializeBinary();
|
|
6887
|
+
},
|
|
6888
|
+
service_pb.MintBillReadTokenResponse.deserializeBinary
|
|
6889
|
+
);
|
|
6890
|
+
|
|
6891
|
+
mintBillReadToken(
|
|
6892
|
+
request: service_pb.MintBillReadTokenRequest,
|
|
6893
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.MintBillReadTokenResponse>;
|
|
6894
|
+
|
|
6895
|
+
mintBillReadToken(
|
|
6896
|
+
request: service_pb.MintBillReadTokenRequest,
|
|
6897
|
+
metadata: grpcWeb.Metadata | null,
|
|
6898
|
+
callback: (err: grpcWeb.RpcError,
|
|
6899
|
+
response: service_pb.MintBillReadTokenResponse) => void): grpcWeb.ClientReadableStream<service_pb.MintBillReadTokenResponse>;
|
|
6900
|
+
|
|
6901
|
+
mintBillReadToken(
|
|
6902
|
+
request: service_pb.MintBillReadTokenRequest,
|
|
6903
|
+
metadata?: grpcWeb.Metadata | null,
|
|
6904
|
+
callback?: (err: grpcWeb.RpcError,
|
|
6905
|
+
response: service_pb.MintBillReadTokenResponse) => void) {
|
|
6906
|
+
if (callback !== undefined) {
|
|
6907
|
+
return this.client_.rpcCall(
|
|
6908
|
+
this.hostname_ +
|
|
6909
|
+
'/sniipuserservice.SniipUserServiceService/MintBillReadToken',
|
|
6910
|
+
request,
|
|
6911
|
+
metadata || {},
|
|
6912
|
+
this.methodDescriptorMintBillReadToken,
|
|
6913
|
+
callback);
|
|
6914
|
+
}
|
|
6915
|
+
return this.client_.unaryCall(
|
|
6916
|
+
this.hostname_ +
|
|
6917
|
+
'/sniipuserservice.SniipUserServiceService/MintBillReadToken',
|
|
6918
|
+
request,
|
|
6919
|
+
metadata || {},
|
|
6920
|
+
this.methodDescriptorMintBillReadToken);
|
|
6921
|
+
}
|
|
6922
|
+
|
|
6923
|
+
methodDescriptorValidateBillReadToken = new grpcWeb.MethodDescriptor(
|
|
6924
|
+
'/sniipuserservice.SniipUserServiceService/ValidateBillReadToken',
|
|
6925
|
+
grpcWeb.MethodType.UNARY,
|
|
6926
|
+
service_pb.ValidateBillReadTokenRequest,
|
|
6927
|
+
service_pb.ValidateBillReadTokenResponse,
|
|
6928
|
+
(request: service_pb.ValidateBillReadTokenRequest) => {
|
|
6929
|
+
return request.serializeBinary();
|
|
6930
|
+
},
|
|
6931
|
+
service_pb.ValidateBillReadTokenResponse.deserializeBinary
|
|
6932
|
+
);
|
|
6933
|
+
|
|
6934
|
+
validateBillReadToken(
|
|
6935
|
+
request: service_pb.ValidateBillReadTokenRequest,
|
|
6936
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.ValidateBillReadTokenResponse>;
|
|
6937
|
+
|
|
6938
|
+
validateBillReadToken(
|
|
6939
|
+
request: service_pb.ValidateBillReadTokenRequest,
|
|
6940
|
+
metadata: grpcWeb.Metadata | null,
|
|
6941
|
+
callback: (err: grpcWeb.RpcError,
|
|
6942
|
+
response: service_pb.ValidateBillReadTokenResponse) => void): grpcWeb.ClientReadableStream<service_pb.ValidateBillReadTokenResponse>;
|
|
6943
|
+
|
|
6944
|
+
validateBillReadToken(
|
|
6945
|
+
request: service_pb.ValidateBillReadTokenRequest,
|
|
6946
|
+
metadata?: grpcWeb.Metadata | null,
|
|
6947
|
+
callback?: (err: grpcWeb.RpcError,
|
|
6948
|
+
response: service_pb.ValidateBillReadTokenResponse) => void) {
|
|
6949
|
+
if (callback !== undefined) {
|
|
6950
|
+
return this.client_.rpcCall(
|
|
6951
|
+
this.hostname_ +
|
|
6952
|
+
'/sniipuserservice.SniipUserServiceService/ValidateBillReadToken',
|
|
6953
|
+
request,
|
|
6954
|
+
metadata || {},
|
|
6955
|
+
this.methodDescriptorValidateBillReadToken,
|
|
6956
|
+
callback);
|
|
6957
|
+
}
|
|
6958
|
+
return this.client_.unaryCall(
|
|
6959
|
+
this.hostname_ +
|
|
6960
|
+
'/sniipuserservice.SniipUserServiceService/ValidateBillReadToken',
|
|
6961
|
+
request,
|
|
6962
|
+
metadata || {},
|
|
6963
|
+
this.methodDescriptorValidateBillReadToken);
|
|
6964
|
+
}
|
|
6965
|
+
|
|
6880
6966
|
}
|
|
6881
6967
|
|
|
@@ -6885,6 +6885,82 @@ export namespace RedeemCapabilityTokenResponse {
|
|
|
6885
6885
|
}
|
|
6886
6886
|
}
|
|
6887
6887
|
|
|
6888
|
+
export class MintBillReadTokenRequest extends jspb.Message {
|
|
6889
|
+
getBillid(): number;
|
|
6890
|
+
setBillid(value: number): MintBillReadTokenRequest;
|
|
6891
|
+
|
|
6892
|
+
serializeBinary(): Uint8Array;
|
|
6893
|
+
toObject(includeInstance?: boolean): MintBillReadTokenRequest.AsObject;
|
|
6894
|
+
static toObject(includeInstance: boolean, msg: MintBillReadTokenRequest): MintBillReadTokenRequest.AsObject;
|
|
6895
|
+
static serializeBinaryToWriter(message: MintBillReadTokenRequest, writer: jspb.BinaryWriter): void;
|
|
6896
|
+
static deserializeBinary(bytes: Uint8Array): MintBillReadTokenRequest;
|
|
6897
|
+
static deserializeBinaryFromReader(message: MintBillReadTokenRequest, reader: jspb.BinaryReader): MintBillReadTokenRequest;
|
|
6898
|
+
}
|
|
6899
|
+
|
|
6900
|
+
export namespace MintBillReadTokenRequest {
|
|
6901
|
+
export type AsObject = {
|
|
6902
|
+
billid: number,
|
|
6903
|
+
}
|
|
6904
|
+
}
|
|
6905
|
+
|
|
6906
|
+
export class MintBillReadTokenResponse extends jspb.Message {
|
|
6907
|
+
getReadtoken(): string;
|
|
6908
|
+
setReadtoken(value: string): MintBillReadTokenResponse;
|
|
6909
|
+
|
|
6910
|
+
serializeBinary(): Uint8Array;
|
|
6911
|
+
toObject(includeInstance?: boolean): MintBillReadTokenResponse.AsObject;
|
|
6912
|
+
static toObject(includeInstance: boolean, msg: MintBillReadTokenResponse): MintBillReadTokenResponse.AsObject;
|
|
6913
|
+
static serializeBinaryToWriter(message: MintBillReadTokenResponse, writer: jspb.BinaryWriter): void;
|
|
6914
|
+
static deserializeBinary(bytes: Uint8Array): MintBillReadTokenResponse;
|
|
6915
|
+
static deserializeBinaryFromReader(message: MintBillReadTokenResponse, reader: jspb.BinaryReader): MintBillReadTokenResponse;
|
|
6916
|
+
}
|
|
6917
|
+
|
|
6918
|
+
export namespace MintBillReadTokenResponse {
|
|
6919
|
+
export type AsObject = {
|
|
6920
|
+
readtoken: string,
|
|
6921
|
+
}
|
|
6922
|
+
}
|
|
6923
|
+
|
|
6924
|
+
export class ValidateBillReadTokenRequest extends jspb.Message {
|
|
6925
|
+
getReadtoken(): string;
|
|
6926
|
+
setReadtoken(value: string): ValidateBillReadTokenRequest;
|
|
6927
|
+
|
|
6928
|
+
getBillid(): number;
|
|
6929
|
+
setBillid(value: number): ValidateBillReadTokenRequest;
|
|
6930
|
+
|
|
6931
|
+
serializeBinary(): Uint8Array;
|
|
6932
|
+
toObject(includeInstance?: boolean): ValidateBillReadTokenRequest.AsObject;
|
|
6933
|
+
static toObject(includeInstance: boolean, msg: ValidateBillReadTokenRequest): ValidateBillReadTokenRequest.AsObject;
|
|
6934
|
+
static serializeBinaryToWriter(message: ValidateBillReadTokenRequest, writer: jspb.BinaryWriter): void;
|
|
6935
|
+
static deserializeBinary(bytes: Uint8Array): ValidateBillReadTokenRequest;
|
|
6936
|
+
static deserializeBinaryFromReader(message: ValidateBillReadTokenRequest, reader: jspb.BinaryReader): ValidateBillReadTokenRequest;
|
|
6937
|
+
}
|
|
6938
|
+
|
|
6939
|
+
export namespace ValidateBillReadTokenRequest {
|
|
6940
|
+
export type AsObject = {
|
|
6941
|
+
readtoken: string,
|
|
6942
|
+
billid: number,
|
|
6943
|
+
}
|
|
6944
|
+
}
|
|
6945
|
+
|
|
6946
|
+
export class ValidateBillReadTokenResponse extends jspb.Message {
|
|
6947
|
+
getValid(): boolean;
|
|
6948
|
+
setValid(value: boolean): ValidateBillReadTokenResponse;
|
|
6949
|
+
|
|
6950
|
+
serializeBinary(): Uint8Array;
|
|
6951
|
+
toObject(includeInstance?: boolean): ValidateBillReadTokenResponse.AsObject;
|
|
6952
|
+
static toObject(includeInstance: boolean, msg: ValidateBillReadTokenResponse): ValidateBillReadTokenResponse.AsObject;
|
|
6953
|
+
static serializeBinaryToWriter(message: ValidateBillReadTokenResponse, writer: jspb.BinaryWriter): void;
|
|
6954
|
+
static deserializeBinary(bytes: Uint8Array): ValidateBillReadTokenResponse;
|
|
6955
|
+
static deserializeBinaryFromReader(message: ValidateBillReadTokenResponse, reader: jspb.BinaryReader): ValidateBillReadTokenResponse;
|
|
6956
|
+
}
|
|
6957
|
+
|
|
6958
|
+
export namespace ValidateBillReadTokenResponse {
|
|
6959
|
+
export type AsObject = {
|
|
6960
|
+
valid: boolean,
|
|
6961
|
+
}
|
|
6962
|
+
}
|
|
6963
|
+
|
|
6888
6964
|
export enum KycUserStatus {
|
|
6889
6965
|
KYC_USER_PENDING_REVIEW = 0,
|
|
6890
6966
|
KYC_USER_VERIFIED = 1,
|
|
@@ -142,6 +142,8 @@ goog.exportSymbol('proto.sniipuserservice.MarkOnboardingScreensAsViewedRequest',
|
|
|
142
142
|
goog.exportSymbol('proto.sniipuserservice.MarkUserAsBusinessRequest', null, global);
|
|
143
143
|
goog.exportSymbol('proto.sniipuserservice.MfaSecretStatus', null, global);
|
|
144
144
|
goog.exportSymbol('proto.sniipuserservice.MigrateAccountRequest', null, global);
|
|
145
|
+
goog.exportSymbol('proto.sniipuserservice.MintBillReadTokenRequest', null, global);
|
|
146
|
+
goog.exportSymbol('proto.sniipuserservice.MintBillReadTokenResponse', null, global);
|
|
145
147
|
goog.exportSymbol('proto.sniipuserservice.NotificationTokenResponse', null, global);
|
|
146
148
|
goog.exportSymbol('proto.sniipuserservice.NotificationTokensResponse', null, global);
|
|
147
149
|
goog.exportSymbol('proto.sniipuserservice.OnboardingScreen', null, global);
|
|
@@ -245,6 +247,8 @@ goog.exportSymbol('proto.sniipuserservice.UserProfilesRequest', null, global);
|
|
|
245
247
|
goog.exportSymbol('proto.sniipuserservice.UserProfilesResponse', null, global);
|
|
246
248
|
goog.exportSymbol('proto.sniipuserservice.UserStatusUpdateRequest', null, global);
|
|
247
249
|
goog.exportSymbol('proto.sniipuserservice.UserStatusUpdateV2Request', null, global);
|
|
250
|
+
goog.exportSymbol('proto.sniipuserservice.ValidateBillReadTokenRequest', null, global);
|
|
251
|
+
goog.exportSymbol('proto.sniipuserservice.ValidateBillReadTokenResponse', null, global);
|
|
248
252
|
goog.exportSymbol('proto.sniipuserservice.ValidateEmailV2Request', null, global);
|
|
249
253
|
goog.exportSymbol('proto.sniipuserservice.ValidatePasswordRequest', null, global);
|
|
250
254
|
goog.exportSymbol('proto.sniipuserservice.ValidatePinRequest', null, global);
|
|
@@ -5112,6 +5116,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5112
5116
|
*/
|
|
5113
5117
|
proto.sniipuserservice.RedeemCapabilityTokenResponse.displayName = 'proto.sniipuserservice.RedeemCapabilityTokenResponse';
|
|
5114
5118
|
}
|
|
5119
|
+
/**
|
|
5120
|
+
* Generated by JsPbCodeGenerator.
|
|
5121
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5122
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5123
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5124
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5125
|
+
* valid.
|
|
5126
|
+
* @extends {jspb.Message}
|
|
5127
|
+
* @constructor
|
|
5128
|
+
*/
|
|
5129
|
+
proto.sniipuserservice.MintBillReadTokenRequest = function(opt_data) {
|
|
5130
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5131
|
+
};
|
|
5132
|
+
goog.inherits(proto.sniipuserservice.MintBillReadTokenRequest, jspb.Message);
|
|
5133
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5134
|
+
/**
|
|
5135
|
+
* @public
|
|
5136
|
+
* @override
|
|
5137
|
+
*/
|
|
5138
|
+
proto.sniipuserservice.MintBillReadTokenRequest.displayName = 'proto.sniipuserservice.MintBillReadTokenRequest';
|
|
5139
|
+
}
|
|
5140
|
+
/**
|
|
5141
|
+
* Generated by JsPbCodeGenerator.
|
|
5142
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5143
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5144
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5145
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5146
|
+
* valid.
|
|
5147
|
+
* @extends {jspb.Message}
|
|
5148
|
+
* @constructor
|
|
5149
|
+
*/
|
|
5150
|
+
proto.sniipuserservice.MintBillReadTokenResponse = function(opt_data) {
|
|
5151
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5152
|
+
};
|
|
5153
|
+
goog.inherits(proto.sniipuserservice.MintBillReadTokenResponse, jspb.Message);
|
|
5154
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5155
|
+
/**
|
|
5156
|
+
* @public
|
|
5157
|
+
* @override
|
|
5158
|
+
*/
|
|
5159
|
+
proto.sniipuserservice.MintBillReadTokenResponse.displayName = 'proto.sniipuserservice.MintBillReadTokenResponse';
|
|
5160
|
+
}
|
|
5161
|
+
/**
|
|
5162
|
+
* Generated by JsPbCodeGenerator.
|
|
5163
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5164
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5165
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5166
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5167
|
+
* valid.
|
|
5168
|
+
* @extends {jspb.Message}
|
|
5169
|
+
* @constructor
|
|
5170
|
+
*/
|
|
5171
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest = function(opt_data) {
|
|
5172
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5173
|
+
};
|
|
5174
|
+
goog.inherits(proto.sniipuserservice.ValidateBillReadTokenRequest, jspb.Message);
|
|
5175
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5176
|
+
/**
|
|
5177
|
+
* @public
|
|
5178
|
+
* @override
|
|
5179
|
+
*/
|
|
5180
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.displayName = 'proto.sniipuserservice.ValidateBillReadTokenRequest';
|
|
5181
|
+
}
|
|
5182
|
+
/**
|
|
5183
|
+
* Generated by JsPbCodeGenerator.
|
|
5184
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5185
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5186
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5187
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5188
|
+
* valid.
|
|
5189
|
+
* @extends {jspb.Message}
|
|
5190
|
+
* @constructor
|
|
5191
|
+
*/
|
|
5192
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse = function(opt_data) {
|
|
5193
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5194
|
+
};
|
|
5195
|
+
goog.inherits(proto.sniipuserservice.ValidateBillReadTokenResponse, jspb.Message);
|
|
5196
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5197
|
+
/**
|
|
5198
|
+
* @public
|
|
5199
|
+
* @override
|
|
5200
|
+
*/
|
|
5201
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse.displayName = 'proto.sniipuserservice.ValidateBillReadTokenResponse';
|
|
5202
|
+
}
|
|
5115
5203
|
|
|
5116
5204
|
|
|
5117
5205
|
|
|
@@ -56175,6 +56263,556 @@ proto.sniipuserservice.RedeemCapabilityTokenResponse.prototype.setValid = functi
|
|
|
56175
56263
|
};
|
|
56176
56264
|
|
|
56177
56265
|
|
|
56266
|
+
|
|
56267
|
+
|
|
56268
|
+
|
|
56269
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
56270
|
+
/**
|
|
56271
|
+
* Creates an object representation of this proto.
|
|
56272
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
56273
|
+
* Optional fields that are not set will be set to undefined.
|
|
56274
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
56275
|
+
* For the list of reserved names please see:
|
|
56276
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
56277
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
56278
|
+
* JSPB instance for transitional soy proto support:
|
|
56279
|
+
* http://goto/soy-param-migration
|
|
56280
|
+
* @return {!Object}
|
|
56281
|
+
*/
|
|
56282
|
+
proto.sniipuserservice.MintBillReadTokenRequest.prototype.toObject = function(opt_includeInstance) {
|
|
56283
|
+
return proto.sniipuserservice.MintBillReadTokenRequest.toObject(opt_includeInstance, this);
|
|
56284
|
+
};
|
|
56285
|
+
|
|
56286
|
+
|
|
56287
|
+
/**
|
|
56288
|
+
* Static version of the {@see toObject} method.
|
|
56289
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
56290
|
+
* the JSPB instance for transitional soy proto support:
|
|
56291
|
+
* http://goto/soy-param-migration
|
|
56292
|
+
* @param {!proto.sniipuserservice.MintBillReadTokenRequest} msg The msg instance to transform.
|
|
56293
|
+
* @return {!Object}
|
|
56294
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56295
|
+
*/
|
|
56296
|
+
proto.sniipuserservice.MintBillReadTokenRequest.toObject = function(includeInstance, msg) {
|
|
56297
|
+
var f, obj = {
|
|
56298
|
+
billid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
56299
|
+
};
|
|
56300
|
+
|
|
56301
|
+
if (includeInstance) {
|
|
56302
|
+
obj.$jspbMessageInstance = msg;
|
|
56303
|
+
}
|
|
56304
|
+
return obj;
|
|
56305
|
+
};
|
|
56306
|
+
}
|
|
56307
|
+
|
|
56308
|
+
|
|
56309
|
+
/**
|
|
56310
|
+
* Deserializes binary data (in protobuf wire format).
|
|
56311
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
56312
|
+
* @return {!proto.sniipuserservice.MintBillReadTokenRequest}
|
|
56313
|
+
*/
|
|
56314
|
+
proto.sniipuserservice.MintBillReadTokenRequest.deserializeBinary = function(bytes) {
|
|
56315
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
56316
|
+
var msg = new proto.sniipuserservice.MintBillReadTokenRequest;
|
|
56317
|
+
return proto.sniipuserservice.MintBillReadTokenRequest.deserializeBinaryFromReader(msg, reader);
|
|
56318
|
+
};
|
|
56319
|
+
|
|
56320
|
+
|
|
56321
|
+
/**
|
|
56322
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
56323
|
+
* given reader into the given message object.
|
|
56324
|
+
* @param {!proto.sniipuserservice.MintBillReadTokenRequest} msg The message object to deserialize into.
|
|
56325
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
56326
|
+
* @return {!proto.sniipuserservice.MintBillReadTokenRequest}
|
|
56327
|
+
*/
|
|
56328
|
+
proto.sniipuserservice.MintBillReadTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
56329
|
+
while (reader.nextField()) {
|
|
56330
|
+
if (reader.isEndGroup()) {
|
|
56331
|
+
break;
|
|
56332
|
+
}
|
|
56333
|
+
var field = reader.getFieldNumber();
|
|
56334
|
+
switch (field) {
|
|
56335
|
+
case 1:
|
|
56336
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
56337
|
+
msg.setBillid(value);
|
|
56338
|
+
break;
|
|
56339
|
+
default:
|
|
56340
|
+
reader.skipField();
|
|
56341
|
+
break;
|
|
56342
|
+
}
|
|
56343
|
+
}
|
|
56344
|
+
return msg;
|
|
56345
|
+
};
|
|
56346
|
+
|
|
56347
|
+
|
|
56348
|
+
/**
|
|
56349
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
56350
|
+
* @return {!Uint8Array}
|
|
56351
|
+
*/
|
|
56352
|
+
proto.sniipuserservice.MintBillReadTokenRequest.prototype.serializeBinary = function() {
|
|
56353
|
+
var writer = new jspb.BinaryWriter();
|
|
56354
|
+
proto.sniipuserservice.MintBillReadTokenRequest.serializeBinaryToWriter(this, writer);
|
|
56355
|
+
return writer.getResultBuffer();
|
|
56356
|
+
};
|
|
56357
|
+
|
|
56358
|
+
|
|
56359
|
+
/**
|
|
56360
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
56361
|
+
* format), writing to the given BinaryWriter.
|
|
56362
|
+
* @param {!proto.sniipuserservice.MintBillReadTokenRequest} message
|
|
56363
|
+
* @param {!jspb.BinaryWriter} writer
|
|
56364
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56365
|
+
*/
|
|
56366
|
+
proto.sniipuserservice.MintBillReadTokenRequest.serializeBinaryToWriter = function(message, writer) {
|
|
56367
|
+
var f = undefined;
|
|
56368
|
+
f = message.getBillid();
|
|
56369
|
+
if (f !== 0) {
|
|
56370
|
+
writer.writeInt64(
|
|
56371
|
+
1,
|
|
56372
|
+
f
|
|
56373
|
+
);
|
|
56374
|
+
}
|
|
56375
|
+
};
|
|
56376
|
+
|
|
56377
|
+
|
|
56378
|
+
/**
|
|
56379
|
+
* optional int64 billId = 1;
|
|
56380
|
+
* @return {number}
|
|
56381
|
+
*/
|
|
56382
|
+
proto.sniipuserservice.MintBillReadTokenRequest.prototype.getBillid = function() {
|
|
56383
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
56384
|
+
};
|
|
56385
|
+
|
|
56386
|
+
|
|
56387
|
+
/**
|
|
56388
|
+
* @param {number} value
|
|
56389
|
+
* @return {!proto.sniipuserservice.MintBillReadTokenRequest} returns this
|
|
56390
|
+
*/
|
|
56391
|
+
proto.sniipuserservice.MintBillReadTokenRequest.prototype.setBillid = function(value) {
|
|
56392
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
56393
|
+
};
|
|
56394
|
+
|
|
56395
|
+
|
|
56396
|
+
|
|
56397
|
+
|
|
56398
|
+
|
|
56399
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
56400
|
+
/**
|
|
56401
|
+
* Creates an object representation of this proto.
|
|
56402
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
56403
|
+
* Optional fields that are not set will be set to undefined.
|
|
56404
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
56405
|
+
* For the list of reserved names please see:
|
|
56406
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
56407
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
56408
|
+
* JSPB instance for transitional soy proto support:
|
|
56409
|
+
* http://goto/soy-param-migration
|
|
56410
|
+
* @return {!Object}
|
|
56411
|
+
*/
|
|
56412
|
+
proto.sniipuserservice.MintBillReadTokenResponse.prototype.toObject = function(opt_includeInstance) {
|
|
56413
|
+
return proto.sniipuserservice.MintBillReadTokenResponse.toObject(opt_includeInstance, this);
|
|
56414
|
+
};
|
|
56415
|
+
|
|
56416
|
+
|
|
56417
|
+
/**
|
|
56418
|
+
* Static version of the {@see toObject} method.
|
|
56419
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
56420
|
+
* the JSPB instance for transitional soy proto support:
|
|
56421
|
+
* http://goto/soy-param-migration
|
|
56422
|
+
* @param {!proto.sniipuserservice.MintBillReadTokenResponse} msg The msg instance to transform.
|
|
56423
|
+
* @return {!Object}
|
|
56424
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56425
|
+
*/
|
|
56426
|
+
proto.sniipuserservice.MintBillReadTokenResponse.toObject = function(includeInstance, msg) {
|
|
56427
|
+
var f, obj = {
|
|
56428
|
+
readtoken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
56429
|
+
};
|
|
56430
|
+
|
|
56431
|
+
if (includeInstance) {
|
|
56432
|
+
obj.$jspbMessageInstance = msg;
|
|
56433
|
+
}
|
|
56434
|
+
return obj;
|
|
56435
|
+
};
|
|
56436
|
+
}
|
|
56437
|
+
|
|
56438
|
+
|
|
56439
|
+
/**
|
|
56440
|
+
* Deserializes binary data (in protobuf wire format).
|
|
56441
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
56442
|
+
* @return {!proto.sniipuserservice.MintBillReadTokenResponse}
|
|
56443
|
+
*/
|
|
56444
|
+
proto.sniipuserservice.MintBillReadTokenResponse.deserializeBinary = function(bytes) {
|
|
56445
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
56446
|
+
var msg = new proto.sniipuserservice.MintBillReadTokenResponse;
|
|
56447
|
+
return proto.sniipuserservice.MintBillReadTokenResponse.deserializeBinaryFromReader(msg, reader);
|
|
56448
|
+
};
|
|
56449
|
+
|
|
56450
|
+
|
|
56451
|
+
/**
|
|
56452
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
56453
|
+
* given reader into the given message object.
|
|
56454
|
+
* @param {!proto.sniipuserservice.MintBillReadTokenResponse} msg The message object to deserialize into.
|
|
56455
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
56456
|
+
* @return {!proto.sniipuserservice.MintBillReadTokenResponse}
|
|
56457
|
+
*/
|
|
56458
|
+
proto.sniipuserservice.MintBillReadTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
56459
|
+
while (reader.nextField()) {
|
|
56460
|
+
if (reader.isEndGroup()) {
|
|
56461
|
+
break;
|
|
56462
|
+
}
|
|
56463
|
+
var field = reader.getFieldNumber();
|
|
56464
|
+
switch (field) {
|
|
56465
|
+
case 1:
|
|
56466
|
+
var value = /** @type {string} */ (reader.readString());
|
|
56467
|
+
msg.setReadtoken(value);
|
|
56468
|
+
break;
|
|
56469
|
+
default:
|
|
56470
|
+
reader.skipField();
|
|
56471
|
+
break;
|
|
56472
|
+
}
|
|
56473
|
+
}
|
|
56474
|
+
return msg;
|
|
56475
|
+
};
|
|
56476
|
+
|
|
56477
|
+
|
|
56478
|
+
/**
|
|
56479
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
56480
|
+
* @return {!Uint8Array}
|
|
56481
|
+
*/
|
|
56482
|
+
proto.sniipuserservice.MintBillReadTokenResponse.prototype.serializeBinary = function() {
|
|
56483
|
+
var writer = new jspb.BinaryWriter();
|
|
56484
|
+
proto.sniipuserservice.MintBillReadTokenResponse.serializeBinaryToWriter(this, writer);
|
|
56485
|
+
return writer.getResultBuffer();
|
|
56486
|
+
};
|
|
56487
|
+
|
|
56488
|
+
|
|
56489
|
+
/**
|
|
56490
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
56491
|
+
* format), writing to the given BinaryWriter.
|
|
56492
|
+
* @param {!proto.sniipuserservice.MintBillReadTokenResponse} message
|
|
56493
|
+
* @param {!jspb.BinaryWriter} writer
|
|
56494
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56495
|
+
*/
|
|
56496
|
+
proto.sniipuserservice.MintBillReadTokenResponse.serializeBinaryToWriter = function(message, writer) {
|
|
56497
|
+
var f = undefined;
|
|
56498
|
+
f = message.getReadtoken();
|
|
56499
|
+
if (f.length > 0) {
|
|
56500
|
+
writer.writeString(
|
|
56501
|
+
1,
|
|
56502
|
+
f
|
|
56503
|
+
);
|
|
56504
|
+
}
|
|
56505
|
+
};
|
|
56506
|
+
|
|
56507
|
+
|
|
56508
|
+
/**
|
|
56509
|
+
* optional string readToken = 1;
|
|
56510
|
+
* @return {string}
|
|
56511
|
+
*/
|
|
56512
|
+
proto.sniipuserservice.MintBillReadTokenResponse.prototype.getReadtoken = function() {
|
|
56513
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
56514
|
+
};
|
|
56515
|
+
|
|
56516
|
+
|
|
56517
|
+
/**
|
|
56518
|
+
* @param {string} value
|
|
56519
|
+
* @return {!proto.sniipuserservice.MintBillReadTokenResponse} returns this
|
|
56520
|
+
*/
|
|
56521
|
+
proto.sniipuserservice.MintBillReadTokenResponse.prototype.setReadtoken = function(value) {
|
|
56522
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
56523
|
+
};
|
|
56524
|
+
|
|
56525
|
+
|
|
56526
|
+
|
|
56527
|
+
|
|
56528
|
+
|
|
56529
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
56530
|
+
/**
|
|
56531
|
+
* Creates an object representation of this proto.
|
|
56532
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
56533
|
+
* Optional fields that are not set will be set to undefined.
|
|
56534
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
56535
|
+
* For the list of reserved names please see:
|
|
56536
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
56537
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
56538
|
+
* JSPB instance for transitional soy proto support:
|
|
56539
|
+
* http://goto/soy-param-migration
|
|
56540
|
+
* @return {!Object}
|
|
56541
|
+
*/
|
|
56542
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.prototype.toObject = function(opt_includeInstance) {
|
|
56543
|
+
return proto.sniipuserservice.ValidateBillReadTokenRequest.toObject(opt_includeInstance, this);
|
|
56544
|
+
};
|
|
56545
|
+
|
|
56546
|
+
|
|
56547
|
+
/**
|
|
56548
|
+
* Static version of the {@see toObject} method.
|
|
56549
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
56550
|
+
* the JSPB instance for transitional soy proto support:
|
|
56551
|
+
* http://goto/soy-param-migration
|
|
56552
|
+
* @param {!proto.sniipuserservice.ValidateBillReadTokenRequest} msg The msg instance to transform.
|
|
56553
|
+
* @return {!Object}
|
|
56554
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56555
|
+
*/
|
|
56556
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.toObject = function(includeInstance, msg) {
|
|
56557
|
+
var f, obj = {
|
|
56558
|
+
readtoken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
56559
|
+
billid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
56560
|
+
};
|
|
56561
|
+
|
|
56562
|
+
if (includeInstance) {
|
|
56563
|
+
obj.$jspbMessageInstance = msg;
|
|
56564
|
+
}
|
|
56565
|
+
return obj;
|
|
56566
|
+
};
|
|
56567
|
+
}
|
|
56568
|
+
|
|
56569
|
+
|
|
56570
|
+
/**
|
|
56571
|
+
* Deserializes binary data (in protobuf wire format).
|
|
56572
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
56573
|
+
* @return {!proto.sniipuserservice.ValidateBillReadTokenRequest}
|
|
56574
|
+
*/
|
|
56575
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.deserializeBinary = function(bytes) {
|
|
56576
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
56577
|
+
var msg = new proto.sniipuserservice.ValidateBillReadTokenRequest;
|
|
56578
|
+
return proto.sniipuserservice.ValidateBillReadTokenRequest.deserializeBinaryFromReader(msg, reader);
|
|
56579
|
+
};
|
|
56580
|
+
|
|
56581
|
+
|
|
56582
|
+
/**
|
|
56583
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
56584
|
+
* given reader into the given message object.
|
|
56585
|
+
* @param {!proto.sniipuserservice.ValidateBillReadTokenRequest} msg The message object to deserialize into.
|
|
56586
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
56587
|
+
* @return {!proto.sniipuserservice.ValidateBillReadTokenRequest}
|
|
56588
|
+
*/
|
|
56589
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
56590
|
+
while (reader.nextField()) {
|
|
56591
|
+
if (reader.isEndGroup()) {
|
|
56592
|
+
break;
|
|
56593
|
+
}
|
|
56594
|
+
var field = reader.getFieldNumber();
|
|
56595
|
+
switch (field) {
|
|
56596
|
+
case 1:
|
|
56597
|
+
var value = /** @type {string} */ (reader.readString());
|
|
56598
|
+
msg.setReadtoken(value);
|
|
56599
|
+
break;
|
|
56600
|
+
case 2:
|
|
56601
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
56602
|
+
msg.setBillid(value);
|
|
56603
|
+
break;
|
|
56604
|
+
default:
|
|
56605
|
+
reader.skipField();
|
|
56606
|
+
break;
|
|
56607
|
+
}
|
|
56608
|
+
}
|
|
56609
|
+
return msg;
|
|
56610
|
+
};
|
|
56611
|
+
|
|
56612
|
+
|
|
56613
|
+
/**
|
|
56614
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
56615
|
+
* @return {!Uint8Array}
|
|
56616
|
+
*/
|
|
56617
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.prototype.serializeBinary = function() {
|
|
56618
|
+
var writer = new jspb.BinaryWriter();
|
|
56619
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.serializeBinaryToWriter(this, writer);
|
|
56620
|
+
return writer.getResultBuffer();
|
|
56621
|
+
};
|
|
56622
|
+
|
|
56623
|
+
|
|
56624
|
+
/**
|
|
56625
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
56626
|
+
* format), writing to the given BinaryWriter.
|
|
56627
|
+
* @param {!proto.sniipuserservice.ValidateBillReadTokenRequest} message
|
|
56628
|
+
* @param {!jspb.BinaryWriter} writer
|
|
56629
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56630
|
+
*/
|
|
56631
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.serializeBinaryToWriter = function(message, writer) {
|
|
56632
|
+
var f = undefined;
|
|
56633
|
+
f = message.getReadtoken();
|
|
56634
|
+
if (f.length > 0) {
|
|
56635
|
+
writer.writeString(
|
|
56636
|
+
1,
|
|
56637
|
+
f
|
|
56638
|
+
);
|
|
56639
|
+
}
|
|
56640
|
+
f = message.getBillid();
|
|
56641
|
+
if (f !== 0) {
|
|
56642
|
+
writer.writeInt64(
|
|
56643
|
+
2,
|
|
56644
|
+
f
|
|
56645
|
+
);
|
|
56646
|
+
}
|
|
56647
|
+
};
|
|
56648
|
+
|
|
56649
|
+
|
|
56650
|
+
/**
|
|
56651
|
+
* optional string readToken = 1;
|
|
56652
|
+
* @return {string}
|
|
56653
|
+
*/
|
|
56654
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.prototype.getReadtoken = function() {
|
|
56655
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
56656
|
+
};
|
|
56657
|
+
|
|
56658
|
+
|
|
56659
|
+
/**
|
|
56660
|
+
* @param {string} value
|
|
56661
|
+
* @return {!proto.sniipuserservice.ValidateBillReadTokenRequest} returns this
|
|
56662
|
+
*/
|
|
56663
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.prototype.setReadtoken = function(value) {
|
|
56664
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
56665
|
+
};
|
|
56666
|
+
|
|
56667
|
+
|
|
56668
|
+
/**
|
|
56669
|
+
* optional int64 billId = 2;
|
|
56670
|
+
* @return {number}
|
|
56671
|
+
*/
|
|
56672
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.prototype.getBillid = function() {
|
|
56673
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
56674
|
+
};
|
|
56675
|
+
|
|
56676
|
+
|
|
56677
|
+
/**
|
|
56678
|
+
* @param {number} value
|
|
56679
|
+
* @return {!proto.sniipuserservice.ValidateBillReadTokenRequest} returns this
|
|
56680
|
+
*/
|
|
56681
|
+
proto.sniipuserservice.ValidateBillReadTokenRequest.prototype.setBillid = function(value) {
|
|
56682
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
56683
|
+
};
|
|
56684
|
+
|
|
56685
|
+
|
|
56686
|
+
|
|
56687
|
+
|
|
56688
|
+
|
|
56689
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
56690
|
+
/**
|
|
56691
|
+
* Creates an object representation of this proto.
|
|
56692
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
56693
|
+
* Optional fields that are not set will be set to undefined.
|
|
56694
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
56695
|
+
* For the list of reserved names please see:
|
|
56696
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
56697
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
56698
|
+
* JSPB instance for transitional soy proto support:
|
|
56699
|
+
* http://goto/soy-param-migration
|
|
56700
|
+
* @return {!Object}
|
|
56701
|
+
*/
|
|
56702
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse.prototype.toObject = function(opt_includeInstance) {
|
|
56703
|
+
return proto.sniipuserservice.ValidateBillReadTokenResponse.toObject(opt_includeInstance, this);
|
|
56704
|
+
};
|
|
56705
|
+
|
|
56706
|
+
|
|
56707
|
+
/**
|
|
56708
|
+
* Static version of the {@see toObject} method.
|
|
56709
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
56710
|
+
* the JSPB instance for transitional soy proto support:
|
|
56711
|
+
* http://goto/soy-param-migration
|
|
56712
|
+
* @param {!proto.sniipuserservice.ValidateBillReadTokenResponse} msg The msg instance to transform.
|
|
56713
|
+
* @return {!Object}
|
|
56714
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56715
|
+
*/
|
|
56716
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse.toObject = function(includeInstance, msg) {
|
|
56717
|
+
var f, obj = {
|
|
56718
|
+
valid: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
56719
|
+
};
|
|
56720
|
+
|
|
56721
|
+
if (includeInstance) {
|
|
56722
|
+
obj.$jspbMessageInstance = msg;
|
|
56723
|
+
}
|
|
56724
|
+
return obj;
|
|
56725
|
+
};
|
|
56726
|
+
}
|
|
56727
|
+
|
|
56728
|
+
|
|
56729
|
+
/**
|
|
56730
|
+
* Deserializes binary data (in protobuf wire format).
|
|
56731
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
56732
|
+
* @return {!proto.sniipuserservice.ValidateBillReadTokenResponse}
|
|
56733
|
+
*/
|
|
56734
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse.deserializeBinary = function(bytes) {
|
|
56735
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
56736
|
+
var msg = new proto.sniipuserservice.ValidateBillReadTokenResponse;
|
|
56737
|
+
return proto.sniipuserservice.ValidateBillReadTokenResponse.deserializeBinaryFromReader(msg, reader);
|
|
56738
|
+
};
|
|
56739
|
+
|
|
56740
|
+
|
|
56741
|
+
/**
|
|
56742
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
56743
|
+
* given reader into the given message object.
|
|
56744
|
+
* @param {!proto.sniipuserservice.ValidateBillReadTokenResponse} msg The message object to deserialize into.
|
|
56745
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
56746
|
+
* @return {!proto.sniipuserservice.ValidateBillReadTokenResponse}
|
|
56747
|
+
*/
|
|
56748
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
56749
|
+
while (reader.nextField()) {
|
|
56750
|
+
if (reader.isEndGroup()) {
|
|
56751
|
+
break;
|
|
56752
|
+
}
|
|
56753
|
+
var field = reader.getFieldNumber();
|
|
56754
|
+
switch (field) {
|
|
56755
|
+
case 1:
|
|
56756
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
56757
|
+
msg.setValid(value);
|
|
56758
|
+
break;
|
|
56759
|
+
default:
|
|
56760
|
+
reader.skipField();
|
|
56761
|
+
break;
|
|
56762
|
+
}
|
|
56763
|
+
}
|
|
56764
|
+
return msg;
|
|
56765
|
+
};
|
|
56766
|
+
|
|
56767
|
+
|
|
56768
|
+
/**
|
|
56769
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
56770
|
+
* @return {!Uint8Array}
|
|
56771
|
+
*/
|
|
56772
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse.prototype.serializeBinary = function() {
|
|
56773
|
+
var writer = new jspb.BinaryWriter();
|
|
56774
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse.serializeBinaryToWriter(this, writer);
|
|
56775
|
+
return writer.getResultBuffer();
|
|
56776
|
+
};
|
|
56777
|
+
|
|
56778
|
+
|
|
56779
|
+
/**
|
|
56780
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
56781
|
+
* format), writing to the given BinaryWriter.
|
|
56782
|
+
* @param {!proto.sniipuserservice.ValidateBillReadTokenResponse} message
|
|
56783
|
+
* @param {!jspb.BinaryWriter} writer
|
|
56784
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
56785
|
+
*/
|
|
56786
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse.serializeBinaryToWriter = function(message, writer) {
|
|
56787
|
+
var f = undefined;
|
|
56788
|
+
f = message.getValid();
|
|
56789
|
+
if (f) {
|
|
56790
|
+
writer.writeBool(
|
|
56791
|
+
1,
|
|
56792
|
+
f
|
|
56793
|
+
);
|
|
56794
|
+
}
|
|
56795
|
+
};
|
|
56796
|
+
|
|
56797
|
+
|
|
56798
|
+
/**
|
|
56799
|
+
* optional bool valid = 1;
|
|
56800
|
+
* @return {boolean}
|
|
56801
|
+
*/
|
|
56802
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse.prototype.getValid = function() {
|
|
56803
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
56804
|
+
};
|
|
56805
|
+
|
|
56806
|
+
|
|
56807
|
+
/**
|
|
56808
|
+
* @param {boolean} value
|
|
56809
|
+
* @return {!proto.sniipuserservice.ValidateBillReadTokenResponse} returns this
|
|
56810
|
+
*/
|
|
56811
|
+
proto.sniipuserservice.ValidateBillReadTokenResponse.prototype.setValid = function(value) {
|
|
56812
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
56813
|
+
};
|
|
56814
|
+
|
|
56815
|
+
|
|
56178
56816
|
/**
|
|
56179
56817
|
* @enum {number}
|
|
56180
56818
|
*/
|