@aldiokta/protocgen 1.1.64 → 1.1.66
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.
- package/package.json +1 -1
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +33 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +1764 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +134 -0
- package/prisca/v1/core/auth/auth_pb.js +2542 -834
- package/prisca/v1/core/currency_exchange_rate/currency_exchange_rate_grpc_pb.js +180 -0
- package/prisca/v1/core/currency_exchange_rate/currency_exchange_rate_pb.js +2696 -0
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +33 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +304 -0
- package/prisca/v1/core/subscription/subscription_grpc_pb.js +82 -0
- package/prisca/v1/core/subscription/subscription_pb.js +1713 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +24 -0
- package/prisca/v1/invoice/invoice_pb.js +1102 -108
- package/prisca/v1/purchase_order/purchase_order_pb.js +62 -2
- package/prisca/v1/valuation/valuation_pb.js +93 -3
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +66 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +940 -0
|
@@ -30,6 +30,8 @@ goog.exportSymbol('proto.AccessApiManagersResponse', null, global);
|
|
|
30
30
|
goog.exportSymbol('proto.AccessCreateRequest', null, global);
|
|
31
31
|
goog.exportSymbol('proto.AccessResponse', null, global);
|
|
32
32
|
goog.exportSymbol('proto.AuthVerifyToken', null, global);
|
|
33
|
+
goog.exportSymbol('proto.BlastSetPasswordEmailRequest', null, global);
|
|
34
|
+
goog.exportSymbol('proto.BlastSetPasswordEmailResponse', null, global);
|
|
33
35
|
goog.exportSymbol('proto.ChangePasswordRequest', null, global);
|
|
34
36
|
goog.exportSymbol('proto.ChangePasswordResponse', null, global);
|
|
35
37
|
goog.exportSymbol('proto.CheckCompaniesRequest', null, global);
|
|
@@ -45,15 +47,62 @@ goog.exportSymbol('proto.ListAccessResponse', null, global);
|
|
|
45
47
|
goog.exportSymbol('proto.LoginRequest', null, global);
|
|
46
48
|
goog.exportSymbol('proto.LoginRequestAccessKey', null, global);
|
|
47
49
|
goog.exportSymbol('proto.LoginRequestVendor', null, global);
|
|
50
|
+
goog.exportSymbol('proto.RefreshTokenRequest', null, global);
|
|
51
|
+
goog.exportSymbol('proto.RefreshTokenResponse', null, global);
|
|
48
52
|
goog.exportSymbol('proto.RequestForgotPasswordReq', null, global);
|
|
49
53
|
goog.exportSymbol('proto.RequestForgotResponse', null, global);
|
|
50
54
|
goog.exportSymbol('proto.RequestRegisterVendorReq', null, global);
|
|
51
55
|
goog.exportSymbol('proto.RequestRegisterVendorResponse', null, global);
|
|
56
|
+
goog.exportSymbol('proto.RevokeRefreshTokenRequest', null, global);
|
|
57
|
+
goog.exportSymbol('proto.RevokeRefreshTokenResponse', null, global);
|
|
58
|
+
goog.exportSymbol('proto.SetUserStatusRequest', null, global);
|
|
52
59
|
goog.exportSymbol('proto.UpdateAccessPayload', null, global);
|
|
53
60
|
goog.exportSymbol('proto.UpdateUserPayload', null, global);
|
|
54
61
|
goog.exportSymbol('proto.UserResponse', null, global);
|
|
55
62
|
goog.exportSymbol('proto.ValidateTokenReq', null, global);
|
|
56
63
|
goog.exportSymbol('proto.ValidateTokenRes', null, global);
|
|
64
|
+
/**
|
|
65
|
+
* Generated by JsPbCodeGenerator.
|
|
66
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
67
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
68
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
69
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
70
|
+
* valid.
|
|
71
|
+
* @extends {jspb.Message}
|
|
72
|
+
* @constructor
|
|
73
|
+
*/
|
|
74
|
+
proto.BlastSetPasswordEmailRequest = function(opt_data) {
|
|
75
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.BlastSetPasswordEmailRequest.repeatedFields_, null);
|
|
76
|
+
};
|
|
77
|
+
goog.inherits(proto.BlastSetPasswordEmailRequest, jspb.Message);
|
|
78
|
+
if (goog.DEBUG && !COMPILED) {
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* @override
|
|
82
|
+
*/
|
|
83
|
+
proto.BlastSetPasswordEmailRequest.displayName = 'proto.BlastSetPasswordEmailRequest';
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Generated by JsPbCodeGenerator.
|
|
87
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
88
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
89
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
90
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
91
|
+
* valid.
|
|
92
|
+
* @extends {jspb.Message}
|
|
93
|
+
* @constructor
|
|
94
|
+
*/
|
|
95
|
+
proto.BlastSetPasswordEmailResponse = function(opt_data) {
|
|
96
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.BlastSetPasswordEmailResponse.repeatedFields_, null);
|
|
97
|
+
};
|
|
98
|
+
goog.inherits(proto.BlastSetPasswordEmailResponse, jspb.Message);
|
|
99
|
+
if (goog.DEBUG && !COMPILED) {
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* @override
|
|
103
|
+
*/
|
|
104
|
+
proto.BlastSetPasswordEmailResponse.displayName = 'proto.BlastSetPasswordEmailResponse';
|
|
105
|
+
}
|
|
57
106
|
/**
|
|
58
107
|
* Generated by JsPbCodeGenerator.
|
|
59
108
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -453,6 +502,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
453
502
|
*/
|
|
454
503
|
proto.ChangePasswordRequest.displayName = 'proto.ChangePasswordRequest';
|
|
455
504
|
}
|
|
505
|
+
/**
|
|
506
|
+
* Generated by JsPbCodeGenerator.
|
|
507
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
508
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
509
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
510
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
511
|
+
* valid.
|
|
512
|
+
* @extends {jspb.Message}
|
|
513
|
+
* @constructor
|
|
514
|
+
*/
|
|
515
|
+
proto.RefreshTokenRequest = function(opt_data) {
|
|
516
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
517
|
+
};
|
|
518
|
+
goog.inherits(proto.RefreshTokenRequest, jspb.Message);
|
|
519
|
+
if (goog.DEBUG && !COMPILED) {
|
|
520
|
+
/**
|
|
521
|
+
* @public
|
|
522
|
+
* @override
|
|
523
|
+
*/
|
|
524
|
+
proto.RefreshTokenRequest.displayName = 'proto.RefreshTokenRequest';
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Generated by JsPbCodeGenerator.
|
|
528
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
529
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
530
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
531
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
532
|
+
* valid.
|
|
533
|
+
* @extends {jspb.Message}
|
|
534
|
+
* @constructor
|
|
535
|
+
*/
|
|
536
|
+
proto.RefreshTokenResponse = function(opt_data) {
|
|
537
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
538
|
+
};
|
|
539
|
+
goog.inherits(proto.RefreshTokenResponse, jspb.Message);
|
|
540
|
+
if (goog.DEBUG && !COMPILED) {
|
|
541
|
+
/**
|
|
542
|
+
* @public
|
|
543
|
+
* @override
|
|
544
|
+
*/
|
|
545
|
+
proto.RefreshTokenResponse.displayName = 'proto.RefreshTokenResponse';
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Generated by JsPbCodeGenerator.
|
|
549
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
550
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
551
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
552
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
553
|
+
* valid.
|
|
554
|
+
* @extends {jspb.Message}
|
|
555
|
+
* @constructor
|
|
556
|
+
*/
|
|
557
|
+
proto.RevokeRefreshTokenRequest = function(opt_data) {
|
|
558
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
559
|
+
};
|
|
560
|
+
goog.inherits(proto.RevokeRefreshTokenRequest, jspb.Message);
|
|
561
|
+
if (goog.DEBUG && !COMPILED) {
|
|
562
|
+
/**
|
|
563
|
+
* @public
|
|
564
|
+
* @override
|
|
565
|
+
*/
|
|
566
|
+
proto.RevokeRefreshTokenRequest.displayName = 'proto.RevokeRefreshTokenRequest';
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* Generated by JsPbCodeGenerator.
|
|
570
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
571
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
572
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
573
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
574
|
+
* valid.
|
|
575
|
+
* @extends {jspb.Message}
|
|
576
|
+
* @constructor
|
|
577
|
+
*/
|
|
578
|
+
proto.RevokeRefreshTokenResponse = function(opt_data) {
|
|
579
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
580
|
+
};
|
|
581
|
+
goog.inherits(proto.RevokeRefreshTokenResponse, jspb.Message);
|
|
582
|
+
if (goog.DEBUG && !COMPILED) {
|
|
583
|
+
/**
|
|
584
|
+
* @public
|
|
585
|
+
* @override
|
|
586
|
+
*/
|
|
587
|
+
proto.RevokeRefreshTokenResponse.displayName = 'proto.RevokeRefreshTokenResponse';
|
|
588
|
+
}
|
|
456
589
|
/**
|
|
457
590
|
* Generated by JsPbCodeGenerator.
|
|
458
591
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -474,6 +607,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
474
607
|
*/
|
|
475
608
|
proto.UserResponse.displayName = 'proto.UserResponse';
|
|
476
609
|
}
|
|
610
|
+
/**
|
|
611
|
+
* Generated by JsPbCodeGenerator.
|
|
612
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
613
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
614
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
615
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
616
|
+
* valid.
|
|
617
|
+
* @extends {jspb.Message}
|
|
618
|
+
* @constructor
|
|
619
|
+
*/
|
|
620
|
+
proto.SetUserStatusRequest = function(opt_data) {
|
|
621
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
622
|
+
};
|
|
623
|
+
goog.inherits(proto.SetUserStatusRequest, jspb.Message);
|
|
624
|
+
if (goog.DEBUG && !COMPILED) {
|
|
625
|
+
/**
|
|
626
|
+
* @public
|
|
627
|
+
* @override
|
|
628
|
+
*/
|
|
629
|
+
proto.SetUserStatusRequest.displayName = 'proto.SetUserStatusRequest';
|
|
630
|
+
}
|
|
477
631
|
/**
|
|
478
632
|
* Generated by JsPbCodeGenerator.
|
|
479
633
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -664,6 +818,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
664
818
|
proto.ValidateTokenRes.displayName = 'proto.ValidateTokenRes';
|
|
665
819
|
}
|
|
666
820
|
|
|
821
|
+
/**
|
|
822
|
+
* List of repeated fields within this message type.
|
|
823
|
+
* @private {!Array<number>}
|
|
824
|
+
* @const
|
|
825
|
+
*/
|
|
826
|
+
proto.BlastSetPasswordEmailRequest.repeatedFields_ = [1];
|
|
827
|
+
|
|
667
828
|
|
|
668
829
|
|
|
669
830
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -679,8 +840,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
679
840
|
* http://goto/soy-param-migration
|
|
680
841
|
* @return {!Object}
|
|
681
842
|
*/
|
|
682
|
-
proto.
|
|
683
|
-
return proto.
|
|
843
|
+
proto.BlastSetPasswordEmailRequest.prototype.toObject = function(opt_includeInstance) {
|
|
844
|
+
return proto.BlastSetPasswordEmailRequest.toObject(opt_includeInstance, this);
|
|
684
845
|
};
|
|
685
846
|
|
|
686
847
|
|
|
@@ -689,13 +850,14 @@ proto.ForgotPassworReq.prototype.toObject = function(opt_includeInstance) {
|
|
|
689
850
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
690
851
|
* the JSPB instance for transitional soy proto support:
|
|
691
852
|
* http://goto/soy-param-migration
|
|
692
|
-
* @param {!proto.
|
|
853
|
+
* @param {!proto.BlastSetPasswordEmailRequest} msg The msg instance to transform.
|
|
693
854
|
* @return {!Object}
|
|
694
855
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
695
856
|
*/
|
|
696
|
-
proto.
|
|
857
|
+
proto.BlastSetPasswordEmailRequest.toObject = function(includeInstance, msg) {
|
|
697
858
|
var f, obj = {
|
|
698
|
-
|
|
859
|
+
userReferencesIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
860
|
+
allUnset: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
699
861
|
};
|
|
700
862
|
|
|
701
863
|
if (includeInstance) {
|
|
@@ -709,23 +871,23 @@ password: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
709
871
|
/**
|
|
710
872
|
* Deserializes binary data (in protobuf wire format).
|
|
711
873
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
712
|
-
* @return {!proto.
|
|
874
|
+
* @return {!proto.BlastSetPasswordEmailRequest}
|
|
713
875
|
*/
|
|
714
|
-
proto.
|
|
876
|
+
proto.BlastSetPasswordEmailRequest.deserializeBinary = function(bytes) {
|
|
715
877
|
var reader = new jspb.BinaryReader(bytes);
|
|
716
|
-
var msg = new proto.
|
|
717
|
-
return proto.
|
|
878
|
+
var msg = new proto.BlastSetPasswordEmailRequest;
|
|
879
|
+
return proto.BlastSetPasswordEmailRequest.deserializeBinaryFromReader(msg, reader);
|
|
718
880
|
};
|
|
719
881
|
|
|
720
882
|
|
|
721
883
|
/**
|
|
722
884
|
* Deserializes binary data (in protobuf wire format) from the
|
|
723
885
|
* given reader into the given message object.
|
|
724
|
-
* @param {!proto.
|
|
886
|
+
* @param {!proto.BlastSetPasswordEmailRequest} msg The message object to deserialize into.
|
|
725
887
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
726
|
-
* @return {!proto.
|
|
888
|
+
* @return {!proto.BlastSetPasswordEmailRequest}
|
|
727
889
|
*/
|
|
728
|
-
proto.
|
|
890
|
+
proto.BlastSetPasswordEmailRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
729
891
|
while (reader.nextField()) {
|
|
730
892
|
if (reader.isEndGroup()) {
|
|
731
893
|
break;
|
|
@@ -734,7 +896,11 @@ proto.ForgotPassworReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
734
896
|
switch (field) {
|
|
735
897
|
case 1:
|
|
736
898
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
737
|
-
msg.
|
|
899
|
+
msg.addUserReferencesIds(value);
|
|
900
|
+
break;
|
|
901
|
+
case 2:
|
|
902
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
903
|
+
msg.setAllUnset(value);
|
|
738
904
|
break;
|
|
739
905
|
default:
|
|
740
906
|
reader.skipField();
|
|
@@ -749,9 +915,9 @@ proto.ForgotPassworReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
749
915
|
* Serializes the message to binary data (in protobuf wire format).
|
|
750
916
|
* @return {!Uint8Array}
|
|
751
917
|
*/
|
|
752
|
-
proto.
|
|
918
|
+
proto.BlastSetPasswordEmailRequest.prototype.serializeBinary = function() {
|
|
753
919
|
var writer = new jspb.BinaryWriter();
|
|
754
|
-
proto.
|
|
920
|
+
proto.BlastSetPasswordEmailRequest.serializeBinaryToWriter(this, writer);
|
|
755
921
|
return writer.getResultBuffer();
|
|
756
922
|
};
|
|
757
923
|
|
|
@@ -759,41 +925,92 @@ proto.ForgotPassworReq.prototype.serializeBinary = function() {
|
|
|
759
925
|
/**
|
|
760
926
|
* Serializes the given message to binary data (in protobuf wire
|
|
761
927
|
* format), writing to the given BinaryWriter.
|
|
762
|
-
* @param {!proto.
|
|
928
|
+
* @param {!proto.BlastSetPasswordEmailRequest} message
|
|
763
929
|
* @param {!jspb.BinaryWriter} writer
|
|
764
930
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
765
931
|
*/
|
|
766
|
-
proto.
|
|
932
|
+
proto.BlastSetPasswordEmailRequest.serializeBinaryToWriter = function(message, writer) {
|
|
767
933
|
var f = undefined;
|
|
768
|
-
f = message.
|
|
934
|
+
f = message.getUserReferencesIdsList();
|
|
769
935
|
if (f.length > 0) {
|
|
770
|
-
writer.
|
|
936
|
+
writer.writeRepeatedString(
|
|
771
937
|
1,
|
|
772
938
|
f
|
|
773
939
|
);
|
|
774
940
|
}
|
|
941
|
+
f = message.getAllUnset();
|
|
942
|
+
if (f) {
|
|
943
|
+
writer.writeBool(
|
|
944
|
+
2,
|
|
945
|
+
f
|
|
946
|
+
);
|
|
947
|
+
}
|
|
775
948
|
};
|
|
776
949
|
|
|
777
950
|
|
|
778
951
|
/**
|
|
779
|
-
*
|
|
780
|
-
* @return {string}
|
|
952
|
+
* repeated string user_references_ids = 1;
|
|
953
|
+
* @return {!Array<string>}
|
|
781
954
|
*/
|
|
782
|
-
proto.
|
|
783
|
-
return /** @type {string} */ (jspb.Message.
|
|
955
|
+
proto.BlastSetPasswordEmailRequest.prototype.getUserReferencesIdsList = function() {
|
|
956
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* @param {!Array<string>} value
|
|
962
|
+
* @return {!proto.BlastSetPasswordEmailRequest} returns this
|
|
963
|
+
*/
|
|
964
|
+
proto.BlastSetPasswordEmailRequest.prototype.setUserReferencesIdsList = function(value) {
|
|
965
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
784
966
|
};
|
|
785
967
|
|
|
786
968
|
|
|
787
969
|
/**
|
|
788
970
|
* @param {string} value
|
|
789
|
-
* @
|
|
971
|
+
* @param {number=} opt_index
|
|
972
|
+
* @return {!proto.BlastSetPasswordEmailRequest} returns this
|
|
790
973
|
*/
|
|
791
|
-
proto.
|
|
792
|
-
return jspb.Message.
|
|
974
|
+
proto.BlastSetPasswordEmailRequest.prototype.addUserReferencesIds = function(value, opt_index) {
|
|
975
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
976
|
+
};
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* Clears the list making it empty but non-null.
|
|
981
|
+
* @return {!proto.BlastSetPasswordEmailRequest} returns this
|
|
982
|
+
*/
|
|
983
|
+
proto.BlastSetPasswordEmailRequest.prototype.clearUserReferencesIdsList = function() {
|
|
984
|
+
return this.setUserReferencesIdsList([]);
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* optional bool all_unset = 2;
|
|
990
|
+
* @return {boolean}
|
|
991
|
+
*/
|
|
992
|
+
proto.BlastSetPasswordEmailRequest.prototype.getAllUnset = function() {
|
|
993
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
994
|
+
};
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* @param {boolean} value
|
|
999
|
+
* @return {!proto.BlastSetPasswordEmailRequest} returns this
|
|
1000
|
+
*/
|
|
1001
|
+
proto.BlastSetPasswordEmailRequest.prototype.setAllUnset = function(value) {
|
|
1002
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
793
1003
|
};
|
|
794
1004
|
|
|
795
1005
|
|
|
796
1006
|
|
|
1007
|
+
/**
|
|
1008
|
+
* List of repeated fields within this message type.
|
|
1009
|
+
* @private {!Array<number>}
|
|
1010
|
+
* @const
|
|
1011
|
+
*/
|
|
1012
|
+
proto.BlastSetPasswordEmailResponse.repeatedFields_ = [3,4];
|
|
1013
|
+
|
|
797
1014
|
|
|
798
1015
|
|
|
799
1016
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -809,8 +1026,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
809
1026
|
* http://goto/soy-param-migration
|
|
810
1027
|
* @return {!Object}
|
|
811
1028
|
*/
|
|
812
|
-
proto.
|
|
813
|
-
return proto.
|
|
1029
|
+
proto.BlastSetPasswordEmailResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1030
|
+
return proto.BlastSetPasswordEmailResponse.toObject(opt_includeInstance, this);
|
|
814
1031
|
};
|
|
815
1032
|
|
|
816
1033
|
|
|
@@ -819,13 +1036,17 @@ proto.RequestForgotPasswordReq.prototype.toObject = function(opt_includeInstance
|
|
|
819
1036
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
820
1037
|
* the JSPB instance for transitional soy proto support:
|
|
821
1038
|
* http://goto/soy-param-migration
|
|
822
|
-
* @param {!proto.
|
|
1039
|
+
* @param {!proto.BlastSetPasswordEmailResponse} msg The msg instance to transform.
|
|
823
1040
|
* @return {!Object}
|
|
824
1041
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
825
1042
|
*/
|
|
826
|
-
proto.
|
|
1043
|
+
proto.BlastSetPasswordEmailResponse.toObject = function(includeInstance, msg) {
|
|
827
1044
|
var f, obj = {
|
|
828
|
-
|
|
1045
|
+
sentCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1046
|
+
failedCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1047
|
+
sentEmailsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1048
|
+
failedEmailsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
1049
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
829
1050
|
};
|
|
830
1051
|
|
|
831
1052
|
if (includeInstance) {
|
|
@@ -839,23 +1060,23 @@ email: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
839
1060
|
/**
|
|
840
1061
|
* Deserializes binary data (in protobuf wire format).
|
|
841
1062
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
842
|
-
* @return {!proto.
|
|
1063
|
+
* @return {!proto.BlastSetPasswordEmailResponse}
|
|
843
1064
|
*/
|
|
844
|
-
proto.
|
|
1065
|
+
proto.BlastSetPasswordEmailResponse.deserializeBinary = function(bytes) {
|
|
845
1066
|
var reader = new jspb.BinaryReader(bytes);
|
|
846
|
-
var msg = new proto.
|
|
847
|
-
return proto.
|
|
1067
|
+
var msg = new proto.BlastSetPasswordEmailResponse;
|
|
1068
|
+
return proto.BlastSetPasswordEmailResponse.deserializeBinaryFromReader(msg, reader);
|
|
848
1069
|
};
|
|
849
1070
|
|
|
850
1071
|
|
|
851
1072
|
/**
|
|
852
1073
|
* Deserializes binary data (in protobuf wire format) from the
|
|
853
1074
|
* given reader into the given message object.
|
|
854
|
-
* @param {!proto.
|
|
1075
|
+
* @param {!proto.BlastSetPasswordEmailResponse} msg The message object to deserialize into.
|
|
855
1076
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
856
|
-
* @return {!proto.
|
|
1077
|
+
* @return {!proto.BlastSetPasswordEmailResponse}
|
|
857
1078
|
*/
|
|
858
|
-
proto.
|
|
1079
|
+
proto.BlastSetPasswordEmailResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
859
1080
|
while (reader.nextField()) {
|
|
860
1081
|
if (reader.isEndGroup()) {
|
|
861
1082
|
break;
|
|
@@ -863,8 +1084,25 @@ proto.RequestForgotPasswordReq.deserializeBinaryFromReader = function(msg, reade
|
|
|
863
1084
|
var field = reader.getFieldNumber();
|
|
864
1085
|
switch (field) {
|
|
865
1086
|
case 1:
|
|
1087
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1088
|
+
msg.setSentCount(value);
|
|
1089
|
+
break;
|
|
1090
|
+
case 2:
|
|
1091
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1092
|
+
msg.setFailedCount(value);
|
|
1093
|
+
break;
|
|
1094
|
+
case 3:
|
|
866
1095
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
867
|
-
msg.
|
|
1096
|
+
msg.addSentEmails(value);
|
|
1097
|
+
break;
|
|
1098
|
+
case 4:
|
|
1099
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1100
|
+
msg.addFailedEmails(value);
|
|
1101
|
+
break;
|
|
1102
|
+
case 99:
|
|
1103
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
1104
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
1105
|
+
msg.setMeta(value);
|
|
868
1106
|
break;
|
|
869
1107
|
default:
|
|
870
1108
|
reader.skipField();
|
|
@@ -879,9 +1117,9 @@ proto.RequestForgotPasswordReq.deserializeBinaryFromReader = function(msg, reade
|
|
|
879
1117
|
* Serializes the message to binary data (in protobuf wire format).
|
|
880
1118
|
* @return {!Uint8Array}
|
|
881
1119
|
*/
|
|
882
|
-
proto.
|
|
1120
|
+
proto.BlastSetPasswordEmailResponse.prototype.serializeBinary = function() {
|
|
883
1121
|
var writer = new jspb.BinaryWriter();
|
|
884
|
-
proto.
|
|
1122
|
+
proto.BlastSetPasswordEmailResponse.serializeBinaryToWriter(this, writer);
|
|
885
1123
|
return writer.getResultBuffer();
|
|
886
1124
|
};
|
|
887
1125
|
|
|
@@ -889,178 +1127,185 @@ proto.RequestForgotPasswordReq.prototype.serializeBinary = function() {
|
|
|
889
1127
|
/**
|
|
890
1128
|
* Serializes the given message to binary data (in protobuf wire
|
|
891
1129
|
* format), writing to the given BinaryWriter.
|
|
892
|
-
* @param {!proto.
|
|
1130
|
+
* @param {!proto.BlastSetPasswordEmailResponse} message
|
|
893
1131
|
* @param {!jspb.BinaryWriter} writer
|
|
894
1132
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
895
1133
|
*/
|
|
896
|
-
proto.
|
|
1134
|
+
proto.BlastSetPasswordEmailResponse.serializeBinaryToWriter = function(message, writer) {
|
|
897
1135
|
var f = undefined;
|
|
898
|
-
f = message.
|
|
899
|
-
if (f
|
|
900
|
-
writer.
|
|
1136
|
+
f = message.getSentCount();
|
|
1137
|
+
if (f !== 0) {
|
|
1138
|
+
writer.writeInt32(
|
|
901
1139
|
1,
|
|
902
1140
|
f
|
|
903
1141
|
);
|
|
904
1142
|
}
|
|
1143
|
+
f = message.getFailedCount();
|
|
1144
|
+
if (f !== 0) {
|
|
1145
|
+
writer.writeInt32(
|
|
1146
|
+
2,
|
|
1147
|
+
f
|
|
1148
|
+
);
|
|
1149
|
+
}
|
|
1150
|
+
f = message.getSentEmailsList();
|
|
1151
|
+
if (f.length > 0) {
|
|
1152
|
+
writer.writeRepeatedString(
|
|
1153
|
+
3,
|
|
1154
|
+
f
|
|
1155
|
+
);
|
|
1156
|
+
}
|
|
1157
|
+
f = message.getFailedEmailsList();
|
|
1158
|
+
if (f.length > 0) {
|
|
1159
|
+
writer.writeRepeatedString(
|
|
1160
|
+
4,
|
|
1161
|
+
f
|
|
1162
|
+
);
|
|
1163
|
+
}
|
|
1164
|
+
f = message.getMeta();
|
|
1165
|
+
if (f != null) {
|
|
1166
|
+
writer.writeMessage(
|
|
1167
|
+
99,
|
|
1168
|
+
f,
|
|
1169
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
1170
|
+
);
|
|
1171
|
+
}
|
|
905
1172
|
};
|
|
906
1173
|
|
|
907
1174
|
|
|
908
1175
|
/**
|
|
909
|
-
* optional
|
|
910
|
-
* @return {
|
|
1176
|
+
* optional int32 sent_count = 1;
|
|
1177
|
+
* @return {number}
|
|
911
1178
|
*/
|
|
912
|
-
proto.
|
|
913
|
-
return /** @type {
|
|
1179
|
+
proto.BlastSetPasswordEmailResponse.prototype.getSentCount = function() {
|
|
1180
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
914
1181
|
};
|
|
915
1182
|
|
|
916
1183
|
|
|
917
1184
|
/**
|
|
918
|
-
* @param {
|
|
919
|
-
* @return {!proto.
|
|
1185
|
+
* @param {number} value
|
|
1186
|
+
* @return {!proto.BlastSetPasswordEmailResponse} returns this
|
|
920
1187
|
*/
|
|
921
|
-
proto.
|
|
922
|
-
return jspb.Message.
|
|
1188
|
+
proto.BlastSetPasswordEmailResponse.prototype.setSentCount = function(value) {
|
|
1189
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
923
1190
|
};
|
|
924
1191
|
|
|
925
1192
|
|
|
1193
|
+
/**
|
|
1194
|
+
* optional int32 failed_count = 2;
|
|
1195
|
+
* @return {number}
|
|
1196
|
+
*/
|
|
1197
|
+
proto.BlastSetPasswordEmailResponse.prototype.getFailedCount = function() {
|
|
1198
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
1199
|
+
};
|
|
1200
|
+
|
|
926
1201
|
|
|
1202
|
+
/**
|
|
1203
|
+
* @param {number} value
|
|
1204
|
+
* @return {!proto.BlastSetPasswordEmailResponse} returns this
|
|
1205
|
+
*/
|
|
1206
|
+
proto.BlastSetPasswordEmailResponse.prototype.setFailedCount = function(value) {
|
|
1207
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1208
|
+
};
|
|
927
1209
|
|
|
928
1210
|
|
|
929
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
930
1211
|
/**
|
|
931
|
-
*
|
|
932
|
-
*
|
|
933
|
-
* Optional fields that are not set will be set to undefined.
|
|
934
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
935
|
-
* For the list of reserved names please see:
|
|
936
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
937
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
938
|
-
* JSPB instance for transitional soy proto support:
|
|
939
|
-
* http://goto/soy-param-migration
|
|
940
|
-
* @return {!Object}
|
|
1212
|
+
* repeated string sent_emails = 3;
|
|
1213
|
+
* @return {!Array<string>}
|
|
941
1214
|
*/
|
|
942
|
-
proto.
|
|
943
|
-
return
|
|
1215
|
+
proto.BlastSetPasswordEmailResponse.prototype.getSentEmailsList = function() {
|
|
1216
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
944
1217
|
};
|
|
945
1218
|
|
|
946
1219
|
|
|
947
1220
|
/**
|
|
948
|
-
*
|
|
949
|
-
* @
|
|
950
|
-
* the JSPB instance for transitional soy proto support:
|
|
951
|
-
* http://goto/soy-param-migration
|
|
952
|
-
* @param {!proto.RequestForgotResponse} msg The msg instance to transform.
|
|
953
|
-
* @return {!Object}
|
|
954
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1221
|
+
* @param {!Array<string>} value
|
|
1222
|
+
* @return {!proto.BlastSetPasswordEmailResponse} returns this
|
|
955
1223
|
*/
|
|
956
|
-
proto.
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
};
|
|
1224
|
+
proto.BlastSetPasswordEmailResponse.prototype.setSentEmailsList = function(value) {
|
|
1225
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
1226
|
+
};
|
|
960
1227
|
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* @param {string} value
|
|
1231
|
+
* @param {number=} opt_index
|
|
1232
|
+
* @return {!proto.BlastSetPasswordEmailResponse} returns this
|
|
1233
|
+
*/
|
|
1234
|
+
proto.BlastSetPasswordEmailResponse.prototype.addSentEmails = function(value, opt_index) {
|
|
1235
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
965
1236
|
};
|
|
966
|
-
}
|
|
967
1237
|
|
|
968
1238
|
|
|
969
1239
|
/**
|
|
970
|
-
*
|
|
971
|
-
* @
|
|
972
|
-
* @return {!proto.RequestForgotResponse}
|
|
1240
|
+
* Clears the list making it empty but non-null.
|
|
1241
|
+
* @return {!proto.BlastSetPasswordEmailResponse} returns this
|
|
973
1242
|
*/
|
|
974
|
-
proto.
|
|
975
|
-
|
|
976
|
-
var msg = new proto.RequestForgotResponse;
|
|
977
|
-
return proto.RequestForgotResponse.deserializeBinaryFromReader(msg, reader);
|
|
1243
|
+
proto.BlastSetPasswordEmailResponse.prototype.clearSentEmailsList = function() {
|
|
1244
|
+
return this.setSentEmailsList([]);
|
|
978
1245
|
};
|
|
979
1246
|
|
|
980
1247
|
|
|
981
1248
|
/**
|
|
982
|
-
*
|
|
983
|
-
*
|
|
984
|
-
* @param {!proto.RequestForgotResponse} msg The message object to deserialize into.
|
|
985
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
986
|
-
* @return {!proto.RequestForgotResponse}
|
|
1249
|
+
* repeated string failed_emails = 4;
|
|
1250
|
+
* @return {!Array<string>}
|
|
987
1251
|
*/
|
|
988
|
-
proto.
|
|
989
|
-
|
|
990
|
-
if (reader.isEndGroup()) {
|
|
991
|
-
break;
|
|
992
|
-
}
|
|
993
|
-
var field = reader.getFieldNumber();
|
|
994
|
-
switch (field) {
|
|
995
|
-
case 1:
|
|
996
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
997
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
998
|
-
msg.setMeta(value);
|
|
999
|
-
break;
|
|
1000
|
-
default:
|
|
1001
|
-
reader.skipField();
|
|
1002
|
-
break;
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
return msg;
|
|
1252
|
+
proto.BlastSetPasswordEmailResponse.prototype.getFailedEmailsList = function() {
|
|
1253
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
1006
1254
|
};
|
|
1007
1255
|
|
|
1008
1256
|
|
|
1009
1257
|
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @return {!
|
|
1258
|
+
* @param {!Array<string>} value
|
|
1259
|
+
* @return {!proto.BlastSetPasswordEmailResponse} returns this
|
|
1012
1260
|
*/
|
|
1013
|
-
proto.
|
|
1014
|
-
|
|
1015
|
-
proto.RequestForgotResponse.serializeBinaryToWriter(this, writer);
|
|
1016
|
-
return writer.getResultBuffer();
|
|
1261
|
+
proto.BlastSetPasswordEmailResponse.prototype.setFailedEmailsList = function(value) {
|
|
1262
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
1017
1263
|
};
|
|
1018
1264
|
|
|
1019
1265
|
|
|
1020
1266
|
/**
|
|
1021
|
-
*
|
|
1022
|
-
*
|
|
1023
|
-
* @
|
|
1024
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1025
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1267
|
+
* @param {string} value
|
|
1268
|
+
* @param {number=} opt_index
|
|
1269
|
+
* @return {!proto.BlastSetPasswordEmailResponse} returns this
|
|
1026
1270
|
*/
|
|
1027
|
-
proto.
|
|
1028
|
-
|
|
1029
|
-
f = message.getMeta();
|
|
1030
|
-
if (f != null) {
|
|
1031
|
-
writer.writeMessage(
|
|
1032
|
-
1,
|
|
1033
|
-
f,
|
|
1034
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
1035
|
-
);
|
|
1036
|
-
}
|
|
1271
|
+
proto.BlastSetPasswordEmailResponse.prototype.addFailedEmails = function(value, opt_index) {
|
|
1272
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
1037
1273
|
};
|
|
1038
1274
|
|
|
1039
1275
|
|
|
1040
1276
|
/**
|
|
1041
|
-
*
|
|
1277
|
+
* Clears the list making it empty but non-null.
|
|
1278
|
+
* @return {!proto.BlastSetPasswordEmailResponse} returns this
|
|
1279
|
+
*/
|
|
1280
|
+
proto.BlastSetPasswordEmailResponse.prototype.clearFailedEmailsList = function() {
|
|
1281
|
+
return this.setFailedEmailsList([]);
|
|
1282
|
+
};
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* optional prisca.v1.global.meta.Meta meta = 99;
|
|
1042
1287
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1043
1288
|
*/
|
|
1044
|
-
proto.
|
|
1289
|
+
proto.BlastSetPasswordEmailResponse.prototype.getMeta = function() {
|
|
1045
1290
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1046
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta,
|
|
1291
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 99));
|
|
1047
1292
|
};
|
|
1048
1293
|
|
|
1049
1294
|
|
|
1050
1295
|
/**
|
|
1051
1296
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1052
|
-
* @return {!proto.
|
|
1297
|
+
* @return {!proto.BlastSetPasswordEmailResponse} returns this
|
|
1053
1298
|
*/
|
|
1054
|
-
proto.
|
|
1055
|
-
return jspb.Message.setWrapperField(this,
|
|
1299
|
+
proto.BlastSetPasswordEmailResponse.prototype.setMeta = function(value) {
|
|
1300
|
+
return jspb.Message.setWrapperField(this, 99, value);
|
|
1056
1301
|
};
|
|
1057
1302
|
|
|
1058
1303
|
|
|
1059
1304
|
/**
|
|
1060
1305
|
* Clears the message field making it undefined.
|
|
1061
|
-
* @return {!proto.
|
|
1306
|
+
* @return {!proto.BlastSetPasswordEmailResponse} returns this
|
|
1062
1307
|
*/
|
|
1063
|
-
proto.
|
|
1308
|
+
proto.BlastSetPasswordEmailResponse.prototype.clearMeta = function() {
|
|
1064
1309
|
return this.setMeta(undefined);
|
|
1065
1310
|
};
|
|
1066
1311
|
|
|
@@ -1069,8 +1314,8 @@ proto.RequestForgotResponse.prototype.clearMeta = function() {
|
|
|
1069
1314
|
* Returns whether this field is set.
|
|
1070
1315
|
* @return {boolean}
|
|
1071
1316
|
*/
|
|
1072
|
-
proto.
|
|
1073
|
-
return jspb.Message.getField(this,
|
|
1317
|
+
proto.BlastSetPasswordEmailResponse.prototype.hasMeta = function() {
|
|
1318
|
+
return jspb.Message.getField(this, 99) != null;
|
|
1074
1319
|
};
|
|
1075
1320
|
|
|
1076
1321
|
|
|
@@ -1090,8 +1335,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1090
1335
|
* http://goto/soy-param-migration
|
|
1091
1336
|
* @return {!Object}
|
|
1092
1337
|
*/
|
|
1093
|
-
proto.
|
|
1094
|
-
return proto.
|
|
1338
|
+
proto.ForgotPassworReq.prototype.toObject = function(opt_includeInstance) {
|
|
1339
|
+
return proto.ForgotPassworReq.toObject(opt_includeInstance, this);
|
|
1095
1340
|
};
|
|
1096
1341
|
|
|
1097
1342
|
|
|
@@ -1100,14 +1345,13 @@ proto.LoginRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
1100
1345
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1101
1346
|
* the JSPB instance for transitional soy proto support:
|
|
1102
1347
|
* http://goto/soy-param-migration
|
|
1103
|
-
* @param {!proto.
|
|
1348
|
+
* @param {!proto.ForgotPassworReq} msg The msg instance to transform.
|
|
1104
1349
|
* @return {!Object}
|
|
1105
1350
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1106
1351
|
*/
|
|
1107
|
-
proto.
|
|
1352
|
+
proto.ForgotPassworReq.toObject = function(includeInstance, msg) {
|
|
1108
1353
|
var f, obj = {
|
|
1109
|
-
|
|
1110
|
-
password: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1354
|
+
password: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1111
1355
|
};
|
|
1112
1356
|
|
|
1113
1357
|
if (includeInstance) {
|
|
@@ -1121,23 +1365,23 @@ password: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
|
1121
1365
|
/**
|
|
1122
1366
|
* Deserializes binary data (in protobuf wire format).
|
|
1123
1367
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1124
|
-
* @return {!proto.
|
|
1368
|
+
* @return {!proto.ForgotPassworReq}
|
|
1125
1369
|
*/
|
|
1126
|
-
proto.
|
|
1370
|
+
proto.ForgotPassworReq.deserializeBinary = function(bytes) {
|
|
1127
1371
|
var reader = new jspb.BinaryReader(bytes);
|
|
1128
|
-
var msg = new proto.
|
|
1129
|
-
return proto.
|
|
1372
|
+
var msg = new proto.ForgotPassworReq;
|
|
1373
|
+
return proto.ForgotPassworReq.deserializeBinaryFromReader(msg, reader);
|
|
1130
1374
|
};
|
|
1131
1375
|
|
|
1132
1376
|
|
|
1133
1377
|
/**
|
|
1134
1378
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1135
1379
|
* given reader into the given message object.
|
|
1136
|
-
* @param {!proto.
|
|
1380
|
+
* @param {!proto.ForgotPassworReq} msg The message object to deserialize into.
|
|
1137
1381
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1138
|
-
* @return {!proto.
|
|
1382
|
+
* @return {!proto.ForgotPassworReq}
|
|
1139
1383
|
*/
|
|
1140
|
-
proto.
|
|
1384
|
+
proto.ForgotPassworReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
1141
1385
|
while (reader.nextField()) {
|
|
1142
1386
|
if (reader.isEndGroup()) {
|
|
1143
1387
|
break;
|
|
@@ -1145,10 +1389,6 @@ proto.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1145
1389
|
var field = reader.getFieldNumber();
|
|
1146
1390
|
switch (field) {
|
|
1147
1391
|
case 1:
|
|
1148
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1149
|
-
msg.setEmail(value);
|
|
1150
|
-
break;
|
|
1151
|
-
case 2:
|
|
1152
1392
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1153
1393
|
msg.setPassword(value);
|
|
1154
1394
|
break;
|
|
@@ -1165,9 +1405,9 @@ proto.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1165
1405
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1166
1406
|
* @return {!Uint8Array}
|
|
1167
1407
|
*/
|
|
1168
|
-
proto.
|
|
1408
|
+
proto.ForgotPassworReq.prototype.serializeBinary = function() {
|
|
1169
1409
|
var writer = new jspb.BinaryWriter();
|
|
1170
|
-
proto.
|
|
1410
|
+
proto.ForgotPassworReq.serializeBinaryToWriter(this, writer);
|
|
1171
1411
|
return writer.getResultBuffer();
|
|
1172
1412
|
};
|
|
1173
1413
|
|
|
@@ -1175,23 +1415,16 @@ proto.LoginRequest.prototype.serializeBinary = function() {
|
|
|
1175
1415
|
/**
|
|
1176
1416
|
* Serializes the given message to binary data (in protobuf wire
|
|
1177
1417
|
* format), writing to the given BinaryWriter.
|
|
1178
|
-
* @param {!proto.
|
|
1418
|
+
* @param {!proto.ForgotPassworReq} message
|
|
1179
1419
|
* @param {!jspb.BinaryWriter} writer
|
|
1180
1420
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1181
1421
|
*/
|
|
1182
|
-
proto.
|
|
1422
|
+
proto.ForgotPassworReq.serializeBinaryToWriter = function(message, writer) {
|
|
1183
1423
|
var f = undefined;
|
|
1184
|
-
f = message.getEmail();
|
|
1185
|
-
if (f.length > 0) {
|
|
1186
|
-
writer.writeString(
|
|
1187
|
-
1,
|
|
1188
|
-
f
|
|
1189
|
-
);
|
|
1190
|
-
}
|
|
1191
1424
|
f = message.getPassword();
|
|
1192
1425
|
if (f.length > 0) {
|
|
1193
1426
|
writer.writeString(
|
|
1194
|
-
|
|
1427
|
+
1,
|
|
1195
1428
|
f
|
|
1196
1429
|
);
|
|
1197
1430
|
}
|
|
@@ -1199,41 +1432,23 @@ proto.LoginRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
1199
1432
|
|
|
1200
1433
|
|
|
1201
1434
|
/**
|
|
1202
|
-
* optional string
|
|
1435
|
+
* optional string password = 1;
|
|
1203
1436
|
* @return {string}
|
|
1204
1437
|
*/
|
|
1205
|
-
proto.
|
|
1438
|
+
proto.ForgotPassworReq.prototype.getPassword = function() {
|
|
1206
1439
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1207
1440
|
};
|
|
1208
1441
|
|
|
1209
1442
|
|
|
1210
1443
|
/**
|
|
1211
1444
|
* @param {string} value
|
|
1212
|
-
* @return {!proto.
|
|
1445
|
+
* @return {!proto.ForgotPassworReq} returns this
|
|
1213
1446
|
*/
|
|
1214
|
-
proto.
|
|
1447
|
+
proto.ForgotPassworReq.prototype.setPassword = function(value) {
|
|
1215
1448
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1216
1449
|
};
|
|
1217
1450
|
|
|
1218
1451
|
|
|
1219
|
-
/**
|
|
1220
|
-
* optional string password = 2;
|
|
1221
|
-
* @return {string}
|
|
1222
|
-
*/
|
|
1223
|
-
proto.LoginRequest.prototype.getPassword = function() {
|
|
1224
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1225
|
-
};
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
/**
|
|
1229
|
-
* @param {string} value
|
|
1230
|
-
* @return {!proto.LoginRequest} returns this
|
|
1231
|
-
*/
|
|
1232
|
-
proto.LoginRequest.prototype.setPassword = function(value) {
|
|
1233
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1234
|
-
};
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
1452
|
|
|
1238
1453
|
|
|
1239
1454
|
|
|
@@ -1250,8 +1465,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1250
1465
|
* http://goto/soy-param-migration
|
|
1251
1466
|
* @return {!Object}
|
|
1252
1467
|
*/
|
|
1253
|
-
proto.
|
|
1254
|
-
return proto.
|
|
1468
|
+
proto.RequestForgotPasswordReq.prototype.toObject = function(opt_includeInstance) {
|
|
1469
|
+
return proto.RequestForgotPasswordReq.toObject(opt_includeInstance, this);
|
|
1255
1470
|
};
|
|
1256
1471
|
|
|
1257
1472
|
|
|
@@ -1260,15 +1475,13 @@ proto.LoginRequestVendor.prototype.toObject = function(opt_includeInstance) {
|
|
|
1260
1475
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1261
1476
|
* the JSPB instance for transitional soy proto support:
|
|
1262
1477
|
* http://goto/soy-param-migration
|
|
1263
|
-
* @param {!proto.
|
|
1478
|
+
* @param {!proto.RequestForgotPasswordReq} msg The msg instance to transform.
|
|
1264
1479
|
* @return {!Object}
|
|
1265
1480
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1266
1481
|
*/
|
|
1267
|
-
proto.
|
|
1482
|
+
proto.RequestForgotPasswordReq.toObject = function(includeInstance, msg) {
|
|
1268
1483
|
var f, obj = {
|
|
1269
|
-
email: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1270
|
-
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1271
|
-
vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1484
|
+
email: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1272
1485
|
};
|
|
1273
1486
|
|
|
1274
1487
|
if (includeInstance) {
|
|
@@ -1282,23 +1495,23 @@ vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
|
1282
1495
|
/**
|
|
1283
1496
|
* Deserializes binary data (in protobuf wire format).
|
|
1284
1497
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1285
|
-
* @return {!proto.
|
|
1498
|
+
* @return {!proto.RequestForgotPasswordReq}
|
|
1286
1499
|
*/
|
|
1287
|
-
proto.
|
|
1500
|
+
proto.RequestForgotPasswordReq.deserializeBinary = function(bytes) {
|
|
1288
1501
|
var reader = new jspb.BinaryReader(bytes);
|
|
1289
|
-
var msg = new proto.
|
|
1290
|
-
return proto.
|
|
1502
|
+
var msg = new proto.RequestForgotPasswordReq;
|
|
1503
|
+
return proto.RequestForgotPasswordReq.deserializeBinaryFromReader(msg, reader);
|
|
1291
1504
|
};
|
|
1292
1505
|
|
|
1293
1506
|
|
|
1294
1507
|
/**
|
|
1295
1508
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1296
1509
|
* given reader into the given message object.
|
|
1297
|
-
* @param {!proto.
|
|
1510
|
+
* @param {!proto.RequestForgotPasswordReq} msg The message object to deserialize into.
|
|
1298
1511
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1299
|
-
* @return {!proto.
|
|
1512
|
+
* @return {!proto.RequestForgotPasswordReq}
|
|
1300
1513
|
*/
|
|
1301
|
-
proto.
|
|
1514
|
+
proto.RequestForgotPasswordReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
1302
1515
|
while (reader.nextField()) {
|
|
1303
1516
|
if (reader.isEndGroup()) {
|
|
1304
1517
|
break;
|
|
@@ -1309,14 +1522,6 @@ proto.LoginRequestVendor.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1309
1522
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1310
1523
|
msg.setEmail(value);
|
|
1311
1524
|
break;
|
|
1312
|
-
case 2:
|
|
1313
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1314
|
-
msg.setPassword(value);
|
|
1315
|
-
break;
|
|
1316
|
-
case 3:
|
|
1317
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1318
|
-
msg.setVendorReferencesId(value);
|
|
1319
|
-
break;
|
|
1320
1525
|
default:
|
|
1321
1526
|
reader.skipField();
|
|
1322
1527
|
break;
|
|
@@ -1330,9 +1535,9 @@ proto.LoginRequestVendor.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1330
1535
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1331
1536
|
* @return {!Uint8Array}
|
|
1332
1537
|
*/
|
|
1333
|
-
proto.
|
|
1538
|
+
proto.RequestForgotPasswordReq.prototype.serializeBinary = function() {
|
|
1334
1539
|
var writer = new jspb.BinaryWriter();
|
|
1335
|
-
proto.
|
|
1540
|
+
proto.RequestForgotPasswordReq.serializeBinaryToWriter(this, writer);
|
|
1336
1541
|
return writer.getResultBuffer();
|
|
1337
1542
|
};
|
|
1338
1543
|
|
|
@@ -1340,11 +1545,11 @@ proto.LoginRequestVendor.prototype.serializeBinary = function() {
|
|
|
1340
1545
|
/**
|
|
1341
1546
|
* Serializes the given message to binary data (in protobuf wire
|
|
1342
1547
|
* format), writing to the given BinaryWriter.
|
|
1343
|
-
* @param {!proto.
|
|
1548
|
+
* @param {!proto.RequestForgotPasswordReq} message
|
|
1344
1549
|
* @param {!jspb.BinaryWriter} writer
|
|
1345
1550
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1346
1551
|
*/
|
|
1347
|
-
proto.
|
|
1552
|
+
proto.RequestForgotPasswordReq.serializeBinaryToWriter = function(message, writer) {
|
|
1348
1553
|
var f = undefined;
|
|
1349
1554
|
f = message.getEmail();
|
|
1350
1555
|
if (f.length > 0) {
|
|
@@ -1353,20 +1558,6 @@ proto.LoginRequestVendor.serializeBinaryToWriter = function(message, writer) {
|
|
|
1353
1558
|
f
|
|
1354
1559
|
);
|
|
1355
1560
|
}
|
|
1356
|
-
f = message.getPassword();
|
|
1357
|
-
if (f.length > 0) {
|
|
1358
|
-
writer.writeString(
|
|
1359
|
-
2,
|
|
1360
|
-
f
|
|
1361
|
-
);
|
|
1362
|
-
}
|
|
1363
|
-
f = message.getVendorReferencesId();
|
|
1364
|
-
if (f.length > 0) {
|
|
1365
|
-
writer.writeString(
|
|
1366
|
-
3,
|
|
1367
|
-
f
|
|
1368
|
-
);
|
|
1369
|
-
}
|
|
1370
1561
|
};
|
|
1371
1562
|
|
|
1372
1563
|
|
|
@@ -1374,56 +1565,20 @@ proto.LoginRequestVendor.serializeBinaryToWriter = function(message, writer) {
|
|
|
1374
1565
|
* optional string email = 1;
|
|
1375
1566
|
* @return {string}
|
|
1376
1567
|
*/
|
|
1377
|
-
proto.
|
|
1568
|
+
proto.RequestForgotPasswordReq.prototype.getEmail = function() {
|
|
1378
1569
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1379
1570
|
};
|
|
1380
1571
|
|
|
1381
1572
|
|
|
1382
1573
|
/**
|
|
1383
1574
|
* @param {string} value
|
|
1384
|
-
* @return {!proto.
|
|
1575
|
+
* @return {!proto.RequestForgotPasswordReq} returns this
|
|
1385
1576
|
*/
|
|
1386
|
-
proto.
|
|
1577
|
+
proto.RequestForgotPasswordReq.prototype.setEmail = function(value) {
|
|
1387
1578
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1388
1579
|
};
|
|
1389
1580
|
|
|
1390
1581
|
|
|
1391
|
-
/**
|
|
1392
|
-
* optional string password = 2;
|
|
1393
|
-
* @return {string}
|
|
1394
|
-
*/
|
|
1395
|
-
proto.LoginRequestVendor.prototype.getPassword = function() {
|
|
1396
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1397
|
-
};
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
/**
|
|
1401
|
-
* @param {string} value
|
|
1402
|
-
* @return {!proto.LoginRequestVendor} returns this
|
|
1403
|
-
*/
|
|
1404
|
-
proto.LoginRequestVendor.prototype.setPassword = function(value) {
|
|
1405
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1406
|
-
};
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
/**
|
|
1410
|
-
* optional string vendor_references_id = 3;
|
|
1411
|
-
* @return {string}
|
|
1412
|
-
*/
|
|
1413
|
-
proto.LoginRequestVendor.prototype.getVendorReferencesId = function() {
|
|
1414
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1415
|
-
};
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
/**
|
|
1419
|
-
* @param {string} value
|
|
1420
|
-
* @return {!proto.LoginRequestVendor} returns this
|
|
1421
|
-
*/
|
|
1422
|
-
proto.LoginRequestVendor.prototype.setVendorReferencesId = function(value) {
|
|
1423
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1424
|
-
};
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
1582
|
|
|
1428
1583
|
|
|
1429
1584
|
|
|
@@ -1440,8 +1595,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1440
1595
|
* http://goto/soy-param-migration
|
|
1441
1596
|
* @return {!Object}
|
|
1442
1597
|
*/
|
|
1443
|
-
proto.
|
|
1444
|
-
return proto.
|
|
1598
|
+
proto.RequestForgotResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1599
|
+
return proto.RequestForgotResponse.toObject(opt_includeInstance, this);
|
|
1445
1600
|
};
|
|
1446
1601
|
|
|
1447
1602
|
|
|
@@ -1450,13 +1605,13 @@ proto.LoginRequestAccessKey.prototype.toObject = function(opt_includeInstance) {
|
|
|
1450
1605
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1451
1606
|
* the JSPB instance for transitional soy proto support:
|
|
1452
1607
|
* http://goto/soy-param-migration
|
|
1453
|
-
* @param {!proto.
|
|
1608
|
+
* @param {!proto.RequestForgotResponse} msg The msg instance to transform.
|
|
1454
1609
|
* @return {!Object}
|
|
1455
1610
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1456
1611
|
*/
|
|
1457
|
-
proto.
|
|
1612
|
+
proto.RequestForgotResponse.toObject = function(includeInstance, msg) {
|
|
1458
1613
|
var f, obj = {
|
|
1459
|
-
|
|
1614
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1460
1615
|
};
|
|
1461
1616
|
|
|
1462
1617
|
if (includeInstance) {
|
|
@@ -1470,23 +1625,23 @@ secretKey: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
1470
1625
|
/**
|
|
1471
1626
|
* Deserializes binary data (in protobuf wire format).
|
|
1472
1627
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1473
|
-
* @return {!proto.
|
|
1628
|
+
* @return {!proto.RequestForgotResponse}
|
|
1474
1629
|
*/
|
|
1475
|
-
proto.
|
|
1630
|
+
proto.RequestForgotResponse.deserializeBinary = function(bytes) {
|
|
1476
1631
|
var reader = new jspb.BinaryReader(bytes);
|
|
1477
|
-
var msg = new proto.
|
|
1478
|
-
return proto.
|
|
1632
|
+
var msg = new proto.RequestForgotResponse;
|
|
1633
|
+
return proto.RequestForgotResponse.deserializeBinaryFromReader(msg, reader);
|
|
1479
1634
|
};
|
|
1480
1635
|
|
|
1481
1636
|
|
|
1482
1637
|
/**
|
|
1483
1638
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1484
1639
|
* given reader into the given message object.
|
|
1485
|
-
* @param {!proto.
|
|
1640
|
+
* @param {!proto.RequestForgotResponse} msg The message object to deserialize into.
|
|
1486
1641
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1487
|
-
* @return {!proto.
|
|
1642
|
+
* @return {!proto.RequestForgotResponse}
|
|
1488
1643
|
*/
|
|
1489
|
-
proto.
|
|
1644
|
+
proto.RequestForgotResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1490
1645
|
while (reader.nextField()) {
|
|
1491
1646
|
if (reader.isEndGroup()) {
|
|
1492
1647
|
break;
|
|
@@ -1494,8 +1649,9 @@ proto.LoginRequestAccessKey.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1494
1649
|
var field = reader.getFieldNumber();
|
|
1495
1650
|
switch (field) {
|
|
1496
1651
|
case 1:
|
|
1497
|
-
var value =
|
|
1498
|
-
|
|
1652
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
1653
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
1654
|
+
msg.setMeta(value);
|
|
1499
1655
|
break;
|
|
1500
1656
|
default:
|
|
1501
1657
|
reader.skipField();
|
|
@@ -1510,9 +1666,9 @@ proto.LoginRequestAccessKey.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1510
1666
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1511
1667
|
* @return {!Uint8Array}
|
|
1512
1668
|
*/
|
|
1513
|
-
proto.
|
|
1669
|
+
proto.RequestForgotResponse.prototype.serializeBinary = function() {
|
|
1514
1670
|
var writer = new jspb.BinaryWriter();
|
|
1515
|
-
proto.
|
|
1671
|
+
proto.RequestForgotResponse.serializeBinaryToWriter(this, writer);
|
|
1516
1672
|
return writer.getResultBuffer();
|
|
1517
1673
|
};
|
|
1518
1674
|
|
|
@@ -1520,37 +1676,57 @@ proto.LoginRequestAccessKey.prototype.serializeBinary = function() {
|
|
|
1520
1676
|
/**
|
|
1521
1677
|
* Serializes the given message to binary data (in protobuf wire
|
|
1522
1678
|
* format), writing to the given BinaryWriter.
|
|
1523
|
-
* @param {!proto.
|
|
1679
|
+
* @param {!proto.RequestForgotResponse} message
|
|
1524
1680
|
* @param {!jspb.BinaryWriter} writer
|
|
1525
1681
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1526
1682
|
*/
|
|
1527
|
-
proto.
|
|
1683
|
+
proto.RequestForgotResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1528
1684
|
var f = undefined;
|
|
1529
|
-
f = message.
|
|
1530
|
-
if (f
|
|
1531
|
-
writer.
|
|
1685
|
+
f = message.getMeta();
|
|
1686
|
+
if (f != null) {
|
|
1687
|
+
writer.writeMessage(
|
|
1532
1688
|
1,
|
|
1533
|
-
f
|
|
1689
|
+
f,
|
|
1690
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
1534
1691
|
);
|
|
1535
1692
|
}
|
|
1536
1693
|
};
|
|
1537
1694
|
|
|
1538
1695
|
|
|
1539
1696
|
/**
|
|
1540
|
-
* optional
|
|
1541
|
-
* @return {
|
|
1697
|
+
* optional prisca.v1.global.meta.Meta meta = 1;
|
|
1698
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1542
1699
|
*/
|
|
1543
|
-
proto.
|
|
1544
|
-
return /** @type
|
|
1700
|
+
proto.RequestForgotResponse.prototype.getMeta = function() {
|
|
1701
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1702
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
|
|
1545
1703
|
};
|
|
1546
1704
|
|
|
1547
1705
|
|
|
1548
1706
|
/**
|
|
1549
|
-
* @param {
|
|
1550
|
-
* @return {!proto.
|
|
1707
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1708
|
+
* @return {!proto.RequestForgotResponse} returns this
|
|
1709
|
+
*/
|
|
1710
|
+
proto.RequestForgotResponse.prototype.setMeta = function(value) {
|
|
1711
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1712
|
+
};
|
|
1713
|
+
|
|
1714
|
+
|
|
1715
|
+
/**
|
|
1716
|
+
* Clears the message field making it undefined.
|
|
1717
|
+
* @return {!proto.RequestForgotResponse} returns this
|
|
1551
1718
|
*/
|
|
1552
|
-
proto.
|
|
1553
|
-
return
|
|
1719
|
+
proto.RequestForgotResponse.prototype.clearMeta = function() {
|
|
1720
|
+
return this.setMeta(undefined);
|
|
1721
|
+
};
|
|
1722
|
+
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* Returns whether this field is set.
|
|
1726
|
+
* @return {boolean}
|
|
1727
|
+
*/
|
|
1728
|
+
proto.RequestForgotResponse.prototype.hasMeta = function() {
|
|
1729
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1554
1730
|
};
|
|
1555
1731
|
|
|
1556
1732
|
|
|
@@ -1570,8 +1746,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1570
1746
|
* http://goto/soy-param-migration
|
|
1571
1747
|
* @return {!Object}
|
|
1572
1748
|
*/
|
|
1573
|
-
proto.
|
|
1574
|
-
return proto.
|
|
1749
|
+
proto.LoginRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1750
|
+
return proto.LoginRequest.toObject(opt_includeInstance, this);
|
|
1575
1751
|
};
|
|
1576
1752
|
|
|
1577
1753
|
|
|
@@ -1580,13 +1756,14 @@ proto.CreateUserAccountByVendorRequest.prototype.toObject = function(opt_include
|
|
|
1580
1756
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1581
1757
|
* the JSPB instance for transitional soy proto support:
|
|
1582
1758
|
* http://goto/soy-param-migration
|
|
1583
|
-
* @param {!proto.
|
|
1759
|
+
* @param {!proto.LoginRequest} msg The msg instance to transform.
|
|
1584
1760
|
* @return {!Object}
|
|
1585
1761
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1586
1762
|
*/
|
|
1587
|
-
proto.
|
|
1763
|
+
proto.LoginRequest.toObject = function(includeInstance, msg) {
|
|
1588
1764
|
var f, obj = {
|
|
1589
|
-
|
|
1765
|
+
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1766
|
+
password: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1590
1767
|
};
|
|
1591
1768
|
|
|
1592
1769
|
if (includeInstance) {
|
|
@@ -1600,23 +1777,23 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
1600
1777
|
/**
|
|
1601
1778
|
* Deserializes binary data (in protobuf wire format).
|
|
1602
1779
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1603
|
-
* @return {!proto.
|
|
1780
|
+
* @return {!proto.LoginRequest}
|
|
1604
1781
|
*/
|
|
1605
|
-
proto.
|
|
1782
|
+
proto.LoginRequest.deserializeBinary = function(bytes) {
|
|
1606
1783
|
var reader = new jspb.BinaryReader(bytes);
|
|
1607
|
-
var msg = new proto.
|
|
1608
|
-
return proto.
|
|
1784
|
+
var msg = new proto.LoginRequest;
|
|
1785
|
+
return proto.LoginRequest.deserializeBinaryFromReader(msg, reader);
|
|
1609
1786
|
};
|
|
1610
1787
|
|
|
1611
1788
|
|
|
1612
1789
|
/**
|
|
1613
1790
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1614
1791
|
* given reader into the given message object.
|
|
1615
|
-
* @param {!proto.
|
|
1792
|
+
* @param {!proto.LoginRequest} msg The message object to deserialize into.
|
|
1616
1793
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1617
|
-
* @return {!proto.
|
|
1794
|
+
* @return {!proto.LoginRequest}
|
|
1618
1795
|
*/
|
|
1619
|
-
proto.
|
|
1796
|
+
proto.LoginRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1620
1797
|
while (reader.nextField()) {
|
|
1621
1798
|
if (reader.isEndGroup()) {
|
|
1622
1799
|
break;
|
|
@@ -1625,7 +1802,11 @@ proto.CreateUserAccountByVendorRequest.deserializeBinaryFromReader = function(ms
|
|
|
1625
1802
|
switch (field) {
|
|
1626
1803
|
case 1:
|
|
1627
1804
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1628
|
-
msg.
|
|
1805
|
+
msg.setEmail(value);
|
|
1806
|
+
break;
|
|
1807
|
+
case 2:
|
|
1808
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1809
|
+
msg.setPassword(value);
|
|
1629
1810
|
break;
|
|
1630
1811
|
default:
|
|
1631
1812
|
reader.skipField();
|
|
@@ -1640,9 +1821,9 @@ proto.CreateUserAccountByVendorRequest.deserializeBinaryFromReader = function(ms
|
|
|
1640
1821
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1641
1822
|
* @return {!Uint8Array}
|
|
1642
1823
|
*/
|
|
1643
|
-
proto.
|
|
1824
|
+
proto.LoginRequest.prototype.serializeBinary = function() {
|
|
1644
1825
|
var writer = new jspb.BinaryWriter();
|
|
1645
|
-
proto.
|
|
1826
|
+
proto.LoginRequest.serializeBinaryToWriter(this, writer);
|
|
1646
1827
|
return writer.getResultBuffer();
|
|
1647
1828
|
};
|
|
1648
1829
|
|
|
@@ -1650,40 +1831,65 @@ proto.CreateUserAccountByVendorRequest.prototype.serializeBinary = function() {
|
|
|
1650
1831
|
/**
|
|
1651
1832
|
* Serializes the given message to binary data (in protobuf wire
|
|
1652
1833
|
* format), writing to the given BinaryWriter.
|
|
1653
|
-
* @param {!proto.
|
|
1834
|
+
* @param {!proto.LoginRequest} message
|
|
1654
1835
|
* @param {!jspb.BinaryWriter} writer
|
|
1655
1836
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1656
1837
|
*/
|
|
1657
|
-
proto.
|
|
1838
|
+
proto.LoginRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1658
1839
|
var f = undefined;
|
|
1659
|
-
f = message.
|
|
1840
|
+
f = message.getEmail();
|
|
1660
1841
|
if (f.length > 0) {
|
|
1661
1842
|
writer.writeString(
|
|
1662
1843
|
1,
|
|
1663
1844
|
f
|
|
1664
1845
|
);
|
|
1665
1846
|
}
|
|
1847
|
+
f = message.getPassword();
|
|
1848
|
+
if (f.length > 0) {
|
|
1849
|
+
writer.writeString(
|
|
1850
|
+
2,
|
|
1851
|
+
f
|
|
1852
|
+
);
|
|
1853
|
+
}
|
|
1666
1854
|
};
|
|
1667
1855
|
|
|
1668
1856
|
|
|
1669
1857
|
/**
|
|
1670
|
-
* optional string
|
|
1858
|
+
* optional string email = 1;
|
|
1671
1859
|
* @return {string}
|
|
1672
1860
|
*/
|
|
1673
|
-
proto.
|
|
1861
|
+
proto.LoginRequest.prototype.getEmail = function() {
|
|
1674
1862
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1675
1863
|
};
|
|
1676
1864
|
|
|
1677
1865
|
|
|
1678
1866
|
/**
|
|
1679
1867
|
* @param {string} value
|
|
1680
|
-
* @return {!proto.
|
|
1868
|
+
* @return {!proto.LoginRequest} returns this
|
|
1681
1869
|
*/
|
|
1682
|
-
proto.
|
|
1870
|
+
proto.LoginRequest.prototype.setEmail = function(value) {
|
|
1683
1871
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1684
1872
|
};
|
|
1685
1873
|
|
|
1686
1874
|
|
|
1875
|
+
/**
|
|
1876
|
+
* optional string password = 2;
|
|
1877
|
+
* @return {string}
|
|
1878
|
+
*/
|
|
1879
|
+
proto.LoginRequest.prototype.getPassword = function() {
|
|
1880
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1881
|
+
};
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* @param {string} value
|
|
1886
|
+
* @return {!proto.LoginRequest} returns this
|
|
1887
|
+
*/
|
|
1888
|
+
proto.LoginRequest.prototype.setPassword = function(value) {
|
|
1889
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1890
|
+
};
|
|
1891
|
+
|
|
1892
|
+
|
|
1687
1893
|
|
|
1688
1894
|
|
|
1689
1895
|
|
|
@@ -1700,8 +1906,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1700
1906
|
* http://goto/soy-param-migration
|
|
1701
1907
|
* @return {!Object}
|
|
1702
1908
|
*/
|
|
1703
|
-
proto.
|
|
1704
|
-
return proto.
|
|
1909
|
+
proto.LoginRequestVendor.prototype.toObject = function(opt_includeInstance) {
|
|
1910
|
+
return proto.LoginRequestVendor.toObject(opt_includeInstance, this);
|
|
1705
1911
|
};
|
|
1706
1912
|
|
|
1707
1913
|
|
|
@@ -1710,13 +1916,15 @@ proto.RequestRegisterVendorReq.prototype.toObject = function(opt_includeInstance
|
|
|
1710
1916
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1711
1917
|
* the JSPB instance for transitional soy proto support:
|
|
1712
1918
|
* http://goto/soy-param-migration
|
|
1713
|
-
* @param {!proto.
|
|
1919
|
+
* @param {!proto.LoginRequestVendor} msg The msg instance to transform.
|
|
1714
1920
|
* @return {!Object}
|
|
1715
1921
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1716
1922
|
*/
|
|
1717
|
-
proto.
|
|
1923
|
+
proto.LoginRequestVendor.toObject = function(includeInstance, msg) {
|
|
1718
1924
|
var f, obj = {
|
|
1719
|
-
email: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1925
|
+
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1926
|
+
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1927
|
+
vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1720
1928
|
};
|
|
1721
1929
|
|
|
1722
1930
|
if (includeInstance) {
|
|
@@ -1730,23 +1938,23 @@ email: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
1730
1938
|
/**
|
|
1731
1939
|
* Deserializes binary data (in protobuf wire format).
|
|
1732
1940
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1733
|
-
* @return {!proto.
|
|
1941
|
+
* @return {!proto.LoginRequestVendor}
|
|
1734
1942
|
*/
|
|
1735
|
-
proto.
|
|
1943
|
+
proto.LoginRequestVendor.deserializeBinary = function(bytes) {
|
|
1736
1944
|
var reader = new jspb.BinaryReader(bytes);
|
|
1737
|
-
var msg = new proto.
|
|
1738
|
-
return proto.
|
|
1945
|
+
var msg = new proto.LoginRequestVendor;
|
|
1946
|
+
return proto.LoginRequestVendor.deserializeBinaryFromReader(msg, reader);
|
|
1739
1947
|
};
|
|
1740
1948
|
|
|
1741
1949
|
|
|
1742
1950
|
/**
|
|
1743
1951
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1744
1952
|
* given reader into the given message object.
|
|
1745
|
-
* @param {!proto.
|
|
1953
|
+
* @param {!proto.LoginRequestVendor} msg The message object to deserialize into.
|
|
1746
1954
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1747
|
-
* @return {!proto.
|
|
1955
|
+
* @return {!proto.LoginRequestVendor}
|
|
1748
1956
|
*/
|
|
1749
|
-
proto.
|
|
1957
|
+
proto.LoginRequestVendor.deserializeBinaryFromReader = function(msg, reader) {
|
|
1750
1958
|
while (reader.nextField()) {
|
|
1751
1959
|
if (reader.isEndGroup()) {
|
|
1752
1960
|
break;
|
|
@@ -1757,6 +1965,14 @@ proto.RequestRegisterVendorReq.deserializeBinaryFromReader = function(msg, reade
|
|
|
1757
1965
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1758
1966
|
msg.setEmail(value);
|
|
1759
1967
|
break;
|
|
1968
|
+
case 2:
|
|
1969
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1970
|
+
msg.setPassword(value);
|
|
1971
|
+
break;
|
|
1972
|
+
case 3:
|
|
1973
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1974
|
+
msg.setVendorReferencesId(value);
|
|
1975
|
+
break;
|
|
1760
1976
|
default:
|
|
1761
1977
|
reader.skipField();
|
|
1762
1978
|
break;
|
|
@@ -1770,9 +1986,9 @@ proto.RequestRegisterVendorReq.deserializeBinaryFromReader = function(msg, reade
|
|
|
1770
1986
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1771
1987
|
* @return {!Uint8Array}
|
|
1772
1988
|
*/
|
|
1773
|
-
proto.
|
|
1989
|
+
proto.LoginRequestVendor.prototype.serializeBinary = function() {
|
|
1774
1990
|
var writer = new jspb.BinaryWriter();
|
|
1775
|
-
proto.
|
|
1991
|
+
proto.LoginRequestVendor.serializeBinaryToWriter(this, writer);
|
|
1776
1992
|
return writer.getResultBuffer();
|
|
1777
1993
|
};
|
|
1778
1994
|
|
|
@@ -1780,11 +1996,11 @@ proto.RequestRegisterVendorReq.prototype.serializeBinary = function() {
|
|
|
1780
1996
|
/**
|
|
1781
1997
|
* Serializes the given message to binary data (in protobuf wire
|
|
1782
1998
|
* format), writing to the given BinaryWriter.
|
|
1783
|
-
* @param {!proto.
|
|
1999
|
+
* @param {!proto.LoginRequestVendor} message
|
|
1784
2000
|
* @param {!jspb.BinaryWriter} writer
|
|
1785
2001
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1786
2002
|
*/
|
|
1787
|
-
proto.
|
|
2003
|
+
proto.LoginRequestVendor.serializeBinaryToWriter = function(message, writer) {
|
|
1788
2004
|
var f = undefined;
|
|
1789
2005
|
f = message.getEmail();
|
|
1790
2006
|
if (f.length > 0) {
|
|
@@ -1793,6 +2009,20 @@ proto.RequestRegisterVendorReq.serializeBinaryToWriter = function(message, write
|
|
|
1793
2009
|
f
|
|
1794
2010
|
);
|
|
1795
2011
|
}
|
|
2012
|
+
f = message.getPassword();
|
|
2013
|
+
if (f.length > 0) {
|
|
2014
|
+
writer.writeString(
|
|
2015
|
+
2,
|
|
2016
|
+
f
|
|
2017
|
+
);
|
|
2018
|
+
}
|
|
2019
|
+
f = message.getVendorReferencesId();
|
|
2020
|
+
if (f.length > 0) {
|
|
2021
|
+
writer.writeString(
|
|
2022
|
+
3,
|
|
2023
|
+
f
|
|
2024
|
+
);
|
|
2025
|
+
}
|
|
1796
2026
|
};
|
|
1797
2027
|
|
|
1798
2028
|
|
|
@@ -1800,20 +2030,56 @@ proto.RequestRegisterVendorReq.serializeBinaryToWriter = function(message, write
|
|
|
1800
2030
|
* optional string email = 1;
|
|
1801
2031
|
* @return {string}
|
|
1802
2032
|
*/
|
|
1803
|
-
proto.
|
|
2033
|
+
proto.LoginRequestVendor.prototype.getEmail = function() {
|
|
1804
2034
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1805
2035
|
};
|
|
1806
2036
|
|
|
1807
2037
|
|
|
1808
2038
|
/**
|
|
1809
2039
|
* @param {string} value
|
|
1810
|
-
* @return {!proto.
|
|
2040
|
+
* @return {!proto.LoginRequestVendor} returns this
|
|
1811
2041
|
*/
|
|
1812
|
-
proto.
|
|
2042
|
+
proto.LoginRequestVendor.prototype.setEmail = function(value) {
|
|
1813
2043
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1814
2044
|
};
|
|
1815
2045
|
|
|
1816
2046
|
|
|
2047
|
+
/**
|
|
2048
|
+
* optional string password = 2;
|
|
2049
|
+
* @return {string}
|
|
2050
|
+
*/
|
|
2051
|
+
proto.LoginRequestVendor.prototype.getPassword = function() {
|
|
2052
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2053
|
+
};
|
|
2054
|
+
|
|
2055
|
+
|
|
2056
|
+
/**
|
|
2057
|
+
* @param {string} value
|
|
2058
|
+
* @return {!proto.LoginRequestVendor} returns this
|
|
2059
|
+
*/
|
|
2060
|
+
proto.LoginRequestVendor.prototype.setPassword = function(value) {
|
|
2061
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2062
|
+
};
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* optional string vendor_references_id = 3;
|
|
2067
|
+
* @return {string}
|
|
2068
|
+
*/
|
|
2069
|
+
proto.LoginRequestVendor.prototype.getVendorReferencesId = function() {
|
|
2070
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2071
|
+
};
|
|
2072
|
+
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* @param {string} value
|
|
2076
|
+
* @return {!proto.LoginRequestVendor} returns this
|
|
2077
|
+
*/
|
|
2078
|
+
proto.LoginRequestVendor.prototype.setVendorReferencesId = function(value) {
|
|
2079
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2080
|
+
};
|
|
2081
|
+
|
|
2082
|
+
|
|
1817
2083
|
|
|
1818
2084
|
|
|
1819
2085
|
|
|
@@ -1830,8 +2096,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1830
2096
|
* http://goto/soy-param-migration
|
|
1831
2097
|
* @return {!Object}
|
|
1832
2098
|
*/
|
|
1833
|
-
proto.
|
|
1834
|
-
return proto.
|
|
2099
|
+
proto.LoginRequestAccessKey.prototype.toObject = function(opt_includeInstance) {
|
|
2100
|
+
return proto.LoginRequestAccessKey.toObject(opt_includeInstance, this);
|
|
1835
2101
|
};
|
|
1836
2102
|
|
|
1837
2103
|
|
|
@@ -1840,13 +2106,13 @@ proto.RequestRegisterVendorResponse.prototype.toObject = function(opt_includeIns
|
|
|
1840
2106
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1841
2107
|
* the JSPB instance for transitional soy proto support:
|
|
1842
2108
|
* http://goto/soy-param-migration
|
|
1843
|
-
* @param {!proto.
|
|
2109
|
+
* @param {!proto.LoginRequestAccessKey} msg The msg instance to transform.
|
|
1844
2110
|
* @return {!Object}
|
|
1845
2111
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1846
2112
|
*/
|
|
1847
|
-
proto.
|
|
2113
|
+
proto.LoginRequestAccessKey.toObject = function(includeInstance, msg) {
|
|
1848
2114
|
var f, obj = {
|
|
1849
|
-
|
|
2115
|
+
secretKey: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1850
2116
|
};
|
|
1851
2117
|
|
|
1852
2118
|
if (includeInstance) {
|
|
@@ -1860,23 +2126,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
1860
2126
|
/**
|
|
1861
2127
|
* Deserializes binary data (in protobuf wire format).
|
|
1862
2128
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1863
|
-
* @return {!proto.
|
|
2129
|
+
* @return {!proto.LoginRequestAccessKey}
|
|
1864
2130
|
*/
|
|
1865
|
-
proto.
|
|
2131
|
+
proto.LoginRequestAccessKey.deserializeBinary = function(bytes) {
|
|
1866
2132
|
var reader = new jspb.BinaryReader(bytes);
|
|
1867
|
-
var msg = new proto.
|
|
1868
|
-
return proto.
|
|
2133
|
+
var msg = new proto.LoginRequestAccessKey;
|
|
2134
|
+
return proto.LoginRequestAccessKey.deserializeBinaryFromReader(msg, reader);
|
|
1869
2135
|
};
|
|
1870
2136
|
|
|
1871
2137
|
|
|
1872
2138
|
/**
|
|
1873
2139
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1874
2140
|
* given reader into the given message object.
|
|
1875
|
-
* @param {!proto.
|
|
2141
|
+
* @param {!proto.LoginRequestAccessKey} msg The message object to deserialize into.
|
|
1876
2142
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1877
|
-
* @return {!proto.
|
|
2143
|
+
* @return {!proto.LoginRequestAccessKey}
|
|
1878
2144
|
*/
|
|
1879
|
-
proto.
|
|
2145
|
+
proto.LoginRequestAccessKey.deserializeBinaryFromReader = function(msg, reader) {
|
|
1880
2146
|
while (reader.nextField()) {
|
|
1881
2147
|
if (reader.isEndGroup()) {
|
|
1882
2148
|
break;
|
|
@@ -1884,9 +2150,8 @@ proto.RequestRegisterVendorResponse.deserializeBinaryFromReader = function(msg,
|
|
|
1884
2150
|
var field = reader.getFieldNumber();
|
|
1885
2151
|
switch (field) {
|
|
1886
2152
|
case 1:
|
|
1887
|
-
var value =
|
|
1888
|
-
|
|
1889
|
-
msg.setMeta(value);
|
|
2153
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2154
|
+
msg.setSecretKey(value);
|
|
1890
2155
|
break;
|
|
1891
2156
|
default:
|
|
1892
2157
|
reader.skipField();
|
|
@@ -1901,9 +2166,9 @@ proto.RequestRegisterVendorResponse.deserializeBinaryFromReader = function(msg,
|
|
|
1901
2166
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1902
2167
|
* @return {!Uint8Array}
|
|
1903
2168
|
*/
|
|
1904
|
-
proto.
|
|
2169
|
+
proto.LoginRequestAccessKey.prototype.serializeBinary = function() {
|
|
1905
2170
|
var writer = new jspb.BinaryWriter();
|
|
1906
|
-
proto.
|
|
2171
|
+
proto.LoginRequestAccessKey.serializeBinaryToWriter(this, writer);
|
|
1907
2172
|
return writer.getResultBuffer();
|
|
1908
2173
|
};
|
|
1909
2174
|
|
|
@@ -1911,57 +2176,37 @@ proto.RequestRegisterVendorResponse.prototype.serializeBinary = function() {
|
|
|
1911
2176
|
/**
|
|
1912
2177
|
* Serializes the given message to binary data (in protobuf wire
|
|
1913
2178
|
* format), writing to the given BinaryWriter.
|
|
1914
|
-
* @param {!proto.
|
|
2179
|
+
* @param {!proto.LoginRequestAccessKey} message
|
|
1915
2180
|
* @param {!jspb.BinaryWriter} writer
|
|
1916
2181
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1917
2182
|
*/
|
|
1918
|
-
proto.
|
|
2183
|
+
proto.LoginRequestAccessKey.serializeBinaryToWriter = function(message, writer) {
|
|
1919
2184
|
var f = undefined;
|
|
1920
|
-
f = message.
|
|
1921
|
-
if (f
|
|
1922
|
-
writer.
|
|
2185
|
+
f = message.getSecretKey();
|
|
2186
|
+
if (f.length > 0) {
|
|
2187
|
+
writer.writeString(
|
|
1923
2188
|
1,
|
|
1924
|
-
f
|
|
1925
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2189
|
+
f
|
|
1926
2190
|
);
|
|
1927
2191
|
}
|
|
1928
2192
|
};
|
|
1929
2193
|
|
|
1930
2194
|
|
|
1931
2195
|
/**
|
|
1932
|
-
* optional
|
|
1933
|
-
* @return {
|
|
1934
|
-
*/
|
|
1935
|
-
proto.RequestRegisterVendorResponse.prototype.getMeta = function() {
|
|
1936
|
-
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1937
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
|
|
1938
|
-
};
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
/**
|
|
1942
|
-
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1943
|
-
* @return {!proto.RequestRegisterVendorResponse} returns this
|
|
1944
|
-
*/
|
|
1945
|
-
proto.RequestRegisterVendorResponse.prototype.setMeta = function(value) {
|
|
1946
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
1947
|
-
};
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
/**
|
|
1951
|
-
* Clears the message field making it undefined.
|
|
1952
|
-
* @return {!proto.RequestRegisterVendorResponse} returns this
|
|
2196
|
+
* optional string secret_key = 1;
|
|
2197
|
+
* @return {string}
|
|
1953
2198
|
*/
|
|
1954
|
-
proto.
|
|
1955
|
-
return
|
|
2199
|
+
proto.LoginRequestAccessKey.prototype.getSecretKey = function() {
|
|
2200
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1956
2201
|
};
|
|
1957
2202
|
|
|
1958
2203
|
|
|
1959
2204
|
/**
|
|
1960
|
-
*
|
|
1961
|
-
* @return {
|
|
2205
|
+
* @param {string} value
|
|
2206
|
+
* @return {!proto.LoginRequestAccessKey} returns this
|
|
1962
2207
|
*/
|
|
1963
|
-
proto.
|
|
1964
|
-
return jspb.Message.
|
|
2208
|
+
proto.LoginRequestAccessKey.prototype.setSecretKey = function(value) {
|
|
2209
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1965
2210
|
};
|
|
1966
2211
|
|
|
1967
2212
|
|
|
@@ -1981,8 +2226,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1981
2226
|
* http://goto/soy-param-migration
|
|
1982
2227
|
* @return {!Object}
|
|
1983
2228
|
*/
|
|
1984
|
-
proto.
|
|
1985
|
-
return proto.
|
|
2229
|
+
proto.CreateUserAccountByVendorRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2230
|
+
return proto.CreateUserAccountByVendorRequest.toObject(opt_includeInstance, this);
|
|
1986
2231
|
};
|
|
1987
2232
|
|
|
1988
2233
|
|
|
@@ -1991,14 +2236,13 @@ proto.GetListAccessRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
1991
2236
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1992
2237
|
* the JSPB instance for transitional soy proto support:
|
|
1993
2238
|
* http://goto/soy-param-migration
|
|
1994
|
-
* @param {!proto.
|
|
2239
|
+
* @param {!proto.CreateUserAccountByVendorRequest} msg The msg instance to transform.
|
|
1995
2240
|
* @return {!Object}
|
|
1996
2241
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1997
2242
|
*/
|
|
1998
|
-
proto.
|
|
2243
|
+
proto.CreateUserAccountByVendorRequest.toObject = function(includeInstance, msg) {
|
|
1999
2244
|
var f, obj = {
|
|
2000
|
-
|
|
2001
|
-
offset: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2245
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2002
2246
|
};
|
|
2003
2247
|
|
|
2004
2248
|
if (includeInstance) {
|
|
@@ -2012,23 +2256,23 @@ offset: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
|
2012
2256
|
/**
|
|
2013
2257
|
* Deserializes binary data (in protobuf wire format).
|
|
2014
2258
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2015
|
-
* @return {!proto.
|
|
2259
|
+
* @return {!proto.CreateUserAccountByVendorRequest}
|
|
2016
2260
|
*/
|
|
2017
|
-
proto.
|
|
2261
|
+
proto.CreateUserAccountByVendorRequest.deserializeBinary = function(bytes) {
|
|
2018
2262
|
var reader = new jspb.BinaryReader(bytes);
|
|
2019
|
-
var msg = new proto.
|
|
2020
|
-
return proto.
|
|
2263
|
+
var msg = new proto.CreateUserAccountByVendorRequest;
|
|
2264
|
+
return proto.CreateUserAccountByVendorRequest.deserializeBinaryFromReader(msg, reader);
|
|
2021
2265
|
};
|
|
2022
2266
|
|
|
2023
2267
|
|
|
2024
2268
|
/**
|
|
2025
2269
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2026
2270
|
* given reader into the given message object.
|
|
2027
|
-
* @param {!proto.
|
|
2271
|
+
* @param {!proto.CreateUserAccountByVendorRequest} msg The message object to deserialize into.
|
|
2028
2272
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2029
|
-
* @return {!proto.
|
|
2273
|
+
* @return {!proto.CreateUserAccountByVendorRequest}
|
|
2030
2274
|
*/
|
|
2031
|
-
proto.
|
|
2275
|
+
proto.CreateUserAccountByVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2032
2276
|
while (reader.nextField()) {
|
|
2033
2277
|
if (reader.isEndGroup()) {
|
|
2034
2278
|
break;
|
|
@@ -2036,12 +2280,8 @@ proto.GetListAccessRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2036
2280
|
var field = reader.getFieldNumber();
|
|
2037
2281
|
switch (field) {
|
|
2038
2282
|
case 1:
|
|
2039
|
-
var value = /** @type {
|
|
2040
|
-
msg.
|
|
2041
|
-
break;
|
|
2042
|
-
case 2:
|
|
2043
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
2044
|
-
msg.setOffset(value);
|
|
2283
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2284
|
+
msg.setReferencesId(value);
|
|
2045
2285
|
break;
|
|
2046
2286
|
default:
|
|
2047
2287
|
reader.skipField();
|
|
@@ -2056,9 +2296,9 @@ proto.GetListAccessRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2056
2296
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2057
2297
|
* @return {!Uint8Array}
|
|
2058
2298
|
*/
|
|
2059
|
-
proto.
|
|
2299
|
+
proto.CreateUserAccountByVendorRequest.prototype.serializeBinary = function() {
|
|
2060
2300
|
var writer = new jspb.BinaryWriter();
|
|
2061
|
-
proto.
|
|
2301
|
+
proto.CreateUserAccountByVendorRequest.serializeBinaryToWriter(this, writer);
|
|
2062
2302
|
return writer.getResultBuffer();
|
|
2063
2303
|
};
|
|
2064
2304
|
|
|
@@ -2066,62 +2306,1088 @@ proto.GetListAccessRequest.prototype.serializeBinary = function() {
|
|
|
2066
2306
|
/**
|
|
2067
2307
|
* Serializes the given message to binary data (in protobuf wire
|
|
2068
2308
|
* format), writing to the given BinaryWriter.
|
|
2069
|
-
* @param {!proto.
|
|
2309
|
+
* @param {!proto.CreateUserAccountByVendorRequest} message
|
|
2070
2310
|
* @param {!jspb.BinaryWriter} writer
|
|
2071
2311
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2072
2312
|
*/
|
|
2073
|
-
proto.
|
|
2313
|
+
proto.CreateUserAccountByVendorRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2074
2314
|
var f = undefined;
|
|
2075
|
-
f = message.
|
|
2076
|
-
if (f
|
|
2077
|
-
writer.
|
|
2315
|
+
f = message.getReferencesId();
|
|
2316
|
+
if (f.length > 0) {
|
|
2317
|
+
writer.writeString(
|
|
2078
2318
|
1,
|
|
2079
2319
|
f
|
|
2080
2320
|
);
|
|
2081
2321
|
}
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2322
|
+
};
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* optional string references_id = 1;
|
|
2327
|
+
* @return {string}
|
|
2328
|
+
*/
|
|
2329
|
+
proto.CreateUserAccountByVendorRequest.prototype.getReferencesId = function() {
|
|
2330
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2331
|
+
};
|
|
2332
|
+
|
|
2333
|
+
|
|
2334
|
+
/**
|
|
2335
|
+
* @param {string} value
|
|
2336
|
+
* @return {!proto.CreateUserAccountByVendorRequest} returns this
|
|
2337
|
+
*/
|
|
2338
|
+
proto.CreateUserAccountByVendorRequest.prototype.setReferencesId = function(value) {
|
|
2339
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2340
|
+
};
|
|
2341
|
+
|
|
2342
|
+
|
|
2343
|
+
|
|
2344
|
+
|
|
2345
|
+
|
|
2346
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2347
|
+
/**
|
|
2348
|
+
* Creates an object representation of this proto.
|
|
2349
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2350
|
+
* Optional fields that are not set will be set to undefined.
|
|
2351
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2352
|
+
* For the list of reserved names please see:
|
|
2353
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2354
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2355
|
+
* JSPB instance for transitional soy proto support:
|
|
2356
|
+
* http://goto/soy-param-migration
|
|
2357
|
+
* @return {!Object}
|
|
2358
|
+
*/
|
|
2359
|
+
proto.RequestRegisterVendorReq.prototype.toObject = function(opt_includeInstance) {
|
|
2360
|
+
return proto.RequestRegisterVendorReq.toObject(opt_includeInstance, this);
|
|
2361
|
+
};
|
|
2362
|
+
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* Static version of the {@see toObject} method.
|
|
2366
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2367
|
+
* the JSPB instance for transitional soy proto support:
|
|
2368
|
+
* http://goto/soy-param-migration
|
|
2369
|
+
* @param {!proto.RequestRegisterVendorReq} msg The msg instance to transform.
|
|
2370
|
+
* @return {!Object}
|
|
2371
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2372
|
+
*/
|
|
2373
|
+
proto.RequestRegisterVendorReq.toObject = function(includeInstance, msg) {
|
|
2374
|
+
var f, obj = {
|
|
2375
|
+
email: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2378
|
+
if (includeInstance) {
|
|
2379
|
+
obj.$jspbMessageInstance = msg;
|
|
2088
2380
|
}
|
|
2381
|
+
return obj;
|
|
2089
2382
|
};
|
|
2383
|
+
}
|
|
2090
2384
|
|
|
2091
2385
|
|
|
2092
2386
|
/**
|
|
2093
|
-
*
|
|
2094
|
-
* @
|
|
2387
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2388
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2389
|
+
* @return {!proto.RequestRegisterVendorReq}
|
|
2095
2390
|
*/
|
|
2096
|
-
proto.
|
|
2097
|
-
|
|
2391
|
+
proto.RequestRegisterVendorReq.deserializeBinary = function(bytes) {
|
|
2392
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2393
|
+
var msg = new proto.RequestRegisterVendorReq;
|
|
2394
|
+
return proto.RequestRegisterVendorReq.deserializeBinaryFromReader(msg, reader);
|
|
2098
2395
|
};
|
|
2099
2396
|
|
|
2100
2397
|
|
|
2101
2398
|
/**
|
|
2102
|
-
*
|
|
2103
|
-
*
|
|
2399
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2400
|
+
* given reader into the given message object.
|
|
2401
|
+
* @param {!proto.RequestRegisterVendorReq} msg The message object to deserialize into.
|
|
2402
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2403
|
+
* @return {!proto.RequestRegisterVendorReq}
|
|
2104
2404
|
*/
|
|
2105
|
-
proto.
|
|
2106
|
-
|
|
2405
|
+
proto.RequestRegisterVendorReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
2406
|
+
while (reader.nextField()) {
|
|
2407
|
+
if (reader.isEndGroup()) {
|
|
2408
|
+
break;
|
|
2409
|
+
}
|
|
2410
|
+
var field = reader.getFieldNumber();
|
|
2411
|
+
switch (field) {
|
|
2412
|
+
case 1:
|
|
2413
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2414
|
+
msg.setEmail(value);
|
|
2415
|
+
break;
|
|
2416
|
+
default:
|
|
2417
|
+
reader.skipField();
|
|
2418
|
+
break;
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
return msg;
|
|
2422
|
+
};
|
|
2423
|
+
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2427
|
+
* @return {!Uint8Array}
|
|
2428
|
+
*/
|
|
2429
|
+
proto.RequestRegisterVendorReq.prototype.serializeBinary = function() {
|
|
2430
|
+
var writer = new jspb.BinaryWriter();
|
|
2431
|
+
proto.RequestRegisterVendorReq.serializeBinaryToWriter(this, writer);
|
|
2432
|
+
return writer.getResultBuffer();
|
|
2433
|
+
};
|
|
2434
|
+
|
|
2435
|
+
|
|
2436
|
+
/**
|
|
2437
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2438
|
+
* format), writing to the given BinaryWriter.
|
|
2439
|
+
* @param {!proto.RequestRegisterVendorReq} message
|
|
2440
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2441
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2442
|
+
*/
|
|
2443
|
+
proto.RequestRegisterVendorReq.serializeBinaryToWriter = function(message, writer) {
|
|
2444
|
+
var f = undefined;
|
|
2445
|
+
f = message.getEmail();
|
|
2446
|
+
if (f.length > 0) {
|
|
2447
|
+
writer.writeString(
|
|
2448
|
+
1,
|
|
2449
|
+
f
|
|
2450
|
+
);
|
|
2451
|
+
}
|
|
2452
|
+
};
|
|
2453
|
+
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
* optional string email = 1;
|
|
2457
|
+
* @return {string}
|
|
2458
|
+
*/
|
|
2459
|
+
proto.RequestRegisterVendorReq.prototype.getEmail = function() {
|
|
2460
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* @param {string} value
|
|
2466
|
+
* @return {!proto.RequestRegisterVendorReq} returns this
|
|
2467
|
+
*/
|
|
2468
|
+
proto.RequestRegisterVendorReq.prototype.setEmail = function(value) {
|
|
2469
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2470
|
+
};
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2477
|
+
/**
|
|
2478
|
+
* Creates an object representation of this proto.
|
|
2479
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2480
|
+
* Optional fields that are not set will be set to undefined.
|
|
2481
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2482
|
+
* For the list of reserved names please see:
|
|
2483
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2484
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2485
|
+
* JSPB instance for transitional soy proto support:
|
|
2486
|
+
* http://goto/soy-param-migration
|
|
2487
|
+
* @return {!Object}
|
|
2488
|
+
*/
|
|
2489
|
+
proto.RequestRegisterVendorResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2490
|
+
return proto.RequestRegisterVendorResponse.toObject(opt_includeInstance, this);
|
|
2491
|
+
};
|
|
2492
|
+
|
|
2493
|
+
|
|
2494
|
+
/**
|
|
2495
|
+
* Static version of the {@see toObject} method.
|
|
2496
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2497
|
+
* the JSPB instance for transitional soy proto support:
|
|
2498
|
+
* http://goto/soy-param-migration
|
|
2499
|
+
* @param {!proto.RequestRegisterVendorResponse} msg The msg instance to transform.
|
|
2500
|
+
* @return {!Object}
|
|
2501
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2502
|
+
*/
|
|
2503
|
+
proto.RequestRegisterVendorResponse.toObject = function(includeInstance, msg) {
|
|
2504
|
+
var f, obj = {
|
|
2505
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2506
|
+
};
|
|
2507
|
+
|
|
2508
|
+
if (includeInstance) {
|
|
2509
|
+
obj.$jspbMessageInstance = msg;
|
|
2510
|
+
}
|
|
2511
|
+
return obj;
|
|
2512
|
+
};
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
|
|
2516
|
+
/**
|
|
2517
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2518
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2519
|
+
* @return {!proto.RequestRegisterVendorResponse}
|
|
2520
|
+
*/
|
|
2521
|
+
proto.RequestRegisterVendorResponse.deserializeBinary = function(bytes) {
|
|
2522
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2523
|
+
var msg = new proto.RequestRegisterVendorResponse;
|
|
2524
|
+
return proto.RequestRegisterVendorResponse.deserializeBinaryFromReader(msg, reader);
|
|
2525
|
+
};
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
/**
|
|
2529
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2530
|
+
* given reader into the given message object.
|
|
2531
|
+
* @param {!proto.RequestRegisterVendorResponse} msg The message object to deserialize into.
|
|
2532
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2533
|
+
* @return {!proto.RequestRegisterVendorResponse}
|
|
2534
|
+
*/
|
|
2535
|
+
proto.RequestRegisterVendorResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2536
|
+
while (reader.nextField()) {
|
|
2537
|
+
if (reader.isEndGroup()) {
|
|
2538
|
+
break;
|
|
2539
|
+
}
|
|
2540
|
+
var field = reader.getFieldNumber();
|
|
2541
|
+
switch (field) {
|
|
2542
|
+
case 1:
|
|
2543
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2544
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2545
|
+
msg.setMeta(value);
|
|
2546
|
+
break;
|
|
2547
|
+
default:
|
|
2548
|
+
reader.skipField();
|
|
2549
|
+
break;
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
return msg;
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2558
|
+
* @return {!Uint8Array}
|
|
2559
|
+
*/
|
|
2560
|
+
proto.RequestRegisterVendorResponse.prototype.serializeBinary = function() {
|
|
2561
|
+
var writer = new jspb.BinaryWriter();
|
|
2562
|
+
proto.RequestRegisterVendorResponse.serializeBinaryToWriter(this, writer);
|
|
2563
|
+
return writer.getResultBuffer();
|
|
2564
|
+
};
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2569
|
+
* format), writing to the given BinaryWriter.
|
|
2570
|
+
* @param {!proto.RequestRegisterVendorResponse} message
|
|
2571
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2572
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2573
|
+
*/
|
|
2574
|
+
proto.RequestRegisterVendorResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2575
|
+
var f = undefined;
|
|
2576
|
+
f = message.getMeta();
|
|
2577
|
+
if (f != null) {
|
|
2578
|
+
writer.writeMessage(
|
|
2579
|
+
1,
|
|
2580
|
+
f,
|
|
2581
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2582
|
+
);
|
|
2583
|
+
}
|
|
2584
|
+
};
|
|
2585
|
+
|
|
2586
|
+
|
|
2587
|
+
/**
|
|
2588
|
+
* optional prisca.v1.global.meta.Meta meta = 1;
|
|
2589
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2590
|
+
*/
|
|
2591
|
+
proto.RequestRegisterVendorResponse.prototype.getMeta = function() {
|
|
2592
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2593
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
|
|
2594
|
+
};
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2599
|
+
* @return {!proto.RequestRegisterVendorResponse} returns this
|
|
2600
|
+
*/
|
|
2601
|
+
proto.RequestRegisterVendorResponse.prototype.setMeta = function(value) {
|
|
2602
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2603
|
+
};
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
/**
|
|
2607
|
+
* Clears the message field making it undefined.
|
|
2608
|
+
* @return {!proto.RequestRegisterVendorResponse} returns this
|
|
2609
|
+
*/
|
|
2610
|
+
proto.RequestRegisterVendorResponse.prototype.clearMeta = function() {
|
|
2611
|
+
return this.setMeta(undefined);
|
|
2612
|
+
};
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
/**
|
|
2616
|
+
* Returns whether this field is set.
|
|
2617
|
+
* @return {boolean}
|
|
2618
|
+
*/
|
|
2619
|
+
proto.RequestRegisterVendorResponse.prototype.hasMeta = function() {
|
|
2620
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2621
|
+
};
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2628
|
+
/**
|
|
2629
|
+
* Creates an object representation of this proto.
|
|
2630
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2631
|
+
* Optional fields that are not set will be set to undefined.
|
|
2632
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2633
|
+
* For the list of reserved names please see:
|
|
2634
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2635
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2636
|
+
* JSPB instance for transitional soy proto support:
|
|
2637
|
+
* http://goto/soy-param-migration
|
|
2638
|
+
* @return {!Object}
|
|
2639
|
+
*/
|
|
2640
|
+
proto.GetListAccessRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2641
|
+
return proto.GetListAccessRequest.toObject(opt_includeInstance, this);
|
|
2642
|
+
};
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* Static version of the {@see toObject} method.
|
|
2647
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2648
|
+
* the JSPB instance for transitional soy proto support:
|
|
2649
|
+
* http://goto/soy-param-migration
|
|
2650
|
+
* @param {!proto.GetListAccessRequest} msg The msg instance to transform.
|
|
2651
|
+
* @return {!Object}
|
|
2652
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2653
|
+
*/
|
|
2654
|
+
proto.GetListAccessRequest.toObject = function(includeInstance, msg) {
|
|
2655
|
+
var f, obj = {
|
|
2656
|
+
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2657
|
+
offset: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2658
|
+
};
|
|
2659
|
+
|
|
2660
|
+
if (includeInstance) {
|
|
2661
|
+
obj.$jspbMessageInstance = msg;
|
|
2662
|
+
}
|
|
2663
|
+
return obj;
|
|
2664
|
+
};
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
/**
|
|
2669
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2670
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2671
|
+
* @return {!proto.GetListAccessRequest}
|
|
2672
|
+
*/
|
|
2673
|
+
proto.GetListAccessRequest.deserializeBinary = function(bytes) {
|
|
2674
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2675
|
+
var msg = new proto.GetListAccessRequest;
|
|
2676
|
+
return proto.GetListAccessRequest.deserializeBinaryFromReader(msg, reader);
|
|
2677
|
+
};
|
|
2678
|
+
|
|
2679
|
+
|
|
2680
|
+
/**
|
|
2681
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2682
|
+
* given reader into the given message object.
|
|
2683
|
+
* @param {!proto.GetListAccessRequest} msg The message object to deserialize into.
|
|
2684
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2685
|
+
* @return {!proto.GetListAccessRequest}
|
|
2686
|
+
*/
|
|
2687
|
+
proto.GetListAccessRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2688
|
+
while (reader.nextField()) {
|
|
2689
|
+
if (reader.isEndGroup()) {
|
|
2690
|
+
break;
|
|
2691
|
+
}
|
|
2692
|
+
var field = reader.getFieldNumber();
|
|
2693
|
+
switch (field) {
|
|
2694
|
+
case 1:
|
|
2695
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2696
|
+
msg.setLimit(value);
|
|
2697
|
+
break;
|
|
2698
|
+
case 2:
|
|
2699
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2700
|
+
msg.setOffset(value);
|
|
2701
|
+
break;
|
|
2702
|
+
default:
|
|
2703
|
+
reader.skipField();
|
|
2704
|
+
break;
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
return msg;
|
|
2708
|
+
};
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
/**
|
|
2712
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2713
|
+
* @return {!Uint8Array}
|
|
2714
|
+
*/
|
|
2715
|
+
proto.GetListAccessRequest.prototype.serializeBinary = function() {
|
|
2716
|
+
var writer = new jspb.BinaryWriter();
|
|
2717
|
+
proto.GetListAccessRequest.serializeBinaryToWriter(this, writer);
|
|
2718
|
+
return writer.getResultBuffer();
|
|
2719
|
+
};
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
/**
|
|
2723
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2724
|
+
* format), writing to the given BinaryWriter.
|
|
2725
|
+
* @param {!proto.GetListAccessRequest} message
|
|
2726
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2727
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2728
|
+
*/
|
|
2729
|
+
proto.GetListAccessRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2730
|
+
var f = undefined;
|
|
2731
|
+
f = message.getLimit();
|
|
2732
|
+
if (f !== 0) {
|
|
2733
|
+
writer.writeInt64(
|
|
2734
|
+
1,
|
|
2735
|
+
f
|
|
2736
|
+
);
|
|
2737
|
+
}
|
|
2738
|
+
f = message.getOffset();
|
|
2739
|
+
if (f !== 0) {
|
|
2740
|
+
writer.writeInt64(
|
|
2741
|
+
2,
|
|
2742
|
+
f
|
|
2743
|
+
);
|
|
2744
|
+
}
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
/**
|
|
2749
|
+
* optional int64 limit = 1;
|
|
2750
|
+
* @return {number}
|
|
2751
|
+
*/
|
|
2752
|
+
proto.GetListAccessRequest.prototype.getLimit = function() {
|
|
2753
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
/**
|
|
2758
|
+
* @param {number} value
|
|
2759
|
+
* @return {!proto.GetListAccessRequest} returns this
|
|
2760
|
+
*/
|
|
2761
|
+
proto.GetListAccessRequest.prototype.setLimit = function(value) {
|
|
2762
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2763
|
+
};
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
/**
|
|
2767
|
+
* optional int64 offset = 2;
|
|
2768
|
+
* @return {number}
|
|
2769
|
+
*/
|
|
2770
|
+
proto.GetListAccessRequest.prototype.getOffset = function() {
|
|
2771
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2772
|
+
};
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
/**
|
|
2776
|
+
* @param {number} value
|
|
2777
|
+
* @return {!proto.GetListAccessRequest} returns this
|
|
2778
|
+
*/
|
|
2779
|
+
proto.GetListAccessRequest.prototype.setOffset = function(value) {
|
|
2780
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2781
|
+
};
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2788
|
+
/**
|
|
2789
|
+
* Creates an object representation of this proto.
|
|
2790
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2791
|
+
* Optional fields that are not set will be set to undefined.
|
|
2792
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2793
|
+
* For the list of reserved names please see:
|
|
2794
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2795
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2796
|
+
* JSPB instance for transitional soy proto support:
|
|
2797
|
+
* http://goto/soy-param-migration
|
|
2798
|
+
* @return {!Object}
|
|
2799
|
+
*/
|
|
2800
|
+
proto.CheckCompaniesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2801
|
+
return proto.CheckCompaniesRequest.toObject(opt_includeInstance, this);
|
|
2802
|
+
};
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
/**
|
|
2806
|
+
* Static version of the {@see toObject} method.
|
|
2807
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2808
|
+
* the JSPB instance for transitional soy proto support:
|
|
2809
|
+
* http://goto/soy-param-migration
|
|
2810
|
+
* @param {!proto.CheckCompaniesRequest} msg The msg instance to transform.
|
|
2811
|
+
* @return {!Object}
|
|
2812
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2813
|
+
*/
|
|
2814
|
+
proto.CheckCompaniesRequest.toObject = function(includeInstance, msg) {
|
|
2815
|
+
var f, obj = {
|
|
2816
|
+
companiesRef: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2817
|
+
};
|
|
2818
|
+
|
|
2819
|
+
if (includeInstance) {
|
|
2820
|
+
obj.$jspbMessageInstance = msg;
|
|
2821
|
+
}
|
|
2822
|
+
return obj;
|
|
2823
|
+
};
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2829
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2830
|
+
* @return {!proto.CheckCompaniesRequest}
|
|
2831
|
+
*/
|
|
2832
|
+
proto.CheckCompaniesRequest.deserializeBinary = function(bytes) {
|
|
2833
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2834
|
+
var msg = new proto.CheckCompaniesRequest;
|
|
2835
|
+
return proto.CheckCompaniesRequest.deserializeBinaryFromReader(msg, reader);
|
|
2836
|
+
};
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
/**
|
|
2840
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2841
|
+
* given reader into the given message object.
|
|
2842
|
+
* @param {!proto.CheckCompaniesRequest} msg The message object to deserialize into.
|
|
2843
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2844
|
+
* @return {!proto.CheckCompaniesRequest}
|
|
2845
|
+
*/
|
|
2846
|
+
proto.CheckCompaniesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2847
|
+
while (reader.nextField()) {
|
|
2848
|
+
if (reader.isEndGroup()) {
|
|
2849
|
+
break;
|
|
2850
|
+
}
|
|
2851
|
+
var field = reader.getFieldNumber();
|
|
2852
|
+
switch (field) {
|
|
2853
|
+
case 1:
|
|
2854
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2855
|
+
msg.setCompaniesRef(value);
|
|
2856
|
+
break;
|
|
2857
|
+
default:
|
|
2858
|
+
reader.skipField();
|
|
2859
|
+
break;
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
return msg;
|
|
2863
|
+
};
|
|
2864
|
+
|
|
2865
|
+
|
|
2866
|
+
/**
|
|
2867
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2868
|
+
* @return {!Uint8Array}
|
|
2869
|
+
*/
|
|
2870
|
+
proto.CheckCompaniesRequest.prototype.serializeBinary = function() {
|
|
2871
|
+
var writer = new jspb.BinaryWriter();
|
|
2872
|
+
proto.CheckCompaniesRequest.serializeBinaryToWriter(this, writer);
|
|
2873
|
+
return writer.getResultBuffer();
|
|
2874
|
+
};
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
/**
|
|
2878
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2879
|
+
* format), writing to the given BinaryWriter.
|
|
2880
|
+
* @param {!proto.CheckCompaniesRequest} message
|
|
2881
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2882
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2883
|
+
*/
|
|
2884
|
+
proto.CheckCompaniesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2885
|
+
var f = undefined;
|
|
2886
|
+
f = message.getCompaniesRef();
|
|
2887
|
+
if (f.length > 0) {
|
|
2888
|
+
writer.writeString(
|
|
2889
|
+
1,
|
|
2890
|
+
f
|
|
2891
|
+
);
|
|
2892
|
+
}
|
|
2893
|
+
};
|
|
2894
|
+
|
|
2895
|
+
|
|
2896
|
+
/**
|
|
2897
|
+
* optional string companies_ref = 1;
|
|
2898
|
+
* @return {string}
|
|
2899
|
+
*/
|
|
2900
|
+
proto.CheckCompaniesRequest.prototype.getCompaniesRef = function() {
|
|
2901
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2902
|
+
};
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
/**
|
|
2906
|
+
* @param {string} value
|
|
2907
|
+
* @return {!proto.CheckCompaniesRequest} returns this
|
|
2908
|
+
*/
|
|
2909
|
+
proto.CheckCompaniesRequest.prototype.setCompaniesRef = function(value) {
|
|
2910
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2911
|
+
};
|
|
2912
|
+
|
|
2913
|
+
|
|
2914
|
+
|
|
2915
|
+
|
|
2916
|
+
|
|
2917
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2918
|
+
/**
|
|
2919
|
+
* Creates an object representation of this proto.
|
|
2920
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2921
|
+
* Optional fields that are not set will be set to undefined.
|
|
2922
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2923
|
+
* For the list of reserved names please see:
|
|
2924
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2925
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2926
|
+
* JSPB instance for transitional soy proto support:
|
|
2927
|
+
* http://goto/soy-param-migration
|
|
2928
|
+
* @return {!Object}
|
|
2929
|
+
*/
|
|
2930
|
+
proto.AccessApiCredential.prototype.toObject = function(opt_includeInstance) {
|
|
2931
|
+
return proto.AccessApiCredential.toObject(opt_includeInstance, this);
|
|
2932
|
+
};
|
|
2933
|
+
|
|
2934
|
+
|
|
2935
|
+
/**
|
|
2936
|
+
* Static version of the {@see toObject} method.
|
|
2937
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2938
|
+
* the JSPB instance for transitional soy proto support:
|
|
2939
|
+
* http://goto/soy-param-migration
|
|
2940
|
+
* @param {!proto.AccessApiCredential} msg The msg instance to transform.
|
|
2941
|
+
* @return {!Object}
|
|
2942
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2943
|
+
*/
|
|
2944
|
+
proto.AccessApiCredential.toObject = function(includeInstance, msg) {
|
|
2945
|
+
var f, obj = {
|
|
2946
|
+
apisecretid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2947
|
+
apisecretkey: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2948
|
+
};
|
|
2949
|
+
|
|
2950
|
+
if (includeInstance) {
|
|
2951
|
+
obj.$jspbMessageInstance = msg;
|
|
2952
|
+
}
|
|
2953
|
+
return obj;
|
|
2954
|
+
};
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2960
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2961
|
+
* @return {!proto.AccessApiCredential}
|
|
2962
|
+
*/
|
|
2963
|
+
proto.AccessApiCredential.deserializeBinary = function(bytes) {
|
|
2964
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2965
|
+
var msg = new proto.AccessApiCredential;
|
|
2966
|
+
return proto.AccessApiCredential.deserializeBinaryFromReader(msg, reader);
|
|
2967
|
+
};
|
|
2968
|
+
|
|
2969
|
+
|
|
2970
|
+
/**
|
|
2971
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2972
|
+
* given reader into the given message object.
|
|
2973
|
+
* @param {!proto.AccessApiCredential} msg The message object to deserialize into.
|
|
2974
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2975
|
+
* @return {!proto.AccessApiCredential}
|
|
2976
|
+
*/
|
|
2977
|
+
proto.AccessApiCredential.deserializeBinaryFromReader = function(msg, reader) {
|
|
2978
|
+
while (reader.nextField()) {
|
|
2979
|
+
if (reader.isEndGroup()) {
|
|
2980
|
+
break;
|
|
2981
|
+
}
|
|
2982
|
+
var field = reader.getFieldNumber();
|
|
2983
|
+
switch (field) {
|
|
2984
|
+
case 1:
|
|
2985
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2986
|
+
msg.setApisecretid(value);
|
|
2987
|
+
break;
|
|
2988
|
+
case 2:
|
|
2989
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2990
|
+
msg.setApisecretkey(value);
|
|
2991
|
+
break;
|
|
2992
|
+
default:
|
|
2993
|
+
reader.skipField();
|
|
2994
|
+
break;
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
return msg;
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
|
|
3001
|
+
/**
|
|
3002
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3003
|
+
* @return {!Uint8Array}
|
|
3004
|
+
*/
|
|
3005
|
+
proto.AccessApiCredential.prototype.serializeBinary = function() {
|
|
3006
|
+
var writer = new jspb.BinaryWriter();
|
|
3007
|
+
proto.AccessApiCredential.serializeBinaryToWriter(this, writer);
|
|
3008
|
+
return writer.getResultBuffer();
|
|
3009
|
+
};
|
|
3010
|
+
|
|
3011
|
+
|
|
3012
|
+
/**
|
|
3013
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3014
|
+
* format), writing to the given BinaryWriter.
|
|
3015
|
+
* @param {!proto.AccessApiCredential} message
|
|
3016
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3017
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3018
|
+
*/
|
|
3019
|
+
proto.AccessApiCredential.serializeBinaryToWriter = function(message, writer) {
|
|
3020
|
+
var f = undefined;
|
|
3021
|
+
f = message.getApisecretid();
|
|
3022
|
+
if (f.length > 0) {
|
|
3023
|
+
writer.writeString(
|
|
3024
|
+
1,
|
|
3025
|
+
f
|
|
3026
|
+
);
|
|
3027
|
+
}
|
|
3028
|
+
f = message.getApisecretkey();
|
|
3029
|
+
if (f.length > 0) {
|
|
3030
|
+
writer.writeString(
|
|
3031
|
+
2,
|
|
3032
|
+
f
|
|
3033
|
+
);
|
|
3034
|
+
}
|
|
3035
|
+
};
|
|
3036
|
+
|
|
3037
|
+
|
|
3038
|
+
/**
|
|
3039
|
+
* optional string apiSecretId = 1;
|
|
3040
|
+
* @return {string}
|
|
3041
|
+
*/
|
|
3042
|
+
proto.AccessApiCredential.prototype.getApisecretid = function() {
|
|
3043
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3044
|
+
};
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
/**
|
|
3048
|
+
* @param {string} value
|
|
3049
|
+
* @return {!proto.AccessApiCredential} returns this
|
|
3050
|
+
*/
|
|
3051
|
+
proto.AccessApiCredential.prototype.setApisecretid = function(value) {
|
|
3052
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3053
|
+
};
|
|
3054
|
+
|
|
3055
|
+
|
|
3056
|
+
/**
|
|
3057
|
+
* optional string apiSecretKey = 2;
|
|
3058
|
+
* @return {string}
|
|
3059
|
+
*/
|
|
3060
|
+
proto.AccessApiCredential.prototype.getApisecretkey = function() {
|
|
3061
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3062
|
+
};
|
|
3063
|
+
|
|
3064
|
+
|
|
3065
|
+
/**
|
|
3066
|
+
* @param {string} value
|
|
3067
|
+
* @return {!proto.AccessApiCredential} returns this
|
|
3068
|
+
*/
|
|
3069
|
+
proto.AccessApiCredential.prototype.setApisecretkey = function(value) {
|
|
3070
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3071
|
+
};
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
|
|
3077
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3078
|
+
/**
|
|
3079
|
+
* Creates an object representation of this proto.
|
|
3080
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3081
|
+
* Optional fields that are not set will be set to undefined.
|
|
3082
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3083
|
+
* For the list of reserved names please see:
|
|
3084
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3085
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3086
|
+
* JSPB instance for transitional soy proto support:
|
|
3087
|
+
* http://goto/soy-param-migration
|
|
3088
|
+
* @return {!Object}
|
|
3089
|
+
*/
|
|
3090
|
+
proto.AccessCreateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3091
|
+
return proto.AccessCreateRequest.toObject(opt_includeInstance, this);
|
|
3092
|
+
};
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
/**
|
|
3096
|
+
* Static version of the {@see toObject} method.
|
|
3097
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3098
|
+
* the JSPB instance for transitional soy proto support:
|
|
3099
|
+
* http://goto/soy-param-migration
|
|
3100
|
+
* @param {!proto.AccessCreateRequest} msg The msg instance to transform.
|
|
3101
|
+
* @return {!Object}
|
|
3102
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3103
|
+
*/
|
|
3104
|
+
proto.AccessCreateRequest.toObject = function(includeInstance, msg) {
|
|
3105
|
+
var f, obj = {
|
|
3106
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3107
|
+
userid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3108
|
+
scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
3109
|
+
};
|
|
3110
|
+
|
|
3111
|
+
if (includeInstance) {
|
|
3112
|
+
obj.$jspbMessageInstance = msg;
|
|
3113
|
+
}
|
|
3114
|
+
return obj;
|
|
3115
|
+
};
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
|
|
3119
|
+
/**
|
|
3120
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3121
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3122
|
+
* @return {!proto.AccessCreateRequest}
|
|
3123
|
+
*/
|
|
3124
|
+
proto.AccessCreateRequest.deserializeBinary = function(bytes) {
|
|
3125
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3126
|
+
var msg = new proto.AccessCreateRequest;
|
|
3127
|
+
return proto.AccessCreateRequest.deserializeBinaryFromReader(msg, reader);
|
|
3128
|
+
};
|
|
3129
|
+
|
|
3130
|
+
|
|
3131
|
+
/**
|
|
3132
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3133
|
+
* given reader into the given message object.
|
|
3134
|
+
* @param {!proto.AccessCreateRequest} msg The message object to deserialize into.
|
|
3135
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3136
|
+
* @return {!proto.AccessCreateRequest}
|
|
3137
|
+
*/
|
|
3138
|
+
proto.AccessCreateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3139
|
+
while (reader.nextField()) {
|
|
3140
|
+
if (reader.isEndGroup()) {
|
|
3141
|
+
break;
|
|
3142
|
+
}
|
|
3143
|
+
var field = reader.getFieldNumber();
|
|
3144
|
+
switch (field) {
|
|
3145
|
+
case 1:
|
|
3146
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3147
|
+
msg.setName(value);
|
|
3148
|
+
break;
|
|
3149
|
+
case 2:
|
|
3150
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3151
|
+
msg.setUserid(value);
|
|
3152
|
+
break;
|
|
3153
|
+
case 3:
|
|
3154
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3155
|
+
msg.setScopes(value);
|
|
3156
|
+
break;
|
|
3157
|
+
default:
|
|
3158
|
+
reader.skipField();
|
|
3159
|
+
break;
|
|
3160
|
+
}
|
|
3161
|
+
}
|
|
3162
|
+
return msg;
|
|
3163
|
+
};
|
|
3164
|
+
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3168
|
+
* @return {!Uint8Array}
|
|
3169
|
+
*/
|
|
3170
|
+
proto.AccessCreateRequest.prototype.serializeBinary = function() {
|
|
3171
|
+
var writer = new jspb.BinaryWriter();
|
|
3172
|
+
proto.AccessCreateRequest.serializeBinaryToWriter(this, writer);
|
|
3173
|
+
return writer.getResultBuffer();
|
|
3174
|
+
};
|
|
3175
|
+
|
|
3176
|
+
|
|
3177
|
+
/**
|
|
3178
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3179
|
+
* format), writing to the given BinaryWriter.
|
|
3180
|
+
* @param {!proto.AccessCreateRequest} message
|
|
3181
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3182
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3183
|
+
*/
|
|
3184
|
+
proto.AccessCreateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3185
|
+
var f = undefined;
|
|
3186
|
+
f = message.getName();
|
|
3187
|
+
if (f.length > 0) {
|
|
3188
|
+
writer.writeString(
|
|
3189
|
+
1,
|
|
3190
|
+
f
|
|
3191
|
+
);
|
|
3192
|
+
}
|
|
3193
|
+
f = message.getUserid();
|
|
3194
|
+
if (f !== 0) {
|
|
3195
|
+
writer.writeInt64(
|
|
3196
|
+
2,
|
|
3197
|
+
f
|
|
3198
|
+
);
|
|
3199
|
+
}
|
|
3200
|
+
f = message.getScopes();
|
|
3201
|
+
if (f.length > 0) {
|
|
3202
|
+
writer.writeString(
|
|
3203
|
+
3,
|
|
3204
|
+
f
|
|
3205
|
+
);
|
|
3206
|
+
}
|
|
3207
|
+
};
|
|
3208
|
+
|
|
3209
|
+
|
|
3210
|
+
/**
|
|
3211
|
+
* optional string name = 1;
|
|
3212
|
+
* @return {string}
|
|
3213
|
+
*/
|
|
3214
|
+
proto.AccessCreateRequest.prototype.getName = function() {
|
|
3215
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3216
|
+
};
|
|
3217
|
+
|
|
3218
|
+
|
|
3219
|
+
/**
|
|
3220
|
+
* @param {string} value
|
|
3221
|
+
* @return {!proto.AccessCreateRequest} returns this
|
|
3222
|
+
*/
|
|
3223
|
+
proto.AccessCreateRequest.prototype.setName = function(value) {
|
|
3224
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3225
|
+
};
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
/**
|
|
3229
|
+
* optional int64 userId = 2;
|
|
3230
|
+
* @return {number}
|
|
3231
|
+
*/
|
|
3232
|
+
proto.AccessCreateRequest.prototype.getUserid = function() {
|
|
3233
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3234
|
+
};
|
|
3235
|
+
|
|
3236
|
+
|
|
3237
|
+
/**
|
|
3238
|
+
* @param {number} value
|
|
3239
|
+
* @return {!proto.AccessCreateRequest} returns this
|
|
3240
|
+
*/
|
|
3241
|
+
proto.AccessCreateRequest.prototype.setUserid = function(value) {
|
|
3242
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3243
|
+
};
|
|
3244
|
+
|
|
3245
|
+
|
|
3246
|
+
/**
|
|
3247
|
+
* optional string scopes = 3;
|
|
3248
|
+
* @return {string}
|
|
3249
|
+
*/
|
|
3250
|
+
proto.AccessCreateRequest.prototype.getScopes = function() {
|
|
3251
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3252
|
+
};
|
|
3253
|
+
|
|
3254
|
+
|
|
3255
|
+
/**
|
|
3256
|
+
* @param {string} value
|
|
3257
|
+
* @return {!proto.AccessCreateRequest} returns this
|
|
3258
|
+
*/
|
|
3259
|
+
proto.AccessCreateRequest.prototype.setScopes = function(value) {
|
|
3260
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3261
|
+
};
|
|
3262
|
+
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
|
|
3266
|
+
|
|
3267
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3268
|
+
/**
|
|
3269
|
+
* Creates an object representation of this proto.
|
|
3270
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3271
|
+
* Optional fields that are not set will be set to undefined.
|
|
3272
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3273
|
+
* For the list of reserved names please see:
|
|
3274
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3275
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3276
|
+
* JSPB instance for transitional soy proto support:
|
|
3277
|
+
* http://goto/soy-param-migration
|
|
3278
|
+
* @return {!Object}
|
|
3279
|
+
*/
|
|
3280
|
+
proto.AuthVerifyToken.prototype.toObject = function(opt_includeInstance) {
|
|
3281
|
+
return proto.AuthVerifyToken.toObject(opt_includeInstance, this);
|
|
3282
|
+
};
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* Static version of the {@see toObject} method.
|
|
3287
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3288
|
+
* the JSPB instance for transitional soy proto support:
|
|
3289
|
+
* http://goto/soy-param-migration
|
|
3290
|
+
* @param {!proto.AuthVerifyToken} msg The msg instance to transform.
|
|
3291
|
+
* @return {!Object}
|
|
3292
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3293
|
+
*/
|
|
3294
|
+
proto.AuthVerifyToken.toObject = function(includeInstance, msg) {
|
|
3295
|
+
var f, obj = {
|
|
3296
|
+
token: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3297
|
+
};
|
|
3298
|
+
|
|
3299
|
+
if (includeInstance) {
|
|
3300
|
+
obj.$jspbMessageInstance = msg;
|
|
3301
|
+
}
|
|
3302
|
+
return obj;
|
|
3303
|
+
};
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3306
|
+
|
|
3307
|
+
/**
|
|
3308
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3309
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3310
|
+
* @return {!proto.AuthVerifyToken}
|
|
3311
|
+
*/
|
|
3312
|
+
proto.AuthVerifyToken.deserializeBinary = function(bytes) {
|
|
3313
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3314
|
+
var msg = new proto.AuthVerifyToken;
|
|
3315
|
+
return proto.AuthVerifyToken.deserializeBinaryFromReader(msg, reader);
|
|
3316
|
+
};
|
|
3317
|
+
|
|
3318
|
+
|
|
3319
|
+
/**
|
|
3320
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3321
|
+
* given reader into the given message object.
|
|
3322
|
+
* @param {!proto.AuthVerifyToken} msg The message object to deserialize into.
|
|
3323
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3324
|
+
* @return {!proto.AuthVerifyToken}
|
|
3325
|
+
*/
|
|
3326
|
+
proto.AuthVerifyToken.deserializeBinaryFromReader = function(msg, reader) {
|
|
3327
|
+
while (reader.nextField()) {
|
|
3328
|
+
if (reader.isEndGroup()) {
|
|
3329
|
+
break;
|
|
3330
|
+
}
|
|
3331
|
+
var field = reader.getFieldNumber();
|
|
3332
|
+
switch (field) {
|
|
3333
|
+
case 1:
|
|
3334
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3335
|
+
msg.setToken(value);
|
|
3336
|
+
break;
|
|
3337
|
+
default:
|
|
3338
|
+
reader.skipField();
|
|
3339
|
+
break;
|
|
3340
|
+
}
|
|
3341
|
+
}
|
|
3342
|
+
return msg;
|
|
3343
|
+
};
|
|
3344
|
+
|
|
3345
|
+
|
|
3346
|
+
/**
|
|
3347
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3348
|
+
* @return {!Uint8Array}
|
|
3349
|
+
*/
|
|
3350
|
+
proto.AuthVerifyToken.prototype.serializeBinary = function() {
|
|
3351
|
+
var writer = new jspb.BinaryWriter();
|
|
3352
|
+
proto.AuthVerifyToken.serializeBinaryToWriter(this, writer);
|
|
3353
|
+
return writer.getResultBuffer();
|
|
3354
|
+
};
|
|
3355
|
+
|
|
3356
|
+
|
|
3357
|
+
/**
|
|
3358
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3359
|
+
* format), writing to the given BinaryWriter.
|
|
3360
|
+
* @param {!proto.AuthVerifyToken} message
|
|
3361
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3362
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3363
|
+
*/
|
|
3364
|
+
proto.AuthVerifyToken.serializeBinaryToWriter = function(message, writer) {
|
|
3365
|
+
var f = undefined;
|
|
3366
|
+
f = message.getToken();
|
|
3367
|
+
if (f.length > 0) {
|
|
3368
|
+
writer.writeString(
|
|
3369
|
+
1,
|
|
3370
|
+
f
|
|
3371
|
+
);
|
|
3372
|
+
}
|
|
2107
3373
|
};
|
|
2108
3374
|
|
|
2109
3375
|
|
|
2110
3376
|
/**
|
|
2111
|
-
* optional
|
|
2112
|
-
* @return {
|
|
3377
|
+
* optional string token = 1;
|
|
3378
|
+
* @return {string}
|
|
2113
3379
|
*/
|
|
2114
|
-
proto.
|
|
2115
|
-
return /** @type {
|
|
3380
|
+
proto.AuthVerifyToken.prototype.getToken = function() {
|
|
3381
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2116
3382
|
};
|
|
2117
3383
|
|
|
2118
3384
|
|
|
2119
3385
|
/**
|
|
2120
|
-
* @param {
|
|
2121
|
-
* @return {!proto.
|
|
3386
|
+
* @param {string} value
|
|
3387
|
+
* @return {!proto.AuthVerifyToken} returns this
|
|
2122
3388
|
*/
|
|
2123
|
-
proto.
|
|
2124
|
-
return jspb.Message.
|
|
3389
|
+
proto.AuthVerifyToken.prototype.setToken = function(value) {
|
|
3390
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2125
3391
|
};
|
|
2126
3392
|
|
|
2127
3393
|
|
|
@@ -2141,8 +3407,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2141
3407
|
* http://goto/soy-param-migration
|
|
2142
3408
|
* @return {!Object}
|
|
2143
3409
|
*/
|
|
2144
|
-
proto.
|
|
2145
|
-
return proto.
|
|
3410
|
+
proto.UpdateAccessPayload.prototype.toObject = function(opt_includeInstance) {
|
|
3411
|
+
return proto.UpdateAccessPayload.toObject(opt_includeInstance, this);
|
|
2146
3412
|
};
|
|
2147
3413
|
|
|
2148
3414
|
|
|
@@ -2151,13 +3417,15 @@ proto.CheckCompaniesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
2151
3417
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2152
3418
|
* the JSPB instance for transitional soy proto support:
|
|
2153
3419
|
* http://goto/soy-param-migration
|
|
2154
|
-
* @param {!proto.
|
|
3420
|
+
* @param {!proto.UpdateAccessPayload} msg The msg instance to transform.
|
|
2155
3421
|
* @return {!Object}
|
|
2156
3422
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2157
3423
|
*/
|
|
2158
|
-
proto.
|
|
3424
|
+
proto.UpdateAccessPayload.toObject = function(includeInstance, msg) {
|
|
2159
3425
|
var f, obj = {
|
|
2160
|
-
|
|
3426
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3427
|
+
id: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3428
|
+
scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2161
3429
|
};
|
|
2162
3430
|
|
|
2163
3431
|
if (includeInstance) {
|
|
@@ -2171,23 +3439,23 @@ companiesRef: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
2171
3439
|
/**
|
|
2172
3440
|
* Deserializes binary data (in protobuf wire format).
|
|
2173
3441
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2174
|
-
* @return {!proto.
|
|
3442
|
+
* @return {!proto.UpdateAccessPayload}
|
|
2175
3443
|
*/
|
|
2176
|
-
proto.
|
|
3444
|
+
proto.UpdateAccessPayload.deserializeBinary = function(bytes) {
|
|
2177
3445
|
var reader = new jspb.BinaryReader(bytes);
|
|
2178
|
-
var msg = new proto.
|
|
2179
|
-
return proto.
|
|
3446
|
+
var msg = new proto.UpdateAccessPayload;
|
|
3447
|
+
return proto.UpdateAccessPayload.deserializeBinaryFromReader(msg, reader);
|
|
2180
3448
|
};
|
|
2181
3449
|
|
|
2182
3450
|
|
|
2183
3451
|
/**
|
|
2184
3452
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2185
3453
|
* given reader into the given message object.
|
|
2186
|
-
* @param {!proto.
|
|
3454
|
+
* @param {!proto.UpdateAccessPayload} msg The message object to deserialize into.
|
|
2187
3455
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2188
|
-
* @return {!proto.
|
|
3456
|
+
* @return {!proto.UpdateAccessPayload}
|
|
2189
3457
|
*/
|
|
2190
|
-
proto.
|
|
3458
|
+
proto.UpdateAccessPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
2191
3459
|
while (reader.nextField()) {
|
|
2192
3460
|
if (reader.isEndGroup()) {
|
|
2193
3461
|
break;
|
|
@@ -2196,7 +3464,15 @@ proto.CheckCompaniesRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
2196
3464
|
switch (field) {
|
|
2197
3465
|
case 1:
|
|
2198
3466
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2199
|
-
msg.
|
|
3467
|
+
msg.setName(value);
|
|
3468
|
+
break;
|
|
3469
|
+
case 2:
|
|
3470
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3471
|
+
msg.setId(value);
|
|
3472
|
+
break;
|
|
3473
|
+
case 3:
|
|
3474
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3475
|
+
msg.setScopes(value);
|
|
2200
3476
|
break;
|
|
2201
3477
|
default:
|
|
2202
3478
|
reader.skipField();
|
|
@@ -2211,9 +3487,9 @@ proto.CheckCompaniesRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
2211
3487
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2212
3488
|
* @return {!Uint8Array}
|
|
2213
3489
|
*/
|
|
2214
|
-
proto.
|
|
3490
|
+
proto.UpdateAccessPayload.prototype.serializeBinary = function() {
|
|
2215
3491
|
var writer = new jspb.BinaryWriter();
|
|
2216
|
-
proto.
|
|
3492
|
+
proto.UpdateAccessPayload.serializeBinaryToWriter(this, writer);
|
|
2217
3493
|
return writer.getResultBuffer();
|
|
2218
3494
|
};
|
|
2219
3495
|
|
|
@@ -2221,40 +3497,90 @@ proto.CheckCompaniesRequest.prototype.serializeBinary = function() {
|
|
|
2221
3497
|
/**
|
|
2222
3498
|
* Serializes the given message to binary data (in protobuf wire
|
|
2223
3499
|
* format), writing to the given BinaryWriter.
|
|
2224
|
-
* @param {!proto.
|
|
3500
|
+
* @param {!proto.UpdateAccessPayload} message
|
|
2225
3501
|
* @param {!jspb.BinaryWriter} writer
|
|
2226
3502
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2227
3503
|
*/
|
|
2228
|
-
proto.
|
|
3504
|
+
proto.UpdateAccessPayload.serializeBinaryToWriter = function(message, writer) {
|
|
2229
3505
|
var f = undefined;
|
|
2230
|
-
f = message.
|
|
3506
|
+
f = message.getName();
|
|
2231
3507
|
if (f.length > 0) {
|
|
2232
3508
|
writer.writeString(
|
|
2233
3509
|
1,
|
|
2234
3510
|
f
|
|
2235
3511
|
);
|
|
2236
3512
|
}
|
|
3513
|
+
f = message.getId();
|
|
3514
|
+
if (f !== 0) {
|
|
3515
|
+
writer.writeInt64(
|
|
3516
|
+
2,
|
|
3517
|
+
f
|
|
3518
|
+
);
|
|
3519
|
+
}
|
|
3520
|
+
f = message.getScopes();
|
|
3521
|
+
if (f.length > 0) {
|
|
3522
|
+
writer.writeString(
|
|
3523
|
+
3,
|
|
3524
|
+
f
|
|
3525
|
+
);
|
|
3526
|
+
}
|
|
2237
3527
|
};
|
|
2238
3528
|
|
|
2239
3529
|
|
|
2240
3530
|
/**
|
|
2241
|
-
* optional string
|
|
3531
|
+
* optional string name = 1;
|
|
2242
3532
|
* @return {string}
|
|
2243
3533
|
*/
|
|
2244
|
-
proto.
|
|
3534
|
+
proto.UpdateAccessPayload.prototype.getName = function() {
|
|
2245
3535
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2246
3536
|
};
|
|
2247
3537
|
|
|
2248
3538
|
|
|
2249
3539
|
/**
|
|
2250
3540
|
* @param {string} value
|
|
2251
|
-
* @return {!proto.
|
|
3541
|
+
* @return {!proto.UpdateAccessPayload} returns this
|
|
2252
3542
|
*/
|
|
2253
|
-
proto.
|
|
3543
|
+
proto.UpdateAccessPayload.prototype.setName = function(value) {
|
|
2254
3544
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2255
3545
|
};
|
|
2256
3546
|
|
|
2257
3547
|
|
|
3548
|
+
/**
|
|
3549
|
+
* optional int64 id = 2;
|
|
3550
|
+
* @return {number}
|
|
3551
|
+
*/
|
|
3552
|
+
proto.UpdateAccessPayload.prototype.getId = function() {
|
|
3553
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3554
|
+
};
|
|
3555
|
+
|
|
3556
|
+
|
|
3557
|
+
/**
|
|
3558
|
+
* @param {number} value
|
|
3559
|
+
* @return {!proto.UpdateAccessPayload} returns this
|
|
3560
|
+
*/
|
|
3561
|
+
proto.UpdateAccessPayload.prototype.setId = function(value) {
|
|
3562
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3563
|
+
};
|
|
3564
|
+
|
|
3565
|
+
|
|
3566
|
+
/**
|
|
3567
|
+
* optional string scopes = 3;
|
|
3568
|
+
* @return {string}
|
|
3569
|
+
*/
|
|
3570
|
+
proto.UpdateAccessPayload.prototype.getScopes = function() {
|
|
3571
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3572
|
+
};
|
|
3573
|
+
|
|
3574
|
+
|
|
3575
|
+
/**
|
|
3576
|
+
* @param {string} value
|
|
3577
|
+
* @return {!proto.UpdateAccessPayload} returns this
|
|
3578
|
+
*/
|
|
3579
|
+
proto.UpdateAccessPayload.prototype.setScopes = function(value) {
|
|
3580
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3581
|
+
};
|
|
3582
|
+
|
|
3583
|
+
|
|
2258
3584
|
|
|
2259
3585
|
|
|
2260
3586
|
|
|
@@ -2271,8 +3597,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2271
3597
|
* http://goto/soy-param-migration
|
|
2272
3598
|
* @return {!Object}
|
|
2273
3599
|
*/
|
|
2274
|
-
proto.
|
|
2275
|
-
return proto.
|
|
3600
|
+
proto.GetAccessByIdPayload.prototype.toObject = function(opt_includeInstance) {
|
|
3601
|
+
return proto.GetAccessByIdPayload.toObject(opt_includeInstance, this);
|
|
2276
3602
|
};
|
|
2277
3603
|
|
|
2278
3604
|
|
|
@@ -2281,14 +3607,13 @@ proto.AccessApiCredential.prototype.toObject = function(opt_includeInstance) {
|
|
|
2281
3607
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2282
3608
|
* the JSPB instance for transitional soy proto support:
|
|
2283
3609
|
* http://goto/soy-param-migration
|
|
2284
|
-
* @param {!proto.
|
|
3610
|
+
* @param {!proto.GetAccessByIdPayload} msg The msg instance to transform.
|
|
2285
3611
|
* @return {!Object}
|
|
2286
3612
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2287
3613
|
*/
|
|
2288
|
-
proto.
|
|
3614
|
+
proto.GetAccessByIdPayload.toObject = function(includeInstance, msg) {
|
|
2289
3615
|
var f, obj = {
|
|
2290
|
-
|
|
2291
|
-
apisecretkey: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3616
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
2292
3617
|
};
|
|
2293
3618
|
|
|
2294
3619
|
if (includeInstance) {
|
|
@@ -2302,23 +3627,23 @@ apisecretkey: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
|
2302
3627
|
/**
|
|
2303
3628
|
* Deserializes binary data (in protobuf wire format).
|
|
2304
3629
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2305
|
-
* @return {!proto.
|
|
3630
|
+
* @return {!proto.GetAccessByIdPayload}
|
|
2306
3631
|
*/
|
|
2307
|
-
proto.
|
|
3632
|
+
proto.GetAccessByIdPayload.deserializeBinary = function(bytes) {
|
|
2308
3633
|
var reader = new jspb.BinaryReader(bytes);
|
|
2309
|
-
var msg = new proto.
|
|
2310
|
-
return proto.
|
|
3634
|
+
var msg = new proto.GetAccessByIdPayload;
|
|
3635
|
+
return proto.GetAccessByIdPayload.deserializeBinaryFromReader(msg, reader);
|
|
2311
3636
|
};
|
|
2312
3637
|
|
|
2313
3638
|
|
|
2314
3639
|
/**
|
|
2315
3640
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2316
3641
|
* given reader into the given message object.
|
|
2317
|
-
* @param {!proto.
|
|
3642
|
+
* @param {!proto.GetAccessByIdPayload} msg The message object to deserialize into.
|
|
2318
3643
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2319
|
-
* @return {!proto.
|
|
3644
|
+
* @return {!proto.GetAccessByIdPayload}
|
|
2320
3645
|
*/
|
|
2321
|
-
proto.
|
|
3646
|
+
proto.GetAccessByIdPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
2322
3647
|
while (reader.nextField()) {
|
|
2323
3648
|
if (reader.isEndGroup()) {
|
|
2324
3649
|
break;
|
|
@@ -2326,12 +3651,8 @@ proto.AccessApiCredential.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2326
3651
|
var field = reader.getFieldNumber();
|
|
2327
3652
|
switch (field) {
|
|
2328
3653
|
case 1:
|
|
2329
|
-
var value = /** @type {
|
|
2330
|
-
msg.
|
|
2331
|
-
break;
|
|
2332
|
-
case 2:
|
|
2333
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2334
|
-
msg.setApisecretkey(value);
|
|
3654
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3655
|
+
msg.setId(value);
|
|
2335
3656
|
break;
|
|
2336
3657
|
default:
|
|
2337
3658
|
reader.skipField();
|
|
@@ -2346,9 +3667,9 @@ proto.AccessApiCredential.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2346
3667
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2347
3668
|
* @return {!Uint8Array}
|
|
2348
3669
|
*/
|
|
2349
|
-
proto.
|
|
3670
|
+
proto.GetAccessByIdPayload.prototype.serializeBinary = function() {
|
|
2350
3671
|
var writer = new jspb.BinaryWriter();
|
|
2351
|
-
proto.
|
|
3672
|
+
proto.GetAccessByIdPayload.serializeBinaryToWriter(this, writer);
|
|
2352
3673
|
return writer.getResultBuffer();
|
|
2353
3674
|
};
|
|
2354
3675
|
|
|
@@ -2356,62 +3677,37 @@ proto.AccessApiCredential.prototype.serializeBinary = function() {
|
|
|
2356
3677
|
/**
|
|
2357
3678
|
* Serializes the given message to binary data (in protobuf wire
|
|
2358
3679
|
* format), writing to the given BinaryWriter.
|
|
2359
|
-
* @param {!proto.
|
|
3680
|
+
* @param {!proto.GetAccessByIdPayload} message
|
|
2360
3681
|
* @param {!jspb.BinaryWriter} writer
|
|
2361
3682
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2362
3683
|
*/
|
|
2363
|
-
proto.
|
|
3684
|
+
proto.GetAccessByIdPayload.serializeBinaryToWriter = function(message, writer) {
|
|
2364
3685
|
var f = undefined;
|
|
2365
|
-
f = message.
|
|
2366
|
-
if (f
|
|
2367
|
-
writer.
|
|
3686
|
+
f = message.getId();
|
|
3687
|
+
if (f !== 0) {
|
|
3688
|
+
writer.writeInt64(
|
|
2368
3689
|
1,
|
|
2369
3690
|
f
|
|
2370
3691
|
);
|
|
2371
3692
|
}
|
|
2372
|
-
f = message.getApisecretkey();
|
|
2373
|
-
if (f.length > 0) {
|
|
2374
|
-
writer.writeString(
|
|
2375
|
-
2,
|
|
2376
|
-
f
|
|
2377
|
-
);
|
|
2378
|
-
}
|
|
2379
|
-
};
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
/**
|
|
2383
|
-
* optional string apiSecretId = 1;
|
|
2384
|
-
* @return {string}
|
|
2385
|
-
*/
|
|
2386
|
-
proto.AccessApiCredential.prototype.getApisecretid = function() {
|
|
2387
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2388
|
-
};
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
/**
|
|
2392
|
-
* @param {string} value
|
|
2393
|
-
* @return {!proto.AccessApiCredential} returns this
|
|
2394
|
-
*/
|
|
2395
|
-
proto.AccessApiCredential.prototype.setApisecretid = function(value) {
|
|
2396
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2397
3693
|
};
|
|
2398
3694
|
|
|
2399
3695
|
|
|
2400
3696
|
/**
|
|
2401
|
-
* optional
|
|
2402
|
-
* @return {
|
|
3697
|
+
* optional int64 id = 1;
|
|
3698
|
+
* @return {number}
|
|
2403
3699
|
*/
|
|
2404
|
-
proto.
|
|
2405
|
-
return /** @type {
|
|
3700
|
+
proto.GetAccessByIdPayload.prototype.getId = function() {
|
|
3701
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2406
3702
|
};
|
|
2407
3703
|
|
|
2408
3704
|
|
|
2409
3705
|
/**
|
|
2410
|
-
* @param {
|
|
2411
|
-
* @return {!proto.
|
|
3706
|
+
* @param {number} value
|
|
3707
|
+
* @return {!proto.GetAccessByIdPayload} returns this
|
|
2412
3708
|
*/
|
|
2413
|
-
proto.
|
|
2414
|
-
return jspb.Message.
|
|
3709
|
+
proto.GetAccessByIdPayload.prototype.setId = function(value) {
|
|
3710
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2415
3711
|
};
|
|
2416
3712
|
|
|
2417
3713
|
|
|
@@ -2431,8 +3727,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2431
3727
|
* http://goto/soy-param-migration
|
|
2432
3728
|
* @return {!Object}
|
|
2433
3729
|
*/
|
|
2434
|
-
proto.
|
|
2435
|
-
return proto.
|
|
3730
|
+
proto.CreateUserPayload.prototype.toObject = function(opt_includeInstance) {
|
|
3731
|
+
return proto.CreateUserPayload.toObject(opt_includeInstance, this);
|
|
2436
3732
|
};
|
|
2437
3733
|
|
|
2438
3734
|
|
|
@@ -2441,15 +3737,15 @@ proto.AccessCreateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
2441
3737
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2442
3738
|
* the JSPB instance for transitional soy proto support:
|
|
2443
3739
|
* http://goto/soy-param-migration
|
|
2444
|
-
* @param {!proto.
|
|
3740
|
+
* @param {!proto.CreateUserPayload} msg The msg instance to transform.
|
|
2445
3741
|
* @return {!Object}
|
|
2446
3742
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2447
3743
|
*/
|
|
2448
|
-
proto.
|
|
3744
|
+
proto.CreateUserPayload.toObject = function(includeInstance, msg) {
|
|
2449
3745
|
var f, obj = {
|
|
2450
3746
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2451
|
-
|
|
2452
|
-
|
|
3747
|
+
email: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3748
|
+
password: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2453
3749
|
};
|
|
2454
3750
|
|
|
2455
3751
|
if (includeInstance) {
|
|
@@ -2463,23 +3759,23 @@ scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
|
2463
3759
|
/**
|
|
2464
3760
|
* Deserializes binary data (in protobuf wire format).
|
|
2465
3761
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2466
|
-
* @return {!proto.
|
|
3762
|
+
* @return {!proto.CreateUserPayload}
|
|
2467
3763
|
*/
|
|
2468
|
-
proto.
|
|
3764
|
+
proto.CreateUserPayload.deserializeBinary = function(bytes) {
|
|
2469
3765
|
var reader = new jspb.BinaryReader(bytes);
|
|
2470
|
-
var msg = new proto.
|
|
2471
|
-
return proto.
|
|
3766
|
+
var msg = new proto.CreateUserPayload;
|
|
3767
|
+
return proto.CreateUserPayload.deserializeBinaryFromReader(msg, reader);
|
|
2472
3768
|
};
|
|
2473
3769
|
|
|
2474
3770
|
|
|
2475
3771
|
/**
|
|
2476
3772
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2477
3773
|
* given reader into the given message object.
|
|
2478
|
-
* @param {!proto.
|
|
3774
|
+
* @param {!proto.CreateUserPayload} msg The message object to deserialize into.
|
|
2479
3775
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2480
|
-
* @return {!proto.
|
|
3776
|
+
* @return {!proto.CreateUserPayload}
|
|
2481
3777
|
*/
|
|
2482
|
-
proto.
|
|
3778
|
+
proto.CreateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
2483
3779
|
while (reader.nextField()) {
|
|
2484
3780
|
if (reader.isEndGroup()) {
|
|
2485
3781
|
break;
|
|
@@ -2491,12 +3787,12 @@ proto.AccessCreateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2491
3787
|
msg.setName(value);
|
|
2492
3788
|
break;
|
|
2493
3789
|
case 2:
|
|
2494
|
-
var value = /** @type {
|
|
2495
|
-
msg.
|
|
3790
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3791
|
+
msg.setEmail(value);
|
|
2496
3792
|
break;
|
|
2497
3793
|
case 3:
|
|
2498
3794
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2499
|
-
msg.
|
|
3795
|
+
msg.setPassword(value);
|
|
2500
3796
|
break;
|
|
2501
3797
|
default:
|
|
2502
3798
|
reader.skipField();
|
|
@@ -2511,9 +3807,9 @@ proto.AccessCreateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2511
3807
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2512
3808
|
* @return {!Uint8Array}
|
|
2513
3809
|
*/
|
|
2514
|
-
proto.
|
|
3810
|
+
proto.CreateUserPayload.prototype.serializeBinary = function() {
|
|
2515
3811
|
var writer = new jspb.BinaryWriter();
|
|
2516
|
-
proto.
|
|
3812
|
+
proto.CreateUserPayload.serializeBinaryToWriter(this, writer);
|
|
2517
3813
|
return writer.getResultBuffer();
|
|
2518
3814
|
};
|
|
2519
3815
|
|
|
@@ -2521,11 +3817,11 @@ proto.AccessCreateRequest.prototype.serializeBinary = function() {
|
|
|
2521
3817
|
/**
|
|
2522
3818
|
* Serializes the given message to binary data (in protobuf wire
|
|
2523
3819
|
* format), writing to the given BinaryWriter.
|
|
2524
|
-
* @param {!proto.
|
|
3820
|
+
* @param {!proto.CreateUserPayload} message
|
|
2525
3821
|
* @param {!jspb.BinaryWriter} writer
|
|
2526
3822
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2527
3823
|
*/
|
|
2528
|
-
proto.
|
|
3824
|
+
proto.CreateUserPayload.serializeBinaryToWriter = function(message, writer) {
|
|
2529
3825
|
var f = undefined;
|
|
2530
3826
|
f = message.getName();
|
|
2531
3827
|
if (f.length > 0) {
|
|
@@ -2534,14 +3830,14 @@ proto.AccessCreateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
2534
3830
|
f
|
|
2535
3831
|
);
|
|
2536
3832
|
}
|
|
2537
|
-
f = message.
|
|
2538
|
-
if (f
|
|
2539
|
-
writer.
|
|
3833
|
+
f = message.getEmail();
|
|
3834
|
+
if (f.length > 0) {
|
|
3835
|
+
writer.writeString(
|
|
2540
3836
|
2,
|
|
2541
3837
|
f
|
|
2542
3838
|
);
|
|
2543
3839
|
}
|
|
2544
|
-
f = message.
|
|
3840
|
+
f = message.getPassword();
|
|
2545
3841
|
if (f.length > 0) {
|
|
2546
3842
|
writer.writeString(
|
|
2547
3843
|
3,
|
|
@@ -2555,52 +3851,52 @@ proto.AccessCreateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
2555
3851
|
* optional string name = 1;
|
|
2556
3852
|
* @return {string}
|
|
2557
3853
|
*/
|
|
2558
|
-
proto.
|
|
3854
|
+
proto.CreateUserPayload.prototype.getName = function() {
|
|
2559
3855
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2560
3856
|
};
|
|
2561
3857
|
|
|
2562
3858
|
|
|
2563
3859
|
/**
|
|
2564
3860
|
* @param {string} value
|
|
2565
|
-
* @return {!proto.
|
|
3861
|
+
* @return {!proto.CreateUserPayload} returns this
|
|
2566
3862
|
*/
|
|
2567
|
-
proto.
|
|
3863
|
+
proto.CreateUserPayload.prototype.setName = function(value) {
|
|
2568
3864
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2569
3865
|
};
|
|
2570
3866
|
|
|
2571
3867
|
|
|
2572
3868
|
/**
|
|
2573
|
-
* optional
|
|
2574
|
-
* @return {
|
|
3869
|
+
* optional string email = 2;
|
|
3870
|
+
* @return {string}
|
|
2575
3871
|
*/
|
|
2576
|
-
proto.
|
|
2577
|
-
return /** @type {
|
|
3872
|
+
proto.CreateUserPayload.prototype.getEmail = function() {
|
|
3873
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2578
3874
|
};
|
|
2579
3875
|
|
|
2580
3876
|
|
|
2581
3877
|
/**
|
|
2582
|
-
* @param {
|
|
2583
|
-
* @return {!proto.
|
|
3878
|
+
* @param {string} value
|
|
3879
|
+
* @return {!proto.CreateUserPayload} returns this
|
|
2584
3880
|
*/
|
|
2585
|
-
proto.
|
|
2586
|
-
return jspb.Message.
|
|
3881
|
+
proto.CreateUserPayload.prototype.setEmail = function(value) {
|
|
3882
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2587
3883
|
};
|
|
2588
3884
|
|
|
2589
3885
|
|
|
2590
3886
|
/**
|
|
2591
|
-
* optional string
|
|
3887
|
+
* optional string password = 3;
|
|
2592
3888
|
* @return {string}
|
|
2593
3889
|
*/
|
|
2594
|
-
proto.
|
|
3890
|
+
proto.CreateUserPayload.prototype.getPassword = function() {
|
|
2595
3891
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2596
3892
|
};
|
|
2597
3893
|
|
|
2598
3894
|
|
|
2599
3895
|
/**
|
|
2600
3896
|
* @param {string} value
|
|
2601
|
-
* @return {!proto.
|
|
3897
|
+
* @return {!proto.CreateUserPayload} returns this
|
|
2602
3898
|
*/
|
|
2603
|
-
proto.
|
|
3899
|
+
proto.CreateUserPayload.prototype.setPassword = function(value) {
|
|
2604
3900
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2605
3901
|
};
|
|
2606
3902
|
|
|
@@ -2621,8 +3917,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2621
3917
|
* http://goto/soy-param-migration
|
|
2622
3918
|
* @return {!Object}
|
|
2623
3919
|
*/
|
|
2624
|
-
proto.
|
|
2625
|
-
return proto.
|
|
3920
|
+
proto.UpdateUserPayload.prototype.toObject = function(opt_includeInstance) {
|
|
3921
|
+
return proto.UpdateUserPayload.toObject(opt_includeInstance, this);
|
|
2626
3922
|
};
|
|
2627
3923
|
|
|
2628
3924
|
|
|
@@ -2631,13 +3927,14 @@ proto.AuthVerifyToken.prototype.toObject = function(opt_includeInstance) {
|
|
|
2631
3927
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2632
3928
|
* the JSPB instance for transitional soy proto support:
|
|
2633
3929
|
* http://goto/soy-param-migration
|
|
2634
|
-
* @param {!proto.
|
|
3930
|
+
* @param {!proto.UpdateUserPayload} msg The msg instance to transform.
|
|
2635
3931
|
* @return {!Object}
|
|
2636
3932
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2637
3933
|
*/
|
|
2638
|
-
proto.
|
|
3934
|
+
proto.UpdateUserPayload.toObject = function(includeInstance, msg) {
|
|
2639
3935
|
var f, obj = {
|
|
2640
|
-
|
|
3936
|
+
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3937
|
+
password: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2641
3938
|
};
|
|
2642
3939
|
|
|
2643
3940
|
if (includeInstance) {
|
|
@@ -2651,23 +3948,23 @@ token: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
2651
3948
|
/**
|
|
2652
3949
|
* Deserializes binary data (in protobuf wire format).
|
|
2653
3950
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2654
|
-
* @return {!proto.
|
|
3951
|
+
* @return {!proto.UpdateUserPayload}
|
|
2655
3952
|
*/
|
|
2656
|
-
proto.
|
|
3953
|
+
proto.UpdateUserPayload.deserializeBinary = function(bytes) {
|
|
2657
3954
|
var reader = new jspb.BinaryReader(bytes);
|
|
2658
|
-
var msg = new proto.
|
|
2659
|
-
return proto.
|
|
3955
|
+
var msg = new proto.UpdateUserPayload;
|
|
3956
|
+
return proto.UpdateUserPayload.deserializeBinaryFromReader(msg, reader);
|
|
2660
3957
|
};
|
|
2661
3958
|
|
|
2662
3959
|
|
|
2663
3960
|
/**
|
|
2664
3961
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2665
3962
|
* given reader into the given message object.
|
|
2666
|
-
* @param {!proto.
|
|
3963
|
+
* @param {!proto.UpdateUserPayload} msg The message object to deserialize into.
|
|
2667
3964
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2668
|
-
* @return {!proto.
|
|
3965
|
+
* @return {!proto.UpdateUserPayload}
|
|
2669
3966
|
*/
|
|
2670
|
-
proto.
|
|
3967
|
+
proto.UpdateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
2671
3968
|
while (reader.nextField()) {
|
|
2672
3969
|
if (reader.isEndGroup()) {
|
|
2673
3970
|
break;
|
|
@@ -2676,7 +3973,11 @@ proto.AuthVerifyToken.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2676
3973
|
switch (field) {
|
|
2677
3974
|
case 1:
|
|
2678
3975
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2679
|
-
msg.
|
|
3976
|
+
msg.setEmail(value);
|
|
3977
|
+
break;
|
|
3978
|
+
case 2:
|
|
3979
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3980
|
+
msg.setPassword(value);
|
|
2680
3981
|
break;
|
|
2681
3982
|
default:
|
|
2682
3983
|
reader.skipField();
|
|
@@ -2691,9 +3992,9 @@ proto.AuthVerifyToken.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2691
3992
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2692
3993
|
* @return {!Uint8Array}
|
|
2693
3994
|
*/
|
|
2694
|
-
proto.
|
|
3995
|
+
proto.UpdateUserPayload.prototype.serializeBinary = function() {
|
|
2695
3996
|
var writer = new jspb.BinaryWriter();
|
|
2696
|
-
proto.
|
|
3997
|
+
proto.UpdateUserPayload.serializeBinaryToWriter(this, writer);
|
|
2697
3998
|
return writer.getResultBuffer();
|
|
2698
3999
|
};
|
|
2699
4000
|
|
|
@@ -2701,40 +4002,65 @@ proto.AuthVerifyToken.prototype.serializeBinary = function() {
|
|
|
2701
4002
|
/**
|
|
2702
4003
|
* Serializes the given message to binary data (in protobuf wire
|
|
2703
4004
|
* format), writing to the given BinaryWriter.
|
|
2704
|
-
* @param {!proto.
|
|
4005
|
+
* @param {!proto.UpdateUserPayload} message
|
|
2705
4006
|
* @param {!jspb.BinaryWriter} writer
|
|
2706
4007
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2707
4008
|
*/
|
|
2708
|
-
proto.
|
|
4009
|
+
proto.UpdateUserPayload.serializeBinaryToWriter = function(message, writer) {
|
|
2709
4010
|
var f = undefined;
|
|
2710
|
-
f = message.
|
|
4011
|
+
f = message.getEmail();
|
|
2711
4012
|
if (f.length > 0) {
|
|
2712
4013
|
writer.writeString(
|
|
2713
4014
|
1,
|
|
2714
4015
|
f
|
|
2715
4016
|
);
|
|
2716
4017
|
}
|
|
4018
|
+
f = message.getPassword();
|
|
4019
|
+
if (f.length > 0) {
|
|
4020
|
+
writer.writeString(
|
|
4021
|
+
2,
|
|
4022
|
+
f
|
|
4023
|
+
);
|
|
4024
|
+
}
|
|
2717
4025
|
};
|
|
2718
4026
|
|
|
2719
4027
|
|
|
2720
4028
|
/**
|
|
2721
|
-
* optional string
|
|
4029
|
+
* optional string email = 1;
|
|
2722
4030
|
* @return {string}
|
|
2723
4031
|
*/
|
|
2724
|
-
proto.
|
|
4032
|
+
proto.UpdateUserPayload.prototype.getEmail = function() {
|
|
2725
4033
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2726
4034
|
};
|
|
2727
4035
|
|
|
2728
4036
|
|
|
2729
4037
|
/**
|
|
2730
4038
|
* @param {string} value
|
|
2731
|
-
* @return {!proto.
|
|
4039
|
+
* @return {!proto.UpdateUserPayload} returns this
|
|
2732
4040
|
*/
|
|
2733
|
-
proto.
|
|
4041
|
+
proto.UpdateUserPayload.prototype.setEmail = function(value) {
|
|
2734
4042
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2735
4043
|
};
|
|
2736
4044
|
|
|
2737
4045
|
|
|
4046
|
+
/**
|
|
4047
|
+
* optional string password = 2;
|
|
4048
|
+
* @return {string}
|
|
4049
|
+
*/
|
|
4050
|
+
proto.UpdateUserPayload.prototype.getPassword = function() {
|
|
4051
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4052
|
+
};
|
|
4053
|
+
|
|
4054
|
+
|
|
4055
|
+
/**
|
|
4056
|
+
* @param {string} value
|
|
4057
|
+
* @return {!proto.UpdateUserPayload} returns this
|
|
4058
|
+
*/
|
|
4059
|
+
proto.UpdateUserPayload.prototype.setPassword = function(value) {
|
|
4060
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4061
|
+
};
|
|
4062
|
+
|
|
4063
|
+
|
|
2738
4064
|
|
|
2739
4065
|
|
|
2740
4066
|
|
|
@@ -2751,8 +4077,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2751
4077
|
* http://goto/soy-param-migration
|
|
2752
4078
|
* @return {!Object}
|
|
2753
4079
|
*/
|
|
2754
|
-
proto.
|
|
2755
|
-
return proto.
|
|
4080
|
+
proto.ChangePasswordRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4081
|
+
return proto.ChangePasswordRequest.toObject(opt_includeInstance, this);
|
|
2756
4082
|
};
|
|
2757
4083
|
|
|
2758
4084
|
|
|
@@ -2761,15 +4087,14 @@ proto.UpdateAccessPayload.prototype.toObject = function(opt_includeInstance) {
|
|
|
2761
4087
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2762
4088
|
* the JSPB instance for transitional soy proto support:
|
|
2763
4089
|
* http://goto/soy-param-migration
|
|
2764
|
-
* @param {!proto.
|
|
4090
|
+
* @param {!proto.ChangePasswordRequest} msg The msg instance to transform.
|
|
2765
4091
|
* @return {!Object}
|
|
2766
4092
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2767
4093
|
*/
|
|
2768
|
-
proto.
|
|
4094
|
+
proto.ChangePasswordRequest.toObject = function(includeInstance, msg) {
|
|
2769
4095
|
var f, obj = {
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4096
|
+
oldPassword: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4097
|
+
newPassword: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2773
4098
|
};
|
|
2774
4099
|
|
|
2775
4100
|
if (includeInstance) {
|
|
@@ -2783,23 +4108,23 @@ scopes: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
|
2783
4108
|
/**
|
|
2784
4109
|
* Deserializes binary data (in protobuf wire format).
|
|
2785
4110
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2786
|
-
* @return {!proto.
|
|
4111
|
+
* @return {!proto.ChangePasswordRequest}
|
|
2787
4112
|
*/
|
|
2788
|
-
proto.
|
|
4113
|
+
proto.ChangePasswordRequest.deserializeBinary = function(bytes) {
|
|
2789
4114
|
var reader = new jspb.BinaryReader(bytes);
|
|
2790
|
-
var msg = new proto.
|
|
2791
|
-
return proto.
|
|
4115
|
+
var msg = new proto.ChangePasswordRequest;
|
|
4116
|
+
return proto.ChangePasswordRequest.deserializeBinaryFromReader(msg, reader);
|
|
2792
4117
|
};
|
|
2793
4118
|
|
|
2794
4119
|
|
|
2795
4120
|
/**
|
|
2796
4121
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2797
4122
|
* given reader into the given message object.
|
|
2798
|
-
* @param {!proto.
|
|
4123
|
+
* @param {!proto.ChangePasswordRequest} msg The message object to deserialize into.
|
|
2799
4124
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2800
|
-
* @return {!proto.
|
|
4125
|
+
* @return {!proto.ChangePasswordRequest}
|
|
2801
4126
|
*/
|
|
2802
|
-
proto.
|
|
4127
|
+
proto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2803
4128
|
while (reader.nextField()) {
|
|
2804
4129
|
if (reader.isEndGroup()) {
|
|
2805
4130
|
break;
|
|
@@ -2808,15 +4133,11 @@ proto.UpdateAccessPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2808
4133
|
switch (field) {
|
|
2809
4134
|
case 1:
|
|
2810
4135
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2811
|
-
msg.
|
|
4136
|
+
msg.setOldPassword(value);
|
|
2812
4137
|
break;
|
|
2813
4138
|
case 2:
|
|
2814
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
2815
|
-
msg.setId(value);
|
|
2816
|
-
break;
|
|
2817
|
-
case 3:
|
|
2818
4139
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2819
|
-
msg.
|
|
4140
|
+
msg.setNewPassword(value);
|
|
2820
4141
|
break;
|
|
2821
4142
|
default:
|
|
2822
4143
|
reader.skipField();
|
|
@@ -2831,9 +4152,9 @@ proto.UpdateAccessPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2831
4152
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2832
4153
|
* @return {!Uint8Array}
|
|
2833
4154
|
*/
|
|
2834
|
-
proto.
|
|
4155
|
+
proto.ChangePasswordRequest.prototype.serializeBinary = function() {
|
|
2835
4156
|
var writer = new jspb.BinaryWriter();
|
|
2836
|
-
proto.
|
|
4157
|
+
proto.ChangePasswordRequest.serializeBinaryToWriter(this, writer);
|
|
2837
4158
|
return writer.getResultBuffer();
|
|
2838
4159
|
};
|
|
2839
4160
|
|
|
@@ -2841,30 +4162,23 @@ proto.UpdateAccessPayload.prototype.serializeBinary = function() {
|
|
|
2841
4162
|
/**
|
|
2842
4163
|
* Serializes the given message to binary data (in protobuf wire
|
|
2843
4164
|
* format), writing to the given BinaryWriter.
|
|
2844
|
-
* @param {!proto.
|
|
4165
|
+
* @param {!proto.ChangePasswordRequest} message
|
|
2845
4166
|
* @param {!jspb.BinaryWriter} writer
|
|
2846
4167
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2847
4168
|
*/
|
|
2848
|
-
proto.
|
|
4169
|
+
proto.ChangePasswordRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2849
4170
|
var f = undefined;
|
|
2850
|
-
f = message.
|
|
4171
|
+
f = message.getOldPassword();
|
|
2851
4172
|
if (f.length > 0) {
|
|
2852
4173
|
writer.writeString(
|
|
2853
4174
|
1,
|
|
2854
4175
|
f
|
|
2855
4176
|
);
|
|
2856
4177
|
}
|
|
2857
|
-
f = message.
|
|
2858
|
-
if (f !== 0) {
|
|
2859
|
-
writer.writeInt64(
|
|
2860
|
-
2,
|
|
2861
|
-
f
|
|
2862
|
-
);
|
|
2863
|
-
}
|
|
2864
|
-
f = message.getScopes();
|
|
4178
|
+
f = message.getNewPassword();
|
|
2865
4179
|
if (f.length > 0) {
|
|
2866
4180
|
writer.writeString(
|
|
2867
|
-
|
|
4181
|
+
2,
|
|
2868
4182
|
f
|
|
2869
4183
|
);
|
|
2870
4184
|
}
|
|
@@ -2872,56 +4186,38 @@ proto.UpdateAccessPayload.serializeBinaryToWriter = function(message, writer) {
|
|
|
2872
4186
|
|
|
2873
4187
|
|
|
2874
4188
|
/**
|
|
2875
|
-
* optional string
|
|
4189
|
+
* optional string old_password = 1;
|
|
2876
4190
|
* @return {string}
|
|
2877
4191
|
*/
|
|
2878
|
-
proto.
|
|
4192
|
+
proto.ChangePasswordRequest.prototype.getOldPassword = function() {
|
|
2879
4193
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2880
4194
|
};
|
|
2881
4195
|
|
|
2882
4196
|
|
|
2883
4197
|
/**
|
|
2884
4198
|
* @param {string} value
|
|
2885
|
-
* @return {!proto.
|
|
4199
|
+
* @return {!proto.ChangePasswordRequest} returns this
|
|
2886
4200
|
*/
|
|
2887
|
-
proto.
|
|
4201
|
+
proto.ChangePasswordRequest.prototype.setOldPassword = function(value) {
|
|
2888
4202
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2889
4203
|
};
|
|
2890
4204
|
|
|
2891
4205
|
|
|
2892
4206
|
/**
|
|
2893
|
-
* optional
|
|
2894
|
-
* @return {number}
|
|
2895
|
-
*/
|
|
2896
|
-
proto.UpdateAccessPayload.prototype.getId = function() {
|
|
2897
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2898
|
-
};
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
/**
|
|
2902
|
-
* @param {number} value
|
|
2903
|
-
* @return {!proto.UpdateAccessPayload} returns this
|
|
2904
|
-
*/
|
|
2905
|
-
proto.UpdateAccessPayload.prototype.setId = function(value) {
|
|
2906
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2907
|
-
};
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
/**
|
|
2911
|
-
* optional string scopes = 3;
|
|
4207
|
+
* optional string new_password = 2;
|
|
2912
4208
|
* @return {string}
|
|
2913
4209
|
*/
|
|
2914
|
-
proto.
|
|
2915
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
4210
|
+
proto.ChangePasswordRequest.prototype.getNewPassword = function() {
|
|
4211
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2916
4212
|
};
|
|
2917
4213
|
|
|
2918
4214
|
|
|
2919
4215
|
/**
|
|
2920
4216
|
* @param {string} value
|
|
2921
|
-
* @return {!proto.
|
|
4217
|
+
* @return {!proto.ChangePasswordRequest} returns this
|
|
2922
4218
|
*/
|
|
2923
|
-
proto.
|
|
2924
|
-
return jspb.Message.setProto3StringField(this,
|
|
4219
|
+
proto.ChangePasswordRequest.prototype.setNewPassword = function(value) {
|
|
4220
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2925
4221
|
};
|
|
2926
4222
|
|
|
2927
4223
|
|
|
@@ -2941,8 +4237,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2941
4237
|
* http://goto/soy-param-migration
|
|
2942
4238
|
* @return {!Object}
|
|
2943
4239
|
*/
|
|
2944
|
-
proto.
|
|
2945
|
-
return proto.
|
|
4240
|
+
proto.RefreshTokenRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4241
|
+
return proto.RefreshTokenRequest.toObject(opt_includeInstance, this);
|
|
2946
4242
|
};
|
|
2947
4243
|
|
|
2948
4244
|
|
|
@@ -2951,13 +4247,15 @@ proto.GetAccessByIdPayload.prototype.toObject = function(opt_includeInstance) {
|
|
|
2951
4247
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2952
4248
|
* the JSPB instance for transitional soy proto support:
|
|
2953
4249
|
* http://goto/soy-param-migration
|
|
2954
|
-
* @param {!proto.
|
|
4250
|
+
* @param {!proto.RefreshTokenRequest} msg The msg instance to transform.
|
|
2955
4251
|
* @return {!Object}
|
|
2956
4252
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2957
4253
|
*/
|
|
2958
|
-
proto.
|
|
4254
|
+
proto.RefreshTokenRequest.toObject = function(includeInstance, msg) {
|
|
2959
4255
|
var f, obj = {
|
|
2960
|
-
|
|
4256
|
+
refreshToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4257
|
+
userAgent: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4258
|
+
ipAddress: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2961
4259
|
};
|
|
2962
4260
|
|
|
2963
4261
|
if (includeInstance) {
|
|
@@ -2971,23 +4269,23 @@ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
|
2971
4269
|
/**
|
|
2972
4270
|
* Deserializes binary data (in protobuf wire format).
|
|
2973
4271
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2974
|
-
* @return {!proto.
|
|
4272
|
+
* @return {!proto.RefreshTokenRequest}
|
|
2975
4273
|
*/
|
|
2976
|
-
proto.
|
|
4274
|
+
proto.RefreshTokenRequest.deserializeBinary = function(bytes) {
|
|
2977
4275
|
var reader = new jspb.BinaryReader(bytes);
|
|
2978
|
-
var msg = new proto.
|
|
2979
|
-
return proto.
|
|
4276
|
+
var msg = new proto.RefreshTokenRequest;
|
|
4277
|
+
return proto.RefreshTokenRequest.deserializeBinaryFromReader(msg, reader);
|
|
2980
4278
|
};
|
|
2981
4279
|
|
|
2982
4280
|
|
|
2983
4281
|
/**
|
|
2984
4282
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2985
4283
|
* given reader into the given message object.
|
|
2986
|
-
* @param {!proto.
|
|
4284
|
+
* @param {!proto.RefreshTokenRequest} msg The message object to deserialize into.
|
|
2987
4285
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2988
|
-
* @return {!proto.
|
|
4286
|
+
* @return {!proto.RefreshTokenRequest}
|
|
2989
4287
|
*/
|
|
2990
|
-
proto.
|
|
4288
|
+
proto.RefreshTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2991
4289
|
while (reader.nextField()) {
|
|
2992
4290
|
if (reader.isEndGroup()) {
|
|
2993
4291
|
break;
|
|
@@ -2995,63 +4293,121 @@ proto.GetAccessByIdPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2995
4293
|
var field = reader.getFieldNumber();
|
|
2996
4294
|
switch (field) {
|
|
2997
4295
|
case 1:
|
|
2998
|
-
var value = /** @type {
|
|
2999
|
-
msg.
|
|
4296
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4297
|
+
msg.setRefreshToken(value);
|
|
4298
|
+
break;
|
|
4299
|
+
case 2:
|
|
4300
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4301
|
+
msg.setUserAgent(value);
|
|
4302
|
+
break;
|
|
4303
|
+
case 3:
|
|
4304
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4305
|
+
msg.setIpAddress(value);
|
|
3000
4306
|
break;
|
|
3001
4307
|
default:
|
|
3002
4308
|
reader.skipField();
|
|
3003
4309
|
break;
|
|
3004
4310
|
}
|
|
3005
4311
|
}
|
|
3006
|
-
return msg;
|
|
4312
|
+
return msg;
|
|
4313
|
+
};
|
|
4314
|
+
|
|
4315
|
+
|
|
4316
|
+
/**
|
|
4317
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4318
|
+
* @return {!Uint8Array}
|
|
4319
|
+
*/
|
|
4320
|
+
proto.RefreshTokenRequest.prototype.serializeBinary = function() {
|
|
4321
|
+
var writer = new jspb.BinaryWriter();
|
|
4322
|
+
proto.RefreshTokenRequest.serializeBinaryToWriter(this, writer);
|
|
4323
|
+
return writer.getResultBuffer();
|
|
4324
|
+
};
|
|
4325
|
+
|
|
4326
|
+
|
|
4327
|
+
/**
|
|
4328
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4329
|
+
* format), writing to the given BinaryWriter.
|
|
4330
|
+
* @param {!proto.RefreshTokenRequest} message
|
|
4331
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4332
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4333
|
+
*/
|
|
4334
|
+
proto.RefreshTokenRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4335
|
+
var f = undefined;
|
|
4336
|
+
f = message.getRefreshToken();
|
|
4337
|
+
if (f.length > 0) {
|
|
4338
|
+
writer.writeString(
|
|
4339
|
+
1,
|
|
4340
|
+
f
|
|
4341
|
+
);
|
|
4342
|
+
}
|
|
4343
|
+
f = message.getUserAgent();
|
|
4344
|
+
if (f.length > 0) {
|
|
4345
|
+
writer.writeString(
|
|
4346
|
+
2,
|
|
4347
|
+
f
|
|
4348
|
+
);
|
|
4349
|
+
}
|
|
4350
|
+
f = message.getIpAddress();
|
|
4351
|
+
if (f.length > 0) {
|
|
4352
|
+
writer.writeString(
|
|
4353
|
+
3,
|
|
4354
|
+
f
|
|
4355
|
+
);
|
|
4356
|
+
}
|
|
3007
4357
|
};
|
|
3008
4358
|
|
|
3009
4359
|
|
|
3010
4360
|
/**
|
|
3011
|
-
*
|
|
3012
|
-
* @return {
|
|
4361
|
+
* optional string refresh_token = 1;
|
|
4362
|
+
* @return {string}
|
|
3013
4363
|
*/
|
|
3014
|
-
proto.
|
|
3015
|
-
|
|
3016
|
-
proto.GetAccessByIdPayload.serializeBinaryToWriter(this, writer);
|
|
3017
|
-
return writer.getResultBuffer();
|
|
4364
|
+
proto.RefreshTokenRequest.prototype.getRefreshToken = function() {
|
|
4365
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3018
4366
|
};
|
|
3019
4367
|
|
|
3020
4368
|
|
|
3021
4369
|
/**
|
|
3022
|
-
*
|
|
3023
|
-
*
|
|
3024
|
-
* @param {!proto.GetAccessByIdPayload} message
|
|
3025
|
-
* @param {!jspb.BinaryWriter} writer
|
|
3026
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4370
|
+
* @param {string} value
|
|
4371
|
+
* @return {!proto.RefreshTokenRequest} returns this
|
|
3027
4372
|
*/
|
|
3028
|
-
proto.
|
|
3029
|
-
|
|
3030
|
-
f = message.getId();
|
|
3031
|
-
if (f !== 0) {
|
|
3032
|
-
writer.writeInt64(
|
|
3033
|
-
1,
|
|
3034
|
-
f
|
|
3035
|
-
);
|
|
3036
|
-
}
|
|
4373
|
+
proto.RefreshTokenRequest.prototype.setRefreshToken = function(value) {
|
|
4374
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3037
4375
|
};
|
|
3038
4376
|
|
|
3039
4377
|
|
|
3040
4378
|
/**
|
|
3041
|
-
* optional
|
|
3042
|
-
* @return {
|
|
4379
|
+
* optional string user_agent = 2;
|
|
4380
|
+
* @return {string}
|
|
3043
4381
|
*/
|
|
3044
|
-
proto.
|
|
3045
|
-
return /** @type {
|
|
4382
|
+
proto.RefreshTokenRequest.prototype.getUserAgent = function() {
|
|
4383
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3046
4384
|
};
|
|
3047
4385
|
|
|
3048
4386
|
|
|
3049
4387
|
/**
|
|
3050
|
-
* @param {
|
|
3051
|
-
* @return {!proto.
|
|
4388
|
+
* @param {string} value
|
|
4389
|
+
* @return {!proto.RefreshTokenRequest} returns this
|
|
3052
4390
|
*/
|
|
3053
|
-
proto.
|
|
3054
|
-
return jspb.Message.
|
|
4391
|
+
proto.RefreshTokenRequest.prototype.setUserAgent = function(value) {
|
|
4392
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4393
|
+
};
|
|
4394
|
+
|
|
4395
|
+
|
|
4396
|
+
/**
|
|
4397
|
+
* optional string ip_address = 3;
|
|
4398
|
+
* @return {string}
|
|
4399
|
+
*/
|
|
4400
|
+
proto.RefreshTokenRequest.prototype.getIpAddress = function() {
|
|
4401
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4402
|
+
};
|
|
4403
|
+
|
|
4404
|
+
|
|
4405
|
+
/**
|
|
4406
|
+
* @param {string} value
|
|
4407
|
+
* @return {!proto.RefreshTokenRequest} returns this
|
|
4408
|
+
*/
|
|
4409
|
+
proto.RefreshTokenRequest.prototype.setIpAddress = function(value) {
|
|
4410
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3055
4411
|
};
|
|
3056
4412
|
|
|
3057
4413
|
|
|
@@ -3071,8 +4427,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3071
4427
|
* http://goto/soy-param-migration
|
|
3072
4428
|
* @return {!Object}
|
|
3073
4429
|
*/
|
|
3074
|
-
proto.
|
|
3075
|
-
return proto.
|
|
4430
|
+
proto.RefreshTokenResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4431
|
+
return proto.RefreshTokenResponse.toObject(opt_includeInstance, this);
|
|
3076
4432
|
};
|
|
3077
4433
|
|
|
3078
4434
|
|
|
@@ -3081,15 +4437,17 @@ proto.CreateUserPayload.prototype.toObject = function(opt_includeInstance) {
|
|
|
3081
4437
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3082
4438
|
* the JSPB instance for transitional soy proto support:
|
|
3083
4439
|
* http://goto/soy-param-migration
|
|
3084
|
-
* @param {!proto.
|
|
4440
|
+
* @param {!proto.RefreshTokenResponse} msg The msg instance to transform.
|
|
3085
4441
|
* @return {!Object}
|
|
3086
4442
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3087
4443
|
*/
|
|
3088
|
-
proto.
|
|
4444
|
+
proto.RefreshTokenResponse.toObject = function(includeInstance, msg) {
|
|
3089
4445
|
var f, obj = {
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
4446
|
+
accessToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4447
|
+
accessExpiresAt: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4448
|
+
refreshToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4449
|
+
refreshExpiresAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
4450
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3093
4451
|
};
|
|
3094
4452
|
|
|
3095
4453
|
if (includeInstance) {
|
|
@@ -3103,23 +4461,23 @@ password: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
|
3103
4461
|
/**
|
|
3104
4462
|
* Deserializes binary data (in protobuf wire format).
|
|
3105
4463
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3106
|
-
* @return {!proto.
|
|
4464
|
+
* @return {!proto.RefreshTokenResponse}
|
|
3107
4465
|
*/
|
|
3108
|
-
proto.
|
|
4466
|
+
proto.RefreshTokenResponse.deserializeBinary = function(bytes) {
|
|
3109
4467
|
var reader = new jspb.BinaryReader(bytes);
|
|
3110
|
-
var msg = new proto.
|
|
3111
|
-
return proto.
|
|
4468
|
+
var msg = new proto.RefreshTokenResponse;
|
|
4469
|
+
return proto.RefreshTokenResponse.deserializeBinaryFromReader(msg, reader);
|
|
3112
4470
|
};
|
|
3113
4471
|
|
|
3114
4472
|
|
|
3115
4473
|
/**
|
|
3116
4474
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3117
4475
|
* given reader into the given message object.
|
|
3118
|
-
* @param {!proto.
|
|
4476
|
+
* @param {!proto.RefreshTokenResponse} msg The message object to deserialize into.
|
|
3119
4477
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3120
|
-
* @return {!proto.
|
|
4478
|
+
* @return {!proto.RefreshTokenResponse}
|
|
3121
4479
|
*/
|
|
3122
|
-
proto.
|
|
4480
|
+
proto.RefreshTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3123
4481
|
while (reader.nextField()) {
|
|
3124
4482
|
if (reader.isEndGroup()) {
|
|
3125
4483
|
break;
|
|
@@ -3128,15 +4486,24 @@ proto.CreateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3128
4486
|
switch (field) {
|
|
3129
4487
|
case 1:
|
|
3130
4488
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3131
|
-
msg.
|
|
4489
|
+
msg.setAccessToken(value);
|
|
3132
4490
|
break;
|
|
3133
4491
|
case 2:
|
|
3134
|
-
var value = /** @type {
|
|
3135
|
-
msg.
|
|
4492
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4493
|
+
msg.setAccessExpiresAt(value);
|
|
3136
4494
|
break;
|
|
3137
4495
|
case 3:
|
|
3138
4496
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3139
|
-
msg.
|
|
4497
|
+
msg.setRefreshToken(value);
|
|
4498
|
+
break;
|
|
4499
|
+
case 4:
|
|
4500
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4501
|
+
msg.setRefreshExpiresAt(value);
|
|
4502
|
+
break;
|
|
4503
|
+
case 99:
|
|
4504
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
4505
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
4506
|
+
msg.setMeta(value);
|
|
3140
4507
|
break;
|
|
3141
4508
|
default:
|
|
3142
4509
|
reader.skipField();
|
|
@@ -3151,9 +4518,9 @@ proto.CreateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3151
4518
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3152
4519
|
* @return {!Uint8Array}
|
|
3153
4520
|
*/
|
|
3154
|
-
proto.
|
|
4521
|
+
proto.RefreshTokenResponse.prototype.serializeBinary = function() {
|
|
3155
4522
|
var writer = new jspb.BinaryWriter();
|
|
3156
|
-
proto.
|
|
4523
|
+
proto.RefreshTokenResponse.serializeBinaryToWriter(this, writer);
|
|
3157
4524
|
return writer.getResultBuffer();
|
|
3158
4525
|
};
|
|
3159
4526
|
|
|
@@ -3161,90 +4528,160 @@ proto.CreateUserPayload.prototype.serializeBinary = function() {
|
|
|
3161
4528
|
/**
|
|
3162
4529
|
* Serializes the given message to binary data (in protobuf wire
|
|
3163
4530
|
* format), writing to the given BinaryWriter.
|
|
3164
|
-
* @param {!proto.
|
|
4531
|
+
* @param {!proto.RefreshTokenResponse} message
|
|
3165
4532
|
* @param {!jspb.BinaryWriter} writer
|
|
3166
4533
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3167
4534
|
*/
|
|
3168
|
-
proto.
|
|
4535
|
+
proto.RefreshTokenResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3169
4536
|
var f = undefined;
|
|
3170
|
-
f = message.
|
|
4537
|
+
f = message.getAccessToken();
|
|
3171
4538
|
if (f.length > 0) {
|
|
3172
4539
|
writer.writeString(
|
|
3173
4540
|
1,
|
|
3174
4541
|
f
|
|
3175
4542
|
);
|
|
3176
4543
|
}
|
|
3177
|
-
f = message.
|
|
3178
|
-
if (f
|
|
3179
|
-
writer.
|
|
4544
|
+
f = message.getAccessExpiresAt();
|
|
4545
|
+
if (f !== 0) {
|
|
4546
|
+
writer.writeInt64(
|
|
3180
4547
|
2,
|
|
3181
4548
|
f
|
|
3182
4549
|
);
|
|
3183
4550
|
}
|
|
3184
|
-
f = message.
|
|
4551
|
+
f = message.getRefreshToken();
|
|
3185
4552
|
if (f.length > 0) {
|
|
3186
4553
|
writer.writeString(
|
|
3187
4554
|
3,
|
|
3188
4555
|
f
|
|
3189
4556
|
);
|
|
3190
4557
|
}
|
|
4558
|
+
f = message.getRefreshExpiresAt();
|
|
4559
|
+
if (f !== 0) {
|
|
4560
|
+
writer.writeInt64(
|
|
4561
|
+
4,
|
|
4562
|
+
f
|
|
4563
|
+
);
|
|
4564
|
+
}
|
|
4565
|
+
f = message.getMeta();
|
|
4566
|
+
if (f != null) {
|
|
4567
|
+
writer.writeMessage(
|
|
4568
|
+
99,
|
|
4569
|
+
f,
|
|
4570
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
4571
|
+
);
|
|
4572
|
+
}
|
|
3191
4573
|
};
|
|
3192
4574
|
|
|
3193
4575
|
|
|
3194
4576
|
/**
|
|
3195
|
-
* optional string
|
|
4577
|
+
* optional string access_token = 1;
|
|
3196
4578
|
* @return {string}
|
|
3197
4579
|
*/
|
|
3198
|
-
proto.
|
|
4580
|
+
proto.RefreshTokenResponse.prototype.getAccessToken = function() {
|
|
3199
4581
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3200
4582
|
};
|
|
3201
4583
|
|
|
3202
4584
|
|
|
3203
4585
|
/**
|
|
3204
4586
|
* @param {string} value
|
|
3205
|
-
* @return {!proto.
|
|
4587
|
+
* @return {!proto.RefreshTokenResponse} returns this
|
|
3206
4588
|
*/
|
|
3207
|
-
proto.
|
|
4589
|
+
proto.RefreshTokenResponse.prototype.setAccessToken = function(value) {
|
|
3208
4590
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3209
4591
|
};
|
|
3210
4592
|
|
|
3211
4593
|
|
|
3212
4594
|
/**
|
|
3213
|
-
* optional
|
|
3214
|
-
* @return {
|
|
4595
|
+
* optional int64 access_expires_at = 2;
|
|
4596
|
+
* @return {number}
|
|
3215
4597
|
*/
|
|
3216
|
-
proto.
|
|
3217
|
-
return /** @type {
|
|
4598
|
+
proto.RefreshTokenResponse.prototype.getAccessExpiresAt = function() {
|
|
4599
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3218
4600
|
};
|
|
3219
4601
|
|
|
3220
4602
|
|
|
3221
4603
|
/**
|
|
3222
|
-
* @param {
|
|
3223
|
-
* @return {!proto.
|
|
4604
|
+
* @param {number} value
|
|
4605
|
+
* @return {!proto.RefreshTokenResponse} returns this
|
|
3224
4606
|
*/
|
|
3225
|
-
proto.
|
|
3226
|
-
return jspb.Message.
|
|
4607
|
+
proto.RefreshTokenResponse.prototype.setAccessExpiresAt = function(value) {
|
|
4608
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3227
4609
|
};
|
|
3228
4610
|
|
|
3229
4611
|
|
|
3230
4612
|
/**
|
|
3231
|
-
* optional string
|
|
4613
|
+
* optional string refresh_token = 3;
|
|
3232
4614
|
* @return {string}
|
|
3233
4615
|
*/
|
|
3234
|
-
proto.
|
|
4616
|
+
proto.RefreshTokenResponse.prototype.getRefreshToken = function() {
|
|
3235
4617
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3236
4618
|
};
|
|
3237
4619
|
|
|
3238
4620
|
|
|
3239
4621
|
/**
|
|
3240
4622
|
* @param {string} value
|
|
3241
|
-
* @return {!proto.
|
|
4623
|
+
* @return {!proto.RefreshTokenResponse} returns this
|
|
3242
4624
|
*/
|
|
3243
|
-
proto.
|
|
4625
|
+
proto.RefreshTokenResponse.prototype.setRefreshToken = function(value) {
|
|
3244
4626
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3245
4627
|
};
|
|
3246
4628
|
|
|
3247
4629
|
|
|
4630
|
+
/**
|
|
4631
|
+
* optional int64 refresh_expires_at = 4;
|
|
4632
|
+
* @return {number}
|
|
4633
|
+
*/
|
|
4634
|
+
proto.RefreshTokenResponse.prototype.getRefreshExpiresAt = function() {
|
|
4635
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
4636
|
+
};
|
|
4637
|
+
|
|
4638
|
+
|
|
4639
|
+
/**
|
|
4640
|
+
* @param {number} value
|
|
4641
|
+
* @return {!proto.RefreshTokenResponse} returns this
|
|
4642
|
+
*/
|
|
4643
|
+
proto.RefreshTokenResponse.prototype.setRefreshExpiresAt = function(value) {
|
|
4644
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
4645
|
+
};
|
|
4646
|
+
|
|
4647
|
+
|
|
4648
|
+
/**
|
|
4649
|
+
* optional prisca.v1.global.meta.Meta meta = 99;
|
|
4650
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4651
|
+
*/
|
|
4652
|
+
proto.RefreshTokenResponse.prototype.getMeta = function() {
|
|
4653
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4654
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 99));
|
|
4655
|
+
};
|
|
4656
|
+
|
|
4657
|
+
|
|
4658
|
+
/**
|
|
4659
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4660
|
+
* @return {!proto.RefreshTokenResponse} returns this
|
|
4661
|
+
*/
|
|
4662
|
+
proto.RefreshTokenResponse.prototype.setMeta = function(value) {
|
|
4663
|
+
return jspb.Message.setWrapperField(this, 99, value);
|
|
4664
|
+
};
|
|
4665
|
+
|
|
4666
|
+
|
|
4667
|
+
/**
|
|
4668
|
+
* Clears the message field making it undefined.
|
|
4669
|
+
* @return {!proto.RefreshTokenResponse} returns this
|
|
4670
|
+
*/
|
|
4671
|
+
proto.RefreshTokenResponse.prototype.clearMeta = function() {
|
|
4672
|
+
return this.setMeta(undefined);
|
|
4673
|
+
};
|
|
4674
|
+
|
|
4675
|
+
|
|
4676
|
+
/**
|
|
4677
|
+
* Returns whether this field is set.
|
|
4678
|
+
* @return {boolean}
|
|
4679
|
+
*/
|
|
4680
|
+
proto.RefreshTokenResponse.prototype.hasMeta = function() {
|
|
4681
|
+
return jspb.Message.getField(this, 99) != null;
|
|
4682
|
+
};
|
|
4683
|
+
|
|
4684
|
+
|
|
3248
4685
|
|
|
3249
4686
|
|
|
3250
4687
|
|
|
@@ -3261,8 +4698,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3261
4698
|
* http://goto/soy-param-migration
|
|
3262
4699
|
* @return {!Object}
|
|
3263
4700
|
*/
|
|
3264
|
-
proto.
|
|
3265
|
-
return proto.
|
|
4701
|
+
proto.RevokeRefreshTokenRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4702
|
+
return proto.RevokeRefreshTokenRequest.toObject(opt_includeInstance, this);
|
|
3266
4703
|
};
|
|
3267
4704
|
|
|
3268
4705
|
|
|
@@ -3271,14 +4708,13 @@ proto.UpdateUserPayload.prototype.toObject = function(opt_includeInstance) {
|
|
|
3271
4708
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3272
4709
|
* the JSPB instance for transitional soy proto support:
|
|
3273
4710
|
* http://goto/soy-param-migration
|
|
3274
|
-
* @param {!proto.
|
|
4711
|
+
* @param {!proto.RevokeRefreshTokenRequest} msg The msg instance to transform.
|
|
3275
4712
|
* @return {!Object}
|
|
3276
4713
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3277
4714
|
*/
|
|
3278
|
-
proto.
|
|
4715
|
+
proto.RevokeRefreshTokenRequest.toObject = function(includeInstance, msg) {
|
|
3279
4716
|
var f, obj = {
|
|
3280
|
-
|
|
3281
|
-
password: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4717
|
+
refreshToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3282
4718
|
};
|
|
3283
4719
|
|
|
3284
4720
|
if (includeInstance) {
|
|
@@ -3292,23 +4728,23 @@ password: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
|
3292
4728
|
/**
|
|
3293
4729
|
* Deserializes binary data (in protobuf wire format).
|
|
3294
4730
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3295
|
-
* @return {!proto.
|
|
4731
|
+
* @return {!proto.RevokeRefreshTokenRequest}
|
|
3296
4732
|
*/
|
|
3297
|
-
proto.
|
|
4733
|
+
proto.RevokeRefreshTokenRequest.deserializeBinary = function(bytes) {
|
|
3298
4734
|
var reader = new jspb.BinaryReader(bytes);
|
|
3299
|
-
var msg = new proto.
|
|
3300
|
-
return proto.
|
|
4735
|
+
var msg = new proto.RevokeRefreshTokenRequest;
|
|
4736
|
+
return proto.RevokeRefreshTokenRequest.deserializeBinaryFromReader(msg, reader);
|
|
3301
4737
|
};
|
|
3302
4738
|
|
|
3303
4739
|
|
|
3304
4740
|
/**
|
|
3305
4741
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3306
4742
|
* given reader into the given message object.
|
|
3307
|
-
* @param {!proto.
|
|
4743
|
+
* @param {!proto.RevokeRefreshTokenRequest} msg The message object to deserialize into.
|
|
3308
4744
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3309
|
-
* @return {!proto.
|
|
4745
|
+
* @return {!proto.RevokeRefreshTokenRequest}
|
|
3310
4746
|
*/
|
|
3311
|
-
proto.
|
|
4747
|
+
proto.RevokeRefreshTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3312
4748
|
while (reader.nextField()) {
|
|
3313
4749
|
if (reader.isEndGroup()) {
|
|
3314
4750
|
break;
|
|
@@ -3317,11 +4753,7 @@ proto.UpdateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3317
4753
|
switch (field) {
|
|
3318
4754
|
case 1:
|
|
3319
4755
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3320
|
-
msg.
|
|
3321
|
-
break;
|
|
3322
|
-
case 2:
|
|
3323
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3324
|
-
msg.setPassword(value);
|
|
4756
|
+
msg.setRefreshToken(value);
|
|
3325
4757
|
break;
|
|
3326
4758
|
default:
|
|
3327
4759
|
reader.skipField();
|
|
@@ -3336,9 +4768,9 @@ proto.UpdateUserPayload.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3336
4768
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3337
4769
|
* @return {!Uint8Array}
|
|
3338
4770
|
*/
|
|
3339
|
-
proto.
|
|
4771
|
+
proto.RevokeRefreshTokenRequest.prototype.serializeBinary = function() {
|
|
3340
4772
|
var writer = new jspb.BinaryWriter();
|
|
3341
|
-
proto.
|
|
4773
|
+
proto.RevokeRefreshTokenRequest.serializeBinaryToWriter(this, writer);
|
|
3342
4774
|
return writer.getResultBuffer();
|
|
3343
4775
|
};
|
|
3344
4776
|
|
|
@@ -3346,65 +4778,40 @@ proto.UpdateUserPayload.prototype.serializeBinary = function() {
|
|
|
3346
4778
|
/**
|
|
3347
4779
|
* Serializes the given message to binary data (in protobuf wire
|
|
3348
4780
|
* format), writing to the given BinaryWriter.
|
|
3349
|
-
* @param {!proto.
|
|
4781
|
+
* @param {!proto.RevokeRefreshTokenRequest} message
|
|
3350
4782
|
* @param {!jspb.BinaryWriter} writer
|
|
3351
4783
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3352
4784
|
*/
|
|
3353
|
-
proto.
|
|
4785
|
+
proto.RevokeRefreshTokenRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3354
4786
|
var f = undefined;
|
|
3355
|
-
f = message.
|
|
4787
|
+
f = message.getRefreshToken();
|
|
3356
4788
|
if (f.length > 0) {
|
|
3357
4789
|
writer.writeString(
|
|
3358
4790
|
1,
|
|
3359
4791
|
f
|
|
3360
4792
|
);
|
|
3361
4793
|
}
|
|
3362
|
-
f = message.getPassword();
|
|
3363
|
-
if (f.length > 0) {
|
|
3364
|
-
writer.writeString(
|
|
3365
|
-
2,
|
|
3366
|
-
f
|
|
3367
|
-
);
|
|
3368
|
-
}
|
|
3369
4794
|
};
|
|
3370
4795
|
|
|
3371
4796
|
|
|
3372
4797
|
/**
|
|
3373
|
-
* optional string
|
|
4798
|
+
* optional string refresh_token = 1;
|
|
3374
4799
|
* @return {string}
|
|
3375
4800
|
*/
|
|
3376
|
-
proto.
|
|
4801
|
+
proto.RevokeRefreshTokenRequest.prototype.getRefreshToken = function() {
|
|
3377
4802
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3378
4803
|
};
|
|
3379
4804
|
|
|
3380
4805
|
|
|
3381
4806
|
/**
|
|
3382
4807
|
* @param {string} value
|
|
3383
|
-
* @return {!proto.
|
|
4808
|
+
* @return {!proto.RevokeRefreshTokenRequest} returns this
|
|
3384
4809
|
*/
|
|
3385
|
-
proto.
|
|
4810
|
+
proto.RevokeRefreshTokenRequest.prototype.setRefreshToken = function(value) {
|
|
3386
4811
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3387
4812
|
};
|
|
3388
4813
|
|
|
3389
4814
|
|
|
3390
|
-
/**
|
|
3391
|
-
* optional string password = 2;
|
|
3392
|
-
* @return {string}
|
|
3393
|
-
*/
|
|
3394
|
-
proto.UpdateUserPayload.prototype.getPassword = function() {
|
|
3395
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3396
|
-
};
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
/**
|
|
3400
|
-
* @param {string} value
|
|
3401
|
-
* @return {!proto.UpdateUserPayload} returns this
|
|
3402
|
-
*/
|
|
3403
|
-
proto.UpdateUserPayload.prototype.setPassword = function(value) {
|
|
3404
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3405
|
-
};
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
4815
|
|
|
3409
4816
|
|
|
3410
4817
|
|
|
@@ -3421,8 +4828,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3421
4828
|
* http://goto/soy-param-migration
|
|
3422
4829
|
* @return {!Object}
|
|
3423
4830
|
*/
|
|
3424
|
-
proto.
|
|
3425
|
-
return proto.
|
|
4831
|
+
proto.RevokeRefreshTokenResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4832
|
+
return proto.RevokeRefreshTokenResponse.toObject(opt_includeInstance, this);
|
|
3426
4833
|
};
|
|
3427
4834
|
|
|
3428
4835
|
|
|
@@ -3431,14 +4838,14 @@ proto.ChangePasswordRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
3431
4838
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3432
4839
|
* the JSPB instance for transitional soy proto support:
|
|
3433
4840
|
* http://goto/soy-param-migration
|
|
3434
|
-
* @param {!proto.
|
|
4841
|
+
* @param {!proto.RevokeRefreshTokenResponse} msg The msg instance to transform.
|
|
3435
4842
|
* @return {!Object}
|
|
3436
4843
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3437
4844
|
*/
|
|
3438
|
-
proto.
|
|
4845
|
+
proto.RevokeRefreshTokenResponse.toObject = function(includeInstance, msg) {
|
|
3439
4846
|
var f, obj = {
|
|
3440
|
-
|
|
3441
|
-
|
|
4847
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
4848
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3442
4849
|
};
|
|
3443
4850
|
|
|
3444
4851
|
if (includeInstance) {
|
|
@@ -3452,23 +4859,23 @@ newPassword: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
|
3452
4859
|
/**
|
|
3453
4860
|
* Deserializes binary data (in protobuf wire format).
|
|
3454
4861
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3455
|
-
* @return {!proto.
|
|
4862
|
+
* @return {!proto.RevokeRefreshTokenResponse}
|
|
3456
4863
|
*/
|
|
3457
|
-
proto.
|
|
4864
|
+
proto.RevokeRefreshTokenResponse.deserializeBinary = function(bytes) {
|
|
3458
4865
|
var reader = new jspb.BinaryReader(bytes);
|
|
3459
|
-
var msg = new proto.
|
|
3460
|
-
return proto.
|
|
4866
|
+
var msg = new proto.RevokeRefreshTokenResponse;
|
|
4867
|
+
return proto.RevokeRefreshTokenResponse.deserializeBinaryFromReader(msg, reader);
|
|
3461
4868
|
};
|
|
3462
4869
|
|
|
3463
4870
|
|
|
3464
4871
|
/**
|
|
3465
4872
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3466
4873
|
* given reader into the given message object.
|
|
3467
|
-
* @param {!proto.
|
|
4874
|
+
* @param {!proto.RevokeRefreshTokenResponse} msg The message object to deserialize into.
|
|
3468
4875
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3469
|
-
* @return {!proto.
|
|
4876
|
+
* @return {!proto.RevokeRefreshTokenResponse}
|
|
3470
4877
|
*/
|
|
3471
|
-
proto.
|
|
4878
|
+
proto.RevokeRefreshTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3472
4879
|
while (reader.nextField()) {
|
|
3473
4880
|
if (reader.isEndGroup()) {
|
|
3474
4881
|
break;
|
|
@@ -3476,12 +4883,13 @@ proto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
3476
4883
|
var field = reader.getFieldNumber();
|
|
3477
4884
|
switch (field) {
|
|
3478
4885
|
case 1:
|
|
3479
|
-
var value = /** @type {
|
|
3480
|
-
msg.
|
|
4886
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4887
|
+
msg.setSuccess(value);
|
|
3481
4888
|
break;
|
|
3482
|
-
case
|
|
3483
|
-
var value =
|
|
3484
|
-
|
|
4889
|
+
case 99:
|
|
4890
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
4891
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
4892
|
+
msg.setMeta(value);
|
|
3485
4893
|
break;
|
|
3486
4894
|
default:
|
|
3487
4895
|
reader.skipField();
|
|
@@ -3496,9 +4904,9 @@ proto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
3496
4904
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3497
4905
|
* @return {!Uint8Array}
|
|
3498
4906
|
*/
|
|
3499
|
-
proto.
|
|
4907
|
+
proto.RevokeRefreshTokenResponse.prototype.serializeBinary = function() {
|
|
3500
4908
|
var writer = new jspb.BinaryWriter();
|
|
3501
|
-
proto.
|
|
4909
|
+
proto.RevokeRefreshTokenResponse.serializeBinaryToWriter(this, writer);
|
|
3502
4910
|
return writer.getResultBuffer();
|
|
3503
4911
|
};
|
|
3504
4912
|
|
|
@@ -3506,62 +4914,82 @@ proto.ChangePasswordRequest.prototype.serializeBinary = function() {
|
|
|
3506
4914
|
/**
|
|
3507
4915
|
* Serializes the given message to binary data (in protobuf wire
|
|
3508
4916
|
* format), writing to the given BinaryWriter.
|
|
3509
|
-
* @param {!proto.
|
|
4917
|
+
* @param {!proto.RevokeRefreshTokenResponse} message
|
|
3510
4918
|
* @param {!jspb.BinaryWriter} writer
|
|
3511
4919
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3512
4920
|
*/
|
|
3513
|
-
proto.
|
|
4921
|
+
proto.RevokeRefreshTokenResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3514
4922
|
var f = undefined;
|
|
3515
|
-
f = message.
|
|
3516
|
-
if (f
|
|
3517
|
-
writer.
|
|
4923
|
+
f = message.getSuccess();
|
|
4924
|
+
if (f) {
|
|
4925
|
+
writer.writeBool(
|
|
3518
4926
|
1,
|
|
3519
4927
|
f
|
|
3520
4928
|
);
|
|
3521
4929
|
}
|
|
3522
|
-
f = message.
|
|
3523
|
-
if (f
|
|
3524
|
-
writer.
|
|
3525
|
-
|
|
3526
|
-
f
|
|
4930
|
+
f = message.getMeta();
|
|
4931
|
+
if (f != null) {
|
|
4932
|
+
writer.writeMessage(
|
|
4933
|
+
99,
|
|
4934
|
+
f,
|
|
4935
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3527
4936
|
);
|
|
3528
4937
|
}
|
|
3529
4938
|
};
|
|
3530
4939
|
|
|
3531
4940
|
|
|
3532
4941
|
/**
|
|
3533
|
-
* optional
|
|
3534
|
-
* @return {
|
|
4942
|
+
* optional bool success = 1;
|
|
4943
|
+
* @return {boolean}
|
|
3535
4944
|
*/
|
|
3536
|
-
proto.
|
|
3537
|
-
return /** @type {
|
|
4945
|
+
proto.RevokeRefreshTokenResponse.prototype.getSuccess = function() {
|
|
4946
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
3538
4947
|
};
|
|
3539
4948
|
|
|
3540
4949
|
|
|
3541
4950
|
/**
|
|
3542
|
-
* @param {
|
|
3543
|
-
* @return {!proto.
|
|
4951
|
+
* @param {boolean} value
|
|
4952
|
+
* @return {!proto.RevokeRefreshTokenResponse} returns this
|
|
3544
4953
|
*/
|
|
3545
|
-
proto.
|
|
3546
|
-
return jspb.Message.
|
|
4954
|
+
proto.RevokeRefreshTokenResponse.prototype.setSuccess = function(value) {
|
|
4955
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
3547
4956
|
};
|
|
3548
4957
|
|
|
3549
4958
|
|
|
3550
4959
|
/**
|
|
3551
|
-
* optional
|
|
3552
|
-
* @return {
|
|
4960
|
+
* optional prisca.v1.global.meta.Meta meta = 99;
|
|
4961
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3553
4962
|
*/
|
|
3554
|
-
proto.
|
|
3555
|
-
return /** @type
|
|
4963
|
+
proto.RevokeRefreshTokenResponse.prototype.getMeta = function() {
|
|
4964
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4965
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 99));
|
|
3556
4966
|
};
|
|
3557
4967
|
|
|
3558
4968
|
|
|
3559
4969
|
/**
|
|
3560
|
-
* @param {
|
|
3561
|
-
* @return {!proto.
|
|
4970
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4971
|
+
* @return {!proto.RevokeRefreshTokenResponse} returns this
|
|
4972
|
+
*/
|
|
4973
|
+
proto.RevokeRefreshTokenResponse.prototype.setMeta = function(value) {
|
|
4974
|
+
return jspb.Message.setWrapperField(this, 99, value);
|
|
4975
|
+
};
|
|
4976
|
+
|
|
4977
|
+
|
|
4978
|
+
/**
|
|
4979
|
+
* Clears the message field making it undefined.
|
|
4980
|
+
* @return {!proto.RevokeRefreshTokenResponse} returns this
|
|
3562
4981
|
*/
|
|
3563
|
-
proto.
|
|
3564
|
-
return
|
|
4982
|
+
proto.RevokeRefreshTokenResponse.prototype.clearMeta = function() {
|
|
4983
|
+
return this.setMeta(undefined);
|
|
4984
|
+
};
|
|
4985
|
+
|
|
4986
|
+
|
|
4987
|
+
/**
|
|
4988
|
+
* Returns whether this field is set.
|
|
4989
|
+
* @return {boolean}
|
|
4990
|
+
*/
|
|
4991
|
+
proto.RevokeRefreshTokenResponse.prototype.hasMeta = function() {
|
|
4992
|
+
return jspb.Message.getField(this, 99) != null;
|
|
3565
4993
|
};
|
|
3566
4994
|
|
|
3567
4995
|
|
|
@@ -3615,7 +5043,9 @@ statementsList: jspb.Message.toObjectList(msg.getStatementsList(),
|
|
|
3615
5043
|
prisca_v1_core_access_manager_access_manager_pb.Statement.toObject, includeInstance),
|
|
3616
5044
|
companiesList: jspb.Message.toObjectList(msg.getCompaniesList(),
|
|
3617
5045
|
prisca_v1_core_company_company_pb.Company.toObject, includeInstance),
|
|
3618
|
-
avatar: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
5046
|
+
avatar: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5047
|
+
status: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5048
|
+
statusReason: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
3619
5049
|
};
|
|
3620
5050
|
|
|
3621
5051
|
if (includeInstance) {
|
|
@@ -3691,6 +5121,14 @@ proto.UserResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3691
5121
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3692
5122
|
msg.setAvatar(value);
|
|
3693
5123
|
break;
|
|
5124
|
+
case 10:
|
|
5125
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5126
|
+
msg.setStatus(value);
|
|
5127
|
+
break;
|
|
5128
|
+
case 11:
|
|
5129
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5130
|
+
msg.setStatusReason(value);
|
|
5131
|
+
break;
|
|
3694
5132
|
default:
|
|
3695
5133
|
reader.skipField();
|
|
3696
5134
|
break;
|
|
@@ -3786,6 +5224,20 @@ proto.UserResponse.serializeBinaryToWriter = function(message, writer) {
|
|
|
3786
5224
|
f
|
|
3787
5225
|
);
|
|
3788
5226
|
}
|
|
5227
|
+
f = message.getStatus();
|
|
5228
|
+
if (f.length > 0) {
|
|
5229
|
+
writer.writeString(
|
|
5230
|
+
10,
|
|
5231
|
+
f
|
|
5232
|
+
);
|
|
5233
|
+
}
|
|
5234
|
+
f = message.getStatusReason();
|
|
5235
|
+
if (f.length > 0) {
|
|
5236
|
+
writer.writeString(
|
|
5237
|
+
11,
|
|
5238
|
+
f
|
|
5239
|
+
);
|
|
5240
|
+
}
|
|
3789
5241
|
};
|
|
3790
5242
|
|
|
3791
5243
|
|
|
@@ -4011,6 +5463,172 @@ proto.UserResponse.prototype.setAvatar = function(value) {
|
|
|
4011
5463
|
};
|
|
4012
5464
|
|
|
4013
5465
|
|
|
5466
|
+
/**
|
|
5467
|
+
* optional string status = 10;
|
|
5468
|
+
* @return {string}
|
|
5469
|
+
*/
|
|
5470
|
+
proto.UserResponse.prototype.getStatus = function() {
|
|
5471
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5472
|
+
};
|
|
5473
|
+
|
|
5474
|
+
|
|
5475
|
+
/**
|
|
5476
|
+
* @param {string} value
|
|
5477
|
+
* @return {!proto.UserResponse} returns this
|
|
5478
|
+
*/
|
|
5479
|
+
proto.UserResponse.prototype.setStatus = function(value) {
|
|
5480
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5481
|
+
};
|
|
5482
|
+
|
|
5483
|
+
|
|
5484
|
+
/**
|
|
5485
|
+
* optional string status_reason = 11;
|
|
5486
|
+
* @return {string}
|
|
5487
|
+
*/
|
|
5488
|
+
proto.UserResponse.prototype.getStatusReason = function() {
|
|
5489
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5490
|
+
};
|
|
5491
|
+
|
|
5492
|
+
|
|
5493
|
+
/**
|
|
5494
|
+
* @param {string} value
|
|
5495
|
+
* @return {!proto.UserResponse} returns this
|
|
5496
|
+
*/
|
|
5497
|
+
proto.UserResponse.prototype.setStatusReason = function(value) {
|
|
5498
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
5499
|
+
};
|
|
5500
|
+
|
|
5501
|
+
|
|
5502
|
+
|
|
5503
|
+
|
|
5504
|
+
|
|
5505
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5506
|
+
/**
|
|
5507
|
+
* Creates an object representation of this proto.
|
|
5508
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5509
|
+
* Optional fields that are not set will be set to undefined.
|
|
5510
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5511
|
+
* For the list of reserved names please see:
|
|
5512
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5513
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5514
|
+
* JSPB instance for transitional soy proto support:
|
|
5515
|
+
* http://goto/soy-param-migration
|
|
5516
|
+
* @return {!Object}
|
|
5517
|
+
*/
|
|
5518
|
+
proto.SetUserStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5519
|
+
return proto.SetUserStatusRequest.toObject(opt_includeInstance, this);
|
|
5520
|
+
};
|
|
5521
|
+
|
|
5522
|
+
|
|
5523
|
+
/**
|
|
5524
|
+
* Static version of the {@see toObject} method.
|
|
5525
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5526
|
+
* the JSPB instance for transitional soy proto support:
|
|
5527
|
+
* http://goto/soy-param-migration
|
|
5528
|
+
* @param {!proto.SetUserStatusRequest} msg The msg instance to transform.
|
|
5529
|
+
* @return {!Object}
|
|
5530
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5531
|
+
*/
|
|
5532
|
+
proto.SetUserStatusRequest.toObject = function(includeInstance, msg) {
|
|
5533
|
+
var f, obj = {
|
|
5534
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5535
|
+
};
|
|
5536
|
+
|
|
5537
|
+
if (includeInstance) {
|
|
5538
|
+
obj.$jspbMessageInstance = msg;
|
|
5539
|
+
}
|
|
5540
|
+
return obj;
|
|
5541
|
+
};
|
|
5542
|
+
}
|
|
5543
|
+
|
|
5544
|
+
|
|
5545
|
+
/**
|
|
5546
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5547
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5548
|
+
* @return {!proto.SetUserStatusRequest}
|
|
5549
|
+
*/
|
|
5550
|
+
proto.SetUserStatusRequest.deserializeBinary = function(bytes) {
|
|
5551
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5552
|
+
var msg = new proto.SetUserStatusRequest;
|
|
5553
|
+
return proto.SetUserStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
5554
|
+
};
|
|
5555
|
+
|
|
5556
|
+
|
|
5557
|
+
/**
|
|
5558
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5559
|
+
* given reader into the given message object.
|
|
5560
|
+
* @param {!proto.SetUserStatusRequest} msg The message object to deserialize into.
|
|
5561
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5562
|
+
* @return {!proto.SetUserStatusRequest}
|
|
5563
|
+
*/
|
|
5564
|
+
proto.SetUserStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5565
|
+
while (reader.nextField()) {
|
|
5566
|
+
if (reader.isEndGroup()) {
|
|
5567
|
+
break;
|
|
5568
|
+
}
|
|
5569
|
+
var field = reader.getFieldNumber();
|
|
5570
|
+
switch (field) {
|
|
5571
|
+
case 1:
|
|
5572
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5573
|
+
msg.setReferencesId(value);
|
|
5574
|
+
break;
|
|
5575
|
+
default:
|
|
5576
|
+
reader.skipField();
|
|
5577
|
+
break;
|
|
5578
|
+
}
|
|
5579
|
+
}
|
|
5580
|
+
return msg;
|
|
5581
|
+
};
|
|
5582
|
+
|
|
5583
|
+
|
|
5584
|
+
/**
|
|
5585
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5586
|
+
* @return {!Uint8Array}
|
|
5587
|
+
*/
|
|
5588
|
+
proto.SetUserStatusRequest.prototype.serializeBinary = function() {
|
|
5589
|
+
var writer = new jspb.BinaryWriter();
|
|
5590
|
+
proto.SetUserStatusRequest.serializeBinaryToWriter(this, writer);
|
|
5591
|
+
return writer.getResultBuffer();
|
|
5592
|
+
};
|
|
5593
|
+
|
|
5594
|
+
|
|
5595
|
+
/**
|
|
5596
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5597
|
+
* format), writing to the given BinaryWriter.
|
|
5598
|
+
* @param {!proto.SetUserStatusRequest} message
|
|
5599
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5600
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5601
|
+
*/
|
|
5602
|
+
proto.SetUserStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5603
|
+
var f = undefined;
|
|
5604
|
+
f = message.getReferencesId();
|
|
5605
|
+
if (f.length > 0) {
|
|
5606
|
+
writer.writeString(
|
|
5607
|
+
1,
|
|
5608
|
+
f
|
|
5609
|
+
);
|
|
5610
|
+
}
|
|
5611
|
+
};
|
|
5612
|
+
|
|
5613
|
+
|
|
5614
|
+
/**
|
|
5615
|
+
* optional string references_id = 1;
|
|
5616
|
+
* @return {string}
|
|
5617
|
+
*/
|
|
5618
|
+
proto.SetUserStatusRequest.prototype.getReferencesId = function() {
|
|
5619
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5620
|
+
};
|
|
5621
|
+
|
|
5622
|
+
|
|
5623
|
+
/**
|
|
5624
|
+
* @param {string} value
|
|
5625
|
+
* @return {!proto.SetUserStatusRequest} returns this
|
|
5626
|
+
*/
|
|
5627
|
+
proto.SetUserStatusRequest.prototype.setReferencesId = function(value) {
|
|
5628
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5629
|
+
};
|
|
5630
|
+
|
|
5631
|
+
|
|
4014
5632
|
|
|
4015
5633
|
/**
|
|
4016
5634
|
* List of repeated fields within this message type.
|
|
@@ -4061,7 +5679,10 @@ actionsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
|
|
|
4061
5679
|
transactionBuildersList: jspb.Message.toObjectList(msg.getTransactionBuildersList(),
|
|
4062
5680
|
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilder.toObject, includeInstance),
|
|
4063
5681
|
employees: (f = msg.getEmployees()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
4064
|
-
avatar: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
5682
|
+
avatar: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5683
|
+
refreshToken: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5684
|
+
accessExpiresAt: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
5685
|
+
refreshExpiresAt: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
4065
5686
|
};
|
|
4066
5687
|
|
|
4067
5688
|
if (includeInstance) {
|
|
@@ -4141,6 +5762,18 @@ proto.CheckCompaniesResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
|
4141
5762
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4142
5763
|
msg.setAvatar(value);
|
|
4143
5764
|
break;
|
|
5765
|
+
case 11:
|
|
5766
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5767
|
+
msg.setRefreshToken(value);
|
|
5768
|
+
break;
|
|
5769
|
+
case 12:
|
|
5770
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5771
|
+
msg.setAccessExpiresAt(value);
|
|
5772
|
+
break;
|
|
5773
|
+
case 13:
|
|
5774
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5775
|
+
msg.setRefreshExpiresAt(value);
|
|
5776
|
+
break;
|
|
4144
5777
|
default:
|
|
4145
5778
|
reader.skipField();
|
|
4146
5779
|
break;
|
|
@@ -4243,6 +5876,27 @@ proto.CheckCompaniesResponse.serializeBinaryToWriter = function(message, writer)
|
|
|
4243
5876
|
f
|
|
4244
5877
|
);
|
|
4245
5878
|
}
|
|
5879
|
+
f = message.getRefreshToken();
|
|
5880
|
+
if (f.length > 0) {
|
|
5881
|
+
writer.writeString(
|
|
5882
|
+
11,
|
|
5883
|
+
f
|
|
5884
|
+
);
|
|
5885
|
+
}
|
|
5886
|
+
f = message.getAccessExpiresAt();
|
|
5887
|
+
if (f !== 0) {
|
|
5888
|
+
writer.writeInt64(
|
|
5889
|
+
12,
|
|
5890
|
+
f
|
|
5891
|
+
);
|
|
5892
|
+
}
|
|
5893
|
+
f = message.getRefreshExpiresAt();
|
|
5894
|
+
if (f !== 0) {
|
|
5895
|
+
writer.writeInt64(
|
|
5896
|
+
13,
|
|
5897
|
+
f
|
|
5898
|
+
);
|
|
5899
|
+
}
|
|
4246
5900
|
};
|
|
4247
5901
|
|
|
4248
5902
|
|
|
@@ -4504,6 +6158,60 @@ proto.CheckCompaniesResponse.prototype.setAvatar = function(value) {
|
|
|
4504
6158
|
};
|
|
4505
6159
|
|
|
4506
6160
|
|
|
6161
|
+
/**
|
|
6162
|
+
* optional string refresh_token = 11;
|
|
6163
|
+
* @return {string}
|
|
6164
|
+
*/
|
|
6165
|
+
proto.CheckCompaniesResponse.prototype.getRefreshToken = function() {
|
|
6166
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
6167
|
+
};
|
|
6168
|
+
|
|
6169
|
+
|
|
6170
|
+
/**
|
|
6171
|
+
* @param {string} value
|
|
6172
|
+
* @return {!proto.CheckCompaniesResponse} returns this
|
|
6173
|
+
*/
|
|
6174
|
+
proto.CheckCompaniesResponse.prototype.setRefreshToken = function(value) {
|
|
6175
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
6176
|
+
};
|
|
6177
|
+
|
|
6178
|
+
|
|
6179
|
+
/**
|
|
6180
|
+
* optional int64 access_expires_at = 12;
|
|
6181
|
+
* @return {number}
|
|
6182
|
+
*/
|
|
6183
|
+
proto.CheckCompaniesResponse.prototype.getAccessExpiresAt = function() {
|
|
6184
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
6185
|
+
};
|
|
6186
|
+
|
|
6187
|
+
|
|
6188
|
+
/**
|
|
6189
|
+
* @param {number} value
|
|
6190
|
+
* @return {!proto.CheckCompaniesResponse} returns this
|
|
6191
|
+
*/
|
|
6192
|
+
proto.CheckCompaniesResponse.prototype.setAccessExpiresAt = function(value) {
|
|
6193
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
6194
|
+
};
|
|
6195
|
+
|
|
6196
|
+
|
|
6197
|
+
/**
|
|
6198
|
+
* optional int64 refresh_expires_at = 13;
|
|
6199
|
+
* @return {number}
|
|
6200
|
+
*/
|
|
6201
|
+
proto.CheckCompaniesResponse.prototype.getRefreshExpiresAt = function() {
|
|
6202
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
6203
|
+
};
|
|
6204
|
+
|
|
6205
|
+
|
|
6206
|
+
/**
|
|
6207
|
+
* @param {number} value
|
|
6208
|
+
* @return {!proto.CheckCompaniesResponse} returns this
|
|
6209
|
+
*/
|
|
6210
|
+
proto.CheckCompaniesResponse.prototype.setRefreshExpiresAt = function(value) {
|
|
6211
|
+
return jspb.Message.setProto3IntField(this, 13, value);
|
|
6212
|
+
};
|
|
6213
|
+
|
|
6214
|
+
|
|
4507
6215
|
|
|
4508
6216
|
|
|
4509
6217
|
|