@gitpod/supervisor-api-grpcweb 0.1.5-test2 → 0.1.5-to-new-image.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/status_pb.js CHANGED
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = Function('return this')();
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));
17
23
 
18
24
  var port_pb = require('./port_pb.js');
19
25
  goog.object.extend(proto, port_pb);
@@ -25,7 +31,9 @@ goog.exportSymbol('proto.supervisor.ContentStatusResponse', null, global);
25
31
  goog.exportSymbol('proto.supervisor.ExposedPortInfo', null, global);
26
32
  goog.exportSymbol('proto.supervisor.IDEStatusRequest', null, global);
27
33
  goog.exportSymbol('proto.supervisor.IDEStatusResponse', null, global);
34
+ goog.exportSymbol('proto.supervisor.IDEStatusResponse.DesktopStatus', null, global);
28
35
  goog.exportSymbol('proto.supervisor.OnPortExposedAction', null, global);
36
+ goog.exportSymbol('proto.supervisor.PortAutoExposure', null, global);
29
37
  goog.exportSymbol('proto.supervisor.PortVisibility', null, global);
30
38
  goog.exportSymbol('proto.supervisor.PortsStatus', null, global);
31
39
  goog.exportSymbol('proto.supervisor.PortsStatusRequest', null, global);
@@ -122,6 +130,27 @@ if (goog.DEBUG && !COMPILED) {
122
130
  */
123
131
  proto.supervisor.IDEStatusResponse.displayName = 'proto.supervisor.IDEStatusResponse';
124
132
  }
133
+ /**
134
+ * Generated by JsPbCodeGenerator.
135
+ * @param {Array=} opt_data Optional initial data array, typically from a
136
+ * server response, or constructed directly in Javascript. The array is used
137
+ * in place and becomes part of the constructed object. It is not cloned.
138
+ * If no data is provided, the constructed object will be empty, but still
139
+ * valid.
140
+ * @extends {jspb.Message}
141
+ * @constructor
142
+ */
143
+ proto.supervisor.IDEStatusResponse.DesktopStatus = function(opt_data) {
144
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
145
+ };
146
+ goog.inherits(proto.supervisor.IDEStatusResponse.DesktopStatus, jspb.Message);
147
+ if (goog.DEBUG && !COMPILED) {
148
+ /**
149
+ * @public
150
+ * @override
151
+ */
152
+ proto.supervisor.IDEStatusResponse.DesktopStatus.displayName = 'proto.supervisor.IDEStatusResponse.DesktopStatus';
153
+ }
125
154
  /**
126
155
  * Generated by JsPbCodeGenerator.
127
156
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -788,7 +817,8 @@ proto.supervisor.IDEStatusResponse.prototype.toObject = function(opt_includeInst
788
817
  */
789
818
  proto.supervisor.IDEStatusResponse.toObject = function(includeInstance, msg) {
790
819
  var f, obj = {
791
- ok: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
820
+ ok: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
821
+ desktop: (f = msg.getDesktop()) && proto.supervisor.IDEStatusResponse.DesktopStatus.toObject(includeInstance, f)
792
822
  };
793
823
 
794
824
  if (includeInstance) {
@@ -829,6 +859,11 @@ proto.supervisor.IDEStatusResponse.deserializeBinaryFromReader = function(msg, r
829
859
  var value = /** @type {boolean} */ (reader.readBool());
830
860
  msg.setOk(value);
831
861
  break;
862
+ case 2:
863
+ var value = new proto.supervisor.IDEStatusResponse.DesktopStatus;
864
+ reader.readMessage(value,proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinaryFromReader);
865
+ msg.setDesktop(value);
866
+ break;
832
867
  default:
833
868
  reader.skipField();
834
869
  break;
@@ -865,6 +900,234 @@ proto.supervisor.IDEStatusResponse.serializeBinaryToWriter = function(message, w
865
900
  f
866
901
  );
867
902
  }
903
+ f = message.getDesktop();
904
+ if (f != null) {
905
+ writer.writeMessage(
906
+ 2,
907
+ f,
908
+ proto.supervisor.IDEStatusResponse.DesktopStatus.serializeBinaryToWriter
909
+ );
910
+ }
911
+ };
912
+
913
+
914
+
915
+
916
+
917
+ if (jspb.Message.GENERATE_TO_OBJECT) {
918
+ /**
919
+ * Creates an object representation of this proto.
920
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
921
+ * Optional fields that are not set will be set to undefined.
922
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
923
+ * For the list of reserved names please see:
924
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
925
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
926
+ * JSPB instance for transitional soy proto support:
927
+ * http://goto/soy-param-migration
928
+ * @return {!Object}
929
+ */
930
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.toObject = function(opt_includeInstance) {
931
+ return proto.supervisor.IDEStatusResponse.DesktopStatus.toObject(opt_includeInstance, this);
932
+ };
933
+
934
+
935
+ /**
936
+ * Static version of the {@see toObject} method.
937
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
938
+ * the JSPB instance for transitional soy proto support:
939
+ * http://goto/soy-param-migration
940
+ * @param {!proto.supervisor.IDEStatusResponse.DesktopStatus} msg The msg instance to transform.
941
+ * @return {!Object}
942
+ * @suppress {unusedLocalVariables} f is only used for nested messages
943
+ */
944
+ proto.supervisor.IDEStatusResponse.DesktopStatus.toObject = function(includeInstance, msg) {
945
+ var f, obj = {
946
+ link: jspb.Message.getFieldWithDefault(msg, 1, ""),
947
+ label: jspb.Message.getFieldWithDefault(msg, 2, ""),
948
+ clientid: jspb.Message.getFieldWithDefault(msg, 3, ""),
949
+ kind: jspb.Message.getFieldWithDefault(msg, 4, "")
950
+ };
951
+
952
+ if (includeInstance) {
953
+ obj.$jspbMessageInstance = msg;
954
+ }
955
+ return obj;
956
+ };
957
+ }
958
+
959
+
960
+ /**
961
+ * Deserializes binary data (in protobuf wire format).
962
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
963
+ * @return {!proto.supervisor.IDEStatusResponse.DesktopStatus}
964
+ */
965
+ proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinary = function(bytes) {
966
+ var reader = new jspb.BinaryReader(bytes);
967
+ var msg = new proto.supervisor.IDEStatusResponse.DesktopStatus;
968
+ return proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinaryFromReader(msg, reader);
969
+ };
970
+
971
+
972
+ /**
973
+ * Deserializes binary data (in protobuf wire format) from the
974
+ * given reader into the given message object.
975
+ * @param {!proto.supervisor.IDEStatusResponse.DesktopStatus} msg The message object to deserialize into.
976
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
977
+ * @return {!proto.supervisor.IDEStatusResponse.DesktopStatus}
978
+ */
979
+ proto.supervisor.IDEStatusResponse.DesktopStatus.deserializeBinaryFromReader = function(msg, reader) {
980
+ while (reader.nextField()) {
981
+ if (reader.isEndGroup()) {
982
+ break;
983
+ }
984
+ var field = reader.getFieldNumber();
985
+ switch (field) {
986
+ case 1:
987
+ var value = /** @type {string} */ (reader.readString());
988
+ msg.setLink(value);
989
+ break;
990
+ case 2:
991
+ var value = /** @type {string} */ (reader.readString());
992
+ msg.setLabel(value);
993
+ break;
994
+ case 3:
995
+ var value = /** @type {string} */ (reader.readString());
996
+ msg.setClientid(value);
997
+ break;
998
+ case 4:
999
+ var value = /** @type {string} */ (reader.readString());
1000
+ msg.setKind(value);
1001
+ break;
1002
+ default:
1003
+ reader.skipField();
1004
+ break;
1005
+ }
1006
+ }
1007
+ return msg;
1008
+ };
1009
+
1010
+
1011
+ /**
1012
+ * Serializes the message to binary data (in protobuf wire format).
1013
+ * @return {!Uint8Array}
1014
+ */
1015
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.serializeBinary = function() {
1016
+ var writer = new jspb.BinaryWriter();
1017
+ proto.supervisor.IDEStatusResponse.DesktopStatus.serializeBinaryToWriter(this, writer);
1018
+ return writer.getResultBuffer();
1019
+ };
1020
+
1021
+
1022
+ /**
1023
+ * Serializes the given message to binary data (in protobuf wire
1024
+ * format), writing to the given BinaryWriter.
1025
+ * @param {!proto.supervisor.IDEStatusResponse.DesktopStatus} message
1026
+ * @param {!jspb.BinaryWriter} writer
1027
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1028
+ */
1029
+ proto.supervisor.IDEStatusResponse.DesktopStatus.serializeBinaryToWriter = function(message, writer) {
1030
+ var f = undefined;
1031
+ f = message.getLink();
1032
+ if (f.length > 0) {
1033
+ writer.writeString(
1034
+ 1,
1035
+ f
1036
+ );
1037
+ }
1038
+ f = message.getLabel();
1039
+ if (f.length > 0) {
1040
+ writer.writeString(
1041
+ 2,
1042
+ f
1043
+ );
1044
+ }
1045
+ f = message.getClientid();
1046
+ if (f.length > 0) {
1047
+ writer.writeString(
1048
+ 3,
1049
+ f
1050
+ );
1051
+ }
1052
+ f = message.getKind();
1053
+ if (f.length > 0) {
1054
+ writer.writeString(
1055
+ 4,
1056
+ f
1057
+ );
1058
+ }
1059
+ };
1060
+
1061
+
1062
+ /**
1063
+ * optional string link = 1;
1064
+ * @return {string}
1065
+ */
1066
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.getLink = function() {
1067
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1068
+ };
1069
+
1070
+
1071
+ /**
1072
+ * @param {string} value
1073
+ * @return {!proto.supervisor.IDEStatusResponse.DesktopStatus} returns this
1074
+ */
1075
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.setLink = function(value) {
1076
+ return jspb.Message.setProto3StringField(this, 1, value);
1077
+ };
1078
+
1079
+
1080
+ /**
1081
+ * optional string label = 2;
1082
+ * @return {string}
1083
+ */
1084
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.getLabel = function() {
1085
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1086
+ };
1087
+
1088
+
1089
+ /**
1090
+ * @param {string} value
1091
+ * @return {!proto.supervisor.IDEStatusResponse.DesktopStatus} returns this
1092
+ */
1093
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.setLabel = function(value) {
1094
+ return jspb.Message.setProto3StringField(this, 2, value);
1095
+ };
1096
+
1097
+
1098
+ /**
1099
+ * optional string clientID = 3;
1100
+ * @return {string}
1101
+ */
1102
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.getClientid = function() {
1103
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1104
+ };
1105
+
1106
+
1107
+ /**
1108
+ * @param {string} value
1109
+ * @return {!proto.supervisor.IDEStatusResponse.DesktopStatus} returns this
1110
+ */
1111
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.setClientid = function(value) {
1112
+ return jspb.Message.setProto3StringField(this, 3, value);
1113
+ };
1114
+
1115
+
1116
+ /**
1117
+ * optional string kind = 4;
1118
+ * @return {string}
1119
+ */
1120
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.getKind = function() {
1121
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1122
+ };
1123
+
1124
+
1125
+ /**
1126
+ * @param {string} value
1127
+ * @return {!proto.supervisor.IDEStatusResponse.DesktopStatus} returns this
1128
+ */
1129
+ proto.supervisor.IDEStatusResponse.DesktopStatus.prototype.setKind = function(value) {
1130
+ return jspb.Message.setProto3StringField(this, 4, value);
868
1131
  };
869
1132
 
870
1133
 
@@ -886,6 +1149,43 @@ proto.supervisor.IDEStatusResponse.prototype.setOk = function(value) {
886
1149
  };
887
1150
 
888
1151
 
1152
+ /**
1153
+ * optional DesktopStatus desktop = 2;
1154
+ * @return {?proto.supervisor.IDEStatusResponse.DesktopStatus}
1155
+ */
1156
+ proto.supervisor.IDEStatusResponse.prototype.getDesktop = function() {
1157
+ return /** @type{?proto.supervisor.IDEStatusResponse.DesktopStatus} */ (
1158
+ jspb.Message.getWrapperField(this, proto.supervisor.IDEStatusResponse.DesktopStatus, 2));
1159
+ };
1160
+
1161
+
1162
+ /**
1163
+ * @param {?proto.supervisor.IDEStatusResponse.DesktopStatus|undefined} value
1164
+ * @return {!proto.supervisor.IDEStatusResponse} returns this
1165
+ */
1166
+ proto.supervisor.IDEStatusResponse.prototype.setDesktop = function(value) {
1167
+ return jspb.Message.setWrapperField(this, 2, value);
1168
+ };
1169
+
1170
+
1171
+ /**
1172
+ * Clears the message field making it undefined.
1173
+ * @return {!proto.supervisor.IDEStatusResponse} returns this
1174
+ */
1175
+ proto.supervisor.IDEStatusResponse.prototype.clearDesktop = function() {
1176
+ return this.setDesktop(undefined);
1177
+ };
1178
+
1179
+
1180
+ /**
1181
+ * Returns whether this field is set.
1182
+ * @return {boolean}
1183
+ */
1184
+ proto.supervisor.IDEStatusResponse.prototype.hasDesktop = function() {
1185
+ return jspb.Message.getField(this, 2) != null;
1186
+ };
1187
+
1188
+
889
1189
 
890
1190
 
891
1191
 
@@ -2113,10 +2413,12 @@ proto.supervisor.PortsStatus.prototype.toObject = function(opt_includeInstance)
2113
2413
  proto.supervisor.PortsStatus.toObject = function(includeInstance, msg) {
2114
2414
  var f, obj = {
2115
2415
  localPort: jspb.Message.getFieldWithDefault(msg, 1, 0),
2116
- globalPort: jspb.Message.getFieldWithDefault(msg, 2, 0),
2117
2416
  served: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
2118
2417
  exposed: (f = msg.getExposed()) && proto.supervisor.ExposedPortInfo.toObject(includeInstance, f),
2119
- tunneled: (f = msg.getTunneled()) && proto.supervisor.TunneledPortInfo.toObject(includeInstance, f)
2418
+ autoExposure: jspb.Message.getFieldWithDefault(msg, 7, 0),
2419
+ tunneled: (f = msg.getTunneled()) && proto.supervisor.TunneledPortInfo.toObject(includeInstance, f),
2420
+ description: jspb.Message.getFieldWithDefault(msg, 8, ""),
2421
+ name: jspb.Message.getFieldWithDefault(msg, 9, "")
2120
2422
  };
2121
2423
 
2122
2424
  if (includeInstance) {
@@ -2157,10 +2459,6 @@ proto.supervisor.PortsStatus.deserializeBinaryFromReader = function(msg, reader)
2157
2459
  var value = /** @type {number} */ (reader.readUint32());
2158
2460
  msg.setLocalPort(value);
2159
2461
  break;
2160
- case 2:
2161
- var value = /** @type {number} */ (reader.readUint32());
2162
- msg.setGlobalPort(value);
2163
- break;
2164
2462
  case 4:
2165
2463
  var value = /** @type {boolean} */ (reader.readBool());
2166
2464
  msg.setServed(value);
@@ -2170,11 +2468,23 @@ proto.supervisor.PortsStatus.deserializeBinaryFromReader = function(msg, reader)
2170
2468
  reader.readMessage(value,proto.supervisor.ExposedPortInfo.deserializeBinaryFromReader);
2171
2469
  msg.setExposed(value);
2172
2470
  break;
2471
+ case 7:
2472
+ var value = /** @type {!proto.supervisor.PortAutoExposure} */ (reader.readEnum());
2473
+ msg.setAutoExposure(value);
2474
+ break;
2173
2475
  case 6:
2174
2476
  var value = new proto.supervisor.TunneledPortInfo;
2175
2477
  reader.readMessage(value,proto.supervisor.TunneledPortInfo.deserializeBinaryFromReader);
2176
2478
  msg.setTunneled(value);
2177
2479
  break;
2480
+ case 8:
2481
+ var value = /** @type {string} */ (reader.readString());
2482
+ msg.setDescription(value);
2483
+ break;
2484
+ case 9:
2485
+ var value = /** @type {string} */ (reader.readString());
2486
+ msg.setName(value);
2487
+ break;
2178
2488
  default:
2179
2489
  reader.skipField();
2180
2490
  break;
@@ -2211,13 +2521,6 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
2211
2521
  f
2212
2522
  );
2213
2523
  }
2214
- f = message.getGlobalPort();
2215
- if (f !== 0) {
2216
- writer.writeUint32(
2217
- 2,
2218
- f
2219
- );
2220
- }
2221
2524
  f = message.getServed();
2222
2525
  if (f) {
2223
2526
  writer.writeBool(
@@ -2233,6 +2536,13 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
2233
2536
  proto.supervisor.ExposedPortInfo.serializeBinaryToWriter
2234
2537
  );
2235
2538
  }
2539
+ f = message.getAutoExposure();
2540
+ if (f !== 0.0) {
2541
+ writer.writeEnum(
2542
+ 7,
2543
+ f
2544
+ );
2545
+ }
2236
2546
  f = message.getTunneled();
2237
2547
  if (f != null) {
2238
2548
  writer.writeMessage(
@@ -2241,6 +2551,20 @@ proto.supervisor.PortsStatus.serializeBinaryToWriter = function(message, writer)
2241
2551
  proto.supervisor.TunneledPortInfo.serializeBinaryToWriter
2242
2552
  );
2243
2553
  }
2554
+ f = message.getDescription();
2555
+ if (f.length > 0) {
2556
+ writer.writeString(
2557
+ 8,
2558
+ f
2559
+ );
2560
+ }
2561
+ f = message.getName();
2562
+ if (f.length > 0) {
2563
+ writer.writeString(
2564
+ 9,
2565
+ f
2566
+ );
2567
+ }
2244
2568
  };
2245
2569
 
2246
2570
 
@@ -2262,24 +2586,6 @@ proto.supervisor.PortsStatus.prototype.setLocalPort = function(value) {
2262
2586
  };
2263
2587
 
2264
2588
 
2265
- /**
2266
- * optional uint32 global_port = 2;
2267
- * @return {number}
2268
- */
2269
- proto.supervisor.PortsStatus.prototype.getGlobalPort = function() {
2270
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2271
- };
2272
-
2273
-
2274
- /**
2275
- * @param {number} value
2276
- * @return {!proto.supervisor.PortsStatus} returns this
2277
- */
2278
- proto.supervisor.PortsStatus.prototype.setGlobalPort = function(value) {
2279
- return jspb.Message.setProto3IntField(this, 2, value);
2280
- };
2281
-
2282
-
2283
2589
  /**
2284
2590
  * optional bool served = 4;
2285
2591
  * @return {boolean}
@@ -2335,6 +2641,24 @@ proto.supervisor.PortsStatus.prototype.hasExposed = function() {
2335
2641
  };
2336
2642
 
2337
2643
 
2644
+ /**
2645
+ * optional PortAutoExposure auto_exposure = 7;
2646
+ * @return {!proto.supervisor.PortAutoExposure}
2647
+ */
2648
+ proto.supervisor.PortsStatus.prototype.getAutoExposure = function() {
2649
+ return /** @type {!proto.supervisor.PortAutoExposure} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
2650
+ };
2651
+
2652
+
2653
+ /**
2654
+ * @param {!proto.supervisor.PortAutoExposure} value
2655
+ * @return {!proto.supervisor.PortsStatus} returns this
2656
+ */
2657
+ proto.supervisor.PortsStatus.prototype.setAutoExposure = function(value) {
2658
+ return jspb.Message.setProto3EnumField(this, 7, value);
2659
+ };
2660
+
2661
+
2338
2662
  /**
2339
2663
  * optional TunneledPortInfo tunneled = 6;
2340
2664
  * @return {?proto.supervisor.TunneledPortInfo}
@@ -2372,6 +2696,42 @@ proto.supervisor.PortsStatus.prototype.hasTunneled = function() {
2372
2696
  };
2373
2697
 
2374
2698
 
2699
+ /**
2700
+ * optional string description = 8;
2701
+ * @return {string}
2702
+ */
2703
+ proto.supervisor.PortsStatus.prototype.getDescription = function() {
2704
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2705
+ };
2706
+
2707
+
2708
+ /**
2709
+ * @param {string} value
2710
+ * @return {!proto.supervisor.PortsStatus} returns this
2711
+ */
2712
+ proto.supervisor.PortsStatus.prototype.setDescription = function(value) {
2713
+ return jspb.Message.setProto3StringField(this, 8, value);
2714
+ };
2715
+
2716
+
2717
+ /**
2718
+ * optional string name = 9;
2719
+ * @return {string}
2720
+ */
2721
+ proto.supervisor.PortsStatus.prototype.getName = function() {
2722
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
2723
+ };
2724
+
2725
+
2726
+ /**
2727
+ * @param {string} value
2728
+ * @return {!proto.supervisor.PortsStatus} returns this
2729
+ */
2730
+ proto.supervisor.PortsStatus.prototype.setName = function(value) {
2731
+ return jspb.Message.setProto3StringField(this, 9, value);
2732
+ };
2733
+
2734
+
2375
2735
 
2376
2736
 
2377
2737
 
@@ -3121,6 +3481,15 @@ proto.supervisor.OnPortExposedAction = {
3121
3481
  NOTIFY_PRIVATE: 4
3122
3482
  };
3123
3483
 
3484
+ /**
3485
+ * @enum {number}
3486
+ */
3487
+ proto.supervisor.PortAutoExposure = {
3488
+ TRYING: 0,
3489
+ SUCCEEDED: 1,
3490
+ FAILED: 2
3491
+ };
3492
+
3124
3493
  /**
3125
3494
  * @enum {number}
3126
3495
  */
@@ -162,6 +162,9 @@ export class Terminal extends jspb.Message {
162
162
 
163
163
  getAnnotationsMap(): jspb.Map<string, string>;
164
164
  clearAnnotationsMap(): void;
165
+ getTitleSource(): TerminalTitleSourceMap[keyof TerminalTitleSourceMap];
166
+ setTitleSource(value: TerminalTitleSourceMap[keyof TerminalTitleSourceMap]): void;
167
+
165
168
  serializeBinary(): Uint8Array;
166
169
  toObject(includeInstance?: boolean): Terminal.AsObject;
167
170
  static toObject(includeInstance: boolean, msg: Terminal): Terminal.AsObject;
@@ -181,6 +184,7 @@ export namespace Terminal {
181
184
  initialWorkdir: string,
182
185
  currentWorkdir: string,
183
186
  annotationsMap: Array<[string, string]>,
187
+ titleSource: TerminalTitleSourceMap[keyof TerminalTitleSourceMap],
184
188
  }
185
189
  }
186
190
 
@@ -280,6 +284,9 @@ export class ListenTerminalResponse extends jspb.Message {
280
284
  getTitle(): string;
281
285
  setTitle(value: string): void;
282
286
 
287
+ getTitleSource(): TerminalTitleSourceMap[keyof TerminalTitleSourceMap];
288
+ setTitleSource(value: TerminalTitleSourceMap[keyof TerminalTitleSourceMap]): void;
289
+
283
290
  getOutputCase(): ListenTerminalResponse.OutputCase;
284
291
  serializeBinary(): Uint8Array;
285
292
  toObject(includeInstance?: boolean): ListenTerminalResponse.AsObject;
@@ -296,6 +303,7 @@ export namespace ListenTerminalResponse {
296
303
  data: Uint8Array | string,
297
304
  exitCode: number,
298
305
  title: string,
306
+ titleSource: TerminalTitleSourceMap[keyof TerminalTitleSourceMap],
299
307
  }
300
308
 
301
309
  export enum OutputCase {
@@ -413,3 +421,95 @@ export namespace SetTerminalSizeResponse {
413
421
  }
414
422
  }
415
423
 
424
+ export class SetTerminalTitleRequest extends jspb.Message {
425
+ getAlias(): string;
426
+ setAlias(value: string): void;
427
+
428
+ getTitle(): string;
429
+ setTitle(value: string): void;
430
+
431
+ serializeBinary(): Uint8Array;
432
+ toObject(includeInstance?: boolean): SetTerminalTitleRequest.AsObject;
433
+ static toObject(includeInstance: boolean, msg: SetTerminalTitleRequest): SetTerminalTitleRequest.AsObject;
434
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
435
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
436
+ static serializeBinaryToWriter(message: SetTerminalTitleRequest, writer: jspb.BinaryWriter): void;
437
+ static deserializeBinary(bytes: Uint8Array): SetTerminalTitleRequest;
438
+ static deserializeBinaryFromReader(message: SetTerminalTitleRequest, reader: jspb.BinaryReader): SetTerminalTitleRequest;
439
+ }
440
+
441
+ export namespace SetTerminalTitleRequest {
442
+ export type AsObject = {
443
+ alias: string,
444
+ title: string,
445
+ }
446
+ }
447
+
448
+ export class SetTerminalTitleResponse extends jspb.Message {
449
+ serializeBinary(): Uint8Array;
450
+ toObject(includeInstance?: boolean): SetTerminalTitleResponse.AsObject;
451
+ static toObject(includeInstance: boolean, msg: SetTerminalTitleResponse): SetTerminalTitleResponse.AsObject;
452
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
453
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
454
+ static serializeBinaryToWriter(message: SetTerminalTitleResponse, writer: jspb.BinaryWriter): void;
455
+ static deserializeBinary(bytes: Uint8Array): SetTerminalTitleResponse;
456
+ static deserializeBinaryFromReader(message: SetTerminalTitleResponse, reader: jspb.BinaryReader): SetTerminalTitleResponse;
457
+ }
458
+
459
+ export namespace SetTerminalTitleResponse {
460
+ export type AsObject = {
461
+ }
462
+ }
463
+
464
+ export class UpdateTerminalAnnotationsRequest extends jspb.Message {
465
+ getAlias(): string;
466
+ setAlias(value: string): void;
467
+
468
+ getChangedMap(): jspb.Map<string, string>;
469
+ clearChangedMap(): void;
470
+ clearDeletedList(): void;
471
+ getDeletedList(): Array<string>;
472
+ setDeletedList(value: Array<string>): void;
473
+ addDeleted(value: string, index?: number): string;
474
+
475
+ serializeBinary(): Uint8Array;
476
+ toObject(includeInstance?: boolean): UpdateTerminalAnnotationsRequest.AsObject;
477
+ static toObject(includeInstance: boolean, msg: UpdateTerminalAnnotationsRequest): UpdateTerminalAnnotationsRequest.AsObject;
478
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
479
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
480
+ static serializeBinaryToWriter(message: UpdateTerminalAnnotationsRequest, writer: jspb.BinaryWriter): void;
481
+ static deserializeBinary(bytes: Uint8Array): UpdateTerminalAnnotationsRequest;
482
+ static deserializeBinaryFromReader(message: UpdateTerminalAnnotationsRequest, reader: jspb.BinaryReader): UpdateTerminalAnnotationsRequest;
483
+ }
484
+
485
+ export namespace UpdateTerminalAnnotationsRequest {
486
+ export type AsObject = {
487
+ alias: string,
488
+ changedMap: Array<[string, string]>,
489
+ deletedList: Array<string>,
490
+ }
491
+ }
492
+
493
+ export class UpdateTerminalAnnotationsResponse extends jspb.Message {
494
+ serializeBinary(): Uint8Array;
495
+ toObject(includeInstance?: boolean): UpdateTerminalAnnotationsResponse.AsObject;
496
+ static toObject(includeInstance: boolean, msg: UpdateTerminalAnnotationsResponse): UpdateTerminalAnnotationsResponse.AsObject;
497
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
498
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
499
+ static serializeBinaryToWriter(message: UpdateTerminalAnnotationsResponse, writer: jspb.BinaryWriter): void;
500
+ static deserializeBinary(bytes: Uint8Array): UpdateTerminalAnnotationsResponse;
501
+ static deserializeBinaryFromReader(message: UpdateTerminalAnnotationsResponse, reader: jspb.BinaryReader): UpdateTerminalAnnotationsResponse;
502
+ }
503
+
504
+ export namespace UpdateTerminalAnnotationsResponse {
505
+ export type AsObject = {
506
+ }
507
+ }
508
+
509
+ export interface TerminalTitleSourceMap {
510
+ PROCESS: 0;
511
+ API: 1;
512
+ }
513
+
514
+ export const TerminalTitleSource: TerminalTitleSourceMap;
515
+