@gitpod/supervisor-api-grpc 0.1.5-patch-1.2 → 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.
@@ -1,29 +1,40 @@
1
+ // source: terminal.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
  goog.exportSymbol('proto.supervisor.GetTerminalRequest', null, global);
15
19
  goog.exportSymbol('proto.supervisor.ListTerminalsRequest', null, global);
16
20
  goog.exportSymbol('proto.supervisor.ListTerminalsResponse', null, global);
17
21
  goog.exportSymbol('proto.supervisor.ListenTerminalRequest', null, global);
18
22
  goog.exportSymbol('proto.supervisor.ListenTerminalResponse', null, global);
23
+ goog.exportSymbol('proto.supervisor.ListenTerminalResponse.OutputCase', null, global);
19
24
  goog.exportSymbol('proto.supervisor.OpenTerminalRequest', null, global);
20
25
  goog.exportSymbol('proto.supervisor.OpenTerminalResponse', null, global);
21
26
  goog.exportSymbol('proto.supervisor.SetTerminalSizeRequest', null, global);
27
+ goog.exportSymbol('proto.supervisor.SetTerminalSizeRequest.PriorityCase', null, global);
22
28
  goog.exportSymbol('proto.supervisor.SetTerminalSizeResponse', null, global);
29
+ goog.exportSymbol('proto.supervisor.SetTerminalTitleRequest', null, global);
30
+ goog.exportSymbol('proto.supervisor.SetTerminalTitleResponse', null, global);
23
31
  goog.exportSymbol('proto.supervisor.ShutdownTerminalRequest', null, global);
24
32
  goog.exportSymbol('proto.supervisor.ShutdownTerminalResponse', null, global);
25
33
  goog.exportSymbol('proto.supervisor.Terminal', null, global);
26
34
  goog.exportSymbol('proto.supervisor.TerminalSize', null, global);
35
+ goog.exportSymbol('proto.supervisor.TerminalTitleSource', null, global);
36
+ goog.exportSymbol('proto.supervisor.UpdateTerminalAnnotationsRequest', null, global);
37
+ goog.exportSymbol('proto.supervisor.UpdateTerminalAnnotationsResponse', null, global);
27
38
  goog.exportSymbol('proto.supervisor.WriteTerminalRequest', null, global);
28
39
  goog.exportSymbol('proto.supervisor.WriteTerminalResponse', null, global);
29
40
  /**
@@ -341,18 +352,104 @@ if (goog.DEBUG && !COMPILED) {
341
352
  */
342
353
  proto.supervisor.SetTerminalSizeResponse.displayName = 'proto.supervisor.SetTerminalSizeResponse';
343
354
  }
355
+ /**
356
+ * Generated by JsPbCodeGenerator.
357
+ * @param {Array=} opt_data Optional initial data array, typically from a
358
+ * server response, or constructed directly in Javascript. The array is used
359
+ * in place and becomes part of the constructed object. It is not cloned.
360
+ * If no data is provided, the constructed object will be empty, but still
361
+ * valid.
362
+ * @extends {jspb.Message}
363
+ * @constructor
364
+ */
365
+ proto.supervisor.SetTerminalTitleRequest = function(opt_data) {
366
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
367
+ };
368
+ goog.inherits(proto.supervisor.SetTerminalTitleRequest, jspb.Message);
369
+ if (goog.DEBUG && !COMPILED) {
370
+ /**
371
+ * @public
372
+ * @override
373
+ */
374
+ proto.supervisor.SetTerminalTitleRequest.displayName = 'proto.supervisor.SetTerminalTitleRequest';
375
+ }
376
+ /**
377
+ * Generated by JsPbCodeGenerator.
378
+ * @param {Array=} opt_data Optional initial data array, typically from a
379
+ * server response, or constructed directly in Javascript. The array is used
380
+ * in place and becomes part of the constructed object. It is not cloned.
381
+ * If no data is provided, the constructed object will be empty, but still
382
+ * valid.
383
+ * @extends {jspb.Message}
384
+ * @constructor
385
+ */
386
+ proto.supervisor.SetTerminalTitleResponse = function(opt_data) {
387
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
388
+ };
389
+ goog.inherits(proto.supervisor.SetTerminalTitleResponse, jspb.Message);
390
+ if (goog.DEBUG && !COMPILED) {
391
+ /**
392
+ * @public
393
+ * @override
394
+ */
395
+ proto.supervisor.SetTerminalTitleResponse.displayName = 'proto.supervisor.SetTerminalTitleResponse';
396
+ }
397
+ /**
398
+ * Generated by JsPbCodeGenerator.
399
+ * @param {Array=} opt_data Optional initial data array, typically from a
400
+ * server response, or constructed directly in Javascript. The array is used
401
+ * in place and becomes part of the constructed object. It is not cloned.
402
+ * If no data is provided, the constructed object will be empty, but still
403
+ * valid.
404
+ * @extends {jspb.Message}
405
+ * @constructor
406
+ */
407
+ proto.supervisor.UpdateTerminalAnnotationsRequest = function(opt_data) {
408
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.supervisor.UpdateTerminalAnnotationsRequest.repeatedFields_, null);
409
+ };
410
+ goog.inherits(proto.supervisor.UpdateTerminalAnnotationsRequest, jspb.Message);
411
+ if (goog.DEBUG && !COMPILED) {
412
+ /**
413
+ * @public
414
+ * @override
415
+ */
416
+ proto.supervisor.UpdateTerminalAnnotationsRequest.displayName = 'proto.supervisor.UpdateTerminalAnnotationsRequest';
417
+ }
418
+ /**
419
+ * Generated by JsPbCodeGenerator.
420
+ * @param {Array=} opt_data Optional initial data array, typically from a
421
+ * server response, or constructed directly in Javascript. The array is used
422
+ * in place and becomes part of the constructed object. It is not cloned.
423
+ * If no data is provided, the constructed object will be empty, but still
424
+ * valid.
425
+ * @extends {jspb.Message}
426
+ * @constructor
427
+ */
428
+ proto.supervisor.UpdateTerminalAnnotationsResponse = function(opt_data) {
429
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
430
+ };
431
+ goog.inherits(proto.supervisor.UpdateTerminalAnnotationsResponse, jspb.Message);
432
+ if (goog.DEBUG && !COMPILED) {
433
+ /**
434
+ * @public
435
+ * @override
436
+ */
437
+ proto.supervisor.UpdateTerminalAnnotationsResponse.displayName = 'proto.supervisor.UpdateTerminalAnnotationsResponse';
438
+ }
344
439
 
345
440
 
346
441
 
347
442
  if (jspb.Message.GENERATE_TO_OBJECT) {
348
443
  /**
349
- * Creates an object representation of this proto suitable for use in Soy templates.
444
+ * Creates an object representation of this proto.
350
445
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
446
+ * Optional fields that are not set will be set to undefined.
351
447
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
352
448
  * For the list of reserved names please see:
353
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
354
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
355
- * for transitional soy proto support: http://goto/soy-param-migration
449
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
450
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
451
+ * JSPB instance for transitional soy proto support:
452
+ * http://goto/soy-param-migration
356
453
  * @return {!Object}
357
454
  */
358
455
  proto.supervisor.TerminalSize.prototype.toObject = function(opt_includeInstance) {
@@ -362,8 +459,8 @@ proto.supervisor.TerminalSize.prototype.toObject = function(opt_includeInstance)
362
459
 
363
460
  /**
364
461
  * Static version of the {@see toObject} method.
365
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
366
- * instance for transitional soy proto support:
462
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
463
+ * the JSPB instance for transitional soy proto support:
367
464
  * http://goto/soy-param-migration
368
465
  * @param {!proto.supervisor.TerminalSize} msg The msg instance to transform.
369
466
  * @return {!Object}
@@ -496,9 +593,12 @@ proto.supervisor.TerminalSize.prototype.getRows = function() {
496
593
  };
497
594
 
498
595
 
499
- /** @param {number} value */
596
+ /**
597
+ * @param {number} value
598
+ * @return {!proto.supervisor.TerminalSize} returns this
599
+ */
500
600
  proto.supervisor.TerminalSize.prototype.setRows = function(value) {
501
- jspb.Message.setProto3IntField(this, 1, value);
601
+ return jspb.Message.setProto3IntField(this, 1, value);
502
602
  };
503
603
 
504
604
 
@@ -511,9 +611,12 @@ proto.supervisor.TerminalSize.prototype.getCols = function() {
511
611
  };
512
612
 
513
613
 
514
- /** @param {number} value */
614
+ /**
615
+ * @param {number} value
616
+ * @return {!proto.supervisor.TerminalSize} returns this
617
+ */
515
618
  proto.supervisor.TerminalSize.prototype.setCols = function(value) {
516
- jspb.Message.setProto3IntField(this, 2, value);
619
+ return jspb.Message.setProto3IntField(this, 2, value);
517
620
  };
518
621
 
519
622
 
@@ -526,9 +629,12 @@ proto.supervisor.TerminalSize.prototype.getWidthpx = function() {
526
629
  };
527
630
 
528
631
 
529
- /** @param {number} value */
632
+ /**
633
+ * @param {number} value
634
+ * @return {!proto.supervisor.TerminalSize} returns this
635
+ */
530
636
  proto.supervisor.TerminalSize.prototype.setWidthpx = function(value) {
531
- jspb.Message.setProto3IntField(this, 3, value);
637
+ return jspb.Message.setProto3IntField(this, 3, value);
532
638
  };
533
639
 
534
640
 
@@ -541,9 +647,12 @@ proto.supervisor.TerminalSize.prototype.getHeightpx = function() {
541
647
  };
542
648
 
543
649
 
544
- /** @param {number} value */
650
+ /**
651
+ * @param {number} value
652
+ * @return {!proto.supervisor.TerminalSize} returns this
653
+ */
545
654
  proto.supervisor.TerminalSize.prototype.setHeightpx = function(value) {
546
- jspb.Message.setProto3IntField(this, 4, value);
655
+ return jspb.Message.setProto3IntField(this, 4, value);
547
656
  };
548
657
 
549
658
 
@@ -559,13 +668,15 @@ proto.supervisor.OpenTerminalRequest.repeatedFields_ = [5];
559
668
 
560
669
  if (jspb.Message.GENERATE_TO_OBJECT) {
561
670
  /**
562
- * Creates an object representation of this proto suitable for use in Soy templates.
671
+ * Creates an object representation of this proto.
563
672
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
673
+ * Optional fields that are not set will be set to undefined.
564
674
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
565
675
  * For the list of reserved names please see:
566
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
567
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
568
- * for transitional soy proto support: http://goto/soy-param-migration
676
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
677
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
678
+ * JSPB instance for transitional soy proto support:
679
+ * http://goto/soy-param-migration
569
680
  * @return {!Object}
570
681
  */
571
682
  proto.supervisor.OpenTerminalRequest.prototype.toObject = function(opt_includeInstance) {
@@ -575,8 +686,8 @@ proto.supervisor.OpenTerminalRequest.prototype.toObject = function(opt_includeIn
575
686
 
576
687
  /**
577
688
  * Static version of the {@see toObject} method.
578
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
579
- * instance for transitional soy proto support:
689
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
690
+ * the JSPB instance for transitional soy proto support:
580
691
  * http://goto/soy-param-migration
581
692
  * @param {!proto.supervisor.OpenTerminalRequest} msg The msg instance to transform.
582
693
  * @return {!Object}
@@ -588,7 +699,7 @@ proto.supervisor.OpenTerminalRequest.toObject = function(includeInstance, msg) {
588
699
  envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [],
589
700
  annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [],
590
701
  shell: jspb.Message.getFieldWithDefault(msg, 4, ""),
591
- shellArgsList: jspb.Message.getRepeatedField(msg, 5),
702
+ shellArgsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
592
703
  size: (f = msg.getSize()) && proto.supervisor.TerminalSize.toObject(includeInstance, f)
593
704
  };
594
705
 
@@ -633,13 +744,13 @@ proto.supervisor.OpenTerminalRequest.deserializeBinaryFromReader = function(msg,
633
744
  case 2:
634
745
  var value = msg.getEnvMap();
635
746
  reader.readMessage(value, function(message, reader) {
636
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "");
747
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
637
748
  });
638
749
  break;
639
750
  case 3:
640
751
  var value = msg.getAnnotationsMap();
641
752
  reader.readMessage(value, function(message, reader) {
642
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "");
753
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
643
754
  });
644
755
  break;
645
756
  case 4:
@@ -733,9 +844,12 @@ proto.supervisor.OpenTerminalRequest.prototype.getWorkdir = function() {
733
844
  };
734
845
 
735
846
 
736
- /** @param {string} value */
847
+ /**
848
+ * @param {string} value
849
+ * @return {!proto.supervisor.OpenTerminalRequest} returns this
850
+ */
737
851
  proto.supervisor.OpenTerminalRequest.prototype.setWorkdir = function(value) {
738
- jspb.Message.setProto3StringField(this, 1, value);
852
+ return jspb.Message.setProto3StringField(this, 1, value);
739
853
  };
740
854
 
741
855
 
@@ -754,10 +868,11 @@ proto.supervisor.OpenTerminalRequest.prototype.getEnvMap = function(opt_noLazyCr
754
868
 
755
869
  /**
756
870
  * Clears values from the map. The map will be non-null.
871
+ * @return {!proto.supervisor.OpenTerminalRequest} returns this
757
872
  */
758
873
  proto.supervisor.OpenTerminalRequest.prototype.clearEnvMap = function() {
759
874
  this.getEnvMap().clear();
760
- };
875
+ return this;};
761
876
 
762
877
 
763
878
  /**
@@ -775,10 +890,11 @@ proto.supervisor.OpenTerminalRequest.prototype.getAnnotationsMap = function(opt_
775
890
 
776
891
  /**
777
892
  * Clears values from the map. The map will be non-null.
893
+ * @return {!proto.supervisor.OpenTerminalRequest} returns this
778
894
  */
779
895
  proto.supervisor.OpenTerminalRequest.prototype.clearAnnotationsMap = function() {
780
896
  this.getAnnotationsMap().clear();
781
- };
897
+ return this;};
782
898
 
783
899
 
784
900
  /**
@@ -790,9 +906,12 @@ proto.supervisor.OpenTerminalRequest.prototype.getShell = function() {
790
906
  };
791
907
 
792
908
 
793
- /** @param {string} value */
909
+ /**
910
+ * @param {string} value
911
+ * @return {!proto.supervisor.OpenTerminalRequest} returns this
912
+ */
794
913
  proto.supervisor.OpenTerminalRequest.prototype.setShell = function(value) {
795
- jspb.Message.setProto3StringField(this, 4, value);
914
+ return jspb.Message.setProto3StringField(this, 4, value);
796
915
  };
797
916
 
798
917
 
@@ -805,26 +924,31 @@ proto.supervisor.OpenTerminalRequest.prototype.getShellArgsList = function() {
805
924
  };
806
925
 
807
926
 
808
- /** @param {!Array<string>} value */
927
+ /**
928
+ * @param {!Array<string>} value
929
+ * @return {!proto.supervisor.OpenTerminalRequest} returns this
930
+ */
809
931
  proto.supervisor.OpenTerminalRequest.prototype.setShellArgsList = function(value) {
810
- jspb.Message.setField(this, 5, value || []);
932
+ return jspb.Message.setField(this, 5, value || []);
811
933
  };
812
934
 
813
935
 
814
936
  /**
815
937
  * @param {string} value
816
938
  * @param {number=} opt_index
939
+ * @return {!proto.supervisor.OpenTerminalRequest} returns this
817
940
  */
818
941
  proto.supervisor.OpenTerminalRequest.prototype.addShellArgs = function(value, opt_index) {
819
- jspb.Message.addToRepeatedField(this, 5, value, opt_index);
942
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
820
943
  };
821
944
 
822
945
 
823
946
  /**
824
947
  * Clears the list making it empty but non-null.
948
+ * @return {!proto.supervisor.OpenTerminalRequest} returns this
825
949
  */
826
950
  proto.supervisor.OpenTerminalRequest.prototype.clearShellArgsList = function() {
827
- this.setShellArgsList([]);
951
+ return this.setShellArgsList([]);
828
952
  };
829
953
 
830
954
 
@@ -838,17 +962,21 @@ proto.supervisor.OpenTerminalRequest.prototype.getSize = function() {
838
962
  };
839
963
 
840
964
 
841
- /** @param {?proto.supervisor.TerminalSize|undefined} value */
965
+ /**
966
+ * @param {?proto.supervisor.TerminalSize|undefined} value
967
+ * @return {!proto.supervisor.OpenTerminalRequest} returns this
968
+ */
842
969
  proto.supervisor.OpenTerminalRequest.prototype.setSize = function(value) {
843
- jspb.Message.setWrapperField(this, 6, value);
970
+ return jspb.Message.setWrapperField(this, 6, value);
844
971
  };
845
972
 
846
973
 
847
974
  /**
848
975
  * Clears the message field making it undefined.
976
+ * @return {!proto.supervisor.OpenTerminalRequest} returns this
849
977
  */
850
978
  proto.supervisor.OpenTerminalRequest.prototype.clearSize = function() {
851
- this.setSize(undefined);
979
+ return this.setSize(undefined);
852
980
  };
853
981
 
854
982
 
@@ -866,13 +994,15 @@ proto.supervisor.OpenTerminalRequest.prototype.hasSize = function() {
866
994
 
867
995
  if (jspb.Message.GENERATE_TO_OBJECT) {
868
996
  /**
869
- * Creates an object representation of this proto suitable for use in Soy templates.
997
+ * Creates an object representation of this proto.
870
998
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
999
+ * Optional fields that are not set will be set to undefined.
871
1000
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
872
1001
  * For the list of reserved names please see:
873
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
874
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
875
- * for transitional soy proto support: http://goto/soy-param-migration
1002
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1003
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1004
+ * JSPB instance for transitional soy proto support:
1005
+ * http://goto/soy-param-migration
876
1006
  * @return {!Object}
877
1007
  */
878
1008
  proto.supervisor.OpenTerminalResponse.prototype.toObject = function(opt_includeInstance) {
@@ -882,8 +1012,8 @@ proto.supervisor.OpenTerminalResponse.prototype.toObject = function(opt_includeI
882
1012
 
883
1013
  /**
884
1014
  * Static version of the {@see toObject} method.
885
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
886
- * instance for transitional soy proto support:
1015
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1016
+ * the JSPB instance for transitional soy proto support:
887
1017
  * http://goto/soy-param-migration
888
1018
  * @param {!proto.supervisor.OpenTerminalResponse} msg The msg instance to transform.
889
1019
  * @return {!Object}
@@ -995,17 +1125,21 @@ proto.supervisor.OpenTerminalResponse.prototype.getTerminal = function() {
995
1125
  };
996
1126
 
997
1127
 
998
- /** @param {?proto.supervisor.Terminal|undefined} value */
1128
+ /**
1129
+ * @param {?proto.supervisor.Terminal|undefined} value
1130
+ * @return {!proto.supervisor.OpenTerminalResponse} returns this
1131
+ */
999
1132
  proto.supervisor.OpenTerminalResponse.prototype.setTerminal = function(value) {
1000
- jspb.Message.setWrapperField(this, 1, value);
1133
+ return jspb.Message.setWrapperField(this, 1, value);
1001
1134
  };
1002
1135
 
1003
1136
 
1004
1137
  /**
1005
1138
  * Clears the message field making it undefined.
1139
+ * @return {!proto.supervisor.OpenTerminalResponse} returns this
1006
1140
  */
1007
1141
  proto.supervisor.OpenTerminalResponse.prototype.clearTerminal = function() {
1008
- this.setTerminal(undefined);
1142
+ return this.setTerminal(undefined);
1009
1143
  };
1010
1144
 
1011
1145
 
@@ -1027,9 +1161,12 @@ proto.supervisor.OpenTerminalResponse.prototype.getStarterToken = function() {
1027
1161
  };
1028
1162
 
1029
1163
 
1030
- /** @param {string} value */
1164
+ /**
1165
+ * @param {string} value
1166
+ * @return {!proto.supervisor.OpenTerminalResponse} returns this
1167
+ */
1031
1168
  proto.supervisor.OpenTerminalResponse.prototype.setStarterToken = function(value) {
1032
- jspb.Message.setProto3StringField(this, 2, value);
1169
+ return jspb.Message.setProto3StringField(this, 2, value);
1033
1170
  };
1034
1171
 
1035
1172
 
@@ -1038,13 +1175,15 @@ proto.supervisor.OpenTerminalResponse.prototype.setStarterToken = function(value
1038
1175
 
1039
1176
  if (jspb.Message.GENERATE_TO_OBJECT) {
1040
1177
  /**
1041
- * Creates an object representation of this proto suitable for use in Soy templates.
1178
+ * Creates an object representation of this proto.
1042
1179
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1180
+ * Optional fields that are not set will be set to undefined.
1043
1181
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1044
1182
  * For the list of reserved names please see:
1045
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1046
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1047
- * for transitional soy proto support: http://goto/soy-param-migration
1183
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1184
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1185
+ * JSPB instance for transitional soy proto support:
1186
+ * http://goto/soy-param-migration
1048
1187
  * @return {!Object}
1049
1188
  */
1050
1189
  proto.supervisor.ShutdownTerminalRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1054,8 +1193,8 @@ proto.supervisor.ShutdownTerminalRequest.prototype.toObject = function(opt_inclu
1054
1193
 
1055
1194
  /**
1056
1195
  * Static version of the {@see toObject} method.
1057
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1058
- * instance for transitional soy proto support:
1196
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1197
+ * the JSPB instance for transitional soy proto support:
1059
1198
  * http://goto/soy-param-migration
1060
1199
  * @param {!proto.supervisor.ShutdownTerminalRequest} msg The msg instance to transform.
1061
1200
  * @return {!Object}
@@ -1152,9 +1291,12 @@ proto.supervisor.ShutdownTerminalRequest.prototype.getAlias = function() {
1152
1291
  };
1153
1292
 
1154
1293
 
1155
- /** @param {string} value */
1294
+ /**
1295
+ * @param {string} value
1296
+ * @return {!proto.supervisor.ShutdownTerminalRequest} returns this
1297
+ */
1156
1298
  proto.supervisor.ShutdownTerminalRequest.prototype.setAlias = function(value) {
1157
- jspb.Message.setProto3StringField(this, 1, value);
1299
+ return jspb.Message.setProto3StringField(this, 1, value);
1158
1300
  };
1159
1301
 
1160
1302
 
@@ -1163,13 +1305,15 @@ proto.supervisor.ShutdownTerminalRequest.prototype.setAlias = function(value) {
1163
1305
 
1164
1306
  if (jspb.Message.GENERATE_TO_OBJECT) {
1165
1307
  /**
1166
- * Creates an object representation of this proto suitable for use in Soy templates.
1308
+ * Creates an object representation of this proto.
1167
1309
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1310
+ * Optional fields that are not set will be set to undefined.
1168
1311
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1169
1312
  * For the list of reserved names please see:
1170
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1171
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1172
- * for transitional soy proto support: http://goto/soy-param-migration
1313
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1314
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1315
+ * JSPB instance for transitional soy proto support:
1316
+ * http://goto/soy-param-migration
1173
1317
  * @return {!Object}
1174
1318
  */
1175
1319
  proto.supervisor.ShutdownTerminalResponse.prototype.toObject = function(opt_includeInstance) {
@@ -1179,8 +1323,8 @@ proto.supervisor.ShutdownTerminalResponse.prototype.toObject = function(opt_incl
1179
1323
 
1180
1324
  /**
1181
1325
  * Static version of the {@see toObject} method.
1182
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1183
- * instance for transitional soy proto support:
1326
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1327
+ * the JSPB instance for transitional soy proto support:
1184
1328
  * http://goto/soy-param-migration
1185
1329
  * @param {!proto.supervisor.ShutdownTerminalResponse} msg The msg instance to transform.
1186
1330
  * @return {!Object}
@@ -1269,13 +1413,15 @@ proto.supervisor.Terminal.repeatedFields_ = [2];
1269
1413
 
1270
1414
  if (jspb.Message.GENERATE_TO_OBJECT) {
1271
1415
  /**
1272
- * Creates an object representation of this proto suitable for use in Soy templates.
1416
+ * Creates an object representation of this proto.
1273
1417
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1418
+ * Optional fields that are not set will be set to undefined.
1274
1419
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1275
1420
  * For the list of reserved names please see:
1276
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1277
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1278
- * for transitional soy proto support: http://goto/soy-param-migration
1421
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1422
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1423
+ * JSPB instance for transitional soy proto support:
1424
+ * http://goto/soy-param-migration
1279
1425
  * @return {!Object}
1280
1426
  */
1281
1427
  proto.supervisor.Terminal.prototype.toObject = function(opt_includeInstance) {
@@ -1285,8 +1431,8 @@ proto.supervisor.Terminal.prototype.toObject = function(opt_includeInstance) {
1285
1431
 
1286
1432
  /**
1287
1433
  * Static version of the {@see toObject} method.
1288
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1289
- * instance for transitional soy proto support:
1434
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1435
+ * the JSPB instance for transitional soy proto support:
1290
1436
  * http://goto/soy-param-migration
1291
1437
  * @param {!proto.supervisor.Terminal} msg The msg instance to transform.
1292
1438
  * @return {!Object}
@@ -1295,12 +1441,13 @@ proto.supervisor.Terminal.prototype.toObject = function(opt_includeInstance) {
1295
1441
  proto.supervisor.Terminal.toObject = function(includeInstance, msg) {
1296
1442
  var f, obj = {
1297
1443
  alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
1298
- commandList: jspb.Message.getRepeatedField(msg, 2),
1444
+ commandList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
1299
1445
  title: jspb.Message.getFieldWithDefault(msg, 3, ""),
1300
1446
  pid: jspb.Message.getFieldWithDefault(msg, 4, 0),
1301
1447
  initialWorkdir: jspb.Message.getFieldWithDefault(msg, 5, ""),
1302
1448
  currentWorkdir: jspb.Message.getFieldWithDefault(msg, 6, ""),
1303
- annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : []
1449
+ annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [],
1450
+ titleSource: jspb.Message.getFieldWithDefault(msg, 8, 0)
1304
1451
  };
1305
1452
 
1306
1453
  if (includeInstance) {
@@ -1364,9 +1511,13 @@ proto.supervisor.Terminal.deserializeBinaryFromReader = function(msg, reader) {
1364
1511
  case 7:
1365
1512
  var value = msg.getAnnotationsMap();
1366
1513
  reader.readMessage(value, function(message, reader) {
1367
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "");
1514
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
1368
1515
  });
1369
1516
  break;
1517
+ case 8:
1518
+ var value = /** @type {!proto.supervisor.TerminalTitleSource} */ (reader.readEnum());
1519
+ msg.setTitleSource(value);
1520
+ break;
1370
1521
  default:
1371
1522
  reader.skipField();
1372
1523
  break;
@@ -1442,6 +1593,13 @@ proto.supervisor.Terminal.serializeBinaryToWriter = function(message, writer) {
1442
1593
  if (f && f.getLength() > 0) {
1443
1594
  f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
1444
1595
  }
1596
+ f = message.getTitleSource();
1597
+ if (f !== 0.0) {
1598
+ writer.writeEnum(
1599
+ 8,
1600
+ f
1601
+ );
1602
+ }
1445
1603
  };
1446
1604
 
1447
1605
 
@@ -1454,9 +1612,12 @@ proto.supervisor.Terminal.prototype.getAlias = function() {
1454
1612
  };
1455
1613
 
1456
1614
 
1457
- /** @param {string} value */
1615
+ /**
1616
+ * @param {string} value
1617
+ * @return {!proto.supervisor.Terminal} returns this
1618
+ */
1458
1619
  proto.supervisor.Terminal.prototype.setAlias = function(value) {
1459
- jspb.Message.setProto3StringField(this, 1, value);
1620
+ return jspb.Message.setProto3StringField(this, 1, value);
1460
1621
  };
1461
1622
 
1462
1623
 
@@ -1469,26 +1630,31 @@ proto.supervisor.Terminal.prototype.getCommandList = function() {
1469
1630
  };
1470
1631
 
1471
1632
 
1472
- /** @param {!Array<string>} value */
1633
+ /**
1634
+ * @param {!Array<string>} value
1635
+ * @return {!proto.supervisor.Terminal} returns this
1636
+ */
1473
1637
  proto.supervisor.Terminal.prototype.setCommandList = function(value) {
1474
- jspb.Message.setField(this, 2, value || []);
1638
+ return jspb.Message.setField(this, 2, value || []);
1475
1639
  };
1476
1640
 
1477
1641
 
1478
1642
  /**
1479
1643
  * @param {string} value
1480
1644
  * @param {number=} opt_index
1645
+ * @return {!proto.supervisor.Terminal} returns this
1481
1646
  */
1482
1647
  proto.supervisor.Terminal.prototype.addCommand = function(value, opt_index) {
1483
- jspb.Message.addToRepeatedField(this, 2, value, opt_index);
1648
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
1484
1649
  };
1485
1650
 
1486
1651
 
1487
1652
  /**
1488
1653
  * Clears the list making it empty but non-null.
1654
+ * @return {!proto.supervisor.Terminal} returns this
1489
1655
  */
1490
1656
  proto.supervisor.Terminal.prototype.clearCommandList = function() {
1491
- this.setCommandList([]);
1657
+ return this.setCommandList([]);
1492
1658
  };
1493
1659
 
1494
1660
 
@@ -1501,9 +1667,12 @@ proto.supervisor.Terminal.prototype.getTitle = function() {
1501
1667
  };
1502
1668
 
1503
1669
 
1504
- /** @param {string} value */
1670
+ /**
1671
+ * @param {string} value
1672
+ * @return {!proto.supervisor.Terminal} returns this
1673
+ */
1505
1674
  proto.supervisor.Terminal.prototype.setTitle = function(value) {
1506
- jspb.Message.setProto3StringField(this, 3, value);
1675
+ return jspb.Message.setProto3StringField(this, 3, value);
1507
1676
  };
1508
1677
 
1509
1678
 
@@ -1516,9 +1685,12 @@ proto.supervisor.Terminal.prototype.getPid = function() {
1516
1685
  };
1517
1686
 
1518
1687
 
1519
- /** @param {number} value */
1688
+ /**
1689
+ * @param {number} value
1690
+ * @return {!proto.supervisor.Terminal} returns this
1691
+ */
1520
1692
  proto.supervisor.Terminal.prototype.setPid = function(value) {
1521
- jspb.Message.setProto3IntField(this, 4, value);
1693
+ return jspb.Message.setProto3IntField(this, 4, value);
1522
1694
  };
1523
1695
 
1524
1696
 
@@ -1531,9 +1703,12 @@ proto.supervisor.Terminal.prototype.getInitialWorkdir = function() {
1531
1703
  };
1532
1704
 
1533
1705
 
1534
- /** @param {string} value */
1706
+ /**
1707
+ * @param {string} value
1708
+ * @return {!proto.supervisor.Terminal} returns this
1709
+ */
1535
1710
  proto.supervisor.Terminal.prototype.setInitialWorkdir = function(value) {
1536
- jspb.Message.setProto3StringField(this, 5, value);
1711
+ return jspb.Message.setProto3StringField(this, 5, value);
1537
1712
  };
1538
1713
 
1539
1714
 
@@ -1546,9 +1721,12 @@ proto.supervisor.Terminal.prototype.getCurrentWorkdir = function() {
1546
1721
  };
1547
1722
 
1548
1723
 
1549
- /** @param {string} value */
1724
+ /**
1725
+ * @param {string} value
1726
+ * @return {!proto.supervisor.Terminal} returns this
1727
+ */
1550
1728
  proto.supervisor.Terminal.prototype.setCurrentWorkdir = function(value) {
1551
- jspb.Message.setProto3StringField(this, 6, value);
1729
+ return jspb.Message.setProto3StringField(this, 6, value);
1552
1730
  };
1553
1731
 
1554
1732
 
@@ -1567,9 +1745,28 @@ proto.supervisor.Terminal.prototype.getAnnotationsMap = function(opt_noLazyCreat
1567
1745
 
1568
1746
  /**
1569
1747
  * Clears values from the map. The map will be non-null.
1748
+ * @return {!proto.supervisor.Terminal} returns this
1570
1749
  */
1571
1750
  proto.supervisor.Terminal.prototype.clearAnnotationsMap = function() {
1572
1751
  this.getAnnotationsMap().clear();
1752
+ return this;};
1753
+
1754
+
1755
+ /**
1756
+ * optional TerminalTitleSource title_source = 8;
1757
+ * @return {!proto.supervisor.TerminalTitleSource}
1758
+ */
1759
+ proto.supervisor.Terminal.prototype.getTitleSource = function() {
1760
+ return /** @type {!proto.supervisor.TerminalTitleSource} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
1761
+ };
1762
+
1763
+
1764
+ /**
1765
+ * @param {!proto.supervisor.TerminalTitleSource} value
1766
+ * @return {!proto.supervisor.Terminal} returns this
1767
+ */
1768
+ proto.supervisor.Terminal.prototype.setTitleSource = function(value) {
1769
+ return jspb.Message.setProto3EnumField(this, 8, value);
1573
1770
  };
1574
1771
 
1575
1772
 
@@ -1578,13 +1775,15 @@ proto.supervisor.Terminal.prototype.clearAnnotationsMap = function() {
1578
1775
 
1579
1776
  if (jspb.Message.GENERATE_TO_OBJECT) {
1580
1777
  /**
1581
- * Creates an object representation of this proto suitable for use in Soy templates.
1778
+ * Creates an object representation of this proto.
1582
1779
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1780
+ * Optional fields that are not set will be set to undefined.
1583
1781
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1584
1782
  * For the list of reserved names please see:
1585
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1586
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1587
- * for transitional soy proto support: http://goto/soy-param-migration
1783
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1784
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1785
+ * JSPB instance for transitional soy proto support:
1786
+ * http://goto/soy-param-migration
1588
1787
  * @return {!Object}
1589
1788
  */
1590
1789
  proto.supervisor.GetTerminalRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1594,8 +1793,8 @@ proto.supervisor.GetTerminalRequest.prototype.toObject = function(opt_includeIns
1594
1793
 
1595
1794
  /**
1596
1795
  * Static version of the {@see toObject} method.
1597
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1598
- * instance for transitional soy proto support:
1796
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1797
+ * the JSPB instance for transitional soy proto support:
1599
1798
  * http://goto/soy-param-migration
1600
1799
  * @param {!proto.supervisor.GetTerminalRequest} msg The msg instance to transform.
1601
1800
  * @return {!Object}
@@ -1692,9 +1891,12 @@ proto.supervisor.GetTerminalRequest.prototype.getAlias = function() {
1692
1891
  };
1693
1892
 
1694
1893
 
1695
- /** @param {string} value */
1894
+ /**
1895
+ * @param {string} value
1896
+ * @return {!proto.supervisor.GetTerminalRequest} returns this
1897
+ */
1696
1898
  proto.supervisor.GetTerminalRequest.prototype.setAlias = function(value) {
1697
- jspb.Message.setProto3StringField(this, 1, value);
1899
+ return jspb.Message.setProto3StringField(this, 1, value);
1698
1900
  };
1699
1901
 
1700
1902
 
@@ -1703,13 +1905,15 @@ proto.supervisor.GetTerminalRequest.prototype.setAlias = function(value) {
1703
1905
 
1704
1906
  if (jspb.Message.GENERATE_TO_OBJECT) {
1705
1907
  /**
1706
- * Creates an object representation of this proto suitable for use in Soy templates.
1908
+ * Creates an object representation of this proto.
1707
1909
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1910
+ * Optional fields that are not set will be set to undefined.
1708
1911
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1709
1912
  * For the list of reserved names please see:
1710
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1711
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1712
- * for transitional soy proto support: http://goto/soy-param-migration
1913
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1914
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1915
+ * JSPB instance for transitional soy proto support:
1916
+ * http://goto/soy-param-migration
1713
1917
  * @return {!Object}
1714
1918
  */
1715
1919
  proto.supervisor.ListTerminalsRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1719,8 +1923,8 @@ proto.supervisor.ListTerminalsRequest.prototype.toObject = function(opt_includeI
1719
1923
 
1720
1924
  /**
1721
1925
  * Static version of the {@see toObject} method.
1722
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1723
- * instance for transitional soy proto support:
1926
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1927
+ * the JSPB instance for transitional soy proto support:
1724
1928
  * http://goto/soy-param-migration
1725
1929
  * @param {!proto.supervisor.ListTerminalsRequest} msg The msg instance to transform.
1726
1930
  * @return {!Object}
@@ -1809,13 +2013,15 @@ proto.supervisor.ListTerminalsResponse.repeatedFields_ = [1];
1809
2013
 
1810
2014
  if (jspb.Message.GENERATE_TO_OBJECT) {
1811
2015
  /**
1812
- * Creates an object representation of this proto suitable for use in Soy templates.
2016
+ * Creates an object representation of this proto.
1813
2017
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2018
+ * Optional fields that are not set will be set to undefined.
1814
2019
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1815
2020
  * For the list of reserved names please see:
1816
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1817
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1818
- * for transitional soy proto support: http://goto/soy-param-migration
2021
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2022
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2023
+ * JSPB instance for transitional soy proto support:
2024
+ * http://goto/soy-param-migration
1819
2025
  * @return {!Object}
1820
2026
  */
1821
2027
  proto.supervisor.ListTerminalsResponse.prototype.toObject = function(opt_includeInstance) {
@@ -1825,8 +2031,8 @@ proto.supervisor.ListTerminalsResponse.prototype.toObject = function(opt_include
1825
2031
 
1826
2032
  /**
1827
2033
  * Static version of the {@see toObject} method.
1828
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1829
- * instance for transitional soy proto support:
2034
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2035
+ * the JSPB instance for transitional soy proto support:
1830
2036
  * http://goto/soy-param-migration
1831
2037
  * @param {!proto.supervisor.ListTerminalsResponse} msg The msg instance to transform.
1832
2038
  * @return {!Object}
@@ -1927,9 +2133,12 @@ proto.supervisor.ListTerminalsResponse.prototype.getTerminalsList = function() {
1927
2133
  };
1928
2134
 
1929
2135
 
1930
- /** @param {!Array<!proto.supervisor.Terminal>} value */
2136
+ /**
2137
+ * @param {!Array<!proto.supervisor.Terminal>} value
2138
+ * @return {!proto.supervisor.ListTerminalsResponse} returns this
2139
+ */
1931
2140
  proto.supervisor.ListTerminalsResponse.prototype.setTerminalsList = function(value) {
1932
- jspb.Message.setRepeatedWrapperField(this, 1, value);
2141
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1933
2142
  };
1934
2143
 
1935
2144
 
@@ -1945,9 +2154,10 @@ proto.supervisor.ListTerminalsResponse.prototype.addTerminals = function(opt_val
1945
2154
 
1946
2155
  /**
1947
2156
  * Clears the list making it empty but non-null.
2157
+ * @return {!proto.supervisor.ListTerminalsResponse} returns this
1948
2158
  */
1949
2159
  proto.supervisor.ListTerminalsResponse.prototype.clearTerminalsList = function() {
1950
- this.setTerminalsList([]);
2160
+ return this.setTerminalsList([]);
1951
2161
  };
1952
2162
 
1953
2163
 
@@ -1956,13 +2166,15 @@ proto.supervisor.ListTerminalsResponse.prototype.clearTerminalsList = function()
1956
2166
 
1957
2167
  if (jspb.Message.GENERATE_TO_OBJECT) {
1958
2168
  /**
1959
- * Creates an object representation of this proto suitable for use in Soy templates.
2169
+ * Creates an object representation of this proto.
1960
2170
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2171
+ * Optional fields that are not set will be set to undefined.
1961
2172
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1962
2173
  * For the list of reserved names please see:
1963
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1964
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1965
- * for transitional soy proto support: http://goto/soy-param-migration
2174
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2175
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2176
+ * JSPB instance for transitional soy proto support:
2177
+ * http://goto/soy-param-migration
1966
2178
  * @return {!Object}
1967
2179
  */
1968
2180
  proto.supervisor.ListenTerminalRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1972,8 +2184,8 @@ proto.supervisor.ListenTerminalRequest.prototype.toObject = function(opt_include
1972
2184
 
1973
2185
  /**
1974
2186
  * Static version of the {@see toObject} method.
1975
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1976
- * instance for transitional soy proto support:
2187
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2188
+ * the JSPB instance for transitional soy proto support:
1977
2189
  * http://goto/soy-param-migration
1978
2190
  * @param {!proto.supervisor.ListenTerminalRequest} msg The msg instance to transform.
1979
2191
  * @return {!Object}
@@ -2070,9 +2282,12 @@ proto.supervisor.ListenTerminalRequest.prototype.getAlias = function() {
2070
2282
  };
2071
2283
 
2072
2284
 
2073
- /** @param {string} value */
2285
+ /**
2286
+ * @param {string} value
2287
+ * @return {!proto.supervisor.ListenTerminalRequest} returns this
2288
+ */
2074
2289
  proto.supervisor.ListenTerminalRequest.prototype.setAlias = function(value) {
2075
- jspb.Message.setProto3StringField(this, 1, value);
2290
+ return jspb.Message.setProto3StringField(this, 1, value);
2076
2291
  };
2077
2292
 
2078
2293
 
@@ -2108,13 +2323,15 @@ proto.supervisor.ListenTerminalResponse.prototype.getOutputCase = function() {
2108
2323
 
2109
2324
  if (jspb.Message.GENERATE_TO_OBJECT) {
2110
2325
  /**
2111
- * Creates an object representation of this proto suitable for use in Soy templates.
2326
+ * Creates an object representation of this proto.
2112
2327
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2328
+ * Optional fields that are not set will be set to undefined.
2113
2329
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2114
2330
  * For the list of reserved names please see:
2115
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2116
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2117
- * for transitional soy proto support: http://goto/soy-param-migration
2331
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2332
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2333
+ * JSPB instance for transitional soy proto support:
2334
+ * http://goto/soy-param-migration
2118
2335
  * @return {!Object}
2119
2336
  */
2120
2337
  proto.supervisor.ListenTerminalResponse.prototype.toObject = function(opt_includeInstance) {
@@ -2124,8 +2341,8 @@ proto.supervisor.ListenTerminalResponse.prototype.toObject = function(opt_includ
2124
2341
 
2125
2342
  /**
2126
2343
  * Static version of the {@see toObject} method.
2127
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2128
- * instance for transitional soy proto support:
2344
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2345
+ * the JSPB instance for transitional soy proto support:
2129
2346
  * http://goto/soy-param-migration
2130
2347
  * @param {!proto.supervisor.ListenTerminalResponse} msg The msg instance to transform.
2131
2348
  * @return {!Object}
@@ -2135,7 +2352,8 @@ proto.supervisor.ListenTerminalResponse.toObject = function(includeInstance, msg
2135
2352
  var f, obj = {
2136
2353
  data: msg.getData_asB64(),
2137
2354
  exitCode: jspb.Message.getFieldWithDefault(msg, 2, 0),
2138
- title: jspb.Message.getFieldWithDefault(msg, 3, "")
2355
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
2356
+ titleSource: jspb.Message.getFieldWithDefault(msg, 4, 0)
2139
2357
  };
2140
2358
 
2141
2359
  if (includeInstance) {
@@ -2184,6 +2402,10 @@ proto.supervisor.ListenTerminalResponse.deserializeBinaryFromReader = function(m
2184
2402
  var value = /** @type {string} */ (reader.readString());
2185
2403
  msg.setTitle(value);
2186
2404
  break;
2405
+ case 4:
2406
+ var value = /** @type {!proto.supervisor.TerminalTitleSource} */ (reader.readEnum());
2407
+ msg.setTitleSource(value);
2408
+ break;
2187
2409
  default:
2188
2410
  reader.skipField();
2189
2411
  break;
@@ -2234,6 +2456,13 @@ proto.supervisor.ListenTerminalResponse.serializeBinaryToWriter = function(messa
2234
2456
  f
2235
2457
  );
2236
2458
  }
2459
+ f = message.getTitleSource();
2460
+ if (f !== 0.0) {
2461
+ writer.writeEnum(
2462
+ 4,
2463
+ f
2464
+ );
2465
+ }
2237
2466
  };
2238
2467
 
2239
2468
 
@@ -2270,17 +2499,21 @@ proto.supervisor.ListenTerminalResponse.prototype.getData_asU8 = function() {
2270
2499
  };
2271
2500
 
2272
2501
 
2273
- /** @param {!(string|Uint8Array)} value */
2502
+ /**
2503
+ * @param {!(string|Uint8Array)} value
2504
+ * @return {!proto.supervisor.ListenTerminalResponse} returns this
2505
+ */
2274
2506
  proto.supervisor.ListenTerminalResponse.prototype.setData = function(value) {
2275
- jspb.Message.setOneofField(this, 1, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
2507
+ return jspb.Message.setOneofField(this, 1, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
2276
2508
  };
2277
2509
 
2278
2510
 
2279
2511
  /**
2280
2512
  * Clears the field making it undefined.
2513
+ * @return {!proto.supervisor.ListenTerminalResponse} returns this
2281
2514
  */
2282
2515
  proto.supervisor.ListenTerminalResponse.prototype.clearData = function() {
2283
- jspb.Message.setOneofField(this, 1, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
2516
+ return jspb.Message.setOneofField(this, 1, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
2284
2517
  };
2285
2518
 
2286
2519
 
@@ -2302,17 +2535,21 @@ proto.supervisor.ListenTerminalResponse.prototype.getExitCode = function() {
2302
2535
  };
2303
2536
 
2304
2537
 
2305
- /** @param {number} value */
2538
+ /**
2539
+ * @param {number} value
2540
+ * @return {!proto.supervisor.ListenTerminalResponse} returns this
2541
+ */
2306
2542
  proto.supervisor.ListenTerminalResponse.prototype.setExitCode = function(value) {
2307
- jspb.Message.setOneofField(this, 2, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
2543
+ return jspb.Message.setOneofField(this, 2, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
2308
2544
  };
2309
2545
 
2310
2546
 
2311
2547
  /**
2312
2548
  * Clears the field making it undefined.
2549
+ * @return {!proto.supervisor.ListenTerminalResponse} returns this
2313
2550
  */
2314
2551
  proto.supervisor.ListenTerminalResponse.prototype.clearExitCode = function() {
2315
- jspb.Message.setOneofField(this, 2, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
2552
+ return jspb.Message.setOneofField(this, 2, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
2316
2553
  };
2317
2554
 
2318
2555
 
@@ -2334,17 +2571,21 @@ proto.supervisor.ListenTerminalResponse.prototype.getTitle = function() {
2334
2571
  };
2335
2572
 
2336
2573
 
2337
- /** @param {string} value */
2574
+ /**
2575
+ * @param {string} value
2576
+ * @return {!proto.supervisor.ListenTerminalResponse} returns this
2577
+ */
2338
2578
  proto.supervisor.ListenTerminalResponse.prototype.setTitle = function(value) {
2339
- jspb.Message.setOneofField(this, 3, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
2579
+ return jspb.Message.setOneofField(this, 3, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
2340
2580
  };
2341
2581
 
2342
2582
 
2343
2583
  /**
2344
2584
  * Clears the field making it undefined.
2585
+ * @return {!proto.supervisor.ListenTerminalResponse} returns this
2345
2586
  */
2346
2587
  proto.supervisor.ListenTerminalResponse.prototype.clearTitle = function() {
2347
- jspb.Message.setOneofField(this, 3, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
2588
+ return jspb.Message.setOneofField(this, 3, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
2348
2589
  };
2349
2590
 
2350
2591
 
@@ -2357,18 +2598,38 @@ proto.supervisor.ListenTerminalResponse.prototype.hasTitle = function() {
2357
2598
  };
2358
2599
 
2359
2600
 
2601
+ /**
2602
+ * optional TerminalTitleSource title_source = 4;
2603
+ * @return {!proto.supervisor.TerminalTitleSource}
2604
+ */
2605
+ proto.supervisor.ListenTerminalResponse.prototype.getTitleSource = function() {
2606
+ return /** @type {!proto.supervisor.TerminalTitleSource} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
2607
+ };
2608
+
2609
+
2610
+ /**
2611
+ * @param {!proto.supervisor.TerminalTitleSource} value
2612
+ * @return {!proto.supervisor.ListenTerminalResponse} returns this
2613
+ */
2614
+ proto.supervisor.ListenTerminalResponse.prototype.setTitleSource = function(value) {
2615
+ return jspb.Message.setProto3EnumField(this, 4, value);
2616
+ };
2617
+
2618
+
2360
2619
 
2361
2620
 
2362
2621
 
2363
2622
  if (jspb.Message.GENERATE_TO_OBJECT) {
2364
2623
  /**
2365
- * Creates an object representation of this proto suitable for use in Soy templates.
2624
+ * Creates an object representation of this proto.
2366
2625
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2626
+ * Optional fields that are not set will be set to undefined.
2367
2627
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2368
2628
  * For the list of reserved names please see:
2369
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2370
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2371
- * for transitional soy proto support: http://goto/soy-param-migration
2629
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2630
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2631
+ * JSPB instance for transitional soy proto support:
2632
+ * http://goto/soy-param-migration
2372
2633
  * @return {!Object}
2373
2634
  */
2374
2635
  proto.supervisor.WriteTerminalRequest.prototype.toObject = function(opt_includeInstance) {
@@ -2378,8 +2639,8 @@ proto.supervisor.WriteTerminalRequest.prototype.toObject = function(opt_includeI
2378
2639
 
2379
2640
  /**
2380
2641
  * Static version of the {@see toObject} method.
2381
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2382
- * instance for transitional soy proto support:
2642
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2643
+ * the JSPB instance for transitional soy proto support:
2383
2644
  * http://goto/soy-param-migration
2384
2645
  * @param {!proto.supervisor.WriteTerminalRequest} msg The msg instance to transform.
2385
2646
  * @return {!Object}
@@ -2488,9 +2749,12 @@ proto.supervisor.WriteTerminalRequest.prototype.getAlias = function() {
2488
2749
  };
2489
2750
 
2490
2751
 
2491
- /** @param {string} value */
2752
+ /**
2753
+ * @param {string} value
2754
+ * @return {!proto.supervisor.WriteTerminalRequest} returns this
2755
+ */
2492
2756
  proto.supervisor.WriteTerminalRequest.prototype.setAlias = function(value) {
2493
- jspb.Message.setProto3StringField(this, 1, value);
2757
+ return jspb.Message.setProto3StringField(this, 1, value);
2494
2758
  };
2495
2759
 
2496
2760
 
@@ -2527,9 +2791,12 @@ proto.supervisor.WriteTerminalRequest.prototype.getStdin_asU8 = function() {
2527
2791
  };
2528
2792
 
2529
2793
 
2530
- /** @param {!(string|Uint8Array)} value */
2794
+ /**
2795
+ * @param {!(string|Uint8Array)} value
2796
+ * @return {!proto.supervisor.WriteTerminalRequest} returns this
2797
+ */
2531
2798
  proto.supervisor.WriteTerminalRequest.prototype.setStdin = function(value) {
2532
- jspb.Message.setProto3BytesField(this, 2, value);
2799
+ return jspb.Message.setProto3BytesField(this, 2, value);
2533
2800
  };
2534
2801
 
2535
2802
 
@@ -2538,13 +2805,15 @@ proto.supervisor.WriteTerminalRequest.prototype.setStdin = function(value) {
2538
2805
 
2539
2806
  if (jspb.Message.GENERATE_TO_OBJECT) {
2540
2807
  /**
2541
- * Creates an object representation of this proto suitable for use in Soy templates.
2808
+ * Creates an object representation of this proto.
2542
2809
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2810
+ * Optional fields that are not set will be set to undefined.
2543
2811
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2544
2812
  * For the list of reserved names please see:
2545
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2546
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2547
- * for transitional soy proto support: http://goto/soy-param-migration
2813
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2814
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2815
+ * JSPB instance for transitional soy proto support:
2816
+ * http://goto/soy-param-migration
2548
2817
  * @return {!Object}
2549
2818
  */
2550
2819
  proto.supervisor.WriteTerminalResponse.prototype.toObject = function(opt_includeInstance) {
@@ -2554,8 +2823,8 @@ proto.supervisor.WriteTerminalResponse.prototype.toObject = function(opt_include
2554
2823
 
2555
2824
  /**
2556
2825
  * Static version of the {@see toObject} method.
2557
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2558
- * instance for transitional soy proto support:
2826
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2827
+ * the JSPB instance for transitional soy proto support:
2559
2828
  * http://goto/soy-param-migration
2560
2829
  * @param {!proto.supervisor.WriteTerminalResponse} msg The msg instance to transform.
2561
2830
  * @return {!Object}
@@ -2652,9 +2921,12 @@ proto.supervisor.WriteTerminalResponse.prototype.getBytesWritten = function() {
2652
2921
  };
2653
2922
 
2654
2923
 
2655
- /** @param {number} value */
2924
+ /**
2925
+ * @param {number} value
2926
+ * @return {!proto.supervisor.WriteTerminalResponse} returns this
2927
+ */
2656
2928
  proto.supervisor.WriteTerminalResponse.prototype.setBytesWritten = function(value) {
2657
- jspb.Message.setProto3IntField(this, 1, value);
2929
+ return jspb.Message.setProto3IntField(this, 1, value);
2658
2930
  };
2659
2931
 
2660
2932
 
@@ -2689,13 +2961,15 @@ proto.supervisor.SetTerminalSizeRequest.prototype.getPriorityCase = function() {
2689
2961
 
2690
2962
  if (jspb.Message.GENERATE_TO_OBJECT) {
2691
2963
  /**
2692
- * Creates an object representation of this proto suitable for use in Soy templates.
2964
+ * Creates an object representation of this proto.
2693
2965
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2966
+ * Optional fields that are not set will be set to undefined.
2694
2967
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2695
2968
  * For the list of reserved names please see:
2696
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2697
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2698
- * for transitional soy proto support: http://goto/soy-param-migration
2969
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2970
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2971
+ * JSPB instance for transitional soy proto support:
2972
+ * http://goto/soy-param-migration
2699
2973
  * @return {!Object}
2700
2974
  */
2701
2975
  proto.supervisor.SetTerminalSizeRequest.prototype.toObject = function(opt_includeInstance) {
@@ -2705,8 +2979,8 @@ proto.supervisor.SetTerminalSizeRequest.prototype.toObject = function(opt_includ
2705
2979
 
2706
2980
  /**
2707
2981
  * Static version of the {@see toObject} method.
2708
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2709
- * instance for transitional soy proto support:
2982
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2983
+ * the JSPB instance for transitional soy proto support:
2710
2984
  * http://goto/soy-param-migration
2711
2985
  * @param {!proto.supervisor.SetTerminalSizeRequest} msg The msg instance to transform.
2712
2986
  * @return {!Object}
@@ -2716,7 +2990,7 @@ proto.supervisor.SetTerminalSizeRequest.toObject = function(includeInstance, msg
2716
2990
  var f, obj = {
2717
2991
  alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
2718
2992
  token: jspb.Message.getFieldWithDefault(msg, 2, ""),
2719
- force: jspb.Message.getFieldWithDefault(msg, 3, false),
2993
+ force: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
2720
2994
  size: (f = msg.getSize()) && proto.supervisor.TerminalSize.toObject(includeInstance, f)
2721
2995
  };
2722
2996
 
@@ -2841,9 +3115,12 @@ proto.supervisor.SetTerminalSizeRequest.prototype.getAlias = function() {
2841
3115
  };
2842
3116
 
2843
3117
 
2844
- /** @param {string} value */
3118
+ /**
3119
+ * @param {string} value
3120
+ * @return {!proto.supervisor.SetTerminalSizeRequest} returns this
3121
+ */
2845
3122
  proto.supervisor.SetTerminalSizeRequest.prototype.setAlias = function(value) {
2846
- jspb.Message.setProto3StringField(this, 1, value);
3123
+ return jspb.Message.setProto3StringField(this, 1, value);
2847
3124
  };
2848
3125
 
2849
3126
 
@@ -2856,17 +3133,21 @@ proto.supervisor.SetTerminalSizeRequest.prototype.getToken = function() {
2856
3133
  };
2857
3134
 
2858
3135
 
2859
- /** @param {string} value */
3136
+ /**
3137
+ * @param {string} value
3138
+ * @return {!proto.supervisor.SetTerminalSizeRequest} returns this
3139
+ */
2860
3140
  proto.supervisor.SetTerminalSizeRequest.prototype.setToken = function(value) {
2861
- jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
3141
+ return jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
2862
3142
  };
2863
3143
 
2864
3144
 
2865
3145
  /**
2866
3146
  * Clears the field making it undefined.
3147
+ * @return {!proto.supervisor.SetTerminalSizeRequest} returns this
2867
3148
  */
2868
3149
  proto.supervisor.SetTerminalSizeRequest.prototype.clearToken = function() {
2869
- jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
3150
+ return jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
2870
3151
  };
2871
3152
 
2872
3153
 
@@ -2881,26 +3162,28 @@ proto.supervisor.SetTerminalSizeRequest.prototype.hasToken = function() {
2881
3162
 
2882
3163
  /**
2883
3164
  * optional bool force = 3;
2884
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
2885
- * You should avoid comparisons like {@code val === true/false} in those cases.
2886
3165
  * @return {boolean}
2887
3166
  */
2888
3167
  proto.supervisor.SetTerminalSizeRequest.prototype.getForce = function() {
2889
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 3, false));
3168
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
2890
3169
  };
2891
3170
 
2892
3171
 
2893
- /** @param {boolean} value */
3172
+ /**
3173
+ * @param {boolean} value
3174
+ * @return {!proto.supervisor.SetTerminalSizeRequest} returns this
3175
+ */
2894
3176
  proto.supervisor.SetTerminalSizeRequest.prototype.setForce = function(value) {
2895
- jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
3177
+ return jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
2896
3178
  };
2897
3179
 
2898
3180
 
2899
3181
  /**
2900
3182
  * Clears the field making it undefined.
3183
+ * @return {!proto.supervisor.SetTerminalSizeRequest} returns this
2901
3184
  */
2902
3185
  proto.supervisor.SetTerminalSizeRequest.prototype.clearForce = function() {
2903
- jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
3186
+ return jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
2904
3187
  };
2905
3188
 
2906
3189
 
@@ -2923,17 +3206,21 @@ proto.supervisor.SetTerminalSizeRequest.prototype.getSize = function() {
2923
3206
  };
2924
3207
 
2925
3208
 
2926
- /** @param {?proto.supervisor.TerminalSize|undefined} value */
3209
+ /**
3210
+ * @param {?proto.supervisor.TerminalSize|undefined} value
3211
+ * @return {!proto.supervisor.SetTerminalSizeRequest} returns this
3212
+ */
2927
3213
  proto.supervisor.SetTerminalSizeRequest.prototype.setSize = function(value) {
2928
- jspb.Message.setWrapperField(this, 4, value);
3214
+ return jspb.Message.setWrapperField(this, 4, value);
2929
3215
  };
2930
3216
 
2931
3217
 
2932
3218
  /**
2933
3219
  * Clears the message field making it undefined.
3220
+ * @return {!proto.supervisor.SetTerminalSizeRequest} returns this
2934
3221
  */
2935
3222
  proto.supervisor.SetTerminalSizeRequest.prototype.clearSize = function() {
2936
- this.setSize(undefined);
3223
+ return this.setSize(undefined);
2937
3224
  };
2938
3225
 
2939
3226
 
@@ -2951,13 +3238,15 @@ proto.supervisor.SetTerminalSizeRequest.prototype.hasSize = function() {
2951
3238
 
2952
3239
  if (jspb.Message.GENERATE_TO_OBJECT) {
2953
3240
  /**
2954
- * Creates an object representation of this proto suitable for use in Soy templates.
3241
+ * Creates an object representation of this proto.
2955
3242
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
3243
+ * Optional fields that are not set will be set to undefined.
2956
3244
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2957
3245
  * For the list of reserved names please see:
2958
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2959
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2960
- * for transitional soy proto support: http://goto/soy-param-migration
3246
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3247
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3248
+ * JSPB instance for transitional soy proto support:
3249
+ * http://goto/soy-param-migration
2961
3250
  * @return {!Object}
2962
3251
  */
2963
3252
  proto.supervisor.SetTerminalSizeResponse.prototype.toObject = function(opt_includeInstance) {
@@ -2967,8 +3256,8 @@ proto.supervisor.SetTerminalSizeResponse.prototype.toObject = function(opt_inclu
2967
3256
 
2968
3257
  /**
2969
3258
  * Static version of the {@see toObject} method.
2970
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2971
- * instance for transitional soy proto support:
3259
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3260
+ * the JSPB instance for transitional soy proto support:
2972
3261
  * http://goto/soy-param-migration
2973
3262
  * @param {!proto.supervisor.SetTerminalSizeResponse} msg The msg instance to transform.
2974
3263
  * @return {!Object}
@@ -3045,4 +3334,593 @@ proto.supervisor.SetTerminalSizeResponse.serializeBinaryToWriter = function(mess
3045
3334
  };
3046
3335
 
3047
3336
 
3337
+
3338
+
3339
+
3340
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3341
+ /**
3342
+ * Creates an object representation of this proto.
3343
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3344
+ * Optional fields that are not set will be set to undefined.
3345
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3346
+ * For the list of reserved names please see:
3347
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3348
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3349
+ * JSPB instance for transitional soy proto support:
3350
+ * http://goto/soy-param-migration
3351
+ * @return {!Object}
3352
+ */
3353
+ proto.supervisor.SetTerminalTitleRequest.prototype.toObject = function(opt_includeInstance) {
3354
+ return proto.supervisor.SetTerminalTitleRequest.toObject(opt_includeInstance, this);
3355
+ };
3356
+
3357
+
3358
+ /**
3359
+ * Static version of the {@see toObject} method.
3360
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3361
+ * the JSPB instance for transitional soy proto support:
3362
+ * http://goto/soy-param-migration
3363
+ * @param {!proto.supervisor.SetTerminalTitleRequest} msg The msg instance to transform.
3364
+ * @return {!Object}
3365
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3366
+ */
3367
+ proto.supervisor.SetTerminalTitleRequest.toObject = function(includeInstance, msg) {
3368
+ var f, obj = {
3369
+ alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
3370
+ title: jspb.Message.getFieldWithDefault(msg, 2, "")
3371
+ };
3372
+
3373
+ if (includeInstance) {
3374
+ obj.$jspbMessageInstance = msg;
3375
+ }
3376
+ return obj;
3377
+ };
3378
+ }
3379
+
3380
+
3381
+ /**
3382
+ * Deserializes binary data (in protobuf wire format).
3383
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3384
+ * @return {!proto.supervisor.SetTerminalTitleRequest}
3385
+ */
3386
+ proto.supervisor.SetTerminalTitleRequest.deserializeBinary = function(bytes) {
3387
+ var reader = new jspb.BinaryReader(bytes);
3388
+ var msg = new proto.supervisor.SetTerminalTitleRequest;
3389
+ return proto.supervisor.SetTerminalTitleRequest.deserializeBinaryFromReader(msg, reader);
3390
+ };
3391
+
3392
+
3393
+ /**
3394
+ * Deserializes binary data (in protobuf wire format) from the
3395
+ * given reader into the given message object.
3396
+ * @param {!proto.supervisor.SetTerminalTitleRequest} msg The message object to deserialize into.
3397
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3398
+ * @return {!proto.supervisor.SetTerminalTitleRequest}
3399
+ */
3400
+ proto.supervisor.SetTerminalTitleRequest.deserializeBinaryFromReader = function(msg, reader) {
3401
+ while (reader.nextField()) {
3402
+ if (reader.isEndGroup()) {
3403
+ break;
3404
+ }
3405
+ var field = reader.getFieldNumber();
3406
+ switch (field) {
3407
+ case 1:
3408
+ var value = /** @type {string} */ (reader.readString());
3409
+ msg.setAlias(value);
3410
+ break;
3411
+ case 2:
3412
+ var value = /** @type {string} */ (reader.readString());
3413
+ msg.setTitle(value);
3414
+ break;
3415
+ default:
3416
+ reader.skipField();
3417
+ break;
3418
+ }
3419
+ }
3420
+ return msg;
3421
+ };
3422
+
3423
+
3424
+ /**
3425
+ * Serializes the message to binary data (in protobuf wire format).
3426
+ * @return {!Uint8Array}
3427
+ */
3428
+ proto.supervisor.SetTerminalTitleRequest.prototype.serializeBinary = function() {
3429
+ var writer = new jspb.BinaryWriter();
3430
+ proto.supervisor.SetTerminalTitleRequest.serializeBinaryToWriter(this, writer);
3431
+ return writer.getResultBuffer();
3432
+ };
3433
+
3434
+
3435
+ /**
3436
+ * Serializes the given message to binary data (in protobuf wire
3437
+ * format), writing to the given BinaryWriter.
3438
+ * @param {!proto.supervisor.SetTerminalTitleRequest} message
3439
+ * @param {!jspb.BinaryWriter} writer
3440
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3441
+ */
3442
+ proto.supervisor.SetTerminalTitleRequest.serializeBinaryToWriter = function(message, writer) {
3443
+ var f = undefined;
3444
+ f = message.getAlias();
3445
+ if (f.length > 0) {
3446
+ writer.writeString(
3447
+ 1,
3448
+ f
3449
+ );
3450
+ }
3451
+ f = message.getTitle();
3452
+ if (f.length > 0) {
3453
+ writer.writeString(
3454
+ 2,
3455
+ f
3456
+ );
3457
+ }
3458
+ };
3459
+
3460
+
3461
+ /**
3462
+ * optional string alias = 1;
3463
+ * @return {string}
3464
+ */
3465
+ proto.supervisor.SetTerminalTitleRequest.prototype.getAlias = function() {
3466
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3467
+ };
3468
+
3469
+
3470
+ /**
3471
+ * @param {string} value
3472
+ * @return {!proto.supervisor.SetTerminalTitleRequest} returns this
3473
+ */
3474
+ proto.supervisor.SetTerminalTitleRequest.prototype.setAlias = function(value) {
3475
+ return jspb.Message.setProto3StringField(this, 1, value);
3476
+ };
3477
+
3478
+
3479
+ /**
3480
+ * optional string title = 2;
3481
+ * @return {string}
3482
+ */
3483
+ proto.supervisor.SetTerminalTitleRequest.prototype.getTitle = function() {
3484
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3485
+ };
3486
+
3487
+
3488
+ /**
3489
+ * @param {string} value
3490
+ * @return {!proto.supervisor.SetTerminalTitleRequest} returns this
3491
+ */
3492
+ proto.supervisor.SetTerminalTitleRequest.prototype.setTitle = function(value) {
3493
+ return jspb.Message.setProto3StringField(this, 2, value);
3494
+ };
3495
+
3496
+
3497
+
3498
+
3499
+
3500
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3501
+ /**
3502
+ * Creates an object representation of this proto.
3503
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3504
+ * Optional fields that are not set will be set to undefined.
3505
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3506
+ * For the list of reserved names please see:
3507
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3508
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3509
+ * JSPB instance for transitional soy proto support:
3510
+ * http://goto/soy-param-migration
3511
+ * @return {!Object}
3512
+ */
3513
+ proto.supervisor.SetTerminalTitleResponse.prototype.toObject = function(opt_includeInstance) {
3514
+ return proto.supervisor.SetTerminalTitleResponse.toObject(opt_includeInstance, this);
3515
+ };
3516
+
3517
+
3518
+ /**
3519
+ * Static version of the {@see toObject} method.
3520
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3521
+ * the JSPB instance for transitional soy proto support:
3522
+ * http://goto/soy-param-migration
3523
+ * @param {!proto.supervisor.SetTerminalTitleResponse} msg The msg instance to transform.
3524
+ * @return {!Object}
3525
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3526
+ */
3527
+ proto.supervisor.SetTerminalTitleResponse.toObject = function(includeInstance, msg) {
3528
+ var f, obj = {
3529
+
3530
+ };
3531
+
3532
+ if (includeInstance) {
3533
+ obj.$jspbMessageInstance = msg;
3534
+ }
3535
+ return obj;
3536
+ };
3537
+ }
3538
+
3539
+
3540
+ /**
3541
+ * Deserializes binary data (in protobuf wire format).
3542
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3543
+ * @return {!proto.supervisor.SetTerminalTitleResponse}
3544
+ */
3545
+ proto.supervisor.SetTerminalTitleResponse.deserializeBinary = function(bytes) {
3546
+ var reader = new jspb.BinaryReader(bytes);
3547
+ var msg = new proto.supervisor.SetTerminalTitleResponse;
3548
+ return proto.supervisor.SetTerminalTitleResponse.deserializeBinaryFromReader(msg, reader);
3549
+ };
3550
+
3551
+
3552
+ /**
3553
+ * Deserializes binary data (in protobuf wire format) from the
3554
+ * given reader into the given message object.
3555
+ * @param {!proto.supervisor.SetTerminalTitleResponse} msg The message object to deserialize into.
3556
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3557
+ * @return {!proto.supervisor.SetTerminalTitleResponse}
3558
+ */
3559
+ proto.supervisor.SetTerminalTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
3560
+ while (reader.nextField()) {
3561
+ if (reader.isEndGroup()) {
3562
+ break;
3563
+ }
3564
+ var field = reader.getFieldNumber();
3565
+ switch (field) {
3566
+ default:
3567
+ reader.skipField();
3568
+ break;
3569
+ }
3570
+ }
3571
+ return msg;
3572
+ };
3573
+
3574
+
3575
+ /**
3576
+ * Serializes the message to binary data (in protobuf wire format).
3577
+ * @return {!Uint8Array}
3578
+ */
3579
+ proto.supervisor.SetTerminalTitleResponse.prototype.serializeBinary = function() {
3580
+ var writer = new jspb.BinaryWriter();
3581
+ proto.supervisor.SetTerminalTitleResponse.serializeBinaryToWriter(this, writer);
3582
+ return writer.getResultBuffer();
3583
+ };
3584
+
3585
+
3586
+ /**
3587
+ * Serializes the given message to binary data (in protobuf wire
3588
+ * format), writing to the given BinaryWriter.
3589
+ * @param {!proto.supervisor.SetTerminalTitleResponse} message
3590
+ * @param {!jspb.BinaryWriter} writer
3591
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3592
+ */
3593
+ proto.supervisor.SetTerminalTitleResponse.serializeBinaryToWriter = function(message, writer) {
3594
+ var f = undefined;
3595
+ };
3596
+
3597
+
3598
+
3599
+ /**
3600
+ * List of repeated fields within this message type.
3601
+ * @private {!Array<number>}
3602
+ * @const
3603
+ */
3604
+ proto.supervisor.UpdateTerminalAnnotationsRequest.repeatedFields_ = [3];
3605
+
3606
+
3607
+
3608
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3609
+ /**
3610
+ * Creates an object representation of this proto.
3611
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3612
+ * Optional fields that are not set will be set to undefined.
3613
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3614
+ * For the list of reserved names please see:
3615
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3616
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3617
+ * JSPB instance for transitional soy proto support:
3618
+ * http://goto/soy-param-migration
3619
+ * @return {!Object}
3620
+ */
3621
+ proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.toObject = function(opt_includeInstance) {
3622
+ return proto.supervisor.UpdateTerminalAnnotationsRequest.toObject(opt_includeInstance, this);
3623
+ };
3624
+
3625
+
3626
+ /**
3627
+ * Static version of the {@see toObject} method.
3628
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3629
+ * the JSPB instance for transitional soy proto support:
3630
+ * http://goto/soy-param-migration
3631
+ * @param {!proto.supervisor.UpdateTerminalAnnotationsRequest} msg The msg instance to transform.
3632
+ * @return {!Object}
3633
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3634
+ */
3635
+ proto.supervisor.UpdateTerminalAnnotationsRequest.toObject = function(includeInstance, msg) {
3636
+ var f, obj = {
3637
+ alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
3638
+ changedMap: (f = msg.getChangedMap()) ? f.toObject(includeInstance, undefined) : [],
3639
+ deletedList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
3640
+ };
3641
+
3642
+ if (includeInstance) {
3643
+ obj.$jspbMessageInstance = msg;
3644
+ }
3645
+ return obj;
3646
+ };
3647
+ }
3648
+
3649
+
3650
+ /**
3651
+ * Deserializes binary data (in protobuf wire format).
3652
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3653
+ * @return {!proto.supervisor.UpdateTerminalAnnotationsRequest}
3654
+ */
3655
+ proto.supervisor.UpdateTerminalAnnotationsRequest.deserializeBinary = function(bytes) {
3656
+ var reader = new jspb.BinaryReader(bytes);
3657
+ var msg = new proto.supervisor.UpdateTerminalAnnotationsRequest;
3658
+ return proto.supervisor.UpdateTerminalAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
3659
+ };
3660
+
3661
+
3662
+ /**
3663
+ * Deserializes binary data (in protobuf wire format) from the
3664
+ * given reader into the given message object.
3665
+ * @param {!proto.supervisor.UpdateTerminalAnnotationsRequest} msg The message object to deserialize into.
3666
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3667
+ * @return {!proto.supervisor.UpdateTerminalAnnotationsRequest}
3668
+ */
3669
+ proto.supervisor.UpdateTerminalAnnotationsRequest.deserializeBinaryFromReader = function(msg, reader) {
3670
+ while (reader.nextField()) {
3671
+ if (reader.isEndGroup()) {
3672
+ break;
3673
+ }
3674
+ var field = reader.getFieldNumber();
3675
+ switch (field) {
3676
+ case 1:
3677
+ var value = /** @type {string} */ (reader.readString());
3678
+ msg.setAlias(value);
3679
+ break;
3680
+ case 2:
3681
+ var value = msg.getChangedMap();
3682
+ reader.readMessage(value, function(message, reader) {
3683
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
3684
+ });
3685
+ break;
3686
+ case 3:
3687
+ var value = /** @type {string} */ (reader.readString());
3688
+ msg.addDeleted(value);
3689
+ break;
3690
+ default:
3691
+ reader.skipField();
3692
+ break;
3693
+ }
3694
+ }
3695
+ return msg;
3696
+ };
3697
+
3698
+
3699
+ /**
3700
+ * Serializes the message to binary data (in protobuf wire format).
3701
+ * @return {!Uint8Array}
3702
+ */
3703
+ proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.serializeBinary = function() {
3704
+ var writer = new jspb.BinaryWriter();
3705
+ proto.supervisor.UpdateTerminalAnnotationsRequest.serializeBinaryToWriter(this, writer);
3706
+ return writer.getResultBuffer();
3707
+ };
3708
+
3709
+
3710
+ /**
3711
+ * Serializes the given message to binary data (in protobuf wire
3712
+ * format), writing to the given BinaryWriter.
3713
+ * @param {!proto.supervisor.UpdateTerminalAnnotationsRequest} message
3714
+ * @param {!jspb.BinaryWriter} writer
3715
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3716
+ */
3717
+ proto.supervisor.UpdateTerminalAnnotationsRequest.serializeBinaryToWriter = function(message, writer) {
3718
+ var f = undefined;
3719
+ f = message.getAlias();
3720
+ if (f.length > 0) {
3721
+ writer.writeString(
3722
+ 1,
3723
+ f
3724
+ );
3725
+ }
3726
+ f = message.getChangedMap(true);
3727
+ if (f && f.getLength() > 0) {
3728
+ f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
3729
+ }
3730
+ f = message.getDeletedList();
3731
+ if (f.length > 0) {
3732
+ writer.writeRepeatedString(
3733
+ 3,
3734
+ f
3735
+ );
3736
+ }
3737
+ };
3738
+
3739
+
3740
+ /**
3741
+ * optional string alias = 1;
3742
+ * @return {string}
3743
+ */
3744
+ proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.getAlias = function() {
3745
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3746
+ };
3747
+
3748
+
3749
+ /**
3750
+ * @param {string} value
3751
+ * @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
3752
+ */
3753
+ proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.setAlias = function(value) {
3754
+ return jspb.Message.setProto3StringField(this, 1, value);
3755
+ };
3756
+
3757
+
3758
+ /**
3759
+ * map<string, string> changed = 2;
3760
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
3761
+ * empty, instead returning `undefined`
3762
+ * @return {!jspb.Map<string,string>}
3763
+ */
3764
+ proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.getChangedMap = function(opt_noLazyCreate) {
3765
+ return /** @type {!jspb.Map<string,string>} */ (
3766
+ jspb.Message.getMapField(this, 2, opt_noLazyCreate,
3767
+ null));
3768
+ };
3769
+
3770
+
3771
+ /**
3772
+ * Clears values from the map. The map will be non-null.
3773
+ * @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
3774
+ */
3775
+ proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.clearChangedMap = function() {
3776
+ this.getChangedMap().clear();
3777
+ return this;};
3778
+
3779
+
3780
+ /**
3781
+ * repeated string deleted = 3;
3782
+ * @return {!Array<string>}
3783
+ */
3784
+ proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.getDeletedList = function() {
3785
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
3786
+ };
3787
+
3788
+
3789
+ /**
3790
+ * @param {!Array<string>} value
3791
+ * @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
3792
+ */
3793
+ proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.setDeletedList = function(value) {
3794
+ return jspb.Message.setField(this, 3, value || []);
3795
+ };
3796
+
3797
+
3798
+ /**
3799
+ * @param {string} value
3800
+ * @param {number=} opt_index
3801
+ * @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
3802
+ */
3803
+ proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.addDeleted = function(value, opt_index) {
3804
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
3805
+ };
3806
+
3807
+
3808
+ /**
3809
+ * Clears the list making it empty but non-null.
3810
+ * @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
3811
+ */
3812
+ proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.clearDeletedList = function() {
3813
+ return this.setDeletedList([]);
3814
+ };
3815
+
3816
+
3817
+
3818
+
3819
+
3820
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3821
+ /**
3822
+ * Creates an object representation of this proto.
3823
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3824
+ * Optional fields that are not set will be set to undefined.
3825
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3826
+ * For the list of reserved names please see:
3827
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3828
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3829
+ * JSPB instance for transitional soy proto support:
3830
+ * http://goto/soy-param-migration
3831
+ * @return {!Object}
3832
+ */
3833
+ proto.supervisor.UpdateTerminalAnnotationsResponse.prototype.toObject = function(opt_includeInstance) {
3834
+ return proto.supervisor.UpdateTerminalAnnotationsResponse.toObject(opt_includeInstance, this);
3835
+ };
3836
+
3837
+
3838
+ /**
3839
+ * Static version of the {@see toObject} method.
3840
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3841
+ * the JSPB instance for transitional soy proto support:
3842
+ * http://goto/soy-param-migration
3843
+ * @param {!proto.supervisor.UpdateTerminalAnnotationsResponse} msg The msg instance to transform.
3844
+ * @return {!Object}
3845
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3846
+ */
3847
+ proto.supervisor.UpdateTerminalAnnotationsResponse.toObject = function(includeInstance, msg) {
3848
+ var f, obj = {
3849
+
3850
+ };
3851
+
3852
+ if (includeInstance) {
3853
+ obj.$jspbMessageInstance = msg;
3854
+ }
3855
+ return obj;
3856
+ };
3857
+ }
3858
+
3859
+
3860
+ /**
3861
+ * Deserializes binary data (in protobuf wire format).
3862
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3863
+ * @return {!proto.supervisor.UpdateTerminalAnnotationsResponse}
3864
+ */
3865
+ proto.supervisor.UpdateTerminalAnnotationsResponse.deserializeBinary = function(bytes) {
3866
+ var reader = new jspb.BinaryReader(bytes);
3867
+ var msg = new proto.supervisor.UpdateTerminalAnnotationsResponse;
3868
+ return proto.supervisor.UpdateTerminalAnnotationsResponse.deserializeBinaryFromReader(msg, reader);
3869
+ };
3870
+
3871
+
3872
+ /**
3873
+ * Deserializes binary data (in protobuf wire format) from the
3874
+ * given reader into the given message object.
3875
+ * @param {!proto.supervisor.UpdateTerminalAnnotationsResponse} msg The message object to deserialize into.
3876
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3877
+ * @return {!proto.supervisor.UpdateTerminalAnnotationsResponse}
3878
+ */
3879
+ proto.supervisor.UpdateTerminalAnnotationsResponse.deserializeBinaryFromReader = function(msg, reader) {
3880
+ while (reader.nextField()) {
3881
+ if (reader.isEndGroup()) {
3882
+ break;
3883
+ }
3884
+ var field = reader.getFieldNumber();
3885
+ switch (field) {
3886
+ default:
3887
+ reader.skipField();
3888
+ break;
3889
+ }
3890
+ }
3891
+ return msg;
3892
+ };
3893
+
3894
+
3895
+ /**
3896
+ * Serializes the message to binary data (in protobuf wire format).
3897
+ * @return {!Uint8Array}
3898
+ */
3899
+ proto.supervisor.UpdateTerminalAnnotationsResponse.prototype.serializeBinary = function() {
3900
+ var writer = new jspb.BinaryWriter();
3901
+ proto.supervisor.UpdateTerminalAnnotationsResponse.serializeBinaryToWriter(this, writer);
3902
+ return writer.getResultBuffer();
3903
+ };
3904
+
3905
+
3906
+ /**
3907
+ * Serializes the given message to binary data (in protobuf wire
3908
+ * format), writing to the given BinaryWriter.
3909
+ * @param {!proto.supervisor.UpdateTerminalAnnotationsResponse} message
3910
+ * @param {!jspb.BinaryWriter} writer
3911
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3912
+ */
3913
+ proto.supervisor.UpdateTerminalAnnotationsResponse.serializeBinaryToWriter = function(message, writer) {
3914
+ var f = undefined;
3915
+ };
3916
+
3917
+
3918
+ /**
3919
+ * @enum {number}
3920
+ */
3921
+ proto.supervisor.TerminalTitleSource = {
3922
+ PROCESS: 0,
3923
+ API: 1
3924
+ };
3925
+
3048
3926
  goog.object.extend(exports, proto.supervisor);