@gitpod/supervisor-api-grpc 0.1.5-patch-2-fork.0 → 0.1.5-pavel-git-status-fix.4

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,29 @@
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() { return this || window || global || self || Function('return this')(); }).call(null);
13
17
 
14
18
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
15
19
  goog.object.extend(proto, google_protobuf_timestamp_pb);
16
20
  goog.exportSymbol('proto.supervisor.ClearTokenRequest', null, global);
21
+ goog.exportSymbol('proto.supervisor.ClearTokenRequest.TokenCase', null, global);
17
22
  goog.exportSymbol('proto.supervisor.ClearTokenResponse', null, global);
18
23
  goog.exportSymbol('proto.supervisor.GetTokenRequest', null, global);
19
24
  goog.exportSymbol('proto.supervisor.GetTokenResponse', null, global);
20
25
  goog.exportSymbol('proto.supervisor.ProvideTokenRequest', null, global);
26
+ goog.exportSymbol('proto.supervisor.ProvideTokenRequest.MessageCase', null, global);
21
27
  goog.exportSymbol('proto.supervisor.ProvideTokenRequest.RegisterProvider', null, global);
22
28
  goog.exportSymbol('proto.supervisor.ProvideTokenResponse', null, global);
23
29
  goog.exportSymbol('proto.supervisor.SetTokenRequest', null, global);
@@ -224,13 +230,15 @@ proto.supervisor.GetTokenRequest.repeatedFields_ = [2];
224
230
 
225
231
  if (jspb.Message.GENERATE_TO_OBJECT) {
226
232
  /**
227
- * Creates an object representation of this proto suitable for use in Soy templates.
233
+ * Creates an object representation of this proto.
228
234
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
235
+ * Optional fields that are not set will be set to undefined.
229
236
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
230
237
  * 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
238
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
239
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
240
+ * JSPB instance for transitional soy proto support:
241
+ * http://goto/soy-param-migration
234
242
  * @return {!Object}
235
243
  */
236
244
  proto.supervisor.GetTokenRequest.prototype.toObject = function(opt_includeInstance) {
@@ -240,8 +248,8 @@ proto.supervisor.GetTokenRequest.prototype.toObject = function(opt_includeInstan
240
248
 
241
249
  /**
242
250
  * Static version of the {@see toObject} method.
243
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
244
- * instance for transitional soy proto support:
251
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
252
+ * the JSPB instance for transitional soy proto support:
245
253
  * http://goto/soy-param-migration
246
254
  * @param {!proto.supervisor.GetTokenRequest} msg The msg instance to transform.
247
255
  * @return {!Object}
@@ -250,7 +258,7 @@ proto.supervisor.GetTokenRequest.prototype.toObject = function(opt_includeInstan
250
258
  proto.supervisor.GetTokenRequest.toObject = function(includeInstance, msg) {
251
259
  var f, obj = {
252
260
  host: jspb.Message.getFieldWithDefault(msg, 1, ""),
253
- scopeList: jspb.Message.getRepeatedField(msg, 2),
261
+ scopeList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
254
262
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
255
263
  kind: jspb.Message.getFieldWithDefault(msg, 4, "")
256
264
  };
@@ -374,9 +382,12 @@ proto.supervisor.GetTokenRequest.prototype.getHost = function() {
374
382
  };
375
383
 
376
384
 
377
- /** @param {string} value */
385
+ /**
386
+ * @param {string} value
387
+ * @return {!proto.supervisor.GetTokenRequest} returns this
388
+ */
378
389
  proto.supervisor.GetTokenRequest.prototype.setHost = function(value) {
379
- jspb.Message.setProto3StringField(this, 1, value);
390
+ return jspb.Message.setProto3StringField(this, 1, value);
380
391
  };
381
392
 
382
393
 
@@ -389,26 +400,31 @@ proto.supervisor.GetTokenRequest.prototype.getScopeList = function() {
389
400
  };
390
401
 
391
402
 
392
- /** @param {!Array<string>} value */
403
+ /**
404
+ * @param {!Array<string>} value
405
+ * @return {!proto.supervisor.GetTokenRequest} returns this
406
+ */
393
407
  proto.supervisor.GetTokenRequest.prototype.setScopeList = function(value) {
394
- jspb.Message.setField(this, 2, value || []);
408
+ return jspb.Message.setField(this, 2, value || []);
395
409
  };
396
410
 
397
411
 
398
412
  /**
399
413
  * @param {string} value
400
414
  * @param {number=} opt_index
415
+ * @return {!proto.supervisor.GetTokenRequest} returns this
401
416
  */
402
417
  proto.supervisor.GetTokenRequest.prototype.addScope = function(value, opt_index) {
403
- jspb.Message.addToRepeatedField(this, 2, value, opt_index);
418
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
404
419
  };
405
420
 
406
421
 
407
422
  /**
408
423
  * Clears the list making it empty but non-null.
424
+ * @return {!proto.supervisor.GetTokenRequest} returns this
409
425
  */
410
426
  proto.supervisor.GetTokenRequest.prototype.clearScopeList = function() {
411
- this.setScopeList([]);
427
+ return this.setScopeList([]);
412
428
  };
413
429
 
414
430
 
@@ -421,9 +437,12 @@ proto.supervisor.GetTokenRequest.prototype.getDescription = function() {
421
437
  };
422
438
 
423
439
 
424
- /** @param {string} value */
440
+ /**
441
+ * @param {string} value
442
+ * @return {!proto.supervisor.GetTokenRequest} returns this
443
+ */
425
444
  proto.supervisor.GetTokenRequest.prototype.setDescription = function(value) {
426
- jspb.Message.setProto3StringField(this, 3, value);
445
+ return jspb.Message.setProto3StringField(this, 3, value);
427
446
  };
428
447
 
429
448
 
@@ -436,9 +455,12 @@ proto.supervisor.GetTokenRequest.prototype.getKind = function() {
436
455
  };
437
456
 
438
457
 
439
- /** @param {string} value */
458
+ /**
459
+ * @param {string} value
460
+ * @return {!proto.supervisor.GetTokenRequest} returns this
461
+ */
440
462
  proto.supervisor.GetTokenRequest.prototype.setKind = function(value) {
441
- jspb.Message.setProto3StringField(this, 4, value);
463
+ return jspb.Message.setProto3StringField(this, 4, value);
442
464
  };
443
465
 
444
466
 
@@ -454,13 +476,15 @@ proto.supervisor.GetTokenResponse.repeatedFields_ = [3];
454
476
 
455
477
  if (jspb.Message.GENERATE_TO_OBJECT) {
456
478
  /**
457
- * Creates an object representation of this proto suitable for use in Soy templates.
479
+ * Creates an object representation of this proto.
458
480
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
481
+ * Optional fields that are not set will be set to undefined.
459
482
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
460
483
  * For the list of reserved names please see:
461
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
462
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
463
- * for transitional soy proto support: http://goto/soy-param-migration
484
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
485
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
486
+ * JSPB instance for transitional soy proto support:
487
+ * http://goto/soy-param-migration
464
488
  * @return {!Object}
465
489
  */
466
490
  proto.supervisor.GetTokenResponse.prototype.toObject = function(opt_includeInstance) {
@@ -470,8 +494,8 @@ proto.supervisor.GetTokenResponse.prototype.toObject = function(opt_includeInsta
470
494
 
471
495
  /**
472
496
  * Static version of the {@see toObject} method.
473
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
474
- * instance for transitional soy proto support:
497
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
498
+ * the JSPB instance for transitional soy proto support:
475
499
  * http://goto/soy-param-migration
476
500
  * @param {!proto.supervisor.GetTokenResponse} msg The msg instance to transform.
477
501
  * @return {!Object}
@@ -481,7 +505,7 @@ proto.supervisor.GetTokenResponse.toObject = function(includeInstance, msg) {
481
505
  var f, obj = {
482
506
  token: jspb.Message.getFieldWithDefault(msg, 1, ""),
483
507
  user: jspb.Message.getFieldWithDefault(msg, 2, ""),
484
- scopeList: jspb.Message.getRepeatedField(msg, 3)
508
+ scopeList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
485
509
  };
486
510
 
487
511
  if (includeInstance) {
@@ -592,9 +616,12 @@ proto.supervisor.GetTokenResponse.prototype.getToken = function() {
592
616
  };
593
617
 
594
618
 
595
- /** @param {string} value */
619
+ /**
620
+ * @param {string} value
621
+ * @return {!proto.supervisor.GetTokenResponse} returns this
622
+ */
596
623
  proto.supervisor.GetTokenResponse.prototype.setToken = function(value) {
597
- jspb.Message.setProto3StringField(this, 1, value);
624
+ return jspb.Message.setProto3StringField(this, 1, value);
598
625
  };
599
626
 
600
627
 
@@ -607,9 +634,12 @@ proto.supervisor.GetTokenResponse.prototype.getUser = function() {
607
634
  };
608
635
 
609
636
 
610
- /** @param {string} value */
637
+ /**
638
+ * @param {string} value
639
+ * @return {!proto.supervisor.GetTokenResponse} returns this
640
+ */
611
641
  proto.supervisor.GetTokenResponse.prototype.setUser = function(value) {
612
- jspb.Message.setProto3StringField(this, 2, value);
642
+ return jspb.Message.setProto3StringField(this, 2, value);
613
643
  };
614
644
 
615
645
 
@@ -622,26 +652,31 @@ proto.supervisor.GetTokenResponse.prototype.getScopeList = function() {
622
652
  };
623
653
 
624
654
 
625
- /** @param {!Array<string>} value */
655
+ /**
656
+ * @param {!Array<string>} value
657
+ * @return {!proto.supervisor.GetTokenResponse} returns this
658
+ */
626
659
  proto.supervisor.GetTokenResponse.prototype.setScopeList = function(value) {
627
- jspb.Message.setField(this, 3, value || []);
660
+ return jspb.Message.setField(this, 3, value || []);
628
661
  };
629
662
 
630
663
 
631
664
  /**
632
665
  * @param {string} value
633
666
  * @param {number=} opt_index
667
+ * @return {!proto.supervisor.GetTokenResponse} returns this
634
668
  */
635
669
  proto.supervisor.GetTokenResponse.prototype.addScope = function(value, opt_index) {
636
- jspb.Message.addToRepeatedField(this, 3, value, opt_index);
670
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
637
671
  };
638
672
 
639
673
 
640
674
  /**
641
675
  * Clears the list making it empty but non-null.
676
+ * @return {!proto.supervisor.GetTokenResponse} returns this
642
677
  */
643
678
  proto.supervisor.GetTokenResponse.prototype.clearScopeList = function() {
644
- this.setScopeList([]);
679
+ return this.setScopeList([]);
645
680
  };
646
681
 
647
682
 
@@ -657,13 +692,15 @@ proto.supervisor.SetTokenRequest.repeatedFields_ = [2];
657
692
 
658
693
  if (jspb.Message.GENERATE_TO_OBJECT) {
659
694
  /**
660
- * Creates an object representation of this proto suitable for use in Soy templates.
695
+ * Creates an object representation of this proto.
661
696
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
697
+ * Optional fields that are not set will be set to undefined.
662
698
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
663
699
  * For the list of reserved names please see:
664
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
665
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
666
- * for transitional soy proto support: http://goto/soy-param-migration
700
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
701
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
702
+ * JSPB instance for transitional soy proto support:
703
+ * http://goto/soy-param-migration
667
704
  * @return {!Object}
668
705
  */
669
706
  proto.supervisor.SetTokenRequest.prototype.toObject = function(opt_includeInstance) {
@@ -673,8 +710,8 @@ proto.supervisor.SetTokenRequest.prototype.toObject = function(opt_includeInstan
673
710
 
674
711
  /**
675
712
  * Static version of the {@see toObject} method.
676
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
677
- * instance for transitional soy proto support:
713
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
714
+ * the JSPB instance for transitional soy proto support:
678
715
  * http://goto/soy-param-migration
679
716
  * @param {!proto.supervisor.SetTokenRequest} msg The msg instance to transform.
680
717
  * @return {!Object}
@@ -683,7 +720,7 @@ proto.supervisor.SetTokenRequest.prototype.toObject = function(opt_includeInstan
683
720
  proto.supervisor.SetTokenRequest.toObject = function(includeInstance, msg) {
684
721
  var f, obj = {
685
722
  host: jspb.Message.getFieldWithDefault(msg, 1, ""),
686
- scopeList: jspb.Message.getRepeatedField(msg, 2),
723
+ scopeList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
687
724
  token: jspb.Message.getFieldWithDefault(msg, 3, ""),
688
725
  expiryDate: (f = msg.getExpiryDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
689
726
  reuse: jspb.Message.getFieldWithDefault(msg, 5, 0),
@@ -833,9 +870,12 @@ proto.supervisor.SetTokenRequest.prototype.getHost = function() {
833
870
  };
834
871
 
835
872
 
836
- /** @param {string} value */
873
+ /**
874
+ * @param {string} value
875
+ * @return {!proto.supervisor.SetTokenRequest} returns this
876
+ */
837
877
  proto.supervisor.SetTokenRequest.prototype.setHost = function(value) {
838
- jspb.Message.setProto3StringField(this, 1, value);
878
+ return jspb.Message.setProto3StringField(this, 1, value);
839
879
  };
840
880
 
841
881
 
@@ -848,26 +888,31 @@ proto.supervisor.SetTokenRequest.prototype.getScopeList = function() {
848
888
  };
849
889
 
850
890
 
851
- /** @param {!Array<string>} value */
891
+ /**
892
+ * @param {!Array<string>} value
893
+ * @return {!proto.supervisor.SetTokenRequest} returns this
894
+ */
852
895
  proto.supervisor.SetTokenRequest.prototype.setScopeList = function(value) {
853
- jspb.Message.setField(this, 2, value || []);
896
+ return jspb.Message.setField(this, 2, value || []);
854
897
  };
855
898
 
856
899
 
857
900
  /**
858
901
  * @param {string} value
859
902
  * @param {number=} opt_index
903
+ * @return {!proto.supervisor.SetTokenRequest} returns this
860
904
  */
861
905
  proto.supervisor.SetTokenRequest.prototype.addScope = function(value, opt_index) {
862
- jspb.Message.addToRepeatedField(this, 2, value, opt_index);
906
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
863
907
  };
864
908
 
865
909
 
866
910
  /**
867
911
  * Clears the list making it empty but non-null.
912
+ * @return {!proto.supervisor.SetTokenRequest} returns this
868
913
  */
869
914
  proto.supervisor.SetTokenRequest.prototype.clearScopeList = function() {
870
- this.setScopeList([]);
915
+ return this.setScopeList([]);
871
916
  };
872
917
 
873
918
 
@@ -880,9 +925,12 @@ proto.supervisor.SetTokenRequest.prototype.getToken = function() {
880
925
  };
881
926
 
882
927
 
883
- /** @param {string} value */
928
+ /**
929
+ * @param {string} value
930
+ * @return {!proto.supervisor.SetTokenRequest} returns this
931
+ */
884
932
  proto.supervisor.SetTokenRequest.prototype.setToken = function(value) {
885
- jspb.Message.setProto3StringField(this, 3, value);
933
+ return jspb.Message.setProto3StringField(this, 3, value);
886
934
  };
887
935
 
888
936
 
@@ -896,17 +944,21 @@ proto.supervisor.SetTokenRequest.prototype.getExpiryDate = function() {
896
944
  };
897
945
 
898
946
 
899
- /** @param {?proto.google.protobuf.Timestamp|undefined} value */
947
+ /**
948
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
949
+ * @return {!proto.supervisor.SetTokenRequest} returns this
950
+ */
900
951
  proto.supervisor.SetTokenRequest.prototype.setExpiryDate = function(value) {
901
- jspb.Message.setWrapperField(this, 4, value);
952
+ return jspb.Message.setWrapperField(this, 4, value);
902
953
  };
903
954
 
904
955
 
905
956
  /**
906
957
  * Clears the message field making it undefined.
958
+ * @return {!proto.supervisor.SetTokenRequest} returns this
907
959
  */
908
960
  proto.supervisor.SetTokenRequest.prototype.clearExpiryDate = function() {
909
- this.setExpiryDate(undefined);
961
+ return this.setExpiryDate(undefined);
910
962
  };
911
963
 
912
964
 
@@ -928,9 +980,12 @@ proto.supervisor.SetTokenRequest.prototype.getReuse = function() {
928
980
  };
929
981
 
930
982
 
931
- /** @param {!proto.supervisor.TokenReuse} value */
983
+ /**
984
+ * @param {!proto.supervisor.TokenReuse} value
985
+ * @return {!proto.supervisor.SetTokenRequest} returns this
986
+ */
932
987
  proto.supervisor.SetTokenRequest.prototype.setReuse = function(value) {
933
- jspb.Message.setProto3EnumField(this, 5, value);
988
+ return jspb.Message.setProto3EnumField(this, 5, value);
934
989
  };
935
990
 
936
991
 
@@ -943,9 +998,12 @@ proto.supervisor.SetTokenRequest.prototype.getKind = function() {
943
998
  };
944
999
 
945
1000
 
946
- /** @param {string} value */
1001
+ /**
1002
+ * @param {string} value
1003
+ * @return {!proto.supervisor.SetTokenRequest} returns this
1004
+ */
947
1005
  proto.supervisor.SetTokenRequest.prototype.setKind = function(value) {
948
- jspb.Message.setProto3StringField(this, 6, value);
1006
+ return jspb.Message.setProto3StringField(this, 6, value);
949
1007
  };
950
1008
 
951
1009
 
@@ -954,13 +1012,15 @@ proto.supervisor.SetTokenRequest.prototype.setKind = function(value) {
954
1012
 
955
1013
  if (jspb.Message.GENERATE_TO_OBJECT) {
956
1014
  /**
957
- * Creates an object representation of this proto suitable for use in Soy templates.
1015
+ * Creates an object representation of this proto.
958
1016
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1017
+ * Optional fields that are not set will be set to undefined.
959
1018
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
960
1019
  * For the list of reserved names please see:
961
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
962
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
963
- * for transitional soy proto support: http://goto/soy-param-migration
1020
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1021
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1022
+ * JSPB instance for transitional soy proto support:
1023
+ * http://goto/soy-param-migration
964
1024
  * @return {!Object}
965
1025
  */
966
1026
  proto.supervisor.SetTokenResponse.prototype.toObject = function(opt_includeInstance) {
@@ -970,8 +1030,8 @@ proto.supervisor.SetTokenResponse.prototype.toObject = function(opt_includeInsta
970
1030
 
971
1031
  /**
972
1032
  * Static version of the {@see toObject} method.
973
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
974
- * instance for transitional soy proto support:
1033
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1034
+ * the JSPB instance for transitional soy proto support:
975
1035
  * http://goto/soy-param-migration
976
1036
  * @param {!proto.supervisor.SetTokenResponse} msg The msg instance to transform.
977
1037
  * @return {!Object}
@@ -1079,13 +1139,15 @@ proto.supervisor.ClearTokenRequest.prototype.getTokenCase = function() {
1079
1139
 
1080
1140
  if (jspb.Message.GENERATE_TO_OBJECT) {
1081
1141
  /**
1082
- * Creates an object representation of this proto suitable for use in Soy templates.
1142
+ * Creates an object representation of this proto.
1083
1143
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1144
+ * Optional fields that are not set will be set to undefined.
1084
1145
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1085
1146
  * For the list of reserved names please see:
1086
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1087
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1088
- * for transitional soy proto support: http://goto/soy-param-migration
1147
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1148
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1149
+ * JSPB instance for transitional soy proto support:
1150
+ * http://goto/soy-param-migration
1089
1151
  * @return {!Object}
1090
1152
  */
1091
1153
  proto.supervisor.ClearTokenRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1095,8 +1157,8 @@ proto.supervisor.ClearTokenRequest.prototype.toObject = function(opt_includeInst
1095
1157
 
1096
1158
  /**
1097
1159
  * Static version of the {@see toObject} method.
1098
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1099
- * instance for transitional soy proto support:
1160
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1161
+ * the JSPB instance for transitional soy proto support:
1100
1162
  * http://goto/soy-param-migration
1101
1163
  * @param {!proto.supervisor.ClearTokenRequest} msg The msg instance to transform.
1102
1164
  * @return {!Object}
@@ -1105,7 +1167,7 @@ proto.supervisor.ClearTokenRequest.prototype.toObject = function(opt_includeInst
1105
1167
  proto.supervisor.ClearTokenRequest.toObject = function(includeInstance, msg) {
1106
1168
  var f, obj = {
1107
1169
  value: jspb.Message.getFieldWithDefault(msg, 1, ""),
1108
- all: jspb.Message.getFieldWithDefault(msg, 2, false),
1170
+ all: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
1109
1171
  kind: jspb.Message.getFieldWithDefault(msg, 3, "")
1110
1172
  };
1111
1173
 
@@ -1217,17 +1279,21 @@ proto.supervisor.ClearTokenRequest.prototype.getValue = function() {
1217
1279
  };
1218
1280
 
1219
1281
 
1220
- /** @param {string} value */
1282
+ /**
1283
+ * @param {string} value
1284
+ * @return {!proto.supervisor.ClearTokenRequest} returns this
1285
+ */
1221
1286
  proto.supervisor.ClearTokenRequest.prototype.setValue = function(value) {
1222
- jspb.Message.setOneofField(this, 1, proto.supervisor.ClearTokenRequest.oneofGroups_[0], value);
1287
+ return jspb.Message.setOneofField(this, 1, proto.supervisor.ClearTokenRequest.oneofGroups_[0], value);
1223
1288
  };
1224
1289
 
1225
1290
 
1226
1291
  /**
1227
1292
  * Clears the field making it undefined.
1293
+ * @return {!proto.supervisor.ClearTokenRequest} returns this
1228
1294
  */
1229
1295
  proto.supervisor.ClearTokenRequest.prototype.clearValue = function() {
1230
- jspb.Message.setOneofField(this, 1, proto.supervisor.ClearTokenRequest.oneofGroups_[0], undefined);
1296
+ return jspb.Message.setOneofField(this, 1, proto.supervisor.ClearTokenRequest.oneofGroups_[0], undefined);
1231
1297
  };
1232
1298
 
1233
1299
 
@@ -1242,26 +1308,28 @@ proto.supervisor.ClearTokenRequest.prototype.hasValue = function() {
1242
1308
 
1243
1309
  /**
1244
1310
  * optional bool all = 2;
1245
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
1246
- * You should avoid comparisons like {@code val === true/false} in those cases.
1247
1311
  * @return {boolean}
1248
1312
  */
1249
1313
  proto.supervisor.ClearTokenRequest.prototype.getAll = function() {
1250
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false));
1314
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
1251
1315
  };
1252
1316
 
1253
1317
 
1254
- /** @param {boolean} value */
1318
+ /**
1319
+ * @param {boolean} value
1320
+ * @return {!proto.supervisor.ClearTokenRequest} returns this
1321
+ */
1255
1322
  proto.supervisor.ClearTokenRequest.prototype.setAll = function(value) {
1256
- jspb.Message.setOneofField(this, 2, proto.supervisor.ClearTokenRequest.oneofGroups_[0], value);
1323
+ return jspb.Message.setOneofField(this, 2, proto.supervisor.ClearTokenRequest.oneofGroups_[0], value);
1257
1324
  };
1258
1325
 
1259
1326
 
1260
1327
  /**
1261
1328
  * Clears the field making it undefined.
1329
+ * @return {!proto.supervisor.ClearTokenRequest} returns this
1262
1330
  */
1263
1331
  proto.supervisor.ClearTokenRequest.prototype.clearAll = function() {
1264
- jspb.Message.setOneofField(this, 2, proto.supervisor.ClearTokenRequest.oneofGroups_[0], undefined);
1332
+ return jspb.Message.setOneofField(this, 2, proto.supervisor.ClearTokenRequest.oneofGroups_[0], undefined);
1265
1333
  };
1266
1334
 
1267
1335
 
@@ -1283,9 +1351,12 @@ proto.supervisor.ClearTokenRequest.prototype.getKind = function() {
1283
1351
  };
1284
1352
 
1285
1353
 
1286
- /** @param {string} value */
1354
+ /**
1355
+ * @param {string} value
1356
+ * @return {!proto.supervisor.ClearTokenRequest} returns this
1357
+ */
1287
1358
  proto.supervisor.ClearTokenRequest.prototype.setKind = function(value) {
1288
- jspb.Message.setProto3StringField(this, 3, value);
1359
+ return jspb.Message.setProto3StringField(this, 3, value);
1289
1360
  };
1290
1361
 
1291
1362
 
@@ -1294,13 +1365,15 @@ proto.supervisor.ClearTokenRequest.prototype.setKind = function(value) {
1294
1365
 
1295
1366
  if (jspb.Message.GENERATE_TO_OBJECT) {
1296
1367
  /**
1297
- * Creates an object representation of this proto suitable for use in Soy templates.
1368
+ * Creates an object representation of this proto.
1298
1369
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1370
+ * Optional fields that are not set will be set to undefined.
1299
1371
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1300
1372
  * For the list of reserved names please see:
1301
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1302
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1303
- * for transitional soy proto support: http://goto/soy-param-migration
1373
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1374
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1375
+ * JSPB instance for transitional soy proto support:
1376
+ * http://goto/soy-param-migration
1304
1377
  * @return {!Object}
1305
1378
  */
1306
1379
  proto.supervisor.ClearTokenResponse.prototype.toObject = function(opt_includeInstance) {
@@ -1310,8 +1383,8 @@ proto.supervisor.ClearTokenResponse.prototype.toObject = function(opt_includeIns
1310
1383
 
1311
1384
  /**
1312
1385
  * Static version of the {@see toObject} method.
1313
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1314
- * instance for transitional soy proto support:
1386
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1387
+ * the JSPB instance for transitional soy proto support:
1315
1388
  * http://goto/soy-param-migration
1316
1389
  * @param {!proto.supervisor.ClearTokenResponse} msg The msg instance to transform.
1317
1390
  * @return {!Object}
@@ -1419,13 +1492,15 @@ proto.supervisor.ProvideTokenRequest.prototype.getMessageCase = function() {
1419
1492
 
1420
1493
  if (jspb.Message.GENERATE_TO_OBJECT) {
1421
1494
  /**
1422
- * Creates an object representation of this proto suitable for use in Soy templates.
1495
+ * Creates an object representation of this proto.
1423
1496
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1497
+ * Optional fields that are not set will be set to undefined.
1424
1498
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1425
1499
  * For the list of reserved names please see:
1426
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1427
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1428
- * for transitional soy proto support: http://goto/soy-param-migration
1500
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1501
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1502
+ * JSPB instance for transitional soy proto support:
1503
+ * http://goto/soy-param-migration
1429
1504
  * @return {!Object}
1430
1505
  */
1431
1506
  proto.supervisor.ProvideTokenRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1435,8 +1510,8 @@ proto.supervisor.ProvideTokenRequest.prototype.toObject = function(opt_includeIn
1435
1510
 
1436
1511
  /**
1437
1512
  * Static version of the {@see toObject} method.
1438
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1439
- * instance for transitional soy proto support:
1513
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1514
+ * the JSPB instance for transitional soy proto support:
1440
1515
  * http://goto/soy-param-migration
1441
1516
  * @param {!proto.supervisor.ProvideTokenRequest} msg The msg instance to transform.
1442
1517
  * @return {!Object}
@@ -1545,13 +1620,15 @@ proto.supervisor.ProvideTokenRequest.serializeBinaryToWriter = function(message,
1545
1620
 
1546
1621
  if (jspb.Message.GENERATE_TO_OBJECT) {
1547
1622
  /**
1548
- * Creates an object representation of this proto suitable for use in Soy templates.
1623
+ * Creates an object representation of this proto.
1549
1624
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1625
+ * Optional fields that are not set will be set to undefined.
1550
1626
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1551
1627
  * For the list of reserved names please see:
1552
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1553
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1554
- * for transitional soy proto support: http://goto/soy-param-migration
1628
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1629
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1630
+ * JSPB instance for transitional soy proto support:
1631
+ * http://goto/soy-param-migration
1555
1632
  * @return {!Object}
1556
1633
  */
1557
1634
  proto.supervisor.ProvideTokenRequest.RegisterProvider.prototype.toObject = function(opt_includeInstance) {
@@ -1561,8 +1638,8 @@ proto.supervisor.ProvideTokenRequest.RegisterProvider.prototype.toObject = funct
1561
1638
 
1562
1639
  /**
1563
1640
  * Static version of the {@see toObject} method.
1564
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1565
- * instance for transitional soy proto support:
1641
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1642
+ * the JSPB instance for transitional soy proto support:
1566
1643
  * http://goto/soy-param-migration
1567
1644
  * @param {!proto.supervisor.ProvideTokenRequest.RegisterProvider} msg The msg instance to transform.
1568
1645
  * @return {!Object}
@@ -1659,9 +1736,12 @@ proto.supervisor.ProvideTokenRequest.RegisterProvider.prototype.getKind = functi
1659
1736
  };
1660
1737
 
1661
1738
 
1662
- /** @param {string} value */
1739
+ /**
1740
+ * @param {string} value
1741
+ * @return {!proto.supervisor.ProvideTokenRequest.RegisterProvider} returns this
1742
+ */
1663
1743
  proto.supervisor.ProvideTokenRequest.RegisterProvider.prototype.setKind = function(value) {
1664
- jspb.Message.setProto3StringField(this, 1, value);
1744
+ return jspb.Message.setProto3StringField(this, 1, value);
1665
1745
  };
1666
1746
 
1667
1747
 
@@ -1675,17 +1755,21 @@ proto.supervisor.ProvideTokenRequest.prototype.getRegistration = function() {
1675
1755
  };
1676
1756
 
1677
1757
 
1678
- /** @param {?proto.supervisor.ProvideTokenRequest.RegisterProvider|undefined} value */
1758
+ /**
1759
+ * @param {?proto.supervisor.ProvideTokenRequest.RegisterProvider|undefined} value
1760
+ * @return {!proto.supervisor.ProvideTokenRequest} returns this
1761
+ */
1679
1762
  proto.supervisor.ProvideTokenRequest.prototype.setRegistration = function(value) {
1680
- jspb.Message.setOneofWrapperField(this, 1, proto.supervisor.ProvideTokenRequest.oneofGroups_[0], value);
1763
+ return jspb.Message.setOneofWrapperField(this, 1, proto.supervisor.ProvideTokenRequest.oneofGroups_[0], value);
1681
1764
  };
1682
1765
 
1683
1766
 
1684
1767
  /**
1685
1768
  * Clears the message field making it undefined.
1769
+ * @return {!proto.supervisor.ProvideTokenRequest} returns this
1686
1770
  */
1687
1771
  proto.supervisor.ProvideTokenRequest.prototype.clearRegistration = function() {
1688
- this.setRegistration(undefined);
1772
+ return this.setRegistration(undefined);
1689
1773
  };
1690
1774
 
1691
1775
 
@@ -1708,17 +1792,21 @@ proto.supervisor.ProvideTokenRequest.prototype.getAnswer = function() {
1708
1792
  };
1709
1793
 
1710
1794
 
1711
- /** @param {?proto.supervisor.SetTokenRequest|undefined} value */
1795
+ /**
1796
+ * @param {?proto.supervisor.SetTokenRequest|undefined} value
1797
+ * @return {!proto.supervisor.ProvideTokenRequest} returns this
1798
+ */
1712
1799
  proto.supervisor.ProvideTokenRequest.prototype.setAnswer = function(value) {
1713
- jspb.Message.setOneofWrapperField(this, 2, proto.supervisor.ProvideTokenRequest.oneofGroups_[0], value);
1800
+ return jspb.Message.setOneofWrapperField(this, 2, proto.supervisor.ProvideTokenRequest.oneofGroups_[0], value);
1714
1801
  };
1715
1802
 
1716
1803
 
1717
1804
  /**
1718
1805
  * Clears the message field making it undefined.
1806
+ * @return {!proto.supervisor.ProvideTokenRequest} returns this
1719
1807
  */
1720
1808
  proto.supervisor.ProvideTokenRequest.prototype.clearAnswer = function() {
1721
- this.setAnswer(undefined);
1809
+ return this.setAnswer(undefined);
1722
1810
  };
1723
1811
 
1724
1812
 
@@ -1736,13 +1824,15 @@ proto.supervisor.ProvideTokenRequest.prototype.hasAnswer = function() {
1736
1824
 
1737
1825
  if (jspb.Message.GENERATE_TO_OBJECT) {
1738
1826
  /**
1739
- * Creates an object representation of this proto suitable for use in Soy templates.
1827
+ * Creates an object representation of this proto.
1740
1828
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1829
+ * Optional fields that are not set will be set to undefined.
1741
1830
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1742
1831
  * For the list of reserved names please see:
1743
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1744
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1745
- * for transitional soy proto support: http://goto/soy-param-migration
1832
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1833
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1834
+ * JSPB instance for transitional soy proto support:
1835
+ * http://goto/soy-param-migration
1746
1836
  * @return {!Object}
1747
1837
  */
1748
1838
  proto.supervisor.ProvideTokenResponse.prototype.toObject = function(opt_includeInstance) {
@@ -1752,8 +1842,8 @@ proto.supervisor.ProvideTokenResponse.prototype.toObject = function(opt_includeI
1752
1842
 
1753
1843
  /**
1754
1844
  * Static version of the {@see toObject} method.
1755
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1756
- * instance for transitional soy proto support:
1845
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1846
+ * the JSPB instance for transitional soy proto support:
1757
1847
  * http://goto/soy-param-migration
1758
1848
  * @param {!proto.supervisor.ProvideTokenResponse} msg The msg instance to transform.
1759
1849
  * @return {!Object}
@@ -1853,17 +1943,21 @@ proto.supervisor.ProvideTokenResponse.prototype.getRequest = function() {
1853
1943
  };
1854
1944
 
1855
1945
 
1856
- /** @param {?proto.supervisor.GetTokenRequest|undefined} value */
1946
+ /**
1947
+ * @param {?proto.supervisor.GetTokenRequest|undefined} value
1948
+ * @return {!proto.supervisor.ProvideTokenResponse} returns this
1949
+ */
1857
1950
  proto.supervisor.ProvideTokenResponse.prototype.setRequest = function(value) {
1858
- jspb.Message.setWrapperField(this, 1, value);
1951
+ return jspb.Message.setWrapperField(this, 1, value);
1859
1952
  };
1860
1953
 
1861
1954
 
1862
1955
  /**
1863
1956
  * Clears the message field making it undefined.
1957
+ * @return {!proto.supervisor.ProvideTokenResponse} returns this
1864
1958
  */
1865
1959
  proto.supervisor.ProvideTokenResponse.prototype.clearRequest = function() {
1866
- this.setRequest(undefined);
1960
+ return this.setRequest(undefined);
1867
1961
  };
1868
1962
 
1869
1963