@sniipwebmaster/user-service-client-grpcweb 22.20.8478 → 22.21.8497
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.
|
@@ -5514,6 +5514,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.markOnboar
|
|
|
5514
5514
|
};
|
|
5515
5515
|
|
|
5516
5516
|
|
|
5517
|
+
/**
|
|
5518
|
+
* @const
|
|
5519
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5520
|
+
* !proto.sniipuserservice.MarkUserAsBusinessRequest,
|
|
5521
|
+
* !proto.sniipuserservice.UserProfileResponse>}
|
|
5522
|
+
*/
|
|
5523
|
+
const methodDescriptor_SniipUserServiceService_MarkUserAsBusiness = new grpc.web.MethodDescriptor(
|
|
5524
|
+
'/sniipuserservice.SniipUserServiceService/MarkUserAsBusiness',
|
|
5525
|
+
grpc.web.MethodType.UNARY,
|
|
5526
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest,
|
|
5527
|
+
proto.sniipuserservice.UserProfileResponse,
|
|
5528
|
+
/**
|
|
5529
|
+
* @param {!proto.sniipuserservice.MarkUserAsBusinessRequest} request
|
|
5530
|
+
* @return {!Uint8Array}
|
|
5531
|
+
*/
|
|
5532
|
+
function(request) {
|
|
5533
|
+
return request.serializeBinary();
|
|
5534
|
+
},
|
|
5535
|
+
proto.sniipuserservice.UserProfileResponse.deserializeBinary
|
|
5536
|
+
);
|
|
5537
|
+
|
|
5538
|
+
|
|
5539
|
+
/**
|
|
5540
|
+
* @const
|
|
5541
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
5542
|
+
* !proto.sniipuserservice.MarkUserAsBusinessRequest,
|
|
5543
|
+
* !proto.sniipuserservice.UserProfileResponse>}
|
|
5544
|
+
*/
|
|
5545
|
+
const methodInfo_SniipUserServiceService_MarkUserAsBusiness = new grpc.web.AbstractClientBase.MethodInfo(
|
|
5546
|
+
proto.sniipuserservice.UserProfileResponse,
|
|
5547
|
+
/**
|
|
5548
|
+
* @param {!proto.sniipuserservice.MarkUserAsBusinessRequest} request
|
|
5549
|
+
* @return {!Uint8Array}
|
|
5550
|
+
*/
|
|
5551
|
+
function(request) {
|
|
5552
|
+
return request.serializeBinary();
|
|
5553
|
+
},
|
|
5554
|
+
proto.sniipuserservice.UserProfileResponse.deserializeBinary
|
|
5555
|
+
);
|
|
5556
|
+
|
|
5557
|
+
|
|
5558
|
+
/**
|
|
5559
|
+
* @param {!proto.sniipuserservice.MarkUserAsBusinessRequest} request The
|
|
5560
|
+
* request proto
|
|
5561
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5562
|
+
* call metadata
|
|
5563
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.UserProfileResponse)}
|
|
5564
|
+
* callback The callback function(error, response)
|
|
5565
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.UserProfileResponse>|undefined}
|
|
5566
|
+
* The XHR Node Readable Stream
|
|
5567
|
+
*/
|
|
5568
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.markUserAsBusiness =
|
|
5569
|
+
function(request, metadata, callback) {
|
|
5570
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5571
|
+
'/sniipuserservice.SniipUserServiceService/MarkUserAsBusiness',
|
|
5572
|
+
request,
|
|
5573
|
+
metadata || {},
|
|
5574
|
+
methodDescriptor_SniipUserServiceService_MarkUserAsBusiness,
|
|
5575
|
+
callback);
|
|
5576
|
+
};
|
|
5577
|
+
|
|
5578
|
+
|
|
5579
|
+
/**
|
|
5580
|
+
* @param {!proto.sniipuserservice.MarkUserAsBusinessRequest} request The
|
|
5581
|
+
* request proto
|
|
5582
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5583
|
+
* call metadata
|
|
5584
|
+
* @return {!Promise<!proto.sniipuserservice.UserProfileResponse>}
|
|
5585
|
+
* Promise that resolves to the response
|
|
5586
|
+
*/
|
|
5587
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.markUserAsBusiness =
|
|
5588
|
+
function(request, metadata) {
|
|
5589
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5590
|
+
'/sniipuserservice.SniipUserServiceService/MarkUserAsBusiness',
|
|
5591
|
+
request,
|
|
5592
|
+
metadata || {},
|
|
5593
|
+
methodDescriptor_SniipUserServiceService_MarkUserAsBusiness);
|
|
5594
|
+
};
|
|
5595
|
+
|
|
5596
|
+
|
|
5517
5597
|
/**
|
|
5518
5598
|
* @const
|
|
5519
5599
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -96,7 +96,9 @@ goog.exportSymbol('proto.sniipuserservice.LoginEmailRequest', null, global);
|
|
|
96
96
|
goog.exportSymbol('proto.sniipuserservice.LoginMobileRequest', null, global);
|
|
97
97
|
goog.exportSymbol('proto.sniipuserservice.LoginWebEmailRequest', null, global);
|
|
98
98
|
goog.exportSymbol('proto.sniipuserservice.LoginWebMobileRequest', null, global);
|
|
99
|
+
goog.exportSymbol('proto.sniipuserservice.MarkAsBusinessReq', null, global);
|
|
99
100
|
goog.exportSymbol('proto.sniipuserservice.MarkOnboardingScreensAsViewedRequest', null, global);
|
|
101
|
+
goog.exportSymbol('proto.sniipuserservice.MarkUserAsBusinessRequest', null, global);
|
|
100
102
|
goog.exportSymbol('proto.sniipuserservice.MigrateAccountRequest', null, global);
|
|
101
103
|
goog.exportSymbol('proto.sniipuserservice.NotificationTokenResponse', null, global);
|
|
102
104
|
goog.exportSymbol('proto.sniipuserservice.NotificationTokensResponse', null, global);
|
|
@@ -20419,6 +20421,194 @@ proto.sniipuserservice.LoginWebMobileRequest.prototype.setRegioncode = function(
|
|
|
20419
20421
|
|
|
20420
20422
|
|
|
20421
20423
|
|
|
20424
|
+
/**
|
|
20425
|
+
* Generated by JsPbCodeGenerator.
|
|
20426
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
20427
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
20428
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
20429
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
20430
|
+
* valid.
|
|
20431
|
+
* @extends {jspb.Message}
|
|
20432
|
+
* @constructor
|
|
20433
|
+
*/
|
|
20434
|
+
proto.sniipuserservice.MarkAsBusinessReq = function(opt_data) {
|
|
20435
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
20436
|
+
};
|
|
20437
|
+
goog.inherits(proto.sniipuserservice.MarkAsBusinessReq, jspb.Message);
|
|
20438
|
+
if (goog.DEBUG && !COMPILED) {
|
|
20439
|
+
proto.sniipuserservice.MarkAsBusinessReq.displayName = 'proto.sniipuserservice.MarkAsBusinessReq';
|
|
20440
|
+
}
|
|
20441
|
+
|
|
20442
|
+
|
|
20443
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20444
|
+
/**
|
|
20445
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
20446
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
20447
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20448
|
+
* For the list of reserved names please see:
|
|
20449
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
20450
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
20451
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
20452
|
+
* @return {!Object}
|
|
20453
|
+
*/
|
|
20454
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.toObject = function(opt_includeInstance) {
|
|
20455
|
+
return proto.sniipuserservice.MarkAsBusinessReq.toObject(opt_includeInstance, this);
|
|
20456
|
+
};
|
|
20457
|
+
|
|
20458
|
+
|
|
20459
|
+
/**
|
|
20460
|
+
* Static version of the {@see toObject} method.
|
|
20461
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
20462
|
+
* instance for transitional soy proto support:
|
|
20463
|
+
* http://goto/soy-param-migration
|
|
20464
|
+
* @param {!proto.sniipuserservice.MarkAsBusinessReq} msg The msg instance to transform.
|
|
20465
|
+
* @return {!Object}
|
|
20466
|
+
*/
|
|
20467
|
+
proto.sniipuserservice.MarkAsBusinessReq.toObject = function(includeInstance, msg) {
|
|
20468
|
+
var f, obj = {
|
|
20469
|
+
isbusiness: msg.getIsbusiness(),
|
|
20470
|
+
userid: msg.getUserid()
|
|
20471
|
+
};
|
|
20472
|
+
|
|
20473
|
+
if (includeInstance) {
|
|
20474
|
+
obj.$jspbMessageInstance = msg;
|
|
20475
|
+
}
|
|
20476
|
+
return obj;
|
|
20477
|
+
};
|
|
20478
|
+
}
|
|
20479
|
+
|
|
20480
|
+
|
|
20481
|
+
/**
|
|
20482
|
+
* Deserializes binary data (in protobuf wire format).
|
|
20483
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20484
|
+
* @return {!proto.sniipuserservice.MarkAsBusinessReq}
|
|
20485
|
+
*/
|
|
20486
|
+
proto.sniipuserservice.MarkAsBusinessReq.deserializeBinary = function(bytes) {
|
|
20487
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
20488
|
+
var msg = new proto.sniipuserservice.MarkAsBusinessReq;
|
|
20489
|
+
return proto.sniipuserservice.MarkAsBusinessReq.deserializeBinaryFromReader(msg, reader);
|
|
20490
|
+
};
|
|
20491
|
+
|
|
20492
|
+
|
|
20493
|
+
/**
|
|
20494
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
20495
|
+
* given reader into the given message object.
|
|
20496
|
+
* @param {!proto.sniipuserservice.MarkAsBusinessReq} msg The message object to deserialize into.
|
|
20497
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20498
|
+
* @return {!proto.sniipuserservice.MarkAsBusinessReq}
|
|
20499
|
+
*/
|
|
20500
|
+
proto.sniipuserservice.MarkAsBusinessReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
20501
|
+
while (reader.nextField()) {
|
|
20502
|
+
if (reader.isEndGroup()) {
|
|
20503
|
+
break;
|
|
20504
|
+
}
|
|
20505
|
+
var field = reader.getFieldNumber();
|
|
20506
|
+
switch (field) {
|
|
20507
|
+
case 1:
|
|
20508
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
20509
|
+
msg.setIsbusiness(value);
|
|
20510
|
+
break;
|
|
20511
|
+
case 2:
|
|
20512
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
20513
|
+
msg.setUserid(value);
|
|
20514
|
+
break;
|
|
20515
|
+
default:
|
|
20516
|
+
reader.skipField();
|
|
20517
|
+
break;
|
|
20518
|
+
}
|
|
20519
|
+
}
|
|
20520
|
+
return msg;
|
|
20521
|
+
};
|
|
20522
|
+
|
|
20523
|
+
|
|
20524
|
+
/**
|
|
20525
|
+
* Class method variant: serializes the given message to binary data
|
|
20526
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
20527
|
+
* @param {!proto.sniipuserservice.MarkAsBusinessReq} message
|
|
20528
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20529
|
+
*/
|
|
20530
|
+
proto.sniipuserservice.MarkAsBusinessReq.serializeBinaryToWriter = function(message, writer) {
|
|
20531
|
+
message.serializeBinaryToWriter(writer);
|
|
20532
|
+
};
|
|
20533
|
+
|
|
20534
|
+
|
|
20535
|
+
/**
|
|
20536
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
20537
|
+
* @return {!Uint8Array}
|
|
20538
|
+
*/
|
|
20539
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.serializeBinary = function() {
|
|
20540
|
+
var writer = new jspb.BinaryWriter();
|
|
20541
|
+
this.serializeBinaryToWriter(writer);
|
|
20542
|
+
return writer.getResultBuffer();
|
|
20543
|
+
};
|
|
20544
|
+
|
|
20545
|
+
|
|
20546
|
+
/**
|
|
20547
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
20548
|
+
* writing to the given BinaryWriter.
|
|
20549
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20550
|
+
*/
|
|
20551
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.serializeBinaryToWriter = function (writer) {
|
|
20552
|
+
var f = undefined;
|
|
20553
|
+
f = this.getIsbusiness();
|
|
20554
|
+
if (f) {
|
|
20555
|
+
writer.writeBool(
|
|
20556
|
+
1,
|
|
20557
|
+
f
|
|
20558
|
+
);
|
|
20559
|
+
}
|
|
20560
|
+
f = this.getUserid();
|
|
20561
|
+
if (f !== 0) {
|
|
20562
|
+
writer.writeInt64(
|
|
20563
|
+
2,
|
|
20564
|
+
f
|
|
20565
|
+
);
|
|
20566
|
+
}
|
|
20567
|
+
};
|
|
20568
|
+
|
|
20569
|
+
|
|
20570
|
+
/**
|
|
20571
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
20572
|
+
* @return {!proto.sniipuserservice.MarkAsBusinessReq} The clone.
|
|
20573
|
+
*/
|
|
20574
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.cloneMessage = function() {
|
|
20575
|
+
return /** @type {!proto.sniipuserservice.MarkAsBusinessReq} */ (jspb.Message.cloneMessage(this));
|
|
20576
|
+
};
|
|
20577
|
+
|
|
20578
|
+
|
|
20579
|
+
/**
|
|
20580
|
+
* optional bool isBusiness = 1;
|
|
20581
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
20582
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
20583
|
+
* @return {boolean}
|
|
20584
|
+
*/
|
|
20585
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.getIsbusiness = function() {
|
|
20586
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 1, false));
|
|
20587
|
+
};
|
|
20588
|
+
|
|
20589
|
+
|
|
20590
|
+
/** @param {boolean} value */
|
|
20591
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.setIsbusiness = function(value) {
|
|
20592
|
+
jspb.Message.setField(this, 1, value);
|
|
20593
|
+
};
|
|
20594
|
+
|
|
20595
|
+
|
|
20596
|
+
/**
|
|
20597
|
+
* optional int64 userId = 2;
|
|
20598
|
+
* @return {number}
|
|
20599
|
+
*/
|
|
20600
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.getUserid = function() {
|
|
20601
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
20602
|
+
};
|
|
20603
|
+
|
|
20604
|
+
|
|
20605
|
+
/** @param {number} value */
|
|
20606
|
+
proto.sniipuserservice.MarkAsBusinessReq.prototype.setUserid = function(value) {
|
|
20607
|
+
jspb.Message.setField(this, 2, value);
|
|
20608
|
+
};
|
|
20609
|
+
|
|
20610
|
+
|
|
20611
|
+
|
|
20422
20612
|
/**
|
|
20423
20613
|
* Generated by JsPbCodeGenerator.
|
|
20424
20614
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -20595,6 +20785,182 @@ proto.sniipuserservice.MarkOnboardingScreensAsViewedRequest.prototype.hasData =
|
|
|
20595
20785
|
|
|
20596
20786
|
|
|
20597
20787
|
|
|
20788
|
+
/**
|
|
20789
|
+
* Generated by JsPbCodeGenerator.
|
|
20790
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
20791
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
20792
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
20793
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
20794
|
+
* valid.
|
|
20795
|
+
* @extends {jspb.Message}
|
|
20796
|
+
* @constructor
|
|
20797
|
+
*/
|
|
20798
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest = function(opt_data) {
|
|
20799
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
20800
|
+
};
|
|
20801
|
+
goog.inherits(proto.sniipuserservice.MarkUserAsBusinessRequest, jspb.Message);
|
|
20802
|
+
if (goog.DEBUG && !COMPILED) {
|
|
20803
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.displayName = 'proto.sniipuserservice.MarkUserAsBusinessRequest';
|
|
20804
|
+
}
|
|
20805
|
+
|
|
20806
|
+
|
|
20807
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20808
|
+
/**
|
|
20809
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
20810
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
20811
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20812
|
+
* For the list of reserved names please see:
|
|
20813
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
20814
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
20815
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
20816
|
+
* @return {!Object}
|
|
20817
|
+
*/
|
|
20818
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.prototype.toObject = function(opt_includeInstance) {
|
|
20819
|
+
return proto.sniipuserservice.MarkUserAsBusinessRequest.toObject(opt_includeInstance, this);
|
|
20820
|
+
};
|
|
20821
|
+
|
|
20822
|
+
|
|
20823
|
+
/**
|
|
20824
|
+
* Static version of the {@see toObject} method.
|
|
20825
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
20826
|
+
* instance for transitional soy proto support:
|
|
20827
|
+
* http://goto/soy-param-migration
|
|
20828
|
+
* @param {!proto.sniipuserservice.MarkUserAsBusinessRequest} msg The msg instance to transform.
|
|
20829
|
+
* @return {!Object}
|
|
20830
|
+
*/
|
|
20831
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.toObject = function(includeInstance, msg) {
|
|
20832
|
+
var f, obj = {
|
|
20833
|
+
data: (f = msg.getData()) && proto.sniipuserservice.MarkAsBusinessReq.toObject(includeInstance, f)
|
|
20834
|
+
};
|
|
20835
|
+
|
|
20836
|
+
if (includeInstance) {
|
|
20837
|
+
obj.$jspbMessageInstance = msg;
|
|
20838
|
+
}
|
|
20839
|
+
return obj;
|
|
20840
|
+
};
|
|
20841
|
+
}
|
|
20842
|
+
|
|
20843
|
+
|
|
20844
|
+
/**
|
|
20845
|
+
* Deserializes binary data (in protobuf wire format).
|
|
20846
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20847
|
+
* @return {!proto.sniipuserservice.MarkUserAsBusinessRequest}
|
|
20848
|
+
*/
|
|
20849
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.deserializeBinary = function(bytes) {
|
|
20850
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
20851
|
+
var msg = new proto.sniipuserservice.MarkUserAsBusinessRequest;
|
|
20852
|
+
return proto.sniipuserservice.MarkUserAsBusinessRequest.deserializeBinaryFromReader(msg, reader);
|
|
20853
|
+
};
|
|
20854
|
+
|
|
20855
|
+
|
|
20856
|
+
/**
|
|
20857
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
20858
|
+
* given reader into the given message object.
|
|
20859
|
+
* @param {!proto.sniipuserservice.MarkUserAsBusinessRequest} msg The message object to deserialize into.
|
|
20860
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20861
|
+
* @return {!proto.sniipuserservice.MarkUserAsBusinessRequest}
|
|
20862
|
+
*/
|
|
20863
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
20864
|
+
while (reader.nextField()) {
|
|
20865
|
+
if (reader.isEndGroup()) {
|
|
20866
|
+
break;
|
|
20867
|
+
}
|
|
20868
|
+
var field = reader.getFieldNumber();
|
|
20869
|
+
switch (field) {
|
|
20870
|
+
case 1:
|
|
20871
|
+
var value = new proto.sniipuserservice.MarkAsBusinessReq;
|
|
20872
|
+
reader.readMessage(value,proto.sniipuserservice.MarkAsBusinessReq.deserializeBinaryFromReader);
|
|
20873
|
+
msg.setData(value);
|
|
20874
|
+
break;
|
|
20875
|
+
default:
|
|
20876
|
+
reader.skipField();
|
|
20877
|
+
break;
|
|
20878
|
+
}
|
|
20879
|
+
}
|
|
20880
|
+
return msg;
|
|
20881
|
+
};
|
|
20882
|
+
|
|
20883
|
+
|
|
20884
|
+
/**
|
|
20885
|
+
* Class method variant: serializes the given message to binary data
|
|
20886
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
20887
|
+
* @param {!proto.sniipuserservice.MarkUserAsBusinessRequest} message
|
|
20888
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20889
|
+
*/
|
|
20890
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.serializeBinaryToWriter = function(message, writer) {
|
|
20891
|
+
message.serializeBinaryToWriter(writer);
|
|
20892
|
+
};
|
|
20893
|
+
|
|
20894
|
+
|
|
20895
|
+
/**
|
|
20896
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
20897
|
+
* @return {!Uint8Array}
|
|
20898
|
+
*/
|
|
20899
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.prototype.serializeBinary = function() {
|
|
20900
|
+
var writer = new jspb.BinaryWriter();
|
|
20901
|
+
this.serializeBinaryToWriter(writer);
|
|
20902
|
+
return writer.getResultBuffer();
|
|
20903
|
+
};
|
|
20904
|
+
|
|
20905
|
+
|
|
20906
|
+
/**
|
|
20907
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
20908
|
+
* writing to the given BinaryWriter.
|
|
20909
|
+
* @param {!jspb.BinaryWriter} writer
|
|
20910
|
+
*/
|
|
20911
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
20912
|
+
var f = undefined;
|
|
20913
|
+
f = this.getData();
|
|
20914
|
+
if (f != null) {
|
|
20915
|
+
writer.writeMessage(
|
|
20916
|
+
1,
|
|
20917
|
+
f,
|
|
20918
|
+
proto.sniipuserservice.MarkAsBusinessReq.serializeBinaryToWriter
|
|
20919
|
+
);
|
|
20920
|
+
}
|
|
20921
|
+
};
|
|
20922
|
+
|
|
20923
|
+
|
|
20924
|
+
/**
|
|
20925
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
20926
|
+
* @return {!proto.sniipuserservice.MarkUserAsBusinessRequest} The clone.
|
|
20927
|
+
*/
|
|
20928
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.prototype.cloneMessage = function() {
|
|
20929
|
+
return /** @type {!proto.sniipuserservice.MarkUserAsBusinessRequest} */ (jspb.Message.cloneMessage(this));
|
|
20930
|
+
};
|
|
20931
|
+
|
|
20932
|
+
|
|
20933
|
+
/**
|
|
20934
|
+
* optional MarkAsBusinessReq data = 1;
|
|
20935
|
+
* @return {proto.sniipuserservice.MarkAsBusinessReq}
|
|
20936
|
+
*/
|
|
20937
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.prototype.getData = function() {
|
|
20938
|
+
return /** @type{proto.sniipuserservice.MarkAsBusinessReq} */ (
|
|
20939
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.MarkAsBusinessReq, 1));
|
|
20940
|
+
};
|
|
20941
|
+
|
|
20942
|
+
|
|
20943
|
+
/** @param {proto.sniipuserservice.MarkAsBusinessReq|undefined} value */
|
|
20944
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.prototype.setData = function(value) {
|
|
20945
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
20946
|
+
};
|
|
20947
|
+
|
|
20948
|
+
|
|
20949
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.prototype.clearData = function() {
|
|
20950
|
+
this.setData(undefined);
|
|
20951
|
+
};
|
|
20952
|
+
|
|
20953
|
+
|
|
20954
|
+
/**
|
|
20955
|
+
* Returns whether this field is set.
|
|
20956
|
+
* @return{!boolean}
|
|
20957
|
+
*/
|
|
20958
|
+
proto.sniipuserservice.MarkUserAsBusinessRequest.prototype.hasData = function() {
|
|
20959
|
+
return jspb.Message.getField(this, 1) != null;
|
|
20960
|
+
};
|
|
20961
|
+
|
|
20962
|
+
|
|
20963
|
+
|
|
20598
20964
|
/**
|
|
20599
20965
|
* Generated by JsPbCodeGenerator.
|
|
20600
20966
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -36615,7 +36981,8 @@ proto.sniipuserservice.UserProfile.toObject = function(includeInstance, msg) {
|
|
|
36615
36981
|
legalfirstname: msg.getLegalfirstname(),
|
|
36616
36982
|
istestuser: msg.getIstestuser(),
|
|
36617
36983
|
abnnumber: msg.getAbnnumber(),
|
|
36618
|
-
abnentityname: msg.getAbnentityname()
|
|
36984
|
+
abnentityname: msg.getAbnentityname(),
|
|
36985
|
+
markedasbusiness: msg.getMarkedasbusiness()
|
|
36619
36986
|
};
|
|
36620
36987
|
|
|
36621
36988
|
if (includeInstance) {
|
|
@@ -36754,6 +37121,10 @@ proto.sniipuserservice.UserProfile.deserializeBinaryFromReader = function(msg, r
|
|
|
36754
37121
|
var value = /** @type {string} */ (reader.readString());
|
|
36755
37122
|
msg.setAbnentityname(value);
|
|
36756
37123
|
break;
|
|
37124
|
+
case 26:
|
|
37125
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
37126
|
+
msg.setMarkedasbusiness(value);
|
|
37127
|
+
break;
|
|
36757
37128
|
default:
|
|
36758
37129
|
reader.skipField();
|
|
36759
37130
|
break;
|
|
@@ -36968,6 +37339,13 @@ proto.sniipuserservice.UserProfile.prototype.serializeBinaryToWriter = function
|
|
|
36968
37339
|
f
|
|
36969
37340
|
);
|
|
36970
37341
|
}
|
|
37342
|
+
f = this.getMarkedasbusiness();
|
|
37343
|
+
if (f) {
|
|
37344
|
+
writer.writeBool(
|
|
37345
|
+
26,
|
|
37346
|
+
f
|
|
37347
|
+
);
|
|
37348
|
+
}
|
|
36971
37349
|
};
|
|
36972
37350
|
|
|
36973
37351
|
|
|
@@ -37379,6 +37757,23 @@ proto.sniipuserservice.UserProfile.prototype.setAbnentityname = function(value)
|
|
|
37379
37757
|
};
|
|
37380
37758
|
|
|
37381
37759
|
|
|
37760
|
+
/**
|
|
37761
|
+
* optional bool markedAsBusiness = 26;
|
|
37762
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
37763
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
37764
|
+
* @return {boolean}
|
|
37765
|
+
*/
|
|
37766
|
+
proto.sniipuserservice.UserProfile.prototype.getMarkedasbusiness = function() {
|
|
37767
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 26, false));
|
|
37768
|
+
};
|
|
37769
|
+
|
|
37770
|
+
|
|
37771
|
+
/** @param {boolean} value */
|
|
37772
|
+
proto.sniipuserservice.UserProfile.prototype.setMarkedasbusiness = function(value) {
|
|
37773
|
+
jspb.Message.setField(this, 26, value);
|
|
37774
|
+
};
|
|
37775
|
+
|
|
37776
|
+
|
|
37382
37777
|
|
|
37383
37778
|
/**
|
|
37384
37779
|
* Generated by JsPbCodeGenerator.
|