@gitpod/supervisor-api-grpc 0.1.5-patch-1-fork.0 → 0.1.5-port-description-3059-fork.0

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/status_pb.js CHANGED
@@ -1,16 +1,28 @@
1
+ // source: status.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')();
13
-
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
23
+
24
+ var port_pb = require('./port_pb.js');
25
+ goog.object.extend(proto, port_pb);
14
26
  goog.exportSymbol('proto.supervisor.BackupStatusRequest', null, global);
15
27
  goog.exportSymbol('proto.supervisor.BackupStatusResponse', null, global);
16
28
  goog.exportSymbol('proto.supervisor.ContentSource', null, global);
@@ -19,7 +31,9 @@ goog.exportSymbol('proto.supervisor.ContentStatusResponse', null, global);
19
31
  goog.exportSymbol('proto.supervisor.ExposedPortInfo', null, global);
20
32
  goog.exportSymbol('proto.supervisor.IDEStatusRequest', null, global);
21
33
  goog.exportSymbol('proto.supervisor.IDEStatusResponse', null, global);
34
+ goog.exportSymbol('proto.supervisor.IDEStatusResponse.DesktopStatus', null, global);
22
35
  goog.exportSymbol('proto.supervisor.OnPortExposedAction', null, global);
36
+ goog.exportSymbol('proto.supervisor.PortAutoExposure', null, global);
23
37
  goog.exportSymbol('proto.supervisor.PortVisibility', null, global);
24
38
  goog.exportSymbol('proto.supervisor.PortsStatus', null, global);
25
39
  goog.exportSymbol('proto.supervisor.PortsStatusRequest', null, global);
@@ -31,6 +45,7 @@ goog.exportSymbol('proto.supervisor.TaskState', null, global);
31
45
  goog.exportSymbol('proto.supervisor.TaskStatus', null, global);
32
46
  goog.exportSymbol('proto.supervisor.TasksStatusRequest', null, global);
33
47
  goog.exportSymbol('proto.supervisor.TasksStatusResponse', null, global);
48
+ goog.exportSymbol('proto.supervisor.TunneledPortInfo', null, global);
34
49
  /**
35
50
  * Generated by JsPbCodeGenerator.
36
51
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -115,6 +130,27 @@ if (goog.DEBUG && !COMPILED) {
115
130
  */
116
131
  proto.supervisor.IDEStatusResponse.displayName = 'proto.supervisor.IDEStatusResponse';
117
132
  }
133
+ /**
134
+ * Generated by JsPbCodeGenerator.
135
+ * @param {Array=} opt_data Optional initial data array, typically from a
136
+ * server response, or constructed directly in Javascript. The array is used
137
+ * in place and becomes part of the constructed object. It is not cloned.
138
+ * If no data is provided, the constructed object will be empty, but still
139
+ * valid.
140
+ * @extends {jspb.Message}
141
+ * @constructor
142
+ */
143
+ proto.supervisor.IDEStatusResponse.DesktopStatus = function(opt_data) {
144
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
145
+ };
146
+ goog.inherits(proto.supervisor.IDEStatusResponse.DesktopStatus, jspb.Message);
147
+ if (goog.DEBUG && !COMPILED) {
148
+ /**
149
+ * @public
150
+ * @override
151
+ */
152
+ proto.supervisor.IDEStatusResponse.DesktopStatus.displayName = 'proto.supervisor.IDEStatusResponse.DesktopStatus';
153
+ }
118
154
  /**
119
155
  * Generated by JsPbCodeGenerator.
120
156
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -262,6 +298,27 @@ if (goog.DEBUG && !COMPILED) {
262
298
  */
263
299
  proto.supervisor.ExposedPortInfo.displayName = 'proto.supervisor.ExposedPortInfo';
264
300
  }
301
+ /**
302
+ * Generated by JsPbCodeGenerator.
303
+ * @param {Array=} opt_data Optional initial data array, typically from a
304
+ * server response, or constructed directly in Javascript. The array is used
305
+ * in place and becomes part of the constructed object. It is not cloned.
306
+ * If no data is provided, the constructed object will be empty, but still
307
+ * valid.
308
+ * @extends {jspb.Message}
309
+ * @constructor
310
+ */
311
+ proto.supervisor.TunneledPortInfo = function(opt_data) {
312
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
313
+ };
314
+ goog.inherits(proto.supervisor.TunneledPortInfo, jspb.Message);
315
+ if (goog.DEBUG && !COMPILED) {
316
+ /**
317
+ * @public
318
+ * @override
319
+ */
320
+ proto.supervisor.TunneledPortInfo.displayName = 'proto.supervisor.TunneledPortInfo';
321
+ }
265
322
  /**
266
323
  * Generated by JsPbCodeGenerator.
267
324
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -372,13 +429,15 @@ if (goog.DEBUG && !COMPILED) {
372
429
 
373
430
  if (jspb.Message.GENERATE_TO_OBJECT) {
374
431
  /**
375
- * Creates an object representation of this proto suitable for use in Soy templates.
432
+ * Creates an object representation of this proto.
376
433
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
434
+ * Optional fields that are not set will be set to undefined.
377
435
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
378
436
  * For the list of reserved names please see:
379
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
380
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
381
- * for transitional soy proto support: http://goto/soy-param-migration
437
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
438
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
439
+ * JSPB instance for transitional soy proto support:
440
+ * http://goto/soy-param-migration
382
441
  * @return {!Object}
383
442
  */
384
443
  proto.supervisor.SupervisorStatusRequest.prototype.toObject = function(opt_includeInstance) {
@@ -388,8 +447,8 @@ proto.supervisor.SupervisorStatusRequest.prototype.toObject = function(opt_inclu
388
447
 
389
448
  /**
390
449
  * Static version of the {@see toObject} method.
391
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
392
- * instance for transitional soy proto support:
450
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
451
+ * the JSPB instance for transitional soy proto support:
393
452
  * http://goto/soy-param-migration
394
453
  * @param {!proto.supervisor.SupervisorStatusRequest} msg The msg instance to transform.
395
454
  * @return {!Object}
@@ -471,13 +530,15 @@ proto.supervisor.SupervisorStatusRequest.serializeBinaryToWriter = function(mess
471
530
 
472
531
  if (jspb.Message.GENERATE_TO_OBJECT) {
473
532
  /**
474
- * Creates an object representation of this proto suitable for use in Soy templates.
533
+ * Creates an object representation of this proto.
475
534
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
535
+ * Optional fields that are not set will be set to undefined.
476
536
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
477
537
  * For the list of reserved names please see:
478
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
479
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
480
- * for transitional soy proto support: http://goto/soy-param-migration
538
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
539
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
540
+ * JSPB instance for transitional soy proto support:
541
+ * http://goto/soy-param-migration
481
542
  * @return {!Object}
482
543
  */
483
544
  proto.supervisor.SupervisorStatusResponse.prototype.toObject = function(opt_includeInstance) {
@@ -487,8 +548,8 @@ proto.supervisor.SupervisorStatusResponse.prototype.toObject = function(opt_incl
487
548
 
488
549
  /**
489
550
  * Static version of the {@see toObject} method.
490
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
491
- * instance for transitional soy proto support:
551
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
552
+ * the JSPB instance for transitional soy proto support:
492
553
  * http://goto/soy-param-migration
493
554
  * @param {!proto.supervisor.SupervisorStatusResponse} msg The msg instance to transform.
494
555
  * @return {!Object}
@@ -496,7 +557,7 @@ proto.supervisor.SupervisorStatusResponse.prototype.toObject = function(opt_incl
496
557
  */
497
558
  proto.supervisor.SupervisorStatusResponse.toObject = function(includeInstance, msg) {
498
559
  var f, obj = {
499
- ok: jspb.Message.getFieldWithDefault(msg, 1, false)
560
+ ok: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
500
561
  };
501
562
 
502
563
  if (includeInstance) {
@@ -578,18 +639,19 @@ proto.supervisor.SupervisorStatusResponse.serializeBinaryToWriter = function(mes
578
639
 
579
640
  /**
580
641
  * optional bool ok = 1;
581
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
582
- * You should avoid comparisons like {@code val === true/false} in those cases.
583
642
  * @return {boolean}
584
643
  */
585
644
  proto.supervisor.SupervisorStatusResponse.prototype.getOk = function() {
586
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false));
645
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
587
646
  };
588
647
 
589
648
 
590
- /** @param {boolean} value */
649
+ /**
650
+ * @param {boolean} value
651
+ * @return {!proto.supervisor.SupervisorStatusResponse} returns this
652
+ */
591
653
  proto.supervisor.SupervisorStatusResponse.prototype.setOk = function(value) {
592
- jspb.Message.setProto3BooleanField(this, 1, value);
654
+ return jspb.Message.setProto3BooleanField(this, 1, value);
593
655
  };
594
656
 
595
657
 
@@ -598,13 +660,15 @@ proto.supervisor.SupervisorStatusResponse.prototype.setOk = function(value) {
598
660
 
599
661
  if (jspb.Message.GENERATE_TO_OBJECT) {
600
662
  /**
601
- * Creates an object representation of this proto suitable for use in Soy templates.
663
+ * Creates an object representation of this proto.
602
664
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
665
+ * Optional fields that are not set will be set to undefined.
603
666
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
604
667
  * For the list of reserved names please see:
605
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
606
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
607
- * for transitional soy proto support: http://goto/soy-param-migration
668
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
669
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
670
+ * JSPB instance for transitional soy proto support:
671
+ * http://goto/soy-param-migration
608
672
  * @return {!Object}
609
673
  */
610
674
  proto.supervisor.IDEStatusRequest.prototype.toObject = function(opt_includeInstance) {
@@ -614,8 +678,8 @@ proto.supervisor.IDEStatusRequest.prototype.toObject = function(opt_includeInsta
614
678
 
615
679
  /**
616
680
  * Static version of the {@see toObject} method.
617
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
618
- * instance for transitional soy proto support:
681
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
682
+ * the JSPB instance for transitional soy proto support:
619
683
  * http://goto/soy-param-migration
620
684
  * @param {!proto.supervisor.IDEStatusRequest} msg The msg instance to transform.
621
685
  * @return {!Object}
@@ -623,7 +687,7 @@ proto.supervisor.IDEStatusRequest.prototype.toObject = function(opt_includeInsta
623
687
  */
624
688
  proto.supervisor.IDEStatusRequest.toObject = function(includeInstance, msg) {
625
689
  var f, obj = {
626
- wait: jspb.Message.getFieldWithDefault(msg, 1, false)
690
+ wait: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
627
691
  };
628
692
 
629
693
  if (includeInstance) {
@@ -705,18 +769,19 @@ proto.supervisor.IDEStatusRequest.serializeBinaryToWriter = function(message, wr
705
769
 
706
770
  /**
707
771
  * optional bool wait = 1;
708
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
709
- * You should avoid comparisons like {@code val === true/false} in those cases.
710
772
  * @return {boolean}
711
773
  */
712
774
  proto.supervisor.IDEStatusRequest.prototype.getWait = function() {
713
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false));
775
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
714
776
  };
715
777
 
716
778
 
717
- /** @param {boolean} value */
779
+ /**
780
+ * @param {boolean} value
781
+ * @return {!proto.supervisor.IDEStatusRequest} returns this
782
+ */
718
783
  proto.supervisor.IDEStatusRequest.prototype.setWait = function(value) {
719
- jspb.Message.setProto3BooleanField(this, 1, value);
784
+ return jspb.Message.setProto3BooleanField(this, 1, value);
720
785
  };
721
786
 
722
787
 
@@ -725,13 +790,15 @@ proto.supervisor.IDEStatusRequest.prototype.setWait = function(value) {
725
790
 
726
791
  if (jspb.Message.GENERATE_TO_OBJECT) {
727
792
  /**
728
- * Creates an object representation of this proto suitable for use in Soy templates.
793
+ * Creates an object representation of this proto.
729
794
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
795
+ * Optional fields that are not set will be set to undefined.
730
796
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
731
797
  * For the list of reserved names please see:
732
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
733
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
734
- * for transitional soy proto support: http://goto/soy-param-migration
798
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
799
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
800
+ * JSPB instance for transitional soy proto support:
801
+ * http://goto/soy-param-migration
735
802
  * @return {!Object}
736
803
  */
737
804
  proto.supervisor.IDEStatusResponse.prototype.toObject = function(opt_includeInstance) {
@@ -741,8 +808,8 @@ proto.supervisor.IDEStatusResponse.prototype.toObject = function(opt_includeInst
741
808
 
742
809
  /**
743
810
  * Static version of the {@see toObject} method.
744
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
745
- * instance for transitional soy proto support:
811
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
812
+ * the JSPB instance for transitional soy proto support:
746
813
  * http://goto/soy-param-migration
747
814
  * @param {!proto.supervisor.IDEStatusResponse} msg The msg instance to transform.
748
815
  * @return {!Object}
@@ -750,7 +817,8 @@ proto.supervisor.IDEStatusResponse.prototype.toObject = function(opt_includeInst
750
817
  */
751
818
  proto.supervisor.IDEStatusResponse.toObject = function(includeInstance, msg) {
752
819
  var f, obj = {
753
- ok: jspb.Message.getFieldWithDefault(msg, 1, false)
820
+ ok: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
821
+ desktop: (f = msg.getDesktop()) && proto.supervisor.IDEStatusResponse.DesktopStatus.toObject(includeInstance, f)
754
822
  };
755
823
 
756
824
  if (includeInstance) {
@@ -791,6 +859,11 @@ proto.supervisor.IDEStatusResponse.deserializeBinaryFromReader = function(msg, r
791
859
  var value = /** @type {boolean} */ (reader.readBool());
792
860
  msg.setOk(value);
793
861
  break;
862
+ case 2:
863
+ var value = new proto.supervisor.IDEStatusResponse.DesktopStatus;
864
+ reader.readMessage(value,proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinaryFromReader);
865
+ msg.setDesktop(value);
866
+ break;
794
867
  default:
795
868
  reader.skipField();
796
869
  break;
@@ -827,23 +900,229 @@ proto.supervisor.IDEStatusResponse.serializeBinaryToWriter = function(message, w
827
900
  f
828
901
  );
829
902
  }
903
+ f = message.getDesktop();
904
+ if (f != null) {
905
+ writer.writeMessage(
906
+ 2,
907
+ f,
908
+ proto.supervisor.IDEStatusResponse.DesktopStatus.serializeBinaryToWriter
909
+ );
910
+ }
911
+ };
912
+
913
+
914
+
915
+
916
+
917
+ if (jspb.Message.GENERATE_TO_OBJECT) {
918
+ /**
919
+ * Creates an object representation of this proto.
920
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
921
+ * Optional fields that are not set will be set to undefined.
922
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
923
+ * For the list of reserved names please see:
924
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
925
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
926
+ * JSPB instance for transitional soy proto support:
927
+ * http://goto/soy-param-migration
928
+ * @return {!Object}
929
+ */
930
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.toObject = function(opt_includeInstance) {
931
+ return proto.supervisor.IDEStatusResponse.DesktopStatus.toObject(opt_includeInstance, this);
932
+ };
933
+
934
+
935
+ /**
936
+ * Static version of the {@see toObject} method.
937
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
938
+ * the JSPB instance for transitional soy proto support:
939
+ * http://goto/soy-param-migration
940
+ * @param {!proto.supervisor.IDEStatusResponse.DesktopStatus} msg The msg instance to transform.
941
+ * @return {!Object}
942
+ * @suppress {unusedLocalVariables} f is only used for nested messages
943
+ */
944
+ proto.supervisor.IDEStatusResponse.DesktopStatus.toObject = function(includeInstance, msg) {
945
+ var f, obj = {
946
+ link: jspb.Message.getFieldWithDefault(msg, 1, ""),
947
+ label: jspb.Message.getFieldWithDefault(msg, 2, "")
948
+ };
949
+
950
+ if (includeInstance) {
951
+ obj.$jspbMessageInstance = msg;
952
+ }
953
+ return obj;
954
+ };
955
+ }
956
+
957
+
958
+ /**
959
+ * Deserializes binary data (in protobuf wire format).
960
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
961
+ * @return {!proto.supervisor.IDEStatusResponse.DesktopStatus}
962
+ */
963
+ proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinary = function(bytes) {
964
+ var reader = new jspb.BinaryReader(bytes);
965
+ var msg = new proto.supervisor.IDEStatusResponse.DesktopStatus;
966
+ return proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinaryFromReader(msg, reader);
967
+ };
968
+
969
+
970
+ /**
971
+ * Deserializes binary data (in protobuf wire format) from the
972
+ * given reader into the given message object.
973
+ * @param {!proto.supervisor.IDEStatusResponse.DesktopStatus} msg The message object to deserialize into.
974
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
975
+ * @return {!proto.supervisor.IDEStatusResponse.DesktopStatus}
976
+ */
977
+ proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinaryFromReader = function(msg, reader) {
978
+ while (reader.nextField()) {
979
+ if (reader.isEndGroup()) {
980
+ break;
981
+ }
982
+ var field = reader.getFieldNumber();
983
+ switch (field) {
984
+ case 1:
985
+ var value = /** @type {string} */ (reader.readString());
986
+ msg.setLink(value);
987
+ break;
988
+ case 2:
989
+ var value = /** @type {string} */ (reader.readString());
990
+ msg.setLabel(value);
991
+ break;
992
+ default:
993
+ reader.skipField();
994
+ break;
995
+ }
996
+ }
997
+ return msg;
998
+ };
999
+
1000
+
1001
+ /**
1002
+ * Serializes the message to binary data (in protobuf wire format).
1003
+ * @return {!Uint8Array}
1004
+ */
1005
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.serializeBinary = function() {
1006
+ var writer = new jspb.BinaryWriter();
1007
+ proto.supervisor.IDEStatusResponse.DesktopStatus.serializeBinaryToWriter(this, writer);
1008
+ return writer.getResultBuffer();
1009
+ };
1010
+
1011
+
1012
+ /**
1013
+ * Serializes the given message to binary data (in protobuf wire
1014
+ * format), writing to the given BinaryWriter.
1015
+ * @param {!proto.supervisor.IDEStatusResponse.DesktopStatus} message
1016
+ * @param {!jspb.BinaryWriter} writer
1017
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1018
+ */
1019
+ proto.supervisor.IDEStatusResponse.DesktopStatus.serializeBinaryToWriter = function(message, writer) {
1020
+ var f = undefined;
1021
+ f = message.getLink();
1022
+ if (f.length > 0) {
1023
+ writer.writeString(
1024
+ 1,
1025
+ f
1026
+ );
1027
+ }
1028
+ f = message.getLabel();
1029
+ if (f.length > 0) {
1030
+ writer.writeString(
1031
+ 2,
1032
+ f
1033
+ );
1034
+ }
1035
+ };
1036
+
1037
+
1038
+ /**
1039
+ * optional string link = 1;
1040
+ * @return {string}
1041
+ */
1042
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.getLink = function() {
1043
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1044
+ };
1045
+
1046
+
1047
+ /**
1048
+ * @param {string} value
1049
+ * @return {!proto.supervisor.IDEStatusResponse.DesktopStatus} returns this
1050
+ */
1051
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.setLink = function(value) {
1052
+ return jspb.Message.setProto3StringField(this, 1, value);
1053
+ };
1054
+
1055
+
1056
+ /**
1057
+ * optional string label = 2;
1058
+ * @return {string}
1059
+ */
1060
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.getLabel = function() {
1061
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1062
+ };
1063
+
1064
+
1065
+ /**
1066
+ * @param {string} value
1067
+ * @return {!proto.supervisor.IDEStatusResponse.DesktopStatus} returns this
1068
+ */
1069
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.setLabel = function(value) {
1070
+ return jspb.Message.setProto3StringField(this, 2, value);
830
1071
  };
831
1072
 
832
1073
 
833
1074
  /**
834
1075
  * optional bool ok = 1;
835
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
836
- * You should avoid comparisons like {@code val === true/false} in those cases.
837
1076
  * @return {boolean}
838
1077
  */
839
1078
  proto.supervisor.IDEStatusResponse.prototype.getOk = function() {
840
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false));
1079
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
841
1080
  };
842
1081
 
843
1082
 
844
- /** @param {boolean} value */
1083
+ /**
1084
+ * @param {boolean} value
1085
+ * @return {!proto.supervisor.IDEStatusResponse} returns this
1086
+ */
845
1087
  proto.supervisor.IDEStatusResponse.prototype.setOk = function(value) {
846
- jspb.Message.setProto3BooleanField(this, 1, value);
1088
+ return jspb.Message.setProto3BooleanField(this, 1, value);
1089
+ };
1090
+
1091
+
1092
+ /**
1093
+ * optional DesktopStatus desktop = 2;
1094
+ * @return {?proto.supervisor.IDEStatusResponse.DesktopStatus}
1095
+ */
1096
+ proto.supervisor.IDEStatusResponse.prototype.getDesktop = function() {
1097
+ return /** @type{?proto.supervisor.IDEStatusResponse.DesktopStatus} */ (
1098
+ jspb.Message.getWrapperField(this, proto.supervisor.IDEStatusResponse.DesktopStatus, 2));
1099
+ };
1100
+
1101
+
1102
+ /**
1103
+ * @param {?proto.supervisor.IDEStatusResponse.DesktopStatus|undefined} value
1104
+ * @return {!proto.supervisor.IDEStatusResponse} returns this
1105
+ */
1106
+ proto.supervisor.IDEStatusResponse.prototype.setDesktop = function(value) {
1107
+ return jspb.Message.setWrapperField(this, 2, value);
1108
+ };
1109
+
1110
+
1111
+ /**
1112
+ * Clears the message field making it undefined.
1113
+ * @return {!proto.supervisor.IDEStatusResponse} returns this
1114
+ */
1115
+ proto.supervisor.IDEStatusResponse.prototype.clearDesktop = function() {
1116
+ return this.setDesktop(undefined);
1117
+ };
1118
+
1119
+
1120
+ /**
1121
+ * Returns whether this field is set.
1122
+ * @return {boolean}
1123
+ */
1124
+ proto.supervisor.IDEStatusResponse.prototype.hasDesktop = function() {
1125
+ return jspb.Message.getField(this, 2) != null;
847
1126
  };
848
1127
 
849
1128
 
@@ -852,13 +1131,15 @@ proto.supervisor.IDEStatusResponse.prototype.setOk = function(value) {
852
1131
 
853
1132
  if (jspb.Message.GENERATE_TO_OBJECT) {
854
1133
  /**
855
- * Creates an object representation of this proto suitable for use in Soy templates.
1134
+ * Creates an object representation of this proto.
856
1135
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1136
+ * Optional fields that are not set will be set to undefined.
857
1137
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
858
1138
  * For the list of reserved names please see:
859
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
860
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
861
- * for transitional soy proto support: http://goto/soy-param-migration
1139
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1140
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1141
+ * JSPB instance for transitional soy proto support:
1142
+ * http://goto/soy-param-migration
862
1143
  * @return {!Object}
863
1144
  */
864
1145
  proto.supervisor.ContentStatusRequest.prototype.toObject = function(opt_includeInstance) {
@@ -868,8 +1149,8 @@ proto.supervisor.ContentStatusRequest.prototype.toObject = function(opt_includeI
868
1149
 
869
1150
  /**
870
1151
  * Static version of the {@see toObject} method.
871
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
872
- * instance for transitional soy proto support:
1152
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1153
+ * the JSPB instance for transitional soy proto support:
873
1154
  * http://goto/soy-param-migration
874
1155
  * @param {!proto.supervisor.ContentStatusRequest} msg The msg instance to transform.
875
1156
  * @return {!Object}
@@ -877,7 +1158,7 @@ proto.supervisor.ContentStatusRequest.prototype.toObject = function(opt_includeI
877
1158
  */
878
1159
  proto.supervisor.ContentStatusRequest.toObject = function(includeInstance, msg) {
879
1160
  var f, obj = {
880
- wait: jspb.Message.getFieldWithDefault(msg, 1, false)
1161
+ wait: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
881
1162
  };
882
1163
 
883
1164
  if (includeInstance) {
@@ -959,18 +1240,19 @@ proto.supervisor.ContentStatusRequest.serializeBinaryToWriter = function(message
959
1240
 
960
1241
  /**
961
1242
  * optional bool wait = 1;
962
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
963
- * You should avoid comparisons like {@code val === true/false} in those cases.
964
1243
  * @return {boolean}
965
1244
  */
966
1245
  proto.supervisor.ContentStatusRequest.prototype.getWait = function() {
967
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false));
1246
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
968
1247
  };
969
1248
 
970
1249
 
971
- /** @param {boolean} value */
1250
+ /**
1251
+ * @param {boolean} value
1252
+ * @return {!proto.supervisor.ContentStatusRequest} returns this
1253
+ */
972
1254
  proto.supervisor.ContentStatusRequest.prototype.setWait = function(value) {
973
- jspb.Message.setProto3BooleanField(this, 1, value);
1255
+ return jspb.Message.setProto3BooleanField(this, 1, value);
974
1256
  };
975
1257
 
976
1258
 
@@ -979,13 +1261,15 @@ proto.supervisor.ContentStatusRequest.prototype.setWait = function(value) {
979
1261
 
980
1262
  if (jspb.Message.GENERATE_TO_OBJECT) {
981
1263
  /**
982
- * Creates an object representation of this proto suitable for use in Soy templates.
1264
+ * Creates an object representation of this proto.
983
1265
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1266
+ * Optional fields that are not set will be set to undefined.
984
1267
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
985
1268
  * For the list of reserved names please see:
986
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
987
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
988
- * for transitional soy proto support: http://goto/soy-param-migration
1269
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1270
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1271
+ * JSPB instance for transitional soy proto support:
1272
+ * http://goto/soy-param-migration
989
1273
  * @return {!Object}
990
1274
  */
991
1275
  proto.supervisor.ContentStatusResponse.prototype.toObject = function(opt_includeInstance) {
@@ -995,8 +1279,8 @@ proto.supervisor.ContentStatusResponse.prototype.toObject = function(opt_include
995
1279
 
996
1280
  /**
997
1281
  * Static version of the {@see toObject} method.
998
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
999
- * instance for transitional soy proto support:
1282
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1283
+ * the JSPB instance for transitional soy proto support:
1000
1284
  * http://goto/soy-param-migration
1001
1285
  * @param {!proto.supervisor.ContentStatusResponse} msg The msg instance to transform.
1002
1286
  * @return {!Object}
@@ -1004,7 +1288,7 @@ proto.supervisor.ContentStatusResponse.prototype.toObject = function(opt_include
1004
1288
  */
1005
1289
  proto.supervisor.ContentStatusResponse.toObject = function(includeInstance, msg) {
1006
1290
  var f, obj = {
1007
- available: jspb.Message.getFieldWithDefault(msg, 1, false),
1291
+ available: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
1008
1292
  source: jspb.Message.getFieldWithDefault(msg, 2, 0)
1009
1293
  };
1010
1294
 
@@ -1098,18 +1382,19 @@ proto.supervisor.ContentStatusResponse.serializeBinaryToWriter = function(messag
1098
1382
 
1099
1383
  /**
1100
1384
  * optional bool available = 1;
1101
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
1102
- * You should avoid comparisons like {@code val === true/false} in those cases.
1103
1385
  * @return {boolean}
1104
1386
  */
1105
1387
  proto.supervisor.ContentStatusResponse.prototype.getAvailable = function() {
1106
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false));
1388
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
1107
1389
  };
1108
1390
 
1109
1391
 
1110
- /** @param {boolean} value */
1392
+ /**
1393
+ * @param {boolean} value
1394
+ * @return {!proto.supervisor.ContentStatusResponse} returns this
1395
+ */
1111
1396
  proto.supervisor.ContentStatusResponse.prototype.setAvailable = function(value) {
1112
- jspb.Message.setProto3BooleanField(this, 1, value);
1397
+ return jspb.Message.setProto3BooleanField(this, 1, value);
1113
1398
  };
1114
1399
 
1115
1400
 
@@ -1122,9 +1407,12 @@ proto.supervisor.ContentStatusResponse.prototype.getSource = function() {
1122
1407
  };
1123
1408
 
1124
1409
 
1125
- /** @param {!proto.supervisor.ContentSource} value */
1410
+ /**
1411
+ * @param {!proto.supervisor.ContentSource} value
1412
+ * @return {!proto.supervisor.ContentStatusResponse} returns this
1413
+ */
1126
1414
  proto.supervisor.ContentStatusResponse.prototype.setSource = function(value) {
1127
- jspb.Message.setProto3EnumField(this, 2, value);
1415
+ return jspb.Message.setProto3EnumField(this, 2, value);
1128
1416
  };
1129
1417
 
1130
1418
 
@@ -1133,13 +1421,15 @@ proto.supervisor.ContentStatusResponse.prototype.setSource = function(value) {
1133
1421
 
1134
1422
  if (jspb.Message.GENERATE_TO_OBJECT) {
1135
1423
  /**
1136
- * Creates an object representation of this proto suitable for use in Soy templates.
1424
+ * Creates an object representation of this proto.
1137
1425
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1426
+ * Optional fields that are not set will be set to undefined.
1138
1427
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1139
1428
  * For the list of reserved names please see:
1140
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1141
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1142
- * for transitional soy proto support: http://goto/soy-param-migration
1429
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1430
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1431
+ * JSPB instance for transitional soy proto support:
1432
+ * http://goto/soy-param-migration
1143
1433
  * @return {!Object}
1144
1434
  */
1145
1435
  proto.supervisor.BackupStatusRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1149,8 +1439,8 @@ proto.supervisor.BackupStatusRequest.prototype.toObject = function(opt_includeIn
1149
1439
 
1150
1440
  /**
1151
1441
  * Static version of the {@see toObject} method.
1152
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1153
- * instance for transitional soy proto support:
1442
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1443
+ * the JSPB instance for transitional soy proto support:
1154
1444
  * http://goto/soy-param-migration
1155
1445
  * @param {!proto.supervisor.BackupStatusRequest} msg The msg instance to transform.
1156
1446
  * @return {!Object}
@@ -1232,13 +1522,15 @@ proto.supervisor.BackupStatusRequest.serializeBinaryToWriter = function(message,
1232
1522
 
1233
1523
  if (jspb.Message.GENERATE_TO_OBJECT) {
1234
1524
  /**
1235
- * Creates an object representation of this proto suitable for use in Soy templates.
1525
+ * Creates an object representation of this proto.
1236
1526
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1527
+ * Optional fields that are not set will be set to undefined.
1237
1528
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1238
1529
  * For the list of reserved names please see:
1239
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1240
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1241
- * for transitional soy proto support: http://goto/soy-param-migration
1530
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1531
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1532
+ * JSPB instance for transitional soy proto support:
1533
+ * http://goto/soy-param-migration
1242
1534
  * @return {!Object}
1243
1535
  */
1244
1536
  proto.supervisor.BackupStatusResponse.prototype.toObject = function(opt_includeInstance) {
@@ -1248,8 +1540,8 @@ proto.supervisor.BackupStatusResponse.prototype.toObject = function(opt_includeI
1248
1540
 
1249
1541
  /**
1250
1542
  * Static version of the {@see toObject} method.
1251
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1252
- * instance for transitional soy proto support:
1543
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1544
+ * the JSPB instance for transitional soy proto support:
1253
1545
  * http://goto/soy-param-migration
1254
1546
  * @param {!proto.supervisor.BackupStatusResponse} msg The msg instance to transform.
1255
1547
  * @return {!Object}
@@ -1257,7 +1549,7 @@ proto.supervisor.BackupStatusResponse.prototype.toObject = function(opt_includeI
1257
1549
  */
1258
1550
  proto.supervisor.BackupStatusResponse.toObject = function(includeInstance, msg) {
1259
1551
  var f, obj = {
1260
- canaryAvailable: jspb.Message.getFieldWithDefault(msg, 1, false)
1552
+ canaryAvailable: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
1261
1553
  };
1262
1554
 
1263
1555
  if (includeInstance) {
@@ -1339,18 +1631,19 @@ proto.supervisor.BackupStatusResponse.serializeBinaryToWriter = function(message
1339
1631
 
1340
1632
  /**
1341
1633
  * optional bool canary_available = 1;
1342
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
1343
- * You should avoid comparisons like {@code val === true/false} in those cases.
1344
1634
  * @return {boolean}
1345
1635
  */
1346
1636
  proto.supervisor.BackupStatusResponse.prototype.getCanaryAvailable = function() {
1347
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false));
1637
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
1348
1638
  };
1349
1639
 
1350
1640
 
1351
- /** @param {boolean} value */
1641
+ /**
1642
+ * @param {boolean} value
1643
+ * @return {!proto.supervisor.BackupStatusResponse} returns this
1644
+ */
1352
1645
  proto.supervisor.BackupStatusResponse.prototype.setCanaryAvailable = function(value) {
1353
- jspb.Message.setProto3BooleanField(this, 1, value);
1646
+ return jspb.Message.setProto3BooleanField(this, 1, value);
1354
1647
  };
1355
1648
 
1356
1649
 
@@ -1359,13 +1652,15 @@ proto.supervisor.BackupStatusResponse.prototype.setCanaryAvailable = function(va
1359
1652
 
1360
1653
  if (jspb.Message.GENERATE_TO_OBJECT) {
1361
1654
  /**
1362
- * Creates an object representation of this proto suitable for use in Soy templates.
1655
+ * Creates an object representation of this proto.
1363
1656
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1657
+ * Optional fields that are not set will be set to undefined.
1364
1658
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1365
1659
  * For the list of reserved names please see:
1366
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1367
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1368
- * for transitional soy proto support: http://goto/soy-param-migration
1660
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1661
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1662
+ * JSPB instance for transitional soy proto support:
1663
+ * http://goto/soy-param-migration
1369
1664
  * @return {!Object}
1370
1665
  */
1371
1666
  proto.supervisor.PortsStatusRequest.prototype.toObject = function(opt_includeInstance) {
@@ -1375,8 +1670,8 @@ proto.supervisor.PortsStatusRequest.prototype.toObject = function(opt_includeIns
1375
1670
 
1376
1671
  /**
1377
1672
  * Static version of the {@see toObject} method.
1378
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1379
- * instance for transitional soy proto support:
1673
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1674
+ * the JSPB instance for transitional soy proto support:
1380
1675
  * http://goto/soy-param-migration
1381
1676
  * @param {!proto.supervisor.PortsStatusRequest} msg The msg instance to transform.
1382
1677
  * @return {!Object}
@@ -1384,7 +1679,7 @@ proto.supervisor.PortsStatusRequest.prototype.toObject = function(opt_includeIns
1384
1679
  */
1385
1680
  proto.supervisor.PortsStatusRequest.toObject = function(includeInstance, msg) {
1386
1681
  var f, obj = {
1387
- observe: jspb.Message.getFieldWithDefault(msg, 1, false)
1682
+ observe: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
1388
1683
  };
1389
1684
 
1390
1685
  if (includeInstance) {
@@ -1466,18 +1761,19 @@ proto.supervisor.PortsStatusRequest.serializeBinaryToWriter = function(message,
1466
1761
 
1467
1762
  /**
1468
1763
  * optional bool observe = 1;
1469
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
1470
- * You should avoid comparisons like {@code val === true/false} in those cases.
1471
1764
  * @return {boolean}
1472
1765
  */
1473
1766
  proto.supervisor.PortsStatusRequest.prototype.getObserve = function() {
1474
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false));
1767
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
1475
1768
  };
1476
1769
 
1477
1770
 
1478
- /** @param {boolean} value */
1771
+ /**
1772
+ * @param {boolean} value
1773
+ * @return {!proto.supervisor.PortsStatusRequest} returns this
1774
+ */
1479
1775
  proto.supervisor.PortsStatusRequest.prototype.setObserve = function(value) {
1480
- jspb.Message.setProto3BooleanField(this, 1, value);
1776
+ return jspb.Message.setProto3BooleanField(this, 1, value);
1481
1777
  };
1482
1778
 
1483
1779
 
@@ -1493,13 +1789,15 @@ proto.supervisor.PortsStatusResponse.repeatedFields_ = [1];
1493
1789
 
1494
1790
  if (jspb.Message.GENERATE_TO_OBJECT) {
1495
1791
  /**
1496
- * Creates an object representation of this proto suitable for use in Soy templates.
1792
+ * Creates an object representation of this proto.
1497
1793
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1794
+ * Optional fields that are not set will be set to undefined.
1498
1795
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1499
1796
  * For the list of reserved names please see:
1500
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1501
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1502
- * for transitional soy proto support: http://goto/soy-param-migration
1797
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1798
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1799
+ * JSPB instance for transitional soy proto support:
1800
+ * http://goto/soy-param-migration
1503
1801
  * @return {!Object}
1504
1802
  */
1505
1803
  proto.supervisor.PortsStatusResponse.prototype.toObject = function(opt_includeInstance) {
@@ -1509,8 +1807,8 @@ proto.supervisor.PortsStatusResponse.prototype.toObject = function(opt_includeIn
1509
1807
 
1510
1808
  /**
1511
1809
  * Static version of the {@see toObject} method.
1512
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1513
- * instance for transitional soy proto support:
1810
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1811
+ * the JSPB instance for transitional soy proto support:
1514
1812
  * http://goto/soy-param-migration
1515
1813
  * @param {!proto.supervisor.PortsStatusResponse} msg The msg instance to transform.
1516
1814
  * @return {!Object}
@@ -1611,9 +1909,12 @@ proto.supervisor.PortsStatusResponse.prototype.getPortsList = function() {
1611
1909
  };
1612
1910
 
1613
1911
 
1614
- /** @param {!Array<!proto.supervisor.PortsStatus>} value */
1912
+ /**
1913
+ * @param {!Array<!proto.supervisor.PortsStatus>} value
1914
+ * @return {!proto.supervisor.PortsStatusResponse} returns this
1915
+ */
1615
1916
  proto.supervisor.PortsStatusResponse.prototype.setPortsList = function(value) {
1616
- jspb.Message.setRepeatedWrapperField(this, 1, value);
1917
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1617
1918
  };
1618
1919
 
1619
1920
 
@@ -1629,9 +1930,10 @@ proto.supervisor.PortsStatusResponse.prototype.addPorts = function(opt_value, op
1629
1930
 
1630
1931
  /**
1631
1932
  * Clears the list making it empty but non-null.
1933
+ * @return {!proto.supervisor.PortsStatusResponse} returns this
1632
1934
  */
1633
1935
  proto.supervisor.PortsStatusResponse.prototype.clearPortsList = function() {
1634
- this.setPortsList([]);
1936
+ return this.setPortsList([]);
1635
1937
  };
1636
1938
 
1637
1939
 
@@ -1640,13 +1942,15 @@ proto.supervisor.PortsStatusResponse.prototype.clearPortsList = function() {
1640
1942
 
1641
1943
  if (jspb.Message.GENERATE_TO_OBJECT) {
1642
1944
  /**
1643
- * Creates an object representation of this proto suitable for use in Soy templates.
1945
+ * Creates an object representation of this proto.
1644
1946
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
1947
+ * Optional fields that are not set will be set to undefined.
1645
1948
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1646
1949
  * For the list of reserved names please see:
1647
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1648
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1649
- * for transitional soy proto support: http://goto/soy-param-migration
1950
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1951
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1952
+ * JSPB instance for transitional soy proto support:
1953
+ * http://goto/soy-param-migration
1650
1954
  * @return {!Object}
1651
1955
  */
1652
1956
  proto.supervisor.ExposedPortInfo.prototype.toObject = function(opt_includeInstance) {
@@ -1656,8 +1960,8 @@ proto.supervisor.ExposedPortInfo.prototype.toObject = function(opt_includeInstan
1656
1960
 
1657
1961
  /**
1658
1962
  * Static version of the {@see toObject} method.
1659
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1660
- * instance for transitional soy proto support:
1963
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1964
+ * the JSPB instance for transitional soy proto support:
1661
1965
  * http://goto/soy-param-migration
1662
1966
  * @param {!proto.supervisor.ExposedPortInfo} msg The msg instance to transform.
1663
1967
  * @return {!Object}
@@ -1778,9 +2082,12 @@ proto.supervisor.ExposedPortInfo.prototype.getVisibility = function() {
1778
2082
  };
1779
2083
 
1780
2084
 
1781
- /** @param {!proto.supervisor.PortVisibility} value */
2085
+ /**
2086
+ * @param {!proto.supervisor.PortVisibility} value
2087
+ * @return {!proto.supervisor.ExposedPortInfo} returns this
2088
+ */
1782
2089
  proto.supervisor.ExposedPortInfo.prototype.setVisibility = function(value) {
1783
- jspb.Message.setProto3EnumField(this, 1, value);
2090
+ return jspb.Message.setProto3EnumField(this, 1, value);
1784
2091
  };
1785
2092
 
1786
2093
 
@@ -1793,9 +2100,12 @@ proto.supervisor.ExposedPortInfo.prototype.getUrl = function() {
1793
2100
  };
1794
2101
 
1795
2102
 
1796
- /** @param {string} value */
2103
+ /**
2104
+ * @param {string} value
2105
+ * @return {!proto.supervisor.ExposedPortInfo} returns this
2106
+ */
1797
2107
  proto.supervisor.ExposedPortInfo.prototype.setUrl = function(value) {
1798
- jspb.Message.setProto3StringField(this, 2, value);
2108
+ return jspb.Message.setProto3StringField(this, 2, value);
1799
2109
  };
1800
2110
 
1801
2111
 
@@ -1808,9 +2118,12 @@ proto.supervisor.ExposedPortInfo.prototype.getOnExposed = function() {
1808
2118
  };
1809
2119
 
1810
2120
 
1811
- /** @param {!proto.supervisor.OnPortExposedAction} value */
2121
+ /**
2122
+ * @param {!proto.supervisor.OnPortExposedAction} value
2123
+ * @return {!proto.supervisor.ExposedPortInfo} returns this
2124
+ */
1812
2125
  proto.supervisor.ExposedPortInfo.prototype.setOnExposed = function(value) {
1813
- jspb.Message.setProto3EnumField(this, 3, value);
2126
+ return jspb.Message.setProto3EnumField(this, 3, value);
1814
2127
  };
1815
2128
 
1816
2129
 
@@ -1819,13 +2132,208 @@ proto.supervisor.ExposedPortInfo.prototype.setOnExposed = function(value) {
1819
2132
 
1820
2133
  if (jspb.Message.GENERATE_TO_OBJECT) {
1821
2134
  /**
1822
- * Creates an object representation of this proto suitable for use in Soy templates.
2135
+ * Creates an object representation of this proto.
1823
2136
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2137
+ * Optional fields that are not set will be set to undefined.
1824
2138
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1825
2139
  * For the list of reserved names please see:
1826
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1827
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1828
- * for transitional soy proto support: http://goto/soy-param-migration
2140
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2141
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2142
+ * JSPB instance for transitional soy proto support:
2143
+ * http://goto/soy-param-migration
2144
+ * @return {!Object}
2145
+ */
2146
+ proto.supervisor.TunneledPortInfo.prototype.toObject = function(opt_includeInstance) {
2147
+ return proto.supervisor.TunneledPortInfo.toObject(opt_includeInstance, this);
2148
+ };
2149
+
2150
+
2151
+ /**
2152
+ * Static version of the {@see toObject} method.
2153
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2154
+ * the JSPB instance for transitional soy proto support:
2155
+ * http://goto/soy-param-migration
2156
+ * @param {!proto.supervisor.TunneledPortInfo} msg The msg instance to transform.
2157
+ * @return {!Object}
2158
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2159
+ */
2160
+ proto.supervisor.TunneledPortInfo.toObject = function(includeInstance, msg) {
2161
+ var f, obj = {
2162
+ targetPort: jspb.Message.getFieldWithDefault(msg, 1, 0),
2163
+ visibility: jspb.Message.getFieldWithDefault(msg, 2, 0),
2164
+ clientsMap: (f = msg.getClientsMap()) ? f.toObject(includeInstance, undefined) : []
2165
+ };
2166
+
2167
+ if (includeInstance) {
2168
+ obj.$jspbMessageInstance = msg;
2169
+ }
2170
+ return obj;
2171
+ };
2172
+ }
2173
+
2174
+
2175
+ /**
2176
+ * Deserializes binary data (in protobuf wire format).
2177
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2178
+ * @return {!proto.supervisor.TunneledPortInfo}
2179
+ */
2180
+ proto.supervisor.TunneledPortInfo.deserializeBinary = function(bytes) {
2181
+ var reader = new jspb.BinaryReader(bytes);
2182
+ var msg = new proto.supervisor.TunneledPortInfo;
2183
+ return proto.supervisor.TunneledPortInfo.deserializeBinaryFromReader(msg, reader);
2184
+ };
2185
+
2186
+
2187
+ /**
2188
+ * Deserializes binary data (in protobuf wire format) from the
2189
+ * given reader into the given message object.
2190
+ * @param {!proto.supervisor.TunneledPortInfo} msg The message object to deserialize into.
2191
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2192
+ * @return {!proto.supervisor.TunneledPortInfo}
2193
+ */
2194
+ proto.supervisor.TunneledPortInfo.deserializeBinaryFromReader = function(msg, reader) {
2195
+ while (reader.nextField()) {
2196
+ if (reader.isEndGroup()) {
2197
+ break;
2198
+ }
2199
+ var field = reader.getFieldNumber();
2200
+ switch (field) {
2201
+ case 1:
2202
+ var value = /** @type {number} */ (reader.readUint32());
2203
+ msg.setTargetPort(value);
2204
+ break;
2205
+ case 2:
2206
+ var value = /** @type {!proto.supervisor.TunnelVisiblity} */ (reader.readEnum());
2207
+ msg.setVisibility(value);
2208
+ break;
2209
+ case 3:
2210
+ var value = msg.getClientsMap();
2211
+ reader.readMessage(value, function(message, reader) {
2212
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readUint32, null, "", 0);
2213
+ });
2214
+ break;
2215
+ default:
2216
+ reader.skipField();
2217
+ break;
2218
+ }
2219
+ }
2220
+ return msg;
2221
+ };
2222
+
2223
+
2224
+ /**
2225
+ * Serializes the message to binary data (in protobuf wire format).
2226
+ * @return {!Uint8Array}
2227
+ */
2228
+ proto.supervisor.TunneledPortInfo.prototype.serializeBinary = function() {
2229
+ var writer = new jspb.BinaryWriter();
2230
+ proto.supervisor.TunneledPortInfo.serializeBinaryToWriter(this, writer);
2231
+ return writer.getResultBuffer();
2232
+ };
2233
+
2234
+
2235
+ /**
2236
+ * Serializes the given message to binary data (in protobuf wire
2237
+ * format), writing to the given BinaryWriter.
2238
+ * @param {!proto.supervisor.TunneledPortInfo} message
2239
+ * @param {!jspb.BinaryWriter} writer
2240
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2241
+ */
2242
+ proto.supervisor.TunneledPortInfo.serializeBinaryToWriter = function(message, writer) {
2243
+ var f = undefined;
2244
+ f = message.getTargetPort();
2245
+ if (f !== 0) {
2246
+ writer.writeUint32(
2247
+ 1,
2248
+ f
2249
+ );
2250
+ }
2251
+ f = message.getVisibility();
2252
+ if (f !== 0.0) {
2253
+ writer.writeEnum(
2254
+ 2,
2255
+ f
2256
+ );
2257
+ }
2258
+ f = message.getClientsMap(true);
2259
+ if (f && f.getLength() > 0) {
2260
+ f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeUint32);
2261
+ }
2262
+ };
2263
+
2264
+
2265
+ /**
2266
+ * optional uint32 target_port = 1;
2267
+ * @return {number}
2268
+ */
2269
+ proto.supervisor.TunneledPortInfo.prototype.getTargetPort = function() {
2270
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2271
+ };
2272
+
2273
+
2274
+ /**
2275
+ * @param {number} value
2276
+ * @return {!proto.supervisor.TunneledPortInfo} returns this
2277
+ */
2278
+ proto.supervisor.TunneledPortInfo.prototype.setTargetPort = function(value) {
2279
+ return jspb.Message.setProto3IntField(this, 1, value);
2280
+ };
2281
+
2282
+
2283
+ /**
2284
+ * optional TunnelVisiblity visibility = 2;
2285
+ * @return {!proto.supervisor.TunnelVisiblity}
2286
+ */
2287
+ proto.supervisor.TunneledPortInfo.prototype.getVisibility = function() {
2288
+ return /** @type {!proto.supervisor.TunnelVisiblity} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2289
+ };
2290
+
2291
+
2292
+ /**
2293
+ * @param {!proto.supervisor.TunnelVisiblity} value
2294
+ * @return {!proto.supervisor.TunneledPortInfo} returns this
2295
+ */
2296
+ proto.supervisor.TunneledPortInfo.prototype.setVisibility = function(value) {
2297
+ return jspb.Message.setProto3EnumField(this, 2, value);
2298
+ };
2299
+
2300
+
2301
+ /**
2302
+ * map<string, uint32> clients = 3;
2303
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
2304
+ * empty, instead returning `undefined`
2305
+ * @return {!jspb.Map<string,number>}
2306
+ */
2307
+ proto.supervisor.TunneledPortInfo.prototype.getClientsMap = function(opt_noLazyCreate) {
2308
+ return /** @type {!jspb.Map<string,number>} */ (
2309
+ jspb.Message.getMapField(this, 3, opt_noLazyCreate,
2310
+ null));
2311
+ };
2312
+
2313
+
2314
+ /**
2315
+ * Clears values from the map. The map will be non-null.
2316
+ * @return {!proto.supervisor.TunneledPortInfo} returns this
2317
+ */
2318
+ proto.supervisor.TunneledPortInfo.prototype.clearClientsMap = function() {
2319
+ this.getClientsMap().clear();
2320
+ return this;};
2321
+
2322
+
2323
+
2324
+
2325
+
2326
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2327
+ /**
2328
+ * Creates an object representation of this proto.
2329
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2330
+ * Optional fields that are not set will be set to undefined.
2331
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2332
+ * For the list of reserved names please see:
2333
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2334
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2335
+ * JSPB instance for transitional soy proto support:
2336
+ * http://goto/soy-param-migration
1829
2337
  * @return {!Object}
1830
2338
  */
1831
2339
  proto.supervisor.PortsStatus.prototype.toObject = function(opt_includeInstance) {
@@ -1835,8 +2343,8 @@ proto.supervisor.PortsStatus.prototype.toObject = function(opt_includeInstance)
1835
2343
 
1836
2344
  /**
1837
2345
  * Static version of the {@see toObject} method.
1838
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
1839
- * instance for transitional soy proto support:
2346
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2347
+ * the JSPB instance for transitional soy proto support:
1840
2348
  * http://goto/soy-param-migration
1841
2349
  * @param {!proto.supervisor.PortsStatus} msg The msg instance to transform.
1842
2350
  * @return {!Object}
@@ -1845,9 +2353,11 @@ proto.supervisor.PortsStatus.prototype.toObject = function(opt_includeInstance)
1845
2353
  proto.supervisor.PortsStatus.toObject = function(includeInstance, msg) {
1846
2354
  var f, obj = {
1847
2355
  localPort: jspb.Message.getFieldWithDefault(msg, 1, 0),
1848
- globalPort: jspb.Message.getFieldWithDefault(msg, 2, 0),
1849
- served: jspb.Message.getFieldWithDefault(msg, 4, false),
1850
- exposed: (f = msg.getExposed()) && proto.supervisor.ExposedPortInfo.toObject(includeInstance, f)
2356
+ served: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
2357
+ exposed: (f = msg.getExposed()) && proto.supervisor.ExposedPortInfo.toObject(includeInstance, f),
2358
+ autoExposure: jspb.Message.getFieldWithDefault(msg, 7, 0),
2359
+ tunneled: (f = msg.getTunneled()) && proto.supervisor.TunneledPortInfo.toObject(includeInstance, f),
2360
+ description: jspb.Message.getFieldWithDefault(msg, 8, "")
1851
2361
  };
1852
2362
 
1853
2363
  if (includeInstance) {
@@ -1888,10 +2398,6 @@ proto.supervisor.PortsStatus.deserializeBinaryFromReader = function(msg, reader)
1888
2398
  var value = /** @type {number} */ (reader.readUint32());
1889
2399
  msg.setLocalPort(value);
1890
2400
  break;
1891
- case 2:
1892
- var value = /** @type {number} */ (reader.readUint32());
1893
- msg.setGlobalPort(value);
1894
- break;
1895
2401
  case 4:
1896
2402
  var value = /** @type {boolean} */ (reader.readBool());
1897
2403
  msg.setServed(value);
@@ -1901,6 +2407,19 @@ proto.supervisor.PortsStatus.deserializeBinaryFromReader = function(msg, reader)
1901
2407
  reader.readMessage(value,proto.supervisor.ExposedPortInfo.deserializeBinaryFromReader);
1902
2408
  msg.setExposed(value);
1903
2409
  break;
2410
+ case 7:
2411
+ var value = /** @type {!proto.supervisor.PortAutoExposure} */ (reader.readEnum());
2412
+ msg.setAutoExposure(value);
2413
+ break;
2414
+ case 6:
2415
+ var value = new proto.supervisor.TunneledPortInfo;
2416
+ reader.readMessage(value,proto.supervisor.TunneledPortInfo.deserializeBinaryFromReader);
2417
+ msg.setTunneled(value);
2418
+ break;
2419
+ case 8:
2420
+ var value = /** @type {string} */ (reader.readString());
2421
+ msg.setDescription(value);
2422
+ break;
1904
2423
  default:
1905
2424
  reader.skipField();
1906
2425
  break;
@@ -1937,13 +2456,6 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
1937
2456
  f
1938
2457
  );
1939
2458
  }
1940
- f = message.getGlobalPort();
1941
- if (f !== 0) {
1942
- writer.writeUint32(
1943
- 2,
1944
- f
1945
- );
1946
- }
1947
2459
  f = message.getServed();
1948
2460
  if (f) {
1949
2461
  writer.writeBool(
@@ -1959,6 +2471,28 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
1959
2471
  proto.supervisor.ExposedPortInfo.serializeBinaryToWriter
1960
2472
  );
1961
2473
  }
2474
+ f = message.getAutoExposure();
2475
+ if (f !== 0.0) {
2476
+ writer.writeEnum(
2477
+ 7,
2478
+ f
2479
+ );
2480
+ }
2481
+ f = message.getTunneled();
2482
+ if (f != null) {
2483
+ writer.writeMessage(
2484
+ 6,
2485
+ f,
2486
+ proto.supervisor.TunneledPortInfo.serializeBinaryToWriter
2487
+ );
2488
+ }
2489
+ f = message.getDescription();
2490
+ if (f.length > 0) {
2491
+ writer.writeString(
2492
+ 8,
2493
+ f
2494
+ );
2495
+ }
1962
2496
  };
1963
2497
 
1964
2498
 
@@ -1971,41 +2505,30 @@ proto.supervisor.PortsStatus.prototype.getLocalPort = function() {
1971
2505
  };
1972
2506
 
1973
2507
 
1974
- /** @param {number} value */
1975
- proto.supervisor.PortsStatus.prototype.setLocalPort = function(value) {
1976
- jspb.Message.setProto3IntField(this, 1, value);
1977
- };
1978
-
1979
-
1980
2508
  /**
1981
- * optional uint32 global_port = 2;
1982
- * @return {number}
2509
+ * @param {number} value
2510
+ * @return {!proto.supervisor.PortsStatus} returns this
1983
2511
  */
1984
- proto.supervisor.PortsStatus.prototype.getGlobalPort = function() {
1985
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1986
- };
1987
-
1988
-
1989
- /** @param {number} value */
1990
- proto.supervisor.PortsStatus.prototype.setGlobalPort = function(value) {
1991
- jspb.Message.setProto3IntField(this, 2, value);
2512
+ proto.supervisor.PortsStatus.prototype.setLocalPort = function(value) {
2513
+ return jspb.Message.setProto3IntField(this, 1, value);
1992
2514
  };
1993
2515
 
1994
2516
 
1995
2517
  /**
1996
2518
  * optional bool served = 4;
1997
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
1998
- * You should avoid comparisons like {@code val === true/false} in those cases.
1999
2519
  * @return {boolean}
2000
2520
  */
2001
2521
  proto.supervisor.PortsStatus.prototype.getServed = function() {
2002
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 4, false));
2522
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
2003
2523
  };
2004
2524
 
2005
2525
 
2006
- /** @param {boolean} value */
2526
+ /**
2527
+ * @param {boolean} value
2528
+ * @return {!proto.supervisor.PortsStatus} returns this
2529
+ */
2007
2530
  proto.supervisor.PortsStatus.prototype.setServed = function(value) {
2008
- jspb.Message.setProto3BooleanField(this, 4, value);
2531
+ return jspb.Message.setProto3BooleanField(this, 4, value);
2009
2532
  };
2010
2533
 
2011
2534
 
@@ -2019,17 +2542,21 @@ proto.supervisor.PortsStatus.prototype.getExposed = function() {
2019
2542
  };
2020
2543
 
2021
2544
 
2022
- /** @param {?proto.supervisor.ExposedPortInfo|undefined} value */
2545
+ /**
2546
+ * @param {?proto.supervisor.ExposedPortInfo|undefined} value
2547
+ * @return {!proto.supervisor.PortsStatus} returns this
2548
+ */
2023
2549
  proto.supervisor.PortsStatus.prototype.setExposed = function(value) {
2024
- jspb.Message.setWrapperField(this, 5, value);
2550
+ return jspb.Message.setWrapperField(this, 5, value);
2025
2551
  };
2026
2552
 
2027
2553
 
2028
2554
  /**
2029
2555
  * Clears the message field making it undefined.
2556
+ * @return {!proto.supervisor.PortsStatus} returns this
2030
2557
  */
2031
2558
  proto.supervisor.PortsStatus.prototype.clearExposed = function() {
2032
- this.setExposed(undefined);
2559
+ return this.setExposed(undefined);
2033
2560
  };
2034
2561
 
2035
2562
 
@@ -2042,18 +2569,93 @@ proto.supervisor.PortsStatus.prototype.hasExposed = function() {
2042
2569
  };
2043
2570
 
2044
2571
 
2572
+ /**
2573
+ * optional PortAutoExposure auto_exposure = 7;
2574
+ * @return {!proto.supervisor.PortAutoExposure}
2575
+ */
2576
+ proto.supervisor.PortsStatus.prototype.getAutoExposure = function() {
2577
+ return /** @type {!proto.supervisor.PortAutoExposure} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
2578
+ };
2579
+
2580
+
2581
+ /**
2582
+ * @param {!proto.supervisor.PortAutoExposure} value
2583
+ * @return {!proto.supervisor.PortsStatus} returns this
2584
+ */
2585
+ proto.supervisor.PortsStatus.prototype.setAutoExposure = function(value) {
2586
+ return jspb.Message.setProto3EnumField(this, 7, value);
2587
+ };
2588
+
2589
+
2590
+ /**
2591
+ * optional TunneledPortInfo tunneled = 6;
2592
+ * @return {?proto.supervisor.TunneledPortInfo}
2593
+ */
2594
+ proto.supervisor.PortsStatus.prototype.getTunneled = function() {
2595
+ return /** @type{?proto.supervisor.TunneledPortInfo} */ (
2596
+ jspb.Message.getWrapperField(this, proto.supervisor.TunneledPortInfo, 6));
2597
+ };
2598
+
2599
+
2600
+ /**
2601
+ * @param {?proto.supervisor.TunneledPortInfo|undefined} value
2602
+ * @return {!proto.supervisor.PortsStatus} returns this
2603
+ */
2604
+ proto.supervisor.PortsStatus.prototype.setTunneled = function(value) {
2605
+ return jspb.Message.setWrapperField(this, 6, value);
2606
+ };
2607
+
2608
+
2609
+ /**
2610
+ * Clears the message field making it undefined.
2611
+ * @return {!proto.supervisor.PortsStatus} returns this
2612
+ */
2613
+ proto.supervisor.PortsStatus.prototype.clearTunneled = function() {
2614
+ return this.setTunneled(undefined);
2615
+ };
2616
+
2617
+
2618
+ /**
2619
+ * Returns whether this field is set.
2620
+ * @return {boolean}
2621
+ */
2622
+ proto.supervisor.PortsStatus.prototype.hasTunneled = function() {
2623
+ return jspb.Message.getField(this, 6) != null;
2624
+ };
2625
+
2626
+
2627
+ /**
2628
+ * optional string description = 8;
2629
+ * @return {string}
2630
+ */
2631
+ proto.supervisor.PortsStatus.prototype.getDescription = function() {
2632
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2633
+ };
2634
+
2635
+
2636
+ /**
2637
+ * @param {string} value
2638
+ * @return {!proto.supervisor.PortsStatus} returns this
2639
+ */
2640
+ proto.supervisor.PortsStatus.prototype.setDescription = function(value) {
2641
+ return jspb.Message.setProto3StringField(this, 8, value);
2642
+ };
2643
+
2644
+
2045
2645
 
2046
2646
 
2047
2647
 
2048
2648
  if (jspb.Message.GENERATE_TO_OBJECT) {
2049
2649
  /**
2050
- * Creates an object representation of this proto suitable for use in Soy templates.
2650
+ * Creates an object representation of this proto.
2051
2651
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2652
+ * Optional fields that are not set will be set to undefined.
2052
2653
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2053
2654
  * For the list of reserved names please see:
2054
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2055
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2056
- * for transitional soy proto support: http://goto/soy-param-migration
2655
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2656
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2657
+ * JSPB instance for transitional soy proto support:
2658
+ * http://goto/soy-param-migration
2057
2659
  * @return {!Object}
2058
2660
  */
2059
2661
  proto.supervisor.TasksStatusRequest.prototype.toObject = function(opt_includeInstance) {
@@ -2063,8 +2665,8 @@ proto.supervisor.TasksStatusRequest.prototype.toObject = function(opt_includeIns
2063
2665
 
2064
2666
  /**
2065
2667
  * Static version of the {@see toObject} method.
2066
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2067
- * instance for transitional soy proto support:
2668
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2669
+ * the JSPB instance for transitional soy proto support:
2068
2670
  * http://goto/soy-param-migration
2069
2671
  * @param {!proto.supervisor.TasksStatusRequest} msg The msg instance to transform.
2070
2672
  * @return {!Object}
@@ -2072,7 +2674,7 @@ proto.supervisor.TasksStatusRequest.prototype.toObject = function(opt_includeIns
2072
2674
  */
2073
2675
  proto.supervisor.TasksStatusRequest.toObject = function(includeInstance, msg) {
2074
2676
  var f, obj = {
2075
- observe: jspb.Message.getFieldWithDefault(msg, 1, false)
2677
+ observe: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
2076
2678
  };
2077
2679
 
2078
2680
  if (includeInstance) {
@@ -2154,18 +2756,19 @@ proto.supervisor.TasksStatusRequest.serializeBinaryToWriter = function(message,
2154
2756
 
2155
2757
  /**
2156
2758
  * optional bool observe = 1;
2157
- * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
2158
- * You should avoid comparisons like {@code val === true/false} in those cases.
2159
2759
  * @return {boolean}
2160
2760
  */
2161
2761
  proto.supervisor.TasksStatusRequest.prototype.getObserve = function() {
2162
- return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 1, false));
2762
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
2163
2763
  };
2164
2764
 
2165
2765
 
2166
- /** @param {boolean} value */
2766
+ /**
2767
+ * @param {boolean} value
2768
+ * @return {!proto.supervisor.TasksStatusRequest} returns this
2769
+ */
2167
2770
  proto.supervisor.TasksStatusRequest.prototype.setObserve = function(value) {
2168
- jspb.Message.setProto3BooleanField(this, 1, value);
2771
+ return jspb.Message.setProto3BooleanField(this, 1, value);
2169
2772
  };
2170
2773
 
2171
2774
 
@@ -2181,13 +2784,15 @@ proto.supervisor.TasksStatusResponse.repeatedFields_ = [1];
2181
2784
 
2182
2785
  if (jspb.Message.GENERATE_TO_OBJECT) {
2183
2786
  /**
2184
- * Creates an object representation of this proto suitable for use in Soy templates.
2787
+ * Creates an object representation of this proto.
2185
2788
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2789
+ * Optional fields that are not set will be set to undefined.
2186
2790
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2187
2791
  * For the list of reserved names please see:
2188
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2189
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2190
- * for transitional soy proto support: http://goto/soy-param-migration
2792
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2793
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2794
+ * JSPB instance for transitional soy proto support:
2795
+ * http://goto/soy-param-migration
2191
2796
  * @return {!Object}
2192
2797
  */
2193
2798
  proto.supervisor.TasksStatusResponse.prototype.toObject = function(opt_includeInstance) {
@@ -2197,8 +2802,8 @@ proto.supervisor.TasksStatusResponse.prototype.toObject = function(opt_includeIn
2197
2802
 
2198
2803
  /**
2199
2804
  * Static version of the {@see toObject} method.
2200
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2201
- * instance for transitional soy proto support:
2805
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2806
+ * the JSPB instance for transitional soy proto support:
2202
2807
  * http://goto/soy-param-migration
2203
2808
  * @param {!proto.supervisor.TasksStatusResponse} msg The msg instance to transform.
2204
2809
  * @return {!Object}
@@ -2299,9 +2904,12 @@ proto.supervisor.TasksStatusResponse.prototype.getTasksList = function() {
2299
2904
  };
2300
2905
 
2301
2906
 
2302
- /** @param {!Array<!proto.supervisor.TaskStatus>} value */
2907
+ /**
2908
+ * @param {!Array<!proto.supervisor.TaskStatus>} value
2909
+ * @return {!proto.supervisor.TasksStatusResponse} returns this
2910
+ */
2303
2911
  proto.supervisor.TasksStatusResponse.prototype.setTasksList = function(value) {
2304
- jspb.Message.setRepeatedWrapperField(this, 1, value);
2912
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2305
2913
  };
2306
2914
 
2307
2915
 
@@ -2317,9 +2925,10 @@ proto.supervisor.TasksStatusResponse.prototype.addTasks = function(opt_value, op
2317
2925
 
2318
2926
  /**
2319
2927
  * Clears the list making it empty but non-null.
2928
+ * @return {!proto.supervisor.TasksStatusResponse} returns this
2320
2929
  */
2321
2930
  proto.supervisor.TasksStatusResponse.prototype.clearTasksList = function() {
2322
- this.setTasksList([]);
2931
+ return this.setTasksList([]);
2323
2932
  };
2324
2933
 
2325
2934
 
@@ -2328,13 +2937,15 @@ proto.supervisor.TasksStatusResponse.prototype.clearTasksList = function() {
2328
2937
 
2329
2938
  if (jspb.Message.GENERATE_TO_OBJECT) {
2330
2939
  /**
2331
- * Creates an object representation of this proto suitable for use in Soy templates.
2940
+ * Creates an object representation of this proto.
2332
2941
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
2942
+ * Optional fields that are not set will be set to undefined.
2333
2943
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2334
2944
  * For the list of reserved names please see:
2335
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2336
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2337
- * for transitional soy proto support: http://goto/soy-param-migration
2945
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2946
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2947
+ * JSPB instance for transitional soy proto support:
2948
+ * http://goto/soy-param-migration
2338
2949
  * @return {!Object}
2339
2950
  */
2340
2951
  proto.supervisor.TaskStatus.prototype.toObject = function(opt_includeInstance) {
@@ -2344,8 +2955,8 @@ proto.supervisor.TaskStatus.prototype.toObject = function(opt_includeInstance) {
2344
2955
 
2345
2956
  /**
2346
2957
  * Static version of the {@see toObject} method.
2347
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2348
- * instance for transitional soy proto support:
2958
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2959
+ * the JSPB instance for transitional soy proto support:
2349
2960
  * http://goto/soy-param-migration
2350
2961
  * @param {!proto.supervisor.TaskStatus} msg The msg instance to transform.
2351
2962
  * @return {!Object}
@@ -2480,9 +3091,12 @@ proto.supervisor.TaskStatus.prototype.getId = function() {
2480
3091
  };
2481
3092
 
2482
3093
 
2483
- /** @param {string} value */
3094
+ /**
3095
+ * @param {string} value
3096
+ * @return {!proto.supervisor.TaskStatus} returns this
3097
+ */
2484
3098
  proto.supervisor.TaskStatus.prototype.setId = function(value) {
2485
- jspb.Message.setProto3StringField(this, 1, value);
3099
+ return jspb.Message.setProto3StringField(this, 1, value);
2486
3100
  };
2487
3101
 
2488
3102
 
@@ -2495,9 +3109,12 @@ proto.supervisor.TaskStatus.prototype.getState = function() {
2495
3109
  };
2496
3110
 
2497
3111
 
2498
- /** @param {!proto.supervisor.TaskState} value */
3112
+ /**
3113
+ * @param {!proto.supervisor.TaskState} value
3114
+ * @return {!proto.supervisor.TaskStatus} returns this
3115
+ */
2499
3116
  proto.supervisor.TaskStatus.prototype.setState = function(value) {
2500
- jspb.Message.setProto3EnumField(this, 2, value);
3117
+ return jspb.Message.setProto3EnumField(this, 2, value);
2501
3118
  };
2502
3119
 
2503
3120
 
@@ -2510,9 +3127,12 @@ proto.supervisor.TaskStatus.prototype.getTerminal = function() {
2510
3127
  };
2511
3128
 
2512
3129
 
2513
- /** @param {string} value */
3130
+ /**
3131
+ * @param {string} value
3132
+ * @return {!proto.supervisor.TaskStatus} returns this
3133
+ */
2514
3134
  proto.supervisor.TaskStatus.prototype.setTerminal = function(value) {
2515
- jspb.Message.setProto3StringField(this, 3, value);
3135
+ return jspb.Message.setProto3StringField(this, 3, value);
2516
3136
  };
2517
3137
 
2518
3138
 
@@ -2526,17 +3146,21 @@ proto.supervisor.TaskStatus.prototype.getPresentation = function() {
2526
3146
  };
2527
3147
 
2528
3148
 
2529
- /** @param {?proto.supervisor.TaskPresentation|undefined} value */
3149
+ /**
3150
+ * @param {?proto.supervisor.TaskPresentation|undefined} value
3151
+ * @return {!proto.supervisor.TaskStatus} returns this
3152
+ */
2530
3153
  proto.supervisor.TaskStatus.prototype.setPresentation = function(value) {
2531
- jspb.Message.setWrapperField(this, 4, value);
3154
+ return jspb.Message.setWrapperField(this, 4, value);
2532
3155
  };
2533
3156
 
2534
3157
 
2535
3158
  /**
2536
3159
  * Clears the message field making it undefined.
3160
+ * @return {!proto.supervisor.TaskStatus} returns this
2537
3161
  */
2538
3162
  proto.supervisor.TaskStatus.prototype.clearPresentation = function() {
2539
- this.setPresentation(undefined);
3163
+ return this.setPresentation(undefined);
2540
3164
  };
2541
3165
 
2542
3166
 
@@ -2554,13 +3178,15 @@ proto.supervisor.TaskStatus.prototype.hasPresentation = function() {
2554
3178
 
2555
3179
  if (jspb.Message.GENERATE_TO_OBJECT) {
2556
3180
  /**
2557
- * Creates an object representation of this proto suitable for use in Soy templates.
3181
+ * Creates an object representation of this proto.
2558
3182
  * Field names that are reserved in JavaScript and will be renamed to pb_name.
3183
+ * Optional fields that are not set will be set to undefined.
2559
3184
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2560
3185
  * For the list of reserved names please see:
2561
- * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2562
- * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2563
- * for transitional soy proto support: http://goto/soy-param-migration
3186
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3187
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3188
+ * JSPB instance for transitional soy proto support:
3189
+ * http://goto/soy-param-migration
2564
3190
  * @return {!Object}
2565
3191
  */
2566
3192
  proto.supervisor.TaskPresentation.prototype.toObject = function(opt_includeInstance) {
@@ -2570,8 +3196,8 @@ proto.supervisor.TaskPresentation.prototype.toObject = function(opt_includeInsta
2570
3196
 
2571
3197
  /**
2572
3198
  * Static version of the {@see toObject} method.
2573
- * @param {boolean|undefined} includeInstance Whether to include the JSPB
2574
- * instance for transitional soy proto support:
3199
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3200
+ * the JSPB instance for transitional soy proto support:
2575
3201
  * http://goto/soy-param-migration
2576
3202
  * @param {!proto.supervisor.TaskPresentation} msg The msg instance to transform.
2577
3203
  * @return {!Object}
@@ -2692,9 +3318,12 @@ proto.supervisor.TaskPresentation.prototype.getName = function() {
2692
3318
  };
2693
3319
 
2694
3320
 
2695
- /** @param {string} value */
3321
+ /**
3322
+ * @param {string} value
3323
+ * @return {!proto.supervisor.TaskPresentation} returns this
3324
+ */
2696
3325
  proto.supervisor.TaskPresentation.prototype.setName = function(value) {
2697
- jspb.Message.setProto3StringField(this, 1, value);
3326
+ return jspb.Message.setProto3StringField(this, 1, value);
2698
3327
  };
2699
3328
 
2700
3329
 
@@ -2707,9 +3336,12 @@ proto.supervisor.TaskPresentation.prototype.getOpenIn = function() {
2707
3336
  };
2708
3337
 
2709
3338
 
2710
- /** @param {string} value */
3339
+ /**
3340
+ * @param {string} value
3341
+ * @return {!proto.supervisor.TaskPresentation} returns this
3342
+ */
2711
3343
  proto.supervisor.TaskPresentation.prototype.setOpenIn = function(value) {
2712
- jspb.Message.setProto3StringField(this, 2, value);
3344
+ return jspb.Message.setProto3StringField(this, 2, value);
2713
3345
  };
2714
3346
 
2715
3347
 
@@ -2722,9 +3354,12 @@ proto.supervisor.TaskPresentation.prototype.getOpenMode = function() {
2722
3354
  };
2723
3355
 
2724
3356
 
2725
- /** @param {string} value */
3357
+ /**
3358
+ * @param {string} value
3359
+ * @return {!proto.supervisor.TaskPresentation} returns this
3360
+ */
2726
3361
  proto.supervisor.TaskPresentation.prototype.setOpenMode = function(value) {
2727
- jspb.Message.setProto3StringField(this, 3, value);
3362
+ return jspb.Message.setProto3StringField(this, 3, value);
2728
3363
  };
2729
3364
 
2730
3365
 
@@ -2756,6 +3391,15 @@ proto.supervisor.OnPortExposedAction = {
2756
3391
  NOTIFY_PRIVATE: 4
2757
3392
  };
2758
3393
 
3394
+ /**
3395
+ * @enum {number}
3396
+ */
3397
+ proto.supervisor.PortAutoExposure = {
3398
+ TRYING: 0,
3399
+ SUCCEEDED: 1,
3400
+ FAILED: 2
3401
+ };
3402
+
2759
3403
  /**
2760
3404
  * @enum {number}
2761
3405
  */