@gitpod/supervisor-api-grpc 0.1.5-sefftinge-remove-recursive-chown-2899.67 → 0.1.5-server-vscode-oauth2.11
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/control_grpc_pb.d.ts +7 -6
- package/lib/control_pb.d.ts +3 -4
- package/lib/control_pb.js +30 -16
- package/lib/info_grpc_pb.d.ts +7 -6
- package/lib/info_pb.d.ts +61 -29
- package/lib/info_pb.js +469 -42
- package/lib/notification_grpc_pb.d.ts +73 -0
- package/lib/notification_grpc_pb.js +121 -0
- package/lib/notification_pb.d.ts +148 -0
- package/lib/notification_pb.js +1070 -0
- package/lib/port_grpc_pb.d.ts +108 -0
- package/lib/port_grpc_pb.js +187 -0
- package/lib/port_pb.d.ts +232 -0
- package/lib/port_pb.js +1666 -0
- package/lib/status_grpc_pb.d.ts +23 -21
- package/lib/status_grpc_pb.js +1 -0
- package/lib/status_pb.d.ts +69 -49
- package/lib/status_pb.js +592 -187
- package/lib/terminal_grpc_pb.d.ts +86 -34
- package/lib/terminal_grpc_pb.js +127 -25
- package/lib/terminal_pb.d.ts +263 -134
- package/lib/terminal_pb.js +2245 -887
- package/lib/token_grpc_pb.d.ts +16 -15
- package/lib/token_pb.d.ts +31 -50
- package/lib/token_pb.js +255 -110
- package/package.json +7 -7
- package/pkg-yarn.lock +3 -3
package/lib/status_pb.js
CHANGED
|
@@ -1,16 +1,22 @@
|
|
|
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
16
|
var global = Function('return this')();
|
|
13
17
|
|
|
18
|
+
var port_pb = require('./port_pb.js');
|
|
19
|
+
goog.object.extend(proto, port_pb);
|
|
14
20
|
goog.exportSymbol('proto.supervisor.BackupStatusRequest', null, global);
|
|
15
21
|
goog.exportSymbol('proto.supervisor.BackupStatusResponse', null, global);
|
|
16
22
|
goog.exportSymbol('proto.supervisor.ContentSource', null, global);
|
|
@@ -20,6 +26,7 @@ goog.exportSymbol('proto.supervisor.ExposedPortInfo', null, global);
|
|
|
20
26
|
goog.exportSymbol('proto.supervisor.IDEStatusRequest', null, global);
|
|
21
27
|
goog.exportSymbol('proto.supervisor.IDEStatusResponse', null, global);
|
|
22
28
|
goog.exportSymbol('proto.supervisor.OnPortExposedAction', null, global);
|
|
29
|
+
goog.exportSymbol('proto.supervisor.PortAutoExposure', null, global);
|
|
23
30
|
goog.exportSymbol('proto.supervisor.PortVisibility', null, global);
|
|
24
31
|
goog.exportSymbol('proto.supervisor.PortsStatus', null, global);
|
|
25
32
|
goog.exportSymbol('proto.supervisor.PortsStatusRequest', null, global);
|
|
@@ -31,6 +38,7 @@ goog.exportSymbol('proto.supervisor.TaskState', null, global);
|
|
|
31
38
|
goog.exportSymbol('proto.supervisor.TaskStatus', null, global);
|
|
32
39
|
goog.exportSymbol('proto.supervisor.TasksStatusRequest', null, global);
|
|
33
40
|
goog.exportSymbol('proto.supervisor.TasksStatusResponse', null, global);
|
|
41
|
+
goog.exportSymbol('proto.supervisor.TunneledPortInfo', null, global);
|
|
34
42
|
/**
|
|
35
43
|
* Generated by JsPbCodeGenerator.
|
|
36
44
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -262,6 +270,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
262
270
|
*/
|
|
263
271
|
proto.supervisor.ExposedPortInfo.displayName = 'proto.supervisor.ExposedPortInfo';
|
|
264
272
|
}
|
|
273
|
+
/**
|
|
274
|
+
* Generated by JsPbCodeGenerator.
|
|
275
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
276
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
277
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
278
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
279
|
+
* valid.
|
|
280
|
+
* @extends {jspb.Message}
|
|
281
|
+
* @constructor
|
|
282
|
+
*/
|
|
283
|
+
proto.supervisor.TunneledPortInfo = function(opt_data) {
|
|
284
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
285
|
+
};
|
|
286
|
+
goog.inherits(proto.supervisor.TunneledPortInfo, jspb.Message);
|
|
287
|
+
if (goog.DEBUG && !COMPILED) {
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
* @override
|
|
291
|
+
*/
|
|
292
|
+
proto.supervisor.TunneledPortInfo.displayName = 'proto.supervisor.TunneledPortInfo';
|
|
293
|
+
}
|
|
265
294
|
/**
|
|
266
295
|
* Generated by JsPbCodeGenerator.
|
|
267
296
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -372,13 +401,15 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
372
401
|
|
|
373
402
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
374
403
|
/**
|
|
375
|
-
* Creates an object representation of this proto
|
|
404
|
+
* Creates an object representation of this proto.
|
|
376
405
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
406
|
+
* Optional fields that are not set will be set to undefined.
|
|
377
407
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
378
408
|
* For the list of reserved names please see:
|
|
379
|
-
*
|
|
380
|
-
* @param {boolean=} opt_includeInstance
|
|
381
|
-
* for transitional soy proto support:
|
|
409
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
410
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
411
|
+
* JSPB instance for transitional soy proto support:
|
|
412
|
+
* http://goto/soy-param-migration
|
|
382
413
|
* @return {!Object}
|
|
383
414
|
*/
|
|
384
415
|
proto.supervisor.SupervisorStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -388,8 +419,8 @@ proto.supervisor.SupervisorStatusRequest.prototype.toObject = function(opt_inclu
|
|
|
388
419
|
|
|
389
420
|
/**
|
|
390
421
|
* Static version of the {@see toObject} method.
|
|
391
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
392
|
-
* instance for transitional soy proto support:
|
|
422
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
423
|
+
* the JSPB instance for transitional soy proto support:
|
|
393
424
|
* http://goto/soy-param-migration
|
|
394
425
|
* @param {!proto.supervisor.SupervisorStatusRequest} msg The msg instance to transform.
|
|
395
426
|
* @return {!Object}
|
|
@@ -471,13 +502,15 @@ proto.supervisor.SupervisorStatusRequest.serializeBinaryToWriter = function(mess
|
|
|
471
502
|
|
|
472
503
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
473
504
|
/**
|
|
474
|
-
* Creates an object representation of this proto
|
|
505
|
+
* Creates an object representation of this proto.
|
|
475
506
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
507
|
+
* Optional fields that are not set will be set to undefined.
|
|
476
508
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
477
509
|
* For the list of reserved names please see:
|
|
478
|
-
*
|
|
479
|
-
* @param {boolean=} opt_includeInstance
|
|
480
|
-
* for transitional soy proto support:
|
|
510
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
511
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
512
|
+
* JSPB instance for transitional soy proto support:
|
|
513
|
+
* http://goto/soy-param-migration
|
|
481
514
|
* @return {!Object}
|
|
482
515
|
*/
|
|
483
516
|
proto.supervisor.SupervisorStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -487,8 +520,8 @@ proto.supervisor.SupervisorStatusResponse.prototype.toObject = function(opt_incl
|
|
|
487
520
|
|
|
488
521
|
/**
|
|
489
522
|
* Static version of the {@see toObject} method.
|
|
490
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
491
|
-
* instance for transitional soy proto support:
|
|
523
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
524
|
+
* the JSPB instance for transitional soy proto support:
|
|
492
525
|
* http://goto/soy-param-migration
|
|
493
526
|
* @param {!proto.supervisor.SupervisorStatusResponse} msg The msg instance to transform.
|
|
494
527
|
* @return {!Object}
|
|
@@ -496,7 +529,7 @@ proto.supervisor.SupervisorStatusResponse.prototype.toObject = function(opt_incl
|
|
|
496
529
|
*/
|
|
497
530
|
proto.supervisor.SupervisorStatusResponse.toObject = function(includeInstance, msg) {
|
|
498
531
|
var f, obj = {
|
|
499
|
-
ok: jspb.Message.
|
|
532
|
+
ok: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
500
533
|
};
|
|
501
534
|
|
|
502
535
|
if (includeInstance) {
|
|
@@ -578,18 +611,19 @@ proto.supervisor.SupervisorStatusResponse.serializeBinaryToWriter = function(mes
|
|
|
578
611
|
|
|
579
612
|
/**
|
|
580
613
|
* 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
614
|
* @return {boolean}
|
|
584
615
|
*/
|
|
585
616
|
proto.supervisor.SupervisorStatusResponse.prototype.getOk = function() {
|
|
586
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
617
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
587
618
|
};
|
|
588
619
|
|
|
589
620
|
|
|
590
|
-
/**
|
|
621
|
+
/**
|
|
622
|
+
* @param {boolean} value
|
|
623
|
+
* @return {!proto.supervisor.SupervisorStatusResponse} returns this
|
|
624
|
+
*/
|
|
591
625
|
proto.supervisor.SupervisorStatusResponse.prototype.setOk = function(value) {
|
|
592
|
-
jspb.Message.setProto3BooleanField(this, 1, value);
|
|
626
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
593
627
|
};
|
|
594
628
|
|
|
595
629
|
|
|
@@ -598,13 +632,15 @@ proto.supervisor.SupervisorStatusResponse.prototype.setOk = function(value) {
|
|
|
598
632
|
|
|
599
633
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
600
634
|
/**
|
|
601
|
-
* Creates an object representation of this proto
|
|
635
|
+
* Creates an object representation of this proto.
|
|
602
636
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
637
|
+
* Optional fields that are not set will be set to undefined.
|
|
603
638
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
604
639
|
* For the list of reserved names please see:
|
|
605
|
-
*
|
|
606
|
-
* @param {boolean=} opt_includeInstance
|
|
607
|
-
* for transitional soy proto support:
|
|
640
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
641
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
642
|
+
* JSPB instance for transitional soy proto support:
|
|
643
|
+
* http://goto/soy-param-migration
|
|
608
644
|
* @return {!Object}
|
|
609
645
|
*/
|
|
610
646
|
proto.supervisor.IDEStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -614,8 +650,8 @@ proto.supervisor.IDEStatusRequest.prototype.toObject = function(opt_includeInsta
|
|
|
614
650
|
|
|
615
651
|
/**
|
|
616
652
|
* Static version of the {@see toObject} method.
|
|
617
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
618
|
-
* instance for transitional soy proto support:
|
|
653
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
654
|
+
* the JSPB instance for transitional soy proto support:
|
|
619
655
|
* http://goto/soy-param-migration
|
|
620
656
|
* @param {!proto.supervisor.IDEStatusRequest} msg The msg instance to transform.
|
|
621
657
|
* @return {!Object}
|
|
@@ -623,7 +659,7 @@ proto.supervisor.IDEStatusRequest.prototype.toObject = function(opt_includeInsta
|
|
|
623
659
|
*/
|
|
624
660
|
proto.supervisor.IDEStatusRequest.toObject = function(includeInstance, msg) {
|
|
625
661
|
var f, obj = {
|
|
626
|
-
wait: jspb.Message.
|
|
662
|
+
wait: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
627
663
|
};
|
|
628
664
|
|
|
629
665
|
if (includeInstance) {
|
|
@@ -705,18 +741,19 @@ proto.supervisor.IDEStatusRequest.serializeBinaryToWriter = function(message, wr
|
|
|
705
741
|
|
|
706
742
|
/**
|
|
707
743
|
* 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
744
|
* @return {boolean}
|
|
711
745
|
*/
|
|
712
746
|
proto.supervisor.IDEStatusRequest.prototype.getWait = function() {
|
|
713
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
747
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
714
748
|
};
|
|
715
749
|
|
|
716
750
|
|
|
717
|
-
/**
|
|
751
|
+
/**
|
|
752
|
+
* @param {boolean} value
|
|
753
|
+
* @return {!proto.supervisor.IDEStatusRequest} returns this
|
|
754
|
+
*/
|
|
718
755
|
proto.supervisor.IDEStatusRequest.prototype.setWait = function(value) {
|
|
719
|
-
jspb.Message.setProto3BooleanField(this, 1, value);
|
|
756
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
720
757
|
};
|
|
721
758
|
|
|
722
759
|
|
|
@@ -725,13 +762,15 @@ proto.supervisor.IDEStatusRequest.prototype.setWait = function(value) {
|
|
|
725
762
|
|
|
726
763
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
727
764
|
/**
|
|
728
|
-
* Creates an object representation of this proto
|
|
765
|
+
* Creates an object representation of this proto.
|
|
729
766
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
767
|
+
* Optional fields that are not set will be set to undefined.
|
|
730
768
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
731
769
|
* For the list of reserved names please see:
|
|
732
|
-
*
|
|
733
|
-
* @param {boolean=} opt_includeInstance
|
|
734
|
-
* for transitional soy proto support:
|
|
770
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
771
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
772
|
+
* JSPB instance for transitional soy proto support:
|
|
773
|
+
* http://goto/soy-param-migration
|
|
735
774
|
* @return {!Object}
|
|
736
775
|
*/
|
|
737
776
|
proto.supervisor.IDEStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -741,8 +780,8 @@ proto.supervisor.IDEStatusResponse.prototype.toObject = function(opt_includeInst
|
|
|
741
780
|
|
|
742
781
|
/**
|
|
743
782
|
* Static version of the {@see toObject} method.
|
|
744
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
745
|
-
* instance for transitional soy proto support:
|
|
783
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
784
|
+
* the JSPB instance for transitional soy proto support:
|
|
746
785
|
* http://goto/soy-param-migration
|
|
747
786
|
* @param {!proto.supervisor.IDEStatusResponse} msg The msg instance to transform.
|
|
748
787
|
* @return {!Object}
|
|
@@ -750,7 +789,7 @@ proto.supervisor.IDEStatusResponse.prototype.toObject = function(opt_includeInst
|
|
|
750
789
|
*/
|
|
751
790
|
proto.supervisor.IDEStatusResponse.toObject = function(includeInstance, msg) {
|
|
752
791
|
var f, obj = {
|
|
753
|
-
ok: jspb.Message.
|
|
792
|
+
ok: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
754
793
|
};
|
|
755
794
|
|
|
756
795
|
if (includeInstance) {
|
|
@@ -832,18 +871,19 @@ proto.supervisor.IDEStatusResponse.serializeBinaryToWriter = function(message, w
|
|
|
832
871
|
|
|
833
872
|
/**
|
|
834
873
|
* 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
874
|
* @return {boolean}
|
|
838
875
|
*/
|
|
839
876
|
proto.supervisor.IDEStatusResponse.prototype.getOk = function() {
|
|
840
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
877
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
841
878
|
};
|
|
842
879
|
|
|
843
880
|
|
|
844
|
-
/**
|
|
881
|
+
/**
|
|
882
|
+
* @param {boolean} value
|
|
883
|
+
* @return {!proto.supervisor.IDEStatusResponse} returns this
|
|
884
|
+
*/
|
|
845
885
|
proto.supervisor.IDEStatusResponse.prototype.setOk = function(value) {
|
|
846
|
-
jspb.Message.setProto3BooleanField(this, 1, value);
|
|
886
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
847
887
|
};
|
|
848
888
|
|
|
849
889
|
|
|
@@ -852,13 +892,15 @@ proto.supervisor.IDEStatusResponse.prototype.setOk = function(value) {
|
|
|
852
892
|
|
|
853
893
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
854
894
|
/**
|
|
855
|
-
* Creates an object representation of this proto
|
|
895
|
+
* Creates an object representation of this proto.
|
|
856
896
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
897
|
+
* Optional fields that are not set will be set to undefined.
|
|
857
898
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
858
899
|
* For the list of reserved names please see:
|
|
859
|
-
*
|
|
860
|
-
* @param {boolean=} opt_includeInstance
|
|
861
|
-
* for transitional soy proto support:
|
|
900
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
901
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
902
|
+
* JSPB instance for transitional soy proto support:
|
|
903
|
+
* http://goto/soy-param-migration
|
|
862
904
|
* @return {!Object}
|
|
863
905
|
*/
|
|
864
906
|
proto.supervisor.ContentStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -868,8 +910,8 @@ proto.supervisor.ContentStatusRequest.prototype.toObject = function(opt_includeI
|
|
|
868
910
|
|
|
869
911
|
/**
|
|
870
912
|
* Static version of the {@see toObject} method.
|
|
871
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
872
|
-
* instance for transitional soy proto support:
|
|
913
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
914
|
+
* the JSPB instance for transitional soy proto support:
|
|
873
915
|
* http://goto/soy-param-migration
|
|
874
916
|
* @param {!proto.supervisor.ContentStatusRequest} msg The msg instance to transform.
|
|
875
917
|
* @return {!Object}
|
|
@@ -877,7 +919,7 @@ proto.supervisor.ContentStatusRequest.prototype.toObject = function(opt_includeI
|
|
|
877
919
|
*/
|
|
878
920
|
proto.supervisor.ContentStatusRequest.toObject = function(includeInstance, msg) {
|
|
879
921
|
var f, obj = {
|
|
880
|
-
wait: jspb.Message.
|
|
922
|
+
wait: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
881
923
|
};
|
|
882
924
|
|
|
883
925
|
if (includeInstance) {
|
|
@@ -959,18 +1001,19 @@ proto.supervisor.ContentStatusRequest.serializeBinaryToWriter = function(message
|
|
|
959
1001
|
|
|
960
1002
|
/**
|
|
961
1003
|
* 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
1004
|
* @return {boolean}
|
|
965
1005
|
*/
|
|
966
1006
|
proto.supervisor.ContentStatusRequest.prototype.getWait = function() {
|
|
967
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
1007
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
968
1008
|
};
|
|
969
1009
|
|
|
970
1010
|
|
|
971
|
-
/**
|
|
1011
|
+
/**
|
|
1012
|
+
* @param {boolean} value
|
|
1013
|
+
* @return {!proto.supervisor.ContentStatusRequest} returns this
|
|
1014
|
+
*/
|
|
972
1015
|
proto.supervisor.ContentStatusRequest.prototype.setWait = function(value) {
|
|
973
|
-
jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1016
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
974
1017
|
};
|
|
975
1018
|
|
|
976
1019
|
|
|
@@ -979,13 +1022,15 @@ proto.supervisor.ContentStatusRequest.prototype.setWait = function(value) {
|
|
|
979
1022
|
|
|
980
1023
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
981
1024
|
/**
|
|
982
|
-
* Creates an object representation of this proto
|
|
1025
|
+
* Creates an object representation of this proto.
|
|
983
1026
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1027
|
+
* Optional fields that are not set will be set to undefined.
|
|
984
1028
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
985
1029
|
* For the list of reserved names please see:
|
|
986
|
-
*
|
|
987
|
-
* @param {boolean=} opt_includeInstance
|
|
988
|
-
* for transitional soy proto support:
|
|
1030
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1031
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1032
|
+
* JSPB instance for transitional soy proto support:
|
|
1033
|
+
* http://goto/soy-param-migration
|
|
989
1034
|
* @return {!Object}
|
|
990
1035
|
*/
|
|
991
1036
|
proto.supervisor.ContentStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -995,8 +1040,8 @@ proto.supervisor.ContentStatusResponse.prototype.toObject = function(opt_include
|
|
|
995
1040
|
|
|
996
1041
|
/**
|
|
997
1042
|
* Static version of the {@see toObject} method.
|
|
998
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
999
|
-
* instance for transitional soy proto support:
|
|
1043
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1044
|
+
* the JSPB instance for transitional soy proto support:
|
|
1000
1045
|
* http://goto/soy-param-migration
|
|
1001
1046
|
* @param {!proto.supervisor.ContentStatusResponse} msg The msg instance to transform.
|
|
1002
1047
|
* @return {!Object}
|
|
@@ -1004,7 +1049,7 @@ proto.supervisor.ContentStatusResponse.prototype.toObject = function(opt_include
|
|
|
1004
1049
|
*/
|
|
1005
1050
|
proto.supervisor.ContentStatusResponse.toObject = function(includeInstance, msg) {
|
|
1006
1051
|
var f, obj = {
|
|
1007
|
-
available: jspb.Message.
|
|
1052
|
+
available: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
1008
1053
|
source: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
1009
1054
|
};
|
|
1010
1055
|
|
|
@@ -1098,18 +1143,19 @@ proto.supervisor.ContentStatusResponse.serializeBinaryToWriter = function(messag
|
|
|
1098
1143
|
|
|
1099
1144
|
/**
|
|
1100
1145
|
* 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
1146
|
* @return {boolean}
|
|
1104
1147
|
*/
|
|
1105
1148
|
proto.supervisor.ContentStatusResponse.prototype.getAvailable = function() {
|
|
1106
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
1149
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1107
1150
|
};
|
|
1108
1151
|
|
|
1109
1152
|
|
|
1110
|
-
/**
|
|
1153
|
+
/**
|
|
1154
|
+
* @param {boolean} value
|
|
1155
|
+
* @return {!proto.supervisor.ContentStatusResponse} returns this
|
|
1156
|
+
*/
|
|
1111
1157
|
proto.supervisor.ContentStatusResponse.prototype.setAvailable = function(value) {
|
|
1112
|
-
jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1158
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1113
1159
|
};
|
|
1114
1160
|
|
|
1115
1161
|
|
|
@@ -1122,9 +1168,12 @@ proto.supervisor.ContentStatusResponse.prototype.getSource = function() {
|
|
|
1122
1168
|
};
|
|
1123
1169
|
|
|
1124
1170
|
|
|
1125
|
-
/**
|
|
1171
|
+
/**
|
|
1172
|
+
* @param {!proto.supervisor.ContentSource} value
|
|
1173
|
+
* @return {!proto.supervisor.ContentStatusResponse} returns this
|
|
1174
|
+
*/
|
|
1126
1175
|
proto.supervisor.ContentStatusResponse.prototype.setSource = function(value) {
|
|
1127
|
-
jspb.Message.setProto3EnumField(this, 2, value);
|
|
1176
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
1128
1177
|
};
|
|
1129
1178
|
|
|
1130
1179
|
|
|
@@ -1133,13 +1182,15 @@ proto.supervisor.ContentStatusResponse.prototype.setSource = function(value) {
|
|
|
1133
1182
|
|
|
1134
1183
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1135
1184
|
/**
|
|
1136
|
-
* Creates an object representation of this proto
|
|
1185
|
+
* Creates an object representation of this proto.
|
|
1137
1186
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1187
|
+
* Optional fields that are not set will be set to undefined.
|
|
1138
1188
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1139
1189
|
* For the list of reserved names please see:
|
|
1140
|
-
*
|
|
1141
|
-
* @param {boolean=} opt_includeInstance
|
|
1142
|
-
* for transitional soy proto support:
|
|
1190
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1191
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1192
|
+
* JSPB instance for transitional soy proto support:
|
|
1193
|
+
* http://goto/soy-param-migration
|
|
1143
1194
|
* @return {!Object}
|
|
1144
1195
|
*/
|
|
1145
1196
|
proto.supervisor.BackupStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1149,8 +1200,8 @@ proto.supervisor.BackupStatusRequest.prototype.toObject = function(opt_includeIn
|
|
|
1149
1200
|
|
|
1150
1201
|
/**
|
|
1151
1202
|
* Static version of the {@see toObject} method.
|
|
1152
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1153
|
-
* instance for transitional soy proto support:
|
|
1203
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1204
|
+
* the JSPB instance for transitional soy proto support:
|
|
1154
1205
|
* http://goto/soy-param-migration
|
|
1155
1206
|
* @param {!proto.supervisor.BackupStatusRequest} msg The msg instance to transform.
|
|
1156
1207
|
* @return {!Object}
|
|
@@ -1232,13 +1283,15 @@ proto.supervisor.BackupStatusRequest.serializeBinaryToWriter = function(message,
|
|
|
1232
1283
|
|
|
1233
1284
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1234
1285
|
/**
|
|
1235
|
-
* Creates an object representation of this proto
|
|
1286
|
+
* Creates an object representation of this proto.
|
|
1236
1287
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1288
|
+
* Optional fields that are not set will be set to undefined.
|
|
1237
1289
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1238
1290
|
* For the list of reserved names please see:
|
|
1239
|
-
*
|
|
1240
|
-
* @param {boolean=} opt_includeInstance
|
|
1241
|
-
* for transitional soy proto support:
|
|
1291
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1292
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1293
|
+
* JSPB instance for transitional soy proto support:
|
|
1294
|
+
* http://goto/soy-param-migration
|
|
1242
1295
|
* @return {!Object}
|
|
1243
1296
|
*/
|
|
1244
1297
|
proto.supervisor.BackupStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1248,8 +1301,8 @@ proto.supervisor.BackupStatusResponse.prototype.toObject = function(opt_includeI
|
|
|
1248
1301
|
|
|
1249
1302
|
/**
|
|
1250
1303
|
* Static version of the {@see toObject} method.
|
|
1251
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1252
|
-
* instance for transitional soy proto support:
|
|
1304
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1305
|
+
* the JSPB instance for transitional soy proto support:
|
|
1253
1306
|
* http://goto/soy-param-migration
|
|
1254
1307
|
* @param {!proto.supervisor.BackupStatusResponse} msg The msg instance to transform.
|
|
1255
1308
|
* @return {!Object}
|
|
@@ -1257,7 +1310,7 @@ proto.supervisor.BackupStatusResponse.prototype.toObject = function(opt_includeI
|
|
|
1257
1310
|
*/
|
|
1258
1311
|
proto.supervisor.BackupStatusResponse.toObject = function(includeInstance, msg) {
|
|
1259
1312
|
var f, obj = {
|
|
1260
|
-
canaryAvailable: jspb.Message.
|
|
1313
|
+
canaryAvailable: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
1261
1314
|
};
|
|
1262
1315
|
|
|
1263
1316
|
if (includeInstance) {
|
|
@@ -1339,18 +1392,19 @@ proto.supervisor.BackupStatusResponse.serializeBinaryToWriter = function(message
|
|
|
1339
1392
|
|
|
1340
1393
|
/**
|
|
1341
1394
|
* 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
1395
|
* @return {boolean}
|
|
1345
1396
|
*/
|
|
1346
1397
|
proto.supervisor.BackupStatusResponse.prototype.getCanaryAvailable = function() {
|
|
1347
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
1398
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1348
1399
|
};
|
|
1349
1400
|
|
|
1350
1401
|
|
|
1351
|
-
/**
|
|
1402
|
+
/**
|
|
1403
|
+
* @param {boolean} value
|
|
1404
|
+
* @return {!proto.supervisor.BackupStatusResponse} returns this
|
|
1405
|
+
*/
|
|
1352
1406
|
proto.supervisor.BackupStatusResponse.prototype.setCanaryAvailable = function(value) {
|
|
1353
|
-
jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1407
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1354
1408
|
};
|
|
1355
1409
|
|
|
1356
1410
|
|
|
@@ -1359,13 +1413,15 @@ proto.supervisor.BackupStatusResponse.prototype.setCanaryAvailable = function(va
|
|
|
1359
1413
|
|
|
1360
1414
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1361
1415
|
/**
|
|
1362
|
-
* Creates an object representation of this proto
|
|
1416
|
+
* Creates an object representation of this proto.
|
|
1363
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.
|
|
1364
1419
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1365
1420
|
* For the list of reserved names please see:
|
|
1366
|
-
*
|
|
1367
|
-
* @param {boolean=} opt_includeInstance
|
|
1368
|
-
* for transitional soy proto support:
|
|
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
|
|
1369
1425
|
* @return {!Object}
|
|
1370
1426
|
*/
|
|
1371
1427
|
proto.supervisor.PortsStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1375,8 +1431,8 @@ proto.supervisor.PortsStatusRequest.prototype.toObject = function(opt_includeIns
|
|
|
1375
1431
|
|
|
1376
1432
|
/**
|
|
1377
1433
|
* Static version of the {@see toObject} method.
|
|
1378
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1379
|
-
* instance for transitional soy proto support:
|
|
1434
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1435
|
+
* the JSPB instance for transitional soy proto support:
|
|
1380
1436
|
* http://goto/soy-param-migration
|
|
1381
1437
|
* @param {!proto.supervisor.PortsStatusRequest} msg The msg instance to transform.
|
|
1382
1438
|
* @return {!Object}
|
|
@@ -1384,7 +1440,7 @@ proto.supervisor.PortsStatusRequest.prototype.toObject = function(opt_includeIns
|
|
|
1384
1440
|
*/
|
|
1385
1441
|
proto.supervisor.PortsStatusRequest.toObject = function(includeInstance, msg) {
|
|
1386
1442
|
var f, obj = {
|
|
1387
|
-
observe: jspb.Message.
|
|
1443
|
+
observe: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
1388
1444
|
};
|
|
1389
1445
|
|
|
1390
1446
|
if (includeInstance) {
|
|
@@ -1466,18 +1522,19 @@ proto.supervisor.PortsStatusRequest.serializeBinaryToWriter = function(message,
|
|
|
1466
1522
|
|
|
1467
1523
|
/**
|
|
1468
1524
|
* 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
1525
|
* @return {boolean}
|
|
1472
1526
|
*/
|
|
1473
1527
|
proto.supervisor.PortsStatusRequest.prototype.getObserve = function() {
|
|
1474
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
1528
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1475
1529
|
};
|
|
1476
1530
|
|
|
1477
1531
|
|
|
1478
|
-
/**
|
|
1532
|
+
/**
|
|
1533
|
+
* @param {boolean} value
|
|
1534
|
+
* @return {!proto.supervisor.PortsStatusRequest} returns this
|
|
1535
|
+
*/
|
|
1479
1536
|
proto.supervisor.PortsStatusRequest.prototype.setObserve = function(value) {
|
|
1480
|
-
jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1537
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1481
1538
|
};
|
|
1482
1539
|
|
|
1483
1540
|
|
|
@@ -1493,13 +1550,15 @@ proto.supervisor.PortsStatusResponse.repeatedFields_ = [1];
|
|
|
1493
1550
|
|
|
1494
1551
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1495
1552
|
/**
|
|
1496
|
-
* Creates an object representation of this proto
|
|
1553
|
+
* Creates an object representation of this proto.
|
|
1497
1554
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1555
|
+
* Optional fields that are not set will be set to undefined.
|
|
1498
1556
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1499
1557
|
* For the list of reserved names please see:
|
|
1500
|
-
*
|
|
1501
|
-
* @param {boolean=} opt_includeInstance
|
|
1502
|
-
* for transitional soy proto support:
|
|
1558
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1559
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1560
|
+
* JSPB instance for transitional soy proto support:
|
|
1561
|
+
* http://goto/soy-param-migration
|
|
1503
1562
|
* @return {!Object}
|
|
1504
1563
|
*/
|
|
1505
1564
|
proto.supervisor.PortsStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1509,8 +1568,8 @@ proto.supervisor.PortsStatusResponse.prototype.toObject = function(opt_includeIn
|
|
|
1509
1568
|
|
|
1510
1569
|
/**
|
|
1511
1570
|
* Static version of the {@see toObject} method.
|
|
1512
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1513
|
-
* instance for transitional soy proto support:
|
|
1571
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1572
|
+
* the JSPB instance for transitional soy proto support:
|
|
1514
1573
|
* http://goto/soy-param-migration
|
|
1515
1574
|
* @param {!proto.supervisor.PortsStatusResponse} msg The msg instance to transform.
|
|
1516
1575
|
* @return {!Object}
|
|
@@ -1611,9 +1670,12 @@ proto.supervisor.PortsStatusResponse.prototype.getPortsList = function() {
|
|
|
1611
1670
|
};
|
|
1612
1671
|
|
|
1613
1672
|
|
|
1614
|
-
/**
|
|
1673
|
+
/**
|
|
1674
|
+
* @param {!Array<!proto.supervisor.PortsStatus>} value
|
|
1675
|
+
* @return {!proto.supervisor.PortsStatusResponse} returns this
|
|
1676
|
+
*/
|
|
1615
1677
|
proto.supervisor.PortsStatusResponse.prototype.setPortsList = function(value) {
|
|
1616
|
-
jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1678
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1617
1679
|
};
|
|
1618
1680
|
|
|
1619
1681
|
|
|
@@ -1629,9 +1691,10 @@ proto.supervisor.PortsStatusResponse.prototype.addPorts = function(opt_value, op
|
|
|
1629
1691
|
|
|
1630
1692
|
/**
|
|
1631
1693
|
* Clears the list making it empty but non-null.
|
|
1694
|
+
* @return {!proto.supervisor.PortsStatusResponse} returns this
|
|
1632
1695
|
*/
|
|
1633
1696
|
proto.supervisor.PortsStatusResponse.prototype.clearPortsList = function() {
|
|
1634
|
-
this.setPortsList([]);
|
|
1697
|
+
return this.setPortsList([]);
|
|
1635
1698
|
};
|
|
1636
1699
|
|
|
1637
1700
|
|
|
@@ -1640,13 +1703,15 @@ proto.supervisor.PortsStatusResponse.prototype.clearPortsList = function() {
|
|
|
1640
1703
|
|
|
1641
1704
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1642
1705
|
/**
|
|
1643
|
-
* Creates an object representation of this proto
|
|
1706
|
+
* Creates an object representation of this proto.
|
|
1644
1707
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1708
|
+
* Optional fields that are not set will be set to undefined.
|
|
1645
1709
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1646
1710
|
* For the list of reserved names please see:
|
|
1647
|
-
*
|
|
1648
|
-
* @param {boolean=} opt_includeInstance
|
|
1649
|
-
* for transitional soy proto support:
|
|
1711
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1712
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1713
|
+
* JSPB instance for transitional soy proto support:
|
|
1714
|
+
* http://goto/soy-param-migration
|
|
1650
1715
|
* @return {!Object}
|
|
1651
1716
|
*/
|
|
1652
1717
|
proto.supervisor.ExposedPortInfo.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1656,8 +1721,8 @@ proto.supervisor.ExposedPortInfo.prototype.toObject = function(opt_includeInstan
|
|
|
1656
1721
|
|
|
1657
1722
|
/**
|
|
1658
1723
|
* Static version of the {@see toObject} method.
|
|
1659
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1660
|
-
* instance for transitional soy proto support:
|
|
1724
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1725
|
+
* the JSPB instance for transitional soy proto support:
|
|
1661
1726
|
* http://goto/soy-param-migration
|
|
1662
1727
|
* @param {!proto.supervisor.ExposedPortInfo} msg The msg instance to transform.
|
|
1663
1728
|
* @return {!Object}
|
|
@@ -1778,9 +1843,12 @@ proto.supervisor.ExposedPortInfo.prototype.getVisibility = function() {
|
|
|
1778
1843
|
};
|
|
1779
1844
|
|
|
1780
1845
|
|
|
1781
|
-
/**
|
|
1846
|
+
/**
|
|
1847
|
+
* @param {!proto.supervisor.PortVisibility} value
|
|
1848
|
+
* @return {!proto.supervisor.ExposedPortInfo} returns this
|
|
1849
|
+
*/
|
|
1782
1850
|
proto.supervisor.ExposedPortInfo.prototype.setVisibility = function(value) {
|
|
1783
|
-
jspb.Message.setProto3EnumField(this, 1, value);
|
|
1851
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
1784
1852
|
};
|
|
1785
1853
|
|
|
1786
1854
|
|
|
@@ -1793,9 +1861,12 @@ proto.supervisor.ExposedPortInfo.prototype.getUrl = function() {
|
|
|
1793
1861
|
};
|
|
1794
1862
|
|
|
1795
1863
|
|
|
1796
|
-
/**
|
|
1864
|
+
/**
|
|
1865
|
+
* @param {string} value
|
|
1866
|
+
* @return {!proto.supervisor.ExposedPortInfo} returns this
|
|
1867
|
+
*/
|
|
1797
1868
|
proto.supervisor.ExposedPortInfo.prototype.setUrl = function(value) {
|
|
1798
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
1869
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1799
1870
|
};
|
|
1800
1871
|
|
|
1801
1872
|
|
|
@@ -1808,24 +1879,222 @@ proto.supervisor.ExposedPortInfo.prototype.getOnExposed = function() {
|
|
|
1808
1879
|
};
|
|
1809
1880
|
|
|
1810
1881
|
|
|
1811
|
-
/**
|
|
1882
|
+
/**
|
|
1883
|
+
* @param {!proto.supervisor.OnPortExposedAction} value
|
|
1884
|
+
* @return {!proto.supervisor.ExposedPortInfo} returns this
|
|
1885
|
+
*/
|
|
1812
1886
|
proto.supervisor.ExposedPortInfo.prototype.setOnExposed = function(value) {
|
|
1813
|
-
jspb.Message.setProto3EnumField(this, 3, value);
|
|
1887
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
1888
|
+
};
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
|
|
1893
|
+
|
|
1894
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1895
|
+
/**
|
|
1896
|
+
* Creates an object representation of this proto.
|
|
1897
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1898
|
+
* Optional fields that are not set will be set to undefined.
|
|
1899
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1900
|
+
* For the list of reserved names please see:
|
|
1901
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1902
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1903
|
+
* JSPB instance for transitional soy proto support:
|
|
1904
|
+
* http://goto/soy-param-migration
|
|
1905
|
+
* @return {!Object}
|
|
1906
|
+
*/
|
|
1907
|
+
proto.supervisor.TunneledPortInfo.prototype.toObject = function(opt_includeInstance) {
|
|
1908
|
+
return proto.supervisor.TunneledPortInfo.toObject(opt_includeInstance, this);
|
|
1909
|
+
};
|
|
1910
|
+
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* Static version of the {@see toObject} method.
|
|
1914
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1915
|
+
* the JSPB instance for transitional soy proto support:
|
|
1916
|
+
* http://goto/soy-param-migration
|
|
1917
|
+
* @param {!proto.supervisor.TunneledPortInfo} msg The msg instance to transform.
|
|
1918
|
+
* @return {!Object}
|
|
1919
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1920
|
+
*/
|
|
1921
|
+
proto.supervisor.TunneledPortInfo.toObject = function(includeInstance, msg) {
|
|
1922
|
+
var f, obj = {
|
|
1923
|
+
targetPort: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1924
|
+
visibility: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1925
|
+
clientsMap: (f = msg.getClientsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
1926
|
+
};
|
|
1927
|
+
|
|
1928
|
+
if (includeInstance) {
|
|
1929
|
+
obj.$jspbMessageInstance = msg;
|
|
1930
|
+
}
|
|
1931
|
+
return obj;
|
|
1932
|
+
};
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1938
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1939
|
+
* @return {!proto.supervisor.TunneledPortInfo}
|
|
1940
|
+
*/
|
|
1941
|
+
proto.supervisor.TunneledPortInfo.deserializeBinary = function(bytes) {
|
|
1942
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1943
|
+
var msg = new proto.supervisor.TunneledPortInfo;
|
|
1944
|
+
return proto.supervisor.TunneledPortInfo.deserializeBinaryFromReader(msg, reader);
|
|
1945
|
+
};
|
|
1946
|
+
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1950
|
+
* given reader into the given message object.
|
|
1951
|
+
* @param {!proto.supervisor.TunneledPortInfo} msg The message object to deserialize into.
|
|
1952
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1953
|
+
* @return {!proto.supervisor.TunneledPortInfo}
|
|
1954
|
+
*/
|
|
1955
|
+
proto.supervisor.TunneledPortInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
1956
|
+
while (reader.nextField()) {
|
|
1957
|
+
if (reader.isEndGroup()) {
|
|
1958
|
+
break;
|
|
1959
|
+
}
|
|
1960
|
+
var field = reader.getFieldNumber();
|
|
1961
|
+
switch (field) {
|
|
1962
|
+
case 1:
|
|
1963
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
1964
|
+
msg.setTargetPort(value);
|
|
1965
|
+
break;
|
|
1966
|
+
case 2:
|
|
1967
|
+
var value = /** @type {!proto.supervisor.TunnelVisiblity} */ (reader.readEnum());
|
|
1968
|
+
msg.setVisibility(value);
|
|
1969
|
+
break;
|
|
1970
|
+
case 3:
|
|
1971
|
+
var value = msg.getClientsMap();
|
|
1972
|
+
reader.readMessage(value, function(message, reader) {
|
|
1973
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readUint32, null, "", 0);
|
|
1974
|
+
});
|
|
1975
|
+
break;
|
|
1976
|
+
default:
|
|
1977
|
+
reader.skipField();
|
|
1978
|
+
break;
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
return msg;
|
|
1982
|
+
};
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1987
|
+
* @return {!Uint8Array}
|
|
1988
|
+
*/
|
|
1989
|
+
proto.supervisor.TunneledPortInfo.prototype.serializeBinary = function() {
|
|
1990
|
+
var writer = new jspb.BinaryWriter();
|
|
1991
|
+
proto.supervisor.TunneledPortInfo.serializeBinaryToWriter(this, writer);
|
|
1992
|
+
return writer.getResultBuffer();
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
/**
|
|
1997
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1998
|
+
* format), writing to the given BinaryWriter.
|
|
1999
|
+
* @param {!proto.supervisor.TunneledPortInfo} message
|
|
2000
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2001
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2002
|
+
*/
|
|
2003
|
+
proto.supervisor.TunneledPortInfo.serializeBinaryToWriter = function(message, writer) {
|
|
2004
|
+
var f = undefined;
|
|
2005
|
+
f = message.getTargetPort();
|
|
2006
|
+
if (f !== 0) {
|
|
2007
|
+
writer.writeUint32(
|
|
2008
|
+
1,
|
|
2009
|
+
f
|
|
2010
|
+
);
|
|
2011
|
+
}
|
|
2012
|
+
f = message.getVisibility();
|
|
2013
|
+
if (f !== 0.0) {
|
|
2014
|
+
writer.writeEnum(
|
|
2015
|
+
2,
|
|
2016
|
+
f
|
|
2017
|
+
);
|
|
2018
|
+
}
|
|
2019
|
+
f = message.getClientsMap(true);
|
|
2020
|
+
if (f && f.getLength() > 0) {
|
|
2021
|
+
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeUint32);
|
|
2022
|
+
}
|
|
1814
2023
|
};
|
|
1815
2024
|
|
|
1816
2025
|
|
|
2026
|
+
/**
|
|
2027
|
+
* optional uint32 target_port = 1;
|
|
2028
|
+
* @return {number}
|
|
2029
|
+
*/
|
|
2030
|
+
proto.supervisor.TunneledPortInfo.prototype.getTargetPort = function() {
|
|
2031
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2032
|
+
};
|
|
2033
|
+
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* @param {number} value
|
|
2037
|
+
* @return {!proto.supervisor.TunneledPortInfo} returns this
|
|
2038
|
+
*/
|
|
2039
|
+
proto.supervisor.TunneledPortInfo.prototype.setTargetPort = function(value) {
|
|
2040
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2041
|
+
};
|
|
2042
|
+
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* optional TunnelVisiblity visibility = 2;
|
|
2046
|
+
* @return {!proto.supervisor.TunnelVisiblity}
|
|
2047
|
+
*/
|
|
2048
|
+
proto.supervisor.TunneledPortInfo.prototype.getVisibility = function() {
|
|
2049
|
+
return /** @type {!proto.supervisor.TunnelVisiblity} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2050
|
+
};
|
|
2051
|
+
|
|
2052
|
+
|
|
2053
|
+
/**
|
|
2054
|
+
* @param {!proto.supervisor.TunnelVisiblity} value
|
|
2055
|
+
* @return {!proto.supervisor.TunneledPortInfo} returns this
|
|
2056
|
+
*/
|
|
2057
|
+
proto.supervisor.TunneledPortInfo.prototype.setVisibility = function(value) {
|
|
2058
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
2059
|
+
};
|
|
2060
|
+
|
|
2061
|
+
|
|
2062
|
+
/**
|
|
2063
|
+
* map<string, uint32> clients = 3;
|
|
2064
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
2065
|
+
* empty, instead returning `undefined`
|
|
2066
|
+
* @return {!jspb.Map<string,number>}
|
|
2067
|
+
*/
|
|
2068
|
+
proto.supervisor.TunneledPortInfo.prototype.getClientsMap = function(opt_noLazyCreate) {
|
|
2069
|
+
return /** @type {!jspb.Map<string,number>} */ (
|
|
2070
|
+
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
|
|
2071
|
+
null));
|
|
2072
|
+
};
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* Clears values from the map. The map will be non-null.
|
|
2077
|
+
* @return {!proto.supervisor.TunneledPortInfo} returns this
|
|
2078
|
+
*/
|
|
2079
|
+
proto.supervisor.TunneledPortInfo.prototype.clearClientsMap = function() {
|
|
2080
|
+
this.getClientsMap().clear();
|
|
2081
|
+
return this;};
|
|
2082
|
+
|
|
2083
|
+
|
|
1817
2084
|
|
|
1818
2085
|
|
|
1819
2086
|
|
|
1820
2087
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1821
2088
|
/**
|
|
1822
|
-
* Creates an object representation of this proto
|
|
2089
|
+
* Creates an object representation of this proto.
|
|
1823
2090
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2091
|
+
* Optional fields that are not set will be set to undefined.
|
|
1824
2092
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1825
2093
|
* For the list of reserved names please see:
|
|
1826
|
-
*
|
|
1827
|
-
* @param {boolean=} opt_includeInstance
|
|
1828
|
-
* for transitional soy proto support:
|
|
2094
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2095
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2096
|
+
* JSPB instance for transitional soy proto support:
|
|
2097
|
+
* http://goto/soy-param-migration
|
|
1829
2098
|
* @return {!Object}
|
|
1830
2099
|
*/
|
|
1831
2100
|
proto.supervisor.PortsStatus.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1835,8 +2104,8 @@ proto.supervisor.PortsStatus.prototype.toObject = function(opt_includeInstance)
|
|
|
1835
2104
|
|
|
1836
2105
|
/**
|
|
1837
2106
|
* Static version of the {@see toObject} method.
|
|
1838
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1839
|
-
* instance for transitional soy proto support:
|
|
2107
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2108
|
+
* the JSPB instance for transitional soy proto support:
|
|
1840
2109
|
* http://goto/soy-param-migration
|
|
1841
2110
|
* @param {!proto.supervisor.PortsStatus} msg The msg instance to transform.
|
|
1842
2111
|
* @return {!Object}
|
|
@@ -1846,8 +2115,10 @@ proto.supervisor.PortsStatus.toObject = function(includeInstance, msg) {
|
|
|
1846
2115
|
var f, obj = {
|
|
1847
2116
|
localPort: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1848
2117
|
globalPort: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1849
|
-
served: jspb.Message.
|
|
1850
|
-
exposed: (f = msg.getExposed()) && proto.supervisor.ExposedPortInfo.toObject(includeInstance, f)
|
|
2118
|
+
served: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
2119
|
+
exposed: (f = msg.getExposed()) && proto.supervisor.ExposedPortInfo.toObject(includeInstance, f),
|
|
2120
|
+
autoExposure: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
2121
|
+
tunneled: (f = msg.getTunneled()) && proto.supervisor.TunneledPortInfo.toObject(includeInstance, f)
|
|
1851
2122
|
};
|
|
1852
2123
|
|
|
1853
2124
|
if (includeInstance) {
|
|
@@ -1901,6 +2172,15 @@ proto.supervisor.PortsStatus.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1901
2172
|
reader.readMessage(value,proto.supervisor.ExposedPortInfo.deserializeBinaryFromReader);
|
|
1902
2173
|
msg.setExposed(value);
|
|
1903
2174
|
break;
|
|
2175
|
+
case 7:
|
|
2176
|
+
var value = /** @type {!proto.supervisor.PortAutoExposure} */ (reader.readEnum());
|
|
2177
|
+
msg.setAutoExposure(value);
|
|
2178
|
+
break;
|
|
2179
|
+
case 6:
|
|
2180
|
+
var value = new proto.supervisor.TunneledPortInfo;
|
|
2181
|
+
reader.readMessage(value,proto.supervisor.TunneledPortInfo.deserializeBinaryFromReader);
|
|
2182
|
+
msg.setTunneled(value);
|
|
2183
|
+
break;
|
|
1904
2184
|
default:
|
|
1905
2185
|
reader.skipField();
|
|
1906
2186
|
break;
|
|
@@ -1959,6 +2239,21 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
|
|
|
1959
2239
|
proto.supervisor.ExposedPortInfo.serializeBinaryToWriter
|
|
1960
2240
|
);
|
|
1961
2241
|
}
|
|
2242
|
+
f = message.getAutoExposure();
|
|
2243
|
+
if (f !== 0.0) {
|
|
2244
|
+
writer.writeEnum(
|
|
2245
|
+
7,
|
|
2246
|
+
f
|
|
2247
|
+
);
|
|
2248
|
+
}
|
|
2249
|
+
f = message.getTunneled();
|
|
2250
|
+
if (f != null) {
|
|
2251
|
+
writer.writeMessage(
|
|
2252
|
+
6,
|
|
2253
|
+
f,
|
|
2254
|
+
proto.supervisor.TunneledPortInfo.serializeBinaryToWriter
|
|
2255
|
+
);
|
|
2256
|
+
}
|
|
1962
2257
|
};
|
|
1963
2258
|
|
|
1964
2259
|
|
|
@@ -1971,9 +2266,12 @@ proto.supervisor.PortsStatus.prototype.getLocalPort = function() {
|
|
|
1971
2266
|
};
|
|
1972
2267
|
|
|
1973
2268
|
|
|
1974
|
-
/**
|
|
2269
|
+
/**
|
|
2270
|
+
* @param {number} value
|
|
2271
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2272
|
+
*/
|
|
1975
2273
|
proto.supervisor.PortsStatus.prototype.setLocalPort = function(value) {
|
|
1976
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
2274
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1977
2275
|
};
|
|
1978
2276
|
|
|
1979
2277
|
|
|
@@ -1986,26 +2284,30 @@ proto.supervisor.PortsStatus.prototype.getGlobalPort = function() {
|
|
|
1986
2284
|
};
|
|
1987
2285
|
|
|
1988
2286
|
|
|
1989
|
-
/**
|
|
2287
|
+
/**
|
|
2288
|
+
* @param {number} value
|
|
2289
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2290
|
+
*/
|
|
1990
2291
|
proto.supervisor.PortsStatus.prototype.setGlobalPort = function(value) {
|
|
1991
|
-
jspb.Message.setProto3IntField(this, 2, value);
|
|
2292
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
1992
2293
|
};
|
|
1993
2294
|
|
|
1994
2295
|
|
|
1995
2296
|
/**
|
|
1996
2297
|
* 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
2298
|
* @return {boolean}
|
|
2000
2299
|
*/
|
|
2001
2300
|
proto.supervisor.PortsStatus.prototype.getServed = function() {
|
|
2002
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
2301
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
2003
2302
|
};
|
|
2004
2303
|
|
|
2005
2304
|
|
|
2006
|
-
/**
|
|
2305
|
+
/**
|
|
2306
|
+
* @param {boolean} value
|
|
2307
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2308
|
+
*/
|
|
2007
2309
|
proto.supervisor.PortsStatus.prototype.setServed = function(value) {
|
|
2008
|
-
jspb.Message.setProto3BooleanField(this, 4, value);
|
|
2310
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
2009
2311
|
};
|
|
2010
2312
|
|
|
2011
2313
|
|
|
@@ -2019,17 +2321,21 @@ proto.supervisor.PortsStatus.prototype.getExposed = function() {
|
|
|
2019
2321
|
};
|
|
2020
2322
|
|
|
2021
2323
|
|
|
2022
|
-
/**
|
|
2324
|
+
/**
|
|
2325
|
+
* @param {?proto.supervisor.ExposedPortInfo|undefined} value
|
|
2326
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2327
|
+
*/
|
|
2023
2328
|
proto.supervisor.PortsStatus.prototype.setExposed = function(value) {
|
|
2024
|
-
jspb.Message.setWrapperField(this, 5, value);
|
|
2329
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
2025
2330
|
};
|
|
2026
2331
|
|
|
2027
2332
|
|
|
2028
2333
|
/**
|
|
2029
2334
|
* Clears the message field making it undefined.
|
|
2335
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2030
2336
|
*/
|
|
2031
2337
|
proto.supervisor.PortsStatus.prototype.clearExposed = function() {
|
|
2032
|
-
this.setExposed(undefined);
|
|
2338
|
+
return this.setExposed(undefined);
|
|
2033
2339
|
};
|
|
2034
2340
|
|
|
2035
2341
|
|
|
@@ -2042,18 +2348,75 @@ proto.supervisor.PortsStatus.prototype.hasExposed = function() {
|
|
|
2042
2348
|
};
|
|
2043
2349
|
|
|
2044
2350
|
|
|
2351
|
+
/**
|
|
2352
|
+
* optional PortAutoExposure auto_exposure = 7;
|
|
2353
|
+
* @return {!proto.supervisor.PortAutoExposure}
|
|
2354
|
+
*/
|
|
2355
|
+
proto.supervisor.PortsStatus.prototype.getAutoExposure = function() {
|
|
2356
|
+
return /** @type {!proto.supervisor.PortAutoExposure} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
2357
|
+
};
|
|
2358
|
+
|
|
2359
|
+
|
|
2360
|
+
/**
|
|
2361
|
+
* @param {!proto.supervisor.PortAutoExposure} value
|
|
2362
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2363
|
+
*/
|
|
2364
|
+
proto.supervisor.PortsStatus.prototype.setAutoExposure = function(value) {
|
|
2365
|
+
return jspb.Message.setProto3EnumField(this, 7, value);
|
|
2366
|
+
};
|
|
2367
|
+
|
|
2368
|
+
|
|
2369
|
+
/**
|
|
2370
|
+
* optional TunneledPortInfo tunneled = 6;
|
|
2371
|
+
* @return {?proto.supervisor.TunneledPortInfo}
|
|
2372
|
+
*/
|
|
2373
|
+
proto.supervisor.PortsStatus.prototype.getTunneled = function() {
|
|
2374
|
+
return /** @type{?proto.supervisor.TunneledPortInfo} */ (
|
|
2375
|
+
jspb.Message.getWrapperField(this, proto.supervisor.TunneledPortInfo, 6));
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* @param {?proto.supervisor.TunneledPortInfo|undefined} value
|
|
2381
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2382
|
+
*/
|
|
2383
|
+
proto.supervisor.PortsStatus.prototype.setTunneled = function(value) {
|
|
2384
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
2385
|
+
};
|
|
2386
|
+
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* Clears the message field making it undefined.
|
|
2390
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2391
|
+
*/
|
|
2392
|
+
proto.supervisor.PortsStatus.prototype.clearTunneled = function() {
|
|
2393
|
+
return this.setTunneled(undefined);
|
|
2394
|
+
};
|
|
2395
|
+
|
|
2396
|
+
|
|
2397
|
+
/**
|
|
2398
|
+
* Returns whether this field is set.
|
|
2399
|
+
* @return {boolean}
|
|
2400
|
+
*/
|
|
2401
|
+
proto.supervisor.PortsStatus.prototype.hasTunneled = function() {
|
|
2402
|
+
return jspb.Message.getField(this, 6) != null;
|
|
2403
|
+
};
|
|
2404
|
+
|
|
2405
|
+
|
|
2045
2406
|
|
|
2046
2407
|
|
|
2047
2408
|
|
|
2048
2409
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2049
2410
|
/**
|
|
2050
|
-
* Creates an object representation of this proto
|
|
2411
|
+
* Creates an object representation of this proto.
|
|
2051
2412
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2413
|
+
* Optional fields that are not set will be set to undefined.
|
|
2052
2414
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2053
2415
|
* For the list of reserved names please see:
|
|
2054
|
-
*
|
|
2055
|
-
* @param {boolean=} opt_includeInstance
|
|
2056
|
-
* for transitional soy proto support:
|
|
2416
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2417
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2418
|
+
* JSPB instance for transitional soy proto support:
|
|
2419
|
+
* http://goto/soy-param-migration
|
|
2057
2420
|
* @return {!Object}
|
|
2058
2421
|
*/
|
|
2059
2422
|
proto.supervisor.TasksStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2063,8 +2426,8 @@ proto.supervisor.TasksStatusRequest.prototype.toObject = function(opt_includeIns
|
|
|
2063
2426
|
|
|
2064
2427
|
/**
|
|
2065
2428
|
* Static version of the {@see toObject} method.
|
|
2066
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2067
|
-
* instance for transitional soy proto support:
|
|
2429
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2430
|
+
* the JSPB instance for transitional soy proto support:
|
|
2068
2431
|
* http://goto/soy-param-migration
|
|
2069
2432
|
* @param {!proto.supervisor.TasksStatusRequest} msg The msg instance to transform.
|
|
2070
2433
|
* @return {!Object}
|
|
@@ -2072,7 +2435,7 @@ proto.supervisor.TasksStatusRequest.prototype.toObject = function(opt_includeIns
|
|
|
2072
2435
|
*/
|
|
2073
2436
|
proto.supervisor.TasksStatusRequest.toObject = function(includeInstance, msg) {
|
|
2074
2437
|
var f, obj = {
|
|
2075
|
-
observe: jspb.Message.
|
|
2438
|
+
observe: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
2076
2439
|
};
|
|
2077
2440
|
|
|
2078
2441
|
if (includeInstance) {
|
|
@@ -2154,18 +2517,19 @@ proto.supervisor.TasksStatusRequest.serializeBinaryToWriter = function(message,
|
|
|
2154
2517
|
|
|
2155
2518
|
/**
|
|
2156
2519
|
* 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
2520
|
* @return {boolean}
|
|
2160
2521
|
*/
|
|
2161
2522
|
proto.supervisor.TasksStatusRequest.prototype.getObserve = function() {
|
|
2162
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
2523
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
2163
2524
|
};
|
|
2164
2525
|
|
|
2165
2526
|
|
|
2166
|
-
/**
|
|
2527
|
+
/**
|
|
2528
|
+
* @param {boolean} value
|
|
2529
|
+
* @return {!proto.supervisor.TasksStatusRequest} returns this
|
|
2530
|
+
*/
|
|
2167
2531
|
proto.supervisor.TasksStatusRequest.prototype.setObserve = function(value) {
|
|
2168
|
-
jspb.Message.setProto3BooleanField(this, 1, value);
|
|
2532
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
2169
2533
|
};
|
|
2170
2534
|
|
|
2171
2535
|
|
|
@@ -2181,13 +2545,15 @@ proto.supervisor.TasksStatusResponse.repeatedFields_ = [1];
|
|
|
2181
2545
|
|
|
2182
2546
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2183
2547
|
/**
|
|
2184
|
-
* Creates an object representation of this proto
|
|
2548
|
+
* Creates an object representation of this proto.
|
|
2185
2549
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2550
|
+
* Optional fields that are not set will be set to undefined.
|
|
2186
2551
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2187
2552
|
* For the list of reserved names please see:
|
|
2188
|
-
*
|
|
2189
|
-
* @param {boolean=} opt_includeInstance
|
|
2190
|
-
* for transitional soy proto support:
|
|
2553
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2554
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2555
|
+
* JSPB instance for transitional soy proto support:
|
|
2556
|
+
* http://goto/soy-param-migration
|
|
2191
2557
|
* @return {!Object}
|
|
2192
2558
|
*/
|
|
2193
2559
|
proto.supervisor.TasksStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2197,8 +2563,8 @@ proto.supervisor.TasksStatusResponse.prototype.toObject = function(opt_includeIn
|
|
|
2197
2563
|
|
|
2198
2564
|
/**
|
|
2199
2565
|
* Static version of the {@see toObject} method.
|
|
2200
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2201
|
-
* instance for transitional soy proto support:
|
|
2566
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2567
|
+
* the JSPB instance for transitional soy proto support:
|
|
2202
2568
|
* http://goto/soy-param-migration
|
|
2203
2569
|
* @param {!proto.supervisor.TasksStatusResponse} msg The msg instance to transform.
|
|
2204
2570
|
* @return {!Object}
|
|
@@ -2299,9 +2665,12 @@ proto.supervisor.TasksStatusResponse.prototype.getTasksList = function() {
|
|
|
2299
2665
|
};
|
|
2300
2666
|
|
|
2301
2667
|
|
|
2302
|
-
/**
|
|
2668
|
+
/**
|
|
2669
|
+
* @param {!Array<!proto.supervisor.TaskStatus>} value
|
|
2670
|
+
* @return {!proto.supervisor.TasksStatusResponse} returns this
|
|
2671
|
+
*/
|
|
2303
2672
|
proto.supervisor.TasksStatusResponse.prototype.setTasksList = function(value) {
|
|
2304
|
-
jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2673
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2305
2674
|
};
|
|
2306
2675
|
|
|
2307
2676
|
|
|
@@ -2317,9 +2686,10 @@ proto.supervisor.TasksStatusResponse.prototype.addTasks = function(opt_value, op
|
|
|
2317
2686
|
|
|
2318
2687
|
/**
|
|
2319
2688
|
* Clears the list making it empty but non-null.
|
|
2689
|
+
* @return {!proto.supervisor.TasksStatusResponse} returns this
|
|
2320
2690
|
*/
|
|
2321
2691
|
proto.supervisor.TasksStatusResponse.prototype.clearTasksList = function() {
|
|
2322
|
-
this.setTasksList([]);
|
|
2692
|
+
return this.setTasksList([]);
|
|
2323
2693
|
};
|
|
2324
2694
|
|
|
2325
2695
|
|
|
@@ -2328,13 +2698,15 @@ proto.supervisor.TasksStatusResponse.prototype.clearTasksList = function() {
|
|
|
2328
2698
|
|
|
2329
2699
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2330
2700
|
/**
|
|
2331
|
-
* Creates an object representation of this proto
|
|
2701
|
+
* Creates an object representation of this proto.
|
|
2332
2702
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2703
|
+
* Optional fields that are not set will be set to undefined.
|
|
2333
2704
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2334
2705
|
* For the list of reserved names please see:
|
|
2335
|
-
*
|
|
2336
|
-
* @param {boolean=} opt_includeInstance
|
|
2337
|
-
* for transitional soy proto support:
|
|
2706
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2707
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2708
|
+
* JSPB instance for transitional soy proto support:
|
|
2709
|
+
* http://goto/soy-param-migration
|
|
2338
2710
|
* @return {!Object}
|
|
2339
2711
|
*/
|
|
2340
2712
|
proto.supervisor.TaskStatus.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2344,8 +2716,8 @@ proto.supervisor.TaskStatus.prototype.toObject = function(opt_includeInstance) {
|
|
|
2344
2716
|
|
|
2345
2717
|
/**
|
|
2346
2718
|
* Static version of the {@see toObject} method.
|
|
2347
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2348
|
-
* instance for transitional soy proto support:
|
|
2719
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2720
|
+
* the JSPB instance for transitional soy proto support:
|
|
2349
2721
|
* http://goto/soy-param-migration
|
|
2350
2722
|
* @param {!proto.supervisor.TaskStatus} msg The msg instance to transform.
|
|
2351
2723
|
* @return {!Object}
|
|
@@ -2480,9 +2852,12 @@ proto.supervisor.TaskStatus.prototype.getId = function() {
|
|
|
2480
2852
|
};
|
|
2481
2853
|
|
|
2482
2854
|
|
|
2483
|
-
/**
|
|
2855
|
+
/**
|
|
2856
|
+
* @param {string} value
|
|
2857
|
+
* @return {!proto.supervisor.TaskStatus} returns this
|
|
2858
|
+
*/
|
|
2484
2859
|
proto.supervisor.TaskStatus.prototype.setId = function(value) {
|
|
2485
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
2860
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2486
2861
|
};
|
|
2487
2862
|
|
|
2488
2863
|
|
|
@@ -2495,9 +2870,12 @@ proto.supervisor.TaskStatus.prototype.getState = function() {
|
|
|
2495
2870
|
};
|
|
2496
2871
|
|
|
2497
2872
|
|
|
2498
|
-
/**
|
|
2873
|
+
/**
|
|
2874
|
+
* @param {!proto.supervisor.TaskState} value
|
|
2875
|
+
* @return {!proto.supervisor.TaskStatus} returns this
|
|
2876
|
+
*/
|
|
2499
2877
|
proto.supervisor.TaskStatus.prototype.setState = function(value) {
|
|
2500
|
-
jspb.Message.setProto3EnumField(this, 2, value);
|
|
2878
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
2501
2879
|
};
|
|
2502
2880
|
|
|
2503
2881
|
|
|
@@ -2510,9 +2888,12 @@ proto.supervisor.TaskStatus.prototype.getTerminal = function() {
|
|
|
2510
2888
|
};
|
|
2511
2889
|
|
|
2512
2890
|
|
|
2513
|
-
/**
|
|
2891
|
+
/**
|
|
2892
|
+
* @param {string} value
|
|
2893
|
+
* @return {!proto.supervisor.TaskStatus} returns this
|
|
2894
|
+
*/
|
|
2514
2895
|
proto.supervisor.TaskStatus.prototype.setTerminal = function(value) {
|
|
2515
|
-
jspb.Message.setProto3StringField(this, 3, value);
|
|
2896
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2516
2897
|
};
|
|
2517
2898
|
|
|
2518
2899
|
|
|
@@ -2526,17 +2907,21 @@ proto.supervisor.TaskStatus.prototype.getPresentation = function() {
|
|
|
2526
2907
|
};
|
|
2527
2908
|
|
|
2528
2909
|
|
|
2529
|
-
/**
|
|
2910
|
+
/**
|
|
2911
|
+
* @param {?proto.supervisor.TaskPresentation|undefined} value
|
|
2912
|
+
* @return {!proto.supervisor.TaskStatus} returns this
|
|
2913
|
+
*/
|
|
2530
2914
|
proto.supervisor.TaskStatus.prototype.setPresentation = function(value) {
|
|
2531
|
-
jspb.Message.setWrapperField(this, 4, value);
|
|
2915
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2532
2916
|
};
|
|
2533
2917
|
|
|
2534
2918
|
|
|
2535
2919
|
/**
|
|
2536
2920
|
* Clears the message field making it undefined.
|
|
2921
|
+
* @return {!proto.supervisor.TaskStatus} returns this
|
|
2537
2922
|
*/
|
|
2538
2923
|
proto.supervisor.TaskStatus.prototype.clearPresentation = function() {
|
|
2539
|
-
this.setPresentation(undefined);
|
|
2924
|
+
return this.setPresentation(undefined);
|
|
2540
2925
|
};
|
|
2541
2926
|
|
|
2542
2927
|
|
|
@@ -2554,13 +2939,15 @@ proto.supervisor.TaskStatus.prototype.hasPresentation = function() {
|
|
|
2554
2939
|
|
|
2555
2940
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2556
2941
|
/**
|
|
2557
|
-
* Creates an object representation of this proto
|
|
2942
|
+
* Creates an object representation of this proto.
|
|
2558
2943
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2944
|
+
* Optional fields that are not set will be set to undefined.
|
|
2559
2945
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2560
2946
|
* For the list of reserved names please see:
|
|
2561
|
-
*
|
|
2562
|
-
* @param {boolean=} opt_includeInstance
|
|
2563
|
-
* for transitional soy proto support:
|
|
2947
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2948
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2949
|
+
* JSPB instance for transitional soy proto support:
|
|
2950
|
+
* http://goto/soy-param-migration
|
|
2564
2951
|
* @return {!Object}
|
|
2565
2952
|
*/
|
|
2566
2953
|
proto.supervisor.TaskPresentation.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2570,8 +2957,8 @@ proto.supervisor.TaskPresentation.prototype.toObject = function(opt_includeInsta
|
|
|
2570
2957
|
|
|
2571
2958
|
/**
|
|
2572
2959
|
* Static version of the {@see toObject} method.
|
|
2573
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2574
|
-
* instance for transitional soy proto support:
|
|
2960
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2961
|
+
* the JSPB instance for transitional soy proto support:
|
|
2575
2962
|
* http://goto/soy-param-migration
|
|
2576
2963
|
* @param {!proto.supervisor.TaskPresentation} msg The msg instance to transform.
|
|
2577
2964
|
* @return {!Object}
|
|
@@ -2692,9 +3079,12 @@ proto.supervisor.TaskPresentation.prototype.getName = function() {
|
|
|
2692
3079
|
};
|
|
2693
3080
|
|
|
2694
3081
|
|
|
2695
|
-
/**
|
|
3082
|
+
/**
|
|
3083
|
+
* @param {string} value
|
|
3084
|
+
* @return {!proto.supervisor.TaskPresentation} returns this
|
|
3085
|
+
*/
|
|
2696
3086
|
proto.supervisor.TaskPresentation.prototype.setName = function(value) {
|
|
2697
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
3087
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2698
3088
|
};
|
|
2699
3089
|
|
|
2700
3090
|
|
|
@@ -2707,9 +3097,12 @@ proto.supervisor.TaskPresentation.prototype.getOpenIn = function() {
|
|
|
2707
3097
|
};
|
|
2708
3098
|
|
|
2709
3099
|
|
|
2710
|
-
/**
|
|
3100
|
+
/**
|
|
3101
|
+
* @param {string} value
|
|
3102
|
+
* @return {!proto.supervisor.TaskPresentation} returns this
|
|
3103
|
+
*/
|
|
2711
3104
|
proto.supervisor.TaskPresentation.prototype.setOpenIn = function(value) {
|
|
2712
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
3105
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2713
3106
|
};
|
|
2714
3107
|
|
|
2715
3108
|
|
|
@@ -2722,9 +3115,12 @@ proto.supervisor.TaskPresentation.prototype.getOpenMode = function() {
|
|
|
2722
3115
|
};
|
|
2723
3116
|
|
|
2724
3117
|
|
|
2725
|
-
/**
|
|
3118
|
+
/**
|
|
3119
|
+
* @param {string} value
|
|
3120
|
+
* @return {!proto.supervisor.TaskPresentation} returns this
|
|
3121
|
+
*/
|
|
2726
3122
|
proto.supervisor.TaskPresentation.prototype.setOpenMode = function(value) {
|
|
2727
|
-
jspb.Message.setProto3StringField(this, 3, value);
|
|
3123
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2728
3124
|
};
|
|
2729
3125
|
|
|
2730
3126
|
|
|
@@ -2756,6 +3152,15 @@ proto.supervisor.OnPortExposedAction = {
|
|
|
2756
3152
|
NOTIFY_PRIVATE: 4
|
|
2757
3153
|
};
|
|
2758
3154
|
|
|
3155
|
+
/**
|
|
3156
|
+
* @enum {number}
|
|
3157
|
+
*/
|
|
3158
|
+
proto.supervisor.PortAutoExposure = {
|
|
3159
|
+
TRYING: 0,
|
|
3160
|
+
SUCCEEDED: 1,
|
|
3161
|
+
FAILED: 2
|
|
3162
|
+
};
|
|
3163
|
+
|
|
2759
3164
|
/**
|
|
2760
3165
|
* @enum {number}
|
|
2761
3166
|
*/
|