@gitpod/supervisor-api-grpc 0.1.5-patch-2-fork.0 → 0.1.5-port-description-3059-fork.2
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 +0 -1
- package/lib/control_pb.d.ts +0 -5
- package/lib/control_pb.js +32 -42
- package/lib/info_grpc_pb.d.ts +0 -1
- package/lib/info_pb.d.ts +42 -15
- package/lib/info_pb.js +451 -45
- package/lib/notification_grpc_pb.d.ts +0 -1
- package/lib/notification_grpc_pb.js +1 -1
- package/lib/notification_pb.d.ts +0 -8
- package/lib/notification_pb.js +108 -58
- 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 +1 -1
- package/lib/status_grpc_pb.js +1 -0
- package/lib/status_pb.d.ts +80 -27
- package/lib/status_pb.js +887 -213
- package/lib/terminal_grpc_pb.d.ts +34 -1
- package/lib/terminal_grpc_pb.js +68 -0
- package/lib/terminal_pb.d.ts +103 -45
- package/lib/terminal_pb.js +1061 -177
- package/lib/token_grpc_pb.d.ts +0 -1
- package/lib/token_pb.d.ts +4 -30
- package/lib/token_pb.js +214 -114
- package/package.json +8 -7
- package/pkg-yarn.lock +3 -3
package/lib/terminal_pb.js
CHANGED
|
@@ -1,29 +1,46 @@
|
|
|
1
|
+
// source: terminal.proto
|
|
1
2
|
/**
|
|
2
3
|
* @fileoverview
|
|
3
4
|
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
4
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
5
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
6
8
|
* @public
|
|
7
9
|
*/
|
|
8
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
9
13
|
|
|
10
14
|
var jspb = require('google-protobuf');
|
|
11
15
|
var goog = jspb;
|
|
12
|
-
var global =
|
|
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));
|
|
13
23
|
|
|
14
24
|
goog.exportSymbol('proto.supervisor.GetTerminalRequest', null, global);
|
|
15
25
|
goog.exportSymbol('proto.supervisor.ListTerminalsRequest', null, global);
|
|
16
26
|
goog.exportSymbol('proto.supervisor.ListTerminalsResponse', null, global);
|
|
17
27
|
goog.exportSymbol('proto.supervisor.ListenTerminalRequest', null, global);
|
|
18
28
|
goog.exportSymbol('proto.supervisor.ListenTerminalResponse', null, global);
|
|
29
|
+
goog.exportSymbol('proto.supervisor.ListenTerminalResponse.OutputCase', null, global);
|
|
19
30
|
goog.exportSymbol('proto.supervisor.OpenTerminalRequest', null, global);
|
|
20
31
|
goog.exportSymbol('proto.supervisor.OpenTerminalResponse', null, global);
|
|
21
32
|
goog.exportSymbol('proto.supervisor.SetTerminalSizeRequest', null, global);
|
|
33
|
+
goog.exportSymbol('proto.supervisor.SetTerminalSizeRequest.PriorityCase', null, global);
|
|
22
34
|
goog.exportSymbol('proto.supervisor.SetTerminalSizeResponse', null, global);
|
|
35
|
+
goog.exportSymbol('proto.supervisor.SetTerminalTitleRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.supervisor.SetTerminalTitleResponse', null, global);
|
|
23
37
|
goog.exportSymbol('proto.supervisor.ShutdownTerminalRequest', null, global);
|
|
24
38
|
goog.exportSymbol('proto.supervisor.ShutdownTerminalResponse', null, global);
|
|
25
39
|
goog.exportSymbol('proto.supervisor.Terminal', null, global);
|
|
26
40
|
goog.exportSymbol('proto.supervisor.TerminalSize', null, global);
|
|
41
|
+
goog.exportSymbol('proto.supervisor.TerminalTitleSource', null, global);
|
|
42
|
+
goog.exportSymbol('proto.supervisor.UpdateTerminalAnnotationsRequest', null, global);
|
|
43
|
+
goog.exportSymbol('proto.supervisor.UpdateTerminalAnnotationsResponse', null, global);
|
|
27
44
|
goog.exportSymbol('proto.supervisor.WriteTerminalRequest', null, global);
|
|
28
45
|
goog.exportSymbol('proto.supervisor.WriteTerminalResponse', null, global);
|
|
29
46
|
/**
|
|
@@ -341,18 +358,104 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
341
358
|
*/
|
|
342
359
|
proto.supervisor.SetTerminalSizeResponse.displayName = 'proto.supervisor.SetTerminalSizeResponse';
|
|
343
360
|
}
|
|
361
|
+
/**
|
|
362
|
+
* Generated by JsPbCodeGenerator.
|
|
363
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
364
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
365
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
366
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
367
|
+
* valid.
|
|
368
|
+
* @extends {jspb.Message}
|
|
369
|
+
* @constructor
|
|
370
|
+
*/
|
|
371
|
+
proto.supervisor.SetTerminalTitleRequest = function(opt_data) {
|
|
372
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
373
|
+
};
|
|
374
|
+
goog.inherits(proto.supervisor.SetTerminalTitleRequest, jspb.Message);
|
|
375
|
+
if (goog.DEBUG && !COMPILED) {
|
|
376
|
+
/**
|
|
377
|
+
* @public
|
|
378
|
+
* @override
|
|
379
|
+
*/
|
|
380
|
+
proto.supervisor.SetTerminalTitleRequest.displayName = 'proto.supervisor.SetTerminalTitleRequest';
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Generated by JsPbCodeGenerator.
|
|
384
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
385
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
386
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
387
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
388
|
+
* valid.
|
|
389
|
+
* @extends {jspb.Message}
|
|
390
|
+
* @constructor
|
|
391
|
+
*/
|
|
392
|
+
proto.supervisor.SetTerminalTitleResponse = function(opt_data) {
|
|
393
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
394
|
+
};
|
|
395
|
+
goog.inherits(proto.supervisor.SetTerminalTitleResponse, jspb.Message);
|
|
396
|
+
if (goog.DEBUG && !COMPILED) {
|
|
397
|
+
/**
|
|
398
|
+
* @public
|
|
399
|
+
* @override
|
|
400
|
+
*/
|
|
401
|
+
proto.supervisor.SetTerminalTitleResponse.displayName = 'proto.supervisor.SetTerminalTitleResponse';
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* Generated by JsPbCodeGenerator.
|
|
405
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
406
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
407
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
408
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
409
|
+
* valid.
|
|
410
|
+
* @extends {jspb.Message}
|
|
411
|
+
* @constructor
|
|
412
|
+
*/
|
|
413
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest = function(opt_data) {
|
|
414
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.supervisor.UpdateTerminalAnnotationsRequest.repeatedFields_, null);
|
|
415
|
+
};
|
|
416
|
+
goog.inherits(proto.supervisor.UpdateTerminalAnnotationsRequest, jspb.Message);
|
|
417
|
+
if (goog.DEBUG && !COMPILED) {
|
|
418
|
+
/**
|
|
419
|
+
* @public
|
|
420
|
+
* @override
|
|
421
|
+
*/
|
|
422
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.displayName = 'proto.supervisor.UpdateTerminalAnnotationsRequest';
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Generated by JsPbCodeGenerator.
|
|
426
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
427
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
428
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
429
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
430
|
+
* valid.
|
|
431
|
+
* @extends {jspb.Message}
|
|
432
|
+
* @constructor
|
|
433
|
+
*/
|
|
434
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse = function(opt_data) {
|
|
435
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
436
|
+
};
|
|
437
|
+
goog.inherits(proto.supervisor.UpdateTerminalAnnotationsResponse, jspb.Message);
|
|
438
|
+
if (goog.DEBUG && !COMPILED) {
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
* @override
|
|
442
|
+
*/
|
|
443
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.displayName = 'proto.supervisor.UpdateTerminalAnnotationsResponse';
|
|
444
|
+
}
|
|
344
445
|
|
|
345
446
|
|
|
346
447
|
|
|
347
448
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
348
449
|
/**
|
|
349
|
-
* Creates an object representation of this proto
|
|
450
|
+
* Creates an object representation of this proto.
|
|
350
451
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
452
|
+
* Optional fields that are not set will be set to undefined.
|
|
351
453
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
352
454
|
* For the list of reserved names please see:
|
|
353
|
-
*
|
|
354
|
-
* @param {boolean=} opt_includeInstance
|
|
355
|
-
* for transitional soy proto support:
|
|
455
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
456
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
457
|
+
* JSPB instance for transitional soy proto support:
|
|
458
|
+
* http://goto/soy-param-migration
|
|
356
459
|
* @return {!Object}
|
|
357
460
|
*/
|
|
358
461
|
proto.supervisor.TerminalSize.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -362,8 +465,8 @@ proto.supervisor.TerminalSize.prototype.toObject = function(opt_includeInstance)
|
|
|
362
465
|
|
|
363
466
|
/**
|
|
364
467
|
* Static version of the {@see toObject} method.
|
|
365
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
366
|
-
* instance for transitional soy proto support:
|
|
468
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
469
|
+
* the JSPB instance for transitional soy proto support:
|
|
367
470
|
* http://goto/soy-param-migration
|
|
368
471
|
* @param {!proto.supervisor.TerminalSize} msg The msg instance to transform.
|
|
369
472
|
* @return {!Object}
|
|
@@ -496,9 +599,12 @@ proto.supervisor.TerminalSize.prototype.getRows = function() {
|
|
|
496
599
|
};
|
|
497
600
|
|
|
498
601
|
|
|
499
|
-
/**
|
|
602
|
+
/**
|
|
603
|
+
* @param {number} value
|
|
604
|
+
* @return {!proto.supervisor.TerminalSize} returns this
|
|
605
|
+
*/
|
|
500
606
|
proto.supervisor.TerminalSize.prototype.setRows = function(value) {
|
|
501
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
607
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
502
608
|
};
|
|
503
609
|
|
|
504
610
|
|
|
@@ -511,9 +617,12 @@ proto.supervisor.TerminalSize.prototype.getCols = function() {
|
|
|
511
617
|
};
|
|
512
618
|
|
|
513
619
|
|
|
514
|
-
/**
|
|
620
|
+
/**
|
|
621
|
+
* @param {number} value
|
|
622
|
+
* @return {!proto.supervisor.TerminalSize} returns this
|
|
623
|
+
*/
|
|
515
624
|
proto.supervisor.TerminalSize.prototype.setCols = function(value) {
|
|
516
|
-
jspb.Message.setProto3IntField(this, 2, value);
|
|
625
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
517
626
|
};
|
|
518
627
|
|
|
519
628
|
|
|
@@ -526,9 +635,12 @@ proto.supervisor.TerminalSize.prototype.getWidthpx = function() {
|
|
|
526
635
|
};
|
|
527
636
|
|
|
528
637
|
|
|
529
|
-
/**
|
|
638
|
+
/**
|
|
639
|
+
* @param {number} value
|
|
640
|
+
* @return {!proto.supervisor.TerminalSize} returns this
|
|
641
|
+
*/
|
|
530
642
|
proto.supervisor.TerminalSize.prototype.setWidthpx = function(value) {
|
|
531
|
-
jspb.Message.setProto3IntField(this, 3, value);
|
|
643
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
532
644
|
};
|
|
533
645
|
|
|
534
646
|
|
|
@@ -541,9 +653,12 @@ proto.supervisor.TerminalSize.prototype.getHeightpx = function() {
|
|
|
541
653
|
};
|
|
542
654
|
|
|
543
655
|
|
|
544
|
-
/**
|
|
656
|
+
/**
|
|
657
|
+
* @param {number} value
|
|
658
|
+
* @return {!proto.supervisor.TerminalSize} returns this
|
|
659
|
+
*/
|
|
545
660
|
proto.supervisor.TerminalSize.prototype.setHeightpx = function(value) {
|
|
546
|
-
jspb.Message.setProto3IntField(this, 4, value);
|
|
661
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
547
662
|
};
|
|
548
663
|
|
|
549
664
|
|
|
@@ -559,13 +674,15 @@ proto.supervisor.OpenTerminalRequest.repeatedFields_ = [5];
|
|
|
559
674
|
|
|
560
675
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
561
676
|
/**
|
|
562
|
-
* Creates an object representation of this proto
|
|
677
|
+
* Creates an object representation of this proto.
|
|
563
678
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
679
|
+
* Optional fields that are not set will be set to undefined.
|
|
564
680
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
565
681
|
* For the list of reserved names please see:
|
|
566
|
-
*
|
|
567
|
-
* @param {boolean=} opt_includeInstance
|
|
568
|
-
* for transitional soy proto support:
|
|
682
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
683
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
684
|
+
* JSPB instance for transitional soy proto support:
|
|
685
|
+
* http://goto/soy-param-migration
|
|
569
686
|
* @return {!Object}
|
|
570
687
|
*/
|
|
571
688
|
proto.supervisor.OpenTerminalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -575,8 +692,8 @@ proto.supervisor.OpenTerminalRequest.prototype.toObject = function(opt_includeIn
|
|
|
575
692
|
|
|
576
693
|
/**
|
|
577
694
|
* Static version of the {@see toObject} method.
|
|
578
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
579
|
-
* instance for transitional soy proto support:
|
|
695
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
696
|
+
* the JSPB instance for transitional soy proto support:
|
|
580
697
|
* http://goto/soy-param-migration
|
|
581
698
|
* @param {!proto.supervisor.OpenTerminalRequest} msg The msg instance to transform.
|
|
582
699
|
* @return {!Object}
|
|
@@ -588,7 +705,7 @@ proto.supervisor.OpenTerminalRequest.toObject = function(includeInstance, msg) {
|
|
|
588
705
|
envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
589
706
|
annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
590
707
|
shell: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
591
|
-
shellArgsList: jspb.Message.getRepeatedField(msg, 5),
|
|
708
|
+
shellArgsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
592
709
|
size: (f = msg.getSize()) && proto.supervisor.TerminalSize.toObject(includeInstance, f)
|
|
593
710
|
};
|
|
594
711
|
|
|
@@ -633,13 +750,13 @@ proto.supervisor.OpenTerminalRequest.deserializeBinaryFromReader = function(msg,
|
|
|
633
750
|
case 2:
|
|
634
751
|
var value = msg.getEnvMap();
|
|
635
752
|
reader.readMessage(value, function(message, reader) {
|
|
636
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "");
|
|
753
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
637
754
|
});
|
|
638
755
|
break;
|
|
639
756
|
case 3:
|
|
640
757
|
var value = msg.getAnnotationsMap();
|
|
641
758
|
reader.readMessage(value, function(message, reader) {
|
|
642
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "");
|
|
759
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
643
760
|
});
|
|
644
761
|
break;
|
|
645
762
|
case 4:
|
|
@@ -733,9 +850,12 @@ proto.supervisor.OpenTerminalRequest.prototype.getWorkdir = function() {
|
|
|
733
850
|
};
|
|
734
851
|
|
|
735
852
|
|
|
736
|
-
/**
|
|
853
|
+
/**
|
|
854
|
+
* @param {string} value
|
|
855
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
856
|
+
*/
|
|
737
857
|
proto.supervisor.OpenTerminalRequest.prototype.setWorkdir = function(value) {
|
|
738
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
858
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
739
859
|
};
|
|
740
860
|
|
|
741
861
|
|
|
@@ -754,10 +874,11 @@ proto.supervisor.OpenTerminalRequest.prototype.getEnvMap = function(opt_noLazyCr
|
|
|
754
874
|
|
|
755
875
|
/**
|
|
756
876
|
* Clears values from the map. The map will be non-null.
|
|
877
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
757
878
|
*/
|
|
758
879
|
proto.supervisor.OpenTerminalRequest.prototype.clearEnvMap = function() {
|
|
759
880
|
this.getEnvMap().clear();
|
|
760
|
-
};
|
|
881
|
+
return this;};
|
|
761
882
|
|
|
762
883
|
|
|
763
884
|
/**
|
|
@@ -775,10 +896,11 @@ proto.supervisor.OpenTerminalRequest.prototype.getAnnotationsMap = function(opt_
|
|
|
775
896
|
|
|
776
897
|
/**
|
|
777
898
|
* Clears values from the map. The map will be non-null.
|
|
899
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
778
900
|
*/
|
|
779
901
|
proto.supervisor.OpenTerminalRequest.prototype.clearAnnotationsMap = function() {
|
|
780
902
|
this.getAnnotationsMap().clear();
|
|
781
|
-
};
|
|
903
|
+
return this;};
|
|
782
904
|
|
|
783
905
|
|
|
784
906
|
/**
|
|
@@ -790,9 +912,12 @@ proto.supervisor.OpenTerminalRequest.prototype.getShell = function() {
|
|
|
790
912
|
};
|
|
791
913
|
|
|
792
914
|
|
|
793
|
-
/**
|
|
915
|
+
/**
|
|
916
|
+
* @param {string} value
|
|
917
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
918
|
+
*/
|
|
794
919
|
proto.supervisor.OpenTerminalRequest.prototype.setShell = function(value) {
|
|
795
|
-
jspb.Message.setProto3StringField(this, 4, value);
|
|
920
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
796
921
|
};
|
|
797
922
|
|
|
798
923
|
|
|
@@ -805,26 +930,31 @@ proto.supervisor.OpenTerminalRequest.prototype.getShellArgsList = function() {
|
|
|
805
930
|
};
|
|
806
931
|
|
|
807
932
|
|
|
808
|
-
/**
|
|
933
|
+
/**
|
|
934
|
+
* @param {!Array<string>} value
|
|
935
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
936
|
+
*/
|
|
809
937
|
proto.supervisor.OpenTerminalRequest.prototype.setShellArgsList = function(value) {
|
|
810
|
-
jspb.Message.setField(this, 5, value || []);
|
|
938
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
811
939
|
};
|
|
812
940
|
|
|
813
941
|
|
|
814
942
|
/**
|
|
815
943
|
* @param {string} value
|
|
816
944
|
* @param {number=} opt_index
|
|
945
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
817
946
|
*/
|
|
818
947
|
proto.supervisor.OpenTerminalRequest.prototype.addShellArgs = function(value, opt_index) {
|
|
819
|
-
jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
948
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
820
949
|
};
|
|
821
950
|
|
|
822
951
|
|
|
823
952
|
/**
|
|
824
953
|
* Clears the list making it empty but non-null.
|
|
954
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
825
955
|
*/
|
|
826
956
|
proto.supervisor.OpenTerminalRequest.prototype.clearShellArgsList = function() {
|
|
827
|
-
this.setShellArgsList([]);
|
|
957
|
+
return this.setShellArgsList([]);
|
|
828
958
|
};
|
|
829
959
|
|
|
830
960
|
|
|
@@ -838,17 +968,21 @@ proto.supervisor.OpenTerminalRequest.prototype.getSize = function() {
|
|
|
838
968
|
};
|
|
839
969
|
|
|
840
970
|
|
|
841
|
-
/**
|
|
971
|
+
/**
|
|
972
|
+
* @param {?proto.supervisor.TerminalSize|undefined} value
|
|
973
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
974
|
+
*/
|
|
842
975
|
proto.supervisor.OpenTerminalRequest.prototype.setSize = function(value) {
|
|
843
|
-
jspb.Message.setWrapperField(this, 6, value);
|
|
976
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
844
977
|
};
|
|
845
978
|
|
|
846
979
|
|
|
847
980
|
/**
|
|
848
981
|
* Clears the message field making it undefined.
|
|
982
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
849
983
|
*/
|
|
850
984
|
proto.supervisor.OpenTerminalRequest.prototype.clearSize = function() {
|
|
851
|
-
this.setSize(undefined);
|
|
985
|
+
return this.setSize(undefined);
|
|
852
986
|
};
|
|
853
987
|
|
|
854
988
|
|
|
@@ -866,13 +1000,15 @@ proto.supervisor.OpenTerminalRequest.prototype.hasSize = function() {
|
|
|
866
1000
|
|
|
867
1001
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
868
1002
|
/**
|
|
869
|
-
* Creates an object representation of this proto
|
|
1003
|
+
* Creates an object representation of this proto.
|
|
870
1004
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1005
|
+
* Optional fields that are not set will be set to undefined.
|
|
871
1006
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
872
1007
|
* For the list of reserved names please see:
|
|
873
|
-
*
|
|
874
|
-
* @param {boolean=} opt_includeInstance
|
|
875
|
-
* for transitional soy proto support:
|
|
1008
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1009
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1010
|
+
* JSPB instance for transitional soy proto support:
|
|
1011
|
+
* http://goto/soy-param-migration
|
|
876
1012
|
* @return {!Object}
|
|
877
1013
|
*/
|
|
878
1014
|
proto.supervisor.OpenTerminalResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -882,8 +1018,8 @@ proto.supervisor.OpenTerminalResponse.prototype.toObject = function(opt_includeI
|
|
|
882
1018
|
|
|
883
1019
|
/**
|
|
884
1020
|
* Static version of the {@see toObject} method.
|
|
885
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
886
|
-
* instance for transitional soy proto support:
|
|
1021
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1022
|
+
* the JSPB instance for transitional soy proto support:
|
|
887
1023
|
* http://goto/soy-param-migration
|
|
888
1024
|
* @param {!proto.supervisor.OpenTerminalResponse} msg The msg instance to transform.
|
|
889
1025
|
* @return {!Object}
|
|
@@ -995,17 +1131,21 @@ proto.supervisor.OpenTerminalResponse.prototype.getTerminal = function() {
|
|
|
995
1131
|
};
|
|
996
1132
|
|
|
997
1133
|
|
|
998
|
-
/**
|
|
1134
|
+
/**
|
|
1135
|
+
* @param {?proto.supervisor.Terminal|undefined} value
|
|
1136
|
+
* @return {!proto.supervisor.OpenTerminalResponse} returns this
|
|
1137
|
+
*/
|
|
999
1138
|
proto.supervisor.OpenTerminalResponse.prototype.setTerminal = function(value) {
|
|
1000
|
-
jspb.Message.setWrapperField(this, 1, value);
|
|
1139
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1001
1140
|
};
|
|
1002
1141
|
|
|
1003
1142
|
|
|
1004
1143
|
/**
|
|
1005
1144
|
* Clears the message field making it undefined.
|
|
1145
|
+
* @return {!proto.supervisor.OpenTerminalResponse} returns this
|
|
1006
1146
|
*/
|
|
1007
1147
|
proto.supervisor.OpenTerminalResponse.prototype.clearTerminal = function() {
|
|
1008
|
-
this.setTerminal(undefined);
|
|
1148
|
+
return this.setTerminal(undefined);
|
|
1009
1149
|
};
|
|
1010
1150
|
|
|
1011
1151
|
|
|
@@ -1027,9 +1167,12 @@ proto.supervisor.OpenTerminalResponse.prototype.getStarterToken = function() {
|
|
|
1027
1167
|
};
|
|
1028
1168
|
|
|
1029
1169
|
|
|
1030
|
-
/**
|
|
1170
|
+
/**
|
|
1171
|
+
* @param {string} value
|
|
1172
|
+
* @return {!proto.supervisor.OpenTerminalResponse} returns this
|
|
1173
|
+
*/
|
|
1031
1174
|
proto.supervisor.OpenTerminalResponse.prototype.setStarterToken = function(value) {
|
|
1032
|
-
jspb.Message.setProto3StringField(this, 2, value);
|
|
1175
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1033
1176
|
};
|
|
1034
1177
|
|
|
1035
1178
|
|
|
@@ -1038,13 +1181,15 @@ proto.supervisor.OpenTerminalResponse.prototype.setStarterToken = function(value
|
|
|
1038
1181
|
|
|
1039
1182
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1040
1183
|
/**
|
|
1041
|
-
* Creates an object representation of this proto
|
|
1184
|
+
* Creates an object representation of this proto.
|
|
1042
1185
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1186
|
+
* Optional fields that are not set will be set to undefined.
|
|
1043
1187
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1044
1188
|
* For the list of reserved names please see:
|
|
1045
|
-
*
|
|
1046
|
-
* @param {boolean=} opt_includeInstance
|
|
1047
|
-
* for transitional soy proto support:
|
|
1189
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1190
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1191
|
+
* JSPB instance for transitional soy proto support:
|
|
1192
|
+
* http://goto/soy-param-migration
|
|
1048
1193
|
* @return {!Object}
|
|
1049
1194
|
*/
|
|
1050
1195
|
proto.supervisor.ShutdownTerminalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1054,8 +1199,8 @@ proto.supervisor.ShutdownTerminalRequest.prototype.toObject = function(opt_inclu
|
|
|
1054
1199
|
|
|
1055
1200
|
/**
|
|
1056
1201
|
* Static version of the {@see toObject} method.
|
|
1057
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1058
|
-
* instance for transitional soy proto support:
|
|
1202
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1203
|
+
* the JSPB instance for transitional soy proto support:
|
|
1059
1204
|
* http://goto/soy-param-migration
|
|
1060
1205
|
* @param {!proto.supervisor.ShutdownTerminalRequest} msg The msg instance to transform.
|
|
1061
1206
|
* @return {!Object}
|
|
@@ -1152,9 +1297,12 @@ proto.supervisor.ShutdownTerminalRequest.prototype.getAlias = function() {
|
|
|
1152
1297
|
};
|
|
1153
1298
|
|
|
1154
1299
|
|
|
1155
|
-
/**
|
|
1300
|
+
/**
|
|
1301
|
+
* @param {string} value
|
|
1302
|
+
* @return {!proto.supervisor.ShutdownTerminalRequest} returns this
|
|
1303
|
+
*/
|
|
1156
1304
|
proto.supervisor.ShutdownTerminalRequest.prototype.setAlias = function(value) {
|
|
1157
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
1305
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1158
1306
|
};
|
|
1159
1307
|
|
|
1160
1308
|
|
|
@@ -1163,13 +1311,15 @@ proto.supervisor.ShutdownTerminalRequest.prototype.setAlias = function(value) {
|
|
|
1163
1311
|
|
|
1164
1312
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1165
1313
|
/**
|
|
1166
|
-
* Creates an object representation of this proto
|
|
1314
|
+
* Creates an object representation of this proto.
|
|
1167
1315
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1316
|
+
* Optional fields that are not set will be set to undefined.
|
|
1168
1317
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1169
1318
|
* For the list of reserved names please see:
|
|
1170
|
-
*
|
|
1171
|
-
* @param {boolean=} opt_includeInstance
|
|
1172
|
-
* for transitional soy proto support:
|
|
1319
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1320
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1321
|
+
* JSPB instance for transitional soy proto support:
|
|
1322
|
+
* http://goto/soy-param-migration
|
|
1173
1323
|
* @return {!Object}
|
|
1174
1324
|
*/
|
|
1175
1325
|
proto.supervisor.ShutdownTerminalResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1179,8 +1329,8 @@ proto.supervisor.ShutdownTerminalResponse.prototype.toObject = function(opt_incl
|
|
|
1179
1329
|
|
|
1180
1330
|
/**
|
|
1181
1331
|
* Static version of the {@see toObject} method.
|
|
1182
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1183
|
-
* instance for transitional soy proto support:
|
|
1332
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1333
|
+
* the JSPB instance for transitional soy proto support:
|
|
1184
1334
|
* http://goto/soy-param-migration
|
|
1185
1335
|
* @param {!proto.supervisor.ShutdownTerminalResponse} msg The msg instance to transform.
|
|
1186
1336
|
* @return {!Object}
|
|
@@ -1269,13 +1419,15 @@ proto.supervisor.Terminal.repeatedFields_ = [2];
|
|
|
1269
1419
|
|
|
1270
1420
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1271
1421
|
/**
|
|
1272
|
-
* Creates an object representation of this proto
|
|
1422
|
+
* Creates an object representation of this proto.
|
|
1273
1423
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1424
|
+
* Optional fields that are not set will be set to undefined.
|
|
1274
1425
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1275
1426
|
* For the list of reserved names please see:
|
|
1276
|
-
*
|
|
1277
|
-
* @param {boolean=} opt_includeInstance
|
|
1278
|
-
* for transitional soy proto support:
|
|
1427
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1428
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1429
|
+
* JSPB instance for transitional soy proto support:
|
|
1430
|
+
* http://goto/soy-param-migration
|
|
1279
1431
|
* @return {!Object}
|
|
1280
1432
|
*/
|
|
1281
1433
|
proto.supervisor.Terminal.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1285,8 +1437,8 @@ proto.supervisor.Terminal.prototype.toObject = function(opt_includeInstance) {
|
|
|
1285
1437
|
|
|
1286
1438
|
/**
|
|
1287
1439
|
* Static version of the {@see toObject} method.
|
|
1288
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1289
|
-
* instance for transitional soy proto support:
|
|
1440
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1441
|
+
* the JSPB instance for transitional soy proto support:
|
|
1290
1442
|
* http://goto/soy-param-migration
|
|
1291
1443
|
* @param {!proto.supervisor.Terminal} msg The msg instance to transform.
|
|
1292
1444
|
* @return {!Object}
|
|
@@ -1295,12 +1447,13 @@ proto.supervisor.Terminal.prototype.toObject = function(opt_includeInstance) {
|
|
|
1295
1447
|
proto.supervisor.Terminal.toObject = function(includeInstance, msg) {
|
|
1296
1448
|
var f, obj = {
|
|
1297
1449
|
alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1298
|
-
commandList: jspb.Message.getRepeatedField(msg, 2),
|
|
1450
|
+
commandList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
1299
1451
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1300
1452
|
pid: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1301
1453
|
initialWorkdir: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1302
1454
|
currentWorkdir: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1303
|
-
annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
1455
|
+
annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1456
|
+
titleSource: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
1304
1457
|
};
|
|
1305
1458
|
|
|
1306
1459
|
if (includeInstance) {
|
|
@@ -1364,9 +1517,13 @@ proto.supervisor.Terminal.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1364
1517
|
case 7:
|
|
1365
1518
|
var value = msg.getAnnotationsMap();
|
|
1366
1519
|
reader.readMessage(value, function(message, reader) {
|
|
1367
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "");
|
|
1520
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
1368
1521
|
});
|
|
1369
1522
|
break;
|
|
1523
|
+
case 8:
|
|
1524
|
+
var value = /** @type {!proto.supervisor.TerminalTitleSource} */ (reader.readEnum());
|
|
1525
|
+
msg.setTitleSource(value);
|
|
1526
|
+
break;
|
|
1370
1527
|
default:
|
|
1371
1528
|
reader.skipField();
|
|
1372
1529
|
break;
|
|
@@ -1442,6 +1599,13 @@ proto.supervisor.Terminal.serializeBinaryToWriter = function(message, writer) {
|
|
|
1442
1599
|
if (f && f.getLength() > 0) {
|
|
1443
1600
|
f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
1444
1601
|
}
|
|
1602
|
+
f = message.getTitleSource();
|
|
1603
|
+
if (f !== 0.0) {
|
|
1604
|
+
writer.writeEnum(
|
|
1605
|
+
8,
|
|
1606
|
+
f
|
|
1607
|
+
);
|
|
1608
|
+
}
|
|
1445
1609
|
};
|
|
1446
1610
|
|
|
1447
1611
|
|
|
@@ -1454,9 +1618,12 @@ proto.supervisor.Terminal.prototype.getAlias = function() {
|
|
|
1454
1618
|
};
|
|
1455
1619
|
|
|
1456
1620
|
|
|
1457
|
-
/**
|
|
1621
|
+
/**
|
|
1622
|
+
* @param {string} value
|
|
1623
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1624
|
+
*/
|
|
1458
1625
|
proto.supervisor.Terminal.prototype.setAlias = function(value) {
|
|
1459
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
1626
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1460
1627
|
};
|
|
1461
1628
|
|
|
1462
1629
|
|
|
@@ -1469,26 +1636,31 @@ proto.supervisor.Terminal.prototype.getCommandList = function() {
|
|
|
1469
1636
|
};
|
|
1470
1637
|
|
|
1471
1638
|
|
|
1472
|
-
/**
|
|
1639
|
+
/**
|
|
1640
|
+
* @param {!Array<string>} value
|
|
1641
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1642
|
+
*/
|
|
1473
1643
|
proto.supervisor.Terminal.prototype.setCommandList = function(value) {
|
|
1474
|
-
jspb.Message.setField(this, 2, value || []);
|
|
1644
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
1475
1645
|
};
|
|
1476
1646
|
|
|
1477
1647
|
|
|
1478
1648
|
/**
|
|
1479
1649
|
* @param {string} value
|
|
1480
1650
|
* @param {number=} opt_index
|
|
1651
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1481
1652
|
*/
|
|
1482
1653
|
proto.supervisor.Terminal.prototype.addCommand = function(value, opt_index) {
|
|
1483
|
-
jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1654
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1484
1655
|
};
|
|
1485
1656
|
|
|
1486
1657
|
|
|
1487
1658
|
/**
|
|
1488
1659
|
* Clears the list making it empty but non-null.
|
|
1660
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1489
1661
|
*/
|
|
1490
1662
|
proto.supervisor.Terminal.prototype.clearCommandList = function() {
|
|
1491
|
-
this.setCommandList([]);
|
|
1663
|
+
return this.setCommandList([]);
|
|
1492
1664
|
};
|
|
1493
1665
|
|
|
1494
1666
|
|
|
@@ -1501,9 +1673,12 @@ proto.supervisor.Terminal.prototype.getTitle = function() {
|
|
|
1501
1673
|
};
|
|
1502
1674
|
|
|
1503
1675
|
|
|
1504
|
-
/**
|
|
1676
|
+
/**
|
|
1677
|
+
* @param {string} value
|
|
1678
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1679
|
+
*/
|
|
1505
1680
|
proto.supervisor.Terminal.prototype.setTitle = function(value) {
|
|
1506
|
-
jspb.Message.setProto3StringField(this, 3, value);
|
|
1681
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1507
1682
|
};
|
|
1508
1683
|
|
|
1509
1684
|
|
|
@@ -1516,9 +1691,12 @@ proto.supervisor.Terminal.prototype.getPid = function() {
|
|
|
1516
1691
|
};
|
|
1517
1692
|
|
|
1518
1693
|
|
|
1519
|
-
/**
|
|
1694
|
+
/**
|
|
1695
|
+
* @param {number} value
|
|
1696
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1697
|
+
*/
|
|
1520
1698
|
proto.supervisor.Terminal.prototype.setPid = function(value) {
|
|
1521
|
-
jspb.Message.setProto3IntField(this, 4, value);
|
|
1699
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
1522
1700
|
};
|
|
1523
1701
|
|
|
1524
1702
|
|
|
@@ -1531,9 +1709,12 @@ proto.supervisor.Terminal.prototype.getInitialWorkdir = function() {
|
|
|
1531
1709
|
};
|
|
1532
1710
|
|
|
1533
1711
|
|
|
1534
|
-
/**
|
|
1712
|
+
/**
|
|
1713
|
+
* @param {string} value
|
|
1714
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1715
|
+
*/
|
|
1535
1716
|
proto.supervisor.Terminal.prototype.setInitialWorkdir = function(value) {
|
|
1536
|
-
jspb.Message.setProto3StringField(this, 5, value);
|
|
1717
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1537
1718
|
};
|
|
1538
1719
|
|
|
1539
1720
|
|
|
@@ -1546,9 +1727,12 @@ proto.supervisor.Terminal.prototype.getCurrentWorkdir = function() {
|
|
|
1546
1727
|
};
|
|
1547
1728
|
|
|
1548
1729
|
|
|
1549
|
-
/**
|
|
1730
|
+
/**
|
|
1731
|
+
* @param {string} value
|
|
1732
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1733
|
+
*/
|
|
1550
1734
|
proto.supervisor.Terminal.prototype.setCurrentWorkdir = function(value) {
|
|
1551
|
-
jspb.Message.setProto3StringField(this, 6, value);
|
|
1735
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1552
1736
|
};
|
|
1553
1737
|
|
|
1554
1738
|
|
|
@@ -1567,9 +1751,28 @@ proto.supervisor.Terminal.prototype.getAnnotationsMap = function(opt_noLazyCreat
|
|
|
1567
1751
|
|
|
1568
1752
|
/**
|
|
1569
1753
|
* Clears values from the map. The map will be non-null.
|
|
1754
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1570
1755
|
*/
|
|
1571
1756
|
proto.supervisor.Terminal.prototype.clearAnnotationsMap = function() {
|
|
1572
1757
|
this.getAnnotationsMap().clear();
|
|
1758
|
+
return this;};
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
/**
|
|
1762
|
+
* optional TerminalTitleSource title_source = 8;
|
|
1763
|
+
* @return {!proto.supervisor.TerminalTitleSource}
|
|
1764
|
+
*/
|
|
1765
|
+
proto.supervisor.Terminal.prototype.getTitleSource = function() {
|
|
1766
|
+
return /** @type {!proto.supervisor.TerminalTitleSource} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
1767
|
+
};
|
|
1768
|
+
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* @param {!proto.supervisor.TerminalTitleSource} value
|
|
1772
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1773
|
+
*/
|
|
1774
|
+
proto.supervisor.Terminal.prototype.setTitleSource = function(value) {
|
|
1775
|
+
return jspb.Message.setProto3EnumField(this, 8, value);
|
|
1573
1776
|
};
|
|
1574
1777
|
|
|
1575
1778
|
|
|
@@ -1578,13 +1781,15 @@ proto.supervisor.Terminal.prototype.clearAnnotationsMap = function() {
|
|
|
1578
1781
|
|
|
1579
1782
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1580
1783
|
/**
|
|
1581
|
-
* Creates an object representation of this proto
|
|
1784
|
+
* Creates an object representation of this proto.
|
|
1582
1785
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1786
|
+
* Optional fields that are not set will be set to undefined.
|
|
1583
1787
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1584
1788
|
* For the list of reserved names please see:
|
|
1585
|
-
*
|
|
1586
|
-
* @param {boolean=} opt_includeInstance
|
|
1587
|
-
* for transitional soy proto support:
|
|
1789
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1790
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1791
|
+
* JSPB instance for transitional soy proto support:
|
|
1792
|
+
* http://goto/soy-param-migration
|
|
1588
1793
|
* @return {!Object}
|
|
1589
1794
|
*/
|
|
1590
1795
|
proto.supervisor.GetTerminalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1594,8 +1799,8 @@ proto.supervisor.GetTerminalRequest.prototype.toObject = function(opt_includeIns
|
|
|
1594
1799
|
|
|
1595
1800
|
/**
|
|
1596
1801
|
* Static version of the {@see toObject} method.
|
|
1597
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1598
|
-
* instance for transitional soy proto support:
|
|
1802
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1803
|
+
* the JSPB instance for transitional soy proto support:
|
|
1599
1804
|
* http://goto/soy-param-migration
|
|
1600
1805
|
* @param {!proto.supervisor.GetTerminalRequest} msg The msg instance to transform.
|
|
1601
1806
|
* @return {!Object}
|
|
@@ -1692,9 +1897,12 @@ proto.supervisor.GetTerminalRequest.prototype.getAlias = function() {
|
|
|
1692
1897
|
};
|
|
1693
1898
|
|
|
1694
1899
|
|
|
1695
|
-
/**
|
|
1900
|
+
/**
|
|
1901
|
+
* @param {string} value
|
|
1902
|
+
* @return {!proto.supervisor.GetTerminalRequest} returns this
|
|
1903
|
+
*/
|
|
1696
1904
|
proto.supervisor.GetTerminalRequest.prototype.setAlias = function(value) {
|
|
1697
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
1905
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1698
1906
|
};
|
|
1699
1907
|
|
|
1700
1908
|
|
|
@@ -1703,13 +1911,15 @@ proto.supervisor.GetTerminalRequest.prototype.setAlias = function(value) {
|
|
|
1703
1911
|
|
|
1704
1912
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1705
1913
|
/**
|
|
1706
|
-
* Creates an object representation of this proto
|
|
1914
|
+
* Creates an object representation of this proto.
|
|
1707
1915
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1916
|
+
* Optional fields that are not set will be set to undefined.
|
|
1708
1917
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1709
1918
|
* For the list of reserved names please see:
|
|
1710
|
-
*
|
|
1711
|
-
* @param {boolean=} opt_includeInstance
|
|
1712
|
-
* for transitional soy proto support:
|
|
1919
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1920
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1921
|
+
* JSPB instance for transitional soy proto support:
|
|
1922
|
+
* http://goto/soy-param-migration
|
|
1713
1923
|
* @return {!Object}
|
|
1714
1924
|
*/
|
|
1715
1925
|
proto.supervisor.ListTerminalsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1719,8 +1929,8 @@ proto.supervisor.ListTerminalsRequest.prototype.toObject = function(opt_includeI
|
|
|
1719
1929
|
|
|
1720
1930
|
/**
|
|
1721
1931
|
* Static version of the {@see toObject} method.
|
|
1722
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1723
|
-
* instance for transitional soy proto support:
|
|
1932
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1933
|
+
* the JSPB instance for transitional soy proto support:
|
|
1724
1934
|
* http://goto/soy-param-migration
|
|
1725
1935
|
* @param {!proto.supervisor.ListTerminalsRequest} msg The msg instance to transform.
|
|
1726
1936
|
* @return {!Object}
|
|
@@ -1809,13 +2019,15 @@ proto.supervisor.ListTerminalsResponse.repeatedFields_ = [1];
|
|
|
1809
2019
|
|
|
1810
2020
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1811
2021
|
/**
|
|
1812
|
-
* Creates an object representation of this proto
|
|
2022
|
+
* Creates an object representation of this proto.
|
|
1813
2023
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2024
|
+
* Optional fields that are not set will be set to undefined.
|
|
1814
2025
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1815
2026
|
* For the list of reserved names please see:
|
|
1816
|
-
*
|
|
1817
|
-
* @param {boolean=} opt_includeInstance
|
|
1818
|
-
* for transitional soy proto support:
|
|
2027
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2028
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2029
|
+
* JSPB instance for transitional soy proto support:
|
|
2030
|
+
* http://goto/soy-param-migration
|
|
1819
2031
|
* @return {!Object}
|
|
1820
2032
|
*/
|
|
1821
2033
|
proto.supervisor.ListTerminalsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1825,8 +2037,8 @@ proto.supervisor.ListTerminalsResponse.prototype.toObject = function(opt_include
|
|
|
1825
2037
|
|
|
1826
2038
|
/**
|
|
1827
2039
|
* Static version of the {@see toObject} method.
|
|
1828
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1829
|
-
* instance for transitional soy proto support:
|
|
2040
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2041
|
+
* the JSPB instance for transitional soy proto support:
|
|
1830
2042
|
* http://goto/soy-param-migration
|
|
1831
2043
|
* @param {!proto.supervisor.ListTerminalsResponse} msg The msg instance to transform.
|
|
1832
2044
|
* @return {!Object}
|
|
@@ -1927,9 +2139,12 @@ proto.supervisor.ListTerminalsResponse.prototype.getTerminalsList = function() {
|
|
|
1927
2139
|
};
|
|
1928
2140
|
|
|
1929
2141
|
|
|
1930
|
-
/**
|
|
2142
|
+
/**
|
|
2143
|
+
* @param {!Array<!proto.supervisor.Terminal>} value
|
|
2144
|
+
* @return {!proto.supervisor.ListTerminalsResponse} returns this
|
|
2145
|
+
*/
|
|
1931
2146
|
proto.supervisor.ListTerminalsResponse.prototype.setTerminalsList = function(value) {
|
|
1932
|
-
jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2147
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1933
2148
|
};
|
|
1934
2149
|
|
|
1935
2150
|
|
|
@@ -1945,9 +2160,10 @@ proto.supervisor.ListTerminalsResponse.prototype.addTerminals = function(opt_val
|
|
|
1945
2160
|
|
|
1946
2161
|
/**
|
|
1947
2162
|
* Clears the list making it empty but non-null.
|
|
2163
|
+
* @return {!proto.supervisor.ListTerminalsResponse} returns this
|
|
1948
2164
|
*/
|
|
1949
2165
|
proto.supervisor.ListTerminalsResponse.prototype.clearTerminalsList = function() {
|
|
1950
|
-
this.setTerminalsList([]);
|
|
2166
|
+
return this.setTerminalsList([]);
|
|
1951
2167
|
};
|
|
1952
2168
|
|
|
1953
2169
|
|
|
@@ -1956,13 +2172,15 @@ proto.supervisor.ListTerminalsResponse.prototype.clearTerminalsList = function()
|
|
|
1956
2172
|
|
|
1957
2173
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1958
2174
|
/**
|
|
1959
|
-
* Creates an object representation of this proto
|
|
2175
|
+
* Creates an object representation of this proto.
|
|
1960
2176
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2177
|
+
* Optional fields that are not set will be set to undefined.
|
|
1961
2178
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1962
2179
|
* For the list of reserved names please see:
|
|
1963
|
-
*
|
|
1964
|
-
* @param {boolean=} opt_includeInstance
|
|
1965
|
-
* for transitional soy proto support:
|
|
2180
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2181
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2182
|
+
* JSPB instance for transitional soy proto support:
|
|
2183
|
+
* http://goto/soy-param-migration
|
|
1966
2184
|
* @return {!Object}
|
|
1967
2185
|
*/
|
|
1968
2186
|
proto.supervisor.ListenTerminalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -1972,8 +2190,8 @@ proto.supervisor.ListenTerminalRequest.prototype.toObject = function(opt_include
|
|
|
1972
2190
|
|
|
1973
2191
|
/**
|
|
1974
2192
|
* Static version of the {@see toObject} method.
|
|
1975
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1976
|
-
* instance for transitional soy proto support:
|
|
2193
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2194
|
+
* the JSPB instance for transitional soy proto support:
|
|
1977
2195
|
* http://goto/soy-param-migration
|
|
1978
2196
|
* @param {!proto.supervisor.ListenTerminalRequest} msg The msg instance to transform.
|
|
1979
2197
|
* @return {!Object}
|
|
@@ -2070,9 +2288,12 @@ proto.supervisor.ListenTerminalRequest.prototype.getAlias = function() {
|
|
|
2070
2288
|
};
|
|
2071
2289
|
|
|
2072
2290
|
|
|
2073
|
-
/**
|
|
2291
|
+
/**
|
|
2292
|
+
* @param {string} value
|
|
2293
|
+
* @return {!proto.supervisor.ListenTerminalRequest} returns this
|
|
2294
|
+
*/
|
|
2074
2295
|
proto.supervisor.ListenTerminalRequest.prototype.setAlias = function(value) {
|
|
2075
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
2296
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2076
2297
|
};
|
|
2077
2298
|
|
|
2078
2299
|
|
|
@@ -2108,13 +2329,15 @@ proto.supervisor.ListenTerminalResponse.prototype.getOutputCase = function() {
|
|
|
2108
2329
|
|
|
2109
2330
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2110
2331
|
/**
|
|
2111
|
-
* Creates an object representation of this proto
|
|
2332
|
+
* Creates an object representation of this proto.
|
|
2112
2333
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2334
|
+
* Optional fields that are not set will be set to undefined.
|
|
2113
2335
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2114
2336
|
* For the list of reserved names please see:
|
|
2115
|
-
*
|
|
2116
|
-
* @param {boolean=} opt_includeInstance
|
|
2117
|
-
* for transitional soy proto support:
|
|
2337
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2338
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2339
|
+
* JSPB instance for transitional soy proto support:
|
|
2340
|
+
* http://goto/soy-param-migration
|
|
2118
2341
|
* @return {!Object}
|
|
2119
2342
|
*/
|
|
2120
2343
|
proto.supervisor.ListenTerminalResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2124,8 +2347,8 @@ proto.supervisor.ListenTerminalResponse.prototype.toObject = function(opt_includ
|
|
|
2124
2347
|
|
|
2125
2348
|
/**
|
|
2126
2349
|
* Static version of the {@see toObject} method.
|
|
2127
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2128
|
-
* instance for transitional soy proto support:
|
|
2350
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2351
|
+
* the JSPB instance for transitional soy proto support:
|
|
2129
2352
|
* http://goto/soy-param-migration
|
|
2130
2353
|
* @param {!proto.supervisor.ListenTerminalResponse} msg The msg instance to transform.
|
|
2131
2354
|
* @return {!Object}
|
|
@@ -2135,7 +2358,8 @@ proto.supervisor.ListenTerminalResponse.toObject = function(includeInstance, msg
|
|
|
2135
2358
|
var f, obj = {
|
|
2136
2359
|
data: msg.getData_asB64(),
|
|
2137
2360
|
exitCode: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2138
|
-
title: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2361
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2362
|
+
titleSource: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
2139
2363
|
};
|
|
2140
2364
|
|
|
2141
2365
|
if (includeInstance) {
|
|
@@ -2184,6 +2408,10 @@ proto.supervisor.ListenTerminalResponse.deserializeBinaryFromReader = function(m
|
|
|
2184
2408
|
var value = /** @type {string} */ (reader.readString());
|
|
2185
2409
|
msg.setTitle(value);
|
|
2186
2410
|
break;
|
|
2411
|
+
case 4:
|
|
2412
|
+
var value = /** @type {!proto.supervisor.TerminalTitleSource} */ (reader.readEnum());
|
|
2413
|
+
msg.setTitleSource(value);
|
|
2414
|
+
break;
|
|
2187
2415
|
default:
|
|
2188
2416
|
reader.skipField();
|
|
2189
2417
|
break;
|
|
@@ -2234,6 +2462,13 @@ proto.supervisor.ListenTerminalResponse.serializeBinaryToWriter = function(messa
|
|
|
2234
2462
|
f
|
|
2235
2463
|
);
|
|
2236
2464
|
}
|
|
2465
|
+
f = message.getTitleSource();
|
|
2466
|
+
if (f !== 0.0) {
|
|
2467
|
+
writer.writeEnum(
|
|
2468
|
+
4,
|
|
2469
|
+
f
|
|
2470
|
+
);
|
|
2471
|
+
}
|
|
2237
2472
|
};
|
|
2238
2473
|
|
|
2239
2474
|
|
|
@@ -2270,17 +2505,21 @@ proto.supervisor.ListenTerminalResponse.prototype.getData_asU8 = function() {
|
|
|
2270
2505
|
};
|
|
2271
2506
|
|
|
2272
2507
|
|
|
2273
|
-
/**
|
|
2508
|
+
/**
|
|
2509
|
+
* @param {!(string|Uint8Array)} value
|
|
2510
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2511
|
+
*/
|
|
2274
2512
|
proto.supervisor.ListenTerminalResponse.prototype.setData = function(value) {
|
|
2275
|
-
jspb.Message.setOneofField(this, 1, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
|
|
2513
|
+
return jspb.Message.setOneofField(this, 1, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
|
|
2276
2514
|
};
|
|
2277
2515
|
|
|
2278
2516
|
|
|
2279
2517
|
/**
|
|
2280
2518
|
* Clears the field making it undefined.
|
|
2519
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2281
2520
|
*/
|
|
2282
2521
|
proto.supervisor.ListenTerminalResponse.prototype.clearData = function() {
|
|
2283
|
-
jspb.Message.setOneofField(this, 1, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
|
|
2522
|
+
return jspb.Message.setOneofField(this, 1, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
|
|
2284
2523
|
};
|
|
2285
2524
|
|
|
2286
2525
|
|
|
@@ -2302,17 +2541,21 @@ proto.supervisor.ListenTerminalResponse.prototype.getExitCode = function() {
|
|
|
2302
2541
|
};
|
|
2303
2542
|
|
|
2304
2543
|
|
|
2305
|
-
/**
|
|
2544
|
+
/**
|
|
2545
|
+
* @param {number} value
|
|
2546
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2547
|
+
*/
|
|
2306
2548
|
proto.supervisor.ListenTerminalResponse.prototype.setExitCode = function(value) {
|
|
2307
|
-
jspb.Message.setOneofField(this, 2, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
|
|
2549
|
+
return jspb.Message.setOneofField(this, 2, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
|
|
2308
2550
|
};
|
|
2309
2551
|
|
|
2310
2552
|
|
|
2311
2553
|
/**
|
|
2312
2554
|
* Clears the field making it undefined.
|
|
2555
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2313
2556
|
*/
|
|
2314
2557
|
proto.supervisor.ListenTerminalResponse.prototype.clearExitCode = function() {
|
|
2315
|
-
jspb.Message.setOneofField(this, 2, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
|
|
2558
|
+
return jspb.Message.setOneofField(this, 2, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
|
|
2316
2559
|
};
|
|
2317
2560
|
|
|
2318
2561
|
|
|
@@ -2334,17 +2577,21 @@ proto.supervisor.ListenTerminalResponse.prototype.getTitle = function() {
|
|
|
2334
2577
|
};
|
|
2335
2578
|
|
|
2336
2579
|
|
|
2337
|
-
/**
|
|
2580
|
+
/**
|
|
2581
|
+
* @param {string} value
|
|
2582
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2583
|
+
*/
|
|
2338
2584
|
proto.supervisor.ListenTerminalResponse.prototype.setTitle = function(value) {
|
|
2339
|
-
jspb.Message.setOneofField(this, 3, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
|
|
2585
|
+
return jspb.Message.setOneofField(this, 3, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
|
|
2340
2586
|
};
|
|
2341
2587
|
|
|
2342
2588
|
|
|
2343
2589
|
/**
|
|
2344
2590
|
* Clears the field making it undefined.
|
|
2591
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2345
2592
|
*/
|
|
2346
2593
|
proto.supervisor.ListenTerminalResponse.prototype.clearTitle = function() {
|
|
2347
|
-
jspb.Message.setOneofField(this, 3, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
|
|
2594
|
+
return jspb.Message.setOneofField(this, 3, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
|
|
2348
2595
|
};
|
|
2349
2596
|
|
|
2350
2597
|
|
|
@@ -2357,18 +2604,38 @@ proto.supervisor.ListenTerminalResponse.prototype.hasTitle = function() {
|
|
|
2357
2604
|
};
|
|
2358
2605
|
|
|
2359
2606
|
|
|
2607
|
+
/**
|
|
2608
|
+
* optional TerminalTitleSource title_source = 4;
|
|
2609
|
+
* @return {!proto.supervisor.TerminalTitleSource}
|
|
2610
|
+
*/
|
|
2611
|
+
proto.supervisor.ListenTerminalResponse.prototype.getTitleSource = function() {
|
|
2612
|
+
return /** @type {!proto.supervisor.TerminalTitleSource} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2613
|
+
};
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
/**
|
|
2617
|
+
* @param {!proto.supervisor.TerminalTitleSource} value
|
|
2618
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2619
|
+
*/
|
|
2620
|
+
proto.supervisor.ListenTerminalResponse.prototype.setTitleSource = function(value) {
|
|
2621
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
2622
|
+
};
|
|
2623
|
+
|
|
2624
|
+
|
|
2360
2625
|
|
|
2361
2626
|
|
|
2362
2627
|
|
|
2363
2628
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2364
2629
|
/**
|
|
2365
|
-
* Creates an object representation of this proto
|
|
2630
|
+
* Creates an object representation of this proto.
|
|
2366
2631
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2632
|
+
* Optional fields that are not set will be set to undefined.
|
|
2367
2633
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2368
2634
|
* For the list of reserved names please see:
|
|
2369
|
-
*
|
|
2370
|
-
* @param {boolean=} opt_includeInstance
|
|
2371
|
-
* for transitional soy proto support:
|
|
2635
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2636
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2637
|
+
* JSPB instance for transitional soy proto support:
|
|
2638
|
+
* http://goto/soy-param-migration
|
|
2372
2639
|
* @return {!Object}
|
|
2373
2640
|
*/
|
|
2374
2641
|
proto.supervisor.WriteTerminalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2378,8 +2645,8 @@ proto.supervisor.WriteTerminalRequest.prototype.toObject = function(opt_includeI
|
|
|
2378
2645
|
|
|
2379
2646
|
/**
|
|
2380
2647
|
* Static version of the {@see toObject} method.
|
|
2381
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2382
|
-
* instance for transitional soy proto support:
|
|
2648
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2649
|
+
* the JSPB instance for transitional soy proto support:
|
|
2383
2650
|
* http://goto/soy-param-migration
|
|
2384
2651
|
* @param {!proto.supervisor.WriteTerminalRequest} msg The msg instance to transform.
|
|
2385
2652
|
* @return {!Object}
|
|
@@ -2488,9 +2755,12 @@ proto.supervisor.WriteTerminalRequest.prototype.getAlias = function() {
|
|
|
2488
2755
|
};
|
|
2489
2756
|
|
|
2490
2757
|
|
|
2491
|
-
/**
|
|
2758
|
+
/**
|
|
2759
|
+
* @param {string} value
|
|
2760
|
+
* @return {!proto.supervisor.WriteTerminalRequest} returns this
|
|
2761
|
+
*/
|
|
2492
2762
|
proto.supervisor.WriteTerminalRequest.prototype.setAlias = function(value) {
|
|
2493
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
2763
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2494
2764
|
};
|
|
2495
2765
|
|
|
2496
2766
|
|
|
@@ -2527,9 +2797,12 @@ proto.supervisor.WriteTerminalRequest.prototype.getStdin_asU8 = function() {
|
|
|
2527
2797
|
};
|
|
2528
2798
|
|
|
2529
2799
|
|
|
2530
|
-
/**
|
|
2800
|
+
/**
|
|
2801
|
+
* @param {!(string|Uint8Array)} value
|
|
2802
|
+
* @return {!proto.supervisor.WriteTerminalRequest} returns this
|
|
2803
|
+
*/
|
|
2531
2804
|
proto.supervisor.WriteTerminalRequest.prototype.setStdin = function(value) {
|
|
2532
|
-
jspb.Message.setProto3BytesField(this, 2, value);
|
|
2805
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
2533
2806
|
};
|
|
2534
2807
|
|
|
2535
2808
|
|
|
@@ -2538,13 +2811,15 @@ proto.supervisor.WriteTerminalRequest.prototype.setStdin = function(value) {
|
|
|
2538
2811
|
|
|
2539
2812
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2540
2813
|
/**
|
|
2541
|
-
* Creates an object representation of this proto
|
|
2814
|
+
* Creates an object representation of this proto.
|
|
2542
2815
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2816
|
+
* Optional fields that are not set will be set to undefined.
|
|
2543
2817
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2544
2818
|
* For the list of reserved names please see:
|
|
2545
|
-
*
|
|
2546
|
-
* @param {boolean=} opt_includeInstance
|
|
2547
|
-
* for transitional soy proto support:
|
|
2819
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2820
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2821
|
+
* JSPB instance for transitional soy proto support:
|
|
2822
|
+
* http://goto/soy-param-migration
|
|
2548
2823
|
* @return {!Object}
|
|
2549
2824
|
*/
|
|
2550
2825
|
proto.supervisor.WriteTerminalResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2554,8 +2829,8 @@ proto.supervisor.WriteTerminalResponse.prototype.toObject = function(opt_include
|
|
|
2554
2829
|
|
|
2555
2830
|
/**
|
|
2556
2831
|
* Static version of the {@see toObject} method.
|
|
2557
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2558
|
-
* instance for transitional soy proto support:
|
|
2832
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2833
|
+
* the JSPB instance for transitional soy proto support:
|
|
2559
2834
|
* http://goto/soy-param-migration
|
|
2560
2835
|
* @param {!proto.supervisor.WriteTerminalResponse} msg The msg instance to transform.
|
|
2561
2836
|
* @return {!Object}
|
|
@@ -2652,9 +2927,12 @@ proto.supervisor.WriteTerminalResponse.prototype.getBytesWritten = function() {
|
|
|
2652
2927
|
};
|
|
2653
2928
|
|
|
2654
2929
|
|
|
2655
|
-
/**
|
|
2930
|
+
/**
|
|
2931
|
+
* @param {number} value
|
|
2932
|
+
* @return {!proto.supervisor.WriteTerminalResponse} returns this
|
|
2933
|
+
*/
|
|
2656
2934
|
proto.supervisor.WriteTerminalResponse.prototype.setBytesWritten = function(value) {
|
|
2657
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
2935
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2658
2936
|
};
|
|
2659
2937
|
|
|
2660
2938
|
|
|
@@ -2689,13 +2967,15 @@ proto.supervisor.SetTerminalSizeRequest.prototype.getPriorityCase = function() {
|
|
|
2689
2967
|
|
|
2690
2968
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2691
2969
|
/**
|
|
2692
|
-
* Creates an object representation of this proto
|
|
2970
|
+
* Creates an object representation of this proto.
|
|
2693
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.
|
|
2694
2973
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2695
2974
|
* For the list of reserved names please see:
|
|
2696
|
-
*
|
|
2697
|
-
* @param {boolean=} opt_includeInstance
|
|
2698
|
-
* 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
|
|
2699
2979
|
* @return {!Object}
|
|
2700
2980
|
*/
|
|
2701
2981
|
proto.supervisor.SetTerminalSizeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2705,8 +2985,8 @@ proto.supervisor.SetTerminalSizeRequest.prototype.toObject = function(opt_includ
|
|
|
2705
2985
|
|
|
2706
2986
|
/**
|
|
2707
2987
|
* Static version of the {@see toObject} method.
|
|
2708
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2709
|
-
* instance for transitional soy proto support:
|
|
2988
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2989
|
+
* the JSPB instance for transitional soy proto support:
|
|
2710
2990
|
* http://goto/soy-param-migration
|
|
2711
2991
|
* @param {!proto.supervisor.SetTerminalSizeRequest} msg The msg instance to transform.
|
|
2712
2992
|
* @return {!Object}
|
|
@@ -2716,7 +2996,7 @@ proto.supervisor.SetTerminalSizeRequest.toObject = function(includeInstance, msg
|
|
|
2716
2996
|
var f, obj = {
|
|
2717
2997
|
alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2718
2998
|
token: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2719
|
-
force: jspb.Message.
|
|
2999
|
+
force: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
2720
3000
|
size: (f = msg.getSize()) && proto.supervisor.TerminalSize.toObject(includeInstance, f)
|
|
2721
3001
|
};
|
|
2722
3002
|
|
|
@@ -2841,9 +3121,12 @@ proto.supervisor.SetTerminalSizeRequest.prototype.getAlias = function() {
|
|
|
2841
3121
|
};
|
|
2842
3122
|
|
|
2843
3123
|
|
|
2844
|
-
/**
|
|
3124
|
+
/**
|
|
3125
|
+
* @param {string} value
|
|
3126
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
3127
|
+
*/
|
|
2845
3128
|
proto.supervisor.SetTerminalSizeRequest.prototype.setAlias = function(value) {
|
|
2846
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
3129
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2847
3130
|
};
|
|
2848
3131
|
|
|
2849
3132
|
|
|
@@ -2856,17 +3139,21 @@ proto.supervisor.SetTerminalSizeRequest.prototype.getToken = function() {
|
|
|
2856
3139
|
};
|
|
2857
3140
|
|
|
2858
3141
|
|
|
2859
|
-
/**
|
|
3142
|
+
/**
|
|
3143
|
+
* @param {string} value
|
|
3144
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
3145
|
+
*/
|
|
2860
3146
|
proto.supervisor.SetTerminalSizeRequest.prototype.setToken = function(value) {
|
|
2861
|
-
jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
|
|
3147
|
+
return jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
|
|
2862
3148
|
};
|
|
2863
3149
|
|
|
2864
3150
|
|
|
2865
3151
|
/**
|
|
2866
3152
|
* Clears the field making it undefined.
|
|
3153
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
2867
3154
|
*/
|
|
2868
3155
|
proto.supervisor.SetTerminalSizeRequest.prototype.clearToken = function() {
|
|
2869
|
-
jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
|
|
3156
|
+
return jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
|
|
2870
3157
|
};
|
|
2871
3158
|
|
|
2872
3159
|
|
|
@@ -2881,26 +3168,28 @@ proto.supervisor.SetTerminalSizeRequest.prototype.hasToken = function() {
|
|
|
2881
3168
|
|
|
2882
3169
|
/**
|
|
2883
3170
|
* optional bool force = 3;
|
|
2884
|
-
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2885
|
-
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2886
3171
|
* @return {boolean}
|
|
2887
3172
|
*/
|
|
2888
3173
|
proto.supervisor.SetTerminalSizeRequest.prototype.getForce = function() {
|
|
2889
|
-
return /** @type {boolean} */ (jspb.Message.
|
|
3174
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
2890
3175
|
};
|
|
2891
3176
|
|
|
2892
3177
|
|
|
2893
|
-
/**
|
|
3178
|
+
/**
|
|
3179
|
+
* @param {boolean} value
|
|
3180
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
3181
|
+
*/
|
|
2894
3182
|
proto.supervisor.SetTerminalSizeRequest.prototype.setForce = function(value) {
|
|
2895
|
-
jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
|
|
3183
|
+
return jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
|
|
2896
3184
|
};
|
|
2897
3185
|
|
|
2898
3186
|
|
|
2899
3187
|
/**
|
|
2900
3188
|
* Clears the field making it undefined.
|
|
3189
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
2901
3190
|
*/
|
|
2902
3191
|
proto.supervisor.SetTerminalSizeRequest.prototype.clearForce = function() {
|
|
2903
|
-
jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
|
|
3192
|
+
return jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
|
|
2904
3193
|
};
|
|
2905
3194
|
|
|
2906
3195
|
|
|
@@ -2923,17 +3212,21 @@ proto.supervisor.SetTerminalSizeRequest.prototype.getSize = function() {
|
|
|
2923
3212
|
};
|
|
2924
3213
|
|
|
2925
3214
|
|
|
2926
|
-
/**
|
|
3215
|
+
/**
|
|
3216
|
+
* @param {?proto.supervisor.TerminalSize|undefined} value
|
|
3217
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
3218
|
+
*/
|
|
2927
3219
|
proto.supervisor.SetTerminalSizeRequest.prototype.setSize = function(value) {
|
|
2928
|
-
jspb.Message.setWrapperField(this, 4, value);
|
|
3220
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2929
3221
|
};
|
|
2930
3222
|
|
|
2931
3223
|
|
|
2932
3224
|
/**
|
|
2933
3225
|
* Clears the message field making it undefined.
|
|
3226
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
2934
3227
|
*/
|
|
2935
3228
|
proto.supervisor.SetTerminalSizeRequest.prototype.clearSize = function() {
|
|
2936
|
-
this.setSize(undefined);
|
|
3229
|
+
return this.setSize(undefined);
|
|
2937
3230
|
};
|
|
2938
3231
|
|
|
2939
3232
|
|
|
@@ -2951,13 +3244,15 @@ proto.supervisor.SetTerminalSizeRequest.prototype.hasSize = function() {
|
|
|
2951
3244
|
|
|
2952
3245
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2953
3246
|
/**
|
|
2954
|
-
* Creates an object representation of this proto
|
|
3247
|
+
* Creates an object representation of this proto.
|
|
2955
3248
|
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3249
|
+
* Optional fields that are not set will be set to undefined.
|
|
2956
3250
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2957
3251
|
* For the list of reserved names please see:
|
|
2958
|
-
*
|
|
2959
|
-
* @param {boolean=} opt_includeInstance
|
|
2960
|
-
* for transitional soy proto support:
|
|
3252
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3253
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3254
|
+
* JSPB instance for transitional soy proto support:
|
|
3255
|
+
* http://goto/soy-param-migration
|
|
2961
3256
|
* @return {!Object}
|
|
2962
3257
|
*/
|
|
2963
3258
|
proto.supervisor.SetTerminalSizeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
@@ -2967,8 +3262,8 @@ proto.supervisor.SetTerminalSizeResponse.prototype.toObject = function(opt_inclu
|
|
|
2967
3262
|
|
|
2968
3263
|
/**
|
|
2969
3264
|
* Static version of the {@see toObject} method.
|
|
2970
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2971
|
-
* instance for transitional soy proto support:
|
|
3265
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3266
|
+
* the JSPB instance for transitional soy proto support:
|
|
2972
3267
|
* http://goto/soy-param-migration
|
|
2973
3268
|
* @param {!proto.supervisor.SetTerminalSizeResponse} msg The msg instance to transform.
|
|
2974
3269
|
* @return {!Object}
|
|
@@ -3045,4 +3340,593 @@ proto.supervisor.SetTerminalSizeResponse.serializeBinaryToWriter = function(mess
|
|
|
3045
3340
|
};
|
|
3046
3341
|
|
|
3047
3342
|
|
|
3343
|
+
|
|
3344
|
+
|
|
3345
|
+
|
|
3346
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3347
|
+
/**
|
|
3348
|
+
* Creates an object representation of this proto.
|
|
3349
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3350
|
+
* Optional fields that are not set will be set to undefined.
|
|
3351
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3352
|
+
* For the list of reserved names please see:
|
|
3353
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3354
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3355
|
+
* JSPB instance for transitional soy proto support:
|
|
3356
|
+
* http://goto/soy-param-migration
|
|
3357
|
+
* @return {!Object}
|
|
3358
|
+
*/
|
|
3359
|
+
proto.supervisor.SetTerminalTitleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3360
|
+
return proto.supervisor.SetTerminalTitleRequest.toObject(opt_includeInstance, this);
|
|
3361
|
+
};
|
|
3362
|
+
|
|
3363
|
+
|
|
3364
|
+
/**
|
|
3365
|
+
* Static version of the {@see toObject} method.
|
|
3366
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3367
|
+
* the JSPB instance for transitional soy proto support:
|
|
3368
|
+
* http://goto/soy-param-migration
|
|
3369
|
+
* @param {!proto.supervisor.SetTerminalTitleRequest} msg The msg instance to transform.
|
|
3370
|
+
* @return {!Object}
|
|
3371
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3372
|
+
*/
|
|
3373
|
+
proto.supervisor.SetTerminalTitleRequest.toObject = function(includeInstance, msg) {
|
|
3374
|
+
var f, obj = {
|
|
3375
|
+
alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3376
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3377
|
+
};
|
|
3378
|
+
|
|
3379
|
+
if (includeInstance) {
|
|
3380
|
+
obj.$jspbMessageInstance = msg;
|
|
3381
|
+
}
|
|
3382
|
+
return obj;
|
|
3383
|
+
};
|
|
3384
|
+
}
|
|
3385
|
+
|
|
3386
|
+
|
|
3387
|
+
/**
|
|
3388
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3389
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3390
|
+
* @return {!proto.supervisor.SetTerminalTitleRequest}
|
|
3391
|
+
*/
|
|
3392
|
+
proto.supervisor.SetTerminalTitleRequest.deserializeBinary = function(bytes) {
|
|
3393
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3394
|
+
var msg = new proto.supervisor.SetTerminalTitleRequest;
|
|
3395
|
+
return proto.supervisor.SetTerminalTitleRequest.deserializeBinaryFromReader(msg, reader);
|
|
3396
|
+
};
|
|
3397
|
+
|
|
3398
|
+
|
|
3399
|
+
/**
|
|
3400
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3401
|
+
* given reader into the given message object.
|
|
3402
|
+
* @param {!proto.supervisor.SetTerminalTitleRequest} msg The message object to deserialize into.
|
|
3403
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3404
|
+
* @return {!proto.supervisor.SetTerminalTitleRequest}
|
|
3405
|
+
*/
|
|
3406
|
+
proto.supervisor.SetTerminalTitleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3407
|
+
while (reader.nextField()) {
|
|
3408
|
+
if (reader.isEndGroup()) {
|
|
3409
|
+
break;
|
|
3410
|
+
}
|
|
3411
|
+
var field = reader.getFieldNumber();
|
|
3412
|
+
switch (field) {
|
|
3413
|
+
case 1:
|
|
3414
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3415
|
+
msg.setAlias(value);
|
|
3416
|
+
break;
|
|
3417
|
+
case 2:
|
|
3418
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3419
|
+
msg.setTitle(value);
|
|
3420
|
+
break;
|
|
3421
|
+
default:
|
|
3422
|
+
reader.skipField();
|
|
3423
|
+
break;
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
return msg;
|
|
3427
|
+
};
|
|
3428
|
+
|
|
3429
|
+
|
|
3430
|
+
/**
|
|
3431
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3432
|
+
* @return {!Uint8Array}
|
|
3433
|
+
*/
|
|
3434
|
+
proto.supervisor.SetTerminalTitleRequest.prototype.serializeBinary = function() {
|
|
3435
|
+
var writer = new jspb.BinaryWriter();
|
|
3436
|
+
proto.supervisor.SetTerminalTitleRequest.serializeBinaryToWriter(this, writer);
|
|
3437
|
+
return writer.getResultBuffer();
|
|
3438
|
+
};
|
|
3439
|
+
|
|
3440
|
+
|
|
3441
|
+
/**
|
|
3442
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3443
|
+
* format), writing to the given BinaryWriter.
|
|
3444
|
+
* @param {!proto.supervisor.SetTerminalTitleRequest} message
|
|
3445
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3446
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3447
|
+
*/
|
|
3448
|
+
proto.supervisor.SetTerminalTitleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3449
|
+
var f = undefined;
|
|
3450
|
+
f = message.getAlias();
|
|
3451
|
+
if (f.length > 0) {
|
|
3452
|
+
writer.writeString(
|
|
3453
|
+
1,
|
|
3454
|
+
f
|
|
3455
|
+
);
|
|
3456
|
+
}
|
|
3457
|
+
f = message.getTitle();
|
|
3458
|
+
if (f.length > 0) {
|
|
3459
|
+
writer.writeString(
|
|
3460
|
+
2,
|
|
3461
|
+
f
|
|
3462
|
+
);
|
|
3463
|
+
}
|
|
3464
|
+
};
|
|
3465
|
+
|
|
3466
|
+
|
|
3467
|
+
/**
|
|
3468
|
+
* optional string alias = 1;
|
|
3469
|
+
* @return {string}
|
|
3470
|
+
*/
|
|
3471
|
+
proto.supervisor.SetTerminalTitleRequest.prototype.getAlias = function() {
|
|
3472
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3473
|
+
};
|
|
3474
|
+
|
|
3475
|
+
|
|
3476
|
+
/**
|
|
3477
|
+
* @param {string} value
|
|
3478
|
+
* @return {!proto.supervisor.SetTerminalTitleRequest} returns this
|
|
3479
|
+
*/
|
|
3480
|
+
proto.supervisor.SetTerminalTitleRequest.prototype.setAlias = function(value) {
|
|
3481
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3482
|
+
};
|
|
3483
|
+
|
|
3484
|
+
|
|
3485
|
+
/**
|
|
3486
|
+
* optional string title = 2;
|
|
3487
|
+
* @return {string}
|
|
3488
|
+
*/
|
|
3489
|
+
proto.supervisor.SetTerminalTitleRequest.prototype.getTitle = function() {
|
|
3490
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3491
|
+
};
|
|
3492
|
+
|
|
3493
|
+
|
|
3494
|
+
/**
|
|
3495
|
+
* @param {string} value
|
|
3496
|
+
* @return {!proto.supervisor.SetTerminalTitleRequest} returns this
|
|
3497
|
+
*/
|
|
3498
|
+
proto.supervisor.SetTerminalTitleRequest.prototype.setTitle = function(value) {
|
|
3499
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3500
|
+
};
|
|
3501
|
+
|
|
3502
|
+
|
|
3503
|
+
|
|
3504
|
+
|
|
3505
|
+
|
|
3506
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3507
|
+
/**
|
|
3508
|
+
* Creates an object representation of this proto.
|
|
3509
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3510
|
+
* Optional fields that are not set will be set to undefined.
|
|
3511
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3512
|
+
* For the list of reserved names please see:
|
|
3513
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3514
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3515
|
+
* JSPB instance for transitional soy proto support:
|
|
3516
|
+
* http://goto/soy-param-migration
|
|
3517
|
+
* @return {!Object}
|
|
3518
|
+
*/
|
|
3519
|
+
proto.supervisor.SetTerminalTitleResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3520
|
+
return proto.supervisor.SetTerminalTitleResponse.toObject(opt_includeInstance, this);
|
|
3521
|
+
};
|
|
3522
|
+
|
|
3523
|
+
|
|
3524
|
+
/**
|
|
3525
|
+
* Static version of the {@see toObject} method.
|
|
3526
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3527
|
+
* the JSPB instance for transitional soy proto support:
|
|
3528
|
+
* http://goto/soy-param-migration
|
|
3529
|
+
* @param {!proto.supervisor.SetTerminalTitleResponse} msg The msg instance to transform.
|
|
3530
|
+
* @return {!Object}
|
|
3531
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3532
|
+
*/
|
|
3533
|
+
proto.supervisor.SetTerminalTitleResponse.toObject = function(includeInstance, msg) {
|
|
3534
|
+
var f, obj = {
|
|
3535
|
+
|
|
3536
|
+
};
|
|
3537
|
+
|
|
3538
|
+
if (includeInstance) {
|
|
3539
|
+
obj.$jspbMessageInstance = msg;
|
|
3540
|
+
}
|
|
3541
|
+
return obj;
|
|
3542
|
+
};
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
|
|
3546
|
+
/**
|
|
3547
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3548
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3549
|
+
* @return {!proto.supervisor.SetTerminalTitleResponse}
|
|
3550
|
+
*/
|
|
3551
|
+
proto.supervisor.SetTerminalTitleResponse.deserializeBinary = function(bytes) {
|
|
3552
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3553
|
+
var msg = new proto.supervisor.SetTerminalTitleResponse;
|
|
3554
|
+
return proto.supervisor.SetTerminalTitleResponse.deserializeBinaryFromReader(msg, reader);
|
|
3555
|
+
};
|
|
3556
|
+
|
|
3557
|
+
|
|
3558
|
+
/**
|
|
3559
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3560
|
+
* given reader into the given message object.
|
|
3561
|
+
* @param {!proto.supervisor.SetTerminalTitleResponse} msg The message object to deserialize into.
|
|
3562
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3563
|
+
* @return {!proto.supervisor.SetTerminalTitleResponse}
|
|
3564
|
+
*/
|
|
3565
|
+
proto.supervisor.SetTerminalTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3566
|
+
while (reader.nextField()) {
|
|
3567
|
+
if (reader.isEndGroup()) {
|
|
3568
|
+
break;
|
|
3569
|
+
}
|
|
3570
|
+
var field = reader.getFieldNumber();
|
|
3571
|
+
switch (field) {
|
|
3572
|
+
default:
|
|
3573
|
+
reader.skipField();
|
|
3574
|
+
break;
|
|
3575
|
+
}
|
|
3576
|
+
}
|
|
3577
|
+
return msg;
|
|
3578
|
+
};
|
|
3579
|
+
|
|
3580
|
+
|
|
3581
|
+
/**
|
|
3582
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3583
|
+
* @return {!Uint8Array}
|
|
3584
|
+
*/
|
|
3585
|
+
proto.supervisor.SetTerminalTitleResponse.prototype.serializeBinary = function() {
|
|
3586
|
+
var writer = new jspb.BinaryWriter();
|
|
3587
|
+
proto.supervisor.SetTerminalTitleResponse.serializeBinaryToWriter(this, writer);
|
|
3588
|
+
return writer.getResultBuffer();
|
|
3589
|
+
};
|
|
3590
|
+
|
|
3591
|
+
|
|
3592
|
+
/**
|
|
3593
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3594
|
+
* format), writing to the given BinaryWriter.
|
|
3595
|
+
* @param {!proto.supervisor.SetTerminalTitleResponse} message
|
|
3596
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3597
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3598
|
+
*/
|
|
3599
|
+
proto.supervisor.SetTerminalTitleResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3600
|
+
var f = undefined;
|
|
3601
|
+
};
|
|
3602
|
+
|
|
3603
|
+
|
|
3604
|
+
|
|
3605
|
+
/**
|
|
3606
|
+
* List of repeated fields within this message type.
|
|
3607
|
+
* @private {!Array<number>}
|
|
3608
|
+
* @const
|
|
3609
|
+
*/
|
|
3610
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.repeatedFields_ = [3];
|
|
3611
|
+
|
|
3612
|
+
|
|
3613
|
+
|
|
3614
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3615
|
+
/**
|
|
3616
|
+
* Creates an object representation of this proto.
|
|
3617
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3618
|
+
* Optional fields that are not set will be set to undefined.
|
|
3619
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3620
|
+
* For the list of reserved names please see:
|
|
3621
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3622
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3623
|
+
* JSPB instance for transitional soy proto support:
|
|
3624
|
+
* http://goto/soy-param-migration
|
|
3625
|
+
* @return {!Object}
|
|
3626
|
+
*/
|
|
3627
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3628
|
+
return proto.supervisor.UpdateTerminalAnnotationsRequest.toObject(opt_includeInstance, this);
|
|
3629
|
+
};
|
|
3630
|
+
|
|
3631
|
+
|
|
3632
|
+
/**
|
|
3633
|
+
* Static version of the {@see toObject} method.
|
|
3634
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3635
|
+
* the JSPB instance for transitional soy proto support:
|
|
3636
|
+
* http://goto/soy-param-migration
|
|
3637
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsRequest} msg The msg instance to transform.
|
|
3638
|
+
* @return {!Object}
|
|
3639
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3640
|
+
*/
|
|
3641
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.toObject = function(includeInstance, msg) {
|
|
3642
|
+
var f, obj = {
|
|
3643
|
+
alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3644
|
+
changedMap: (f = msg.getChangedMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
3645
|
+
deletedList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
3646
|
+
};
|
|
3647
|
+
|
|
3648
|
+
if (includeInstance) {
|
|
3649
|
+
obj.$jspbMessageInstance = msg;
|
|
3650
|
+
}
|
|
3651
|
+
return obj;
|
|
3652
|
+
};
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
|
|
3656
|
+
/**
|
|
3657
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3658
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3659
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest}
|
|
3660
|
+
*/
|
|
3661
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.deserializeBinary = function(bytes) {
|
|
3662
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3663
|
+
var msg = new proto.supervisor.UpdateTerminalAnnotationsRequest;
|
|
3664
|
+
return proto.supervisor.UpdateTerminalAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
3665
|
+
};
|
|
3666
|
+
|
|
3667
|
+
|
|
3668
|
+
/**
|
|
3669
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3670
|
+
* given reader into the given message object.
|
|
3671
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsRequest} msg The message object to deserialize into.
|
|
3672
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3673
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest}
|
|
3674
|
+
*/
|
|
3675
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3676
|
+
while (reader.nextField()) {
|
|
3677
|
+
if (reader.isEndGroup()) {
|
|
3678
|
+
break;
|
|
3679
|
+
}
|
|
3680
|
+
var field = reader.getFieldNumber();
|
|
3681
|
+
switch (field) {
|
|
3682
|
+
case 1:
|
|
3683
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3684
|
+
msg.setAlias(value);
|
|
3685
|
+
break;
|
|
3686
|
+
case 2:
|
|
3687
|
+
var value = msg.getChangedMap();
|
|
3688
|
+
reader.readMessage(value, function(message, reader) {
|
|
3689
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
3690
|
+
});
|
|
3691
|
+
break;
|
|
3692
|
+
case 3:
|
|
3693
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3694
|
+
msg.addDeleted(value);
|
|
3695
|
+
break;
|
|
3696
|
+
default:
|
|
3697
|
+
reader.skipField();
|
|
3698
|
+
break;
|
|
3699
|
+
}
|
|
3700
|
+
}
|
|
3701
|
+
return msg;
|
|
3702
|
+
};
|
|
3703
|
+
|
|
3704
|
+
|
|
3705
|
+
/**
|
|
3706
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3707
|
+
* @return {!Uint8Array}
|
|
3708
|
+
*/
|
|
3709
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.serializeBinary = function() {
|
|
3710
|
+
var writer = new jspb.BinaryWriter();
|
|
3711
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.serializeBinaryToWriter(this, writer);
|
|
3712
|
+
return writer.getResultBuffer();
|
|
3713
|
+
};
|
|
3714
|
+
|
|
3715
|
+
|
|
3716
|
+
/**
|
|
3717
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3718
|
+
* format), writing to the given BinaryWriter.
|
|
3719
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsRequest} message
|
|
3720
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3721
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3722
|
+
*/
|
|
3723
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3724
|
+
var f = undefined;
|
|
3725
|
+
f = message.getAlias();
|
|
3726
|
+
if (f.length > 0) {
|
|
3727
|
+
writer.writeString(
|
|
3728
|
+
1,
|
|
3729
|
+
f
|
|
3730
|
+
);
|
|
3731
|
+
}
|
|
3732
|
+
f = message.getChangedMap(true);
|
|
3733
|
+
if (f && f.getLength() > 0) {
|
|
3734
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
3735
|
+
}
|
|
3736
|
+
f = message.getDeletedList();
|
|
3737
|
+
if (f.length > 0) {
|
|
3738
|
+
writer.writeRepeatedString(
|
|
3739
|
+
3,
|
|
3740
|
+
f
|
|
3741
|
+
);
|
|
3742
|
+
}
|
|
3743
|
+
};
|
|
3744
|
+
|
|
3745
|
+
|
|
3746
|
+
/**
|
|
3747
|
+
* optional string alias = 1;
|
|
3748
|
+
* @return {string}
|
|
3749
|
+
*/
|
|
3750
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.getAlias = function() {
|
|
3751
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3752
|
+
};
|
|
3753
|
+
|
|
3754
|
+
|
|
3755
|
+
/**
|
|
3756
|
+
* @param {string} value
|
|
3757
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
|
|
3758
|
+
*/
|
|
3759
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.setAlias = function(value) {
|
|
3760
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3761
|
+
};
|
|
3762
|
+
|
|
3763
|
+
|
|
3764
|
+
/**
|
|
3765
|
+
* map<string, string> changed = 2;
|
|
3766
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
3767
|
+
* empty, instead returning `undefined`
|
|
3768
|
+
* @return {!jspb.Map<string,string>}
|
|
3769
|
+
*/
|
|
3770
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.getChangedMap = function(opt_noLazyCreate) {
|
|
3771
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
3772
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
3773
|
+
null));
|
|
3774
|
+
};
|
|
3775
|
+
|
|
3776
|
+
|
|
3777
|
+
/**
|
|
3778
|
+
* Clears values from the map. The map will be non-null.
|
|
3779
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
|
|
3780
|
+
*/
|
|
3781
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.clearChangedMap = function() {
|
|
3782
|
+
this.getChangedMap().clear();
|
|
3783
|
+
return this;};
|
|
3784
|
+
|
|
3785
|
+
|
|
3786
|
+
/**
|
|
3787
|
+
* repeated string deleted = 3;
|
|
3788
|
+
* @return {!Array<string>}
|
|
3789
|
+
*/
|
|
3790
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.getDeletedList = function() {
|
|
3791
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
3792
|
+
};
|
|
3793
|
+
|
|
3794
|
+
|
|
3795
|
+
/**
|
|
3796
|
+
* @param {!Array<string>} value
|
|
3797
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
|
|
3798
|
+
*/
|
|
3799
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.setDeletedList = function(value) {
|
|
3800
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
3801
|
+
};
|
|
3802
|
+
|
|
3803
|
+
|
|
3804
|
+
/**
|
|
3805
|
+
* @param {string} value
|
|
3806
|
+
* @param {number=} opt_index
|
|
3807
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
|
|
3808
|
+
*/
|
|
3809
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.addDeleted = function(value, opt_index) {
|
|
3810
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
3811
|
+
};
|
|
3812
|
+
|
|
3813
|
+
|
|
3814
|
+
/**
|
|
3815
|
+
* Clears the list making it empty but non-null.
|
|
3816
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
|
|
3817
|
+
*/
|
|
3818
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.clearDeletedList = function() {
|
|
3819
|
+
return this.setDeletedList([]);
|
|
3820
|
+
};
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3827
|
+
/**
|
|
3828
|
+
* Creates an object representation of this proto.
|
|
3829
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3830
|
+
* Optional fields that are not set will be set to undefined.
|
|
3831
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3832
|
+
* For the list of reserved names please see:
|
|
3833
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3834
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3835
|
+
* JSPB instance for transitional soy proto support:
|
|
3836
|
+
* http://goto/soy-param-migration
|
|
3837
|
+
* @return {!Object}
|
|
3838
|
+
*/
|
|
3839
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3840
|
+
return proto.supervisor.UpdateTerminalAnnotationsResponse.toObject(opt_includeInstance, this);
|
|
3841
|
+
};
|
|
3842
|
+
|
|
3843
|
+
|
|
3844
|
+
/**
|
|
3845
|
+
* Static version of the {@see toObject} method.
|
|
3846
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3847
|
+
* the JSPB instance for transitional soy proto support:
|
|
3848
|
+
* http://goto/soy-param-migration
|
|
3849
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsResponse} msg The msg instance to transform.
|
|
3850
|
+
* @return {!Object}
|
|
3851
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3852
|
+
*/
|
|
3853
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.toObject = function(includeInstance, msg) {
|
|
3854
|
+
var f, obj = {
|
|
3855
|
+
|
|
3856
|
+
};
|
|
3857
|
+
|
|
3858
|
+
if (includeInstance) {
|
|
3859
|
+
obj.$jspbMessageInstance = msg;
|
|
3860
|
+
}
|
|
3861
|
+
return obj;
|
|
3862
|
+
};
|
|
3863
|
+
}
|
|
3864
|
+
|
|
3865
|
+
|
|
3866
|
+
/**
|
|
3867
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3868
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3869
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsResponse}
|
|
3870
|
+
*/
|
|
3871
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.deserializeBinary = function(bytes) {
|
|
3872
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3873
|
+
var msg = new proto.supervisor.UpdateTerminalAnnotationsResponse;
|
|
3874
|
+
return proto.supervisor.UpdateTerminalAnnotationsResponse.deserializeBinaryFromReader(msg, reader);
|
|
3875
|
+
};
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
/**
|
|
3879
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3880
|
+
* given reader into the given message object.
|
|
3881
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsResponse} msg The message object to deserialize into.
|
|
3882
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3883
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsResponse}
|
|
3884
|
+
*/
|
|
3885
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3886
|
+
while (reader.nextField()) {
|
|
3887
|
+
if (reader.isEndGroup()) {
|
|
3888
|
+
break;
|
|
3889
|
+
}
|
|
3890
|
+
var field = reader.getFieldNumber();
|
|
3891
|
+
switch (field) {
|
|
3892
|
+
default:
|
|
3893
|
+
reader.skipField();
|
|
3894
|
+
break;
|
|
3895
|
+
}
|
|
3896
|
+
}
|
|
3897
|
+
return msg;
|
|
3898
|
+
};
|
|
3899
|
+
|
|
3900
|
+
|
|
3901
|
+
/**
|
|
3902
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3903
|
+
* @return {!Uint8Array}
|
|
3904
|
+
*/
|
|
3905
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.prototype.serializeBinary = function() {
|
|
3906
|
+
var writer = new jspb.BinaryWriter();
|
|
3907
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.serializeBinaryToWriter(this, writer);
|
|
3908
|
+
return writer.getResultBuffer();
|
|
3909
|
+
};
|
|
3910
|
+
|
|
3911
|
+
|
|
3912
|
+
/**
|
|
3913
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3914
|
+
* format), writing to the given BinaryWriter.
|
|
3915
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsResponse} message
|
|
3916
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3917
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3918
|
+
*/
|
|
3919
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3920
|
+
var f = undefined;
|
|
3921
|
+
};
|
|
3922
|
+
|
|
3923
|
+
|
|
3924
|
+
/**
|
|
3925
|
+
* @enum {number}
|
|
3926
|
+
*/
|
|
3927
|
+
proto.supervisor.TerminalTitleSource = {
|
|
3928
|
+
PROCESS: 0,
|
|
3929
|
+
API: 1
|
|
3930
|
+
};
|
|
3931
|
+
|
|
3048
3932
|
goog.object.extend(exports, proto.supervisor);
|