@sniipwebmaster/user-service-client-grpcweb 22.11.7968 → 22.12.7989
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.
|
@@ -4554,6 +4554,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.isEmailVer
|
|
|
4554
4554
|
};
|
|
4555
4555
|
|
|
4556
4556
|
|
|
4557
|
+
/**
|
|
4558
|
+
* @const
|
|
4559
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4560
|
+
* !proto.sniipuserservice.IsPhoneValidRequest,
|
|
4561
|
+
* !proto.sniipuserservice.IsPhoneValidResponse>}
|
|
4562
|
+
*/
|
|
4563
|
+
const methodDescriptor_SniipUserServiceService_IsPhoneValid = new grpc.web.MethodDescriptor(
|
|
4564
|
+
'/sniipuserservice.SniipUserServiceService/IsPhoneValid',
|
|
4565
|
+
grpc.web.MethodType.UNARY,
|
|
4566
|
+
proto.sniipuserservice.IsPhoneValidRequest,
|
|
4567
|
+
proto.sniipuserservice.IsPhoneValidResponse,
|
|
4568
|
+
/**
|
|
4569
|
+
* @param {!proto.sniipuserservice.IsPhoneValidRequest} request
|
|
4570
|
+
* @return {!Uint8Array}
|
|
4571
|
+
*/
|
|
4572
|
+
function(request) {
|
|
4573
|
+
return request.serializeBinary();
|
|
4574
|
+
},
|
|
4575
|
+
proto.sniipuserservice.IsPhoneValidResponse.deserializeBinary
|
|
4576
|
+
);
|
|
4577
|
+
|
|
4578
|
+
|
|
4579
|
+
/**
|
|
4580
|
+
* @const
|
|
4581
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
4582
|
+
* !proto.sniipuserservice.IsPhoneValidRequest,
|
|
4583
|
+
* !proto.sniipuserservice.IsPhoneValidResponse>}
|
|
4584
|
+
*/
|
|
4585
|
+
const methodInfo_SniipUserServiceService_IsPhoneValid = new grpc.web.AbstractClientBase.MethodInfo(
|
|
4586
|
+
proto.sniipuserservice.IsPhoneValidResponse,
|
|
4587
|
+
/**
|
|
4588
|
+
* @param {!proto.sniipuserservice.IsPhoneValidRequest} request
|
|
4589
|
+
* @return {!Uint8Array}
|
|
4590
|
+
*/
|
|
4591
|
+
function(request) {
|
|
4592
|
+
return request.serializeBinary();
|
|
4593
|
+
},
|
|
4594
|
+
proto.sniipuserservice.IsPhoneValidResponse.deserializeBinary
|
|
4595
|
+
);
|
|
4596
|
+
|
|
4597
|
+
|
|
4598
|
+
/**
|
|
4599
|
+
* @param {!proto.sniipuserservice.IsPhoneValidRequest} request The
|
|
4600
|
+
* request proto
|
|
4601
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4602
|
+
* call metadata
|
|
4603
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.IsPhoneValidResponse)}
|
|
4604
|
+
* callback The callback function(error, response)
|
|
4605
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.IsPhoneValidResponse>|undefined}
|
|
4606
|
+
* The XHR Node Readable Stream
|
|
4607
|
+
*/
|
|
4608
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.isPhoneValid =
|
|
4609
|
+
function(request, metadata, callback) {
|
|
4610
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4611
|
+
'/sniipuserservice.SniipUserServiceService/IsPhoneValid',
|
|
4612
|
+
request,
|
|
4613
|
+
metadata || {},
|
|
4614
|
+
methodDescriptor_SniipUserServiceService_IsPhoneValid,
|
|
4615
|
+
callback);
|
|
4616
|
+
};
|
|
4617
|
+
|
|
4618
|
+
|
|
4619
|
+
/**
|
|
4620
|
+
* @param {!proto.sniipuserservice.IsPhoneValidRequest} request The
|
|
4621
|
+
* request proto
|
|
4622
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4623
|
+
* call metadata
|
|
4624
|
+
* @return {!Promise<!proto.sniipuserservice.IsPhoneValidResponse>}
|
|
4625
|
+
* Promise that resolves to the response
|
|
4626
|
+
*/
|
|
4627
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.isPhoneValid =
|
|
4628
|
+
function(request, metadata) {
|
|
4629
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4630
|
+
'/sniipuserservice.SniipUserServiceService/IsPhoneValid',
|
|
4631
|
+
request,
|
|
4632
|
+
metadata || {},
|
|
4633
|
+
methodDescriptor_SniipUserServiceService_IsPhoneValid);
|
|
4634
|
+
};
|
|
4635
|
+
|
|
4636
|
+
|
|
4557
4637
|
/**
|
|
4558
4638
|
* @const
|
|
4559
4639
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -81,6 +81,8 @@ goog.exportSymbol('proto.sniipuserservice.GetUserDevicesHistoryResponse', null,
|
|
|
81
81
|
goog.exportSymbol('proto.sniipuserservice.GiveFeedbackRequest', null, global);
|
|
82
82
|
goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedRequest', null, global);
|
|
83
83
|
goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedResponse', null, global);
|
|
84
|
+
goog.exportSymbol('proto.sniipuserservice.IsPhoneValidRequest', null, global);
|
|
85
|
+
goog.exportSymbol('proto.sniipuserservice.IsPhoneValidResponse', null, global);
|
|
84
86
|
goog.exportSymbol('proto.sniipuserservice.KycUser', null, global);
|
|
85
87
|
goog.exportSymbol('proto.sniipuserservice.KycUserStatus', null, global);
|
|
86
88
|
goog.exportSymbol('proto.sniipuserservice.KycUserStatusUpdateRequest', null, global);
|
|
@@ -16643,6 +16645,399 @@ proto.sniipuserservice.IsEmailVerifiedResponse.prototype.hasResponsecode = funct
|
|
|
16643
16645
|
|
|
16644
16646
|
|
|
16645
16647
|
|
|
16648
|
+
/**
|
|
16649
|
+
* Generated by JsPbCodeGenerator.
|
|
16650
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
16651
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
16652
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
16653
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
16654
|
+
* valid.
|
|
16655
|
+
* @extends {jspb.Message}
|
|
16656
|
+
* @constructor
|
|
16657
|
+
*/
|
|
16658
|
+
proto.sniipuserservice.IsPhoneValidRequest = function(opt_data) {
|
|
16659
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
16660
|
+
};
|
|
16661
|
+
goog.inherits(proto.sniipuserservice.IsPhoneValidRequest, jspb.Message);
|
|
16662
|
+
if (goog.DEBUG && !COMPILED) {
|
|
16663
|
+
proto.sniipuserservice.IsPhoneValidRequest.displayName = 'proto.sniipuserservice.IsPhoneValidRequest';
|
|
16664
|
+
}
|
|
16665
|
+
|
|
16666
|
+
|
|
16667
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16668
|
+
/**
|
|
16669
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
16670
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16671
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16672
|
+
* For the list of reserved names please see:
|
|
16673
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
16674
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
16675
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
16676
|
+
* @return {!Object}
|
|
16677
|
+
*/
|
|
16678
|
+
proto.sniipuserservice.IsPhoneValidRequest.prototype.toObject = function(opt_includeInstance) {
|
|
16679
|
+
return proto.sniipuserservice.IsPhoneValidRequest.toObject(opt_includeInstance, this);
|
|
16680
|
+
};
|
|
16681
|
+
|
|
16682
|
+
|
|
16683
|
+
/**
|
|
16684
|
+
* Static version of the {@see toObject} method.
|
|
16685
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
16686
|
+
* instance for transitional soy proto support:
|
|
16687
|
+
* http://goto/soy-param-migration
|
|
16688
|
+
* @param {!proto.sniipuserservice.IsPhoneValidRequest} msg The msg instance to transform.
|
|
16689
|
+
* @return {!Object}
|
|
16690
|
+
*/
|
|
16691
|
+
proto.sniipuserservice.IsPhoneValidRequest.toObject = function(includeInstance, msg) {
|
|
16692
|
+
var f, obj = {
|
|
16693
|
+
userid: msg.getUserid()
|
|
16694
|
+
};
|
|
16695
|
+
|
|
16696
|
+
if (includeInstance) {
|
|
16697
|
+
obj.$jspbMessageInstance = msg;
|
|
16698
|
+
}
|
|
16699
|
+
return obj;
|
|
16700
|
+
};
|
|
16701
|
+
}
|
|
16702
|
+
|
|
16703
|
+
|
|
16704
|
+
/**
|
|
16705
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16706
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16707
|
+
* @return {!proto.sniipuserservice.IsPhoneValidRequest}
|
|
16708
|
+
*/
|
|
16709
|
+
proto.sniipuserservice.IsPhoneValidRequest.deserializeBinary = function(bytes) {
|
|
16710
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16711
|
+
var msg = new proto.sniipuserservice.IsPhoneValidRequest;
|
|
16712
|
+
return proto.sniipuserservice.IsPhoneValidRequest.deserializeBinaryFromReader(msg, reader);
|
|
16713
|
+
};
|
|
16714
|
+
|
|
16715
|
+
|
|
16716
|
+
/**
|
|
16717
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16718
|
+
* given reader into the given message object.
|
|
16719
|
+
* @param {!proto.sniipuserservice.IsPhoneValidRequest} msg The message object to deserialize into.
|
|
16720
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16721
|
+
* @return {!proto.sniipuserservice.IsPhoneValidRequest}
|
|
16722
|
+
*/
|
|
16723
|
+
proto.sniipuserservice.IsPhoneValidRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
16724
|
+
while (reader.nextField()) {
|
|
16725
|
+
if (reader.isEndGroup()) {
|
|
16726
|
+
break;
|
|
16727
|
+
}
|
|
16728
|
+
var field = reader.getFieldNumber();
|
|
16729
|
+
switch (field) {
|
|
16730
|
+
case 1:
|
|
16731
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16732
|
+
msg.setUserid(value);
|
|
16733
|
+
break;
|
|
16734
|
+
default:
|
|
16735
|
+
reader.skipField();
|
|
16736
|
+
break;
|
|
16737
|
+
}
|
|
16738
|
+
}
|
|
16739
|
+
return msg;
|
|
16740
|
+
};
|
|
16741
|
+
|
|
16742
|
+
|
|
16743
|
+
/**
|
|
16744
|
+
* Class method variant: serializes the given message to binary data
|
|
16745
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
16746
|
+
* @param {!proto.sniipuserservice.IsPhoneValidRequest} message
|
|
16747
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16748
|
+
*/
|
|
16749
|
+
proto.sniipuserservice.IsPhoneValidRequest.serializeBinaryToWriter = function(message, writer) {
|
|
16750
|
+
message.serializeBinaryToWriter(writer);
|
|
16751
|
+
};
|
|
16752
|
+
|
|
16753
|
+
|
|
16754
|
+
/**
|
|
16755
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16756
|
+
* @return {!Uint8Array}
|
|
16757
|
+
*/
|
|
16758
|
+
proto.sniipuserservice.IsPhoneValidRequest.prototype.serializeBinary = function() {
|
|
16759
|
+
var writer = new jspb.BinaryWriter();
|
|
16760
|
+
this.serializeBinaryToWriter(writer);
|
|
16761
|
+
return writer.getResultBuffer();
|
|
16762
|
+
};
|
|
16763
|
+
|
|
16764
|
+
|
|
16765
|
+
/**
|
|
16766
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
16767
|
+
* writing to the given BinaryWriter.
|
|
16768
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16769
|
+
*/
|
|
16770
|
+
proto.sniipuserservice.IsPhoneValidRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
16771
|
+
var f = undefined;
|
|
16772
|
+
f = this.getUserid();
|
|
16773
|
+
if (f !== 0) {
|
|
16774
|
+
writer.writeInt64(
|
|
16775
|
+
1,
|
|
16776
|
+
f
|
|
16777
|
+
);
|
|
16778
|
+
}
|
|
16779
|
+
};
|
|
16780
|
+
|
|
16781
|
+
|
|
16782
|
+
/**
|
|
16783
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
16784
|
+
* @return {!proto.sniipuserservice.IsPhoneValidRequest} The clone.
|
|
16785
|
+
*/
|
|
16786
|
+
proto.sniipuserservice.IsPhoneValidRequest.prototype.cloneMessage = function() {
|
|
16787
|
+
return /** @type {!proto.sniipuserservice.IsPhoneValidRequest} */ (jspb.Message.cloneMessage(this));
|
|
16788
|
+
};
|
|
16789
|
+
|
|
16790
|
+
|
|
16791
|
+
/**
|
|
16792
|
+
* optional int64 userId = 1;
|
|
16793
|
+
* @return {number}
|
|
16794
|
+
*/
|
|
16795
|
+
proto.sniipuserservice.IsPhoneValidRequest.prototype.getUserid = function() {
|
|
16796
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
16797
|
+
};
|
|
16798
|
+
|
|
16799
|
+
|
|
16800
|
+
/** @param {number} value */
|
|
16801
|
+
proto.sniipuserservice.IsPhoneValidRequest.prototype.setUserid = function(value) {
|
|
16802
|
+
jspb.Message.setField(this, 1, value);
|
|
16803
|
+
};
|
|
16804
|
+
|
|
16805
|
+
|
|
16806
|
+
|
|
16807
|
+
/**
|
|
16808
|
+
* Generated by JsPbCodeGenerator.
|
|
16809
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
16810
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
16811
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
16812
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
16813
|
+
* valid.
|
|
16814
|
+
* @extends {jspb.Message}
|
|
16815
|
+
* @constructor
|
|
16816
|
+
*/
|
|
16817
|
+
proto.sniipuserservice.IsPhoneValidResponse = function(opt_data) {
|
|
16818
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
16819
|
+
};
|
|
16820
|
+
goog.inherits(proto.sniipuserservice.IsPhoneValidResponse, jspb.Message);
|
|
16821
|
+
if (goog.DEBUG && !COMPILED) {
|
|
16822
|
+
proto.sniipuserservice.IsPhoneValidResponse.displayName = 'proto.sniipuserservice.IsPhoneValidResponse';
|
|
16823
|
+
}
|
|
16824
|
+
|
|
16825
|
+
|
|
16826
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16827
|
+
/**
|
|
16828
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
16829
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16830
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16831
|
+
* For the list of reserved names please see:
|
|
16832
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
16833
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
16834
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
16835
|
+
* @return {!Object}
|
|
16836
|
+
*/
|
|
16837
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.toObject = function(opt_includeInstance) {
|
|
16838
|
+
return proto.sniipuserservice.IsPhoneValidResponse.toObject(opt_includeInstance, this);
|
|
16839
|
+
};
|
|
16840
|
+
|
|
16841
|
+
|
|
16842
|
+
/**
|
|
16843
|
+
* Static version of the {@see toObject} method.
|
|
16844
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
16845
|
+
* instance for transitional soy proto support:
|
|
16846
|
+
* http://goto/soy-param-migration
|
|
16847
|
+
* @param {!proto.sniipuserservice.IsPhoneValidResponse} msg The msg instance to transform.
|
|
16848
|
+
* @return {!Object}
|
|
16849
|
+
*/
|
|
16850
|
+
proto.sniipuserservice.IsPhoneValidResponse.toObject = function(includeInstance, msg) {
|
|
16851
|
+
var f, obj = {
|
|
16852
|
+
hasphone: msg.getHasphone(),
|
|
16853
|
+
isphonevalid: msg.getIsphonevalid(),
|
|
16854
|
+
responsecode: (f = msg.getResponsecode()) && proto.sniipuserservice.ResponseCode.toObject(includeInstance, f)
|
|
16855
|
+
};
|
|
16856
|
+
|
|
16857
|
+
if (includeInstance) {
|
|
16858
|
+
obj.$jspbMessageInstance = msg;
|
|
16859
|
+
}
|
|
16860
|
+
return obj;
|
|
16861
|
+
};
|
|
16862
|
+
}
|
|
16863
|
+
|
|
16864
|
+
|
|
16865
|
+
/**
|
|
16866
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16867
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16868
|
+
* @return {!proto.sniipuserservice.IsPhoneValidResponse}
|
|
16869
|
+
*/
|
|
16870
|
+
proto.sniipuserservice.IsPhoneValidResponse.deserializeBinary = function(bytes) {
|
|
16871
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16872
|
+
var msg = new proto.sniipuserservice.IsPhoneValidResponse;
|
|
16873
|
+
return proto.sniipuserservice.IsPhoneValidResponse.deserializeBinaryFromReader(msg, reader);
|
|
16874
|
+
};
|
|
16875
|
+
|
|
16876
|
+
|
|
16877
|
+
/**
|
|
16878
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16879
|
+
* given reader into the given message object.
|
|
16880
|
+
* @param {!proto.sniipuserservice.IsPhoneValidResponse} msg The message object to deserialize into.
|
|
16881
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16882
|
+
* @return {!proto.sniipuserservice.IsPhoneValidResponse}
|
|
16883
|
+
*/
|
|
16884
|
+
proto.sniipuserservice.IsPhoneValidResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
16885
|
+
while (reader.nextField()) {
|
|
16886
|
+
if (reader.isEndGroup()) {
|
|
16887
|
+
break;
|
|
16888
|
+
}
|
|
16889
|
+
var field = reader.getFieldNumber();
|
|
16890
|
+
switch (field) {
|
|
16891
|
+
case 1:
|
|
16892
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
16893
|
+
msg.setHasphone(value);
|
|
16894
|
+
break;
|
|
16895
|
+
case 2:
|
|
16896
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
16897
|
+
msg.setIsphonevalid(value);
|
|
16898
|
+
break;
|
|
16899
|
+
case 3:
|
|
16900
|
+
var value = new proto.sniipuserservice.ResponseCode;
|
|
16901
|
+
reader.readMessage(value,proto.sniipuserservice.ResponseCode.deserializeBinaryFromReader);
|
|
16902
|
+
msg.setResponsecode(value);
|
|
16903
|
+
break;
|
|
16904
|
+
default:
|
|
16905
|
+
reader.skipField();
|
|
16906
|
+
break;
|
|
16907
|
+
}
|
|
16908
|
+
}
|
|
16909
|
+
return msg;
|
|
16910
|
+
};
|
|
16911
|
+
|
|
16912
|
+
|
|
16913
|
+
/**
|
|
16914
|
+
* Class method variant: serializes the given message to binary data
|
|
16915
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
16916
|
+
* @param {!proto.sniipuserservice.IsPhoneValidResponse} message
|
|
16917
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16918
|
+
*/
|
|
16919
|
+
proto.sniipuserservice.IsPhoneValidResponse.serializeBinaryToWriter = function(message, writer) {
|
|
16920
|
+
message.serializeBinaryToWriter(writer);
|
|
16921
|
+
};
|
|
16922
|
+
|
|
16923
|
+
|
|
16924
|
+
/**
|
|
16925
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16926
|
+
* @return {!Uint8Array}
|
|
16927
|
+
*/
|
|
16928
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.serializeBinary = function() {
|
|
16929
|
+
var writer = new jspb.BinaryWriter();
|
|
16930
|
+
this.serializeBinaryToWriter(writer);
|
|
16931
|
+
return writer.getResultBuffer();
|
|
16932
|
+
};
|
|
16933
|
+
|
|
16934
|
+
|
|
16935
|
+
/**
|
|
16936
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
16937
|
+
* writing to the given BinaryWriter.
|
|
16938
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16939
|
+
*/
|
|
16940
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.serializeBinaryToWriter = function (writer) {
|
|
16941
|
+
var f = undefined;
|
|
16942
|
+
f = this.getHasphone();
|
|
16943
|
+
if (f) {
|
|
16944
|
+
writer.writeBool(
|
|
16945
|
+
1,
|
|
16946
|
+
f
|
|
16947
|
+
);
|
|
16948
|
+
}
|
|
16949
|
+
f = this.getIsphonevalid();
|
|
16950
|
+
if (f) {
|
|
16951
|
+
writer.writeBool(
|
|
16952
|
+
2,
|
|
16953
|
+
f
|
|
16954
|
+
);
|
|
16955
|
+
}
|
|
16956
|
+
f = this.getResponsecode();
|
|
16957
|
+
if (f != null) {
|
|
16958
|
+
writer.writeMessage(
|
|
16959
|
+
3,
|
|
16960
|
+
f,
|
|
16961
|
+
proto.sniipuserservice.ResponseCode.serializeBinaryToWriter
|
|
16962
|
+
);
|
|
16963
|
+
}
|
|
16964
|
+
};
|
|
16965
|
+
|
|
16966
|
+
|
|
16967
|
+
/**
|
|
16968
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
16969
|
+
* @return {!proto.sniipuserservice.IsPhoneValidResponse} The clone.
|
|
16970
|
+
*/
|
|
16971
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.cloneMessage = function() {
|
|
16972
|
+
return /** @type {!proto.sniipuserservice.IsPhoneValidResponse} */ (jspb.Message.cloneMessage(this));
|
|
16973
|
+
};
|
|
16974
|
+
|
|
16975
|
+
|
|
16976
|
+
/**
|
|
16977
|
+
* optional bool hasPhone = 1;
|
|
16978
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
16979
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
16980
|
+
* @return {boolean}
|
|
16981
|
+
*/
|
|
16982
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.getHasphone = function() {
|
|
16983
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 1, false));
|
|
16984
|
+
};
|
|
16985
|
+
|
|
16986
|
+
|
|
16987
|
+
/** @param {boolean} value */
|
|
16988
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.setHasphone = function(value) {
|
|
16989
|
+
jspb.Message.setField(this, 1, value);
|
|
16990
|
+
};
|
|
16991
|
+
|
|
16992
|
+
|
|
16993
|
+
/**
|
|
16994
|
+
* optional bool isPhoneValid = 2;
|
|
16995
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
16996
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
16997
|
+
* @return {boolean}
|
|
16998
|
+
*/
|
|
16999
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.getIsphonevalid = function() {
|
|
17000
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
|
|
17001
|
+
};
|
|
17002
|
+
|
|
17003
|
+
|
|
17004
|
+
/** @param {boolean} value */
|
|
17005
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.setIsphonevalid = function(value) {
|
|
17006
|
+
jspb.Message.setField(this, 2, value);
|
|
17007
|
+
};
|
|
17008
|
+
|
|
17009
|
+
|
|
17010
|
+
/**
|
|
17011
|
+
* optional ResponseCode responseCode = 3;
|
|
17012
|
+
* @return {proto.sniipuserservice.ResponseCode}
|
|
17013
|
+
*/
|
|
17014
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.getResponsecode = function() {
|
|
17015
|
+
return /** @type{proto.sniipuserservice.ResponseCode} */ (
|
|
17016
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.ResponseCode, 3));
|
|
17017
|
+
};
|
|
17018
|
+
|
|
17019
|
+
|
|
17020
|
+
/** @param {proto.sniipuserservice.ResponseCode|undefined} value */
|
|
17021
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.setResponsecode = function(value) {
|
|
17022
|
+
jspb.Message.setWrapperField(this, 3, value);
|
|
17023
|
+
};
|
|
17024
|
+
|
|
17025
|
+
|
|
17026
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.clearResponsecode = function() {
|
|
17027
|
+
this.setResponsecode(undefined);
|
|
17028
|
+
};
|
|
17029
|
+
|
|
17030
|
+
|
|
17031
|
+
/**
|
|
17032
|
+
* Returns whether this field is set.
|
|
17033
|
+
* @return{!boolean}
|
|
17034
|
+
*/
|
|
17035
|
+
proto.sniipuserservice.IsPhoneValidResponse.prototype.hasResponsecode = function() {
|
|
17036
|
+
return jspb.Message.getField(this, 3) != null;
|
|
17037
|
+
};
|
|
17038
|
+
|
|
17039
|
+
|
|
17040
|
+
|
|
16646
17041
|
/**
|
|
16647
17042
|
* Generated by JsPbCodeGenerator.
|
|
16648
17043
|
* @param {Array=} opt_data Optional initial data array, typically from a
|