@gitpod/supervisor-api-grpc 0.1.5-se-career-tip.1 → 0.1.5-se-init.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/control_grpc_pb.d.ts +7 -6
- package/lib/control_pb.d.ts +2 -6
- package/lib/control_pb.js +32 -42
- package/lib/info_grpc_pb.d.ts +7 -6
- package/lib/info_pb.d.ts +61 -29
- package/lib/info_pb.js +476 -43
- 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 +1076 -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 +1672 -0
- package/lib/status_grpc_pb.d.ts +23 -21
- package/lib/status_grpc_pb.js +1 -0
- package/lib/status_pb.d.ts +105 -51
- package/lib/status_pb.js +887 -213
- 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 +2257 -893
- package/lib/token_grpc_pb.d.ts +16 -15
- package/lib/token_pb.d.ts +31 -50
- package/lib/token_pb.js +262 -111
- package/package.json +8 -7
- package/pkg-yarn.lock +3 -3
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 =
|
|
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
|
|
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
|
-
*
|
|
380
|
-
* @param {boolean=} opt_includeInstance
|
|
381
|
-
* for transitional soy proto support:
|
|
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
|
|
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
|
|
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
|
-
*
|
|
479
|
-
* @param {boolean=} opt_includeInstance
|
|
480
|
-
* for transitional soy proto support:
|
|
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
|
|
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.
|
|
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.
|
|
645
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
587
646
|
};
|
|
588
647
|
|
|
589
648
|
|
|
590
|
-
/**
|
|
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
|
|
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
|
-
*
|
|
606
|
-
* @param {boolean=} opt_includeInstance
|
|
607
|
-
* for transitional soy proto support:
|
|
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
|
|
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.
|
|
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.
|
|
775
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
714
776
|
};
|
|
715
777
|
|
|
716
778
|
|
|
717
|
-
/**
|
|
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
|
|
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
|
-
*
|
|
733
|
-
* @param {boolean=} opt_includeInstance
|
|
734
|
-
* for transitional soy proto support:
|
|
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
|
|
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.
|
|
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.
|
|
1079
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
841
1080
|
};
|
|
842
1081
|
|
|
843
1082
|
|
|
844
|
-
/**
|
|
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
|
|
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
|
-
*
|
|
860
|
-
* @param {boolean=} opt_includeInstance
|
|
861
|
-
* for transitional soy proto support:
|
|
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
|
|
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.
|
|
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.
|
|
1246
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
968
1247
|
};
|
|
969
1248
|
|
|
970
1249
|
|
|
971
|
-
/**
|
|
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
|
|
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
|
-
*
|
|
987
|
-
* @param {boolean=} opt_includeInstance
|
|
988
|
-
* for transitional soy proto support:
|
|
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
|
|
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.
|
|
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.
|
|
1388
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1107
1389
|
};
|
|
1108
1390
|
|
|
1109
1391
|
|
|
1110
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
*
|
|
1141
|
-
* @param {boolean=} opt_includeInstance
|
|
1142
|
-
* for transitional soy proto support:
|
|
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
|
|
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
|
|
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
|
-
*
|
|
1240
|
-
* @param {boolean=} opt_includeInstance
|
|
1241
|
-
* for transitional soy proto support:
|
|
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
|
|
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.
|
|
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.
|
|
1637
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1348
1638
|
};
|
|
1349
1639
|
|
|
1350
1640
|
|
|
1351
|
-
/**
|
|
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
|
|
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
|
-
*
|
|
1367
|
-
* @param {boolean=} opt_includeInstance
|
|
1368
|
-
* for transitional soy proto support:
|
|
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
|
|
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.
|
|
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.
|
|
1767
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1475
1768
|
};
|
|
1476
1769
|
|
|
1477
1770
|
|
|
1478
|
-
/**
|
|
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
|
|
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
|
-
*
|
|
1501
|
-
* @param {boolean=} opt_includeInstance
|
|
1502
|
-
* for transitional soy proto support:
|
|
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
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
*
|
|
1648
|
-
* @param {boolean=} opt_includeInstance
|
|
1649
|
-
* for transitional soy proto support:
|
|
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
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
*
|
|
1827
|
-
* @param {boolean=} opt_includeInstance
|
|
1828
|
-
* for transitional soy proto support:
|
|
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
|
|
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,12 @@ 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
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
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, ""),
|
|
2361
|
+
name: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
1851
2362
|
};
|
|
1852
2363
|
|
|
1853
2364
|
if (includeInstance) {
|
|
@@ -1888,10 +2399,6 @@ proto.supervisor.PortsStatus.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1888
2399
|
var value = /** @type {number} */ (reader.readUint32());
|
|
1889
2400
|
msg.setLocalPort(value);
|
|
1890
2401
|
break;
|
|
1891
|
-
case 2:
|
|
1892
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
1893
|
-
msg.setGlobalPort(value);
|
|
1894
|
-
break;
|
|
1895
2402
|
case 4:
|
|
1896
2403
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
1897
2404
|
msg.setServed(value);
|
|
@@ -1901,6 +2408,23 @@ proto.supervisor.PortsStatus.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1901
2408
|
reader.readMessage(value,proto.supervisor.ExposedPortInfo.deserializeBinaryFromReader);
|
|
1902
2409
|
msg.setExposed(value);
|
|
1903
2410
|
break;
|
|
2411
|
+
case 7:
|
|
2412
|
+
var value = /** @type {!proto.supervisor.PortAutoExposure} */ (reader.readEnum());
|
|
2413
|
+
msg.setAutoExposure(value);
|
|
2414
|
+
break;
|
|
2415
|
+
case 6:
|
|
2416
|
+
var value = new proto.supervisor.TunneledPortInfo;
|
|
2417
|
+
reader.readMessage(value,proto.supervisor.TunneledPortInfo.deserializeBinaryFromReader);
|
|
2418
|
+
msg.setTunneled(value);
|
|
2419
|
+
break;
|
|
2420
|
+
case 8:
|
|
2421
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2422
|
+
msg.setDescription(value);
|
|
2423
|
+
break;
|
|
2424
|
+
case 9:
|
|
2425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2426
|
+
msg.setName(value);
|
|
2427
|
+
break;
|
|
1904
2428
|
default:
|
|
1905
2429
|
reader.skipField();
|
|
1906
2430
|
break;
|
|
@@ -1937,13 +2461,6 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
|
|
|
1937
2461
|
f
|
|
1938
2462
|
);
|
|
1939
2463
|
}
|
|
1940
|
-
f = message.getGlobalPort();
|
|
1941
|
-
if (f !== 0) {
|
|
1942
|
-
writer.writeUint32(
|
|
1943
|
-
2,
|
|
1944
|
-
f
|
|
1945
|
-
);
|
|
1946
|
-
}
|
|
1947
2464
|
f = message.getServed();
|
|
1948
2465
|
if (f) {
|
|
1949
2466
|
writer.writeBool(
|
|
@@ -1959,6 +2476,35 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
|
|
|
1959
2476
|
proto.supervisor.ExposedPortInfo.serializeBinaryToWriter
|
|
1960
2477
|
);
|
|
1961
2478
|
}
|
|
2479
|
+
f = message.getAutoExposure();
|
|
2480
|
+
if (f !== 0.0) {
|
|
2481
|
+
writer.writeEnum(
|
|
2482
|
+
7,
|
|
2483
|
+
f
|
|
2484
|
+
);
|
|
2485
|
+
}
|
|
2486
|
+
f = message.getTunneled();
|
|
2487
|
+
if (f != null) {
|
|
2488
|
+
writer.writeMessage(
|
|
2489
|
+
6,
|
|
2490
|
+
f,
|
|
2491
|
+
proto.supervisor.TunneledPortInfo.serializeBinaryToWriter
|
|
2492
|
+
);
|
|
2493
|
+
}
|
|
2494
|
+
f = message.getDescription();
|
|
2495
|
+
if (f.length > 0) {
|
|
2496
|
+
writer.writeString(
|
|
2497
|
+
8,
|
|
2498
|
+
f
|
|
2499
|
+
);
|
|
2500
|
+
}
|
|
2501
|
+
f = message.getName();
|
|
2502
|
+
if (f.length > 0) {
|
|
2503
|
+
writer.writeString(
|
|
2504
|
+
9,
|
|
2505
|
+
f
|
|
2506
|
+
);
|
|
2507
|
+
}
|
|
1962
2508
|
};
|
|
1963
2509
|
|
|
1964
2510
|
|
|
@@ -1971,41 +2517,30 @@ proto.supervisor.PortsStatus.prototype.getLocalPort = function() {
|
|
|
1971
2517
|
};
|
|
1972
2518
|
|
|
1973
2519
|
|
|
1974
|
-
/** @param {number} value */
|
|
1975
|
-
proto.supervisor.PortsStatus.prototype.setLocalPort = function(value) {
|
|
1976
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
1977
|
-
};
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
2520
|
/**
|
|
1981
|
-
*
|
|
1982
|
-
* @return {
|
|
2521
|
+
* @param {number} value
|
|
2522
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
1983
2523
|
*/
|
|
1984
|
-
proto.supervisor.PortsStatus.prototype.
|
|
1985
|
-
return
|
|
1986
|
-
};
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
/** @param {number} value */
|
|
1990
|
-
proto.supervisor.PortsStatus.prototype.setGlobalPort = function(value) {
|
|
1991
|
-
jspb.Message.setProto3IntField(this, 2, value);
|
|
2524
|
+
proto.supervisor.PortsStatus.prototype.setLocalPort = function(value) {
|
|
2525
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1992
2526
|
};
|
|
1993
2527
|
|
|
1994
2528
|
|
|
1995
2529
|
/**
|
|
1996
2530
|
* 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
2531
|
* @return {boolean}
|
|
2000
2532
|
*/
|
|
2001
2533
|
proto.supervisor.PortsStatus.prototype.getServed = function() {
|
|
2002
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
2534
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
2003
2535
|
};
|
|
2004
2536
|
|
|
2005
2537
|
|
|
2006
|
-
/**
|
|
2538
|
+
/**
|
|
2539
|
+
* @param {boolean} value
|
|
2540
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2541
|
+
*/
|
|
2007
2542
|
proto.supervisor.PortsStatus.prototype.setServed = function(value) {
|
|
2008
|
-
jspb.Message.setProto3BooleanField(this, 4, value);
|
|
2543
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
2009
2544
|
};
|
|
2010
2545
|
|
|
2011
2546
|
|
|
@@ -2019,17 +2554,21 @@ proto.supervisor.PortsStatus.prototype.getExposed = function() {
|
|
|
2019
2554
|
};
|
|
2020
2555
|
|
|
2021
2556
|
|
|
2022
|
-
/**
|
|
2557
|
+
/**
|
|
2558
|
+
* @param {?proto.supervisor.ExposedPortInfo|undefined} value
|
|
2559
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2560
|
+
*/
|
|
2023
2561
|
proto.supervisor.PortsStatus.prototype.setExposed = function(value) {
|
|
2024
|
-
jspb.Message.setWrapperField(this, 5, value);
|
|
2562
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
2025
2563
|
};
|
|
2026
2564
|
|
|
2027
2565
|
|
|
2028
2566
|
/**
|
|
2029
2567
|
* Clears the message field making it undefined.
|
|
2568
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2030
2569
|
*/
|
|
2031
2570
|
proto.supervisor.PortsStatus.prototype.clearExposed = function() {
|
|
2032
|
-
this.setExposed(undefined);
|
|
2571
|
+
return this.setExposed(undefined);
|
|
2033
2572
|
};
|
|
2034
2573
|
|
|
2035
2574
|
|
|
@@ -2042,18 +2581,111 @@ proto.supervisor.PortsStatus.prototype.hasExposed = function() {
|
|
|
2042
2581
|
};
|
|
2043
2582
|
|
|
2044
2583
|
|
|
2584
|
+
/**
|
|
2585
|
+
* optional PortAutoExposure auto_exposure = 7;
|
|
2586
|
+
* @return {!proto.supervisor.PortAutoExposure}
|
|
2587
|
+
*/
|
|
2588
|
+
proto.supervisor.PortsStatus.prototype.getAutoExposure = function() {
|
|
2589
|
+
return /** @type {!proto.supervisor.PortAutoExposure} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
2590
|
+
};
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* @param {!proto.supervisor.PortAutoExposure} value
|
|
2595
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2596
|
+
*/
|
|
2597
|
+
proto.supervisor.PortsStatus.prototype.setAutoExposure = function(value) {
|
|
2598
|
+
return jspb.Message.setProto3EnumField(this, 7, value);
|
|
2599
|
+
};
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* optional TunneledPortInfo tunneled = 6;
|
|
2604
|
+
* @return {?proto.supervisor.TunneledPortInfo}
|
|
2605
|
+
*/
|
|
2606
|
+
proto.supervisor.PortsStatus.prototype.getTunneled = function() {
|
|
2607
|
+
return /** @type{?proto.supervisor.TunneledPortInfo} */ (
|
|
2608
|
+
jspb.Message.getWrapperField(this, proto.supervisor.TunneledPortInfo, 6));
|
|
2609
|
+
};
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* @param {?proto.supervisor.TunneledPortInfo|undefined} value
|
|
2614
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2615
|
+
*/
|
|
2616
|
+
proto.supervisor.PortsStatus.prototype.setTunneled = function(value) {
|
|
2617
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* Clears the message field making it undefined.
|
|
2623
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2624
|
+
*/
|
|
2625
|
+
proto.supervisor.PortsStatus.prototype.clearTunneled = function() {
|
|
2626
|
+
return this.setTunneled(undefined);
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* Returns whether this field is set.
|
|
2632
|
+
* @return {boolean}
|
|
2633
|
+
*/
|
|
2634
|
+
proto.supervisor.PortsStatus.prototype.hasTunneled = function() {
|
|
2635
|
+
return jspb.Message.getField(this, 6) != null;
|
|
2636
|
+
};
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
/**
|
|
2640
|
+
* optional string description = 8;
|
|
2641
|
+
* @return {string}
|
|
2642
|
+
*/
|
|
2643
|
+
proto.supervisor.PortsStatus.prototype.getDescription = function() {
|
|
2644
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
/**
|
|
2649
|
+
* @param {string} value
|
|
2650
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2651
|
+
*/
|
|
2652
|
+
proto.supervisor.PortsStatus.prototype.setDescription = function(value) {
|
|
2653
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
2654
|
+
};
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* optional string name = 9;
|
|
2659
|
+
* @return {string}
|
|
2660
|
+
*/
|
|
2661
|
+
proto.supervisor.PortsStatus.prototype.getName = function() {
|
|
2662
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2663
|
+
};
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* @param {string} value
|
|
2668
|
+
* @return {!proto.supervisor.PortsStatus} returns this
|
|
2669
|
+
*/
|
|
2670
|
+
proto.supervisor.PortsStatus.prototype.setName = function(value) {
|
|
2671
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
|
|
2045
2675
|
|
|
2046
2676
|
|
|
2047
2677
|
|
|
2048
2678
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2049
2679
|
/**
|
|
2050
|
-
* Creates an object representation of this proto
|
|
2680
|
+
* Creates an object representation of this proto.
|
|
2051
2681
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2682
|
+
* Optional fields that are not set will be set to undefined.
|
|
2052
2683
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2053
2684
|
* For the list of reserved names please see:
|
|
2054
|
-
*
|
|
2055
|
-
* @param {boolean=} opt_includeInstance
|
|
2056
|
-
* for transitional soy proto support:
|
|
2685
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2686
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2687
|
+
* JSPB instance for transitional soy proto support:
|
|
2688
|
+
* http://goto/soy-param-migration
|
|
2057
2689
|
* @return {!Object}
|
|
2058
2690
|
*/
|
|
2059
2691
|
proto.supervisor.TasksStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2063,8 +2695,8 @@ proto.supervisor.TasksStatusRequest.prototype.toObject = function(opt_includeIns
|
|
|
2063
2695
|
|
|
2064
2696
|
/**
|
|
2065
2697
|
* Static version of the {@see toObject} method.
|
|
2066
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2067
|
-
* instance for transitional soy proto support:
|
|
2698
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2699
|
+
* the JSPB instance for transitional soy proto support:
|
|
2068
2700
|
* http://goto/soy-param-migration
|
|
2069
2701
|
* @param {!proto.supervisor.TasksStatusRequest} msg The msg instance to transform.
|
|
2070
2702
|
* @return {!Object}
|
|
@@ -2072,7 +2704,7 @@ proto.supervisor.TasksStatusRequest.prototype.toObject = function(opt_includeIns
|
|
|
2072
2704
|
*/
|
|
2073
2705
|
proto.supervisor.TasksStatusRequest.toObject = function(includeInstance, msg) {
|
|
2074
2706
|
var f, obj = {
|
|
2075
|
-
observe: jspb.Message.
|
|
2707
|
+
observe: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
2076
2708
|
};
|
|
2077
2709
|
|
|
2078
2710
|
if (includeInstance) {
|
|
@@ -2154,18 +2786,19 @@ proto.supervisor.TasksStatusRequest.serializeBinaryToWriter = function(message,
|
|
|
2154
2786
|
|
|
2155
2787
|
/**
|
|
2156
2788
|
* 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
2789
|
* @return {boolean}
|
|
2160
2790
|
*/
|
|
2161
2791
|
proto.supervisor.TasksStatusRequest.prototype.getObserve = function() {
|
|
2162
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
2792
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
2163
2793
|
};
|
|
2164
2794
|
|
|
2165
2795
|
|
|
2166
|
-
/**
|
|
2796
|
+
/**
|
|
2797
|
+
* @param {boolean} value
|
|
2798
|
+
* @return {!proto.supervisor.TasksStatusRequest} returns this
|
|
2799
|
+
*/
|
|
2167
2800
|
proto.supervisor.TasksStatusRequest.prototype.setObserve = function(value) {
|
|
2168
|
-
jspb.Message.setProto3BooleanField(this, 1, value);
|
|
2801
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
2169
2802
|
};
|
|
2170
2803
|
|
|
2171
2804
|
|
|
@@ -2181,13 +2814,15 @@ proto.supervisor.TasksStatusResponse.repeatedFields_ = [1];
|
|
|
2181
2814
|
|
|
2182
2815
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2183
2816
|
/**
|
|
2184
|
-
* Creates an object representation of this proto
|
|
2817
|
+
* Creates an object representation of this proto.
|
|
2185
2818
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2819
|
+
* Optional fields that are not set will be set to undefined.
|
|
2186
2820
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2187
2821
|
* For the list of reserved names please see:
|
|
2188
|
-
*
|
|
2189
|
-
* @param {boolean=} opt_includeInstance
|
|
2190
|
-
* for transitional soy proto support:
|
|
2822
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2823
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2824
|
+
* JSPB instance for transitional soy proto support:
|
|
2825
|
+
* http://goto/soy-param-migration
|
|
2191
2826
|
* @return {!Object}
|
|
2192
2827
|
*/
|
|
2193
2828
|
proto.supervisor.TasksStatusResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2197,8 +2832,8 @@ proto.supervisor.TasksStatusResponse.prototype.toObject = function(opt_includeIn
|
|
|
2197
2832
|
|
|
2198
2833
|
/**
|
|
2199
2834
|
* Static version of the {@see toObject} method.
|
|
2200
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2201
|
-
* instance for transitional soy proto support:
|
|
2835
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2836
|
+
* the JSPB instance for transitional soy proto support:
|
|
2202
2837
|
* http://goto/soy-param-migration
|
|
2203
2838
|
* @param {!proto.supervisor.TasksStatusResponse} msg The msg instance to transform.
|
|
2204
2839
|
* @return {!Object}
|
|
@@ -2299,9 +2934,12 @@ proto.supervisor.TasksStatusResponse.prototype.getTasksList = function() {
|
|
|
2299
2934
|
};
|
|
2300
2935
|
|
|
2301
2936
|
|
|
2302
|
-
/**
|
|
2937
|
+
/**
|
|
2938
|
+
* @param {!Array<!proto.supervisor.TaskStatus>} value
|
|
2939
|
+
* @return {!proto.supervisor.TasksStatusResponse} returns this
|
|
2940
|
+
*/
|
|
2303
2941
|
proto.supervisor.TasksStatusResponse.prototype.setTasksList = function(value) {
|
|
2304
|
-
jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2942
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2305
2943
|
};
|
|
2306
2944
|
|
|
2307
2945
|
|
|
@@ -2317,9 +2955,10 @@ proto.supervisor.TasksStatusResponse.prototype.addTasks = function(opt_value, op
|
|
|
2317
2955
|
|
|
2318
2956
|
/**
|
|
2319
2957
|
* Clears the list making it empty but non-null.
|
|
2958
|
+
* @return {!proto.supervisor.TasksStatusResponse} returns this
|
|
2320
2959
|
*/
|
|
2321
2960
|
proto.supervisor.TasksStatusResponse.prototype.clearTasksList = function() {
|
|
2322
|
-
this.setTasksList([]);
|
|
2961
|
+
return this.setTasksList([]);
|
|
2323
2962
|
};
|
|
2324
2963
|
|
|
2325
2964
|
|
|
@@ -2328,13 +2967,15 @@ proto.supervisor.TasksStatusResponse.prototype.clearTasksList = function() {
|
|
|
2328
2967
|
|
|
2329
2968
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2330
2969
|
/**
|
|
2331
|
-
* Creates an object representation of this proto
|
|
2970
|
+
* Creates an object representation of this proto.
|
|
2332
2971
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2972
|
+
* Optional fields that are not set will be set to undefined.
|
|
2333
2973
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2334
2974
|
* For the list of reserved names please see:
|
|
2335
|
-
*
|
|
2336
|
-
* @param {boolean=} opt_includeInstance
|
|
2337
|
-
* for transitional soy proto support:
|
|
2975
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2976
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2977
|
+
* JSPB instance for transitional soy proto support:
|
|
2978
|
+
* http://goto/soy-param-migration
|
|
2338
2979
|
* @return {!Object}
|
|
2339
2980
|
*/
|
|
2340
2981
|
proto.supervisor.TaskStatus.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2344,8 +2985,8 @@ proto.supervisor.TaskStatus.prototype.toObject = function(opt_includeInstance) {
|
|
|
2344
2985
|
|
|
2345
2986
|
/**
|
|
2346
2987
|
* Static version of the {@see toObject} method.
|
|
2347
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2348
|
-
* instance for transitional soy proto support:
|
|
2988
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2989
|
+
* the JSPB instance for transitional soy proto support:
|
|
2349
2990
|
* http://goto/soy-param-migration
|
|
2350
2991
|
* @param {!proto.supervisor.TaskStatus} msg The msg instance to transform.
|
|
2351
2992
|
* @return {!Object}
|
|
@@ -2480,9 +3121,12 @@ proto.supervisor.TaskStatus.prototype.getId = function() {
|
|
|
2480
3121
|
};
|
|
2481
3122
|
|
|
2482
3123
|
|
|
2483
|
-
/**
|
|
3124
|
+
/**
|
|
3125
|
+
* @param {string} value
|
|
3126
|
+
* @return {!proto.supervisor.TaskStatus} returns this
|
|
3127
|
+
*/
|
|
2484
3128
|
proto.supervisor.TaskStatus.prototype.setId = function(value) {
|
|
2485
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
3129
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2486
3130
|
};
|
|
2487
3131
|
|
|
2488
3132
|
|
|
@@ -2495,9 +3139,12 @@ proto.supervisor.TaskStatus.prototype.getState = function() {
|
|
|
2495
3139
|
};
|
|
2496
3140
|
|
|
2497
3141
|
|
|
2498
|
-
/**
|
|
3142
|
+
/**
|
|
3143
|
+
* @param {!proto.supervisor.TaskState} value
|
|
3144
|
+
* @return {!proto.supervisor.TaskStatus} returns this
|
|
3145
|
+
*/
|
|
2499
3146
|
proto.supervisor.TaskStatus.prototype.setState = function(value) {
|
|
2500
|
-
jspb.Message.setProto3EnumField(this, 2, value);
|
|
3147
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
2501
3148
|
};
|
|
2502
3149
|
|
|
2503
3150
|
|
|
@@ -2510,9 +3157,12 @@ proto.supervisor.TaskStatus.prototype.getTerminal = function() {
|
|
|
2510
3157
|
};
|
|
2511
3158
|
|
|
2512
3159
|
|
|
2513
|
-
/**
|
|
3160
|
+
/**
|
|
3161
|
+
* @param {string} value
|
|
3162
|
+
* @return {!proto.supervisor.TaskStatus} returns this
|
|
3163
|
+
*/
|
|
2514
3164
|
proto.supervisor.TaskStatus.prototype.setTerminal = function(value) {
|
|
2515
|
-
jspb.Message.setProto3StringField(this, 3, value);
|
|
3165
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2516
3166
|
};
|
|
2517
3167
|
|
|
2518
3168
|
|
|
@@ -2526,17 +3176,21 @@ proto.supervisor.TaskStatus.prototype.getPresentation = function() {
|
|
|
2526
3176
|
};
|
|
2527
3177
|
|
|
2528
3178
|
|
|
2529
|
-
/**
|
|
3179
|
+
/**
|
|
3180
|
+
* @param {?proto.supervisor.TaskPresentation|undefined} value
|
|
3181
|
+
* @return {!proto.supervisor.TaskStatus} returns this
|
|
3182
|
+
*/
|
|
2530
3183
|
proto.supervisor.TaskStatus.prototype.setPresentation = function(value) {
|
|
2531
|
-
jspb.Message.setWrapperField(this, 4, value);
|
|
3184
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2532
3185
|
};
|
|
2533
3186
|
|
|
2534
3187
|
|
|
2535
3188
|
/**
|
|
2536
3189
|
* Clears the message field making it undefined.
|
|
3190
|
+
* @return {!proto.supervisor.TaskStatus} returns this
|
|
2537
3191
|
*/
|
|
2538
3192
|
proto.supervisor.TaskStatus.prototype.clearPresentation = function() {
|
|
2539
|
-
this.setPresentation(undefined);
|
|
3193
|
+
return this.setPresentation(undefined);
|
|
2540
3194
|
};
|
|
2541
3195
|
|
|
2542
3196
|
|
|
@@ -2554,13 +3208,15 @@ proto.supervisor.TaskStatus.prototype.hasPresentation = function() {
|
|
|
2554
3208
|
|
|
2555
3209
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2556
3210
|
/**
|
|
2557
|
-
* Creates an object representation of this proto
|
|
3211
|
+
* Creates an object representation of this proto.
|
|
2558
3212
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3213
|
+
* Optional fields that are not set will be set to undefined.
|
|
2559
3214
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2560
3215
|
* For the list of reserved names please see:
|
|
2561
|
-
*
|
|
2562
|
-
* @param {boolean=} opt_includeInstance
|
|
2563
|
-
* for transitional soy proto support:
|
|
3216
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3217
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3218
|
+
* JSPB instance for transitional soy proto support:
|
|
3219
|
+
* http://goto/soy-param-migration
|
|
2564
3220
|
* @return {!Object}
|
|
2565
3221
|
*/
|
|
2566
3222
|
proto.supervisor.TaskPresentation.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2570,8 +3226,8 @@ proto.supervisor.TaskPresentation.prototype.toObject = function(opt_includeInsta
|
|
|
2570
3226
|
|
|
2571
3227
|
/**
|
|
2572
3228
|
* Static version of the {@see toObject} method.
|
|
2573
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2574
|
-
* instance for transitional soy proto support:
|
|
3229
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3230
|
+
* the JSPB instance for transitional soy proto support:
|
|
2575
3231
|
* http://goto/soy-param-migration
|
|
2576
3232
|
* @param {!proto.supervisor.TaskPresentation} msg The msg instance to transform.
|
|
2577
3233
|
* @return {!Object}
|
|
@@ -2692,9 +3348,12 @@ proto.supervisor.TaskPresentation.prototype.getName = function() {
|
|
|
2692
3348
|
};
|
|
2693
3349
|
|
|
2694
3350
|
|
|
2695
|
-
/**
|
|
3351
|
+
/**
|
|
3352
|
+
* @param {string} value
|
|
3353
|
+
* @return {!proto.supervisor.TaskPresentation} returns this
|
|
3354
|
+
*/
|
|
2696
3355
|
proto.supervisor.TaskPresentation.prototype.setName = function(value) {
|
|
2697
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
3356
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2698
3357
|
};
|
|
2699
3358
|
|
|
2700
3359
|
|
|
@@ -2707,9 +3366,12 @@ proto.supervisor.TaskPresentation.prototype.getOpenIn = function() {
|
|
|
2707
3366
|
};
|
|
2708
3367
|
|
|
2709
3368
|
|
|
2710
|
-
/**
|
|
3369
|
+
/**
|
|
3370
|
+
* @param {string} value
|
|
3371
|
+
* @return {!proto.supervisor.TaskPresentation} returns this
|
|
3372
|
+
*/
|
|
2711
3373
|
proto.supervisor.TaskPresentation.prototype.setOpenIn = function(value) {
|
|
2712
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
3374
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2713
3375
|
};
|
|
2714
3376
|
|
|
2715
3377
|
|
|
@@ -2722,9 +3384,12 @@ proto.supervisor.TaskPresentation.prototype.getOpenMode = function() {
|
|
|
2722
3384
|
};
|
|
2723
3385
|
|
|
2724
3386
|
|
|
2725
|
-
/**
|
|
3387
|
+
/**
|
|
3388
|
+
* @param {string} value
|
|
3389
|
+
* @return {!proto.supervisor.TaskPresentation} returns this
|
|
3390
|
+
*/
|
|
2726
3391
|
proto.supervisor.TaskPresentation.prototype.setOpenMode = function(value) {
|
|
2727
|
-
jspb.Message.setProto3StringField(this, 3, value);
|
|
3392
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2728
3393
|
};
|
|
2729
3394
|
|
|
2730
3395
|
|
|
@@ -2756,6 +3421,15 @@ proto.supervisor.OnPortExposedAction = {
|
|
|
2756
3421
|
NOTIFY_PRIVATE: 4
|
|
2757
3422
|
};
|
|
2758
3423
|
|
|
3424
|
+
/**
|
|
3425
|
+
* @enum {number}
|
|
3426
|
+
*/
|
|
3427
|
+
proto.supervisor.PortAutoExposure = {
|
|
3428
|
+
TRYING: 0,
|
|
3429
|
+
SUCCEEDED: 1,
|
|
3430
|
+
FAILED: 2
|
|
3431
|
+
};
|
|
3432
|
+
|
|
2759
3433
|
/**
|
|
2760
3434
|
* @enum {number}
|
|
2761
3435
|
*/
|