@gitpod/supervisor-api-grpc 0.1.5-se-workspace-id.35 → 0.1.5-se-init.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/token_pb.js CHANGED
@@ -1,23 +1,35 @@
1
+ // source: token.proto
1
2
  /**
2
3
  * @fileoverview
3
4
  * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
4
6
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
5
7
  * field starts with 'MSG_' and isn't a translatable message.
6
8
  * @public
7
9
  */
8
10
  // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
9
13
 
10
14
  var jspb = require('google-protobuf');
11
15
  var goog = jspb;
12
- var global = Function('return this')();
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
13
23
 
14
24
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
15
25
  goog.object.extend(proto, google_protobuf_timestamp_pb);
16
26
  goog.exportSymbol('proto.supervisor.ClearTokenRequest', null, global);
27
+ goog.exportSymbol('proto.supervisor.ClearTokenRequest.TokenCase', null, global);
17
28
  goog.exportSymbol('proto.supervisor.ClearTokenResponse', null, global);
18
29
  goog.exportSymbol('proto.supervisor.GetTokenRequest', null, global);
19
30
  goog.exportSymbol('proto.supervisor.GetTokenResponse', null, global);
20
31
  goog.exportSymbol('proto.supervisor.ProvideTokenRequest', null, global);
32
+ goog.exportSymbol('proto.supervisor.ProvideTokenRequest.MessageCase', null, global);
21
33
  goog.exportSymbol('proto.supervisor.ProvideTokenRequest.RegisterProvider', null, global);
22
34
  goog.exportSymbol('proto.supervisor.ProvideTokenResponse', null, global);
23
35
  goog.exportSymbol('proto.supervisor.SetTokenRequest', null, global);
@@ -55,7 +67,7 @@ if (goog.DEBUG && !COMPILED) {
55
67
  * @constructor
56
68
  */
57
69
  proto.supervisor.GetTokenResponse = function(opt_data) {
58
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
70
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.supervisor.GetTokenResponse.repeatedFields_, null);
59
71
  };
60
72
  goog.inherits(proto.supervisor.GetTokenResponse, jspb.Message);
61
73
  if (goog.DEBUG && !COMPILED) {
@@ -224,13 +236,15 @@ proto.supervisor.GetTokenRequest.repeatedFields_ = [2];
224
236
 
225
237
  if (jspb.Message.GENERATE_TO_OBJECT) {
226
238
  /**
227
- * Creates an object representation of this proto suitable for use in Soy templates.
239
+ * Creates an object representation of this proto.
228
240
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
241
+ * Optional fields that are not set will be set to undefined.
229
242
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
230
243
  * For the list of reserved names please see:
231
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
232
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
233
- * for transitional soy proto support: http://goto/soy-param-migration
244
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
245
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
246
+ * JSPB instance for transitional soy proto support:
247
+ * http://goto/soy-param-migration
234
248
  * @return {!Object}
235
249
  */
236
250
  proto.supervisor.GetTokenRequest.prototype.toObject = function(opt_includeInstance) {
@@ -240,8 +254,8 @@ proto.supervisor.GetTokenRequest.prototype.toObject = function(opt_includeInstan
240
254
 
241
255
  /**
242
256
  * Static version of the {@see toObject} method.
243
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
244
- * instance for transitional soy proto support:
257
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
258
+ * the JSPB instance for transitional soy proto support:
245
259
  * http://goto/soy-param-migration
246
260
  * @param {!proto.supervisor.GetTokenRequest} msg The msg instance to transform.
247
261
  * @return {!Object}
@@ -250,7 +264,7 @@ proto.supervisor.GetTokenRequest.prototype.toObject = function(opt_includeInstan
250
264
  proto.supervisor.GetTokenRequest.toObject = function(includeInstance, msg) {
251
265
  var f, obj = {
252
266
  host: jspb.Message.getFieldWithDefault(msg, 1, ""),
253
- scopeList: jspb.Message.getRepeatedField(msg, 2),
267
+ scopeList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
254
268
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
255
269
  kind: jspb.Message.getFieldWithDefault(msg, 4, "")
256
270
  };
@@ -374,9 +388,12 @@ proto.supervisor.GetTokenRequest.prototype.getHost = function() {
374
388
  };
375
389
 
376
390
 
377
- /** @param {string} value */
391
+ /**
392
+ * @param {string} value
393
+ * @return {!proto.supervisor.GetTokenRequest} returns this
394
+ */
378
395
  proto.supervisor.GetTokenRequest.prototype.setHost = function(value) {
379
- jspb.Message.setProto3StringField(this, 1, value);
396
+ return jspb.Message.setProto3StringField(this, 1, value);
380
397
  };
381
398
 
382
399
 
@@ -389,26 +406,31 @@ proto.supervisor.GetTokenRequest.prototype.getScopeList = function() {
389
406
  };
390
407
 
391
408
 
392
- /** @param {!Array<string>} value */
409
+ /**
410
+ * @param {!Array<string>} value
411
+ * @return {!proto.supervisor.GetTokenRequest} returns this
412
+ */
393
413
  proto.supervisor.GetTokenRequest.prototype.setScopeList = function(value) {
394
- jspb.Message.setField(this, 2, value || []);
414
+ return jspb.Message.setField(this, 2, value || []);
395
415
  };
396
416
 
397
417
 
398
418
  /**
399
419
  * @param {string} value
400
420
  * @param {number=} opt_index
421
+ * @return {!proto.supervisor.GetTokenRequest} returns this
401
422
  */
402
423
  proto.supervisor.GetTokenRequest.prototype.addScope = function(value, opt_index) {
403
- jspb.Message.addToRepeatedField(this, 2, value, opt_index);
424
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
404
425
  };
405
426
 
406
427
 
407
428
  /**
408
429
  * Clears the list making it empty but non-null.
430
+ * @return {!proto.supervisor.GetTokenRequest} returns this
409
431
  */
410
432
  proto.supervisor.GetTokenRequest.prototype.clearScopeList = function() {
411
- this.setScopeList([]);
433
+ return this.setScopeList([]);
412
434
  };
413
435
 
414
436
 
@@ -421,9 +443,12 @@ proto.supervisor.GetTokenRequest.prototype.getDescription = function() {
421
443
  };
422
444
 
423
445
 
424
- /** @param {string} value */
446
+ /**
447
+ * @param {string} value
448
+ * @return {!proto.supervisor.GetTokenRequest} returns this
449
+ */
425
450
  proto.supervisor.GetTokenRequest.prototype.setDescription = function(value) {
426
- jspb.Message.setProto3StringField(this, 3, value);
451
+ return jspb.Message.setProto3StringField(this, 3, value);
427
452
  };
428
453
 
429
454
 
@@ -436,24 +461,36 @@ proto.supervisor.GetTokenRequest.prototype.getKind = function() {
436
461
  };
437
462
 
438
463
 
439
- /** @param {string} value */
464
+ /**
465
+ * @param {string} value
466
+ * @return {!proto.supervisor.GetTokenRequest} returns this
467
+ */
440
468
  proto.supervisor.GetTokenRequest.prototype.setKind = function(value) {
441
- jspb.Message.setProto3StringField(this, 4, value);
469
+ return jspb.Message.setProto3StringField(this, 4, value);
442
470
  };
443
471
 
444
472
 
445
473
 
474
+ /**
475
+ * List of repeated fields within this message type.
476
+ * @private {!Array<number>}
477
+ * @const
478
+ */
479
+ proto.supervisor.GetTokenResponse.repeatedFields_ = [3];
480
+
446
481
 
447
482
 
448
483
  if (jspb.Message.GENERATE_TO_OBJECT) {
449
484
  /**
450
- * Creates an object representation of this proto suitable for use in Soy templates.
485
+ * Creates an object representation of this proto.
451
486
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
487
+ * Optional fields that are not set will be set to undefined.
452
488
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
453
489
  * For the list of reserved names please see:
454
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
455
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
456
- * for transitional soy proto support: http://goto/soy-param-migration
490
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
491
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
492
+ * JSPB instance for transitional soy proto support:
493
+ * http://goto/soy-param-migration
457
494
  * @return {!Object}
458
495
  */
459
496
  proto.supervisor.GetTokenResponse.prototype.toObject = function(opt_includeInstance) {
@@ -463,8 +500,8 @@ proto.supervisor.GetTokenResponse.prototype.toObject = function(opt_includeInsta
463
500
 
464
501
  /**
465
502
  * Static version of the {@see toObject} method.
466
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
467
- * instance for transitional soy proto support:
503
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
504
+ * the JSPB instance for transitional soy proto support:
468
505
  * http://goto/soy-param-migration
469
506
  * @param {!proto.supervisor.GetTokenResponse} msg The msg instance to transform.
470
507
  * @return {!Object}
@@ -473,7 +510,8 @@ proto.supervisor.GetTokenResponse.prototype.toObject = function(opt_includeInsta
473
510
  proto.supervisor.GetTokenResponse.toObject = function(includeInstance, msg) {
474
511
  var f, obj = {
475
512
  token: jspb.Message.getFieldWithDefault(msg, 1, ""),
476
- user: jspb.Message.getFieldWithDefault(msg, 2, "")
513
+ user: jspb.Message.getFieldWithDefault(msg, 2, ""),
514
+ scopeList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
477
515
  };
478
516
 
479
517
  if (includeInstance) {
@@ -518,6 +556,10 @@ proto.supervisor.GetTokenResponse.deserializeBinaryFromReader = function(msg, re
518
556
  var value = /** @type {string} */ (reader.readString());
519
557
  msg.setUser(value);
520
558
  break;
559
+ case 3:
560
+ var value = /** @type {string} */ (reader.readString());
561
+ msg.addScope(value);
562
+ break;
521
563
  default:
522
564
  reader.skipField();
523
565
  break;
@@ -561,6 +603,13 @@ proto.supervisor.GetTokenResponse.serializeBinaryToWriter = function(message, wr
561
603
  f
562
604
  );
563
605
  }
606
+ f = message.getScopeList();
607
+ if (f.length > 0) {
608
+ writer.writeRepeatedString(
609
+ 3,
610
+ f
611
+ );
612
+ }
564
613
  };
565
614
 
566
615
 
@@ -573,9 +622,12 @@ proto.supervisor.GetTokenResponse.prototype.getToken = function() {
573
622
  };
574
623
 
575
624
 
576
- /** @param {string} value */
625
+ /**
626
+ * @param {string} value
627
+ * @return {!proto.supervisor.GetTokenResponse} returns this
628
+ */
577
629
  proto.supervisor.GetTokenResponse.prototype.setToken = function(value) {
578
- jspb.Message.setProto3StringField(this, 1, value);
630
+ return jspb.Message.setProto3StringField(this, 1, value);
579
631
  };
580
632
 
581
633
 
@@ -588,9 +640,49 @@ proto.supervisor.GetTokenResponse.prototype.getUser = function() {
588
640
  };
589
641
 
590
642
 
591
- /** @param {string} value */
643
+ /**
644
+ * @param {string} value
645
+ * @return {!proto.supervisor.GetTokenResponse} returns this
646
+ */
592
647
  proto.supervisor.GetTokenResponse.prototype.setUser = function(value) {
593
- jspb.Message.setProto3StringField(this, 2, value);
648
+ return jspb.Message.setProto3StringField(this, 2, value);
649
+ };
650
+
651
+
652
+ /**
653
+ * repeated string scope = 3;
654
+ * @return {!Array<string>}
655
+ */
656
+ proto.supervisor.GetTokenResponse.prototype.getScopeList = function() {
657
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
658
+ };
659
+
660
+
661
+ /**
662
+ * @param {!Array<string>} value
663
+ * @return {!proto.supervisor.GetTokenResponse} returns this
664
+ */
665
+ proto.supervisor.GetTokenResponse.prototype.setScopeList = function(value) {
666
+ return jspb.Message.setField(this, 3, value || []);
667
+ };
668
+
669
+
670
+ /**
671
+ * @param {string} value
672
+ * @param {number=} opt_index
673
+ * @return {!proto.supervisor.GetTokenResponse} returns this
674
+ */
675
+ proto.supervisor.GetTokenResponse.prototype.addScope = function(value, opt_index) {
676
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
677
+ };
678
+
679
+
680
+ /**
681
+ * Clears the list making it empty but non-null.
682
+ * @return {!proto.supervisor.GetTokenResponse} returns this
683
+ */
684
+ proto.supervisor.GetTokenResponse.prototype.clearScopeList = function() {
685
+ return this.setScopeList([]);
594
686
  };
595
687
 
596
688
 
@@ -606,13 +698,15 @@ proto.supervisor.SetTokenRequest.repeatedFields_ = [2];
606
698
 
607
699
  if (jspb.Message.GENERATE_TO_OBJECT) {
608
700
  /**
609
- * Creates an object representation of this proto suitable for use in Soy templates.
701
+ * Creates an object representation of this proto.
610
702
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
703
+ * Optional fields that are not set will be set to undefined.
611
704
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
612
705
  * For the list of reserved names please see:
613
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
614
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
615
- * for transitional soy proto support: http://goto/soy-param-migration
706
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
707
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
708
+ * JSPB instance for transitional soy proto support:
709
+ * http://goto/soy-param-migration
616
710
  * @return {!Object}
617
711
  */
618
712
  proto.supervisor.SetTokenRequest.prototype.toObject = function(opt_includeInstance) {
@@ -622,8 +716,8 @@ proto.supervisor.SetTokenRequest.prototype.toObject = function(opt_includeInstan
622
716
 
623
717
  /**
624
718
  * Static version of the {@see toObject} method.
625
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
626
- * instance for transitional soy proto support:
719
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
720
+ * the JSPB instance for transitional soy proto support:
627
721
  * http://goto/soy-param-migration
628
722
  * @param {!proto.supervisor.SetTokenRequest} msg The msg instance to transform.
629
723
  * @return {!Object}
@@ -632,7 +726,7 @@ proto.supervisor.SetTokenRequest.prototype.toObject = function(opt_includeInstan
632
726
  proto.supervisor.SetTokenRequest.toObject = function(includeInstance, msg) {
633
727
  var f, obj = {
634
728
  host: jspb.Message.getFieldWithDefault(msg, 1, ""),
635
- scopeList: jspb.Message.getRepeatedField(msg, 2),
729
+ scopeList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
636
730
  token: jspb.Message.getFieldWithDefault(msg, 3, ""),
637
731
  expiryDate: (f = msg.getExpiryDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
638
732
  reuse: jspb.Message.getFieldWithDefault(msg, 5, 0),
@@ -782,9 +876,12 @@ proto.supervisor.SetTokenRequest.prototype.getHost = function() {
782
876
  };
783
877
 
784
878
 
785
- /** @param {string} value */
879
+ /**
880
+ * @param {string} value
881
+ * @return {!proto.supervisor.SetTokenRequest} returns this
882
+ */
786
883
  proto.supervisor.SetTokenRequest.prototype.setHost = function(value) {
787
- jspb.Message.setProto3StringField(this, 1, value);
884
+ return jspb.Message.setProto3StringField(this, 1, value);
788
885
  };
789
886
 
790
887
 
@@ -797,26 +894,31 @@ proto.supervisor.SetTokenRequest.prototype.getScopeList = function() {
797
894
  };
798
895
 
799
896
 
800
- /** @param {!Array<string>} value */
897
+ /**
898
+ * @param {!Array<string>} value
899
+ * @return {!proto.supervisor.SetTokenRequest} returns this
900
+ */
801
901
  proto.supervisor.SetTokenRequest.prototype.setScopeList = function(value) {
802
- jspb.Message.setField(this, 2, value || []);
902
+ return jspb.Message.setField(this, 2, value || []);
803
903
  };
804
904
 
805
905
 
806
906
  /**
807
907
  * @param {string} value
808
908
  * @param {number=} opt_index
909
+ * @return {!proto.supervisor.SetTokenRequest} returns this
809
910
  */
810
911
  proto.supervisor.SetTokenRequest.prototype.addScope = function(value, opt_index) {
811
- jspb.Message.addToRepeatedField(this, 2, value, opt_index);
912
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
812
913
  };
813
914
 
814
915
 
815
916
  /**
816
917
  * Clears the list making it empty but non-null.
918
+ * @return {!proto.supervisor.SetTokenRequest} returns this
817
919
  */
818
920
  proto.supervisor.SetTokenRequest.prototype.clearScopeList = function() {
819
- this.setScopeList([]);
921
+ return this.setScopeList([]);
820
922
  };
821
923
 
822
924
 
@@ -829,9 +931,12 @@ proto.supervisor.SetTokenRequest.prototype.getToken = function() {
829
931
  };
830
932
 
831
933
 
832
- /** @param {string} value */
934
+ /**
935
+ * @param {string} value
936
+ * @return {!proto.supervisor.SetTokenRequest} returns this
937
+ */
833
938
  proto.supervisor.SetTokenRequest.prototype.setToken = function(value) {
834
- jspb.Message.setProto3StringField(this, 3, value);
939
+ return jspb.Message.setProto3StringField(this, 3, value);
835
940
  };
836
941
 
837
942
 
@@ -845,17 +950,21 @@ proto.supervisor.SetTokenRequest.prototype.getExpiryDate = function() {
845
950
  };
846
951
 
847
952
 
848
- /** @param {?proto.google.protobuf.Timestamp|undefined} value */
953
+ /**
954
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
955
+ * @return {!proto.supervisor.SetTokenRequest} returns this
956
+ */
849
957
  proto.supervisor.SetTokenRequest.prototype.setExpiryDate = function(value) {
850
- jspb.Message.setWrapperField(this, 4, value);
958
+ return jspb.Message.setWrapperField(this, 4, value);
851
959
  };
852
960
 
853
961
 
854
962
  /**
855
963
  * Clears the message field making it undefined.
964
+ * @return {!proto.supervisor.SetTokenRequest} returns this
856
965
  */
857
966
  proto.supervisor.SetTokenRequest.prototype.clearExpiryDate = function() {
858
- this.setExpiryDate(undefined);
967
+ return this.setExpiryDate(undefined);
859
968
  };
860
969
 
861
970
 
@@ -877,9 +986,12 @@ proto.supervisor.SetTokenRequest.prototype.getReuse = function() {
877
986
  };
878
987
 
879
988
 
880
- /** @param {!proto.supervisor.TokenReuse} value */
989
+ /**
990
+ * @param {!proto.supervisor.TokenReuse} value
991
+ * @return {!proto.supervisor.SetTokenRequest} returns this
992
+ */
881
993
  proto.supervisor.SetTokenRequest.prototype.setReuse = function(value) {
882
- jspb.Message.setProto3EnumField(this, 5, value);
994
+ return jspb.Message.setProto3EnumField(this, 5, value);
883
995
  };
884
996
 
885
997
 
@@ -892,9 +1004,12 @@ proto.supervisor.SetTokenRequest.prototype.getKind = function() {
892
1004
  };
893
1005
 
894
1006
 
895
- /** @param {string} value */
1007
+ /**
1008
+ * @param {string} value
1009
+ * @return {!proto.supervisor.SetTokenRequest} returns this
1010
+ */
896
1011
  proto.supervisor.SetTokenRequest.prototype.setKind = function(value) {
897
- jspb.Message.setProto3StringField(this, 6, value);
1012
+ return jspb.Message.setProto3StringField(this, 6, value);
898
1013
  };
899
1014
 
900
1015
 
@@ -903,13 +1018,15 @@ proto.supervisor.SetTokenRequest.prototype.setKind = function(value) {
903
1018
 
904
1019
  if (jspb.Message.GENERATE_TO_OBJECT) {
905
1020
  /**
906
- * Creates an object representation of this proto suitable for use in Soy templates.
1021
+ * Creates an object representation of this proto.
907
1022
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1023
+ * Optional fields that are not set will be set to undefined.
908
1024
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
909
1025
  * For the list of reserved names please see:
910
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
911
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
912
- * for transitional soy proto support: http://goto/soy-param-migration
1026
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1027
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1028
+ * JSPB instance for transitional soy proto support:
1029
+ * http://goto/soy-param-migration
913
1030
  * @return {!Object}
914
1031
  */
915
1032
  proto.supervisor.SetTokenResponse.prototype.toObject = function(opt_includeInstance) {
@@ -919,8 +1036,8 @@ proto.supervisor.SetTokenResponse.prototype.toObject = function(opt_includeInsta
919
1036
 
920
1037
  /**
921
1038
  * Static version of the {@see toObject} method.
922
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
923
- * instance for transitional soy proto support:
1039
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1040
+ * the JSPB instance for transitional soy proto support:
924
1041
  * http://goto/soy-param-migration
925
1042
  * @param {!proto.supervisor.SetTokenResponse} msg The msg instance to transform.
926
1043
  * @return {!Object}
@@ -1028,13 +1145,15 @@ proto.supervisor.ClearTokenRequest.prototype.getTokenCase = function() {
1028
1145
 
1029
1146
  if (jspb.Message.GENERATE_TO_OBJECT) {
1030
1147
  /**
1031
- * Creates an object representation of this proto suitable for use in Soy templates.
1148
+ * Creates an object representation of this proto.
1032
1149
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1150
+ * Optional fields that are not set will be set to undefined.
1033
1151
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1034
1152
  * For the list of reserved names please see:
1035
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1036
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1037
- * for transitional soy proto support: http://goto/soy-param-migration
1153
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1154
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1155
+ * JSPB instance for transitional soy proto support:
1156
+ * http://goto/soy-param-migration
1038
1157
  * @return {!Object}
1039
1158
  */
1040
1159
  proto.supervisor.ClearTokenRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1044,8 +1163,8 @@ proto.supervisor.ClearTokenRequest.prototype.toObject = function(opt_includeInst
1044
1163
 
1045
1164
  /**
1046
1165
  * Static version of the {@see toObject} method.
1047
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1048
- * instance for transitional soy proto support:
1166
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1167
+ * the JSPB instance for transitional soy proto support:
1049
1168
  * http://goto/soy-param-migration
1050
1169
  * @param {!proto.supervisor.ClearTokenRequest} msg The msg instance to transform.
1051
1170
  * @return {!Object}
@@ -1054,7 +1173,7 @@ proto.supervisor.ClearTokenRequest.prototype.toObject = function(opt_includeInst
1054
1173
  proto.supervisor.ClearTokenRequest.toObject = function(includeInstance, msg) {
1055
1174
  var f, obj = {
1056
1175
  value: jspb.Message.getFieldWithDefault(msg, 1, ""),
1057
- all: jspb.Message.getFieldWithDefault(msg, 2, false),
1176
+ all: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
1058
1177
  kind: jspb.Message.getFieldWithDefault(msg, 3, "")
1059
1178
  };
1060
1179
 
@@ -1166,17 +1285,21 @@ proto.supervisor.ClearTokenRequest.prototype.getValue = function() {
1166
1285
  };
1167
1286
 
1168
1287
 
1169
- /** @param {string} value */
1288
+ /**
1289
+ * @param {string} value
1290
+ * @return {!proto.supervisor.ClearTokenRequest} returns this
1291
+ */
1170
1292
  proto.supervisor.ClearTokenRequest.prototype.setValue = function(value) {
1171
- jspb.Message.setOneofField(this, 1, proto.supervisor.ClearTokenRequest.oneofGroups_[0], value);
1293
+ return jspb.Message.setOneofField(this, 1, proto.supervisor.ClearTokenRequest.oneofGroups_[0], value);
1172
1294
  };
1173
1295
 
1174
1296
 
1175
1297
  /**
1176
1298
  * Clears the field making it undefined.
1299
+ * @return {!proto.supervisor.ClearTokenRequest} returns this
1177
1300
  */
1178
1301
  proto.supervisor.ClearTokenRequest.prototype.clearValue = function() {
1179
- jspb.Message.setOneofField(this, 1, proto.supervisor.ClearTokenRequest.oneofGroups_[0], undefined);
1302
+ return jspb.Message.setOneofField(this, 1, proto.supervisor.ClearTokenRequest.oneofGroups_[0], undefined);
1180
1303
  };
1181
1304
 
1182
1305
 
@@ -1191,26 +1314,28 @@ proto.supervisor.ClearTokenRequest.prototype.hasValue = function() {
1191
1314
 
1192
1315
  /**
1193
1316
  * optional bool all = 2;
1194
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
1195
- * You should avoid comparisons like {@code val === true/false} in those cases.
1196
1317
  * @return {boolean}
1197
1318
  */
1198
1319
  proto.supervisor.ClearTokenRequest.prototype.getAll = function() {
1199
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false));
1320
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
1200
1321
  };
1201
1322
 
1202
1323
 
1203
- /** @param {boolean} value */
1324
+ /**
1325
+ * @param {boolean} value
1326
+ * @return {!proto.supervisor.ClearTokenRequest} returns this
1327
+ */
1204
1328
  proto.supervisor.ClearTokenRequest.prototype.setAll = function(value) {
1205
- jspb.Message.setOneofField(this, 2, proto.supervisor.ClearTokenRequest.oneofGroups_[0], value);
1329
+ return jspb.Message.setOneofField(this, 2, proto.supervisor.ClearTokenRequest.oneofGroups_[0], value);
1206
1330
  };
1207
1331
 
1208
1332
 
1209
1333
  /**
1210
1334
  * Clears the field making it undefined.
1335
+ * @return {!proto.supervisor.ClearTokenRequest} returns this
1211
1336
  */
1212
1337
  proto.supervisor.ClearTokenRequest.prototype.clearAll = function() {
1213
- jspb.Message.setOneofField(this, 2, proto.supervisor.ClearTokenRequest.oneofGroups_[0], undefined);
1338
+ return jspb.Message.setOneofField(this, 2, proto.supervisor.ClearTokenRequest.oneofGroups_[0], undefined);
1214
1339
  };
1215
1340
 
1216
1341
 
@@ -1232,9 +1357,12 @@ proto.supervisor.ClearTokenRequest.prototype.getKind = function() {
1232
1357
  };
1233
1358
 
1234
1359
 
1235
- /** @param {string} value */
1360
+ /**
1361
+ * @param {string} value
1362
+ * @return {!proto.supervisor.ClearTokenRequest} returns this
1363
+ */
1236
1364
  proto.supervisor.ClearTokenRequest.prototype.setKind = function(value) {
1237
- jspb.Message.setProto3StringField(this, 3, value);
1365
+ return jspb.Message.setProto3StringField(this, 3, value);
1238
1366
  };
1239
1367
 
1240
1368
 
@@ -1243,13 +1371,15 @@ proto.supervisor.ClearTokenRequest.prototype.setKind = function(value) {
1243
1371
 
1244
1372
  if (jspb.Message.GENERATE_TO_OBJECT) {
1245
1373
  /**
1246
- * Creates an object representation of this proto suitable for use in Soy templates.
1374
+ * Creates an object representation of this proto.
1247
1375
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1376
+ * Optional fields that are not set will be set to undefined.
1248
1377
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1249
1378
  * For the list of reserved names please see:
1250
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1251
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1252
- * for transitional soy proto support: http://goto/soy-param-migration
1379
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1380
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1381
+ * JSPB instance for transitional soy proto support:
1382
+ * http://goto/soy-param-migration
1253
1383
  * @return {!Object}
1254
1384
  */
1255
1385
  proto.supervisor.ClearTokenResponse.prototype.toObject = function(opt_includeInstance) {
@@ -1259,8 +1389,8 @@ proto.supervisor.ClearTokenResponse.prototype.toObject = function(opt_includeIns
1259
1389
 
1260
1390
  /**
1261
1391
  * Static version of the {@see toObject} method.
1262
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1263
- * instance for transitional soy proto support:
1392
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1393
+ * the JSPB instance for transitional soy proto support:
1264
1394
  * http://goto/soy-param-migration
1265
1395
  * @param {!proto.supervisor.ClearTokenResponse} msg The msg instance to transform.
1266
1396
  * @return {!Object}
@@ -1368,13 +1498,15 @@ proto.supervisor.ProvideTokenRequest.prototype.getMessageCase = function() {
1368
1498
 
1369
1499
  if (jspb.Message.GENERATE_TO_OBJECT) {
1370
1500
  /**
1371
- * Creates an object representation of this proto suitable for use in Soy templates.
1501
+ * Creates an object representation of this proto.
1372
1502
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1503
+ * Optional fields that are not set will be set to undefined.
1373
1504
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1374
1505
  * For the list of reserved names please see:
1375
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1376
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1377
- * for transitional soy proto support: http://goto/soy-param-migration
1506
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1507
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1508
+ * JSPB instance for transitional soy proto support:
1509
+ * http://goto/soy-param-migration
1378
1510
  * @return {!Object}
1379
1511
  */
1380
1512
  proto.supervisor.ProvideTokenRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1384,8 +1516,8 @@ proto.supervisor.ProvideTokenRequest.prototype.toObject = function(opt_includeIn
1384
1516
 
1385
1517
  /**
1386
1518
  * Static version of the {@see toObject} method.
1387
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1388
- * instance for transitional soy proto support:
1519
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1520
+ * the JSPB instance for transitional soy proto support:
1389
1521
  * http://goto/soy-param-migration
1390
1522
  * @param {!proto.supervisor.ProvideTokenRequest} msg The msg instance to transform.
1391
1523
  * @return {!Object}
@@ -1494,13 +1626,15 @@ proto.supervisor.ProvideTokenRequest.serializeBinaryToWriter = function(message,
1494
1626
 
1495
1627
  if (jspb.Message.GENERATE_TO_OBJECT) {
1496
1628
  /**
1497
- * Creates an object representation of this proto suitable for use in Soy templates.
1629
+ * Creates an object representation of this proto.
1498
1630
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1631
+ * Optional fields that are not set will be set to undefined.
1499
1632
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1500
1633
  * For the list of reserved names please see:
1501
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1502
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1503
- * for transitional soy proto support: http://goto/soy-param-migration
1634
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1635
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1636
+ * JSPB instance for transitional soy proto support:
1637
+ * http://goto/soy-param-migration
1504
1638
  * @return {!Object}
1505
1639
  */
1506
1640
  proto.supervisor.ProvideTokenRequest.RegisterProvider.prototype.toObject = function(opt_includeInstance) {
@@ -1510,8 +1644,8 @@ proto.supervisor.ProvideTokenRequest.RegisterProvider.prototype.toObject = funct
1510
1644
 
1511
1645
  /**
1512
1646
  * Static version of the {@see toObject} method.
1513
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1514
- * instance for transitional soy proto support:
1647
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1648
+ * the JSPB instance for transitional soy proto support:
1515
1649
  * http://goto/soy-param-migration
1516
1650
  * @param {!proto.supervisor.ProvideTokenRequest.RegisterProvider} msg The msg instance to transform.
1517
1651
  * @return {!Object}
@@ -1608,9 +1742,12 @@ proto.supervisor.ProvideTokenRequest.RegisterProvider.prototype.getKind = functi
1608
1742
  };
1609
1743
 
1610
1744
 
1611
- /** @param {string} value */
1745
+ /**
1746
+ * @param {string} value
1747
+ * @return {!proto.supervisor.ProvideTokenRequest.RegisterProvider} returns this
1748
+ */
1612
1749
  proto.supervisor.ProvideTokenRequest.RegisterProvider.prototype.setKind = function(value) {
1613
- jspb.Message.setProto3StringField(this, 1, value);
1750
+ return jspb.Message.setProto3StringField(this, 1, value);
1614
1751
  };
1615
1752
 
1616
1753
 
@@ -1624,17 +1761,21 @@ proto.supervisor.ProvideTokenRequest.prototype.getRegistration = function() {
1624
1761
  };
1625
1762
 
1626
1763
 
1627
- /** @param {?proto.supervisor.ProvideTokenRequest.RegisterProvider|undefined} value */
1764
+ /**
1765
+ * @param {?proto.supervisor.ProvideTokenRequest.RegisterProvider|undefined} value
1766
+ * @return {!proto.supervisor.ProvideTokenRequest} returns this
1767
+ */
1628
1768
  proto.supervisor.ProvideTokenRequest.prototype.setRegistration = function(value) {
1629
- jspb.Message.setOneofWrapperField(this, 1, proto.supervisor.ProvideTokenRequest.oneofGroups_[0], value);
1769
+ return jspb.Message.setOneofWrapperField(this, 1, proto.supervisor.ProvideTokenRequest.oneofGroups_[0], value);
1630
1770
  };
1631
1771
 
1632
1772
 
1633
1773
  /**
1634
1774
  * Clears the message field making it undefined.
1775
+ * @return {!proto.supervisor.ProvideTokenRequest} returns this
1635
1776
  */
1636
1777
  proto.supervisor.ProvideTokenRequest.prototype.clearRegistration = function() {
1637
- this.setRegistration(undefined);
1778
+ return this.setRegistration(undefined);
1638
1779
  };
1639
1780
 
1640
1781
 
@@ -1657,17 +1798,21 @@ proto.supervisor.ProvideTokenRequest.prototype.getAnswer = function() {
1657
1798
  };
1658
1799
 
1659
1800
 
1660
- /** @param {?proto.supervisor.SetTokenRequest|undefined} value */
1801
+ /**
1802
+ * @param {?proto.supervisor.SetTokenRequest|undefined} value
1803
+ * @return {!proto.supervisor.ProvideTokenRequest} returns this
1804
+ */
1661
1805
  proto.supervisor.ProvideTokenRequest.prototype.setAnswer = function(value) {
1662
- jspb.Message.setOneofWrapperField(this, 2, proto.supervisor.ProvideTokenRequest.oneofGroups_[0], value);
1806
+ return jspb.Message.setOneofWrapperField(this, 2, proto.supervisor.ProvideTokenRequest.oneofGroups_[0], value);
1663
1807
  };
1664
1808
 
1665
1809
 
1666
1810
  /**
1667
1811
  * Clears the message field making it undefined.
1812
+ * @return {!proto.supervisor.ProvideTokenRequest} returns this
1668
1813
  */
1669
1814
  proto.supervisor.ProvideTokenRequest.prototype.clearAnswer = function() {
1670
- this.setAnswer(undefined);
1815
+ return this.setAnswer(undefined);
1671
1816
  };
1672
1817
 
1673
1818
 
@@ -1685,13 +1830,15 @@ proto.supervisor.ProvideTokenRequest.prototype.hasAnswer = function() {
1685
1830
 
1686
1831
  if (jspb.Message.GENERATE_TO_OBJECT) {
1687
1832
  /**
1688
- * Creates an object representation of this proto suitable for use in Soy templates.
1833
+ * Creates an object representation of this proto.
1689
1834
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1835
+ * Optional fields that are not set will be set to undefined.
1690
1836
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1691
1837
  * For the list of reserved names please see:
1692
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1693
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1694
- * for transitional soy proto support: http://goto/soy-param-migration
1838
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1839
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1840
+ * JSPB instance for transitional soy proto support:
1841
+ * http://goto/soy-param-migration
1695
1842
  * @return {!Object}
1696
1843
  */
1697
1844
  proto.supervisor.ProvideTokenResponse.prototype.toObject = function(opt_includeInstance) {
@@ -1701,8 +1848,8 @@ proto.supervisor.ProvideTokenResponse.prototype.toObject = function(opt_includeI
1701
1848
 
1702
1849
  /**
1703
1850
  * Static version of the {@see toObject} method.
1704
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1705
- * instance for transitional soy proto support:
1851
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1852
+ * the JSPB instance for transitional soy proto support:
1706
1853
  * http://goto/soy-param-migration
1707
1854
  * @param {!proto.supervisor.ProvideTokenResponse} msg The msg instance to transform.
1708
1855
  * @return {!Object}
@@ -1802,17 +1949,21 @@ proto.supervisor.ProvideTokenResponse.prototype.getRequest = function() {
1802
1949
  };
1803
1950
 
1804
1951
 
1805
- /** @param {?proto.supervisor.GetTokenRequest|undefined} value */
1952
+ /**
1953
+ * @param {?proto.supervisor.GetTokenRequest|undefined} value
1954
+ * @return {!proto.supervisor.ProvideTokenResponse} returns this
1955
+ */
1806
1956
  proto.supervisor.ProvideTokenResponse.prototype.setRequest = function(value) {
1807
- jspb.Message.setWrapperField(this, 1, value);
1957
+ return jspb.Message.setWrapperField(this, 1, value);
1808
1958
  };
1809
1959
 
1810
1960
 
1811
1961
  /**
1812
1962
  * Clears the message field making it undefined.
1963
+ * @return {!proto.supervisor.ProvideTokenResponse} returns this
1813
1964
  */
1814
1965
  proto.supervisor.ProvideTokenResponse.prototype.clearRequest = function() {
1815
- this.setRequest(undefined);
1966
+ return this.setRequest(undefined);
1816
1967
  };
1817
1968
 
1818
1969