@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-alpha.21

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.
@@ -32,13 +32,14 @@ goog.object.extend(proto, platform_pagination_pb);
32
32
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
33
33
  goog.object.extend(proto, google_protobuf_timestamp_pb);
34
34
  goog.exportSymbol('proto.Platform.LocalAccountProto', null, global);
35
- goog.exportSymbol('proto.Platform.LocalAccountProto.AddClientRequest', null, global);
35
+ goog.exportSymbol('proto.Platform.LocalAccountProto.AccountTypes', null, global);
36
36
  goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAdminRequest', null, global);
37
37
  goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAppRequest', null, global);
38
38
  goog.exportSymbol('proto.Platform.LocalAccountProto.DisableAccount', null, global);
39
39
  goog.exportSymbol('proto.Platform.LocalAccountProto.EnableAccount', null, global);
40
- goog.exportSymbol('proto.Platform.LocalAccountProto.RemoveClientRequest', null, global);
41
40
  goog.exportSymbol('proto.Platform.LocalAccountProto.ResendInvitationRequest', null, global);
41
+ goog.exportSymbol('proto.Platform.LocalAccountProto.RetrieveRequest', null, global);
42
+ goog.exportSymbol('proto.Platform.LocalAccountProto.RetrieveRequest.SearchCase', null, global);
42
43
  goog.exportSymbol('proto.Platform.LocalAccountProto.SearchReply', null, global);
43
44
  goog.exportSymbol('proto.Platform.LocalAccountProto.SearchRequest', null, global);
44
45
  goog.exportSymbol('proto.Platform.LocalAccountProto.SetClientRequest', null, global);
@@ -65,6 +66,27 @@ if (goog.DEBUG && !COMPILED) {
65
66
  */
66
67
  proto.Platform.LocalAccountProto.displayName = 'proto.Platform.LocalAccountProto';
67
68
  }
69
+ /**
70
+ * Generated by JsPbCodeGenerator.
71
+ * @param {Array=} opt_data Optional initial data array, typically from a
72
+ * server response, or constructed directly in Javascript. The array is used
73
+ * in place and becomes part of the constructed object. It is not cloned.
74
+ * If no data is provided, the constructed object will be empty, but still
75
+ * valid.
76
+ * @extends {jspb.Message}
77
+ * @constructor
78
+ */
79
+ proto.Platform.LocalAccountProto.RetrieveRequest = function(opt_data) {
80
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_);
81
+ };
82
+ goog.inherits(proto.Platform.LocalAccountProto.RetrieveRequest, jspb.Message);
83
+ if (goog.DEBUG && !COMPILED) {
84
+ /**
85
+ * @public
86
+ * @override
87
+ */
88
+ proto.Platform.LocalAccountProto.RetrieveRequest.displayName = 'proto.Platform.LocalAccountProto.RetrieveRequest';
89
+ }
68
90
  /**
69
91
  * Generated by JsPbCodeGenerator.
70
92
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -191,48 +213,6 @@ if (goog.DEBUG && !COMPILED) {
191
213
  */
192
214
  proto.Platform.LocalAccountProto.SetClientRequest.displayName = 'proto.Platform.LocalAccountProto.SetClientRequest';
193
215
  }
194
- /**
195
- * Generated by JsPbCodeGenerator.
196
- * @param {Array=} opt_data Optional initial data array, typically from a
197
- * server response, or constructed directly in Javascript. The array is used
198
- * in place and becomes part of the constructed object. It is not cloned.
199
- * If no data is provided, the constructed object will be empty, but still
200
- * valid.
201
- * @extends {jspb.Message}
202
- * @constructor
203
- */
204
- proto.Platform.LocalAccountProto.AddClientRequest = function(opt_data) {
205
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
206
- };
207
- goog.inherits(proto.Platform.LocalAccountProto.AddClientRequest, jspb.Message);
208
- if (goog.DEBUG && !COMPILED) {
209
- /**
210
- * @public
211
- * @override
212
- */
213
- proto.Platform.LocalAccountProto.AddClientRequest.displayName = 'proto.Platform.LocalAccountProto.AddClientRequest';
214
- }
215
- /**
216
- * Generated by JsPbCodeGenerator.
217
- * @param {Array=} opt_data Optional initial data array, typically from a
218
- * server response, or constructed directly in Javascript. The array is used
219
- * in place and becomes part of the constructed object. It is not cloned.
220
- * If no data is provided, the constructed object will be empty, but still
221
- * valid.
222
- * @extends {jspb.Message}
223
- * @constructor
224
- */
225
- proto.Platform.LocalAccountProto.RemoveClientRequest = function(opt_data) {
226
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
227
- };
228
- goog.inherits(proto.Platform.LocalAccountProto.RemoveClientRequest, jspb.Message);
229
- if (goog.DEBUG && !COMPILED) {
230
- /**
231
- * @public
232
- * @override
233
- */
234
- proto.Platform.LocalAccountProto.RemoveClientRequest.displayName = 'proto.Platform.LocalAccountProto.RemoveClientRequest';
235
- }
236
216
  /**
237
217
  * Generated by JsPbCodeGenerator.
238
218
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -366,8 +346,12 @@ proto.Platform.LocalAccountProto.toObject = function(includeInstance, msg) {
366
346
  groupId: jspb.Message.getFieldWithDefault(msg, 8, ""),
367
347
  enabled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
368
348
  expiredAt: (f = msg.getExpiredAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
369
- assignedRolesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
370
- status: jspb.Message.getFieldWithDefault(msg, 12, 0)
349
+ clientRolesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
350
+ status: jspb.Message.getFieldWithDefault(msg, 12, 0),
351
+ deleted: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
352
+ clientId: jspb.Message.getFieldWithDefault(msg, 14, 0),
353
+ type: jspb.Message.getFieldWithDefault(msg, 15, 0),
354
+ clientName: jspb.Message.getFieldWithDefault(msg, 16, "")
371
355
  };
372
356
 
373
357
  if (includeInstance) {
@@ -448,13 +432,29 @@ proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, rea
448
432
  case 11:
449
433
  var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
450
434
  for (var i = 0; i < values.length; i++) {
451
- msg.addAssignedRoles(values[i]);
435
+ msg.addClientRoles(values[i]);
452
436
  }
453
437
  break;
454
438
  case 12:
455
439
  var value = /** @type {!proto.Auth.AccountProto.ActivationStatuses} */ (reader.readEnum());
456
440
  msg.setStatus(value);
457
441
  break;
442
+ case 13:
443
+ var value = /** @type {boolean} */ (reader.readBool());
444
+ msg.setDeleted(value);
445
+ break;
446
+ case 14:
447
+ var value = /** @type {number} */ (reader.readInt64());
448
+ msg.setClientId(value);
449
+ break;
450
+ case 15:
451
+ var value = /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (reader.readEnum());
452
+ msg.setType(value);
453
+ break;
454
+ case 16:
455
+ var value = /** @type {string} */ (reader.readString());
456
+ msg.setClientName(value);
457
+ break;
458
458
  default:
459
459
  reader.skipField();
460
460
  break;
@@ -555,7 +555,7 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
555
555
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
556
556
  );
557
557
  }
558
- f = message.getAssignedRolesList();
558
+ f = message.getClientRolesList();
559
559
  if (f.length > 0) {
560
560
  writer.writePackedEnum(
561
561
  11,
@@ -569,16 +569,71 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
569
569
  f
570
570
  );
571
571
  }
572
+ f = message.getDeleted();
573
+ if (f) {
574
+ writer.writeBool(
575
+ 13,
576
+ f
577
+ );
578
+ }
579
+ f = message.getClientId();
580
+ if (f !== 0) {
581
+ writer.writeInt64(
582
+ 14,
583
+ f
584
+ );
585
+ }
586
+ f = message.getType();
587
+ if (f !== 0.0) {
588
+ writer.writeEnum(
589
+ 15,
590
+ f
591
+ );
592
+ }
593
+ f = message.getClientName();
594
+ if (f.length > 0) {
595
+ writer.writeString(
596
+ 16,
597
+ f
598
+ );
599
+ }
572
600
  };
573
601
 
574
602
 
603
+ /**
604
+ * @enum {number}
605
+ */
606
+ proto.Platform.LocalAccountProto.AccountTypes = {
607
+ ADMIN: 0,
608
+ APP: 1
609
+ };
610
+
575
611
 
576
612
  /**
577
- * List of repeated fields within this message type.
578
- * @private {!Array<number>}
613
+ * Oneof group definitions for this message. Each group defines the field
614
+ * numbers belonging to that group. When of these fields' value is set, all
615
+ * other fields in the group are cleared. During deserialization, if multiple
616
+ * fields are encountered for a group, only the last value seen will be kept.
617
+ * @private {!Array<!Array<number>>}
579
618
  * @const
580
619
  */
581
- proto.Platform.LocalAccountProto.CreateAdminRequest.repeatedFields_ = [8];
620
+ proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_ = [[1,2]];
621
+
622
+ /**
623
+ * @enum {number}
624
+ */
625
+ proto.Platform.LocalAccountProto.RetrieveRequest.SearchCase = {
626
+ SEARCH_NOT_SET: 0,
627
+ ID: 1,
628
+ AUTH_ID: 2
629
+ };
630
+
631
+ /**
632
+ * @return {proto.Platform.LocalAccountProto.RetrieveRequest.SearchCase}
633
+ */
634
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.getSearchCase = function() {
635
+ return /** @type {proto.Platform.LocalAccountProto.RetrieveRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_[0]));
636
+ };
582
637
 
583
638
 
584
639
 
@@ -595,8 +650,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
595
650
  * http://goto/soy-param-migration
596
651
  * @return {!Object}
597
652
  */
598
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.toObject = function(opt_includeInstance) {
599
- return proto.Platform.LocalAccountProto.CreateAdminRequest.toObject(opt_includeInstance, this);
653
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
654
+ return proto.Platform.LocalAccountProto.RetrieveRequest.toObject(opt_includeInstance, this);
600
655
  };
601
656
 
602
657
 
@@ -605,20 +660,15 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.toObject = functio
605
660
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
606
661
  * the JSPB instance for transitional soy proto support:
607
662
  * http://goto/soy-param-migration
608
- * @param {!proto.Platform.LocalAccountProto.CreateAdminRequest} msg The msg instance to transform.
663
+ * @param {!proto.Platform.LocalAccountProto.RetrieveRequest} msg The msg instance to transform.
609
664
  * @return {!Object}
610
665
  * @suppress {unusedLocalVariables} f is only used for nested messages
611
666
  */
612
- proto.Platform.LocalAccountProto.CreateAdminRequest.toObject = function(includeInstance, msg) {
667
+ proto.Platform.LocalAccountProto.RetrieveRequest.toObject = function(includeInstance, msg) {
613
668
  var f, obj = {
614
- email: jspb.Message.getFieldWithDefault(msg, 1, ""),
615
- lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
616
- firstName: jspb.Message.getFieldWithDefault(msg, 3, ""),
617
- locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
618
- company: jspb.Message.getFieldWithDefault(msg, 5, ""),
619
- clientId: jspb.Message.getFieldWithDefault(msg, 6, 0),
620
- groupId: jspb.Message.getFieldWithDefault(msg, 7, ""),
621
- assignedRolesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
669
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
670
+ authId: jspb.Message.getFieldWithDefault(msg, 2, 0),
671
+ clientId: jspb.Message.getFieldWithDefault(msg, 3, 0)
622
672
  };
623
673
 
624
674
  if (includeInstance) {
@@ -632,23 +682,23 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.toObject = function(includeI
632
682
  /**
633
683
  * Deserializes binary data (in protobuf wire format).
634
684
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
635
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest}
685
+ * @return {!proto.Platform.LocalAccountProto.RetrieveRequest}
636
686
  */
637
- proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinary = function(bytes) {
687
+ proto.Platform.LocalAccountProto.RetrieveRequest.deserializeBinary = function(bytes) {
638
688
  var reader = new jspb.BinaryReader(bytes);
639
- var msg = new proto.Platform.LocalAccountProto.CreateAdminRequest;
640
- return proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader(msg, reader);
689
+ var msg = new proto.Platform.LocalAccountProto.RetrieveRequest;
690
+ return proto.Platform.LocalAccountProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
641
691
  };
642
692
 
643
693
 
644
694
  /**
645
695
  * Deserializes binary data (in protobuf wire format) from the
646
696
  * given reader into the given message object.
647
- * @param {!proto.Platform.LocalAccountProto.CreateAdminRequest} msg The message object to deserialize into.
697
+ * @param {!proto.Platform.LocalAccountProto.RetrieveRequest} msg The message object to deserialize into.
648
698
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
649
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest}
699
+ * @return {!proto.Platform.LocalAccountProto.RetrieveRequest}
650
700
  */
651
- proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader = function(msg, reader) {
701
+ proto.Platform.LocalAccountProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
652
702
  while (reader.nextField()) {
653
703
  if (reader.isEndGroup()) {
654
704
  break;
@@ -656,39 +706,17 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader
656
706
  var field = reader.getFieldNumber();
657
707
  switch (field) {
658
708
  case 1:
659
- var value = /** @type {string} */ (reader.readString());
660
- msg.setEmail(value);
709
+ var value = /** @type {number} */ (reader.readInt64());
710
+ msg.setId(value);
661
711
  break;
662
712
  case 2:
663
- var value = /** @type {string} */ (reader.readString());
664
- msg.setLastName(value);
713
+ var value = /** @type {number} */ (reader.readInt64());
714
+ msg.setAuthId(value);
665
715
  break;
666
716
  case 3:
667
- var value = /** @type {string} */ (reader.readString());
668
- msg.setFirstName(value);
669
- break;
670
- case 4:
671
- var value = /** @type {string} */ (reader.readString());
672
- msg.setLocale(value);
673
- break;
674
- case 5:
675
- var value = /** @type {string} */ (reader.readString());
676
- msg.setCompany(value);
677
- break;
678
- case 6:
679
- var value = /** @type {number} */ (reader.readInt32());
717
+ var value = /** @type {number} */ (reader.readInt64());
680
718
  msg.setClientId(value);
681
719
  break;
682
- case 7:
683
- var value = /** @type {string} */ (reader.readString());
684
- msg.setGroupId(value);
685
- break;
686
- case 8:
687
- var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
688
- for (var i = 0; i < values.length; i++) {
689
- msg.addAssignedRoles(values[i]);
690
- }
691
- break;
692
720
  default:
693
721
  reader.skipField();
694
722
  break;
@@ -702,9 +730,9 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader
702
730
  * Serializes the message to binary data (in protobuf wire format).
703
731
  * @return {!Uint8Array}
704
732
  */
705
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.serializeBinary = function() {
733
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.serializeBinary = function() {
706
734
  var writer = new jspb.BinaryWriter();
707
- proto.Platform.LocalAccountProto.CreateAdminRequest.serializeBinaryToWriter(this, writer);
735
+ proto.Platform.LocalAccountProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
708
736
  return writer.getResultBuffer();
709
737
  };
710
738
 
@@ -712,65 +740,30 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.serializeBinary =
712
740
  /**
713
741
  * Serializes the given message to binary data (in protobuf wire
714
742
  * format), writing to the given BinaryWriter.
715
- * @param {!proto.Platform.LocalAccountProto.CreateAdminRequest} message
743
+ * @param {!proto.Platform.LocalAccountProto.RetrieveRequest} message
716
744
  * @param {!jspb.BinaryWriter} writer
717
745
  * @suppress {unusedLocalVariables} f is only used for nested messages
718
746
  */
719
- proto.Platform.LocalAccountProto.CreateAdminRequest.serializeBinaryToWriter = function(message, writer) {
747
+ proto.Platform.LocalAccountProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
720
748
  var f = undefined;
721
- f = message.getEmail();
722
- if (f.length > 0) {
723
- writer.writeString(
749
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
750
+ if (f != null) {
751
+ writer.writeInt64(
724
752
  1,
725
753
  f
726
754
  );
727
755
  }
728
- f = message.getLastName();
729
- if (f.length > 0) {
730
- writer.writeString(
756
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
757
+ if (f != null) {
758
+ writer.writeInt64(
731
759
  2,
732
760
  f
733
761
  );
734
762
  }
735
- f = message.getFirstName();
736
- if (f.length > 0) {
737
- writer.writeString(
738
- 3,
739
- f
740
- );
741
- }
742
- f = message.getLocale();
743
- if (f.length > 0) {
744
- writer.writeString(
745
- 4,
746
- f
747
- );
748
- }
749
- f = message.getCompany();
750
- if (f.length > 0) {
751
- writer.writeString(
752
- 5,
753
- f
754
- );
755
- }
756
763
  f = message.getClientId();
757
764
  if (f !== 0) {
758
- writer.writeInt32(
759
- 6,
760
- f
761
- );
762
- }
763
- f = message.getGroupId();
764
- if (f.length > 0) {
765
- writer.writeString(
766
- 7,
767
- f
768
- );
769
- }
770
- f = message.getAssignedRolesList();
771
- if (f.length > 0) {
772
- writer.writePackedEnum(
773
- 8,
765
+ writer.writeInt64(
766
+ 3,
774
767
  f
775
768
  );
776
769
  }
@@ -778,168 +771,102 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.serializeBinaryToWriter = fu
778
771
 
779
772
 
780
773
  /**
781
- * optional string email = 1;
782
- * @return {string}
774
+ * optional int64 id = 1;
775
+ * @return {number}
783
776
  */
784
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getEmail = function() {
785
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
777
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.getId = function() {
778
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
786
779
  };
787
780
 
788
781
 
789
782
  /**
790
- * @param {string} value
791
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
783
+ * @param {number} value
784
+ * @return {!proto.Platform.LocalAccountProto.RetrieveRequest} returns this
792
785
  */
793
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setEmail = function(value) {
794
- return jspb.Message.setProto3StringField(this, 1, value);
786
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.setId = function(value) {
787
+ return jspb.Message.setOneofField(this, 1, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_[0], value);
795
788
  };
796
789
 
797
790
 
798
791
  /**
799
- * optional string last_name = 2;
800
- * @return {string}
792
+ * Clears the field making it undefined.
793
+ * @return {!proto.Platform.LocalAccountProto.RetrieveRequest} returns this
801
794
  */
802
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getLastName = function() {
803
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
795
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.clearId = function() {
796
+ return jspb.Message.setOneofField(this, 1, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_[0], undefined);
804
797
  };
805
798
 
806
799
 
807
800
  /**
808
- * @param {string} value
809
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
801
+ * Returns whether this field is set.
802
+ * @return {boolean}
810
803
  */
811
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setLastName = function(value) {
812
- return jspb.Message.setProto3StringField(this, 2, value);
804
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.hasId = function() {
805
+ return jspb.Message.getField(this, 1) != null;
813
806
  };
814
807
 
815
808
 
816
809
  /**
817
- * optional string first_name = 3;
818
- * @return {string}
810
+ * optional int64 auth_id = 2;
811
+ * @return {number}
819
812
  */
820
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getFirstName = function() {
821
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
813
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.getAuthId = function() {
814
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
822
815
  };
823
816
 
824
817
 
825
818
  /**
826
- * @param {string} value
827
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
819
+ * @param {number} value
820
+ * @return {!proto.Platform.LocalAccountProto.RetrieveRequest} returns this
828
821
  */
829
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setFirstName = function(value) {
830
- return jspb.Message.setProto3StringField(this, 3, value);
822
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.setAuthId = function(value) {
823
+ return jspb.Message.setOneofField(this, 2, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_[0], value);
831
824
  };
832
825
 
833
826
 
834
827
  /**
835
- * optional string locale = 4;
836
- * @return {string}
828
+ * Clears the field making it undefined.
829
+ * @return {!proto.Platform.LocalAccountProto.RetrieveRequest} returns this
837
830
  */
838
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getLocale = function() {
839
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
831
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.clearAuthId = function() {
832
+ return jspb.Message.setOneofField(this, 2, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_[0], undefined);
840
833
  };
841
834
 
842
835
 
843
836
  /**
844
- * @param {string} value
845
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
837
+ * Returns whether this field is set.
838
+ * @return {boolean}
846
839
  */
847
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setLocale = function(value) {
848
- return jspb.Message.setProto3StringField(this, 4, value);
840
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.hasAuthId = function() {
841
+ return jspb.Message.getField(this, 2) != null;
849
842
  };
850
843
 
851
844
 
852
845
  /**
853
- * optional string company = 5;
854
- * @return {string}
846
+ * optional int64 client_id = 3;
847
+ * @return {number}
855
848
  */
856
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getCompany = function() {
857
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
849
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.getClientId = function() {
850
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
858
851
  };
859
852
 
860
853
 
861
854
  /**
862
- * @param {string} value
863
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
855
+ * @param {number} value
856
+ * @return {!proto.Platform.LocalAccountProto.RetrieveRequest} returns this
864
857
  */
865
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setCompany = function(value) {
866
- return jspb.Message.setProto3StringField(this, 5, value);
858
+ proto.Platform.LocalAccountProto.RetrieveRequest.prototype.setClientId = function(value) {
859
+ return jspb.Message.setProto3IntField(this, 3, value);
867
860
  };
868
861
 
869
862
 
863
+
870
864
  /**
871
- * optional int32 client_id = 6;
872
- * @return {number}
873
- */
874
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getClientId = function() {
875
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
876
- };
877
-
878
-
879
- /**
880
- * @param {number} value
881
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
882
- */
883
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setClientId = function(value) {
884
- return jspb.Message.setProto3IntField(this, 6, value);
885
- };
886
-
887
-
888
- /**
889
- * optional string group_id = 7;
890
- * @return {string}
891
- */
892
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getGroupId = function() {
893
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
894
- };
895
-
896
-
897
- /**
898
- * @param {string} value
899
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
900
- */
901
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setGroupId = function(value) {
902
- return jspb.Message.setProto3StringField(this, 7, value);
903
- };
904
-
905
-
906
- /**
907
- * repeated Auth.AccountProto.Roles assigned_roles = 8;
908
- * @return {!Array<!proto.Auth.AccountProto.Roles>}
909
- */
910
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getAssignedRolesList = function() {
911
- return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 8));
912
- };
913
-
914
-
915
- /**
916
- * @param {!Array<!proto.Auth.AccountProto.Roles>} value
917
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
918
- */
919
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setAssignedRolesList = function(value) {
920
- return jspb.Message.setField(this, 8, value || []);
921
- };
922
-
923
-
924
- /**
925
- * @param {!proto.Auth.AccountProto.Roles} value
926
- * @param {number=} opt_index
927
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
928
- */
929
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.addAssignedRoles = function(value, opt_index) {
930
- return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
931
- };
932
-
933
-
934
- /**
935
- * Clears the list making it empty but non-null.
936
- * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
865
+ * List of repeated fields within this message type.
866
+ * @private {!Array<number>}
867
+ * @const
937
868
  */
938
- proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.clearAssignedRolesList = function() {
939
- return this.setAssignedRolesList([]);
940
- };
941
-
942
-
869
+ proto.Platform.LocalAccountProto.CreateAdminRequest.repeatedFields_ = [8];
943
870
 
944
871
 
945
872
 
@@ -956,8 +883,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
956
883
  * http://goto/soy-param-migration
957
884
  * @return {!Object}
958
885
  */
959
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.toObject = function(opt_includeInstance) {
960
- return proto.Platform.LocalAccountProto.CreateAppRequest.toObject(opt_includeInstance, this);
886
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.toObject = function(opt_includeInstance) {
887
+ return proto.Platform.LocalAccountProto.CreateAdminRequest.toObject(opt_includeInstance, this);
961
888
  };
962
889
 
963
890
 
@@ -966,19 +893,20 @@ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.toObject = function(
966
893
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
967
894
  * the JSPB instance for transitional soy proto support:
968
895
  * http://goto/soy-param-migration
969
- * @param {!proto.Platform.LocalAccountProto.CreateAppRequest} msg The msg instance to transform.
896
+ * @param {!proto.Platform.LocalAccountProto.CreateAdminRequest} msg The msg instance to transform.
970
897
  * @return {!Object}
971
898
  * @suppress {unusedLocalVariables} f is only used for nested messages
972
899
  */
973
- proto.Platform.LocalAccountProto.CreateAppRequest.toObject = function(includeInstance, msg) {
900
+ proto.Platform.LocalAccountProto.CreateAdminRequest.toObject = function(includeInstance, msg) {
974
901
  var f, obj = {
975
- phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
902
+ email: jspb.Message.getFieldWithDefault(msg, 1, ""),
976
903
  lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
977
904
  firstName: jspb.Message.getFieldWithDefault(msg, 3, ""),
978
905
  locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
979
906
  company: jspb.Message.getFieldWithDefault(msg, 5, ""),
980
907
  clientId: jspb.Message.getFieldWithDefault(msg, 6, 0),
981
- groupId: jspb.Message.getFieldWithDefault(msg, 7, "")
908
+ groupId: jspb.Message.getFieldWithDefault(msg, 7, ""),
909
+ clientRolesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
982
910
  };
983
911
 
984
912
  if (includeInstance) {
@@ -992,23 +920,23 @@ proto.Platform.LocalAccountProto.CreateAppRequest.toObject = function(includeIns
992
920
  /**
993
921
  * Deserializes binary data (in protobuf wire format).
994
922
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
995
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest}
923
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest}
996
924
  */
997
- proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinary = function(bytes) {
925
+ proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinary = function(bytes) {
998
926
  var reader = new jspb.BinaryReader(bytes);
999
- var msg = new proto.Platform.LocalAccountProto.CreateAppRequest;
1000
- return proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinaryFromReader(msg, reader);
927
+ var msg = new proto.Platform.LocalAccountProto.CreateAdminRequest;
928
+ return proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader(msg, reader);
1001
929
  };
1002
930
 
1003
931
 
1004
932
  /**
1005
933
  * Deserializes binary data (in protobuf wire format) from the
1006
934
  * given reader into the given message object.
1007
- * @param {!proto.Platform.LocalAccountProto.CreateAppRequest} msg The message object to deserialize into.
935
+ * @param {!proto.Platform.LocalAccountProto.CreateAdminRequest} msg The message object to deserialize into.
1008
936
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1009
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest}
937
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest}
1010
938
  */
1011
- proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinaryFromReader = function(msg, reader) {
939
+ proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader = function(msg, reader) {
1012
940
  while (reader.nextField()) {
1013
941
  if (reader.isEndGroup()) {
1014
942
  break;
@@ -1017,7 +945,7 @@ proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinaryFromReader =
1017
945
  switch (field) {
1018
946
  case 1:
1019
947
  var value = /** @type {string} */ (reader.readString());
1020
- msg.setPhone(value);
948
+ msg.setEmail(value);
1021
949
  break;
1022
950
  case 2:
1023
951
  var value = /** @type {string} */ (reader.readString());
@@ -1043,6 +971,12 @@ proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinaryFromReader =
1043
971
  var value = /** @type {string} */ (reader.readString());
1044
972
  msg.setGroupId(value);
1045
973
  break;
974
+ case 8:
975
+ var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
976
+ for (var i = 0; i < values.length; i++) {
977
+ msg.addClientRoles(values[i]);
978
+ }
979
+ break;
1046
980
  default:
1047
981
  reader.skipField();
1048
982
  break;
@@ -1056,9 +990,9 @@ proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinaryFromReader =
1056
990
  * Serializes the message to binary data (in protobuf wire format).
1057
991
  * @return {!Uint8Array}
1058
992
  */
1059
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.serializeBinary = function() {
993
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.serializeBinary = function() {
1060
994
  var writer = new jspb.BinaryWriter();
1061
- proto.Platform.LocalAccountProto.CreateAppRequest.serializeBinaryToWriter(this, writer);
995
+ proto.Platform.LocalAccountProto.CreateAdminRequest.serializeBinaryToWriter(this, writer);
1062
996
  return writer.getResultBuffer();
1063
997
  };
1064
998
 
@@ -1066,13 +1000,13 @@ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.serializeBinary = fu
1066
1000
  /**
1067
1001
  * Serializes the given message to binary data (in protobuf wire
1068
1002
  * format), writing to the given BinaryWriter.
1069
- * @param {!proto.Platform.LocalAccountProto.CreateAppRequest} message
1003
+ * @param {!proto.Platform.LocalAccountProto.CreateAdminRequest} message
1070
1004
  * @param {!jspb.BinaryWriter} writer
1071
1005
  * @suppress {unusedLocalVariables} f is only used for nested messages
1072
1006
  */
1073
- proto.Platform.LocalAccountProto.CreateAppRequest.serializeBinaryToWriter = function(message, writer) {
1007
+ proto.Platform.LocalAccountProto.CreateAdminRequest.serializeBinaryToWriter = function(message, writer) {
1074
1008
  var f = undefined;
1075
- f = message.getPhone();
1009
+ f = message.getEmail();
1076
1010
  if (f.length > 0) {
1077
1011
  writer.writeString(
1078
1012
  1,
@@ -1121,23 +1055,30 @@ proto.Platform.LocalAccountProto.CreateAppRequest.serializeBinaryToWriter = func
1121
1055
  f
1122
1056
  );
1123
1057
  }
1058
+ f = message.getClientRolesList();
1059
+ if (f.length > 0) {
1060
+ writer.writePackedEnum(
1061
+ 8,
1062
+ f
1063
+ );
1064
+ }
1124
1065
  };
1125
1066
 
1126
1067
 
1127
1068
  /**
1128
- * optional string phone = 1;
1069
+ * optional string email = 1;
1129
1070
  * @return {string}
1130
1071
  */
1131
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getPhone = function() {
1072
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getEmail = function() {
1132
1073
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1133
1074
  };
1134
1075
 
1135
1076
 
1136
1077
  /**
1137
1078
  * @param {string} value
1138
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1079
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
1139
1080
  */
1140
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setPhone = function(value) {
1081
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setEmail = function(value) {
1141
1082
  return jspb.Message.setProto3StringField(this, 1, value);
1142
1083
  };
1143
1084
 
@@ -1146,16 +1087,16 @@ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setPhone = function(
1146
1087
  * optional string last_name = 2;
1147
1088
  * @return {string}
1148
1089
  */
1149
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getLastName = function() {
1090
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getLastName = function() {
1150
1091
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1151
1092
  };
1152
1093
 
1153
1094
 
1154
1095
  /**
1155
1096
  * @param {string} value
1156
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1097
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
1157
1098
  */
1158
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setLastName = function(value) {
1099
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setLastName = function(value) {
1159
1100
  return jspb.Message.setProto3StringField(this, 2, value);
1160
1101
  };
1161
1102
 
@@ -1164,16 +1105,16 @@ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setLastName = functi
1164
1105
  * optional string first_name = 3;
1165
1106
  * @return {string}
1166
1107
  */
1167
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getFirstName = function() {
1108
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getFirstName = function() {
1168
1109
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1169
1110
  };
1170
1111
 
1171
1112
 
1172
1113
  /**
1173
1114
  * @param {string} value
1174
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1115
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
1175
1116
  */
1176
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setFirstName = function(value) {
1117
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setFirstName = function(value) {
1177
1118
  return jspb.Message.setProto3StringField(this, 3, value);
1178
1119
  };
1179
1120
 
@@ -1182,16 +1123,16 @@ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setFirstName = funct
1182
1123
  * optional string locale = 4;
1183
1124
  * @return {string}
1184
1125
  */
1185
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getLocale = function() {
1126
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getLocale = function() {
1186
1127
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1187
1128
  };
1188
1129
 
1189
1130
 
1190
1131
  /**
1191
1132
  * @param {string} value
1192
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1133
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
1193
1134
  */
1194
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setLocale = function(value) {
1135
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setLocale = function(value) {
1195
1136
  return jspb.Message.setProto3StringField(this, 4, value);
1196
1137
  };
1197
1138
 
@@ -1200,16 +1141,16 @@ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setLocale = function
1200
1141
  * optional string company = 5;
1201
1142
  * @return {string}
1202
1143
  */
1203
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getCompany = function() {
1144
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getCompany = function() {
1204
1145
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1205
1146
  };
1206
1147
 
1207
1148
 
1208
1149
  /**
1209
1150
  * @param {string} value
1210
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1151
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
1211
1152
  */
1212
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setCompany = function(value) {
1153
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setCompany = function(value) {
1213
1154
  return jspb.Message.setProto3StringField(this, 5, value);
1214
1155
  };
1215
1156
 
@@ -1218,16 +1159,16 @@ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setCompany = functio
1218
1159
  * optional int32 client_id = 6;
1219
1160
  * @return {number}
1220
1161
  */
1221
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getClientId = function() {
1162
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getClientId = function() {
1222
1163
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
1223
1164
  };
1224
1165
 
1225
1166
 
1226
1167
  /**
1227
1168
  * @param {number} value
1228
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1169
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
1229
1170
  */
1230
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setClientId = function(value) {
1171
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setClientId = function(value) {
1231
1172
  return jspb.Message.setProto3IntField(this, 6, value);
1232
1173
  };
1233
1174
 
@@ -1236,27 +1177,57 @@ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setClientId = functi
1236
1177
  * optional string group_id = 7;
1237
1178
  * @return {string}
1238
1179
  */
1239
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getGroupId = function() {
1180
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getGroupId = function() {
1240
1181
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1241
1182
  };
1242
1183
 
1243
1184
 
1244
1185
  /**
1245
1186
  * @param {string} value
1246
- * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1187
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
1247
1188
  */
1248
- proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setGroupId = function(value) {
1189
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setGroupId = function(value) {
1249
1190
  return jspb.Message.setProto3StringField(this, 7, value);
1250
1191
  };
1251
1192
 
1252
1193
 
1194
+ /**
1195
+ * repeated Auth.AccountProto.Roles client_roles = 8;
1196
+ * @return {!Array<!proto.Auth.AccountProto.Roles>}
1197
+ */
1198
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getClientRolesList = function() {
1199
+ return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 8));
1200
+ };
1201
+
1253
1202
 
1254
1203
  /**
1255
- * List of repeated fields within this message type.
1256
- * @private {!Array<number>}
1257
- * @const
1204
+ * @param {!Array<!proto.Auth.AccountProto.Roles>} value
1205
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
1258
1206
  */
1259
- proto.Platform.LocalAccountProto.UpdateRequest.repeatedFields_ = [7];
1207
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setClientRolesList = function(value) {
1208
+ return jspb.Message.setField(this, 8, value || []);
1209
+ };
1210
+
1211
+
1212
+ /**
1213
+ * @param {!proto.Auth.AccountProto.Roles} value
1214
+ * @param {number=} opt_index
1215
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
1216
+ */
1217
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.addClientRoles = function(value, opt_index) {
1218
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
1219
+ };
1220
+
1221
+
1222
+ /**
1223
+ * Clears the list making it empty but non-null.
1224
+ * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
1225
+ */
1226
+ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.clearClientRolesList = function() {
1227
+ return this.setClientRolesList([]);
1228
+ };
1229
+
1230
+
1260
1231
 
1261
1232
 
1262
1233
 
@@ -1273,8 +1244,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1273
1244
  * http://goto/soy-param-migration
1274
1245
  * @return {!Object}
1275
1246
  */
1276
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
1277
- return proto.Platform.LocalAccountProto.UpdateRequest.toObject(opt_includeInstance, this);
1247
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.toObject = function(opt_includeInstance) {
1248
+ return proto.Platform.LocalAccountProto.CreateAppRequest.toObject(opt_includeInstance, this);
1278
1249
  };
1279
1250
 
1280
1251
 
@@ -1283,19 +1254,19 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.toObject = function(opt
1283
1254
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1284
1255
  * the JSPB instance for transitional soy proto support:
1285
1256
  * http://goto/soy-param-migration
1286
- * @param {!proto.Platform.LocalAccountProto.UpdateRequest} msg The msg instance to transform.
1257
+ * @param {!proto.Platform.LocalAccountProto.CreateAppRequest} msg The msg instance to transform.
1287
1258
  * @return {!Object}
1288
1259
  * @suppress {unusedLocalVariables} f is only used for nested messages
1289
1260
  */
1290
- proto.Platform.LocalAccountProto.UpdateRequest.toObject = function(includeInstance, msg) {
1261
+ proto.Platform.LocalAccountProto.CreateAppRequest.toObject = function(includeInstance, msg) {
1291
1262
  var f, obj = {
1292
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1263
+ phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
1293
1264
  lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1294
1265
  firstName: jspb.Message.getFieldWithDefault(msg, 3, ""),
1295
1266
  locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
1296
1267
  company: jspb.Message.getFieldWithDefault(msg, 5, ""),
1297
- groupId: jspb.Message.getFieldWithDefault(msg, 6, ""),
1298
- assignedRolesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
1268
+ clientId: jspb.Message.getFieldWithDefault(msg, 6, 0),
1269
+ groupId: jspb.Message.getFieldWithDefault(msg, 7, "")
1299
1270
  };
1300
1271
 
1301
1272
  if (includeInstance) {
@@ -1309,23 +1280,23 @@ proto.Platform.LocalAccountProto.UpdateRequest.toObject = function(includeInstan
1309
1280
  /**
1310
1281
  * Deserializes binary data (in protobuf wire format).
1311
1282
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1312
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest}
1283
+ * @return {!proto.Platform.LocalAccountProto.CreateAppRequest}
1313
1284
  */
1314
- proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinary = function(bytes) {
1285
+ proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinary = function(bytes) {
1315
1286
  var reader = new jspb.BinaryReader(bytes);
1316
- var msg = new proto.Platform.LocalAccountProto.UpdateRequest;
1317
- return proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
1287
+ var msg = new proto.Platform.LocalAccountProto.CreateAppRequest;
1288
+ return proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinaryFromReader(msg, reader);
1318
1289
  };
1319
1290
 
1320
1291
 
1321
1292
  /**
1322
1293
  * Deserializes binary data (in protobuf wire format) from the
1323
1294
  * given reader into the given message object.
1324
- * @param {!proto.Platform.LocalAccountProto.UpdateRequest} msg The message object to deserialize into.
1295
+ * @param {!proto.Platform.LocalAccountProto.CreateAppRequest} msg The message object to deserialize into.
1325
1296
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1326
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest}
1297
+ * @return {!proto.Platform.LocalAccountProto.CreateAppRequest}
1327
1298
  */
1328
- proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
1299
+ proto.Platform.LocalAccountProto.CreateAppRequest.deserializeBinaryFromReader = function(msg, reader) {
1329
1300
  while (reader.nextField()) {
1330
1301
  if (reader.isEndGroup()) {
1331
1302
  break;
@@ -1333,8 +1304,8 @@ proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader = fun
1333
1304
  var field = reader.getFieldNumber();
1334
1305
  switch (field) {
1335
1306
  case 1:
1336
- var value = /** @type {number} */ (reader.readInt64());
1337
- msg.setId(value);
1307
+ var value = /** @type {string} */ (reader.readString());
1308
+ msg.setPhone(value);
1338
1309
  break;
1339
1310
  case 2:
1340
1311
  var value = /** @type {string} */ (reader.readString());
@@ -1353,14 +1324,12 @@ proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader = fun
1353
1324
  msg.setCompany(value);
1354
1325
  break;
1355
1326
  case 6:
1356
- var value = /** @type {string} */ (reader.readString());
1357
- msg.setGroupId(value);
1327
+ var value = /** @type {number} */ (reader.readInt32());
1328
+ msg.setClientId(value);
1358
1329
  break;
1359
1330
  case 7:
1360
- var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
1361
- for (var i = 0; i < values.length; i++) {
1362
- msg.addAssignedRoles(values[i]);
1363
- }
1331
+ var value = /** @type {string} */ (reader.readString());
1332
+ msg.setGroupId(value);
1364
1333
  break;
1365
1334
  default:
1366
1335
  reader.skipField();
@@ -1375,9 +1344,9 @@ proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader = fun
1375
1344
  * Serializes the message to binary data (in protobuf wire format).
1376
1345
  * @return {!Uint8Array}
1377
1346
  */
1378
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.serializeBinary = function() {
1347
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.serializeBinary = function() {
1379
1348
  var writer = new jspb.BinaryWriter();
1380
- proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter(this, writer);
1349
+ proto.Platform.LocalAccountProto.CreateAppRequest.serializeBinaryToWriter(this, writer);
1381
1350
  return writer.getResultBuffer();
1382
1351
  };
1383
1352
 
@@ -1385,15 +1354,15 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.serializeBinary = funct
1385
1354
  /**
1386
1355
  * Serializes the given message to binary data (in protobuf wire
1387
1356
  * format), writing to the given BinaryWriter.
1388
- * @param {!proto.Platform.LocalAccountProto.UpdateRequest} message
1357
+ * @param {!proto.Platform.LocalAccountProto.CreateAppRequest} message
1389
1358
  * @param {!jspb.BinaryWriter} writer
1390
1359
  * @suppress {unusedLocalVariables} f is only used for nested messages
1391
1360
  */
1392
- proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
1361
+ proto.Platform.LocalAccountProto.CreateAppRequest.serializeBinaryToWriter = function(message, writer) {
1393
1362
  var f = undefined;
1394
- f = message.getId();
1395
- if (f !== 0) {
1396
- writer.writeInt64(
1363
+ f = message.getPhone();
1364
+ if (f.length > 0) {
1365
+ writer.writeString(
1397
1366
  1,
1398
1367
  f
1399
1368
  );
@@ -1426,16 +1395,16 @@ proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter = functio
1426
1395
  f
1427
1396
  );
1428
1397
  }
1429
- f = message.getGroupId();
1430
- if (f.length > 0) {
1431
- writer.writeString(
1398
+ f = message.getClientId();
1399
+ if (f !== 0) {
1400
+ writer.writeInt32(
1432
1401
  6,
1433
1402
  f
1434
1403
  );
1435
1404
  }
1436
- f = message.getAssignedRolesList();
1405
+ f = message.getGroupId();
1437
1406
  if (f.length > 0) {
1438
- writer.writePackedEnum(
1407
+ writer.writeString(
1439
1408
  7,
1440
1409
  f
1441
1410
  );
@@ -1444,20 +1413,20 @@ proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter = functio
1444
1413
 
1445
1414
 
1446
1415
  /**
1447
- * optional int64 id = 1;
1448
- * @return {number}
1416
+ * optional string phone = 1;
1417
+ * @return {string}
1449
1418
  */
1450
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getId = function() {
1451
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1419
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getPhone = function() {
1420
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1452
1421
  };
1453
1422
 
1454
1423
 
1455
1424
  /**
1456
- * @param {number} value
1457
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1425
+ * @param {string} value
1426
+ * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1458
1427
  */
1459
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setId = function(value) {
1460
- return jspb.Message.setProto3IntField(this, 1, value);
1428
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setPhone = function(value) {
1429
+ return jspb.Message.setProto3StringField(this, 1, value);
1461
1430
  };
1462
1431
 
1463
1432
 
@@ -1465,16 +1434,16 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setId = function(value)
1465
1434
  * optional string last_name = 2;
1466
1435
  * @return {string}
1467
1436
  */
1468
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getLastName = function() {
1437
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getLastName = function() {
1469
1438
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1470
1439
  };
1471
1440
 
1472
1441
 
1473
1442
  /**
1474
1443
  * @param {string} value
1475
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1444
+ * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1476
1445
  */
1477
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setLastName = function(value) {
1446
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setLastName = function(value) {
1478
1447
  return jspb.Message.setProto3StringField(this, 2, value);
1479
1448
  };
1480
1449
 
@@ -1483,16 +1452,16 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setLastName = function(
1483
1452
  * optional string first_name = 3;
1484
1453
  * @return {string}
1485
1454
  */
1486
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getFirstName = function() {
1455
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getFirstName = function() {
1487
1456
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1488
1457
  };
1489
1458
 
1490
1459
 
1491
1460
  /**
1492
1461
  * @param {string} value
1493
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1462
+ * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1494
1463
  */
1495
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setFirstName = function(value) {
1464
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setFirstName = function(value) {
1496
1465
  return jspb.Message.setProto3StringField(this, 3, value);
1497
1466
  };
1498
1467
 
@@ -1501,16 +1470,16 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setFirstName = function
1501
1470
  * optional string locale = 4;
1502
1471
  * @return {string}
1503
1472
  */
1504
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getLocale = function() {
1473
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getLocale = function() {
1505
1474
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1506
1475
  };
1507
1476
 
1508
1477
 
1509
1478
  /**
1510
1479
  * @param {string} value
1511
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1480
+ * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1512
1481
  */
1513
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setLocale = function(value) {
1482
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setLocale = function(value) {
1514
1483
  return jspb.Message.setProto3StringField(this, 4, value);
1515
1484
  };
1516
1485
 
@@ -1519,75 +1488,63 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setLocale = function(va
1519
1488
  * optional string company = 5;
1520
1489
  * @return {string}
1521
1490
  */
1522
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getCompany = function() {
1491
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getCompany = function() {
1523
1492
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1524
1493
  };
1525
1494
 
1526
1495
 
1527
1496
  /**
1528
1497
  * @param {string} value
1529
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1498
+ * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1530
1499
  */
1531
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setCompany = function(value) {
1500
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setCompany = function(value) {
1532
1501
  return jspb.Message.setProto3StringField(this, 5, value);
1533
1502
  };
1534
1503
 
1535
1504
 
1536
1505
  /**
1537
- * optional string group_id = 6;
1538
- * @return {string}
1506
+ * optional int32 client_id = 6;
1507
+ * @return {number}
1539
1508
  */
1540
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getGroupId = function() {
1541
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1509
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getClientId = function() {
1510
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
1542
1511
  };
1543
1512
 
1544
1513
 
1545
1514
  /**
1546
- * @param {string} value
1547
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1515
+ * @param {number} value
1516
+ * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1548
1517
  */
1549
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setGroupId = function(value) {
1550
- return jspb.Message.setProto3StringField(this, 6, value);
1518
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setClientId = function(value) {
1519
+ return jspb.Message.setProto3IntField(this, 6, value);
1551
1520
  };
1552
1521
 
1553
1522
 
1554
1523
  /**
1555
- * repeated Auth.AccountProto.Roles assigned_roles = 7;
1556
- * @return {!Array<!proto.Auth.AccountProto.Roles>}
1524
+ * optional string group_id = 7;
1525
+ * @return {string}
1557
1526
  */
1558
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.getAssignedRolesList = function() {
1559
- return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 7));
1527
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.getGroupId = function() {
1528
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1560
1529
  };
1561
1530
 
1562
1531
 
1563
1532
  /**
1564
- * @param {!Array<!proto.Auth.AccountProto.Roles>} value
1565
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1533
+ * @param {string} value
1534
+ * @return {!proto.Platform.LocalAccountProto.CreateAppRequest} returns this
1566
1535
  */
1567
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.setAssignedRolesList = function(value) {
1568
- return jspb.Message.setField(this, 7, value || []);
1536
+ proto.Platform.LocalAccountProto.CreateAppRequest.prototype.setGroupId = function(value) {
1537
+ return jspb.Message.setProto3StringField(this, 7, value);
1569
1538
  };
1570
1539
 
1571
1540
 
1572
- /**
1573
- * @param {!proto.Auth.AccountProto.Roles} value
1574
- * @param {number=} opt_index
1575
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1576
- */
1577
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.addAssignedRoles = function(value, opt_index) {
1578
- return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
1579
- };
1580
-
1581
1541
 
1582
1542
  /**
1583
- * Clears the list making it empty but non-null.
1584
- * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1543
+ * List of repeated fields within this message type.
1544
+ * @private {!Array<number>}
1545
+ * @const
1585
1546
  */
1586
- proto.Platform.LocalAccountProto.UpdateRequest.prototype.clearAssignedRolesList = function() {
1587
- return this.setAssignedRolesList([]);
1588
- };
1589
-
1590
-
1547
+ proto.Platform.LocalAccountProto.UpdateRequest.repeatedFields_ = [7];
1591
1548
 
1592
1549
 
1593
1550
 
@@ -1604,8 +1561,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
1604
1561
  * http://goto/soy-param-migration
1605
1562
  * @return {!Object}
1606
1563
  */
1607
- proto.Platform.LocalAccountProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
1608
- return proto.Platform.LocalAccountProto.SearchRequest.toObject(opt_includeInstance, this);
1564
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
1565
+ return proto.Platform.LocalAccountProto.UpdateRequest.toObject(opt_includeInstance, this);
1609
1566
  };
1610
1567
 
1611
1568
 
@@ -1614,15 +1571,19 @@ proto.Platform.LocalAccountProto.SearchRequest.prototype.toObject = function(opt
1614
1571
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1615
1572
  * the JSPB instance for transitional soy proto support:
1616
1573
  * http://goto/soy-param-migration
1617
- * @param {!proto.Platform.LocalAccountProto.SearchRequest} msg The msg instance to transform.
1574
+ * @param {!proto.Platform.LocalAccountProto.UpdateRequest} msg The msg instance to transform.
1618
1575
  * @return {!Object}
1619
1576
  * @suppress {unusedLocalVariables} f is only used for nested messages
1620
1577
  */
1621
- proto.Platform.LocalAccountProto.SearchRequest.toObject = function(includeInstance, msg) {
1578
+ proto.Platform.LocalAccountProto.UpdateRequest.toObject = function(includeInstance, msg) {
1622
1579
  var f, obj = {
1623
- search: jspb.Message.getFieldWithDefault(msg, 1, ""),
1624
- page: jspb.Message.getFieldWithDefault(msg, 2, 0),
1625
- count: jspb.Message.getFieldWithDefault(msg, 3, 0)
1580
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1581
+ lastName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1582
+ firstName: jspb.Message.getFieldWithDefault(msg, 3, ""),
1583
+ locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
1584
+ company: jspb.Message.getFieldWithDefault(msg, 5, ""),
1585
+ groupId: jspb.Message.getFieldWithDefault(msg, 6, ""),
1586
+ clientRolesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
1626
1587
  };
1627
1588
 
1628
1589
  if (includeInstance) {
@@ -1636,23 +1597,23 @@ proto.Platform.LocalAccountProto.SearchRequest.toObject = function(includeInstan
1636
1597
  /**
1637
1598
  * Deserializes binary data (in protobuf wire format).
1638
1599
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
1639
- * @return {!proto.Platform.LocalAccountProto.SearchRequest}
1600
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest}
1640
1601
  */
1641
- proto.Platform.LocalAccountProto.SearchRequest.deserializeBinary = function(bytes) {
1602
+ proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinary = function(bytes) {
1642
1603
  var reader = new jspb.BinaryReader(bytes);
1643
- var msg = new proto.Platform.LocalAccountProto.SearchRequest;
1644
- return proto.Platform.LocalAccountProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
1604
+ var msg = new proto.Platform.LocalAccountProto.UpdateRequest;
1605
+ return proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
1645
1606
  };
1646
1607
 
1647
1608
 
1648
1609
  /**
1649
1610
  * Deserializes binary data (in protobuf wire format) from the
1650
1611
  * given reader into the given message object.
1651
- * @param {!proto.Platform.LocalAccountProto.SearchRequest} msg The message object to deserialize into.
1612
+ * @param {!proto.Platform.LocalAccountProto.UpdateRequest} msg The message object to deserialize into.
1652
1613
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1653
- * @return {!proto.Platform.LocalAccountProto.SearchRequest}
1614
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest}
1654
1615
  */
1655
- proto.Platform.LocalAccountProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
1616
+ proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
1656
1617
  while (reader.nextField()) {
1657
1618
  if (reader.isEndGroup()) {
1658
1619
  break;
@@ -1660,16 +1621,34 @@ proto.Platform.LocalAccountProto.SearchRequest.deserializeBinaryFromReader = fun
1660
1621
  var field = reader.getFieldNumber();
1661
1622
  switch (field) {
1662
1623
  case 1:
1663
- var value = /** @type {string} */ (reader.readString());
1664
- msg.setSearch(value);
1624
+ var value = /** @type {number} */ (reader.readInt64());
1625
+ msg.setId(value);
1665
1626
  break;
1666
1627
  case 2:
1667
- var value = /** @type {number} */ (reader.readInt32());
1668
- msg.setPage(value);
1628
+ var value = /** @type {string} */ (reader.readString());
1629
+ msg.setLastName(value);
1669
1630
  break;
1670
1631
  case 3:
1671
- var value = /** @type {number} */ (reader.readInt32());
1672
- msg.setCount(value);
1632
+ var value = /** @type {string} */ (reader.readString());
1633
+ msg.setFirstName(value);
1634
+ break;
1635
+ case 4:
1636
+ var value = /** @type {string} */ (reader.readString());
1637
+ msg.setLocale(value);
1638
+ break;
1639
+ case 5:
1640
+ var value = /** @type {string} */ (reader.readString());
1641
+ msg.setCompany(value);
1642
+ break;
1643
+ case 6:
1644
+ var value = /** @type {string} */ (reader.readString());
1645
+ msg.setGroupId(value);
1646
+ break;
1647
+ case 7:
1648
+ var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
1649
+ for (var i = 0; i < values.length; i++) {
1650
+ msg.addClientRoles(values[i]);
1651
+ }
1673
1652
  break;
1674
1653
  default:
1675
1654
  reader.skipField();
@@ -1684,9 +1663,9 @@ proto.Platform.LocalAccountProto.SearchRequest.deserializeBinaryFromReader = fun
1684
1663
  * Serializes the message to binary data (in protobuf wire format).
1685
1664
  * @return {!Uint8Array}
1686
1665
  */
1687
- proto.Platform.LocalAccountProto.SearchRequest.prototype.serializeBinary = function() {
1666
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.serializeBinary = function() {
1688
1667
  var writer = new jspb.BinaryWriter();
1689
- proto.Platform.LocalAccountProto.SearchRequest.serializeBinaryToWriter(this, writer);
1668
+ proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter(this, writer);
1690
1669
  return writer.getResultBuffer();
1691
1670
  };
1692
1671
 
@@ -1694,298 +1673,206 @@ proto.Platform.LocalAccountProto.SearchRequest.prototype.serializeBinary = funct
1694
1673
  /**
1695
1674
  * Serializes the given message to binary data (in protobuf wire
1696
1675
  * format), writing to the given BinaryWriter.
1697
- * @param {!proto.Platform.LocalAccountProto.SearchRequest} message
1676
+ * @param {!proto.Platform.LocalAccountProto.UpdateRequest} message
1698
1677
  * @param {!jspb.BinaryWriter} writer
1699
1678
  * @suppress {unusedLocalVariables} f is only used for nested messages
1700
1679
  */
1701
- proto.Platform.LocalAccountProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
1680
+ proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
1702
1681
  var f = undefined;
1703
- f = message.getSearch();
1704
- if (f.length > 0) {
1705
- writer.writeString(
1682
+ f = message.getId();
1683
+ if (f !== 0) {
1684
+ writer.writeInt64(
1706
1685
  1,
1707
1686
  f
1708
1687
  );
1709
1688
  }
1710
- f = message.getPage();
1711
- if (f !== 0) {
1712
- writer.writeInt32(
1689
+ f = message.getLastName();
1690
+ if (f.length > 0) {
1691
+ writer.writeString(
1713
1692
  2,
1714
1693
  f
1715
1694
  );
1716
1695
  }
1717
- f = message.getCount();
1718
- if (f !== 0) {
1719
- writer.writeInt32(
1696
+ f = message.getFirstName();
1697
+ if (f.length > 0) {
1698
+ writer.writeString(
1720
1699
  3,
1721
1700
  f
1722
1701
  );
1723
1702
  }
1703
+ f = message.getLocale();
1704
+ if (f.length > 0) {
1705
+ writer.writeString(
1706
+ 4,
1707
+ f
1708
+ );
1709
+ }
1710
+ f = message.getCompany();
1711
+ if (f.length > 0) {
1712
+ writer.writeString(
1713
+ 5,
1714
+ f
1715
+ );
1716
+ }
1717
+ f = message.getGroupId();
1718
+ if (f.length > 0) {
1719
+ writer.writeString(
1720
+ 6,
1721
+ f
1722
+ );
1723
+ }
1724
+ f = message.getClientRolesList();
1725
+ if (f.length > 0) {
1726
+ writer.writePackedEnum(
1727
+ 7,
1728
+ f
1729
+ );
1730
+ }
1724
1731
  };
1725
1732
 
1726
1733
 
1727
1734
  /**
1728
- * optional string search = 1;
1729
- * @return {string}
1730
- */
1731
- proto.Platform.LocalAccountProto.SearchRequest.prototype.getSearch = function() {
1732
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1733
- };
1734
-
1735
-
1736
- /**
1737
- * @param {string} value
1738
- * @return {!proto.Platform.LocalAccountProto.SearchRequest} returns this
1739
- */
1740
- proto.Platform.LocalAccountProto.SearchRequest.prototype.setSearch = function(value) {
1741
- return jspb.Message.setProto3StringField(this, 1, value);
1742
- };
1743
-
1744
-
1745
- /**
1746
- * optional int32 page = 2;
1735
+ * optional int64 id = 1;
1747
1736
  * @return {number}
1748
1737
  */
1749
- proto.Platform.LocalAccountProto.SearchRequest.prototype.getPage = function() {
1750
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1738
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.getId = function() {
1739
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1751
1740
  };
1752
1741
 
1753
1742
 
1754
1743
  /**
1755
1744
  * @param {number} value
1756
- * @return {!proto.Platform.LocalAccountProto.SearchRequest} returns this
1745
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1757
1746
  */
1758
- proto.Platform.LocalAccountProto.SearchRequest.prototype.setPage = function(value) {
1759
- return jspb.Message.setProto3IntField(this, 2, value);
1747
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setId = function(value) {
1748
+ return jspb.Message.setProto3IntField(this, 1, value);
1760
1749
  };
1761
1750
 
1762
1751
 
1763
1752
  /**
1764
- * optional int32 count = 3;
1765
- * @return {number}
1753
+ * optional string last_name = 2;
1754
+ * @return {string}
1766
1755
  */
1767
- proto.Platform.LocalAccountProto.SearchRequest.prototype.getCount = function() {
1768
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1756
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.getLastName = function() {
1757
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1769
1758
  };
1770
1759
 
1771
1760
 
1772
1761
  /**
1773
- * @param {number} value
1774
- * @return {!proto.Platform.LocalAccountProto.SearchRequest} returns this
1762
+ * @param {string} value
1763
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1775
1764
  */
1776
- proto.Platform.LocalAccountProto.SearchRequest.prototype.setCount = function(value) {
1777
- return jspb.Message.setProto3IntField(this, 3, value);
1765
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setLastName = function(value) {
1766
+ return jspb.Message.setProto3StringField(this, 2, value);
1778
1767
  };
1779
1768
 
1780
1769
 
1781
-
1782
- /**
1783
- * List of repeated fields within this message type.
1784
- * @private {!Array<number>}
1785
- * @const
1786
- */
1787
- proto.Platform.LocalAccountProto.SearchReply.repeatedFields_ = [1];
1788
-
1789
-
1790
-
1791
- if (jspb.Message.GENERATE_TO_OBJECT) {
1792
1770
  /**
1793
- * Creates an object representation of this proto.
1794
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1795
- * Optional fields that are not set will be set to undefined.
1796
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1797
- * For the list of reserved names please see:
1798
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1799
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1800
- * JSPB instance for transitional soy proto support:
1801
- * http://goto/soy-param-migration
1802
- * @return {!Object}
1771
+ * optional string first_name = 3;
1772
+ * @return {string}
1803
1773
  */
1804
- proto.Platform.LocalAccountProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1805
- return proto.Platform.LocalAccountProto.SearchReply.toObject(opt_includeInstance, this);
1774
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.getFirstName = function() {
1775
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1806
1776
  };
1807
1777
 
1808
1778
 
1809
1779
  /**
1810
- * Static version of the {@see toObject} method.
1811
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1812
- * the JSPB instance for transitional soy proto support:
1813
- * http://goto/soy-param-migration
1814
- * @param {!proto.Platform.LocalAccountProto.SearchReply} msg The msg instance to transform.
1815
- * @return {!Object}
1816
- * @suppress {unusedLocalVariables} f is only used for nested messages
1780
+ * @param {string} value
1781
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1817
1782
  */
1818
- proto.Platform.LocalAccountProto.SearchReply.toObject = function(includeInstance, msg) {
1819
- var f, obj = {
1820
- accountsList: jspb.Message.toObjectList(msg.getAccountsList(),
1821
- proto.Platform.LocalAccountProto.toObject, includeInstance),
1822
- pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1823
- };
1824
-
1825
- if (includeInstance) {
1826
- obj.$jspbMessageInstance = msg;
1827
- }
1828
- return obj;
1783
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setFirstName = function(value) {
1784
+ return jspb.Message.setProto3StringField(this, 3, value);
1829
1785
  };
1830
- }
1831
1786
 
1832
1787
 
1833
1788
  /**
1834
- * Deserializes binary data (in protobuf wire format).
1835
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1836
- * @return {!proto.Platform.LocalAccountProto.SearchReply}
1789
+ * optional string locale = 4;
1790
+ * @return {string}
1837
1791
  */
1838
- proto.Platform.LocalAccountProto.SearchReply.deserializeBinary = function(bytes) {
1839
- var reader = new jspb.BinaryReader(bytes);
1840
- var msg = new proto.Platform.LocalAccountProto.SearchReply;
1841
- return proto.Platform.LocalAccountProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1792
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.getLocale = function() {
1793
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1842
1794
  };
1843
1795
 
1844
1796
 
1845
1797
  /**
1846
- * Deserializes binary data (in protobuf wire format) from the
1847
- * given reader into the given message object.
1848
- * @param {!proto.Platform.LocalAccountProto.SearchReply} msg The message object to deserialize into.
1849
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1850
- * @return {!proto.Platform.LocalAccountProto.SearchReply}
1798
+ * @param {string} value
1799
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1851
1800
  */
1852
- proto.Platform.LocalAccountProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1853
- while (reader.nextField()) {
1854
- if (reader.isEndGroup()) {
1855
- break;
1856
- }
1857
- var field = reader.getFieldNumber();
1858
- switch (field) {
1859
- case 1:
1860
- var value = new proto.Platform.LocalAccountProto;
1861
- reader.readMessage(value,proto.Platform.LocalAccountProto.deserializeBinaryFromReader);
1862
- msg.addAccounts(value);
1863
- break;
1864
- case 2:
1865
- var value = new platform_pagination_pb.PaginationProto;
1866
- reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1867
- msg.setPagination(value);
1868
- break;
1869
- default:
1870
- reader.skipField();
1871
- break;
1872
- }
1873
- }
1874
- return msg;
1801
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setLocale = function(value) {
1802
+ return jspb.Message.setProto3StringField(this, 4, value);
1875
1803
  };
1876
1804
 
1877
1805
 
1878
1806
  /**
1879
- * Serializes the message to binary data (in protobuf wire format).
1880
- * @return {!Uint8Array}
1807
+ * optional string company = 5;
1808
+ * @return {string}
1881
1809
  */
1882
- proto.Platform.LocalAccountProto.SearchReply.prototype.serializeBinary = function() {
1883
- var writer = new jspb.BinaryWriter();
1884
- proto.Platform.LocalAccountProto.SearchReply.serializeBinaryToWriter(this, writer);
1885
- return writer.getResultBuffer();
1810
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.getCompany = function() {
1811
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1886
1812
  };
1887
1813
 
1888
1814
 
1889
1815
  /**
1890
- * Serializes the given message to binary data (in protobuf wire
1891
- * format), writing to the given BinaryWriter.
1892
- * @param {!proto.Platform.LocalAccountProto.SearchReply} message
1893
- * @param {!jspb.BinaryWriter} writer
1894
- * @suppress {unusedLocalVariables} f is only used for nested messages
1816
+ * @param {string} value
1817
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1895
1818
  */
1896
- proto.Platform.LocalAccountProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1897
- var f = undefined;
1898
- f = message.getAccountsList();
1899
- if (f.length > 0) {
1900
- writer.writeRepeatedMessage(
1901
- 1,
1902
- f,
1903
- proto.Platform.LocalAccountProto.serializeBinaryToWriter
1904
- );
1905
- }
1906
- f = message.getPagination();
1907
- if (f != null) {
1908
- writer.writeMessage(
1909
- 2,
1910
- f,
1911
- platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1912
- );
1913
- }
1819
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setCompany = function(value) {
1820
+ return jspb.Message.setProto3StringField(this, 5, value);
1914
1821
  };
1915
1822
 
1916
1823
 
1917
1824
  /**
1918
- * repeated LocalAccountProto accounts = 1;
1919
- * @return {!Array<!proto.Platform.LocalAccountProto>}
1825
+ * optional string group_id = 6;
1826
+ * @return {string}
1920
1827
  */
1921
- proto.Platform.LocalAccountProto.SearchReply.prototype.getAccountsList = function() {
1922
- return /** @type{!Array<!proto.Platform.LocalAccountProto>} */ (
1923
- jspb.Message.getRepeatedWrapperField(this, proto.Platform.LocalAccountProto, 1));
1924
- };
1925
-
1926
-
1927
- /**
1928
- * @param {!Array<!proto.Platform.LocalAccountProto>} value
1929
- * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
1930
- */
1931
- proto.Platform.LocalAccountProto.SearchReply.prototype.setAccountsList = function(value) {
1932
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1828
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.getGroupId = function() {
1829
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1933
1830
  };
1934
1831
 
1935
1832
 
1936
1833
  /**
1937
- * @param {!proto.Platform.LocalAccountProto=} opt_value
1938
- * @param {number=} opt_index
1939
- * @return {!proto.Platform.LocalAccountProto}
1834
+ * @param {string} value
1835
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1940
1836
  */
1941
- proto.Platform.LocalAccountProto.SearchReply.prototype.addAccounts = function(opt_value, opt_index) {
1942
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Platform.LocalAccountProto, opt_index);
1837
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setGroupId = function(value) {
1838
+ return jspb.Message.setProto3StringField(this, 6, value);
1943
1839
  };
1944
1840
 
1945
1841
 
1946
1842
  /**
1947
- * Clears the list making it empty but non-null.
1948
- * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
1843
+ * repeated Auth.AccountProto.Roles client_roles = 7;
1844
+ * @return {!Array<!proto.Auth.AccountProto.Roles>}
1949
1845
  */
1950
- proto.Platform.LocalAccountProto.SearchReply.prototype.clearAccountsList = function() {
1951
- return this.setAccountsList([]);
1846
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.getClientRolesList = function() {
1847
+ return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 7));
1952
1848
  };
1953
1849
 
1954
1850
 
1955
1851
  /**
1956
- * optional PaginationProto pagination = 2;
1957
- * @return {?proto.Platform.PaginationProto}
1852
+ * @param {!Array<!proto.Auth.AccountProto.Roles>} value
1853
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1958
1854
  */
1959
- proto.Platform.LocalAccountProto.SearchReply.prototype.getPagination = function() {
1960
- return /** @type{?proto.Platform.PaginationProto} */ (
1961
- jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1962
- };
1963
-
1964
-
1965
- /**
1966
- * @param {?proto.Platform.PaginationProto|undefined} value
1967
- * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
1968
- */
1969
- proto.Platform.LocalAccountProto.SearchReply.prototype.setPagination = function(value) {
1970
- return jspb.Message.setWrapperField(this, 2, value);
1855
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setClientRolesList = function(value) {
1856
+ return jspb.Message.setField(this, 7, value || []);
1971
1857
  };
1972
1858
 
1973
1859
 
1974
1860
  /**
1975
- * Clears the message field making it undefined.
1976
- * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
1861
+ * @param {!proto.Auth.AccountProto.Roles} value
1862
+ * @param {number=} opt_index
1863
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1977
1864
  */
1978
- proto.Platform.LocalAccountProto.SearchReply.prototype.clearPagination = function() {
1979
- return this.setPagination(undefined);
1865
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.addClientRoles = function(value, opt_index) {
1866
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
1980
1867
  };
1981
1868
 
1982
1869
 
1983
1870
  /**
1984
- * Returns whether this field is set.
1985
- * @return {boolean}
1871
+ * Clears the list making it empty but non-null.
1872
+ * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1986
1873
  */
1987
- proto.Platform.LocalAccountProto.SearchReply.prototype.hasPagination = function() {
1988
- return jspb.Message.getField(this, 2) != null;
1874
+ proto.Platform.LocalAccountProto.UpdateRequest.prototype.clearClientRolesList = function() {
1875
+ return this.setClientRolesList([]);
1989
1876
  };
1990
1877
 
1991
1878
 
@@ -2005,8 +1892,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2005
1892
  * http://goto/soy-param-migration
2006
1893
  * @return {!Object}
2007
1894
  */
2008
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.toObject = function(opt_includeInstance) {
2009
- return proto.Platform.LocalAccountProto.SetClientRequest.toObject(opt_includeInstance, this);
1895
+ proto.Platform.LocalAccountProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
1896
+ return proto.Platform.LocalAccountProto.SearchRequest.toObject(opt_includeInstance, this);
2010
1897
  };
2011
1898
 
2012
1899
 
@@ -2015,14 +1902,15 @@ proto.Platform.LocalAccountProto.SetClientRequest.prototype.toObject = function(
2015
1902
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2016
1903
  * the JSPB instance for transitional soy proto support:
2017
1904
  * http://goto/soy-param-migration
2018
- * @param {!proto.Platform.LocalAccountProto.SetClientRequest} msg The msg instance to transform.
1905
+ * @param {!proto.Platform.LocalAccountProto.SearchRequest} msg The msg instance to transform.
2019
1906
  * @return {!Object}
2020
1907
  * @suppress {unusedLocalVariables} f is only used for nested messages
2021
1908
  */
2022
- proto.Platform.LocalAccountProto.SetClientRequest.toObject = function(includeInstance, msg) {
1909
+ proto.Platform.LocalAccountProto.SearchRequest.toObject = function(includeInstance, msg) {
2023
1910
  var f, obj = {
2024
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2025
- clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
1911
+ search: jspb.Message.getFieldWithDefault(msg, 1, ""),
1912
+ page: jspb.Message.getFieldWithDefault(msg, 2, 0),
1913
+ count: jspb.Message.getFieldWithDefault(msg, 3, 0)
2026
1914
  };
2027
1915
 
2028
1916
  if (includeInstance) {
@@ -2036,23 +1924,23 @@ proto.Platform.LocalAccountProto.SetClientRequest.toObject = function(includeIns
2036
1924
  /**
2037
1925
  * Deserializes binary data (in protobuf wire format).
2038
1926
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2039
- * @return {!proto.Platform.LocalAccountProto.SetClientRequest}
1927
+ * @return {!proto.Platform.LocalAccountProto.SearchRequest}
2040
1928
  */
2041
- proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinary = function(bytes) {
1929
+ proto.Platform.LocalAccountProto.SearchRequest.deserializeBinary = function(bytes) {
2042
1930
  var reader = new jspb.BinaryReader(bytes);
2043
- var msg = new proto.Platform.LocalAccountProto.SetClientRequest;
2044
- return proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinaryFromReader(msg, reader);
1931
+ var msg = new proto.Platform.LocalAccountProto.SearchRequest;
1932
+ return proto.Platform.LocalAccountProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
2045
1933
  };
2046
1934
 
2047
1935
 
2048
1936
  /**
2049
1937
  * Deserializes binary data (in protobuf wire format) from the
2050
1938
  * given reader into the given message object.
2051
- * @param {!proto.Platform.LocalAccountProto.SetClientRequest} msg The message object to deserialize into.
1939
+ * @param {!proto.Platform.LocalAccountProto.SearchRequest} msg The message object to deserialize into.
2052
1940
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2053
- * @return {!proto.Platform.LocalAccountProto.SetClientRequest}
1941
+ * @return {!proto.Platform.LocalAccountProto.SearchRequest}
2054
1942
  */
2055
- proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinaryFromReader = function(msg, reader) {
1943
+ proto.Platform.LocalAccountProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
2056
1944
  while (reader.nextField()) {
2057
1945
  if (reader.isEndGroup()) {
2058
1946
  break;
@@ -2060,12 +1948,16 @@ proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinaryFromReader =
2060
1948
  var field = reader.getFieldNumber();
2061
1949
  switch (field) {
2062
1950
  case 1:
2063
- var value = /** @type {number} */ (reader.readInt64());
2064
- msg.setId(value);
1951
+ var value = /** @type {string} */ (reader.readString());
1952
+ msg.setSearch(value);
2065
1953
  break;
2066
1954
  case 2:
2067
1955
  var value = /** @type {number} */ (reader.readInt32());
2068
- msg.setClientId(value);
1956
+ msg.setPage(value);
1957
+ break;
1958
+ case 3:
1959
+ var value = /** @type {number} */ (reader.readInt32());
1960
+ msg.setCount(value);
2069
1961
  break;
2070
1962
  default:
2071
1963
  reader.skipField();
@@ -2080,9 +1972,9 @@ proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinaryFromReader =
2080
1972
  * Serializes the message to binary data (in protobuf wire format).
2081
1973
  * @return {!Uint8Array}
2082
1974
  */
2083
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.serializeBinary = function() {
1975
+ proto.Platform.LocalAccountProto.SearchRequest.prototype.serializeBinary = function() {
2084
1976
  var writer = new jspb.BinaryWriter();
2085
- proto.Platform.LocalAccountProto.SetClientRequest.serializeBinaryToWriter(this, writer);
1977
+ proto.Platform.LocalAccountProto.SearchRequest.serializeBinaryToWriter(this, writer);
2086
1978
  return writer.getResultBuffer();
2087
1979
  };
2088
1980
 
@@ -2090,65 +1982,97 @@ proto.Platform.LocalAccountProto.SetClientRequest.prototype.serializeBinary = fu
2090
1982
  /**
2091
1983
  * Serializes the given message to binary data (in protobuf wire
2092
1984
  * format), writing to the given BinaryWriter.
2093
- * @param {!proto.Platform.LocalAccountProto.SetClientRequest} message
1985
+ * @param {!proto.Platform.LocalAccountProto.SearchRequest} message
2094
1986
  * @param {!jspb.BinaryWriter} writer
2095
1987
  * @suppress {unusedLocalVariables} f is only used for nested messages
2096
1988
  */
2097
- proto.Platform.LocalAccountProto.SetClientRequest.serializeBinaryToWriter = function(message, writer) {
1989
+ proto.Platform.LocalAccountProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
2098
1990
  var f = undefined;
2099
- f = message.getId();
2100
- if (f !== 0) {
2101
- writer.writeInt64(
1991
+ f = message.getSearch();
1992
+ if (f.length > 0) {
1993
+ writer.writeString(
2102
1994
  1,
2103
1995
  f
2104
1996
  );
2105
1997
  }
2106
- f = message.getClientId();
1998
+ f = message.getPage();
2107
1999
  if (f !== 0) {
2108
2000
  writer.writeInt32(
2109
2001
  2,
2110
2002
  f
2111
2003
  );
2112
2004
  }
2005
+ f = message.getCount();
2006
+ if (f !== 0) {
2007
+ writer.writeInt32(
2008
+ 3,
2009
+ f
2010
+ );
2011
+ }
2113
2012
  };
2114
2013
 
2115
2014
 
2116
2015
  /**
2117
- * optional int64 id = 1;
2118
- * @return {number}
2016
+ * optional string search = 1;
2017
+ * @return {string}
2119
2018
  */
2120
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.getId = function() {
2121
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2019
+ proto.Platform.LocalAccountProto.SearchRequest.prototype.getSearch = function() {
2020
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2122
2021
  };
2123
2022
 
2124
2023
 
2125
2024
  /**
2126
- * @param {number} value
2127
- * @return {!proto.Platform.LocalAccountProto.SetClientRequest} returns this
2025
+ * @param {string} value
2026
+ * @return {!proto.Platform.LocalAccountProto.SearchRequest} returns this
2128
2027
  */
2129
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.setId = function(value) {
2130
- return jspb.Message.setProto3IntField(this, 1, value);
2028
+ proto.Platform.LocalAccountProto.SearchRequest.prototype.setSearch = function(value) {
2029
+ return jspb.Message.setProto3StringField(this, 1, value);
2131
2030
  };
2132
2031
 
2133
2032
 
2134
2033
  /**
2135
- * optional int32 client_id = 2;
2034
+ * optional int32 page = 2;
2136
2035
  * @return {number}
2137
2036
  */
2138
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.getClientId = function() {
2037
+ proto.Platform.LocalAccountProto.SearchRequest.prototype.getPage = function() {
2139
2038
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2140
2039
  };
2141
2040
 
2142
2041
 
2143
2042
  /**
2144
2043
  * @param {number} value
2145
- * @return {!proto.Platform.LocalAccountProto.SetClientRequest} returns this
2044
+ * @return {!proto.Platform.LocalAccountProto.SearchRequest} returns this
2146
2045
  */
2147
- proto.Platform.LocalAccountProto.SetClientRequest.prototype.setClientId = function(value) {
2046
+ proto.Platform.LocalAccountProto.SearchRequest.prototype.setPage = function(value) {
2148
2047
  return jspb.Message.setProto3IntField(this, 2, value);
2149
2048
  };
2150
2049
 
2151
2050
 
2051
+ /**
2052
+ * optional int32 count = 3;
2053
+ * @return {number}
2054
+ */
2055
+ proto.Platform.LocalAccountProto.SearchRequest.prototype.getCount = function() {
2056
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2057
+ };
2058
+
2059
+
2060
+ /**
2061
+ * @param {number} value
2062
+ * @return {!proto.Platform.LocalAccountProto.SearchRequest} returns this
2063
+ */
2064
+ proto.Platform.LocalAccountProto.SearchRequest.prototype.setCount = function(value) {
2065
+ return jspb.Message.setProto3IntField(this, 3, value);
2066
+ };
2067
+
2068
+
2069
+
2070
+ /**
2071
+ * List of repeated fields within this message type.
2072
+ * @private {!Array<number>}
2073
+ * @const
2074
+ */
2075
+ proto.Platform.LocalAccountProto.SearchReply.repeatedFields_ = [1];
2152
2076
 
2153
2077
 
2154
2078
 
@@ -2165,8 +2089,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2165
2089
  * http://goto/soy-param-migration
2166
2090
  * @return {!Object}
2167
2091
  */
2168
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.toObject = function(opt_includeInstance) {
2169
- return proto.Platform.LocalAccountProto.AddClientRequest.toObject(opt_includeInstance, this);
2092
+ proto.Platform.LocalAccountProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
2093
+ return proto.Platform.LocalAccountProto.SearchReply.toObject(opt_includeInstance, this);
2170
2094
  };
2171
2095
 
2172
2096
 
@@ -2175,14 +2099,15 @@ proto.Platform.LocalAccountProto.AddClientRequest.prototype.toObject = function(
2175
2099
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2176
2100
  * the JSPB instance for transitional soy proto support:
2177
2101
  * http://goto/soy-param-migration
2178
- * @param {!proto.Platform.LocalAccountProto.AddClientRequest} msg The msg instance to transform.
2102
+ * @param {!proto.Platform.LocalAccountProto.SearchReply} msg The msg instance to transform.
2179
2103
  * @return {!Object}
2180
2104
  * @suppress {unusedLocalVariables} f is only used for nested messages
2181
2105
  */
2182
- proto.Platform.LocalAccountProto.AddClientRequest.toObject = function(includeInstance, msg) {
2106
+ proto.Platform.LocalAccountProto.SearchReply.toObject = function(includeInstance, msg) {
2183
2107
  var f, obj = {
2184
- account: (f = msg.getAccount()) && auth_account_pb.AccountProto.toObject(includeInstance, f),
2185
- clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
2108
+ accountsList: jspb.Message.toObjectList(msg.getAccountsList(),
2109
+ proto.Platform.LocalAccountProto.toObject, includeInstance),
2110
+ pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
2186
2111
  };
2187
2112
 
2188
2113
  if (includeInstance) {
@@ -2196,23 +2121,23 @@ proto.Platform.LocalAccountProto.AddClientRequest.toObject = function(includeIns
2196
2121
  /**
2197
2122
  * Deserializes binary data (in protobuf wire format).
2198
2123
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2199
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest}
2124
+ * @return {!proto.Platform.LocalAccountProto.SearchReply}
2200
2125
  */
2201
- proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinary = function(bytes) {
2126
+ proto.Platform.LocalAccountProto.SearchReply.deserializeBinary = function(bytes) {
2202
2127
  var reader = new jspb.BinaryReader(bytes);
2203
- var msg = new proto.Platform.LocalAccountProto.AddClientRequest;
2204
- return proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinaryFromReader(msg, reader);
2128
+ var msg = new proto.Platform.LocalAccountProto.SearchReply;
2129
+ return proto.Platform.LocalAccountProto.SearchReply.deserializeBinaryFromReader(msg, reader);
2205
2130
  };
2206
2131
 
2207
2132
 
2208
2133
  /**
2209
2134
  * Deserializes binary data (in protobuf wire format) from the
2210
2135
  * given reader into the given message object.
2211
- * @param {!proto.Platform.LocalAccountProto.AddClientRequest} msg The message object to deserialize into.
2136
+ * @param {!proto.Platform.LocalAccountProto.SearchReply} msg The message object to deserialize into.
2212
2137
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2213
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest}
2138
+ * @return {!proto.Platform.LocalAccountProto.SearchReply}
2214
2139
  */
2215
- proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinaryFromReader = function(msg, reader) {
2140
+ proto.Platform.LocalAccountProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
2216
2141
  while (reader.nextField()) {
2217
2142
  if (reader.isEndGroup()) {
2218
2143
  break;
@@ -2220,13 +2145,14 @@ proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinaryFromReader =
2220
2145
  var field = reader.getFieldNumber();
2221
2146
  switch (field) {
2222
2147
  case 1:
2223
- var value = new auth_account_pb.AccountProto;
2224
- reader.readMessage(value,auth_account_pb.AccountProto.deserializeBinaryFromReader);
2225
- msg.setAccount(value);
2148
+ var value = new proto.Platform.LocalAccountProto;
2149
+ reader.readMessage(value,proto.Platform.LocalAccountProto.deserializeBinaryFromReader);
2150
+ msg.addAccounts(value);
2226
2151
  break;
2227
2152
  case 2:
2228
- var value = /** @type {number} */ (reader.readInt32());
2229
- msg.setClientId(value);
2153
+ var value = new platform_pagination_pb.PaginationProto;
2154
+ reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
2155
+ msg.setPagination(value);
2230
2156
  break;
2231
2157
  default:
2232
2158
  reader.skipField();
@@ -2241,9 +2167,9 @@ proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinaryFromReader =
2241
2167
  * Serializes the message to binary data (in protobuf wire format).
2242
2168
  * @return {!Uint8Array}
2243
2169
  */
2244
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.serializeBinary = function() {
2170
+ proto.Platform.LocalAccountProto.SearchReply.prototype.serializeBinary = function() {
2245
2171
  var writer = new jspb.BinaryWriter();
2246
- proto.Platform.LocalAccountProto.AddClientRequest.serializeBinaryToWriter(this, writer);
2172
+ proto.Platform.LocalAccountProto.SearchReply.serializeBinaryToWriter(this, writer);
2247
2173
  return writer.getResultBuffer();
2248
2174
  };
2249
2175
 
@@ -2251,82 +2177,103 @@ proto.Platform.LocalAccountProto.AddClientRequest.prototype.serializeBinary = fu
2251
2177
  /**
2252
2178
  * Serializes the given message to binary data (in protobuf wire
2253
2179
  * format), writing to the given BinaryWriter.
2254
- * @param {!proto.Platform.LocalAccountProto.AddClientRequest} message
2180
+ * @param {!proto.Platform.LocalAccountProto.SearchReply} message
2255
2181
  * @param {!jspb.BinaryWriter} writer
2256
2182
  * @suppress {unusedLocalVariables} f is only used for nested messages
2257
2183
  */
2258
- proto.Platform.LocalAccountProto.AddClientRequest.serializeBinaryToWriter = function(message, writer) {
2184
+ proto.Platform.LocalAccountProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
2259
2185
  var f = undefined;
2260
- f = message.getAccount();
2261
- if (f != null) {
2262
- writer.writeMessage(
2186
+ f = message.getAccountsList();
2187
+ if (f.length > 0) {
2188
+ writer.writeRepeatedMessage(
2263
2189
  1,
2264
2190
  f,
2265
- auth_account_pb.AccountProto.serializeBinaryToWriter
2191
+ proto.Platform.LocalAccountProto.serializeBinaryToWriter
2266
2192
  );
2267
2193
  }
2268
- f = message.getClientId();
2269
- if (f !== 0) {
2270
- writer.writeInt32(
2194
+ f = message.getPagination();
2195
+ if (f != null) {
2196
+ writer.writeMessage(
2271
2197
  2,
2272
- f
2198
+ f,
2199
+ platform_pagination_pb.PaginationProto.serializeBinaryToWriter
2273
2200
  );
2274
2201
  }
2275
2202
  };
2276
2203
 
2277
2204
 
2278
2205
  /**
2279
- * optional Auth.AccountProto account = 1;
2280
- * @return {?proto.Auth.AccountProto}
2206
+ * repeated LocalAccountProto accounts = 1;
2207
+ * @return {!Array<!proto.Platform.LocalAccountProto>}
2281
2208
  */
2282
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.getAccount = function() {
2283
- return /** @type{?proto.Auth.AccountProto} */ (
2284
- jspb.Message.getWrapperField(this, auth_account_pb.AccountProto, 1));
2209
+ proto.Platform.LocalAccountProto.SearchReply.prototype.getAccountsList = function() {
2210
+ return /** @type{!Array<!proto.Platform.LocalAccountProto>} */ (
2211
+ jspb.Message.getRepeatedWrapperField(this, proto.Platform.LocalAccountProto, 1));
2285
2212
  };
2286
2213
 
2287
2214
 
2288
2215
  /**
2289
- * @param {?proto.Auth.AccountProto|undefined} value
2290
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
2216
+ * @param {!Array<!proto.Platform.LocalAccountProto>} value
2217
+ * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
2291
2218
  */
2292
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.setAccount = function(value) {
2293
- return jspb.Message.setWrapperField(this, 1, value);
2219
+ proto.Platform.LocalAccountProto.SearchReply.prototype.setAccountsList = function(value) {
2220
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2294
2221
  };
2295
2222
 
2296
2223
 
2297
2224
  /**
2298
- * Clears the message field making it undefined.
2299
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
2225
+ * @param {!proto.Platform.LocalAccountProto=} opt_value
2226
+ * @param {number=} opt_index
2227
+ * @return {!proto.Platform.LocalAccountProto}
2300
2228
  */
2301
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.clearAccount = function() {
2302
- return this.setAccount(undefined);
2229
+ proto.Platform.LocalAccountProto.SearchReply.prototype.addAccounts = function(opt_value, opt_index) {
2230
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Platform.LocalAccountProto, opt_index);
2303
2231
  };
2304
2232
 
2305
2233
 
2306
2234
  /**
2307
- * Returns whether this field is set.
2308
- * @return {boolean}
2235
+ * Clears the list making it empty but non-null.
2236
+ * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
2309
2237
  */
2310
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.hasAccount = function() {
2311
- return jspb.Message.getField(this, 1) != null;
2238
+ proto.Platform.LocalAccountProto.SearchReply.prototype.clearAccountsList = function() {
2239
+ return this.setAccountsList([]);
2312
2240
  };
2313
2241
 
2314
2242
 
2315
2243
  /**
2316
- * optional int32 client_id = 2;
2317
- * @return {number}
2244
+ * optional PaginationProto pagination = 2;
2245
+ * @return {?proto.Platform.PaginationProto}
2318
2246
  */
2319
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.getClientId = function() {
2320
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2247
+ proto.Platform.LocalAccountProto.SearchReply.prototype.getPagination = function() {
2248
+ return /** @type{?proto.Platform.PaginationProto} */ (
2249
+ jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
2321
2250
  };
2322
2251
 
2323
2252
 
2324
2253
  /**
2325
- * @param {number} value
2326
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
2254
+ * @param {?proto.Platform.PaginationProto|undefined} value
2255
+ * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
2256
+ */
2257
+ proto.Platform.LocalAccountProto.SearchReply.prototype.setPagination = function(value) {
2258
+ return jspb.Message.setWrapperField(this, 2, value);
2259
+ };
2260
+
2261
+
2262
+ /**
2263
+ * Clears the message field making it undefined.
2264
+ * @return {!proto.Platform.LocalAccountProto.SearchReply} returns this
2327
2265
  */
2328
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.setClientId = function(value) {
2329
- return jspb.Message.setProto3IntField(this, 2, value);
2266
+ proto.Platform.LocalAccountProto.SearchReply.prototype.clearPagination = function() {
2267
+ return this.setPagination(undefined);
2268
+ };
2269
+
2270
+
2271
+ /**
2272
+ * Returns whether this field is set.
2273
+ * @return {boolean}
2274
+ */
2275
+ proto.Platform.LocalAccountProto.SearchReply.prototype.hasPagination = function() {
2276
+ return jspb.Message.getField(this, 2) != null;
2330
2277
  };
2331
2278
 
2332
2279
 
@@ -2346,8 +2293,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2346
2293
  * http://goto/soy-param-migration
2347
2294
  * @return {!Object}
2348
2295
  */
2349
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.toObject = function(opt_includeInstance) {
2350
- return proto.Platform.LocalAccountProto.RemoveClientRequest.toObject(opt_includeInstance, this);
2296
+ proto.Platform.LocalAccountProto.SetClientRequest.prototype.toObject = function(opt_includeInstance) {
2297
+ return proto.Platform.LocalAccountProto.SetClientRequest.toObject(opt_includeInstance, this);
2351
2298
  };
2352
2299
 
2353
2300
 
@@ -2356,11 +2303,11 @@ proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.toObject = functi
2356
2303
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2357
2304
  * the JSPB instance for transitional soy proto support:
2358
2305
  * http://goto/soy-param-migration
2359
- * @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} msg The msg instance to transform.
2306
+ * @param {!proto.Platform.LocalAccountProto.SetClientRequest} msg The msg instance to transform.
2360
2307
  * @return {!Object}
2361
2308
  * @suppress {unusedLocalVariables} f is only used for nested messages
2362
2309
  */
2363
- proto.Platform.LocalAccountProto.RemoveClientRequest.toObject = function(includeInstance, msg) {
2310
+ proto.Platform.LocalAccountProto.SetClientRequest.toObject = function(includeInstance, msg) {
2364
2311
  var f, obj = {
2365
2312
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2366
2313
  clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
@@ -2377,23 +2324,23 @@ proto.Platform.LocalAccountProto.RemoveClientRequest.toObject = function(include
2377
2324
  /**
2378
2325
  * Deserializes binary data (in protobuf wire format).
2379
2326
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2380
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest}
2327
+ * @return {!proto.Platform.LocalAccountProto.SetClientRequest}
2381
2328
  */
2382
- proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinary = function(bytes) {
2329
+ proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinary = function(bytes) {
2383
2330
  var reader = new jspb.BinaryReader(bytes);
2384
- var msg = new proto.Platform.LocalAccountProto.RemoveClientRequest;
2385
- return proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinaryFromReader(msg, reader);
2331
+ var msg = new proto.Platform.LocalAccountProto.SetClientRequest;
2332
+ return proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinaryFromReader(msg, reader);
2386
2333
  };
2387
2334
 
2388
2335
 
2389
2336
  /**
2390
2337
  * Deserializes binary data (in protobuf wire format) from the
2391
2338
  * given reader into the given message object.
2392
- * @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} msg The message object to deserialize into.
2339
+ * @param {!proto.Platform.LocalAccountProto.SetClientRequest} msg The message object to deserialize into.
2393
2340
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2394
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest}
2341
+ * @return {!proto.Platform.LocalAccountProto.SetClientRequest}
2395
2342
  */
2396
- proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinaryFromReader = function(msg, reader) {
2343
+ proto.Platform.LocalAccountProto.SetClientRequest.deserializeBinaryFromReader = function(msg, reader) {
2397
2344
  while (reader.nextField()) {
2398
2345
  if (reader.isEndGroup()) {
2399
2346
  break;
@@ -2421,9 +2368,9 @@ proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinaryFromReader
2421
2368
  * Serializes the message to binary data (in protobuf wire format).
2422
2369
  * @return {!Uint8Array}
2423
2370
  */
2424
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.serializeBinary = function() {
2371
+ proto.Platform.LocalAccountProto.SetClientRequest.prototype.serializeBinary = function() {
2425
2372
  var writer = new jspb.BinaryWriter();
2426
- proto.Platform.LocalAccountProto.RemoveClientRequest.serializeBinaryToWriter(this, writer);
2373
+ proto.Platform.LocalAccountProto.SetClientRequest.serializeBinaryToWriter(this, writer);
2427
2374
  return writer.getResultBuffer();
2428
2375
  };
2429
2376
 
@@ -2431,11 +2378,11 @@ proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.serializeBinary =
2431
2378
  /**
2432
2379
  * Serializes the given message to binary data (in protobuf wire
2433
2380
  * format), writing to the given BinaryWriter.
2434
- * @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} message
2381
+ * @param {!proto.Platform.LocalAccountProto.SetClientRequest} message
2435
2382
  * @param {!jspb.BinaryWriter} writer
2436
2383
  * @suppress {unusedLocalVariables} f is only used for nested messages
2437
2384
  */
2438
- proto.Platform.LocalAccountProto.RemoveClientRequest.serializeBinaryToWriter = function(message, writer) {
2385
+ proto.Platform.LocalAccountProto.SetClientRequest.serializeBinaryToWriter = function(message, writer) {
2439
2386
  var f = undefined;
2440
2387
  f = message.getId();
2441
2388
  if (f !== 0) {
@@ -2458,16 +2405,16 @@ proto.Platform.LocalAccountProto.RemoveClientRequest.serializeBinaryToWriter = f
2458
2405
  * optional int64 id = 1;
2459
2406
  * @return {number}
2460
2407
  */
2461
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.getId = function() {
2408
+ proto.Platform.LocalAccountProto.SetClientRequest.prototype.getId = function() {
2462
2409
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2463
2410
  };
2464
2411
 
2465
2412
 
2466
2413
  /**
2467
2414
  * @param {number} value
2468
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest} returns this
2415
+ * @return {!proto.Platform.LocalAccountProto.SetClientRequest} returns this
2469
2416
  */
2470
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.setId = function(value) {
2417
+ proto.Platform.LocalAccountProto.SetClientRequest.prototype.setId = function(value) {
2471
2418
  return jspb.Message.setProto3IntField(this, 1, value);
2472
2419
  };
2473
2420
 
@@ -2476,16 +2423,16 @@ proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.setId = function(
2476
2423
  * optional int32 client_id = 2;
2477
2424
  * @return {number}
2478
2425
  */
2479
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.getClientId = function() {
2426
+ proto.Platform.LocalAccountProto.SetClientRequest.prototype.getClientId = function() {
2480
2427
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2481
2428
  };
2482
2429
 
2483
2430
 
2484
2431
  /**
2485
2432
  * @param {number} value
2486
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest} returns this
2433
+ * @return {!proto.Platform.LocalAccountProto.SetClientRequest} returns this
2487
2434
  */
2488
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.setClientId = function(value) {
2435
+ proto.Platform.LocalAccountProto.SetClientRequest.prototype.setClientId = function(value) {
2489
2436
  return jspb.Message.setProto3IntField(this, 2, value);
2490
2437
  };
2491
2438
 
@@ -3261,10 +3208,10 @@ proto.Platform.LocalAccountProto.prototype.hasExpiredAt = function() {
3261
3208
 
3262
3209
 
3263
3210
  /**
3264
- * repeated Auth.AccountProto.Roles assigned_roles = 11;
3211
+ * repeated Auth.AccountProto.Roles client_roles = 11;
3265
3212
  * @return {!Array<!proto.Auth.AccountProto.Roles>}
3266
3213
  */
3267
- proto.Platform.LocalAccountProto.prototype.getAssignedRolesList = function() {
3214
+ proto.Platform.LocalAccountProto.prototype.getClientRolesList = function() {
3268
3215
  return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 11));
3269
3216
  };
3270
3217
 
@@ -3273,7 +3220,7 @@ proto.Platform.LocalAccountProto.prototype.getAssignedRolesList = function() {
3273
3220
  * @param {!Array<!proto.Auth.AccountProto.Roles>} value
3274
3221
  * @return {!proto.Platform.LocalAccountProto} returns this
3275
3222
  */
3276
- proto.Platform.LocalAccountProto.prototype.setAssignedRolesList = function(value) {
3223
+ proto.Platform.LocalAccountProto.prototype.setClientRolesList = function(value) {
3277
3224
  return jspb.Message.setField(this, 11, value || []);
3278
3225
  };
3279
3226
 
@@ -3283,7 +3230,7 @@ proto.Platform.LocalAccountProto.prototype.setAssignedRolesList = function(value
3283
3230
  * @param {number=} opt_index
3284
3231
  * @return {!proto.Platform.LocalAccountProto} returns this
3285
3232
  */
3286
- proto.Platform.LocalAccountProto.prototype.addAssignedRoles = function(value, opt_index) {
3233
+ proto.Platform.LocalAccountProto.prototype.addClientRoles = function(value, opt_index) {
3287
3234
  return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
3288
3235
  };
3289
3236
 
@@ -3292,8 +3239,8 @@ proto.Platform.LocalAccountProto.prototype.addAssignedRoles = function(value, op
3292
3239
  * Clears the list making it empty but non-null.
3293
3240
  * @return {!proto.Platform.LocalAccountProto} returns this
3294
3241
  */
3295
- proto.Platform.LocalAccountProto.prototype.clearAssignedRolesList = function() {
3296
- return this.setAssignedRolesList([]);
3242
+ proto.Platform.LocalAccountProto.prototype.clearClientRolesList = function() {
3243
+ return this.setClientRolesList([]);
3297
3244
  };
3298
3245
 
3299
3246
 
@@ -3315,4 +3262,76 @@ proto.Platform.LocalAccountProto.prototype.setStatus = function(value) {
3315
3262
  };
3316
3263
 
3317
3264
 
3265
+ /**
3266
+ * optional bool deleted = 13;
3267
+ * @return {boolean}
3268
+ */
3269
+ proto.Platform.LocalAccountProto.prototype.getDeleted = function() {
3270
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
3271
+ };
3272
+
3273
+
3274
+ /**
3275
+ * @param {boolean} value
3276
+ * @return {!proto.Platform.LocalAccountProto} returns this
3277
+ */
3278
+ proto.Platform.LocalAccountProto.prototype.setDeleted = function(value) {
3279
+ return jspb.Message.setProto3BooleanField(this, 13, value);
3280
+ };
3281
+
3282
+
3283
+ /**
3284
+ * optional int64 client_id = 14;
3285
+ * @return {number}
3286
+ */
3287
+ proto.Platform.LocalAccountProto.prototype.getClientId = function() {
3288
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
3289
+ };
3290
+
3291
+
3292
+ /**
3293
+ * @param {number} value
3294
+ * @return {!proto.Platform.LocalAccountProto} returns this
3295
+ */
3296
+ proto.Platform.LocalAccountProto.prototype.setClientId = function(value) {
3297
+ return jspb.Message.setProto3IntField(this, 14, value);
3298
+ };
3299
+
3300
+
3301
+ /**
3302
+ * optional AccountTypes type = 15;
3303
+ * @return {!proto.Platform.LocalAccountProto.AccountTypes}
3304
+ */
3305
+ proto.Platform.LocalAccountProto.prototype.getType = function() {
3306
+ return /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
3307
+ };
3308
+
3309
+
3310
+ /**
3311
+ * @param {!proto.Platform.LocalAccountProto.AccountTypes} value
3312
+ * @return {!proto.Platform.LocalAccountProto} returns this
3313
+ */
3314
+ proto.Platform.LocalAccountProto.prototype.setType = function(value) {
3315
+ return jspb.Message.setProto3EnumField(this, 15, value);
3316
+ };
3317
+
3318
+
3319
+ /**
3320
+ * optional string client_name = 16;
3321
+ * @return {string}
3322
+ */
3323
+ proto.Platform.LocalAccountProto.prototype.getClientName = function() {
3324
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
3325
+ };
3326
+
3327
+
3328
+ /**
3329
+ * @param {string} value
3330
+ * @return {!proto.Platform.LocalAccountProto} returns this
3331
+ */
3332
+ proto.Platform.LocalAccountProto.prototype.setClientName = function(value) {
3333
+ return jspb.Message.setProto3StringField(this, 16, value);
3334
+ };
3335
+
3336
+
3318
3337
  goog.object.extend(exports, proto.Platform);