@gitpod/supervisor-api-grpc 0.1.5-se-workspace-id.35 → 0.1.5-se-init.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/control_grpc_pb.d.ts +7 -6
- package/lib/control_pb.d.ts +2 -6
- package/lib/control_pb.js +32 -42
- package/lib/info_grpc_pb.d.ts +7 -6
- package/lib/info_pb.d.ts +61 -29
- package/lib/info_pb.js +476 -43
- package/lib/notification_grpc_pb.d.ts +73 -0
- package/lib/notification_grpc_pb.js +121 -0
- package/lib/notification_pb.d.ts +148 -0
- package/lib/notification_pb.js +1076 -0
- package/lib/port_grpc_pb.d.ts +108 -0
- package/lib/port_grpc_pb.js +187 -0
- package/lib/port_pb.d.ts +232 -0
- package/lib/port_pb.js +1672 -0
- package/lib/status_grpc_pb.d.ts +23 -21
- package/lib/status_grpc_pb.js +1 -0
- package/lib/status_pb.d.ts +105 -51
- package/lib/status_pb.js +887 -213
- package/lib/terminal_grpc_pb.d.ts +86 -34
- package/lib/terminal_grpc_pb.js +127 -25
- package/lib/terminal_pb.d.ts +263 -134
- package/lib/terminal_pb.js +2257 -893
- package/lib/token_grpc_pb.d.ts +16 -15
- package/lib/token_pb.d.ts +31 -50
- package/lib/token_pb.js +262 -111
- package/package.json +8 -7
- package/pkg-yarn.lock +3 -3
package/lib/terminal_pb.js
CHANGED
|
@@ -1,27 +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 =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
23
|
+
|
|
24
|
+
goog.exportSymbol('proto.supervisor.GetTerminalRequest', null, global);
|
|
16
25
|
goog.exportSymbol('proto.supervisor.ListTerminalsRequest', null, global);
|
|
17
26
|
goog.exportSymbol('proto.supervisor.ListTerminalsResponse', null, global);
|
|
18
|
-
goog.exportSymbol('proto.supervisor.ListTerminalsResponse.Terminal', null, global);
|
|
19
27
|
goog.exportSymbol('proto.supervisor.ListenTerminalRequest', null, global);
|
|
20
28
|
goog.exportSymbol('proto.supervisor.ListenTerminalResponse', null, global);
|
|
29
|
+
goog.exportSymbol('proto.supervisor.ListenTerminalResponse.OutputCase', null, global);
|
|
21
30
|
goog.exportSymbol('proto.supervisor.OpenTerminalRequest', null, global);
|
|
22
31
|
goog.exportSymbol('proto.supervisor.OpenTerminalResponse', null, global);
|
|
23
32
|
goog.exportSymbol('proto.supervisor.SetTerminalSizeRequest', null, global);
|
|
33
|
+
goog.exportSymbol('proto.supervisor.SetTerminalSizeRequest.PriorityCase', null, global);
|
|
24
34
|
goog.exportSymbol('proto.supervisor.SetTerminalSizeResponse', null, global);
|
|
35
|
+
goog.exportSymbol('proto.supervisor.SetTerminalTitleRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.supervisor.SetTerminalTitleResponse', null, global);
|
|
37
|
+
goog.exportSymbol('proto.supervisor.ShutdownTerminalRequest', null, global);
|
|
38
|
+
goog.exportSymbol('proto.supervisor.ShutdownTerminalResponse', null, global);
|
|
39
|
+
goog.exportSymbol('proto.supervisor.Terminal', null, global);
|
|
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);
|
|
25
44
|
goog.exportSymbol('proto.supervisor.WriteTerminalRequest', null, global);
|
|
26
45
|
goog.exportSymbol('proto.supervisor.WriteTerminalResponse', null, global);
|
|
27
46
|
/**
|
|
@@ -34,9 +53,30 @@ goog.exportSymbol('proto.supervisor.WriteTerminalResponse', null, global);
|
|
|
34
53
|
* @extends {jspb.Message}
|
|
35
54
|
* @constructor
|
|
36
55
|
*/
|
|
37
|
-
proto.supervisor.
|
|
56
|
+
proto.supervisor.TerminalSize = function(opt_data) {
|
|
38
57
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
39
58
|
};
|
|
59
|
+
goog.inherits(proto.supervisor.TerminalSize, jspb.Message);
|
|
60
|
+
if (goog.DEBUG && !COMPILED) {
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* @override
|
|
64
|
+
*/
|
|
65
|
+
proto.supervisor.TerminalSize.displayName = 'proto.supervisor.TerminalSize';
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Generated by JsPbCodeGenerator.
|
|
69
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
70
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
71
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
72
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
73
|
+
* valid.
|
|
74
|
+
* @extends {jspb.Message}
|
|
75
|
+
* @constructor
|
|
76
|
+
*/
|
|
77
|
+
proto.supervisor.OpenTerminalRequest = function(opt_data) {
|
|
78
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.supervisor.OpenTerminalRequest.repeatedFields_, null);
|
|
79
|
+
};
|
|
40
80
|
goog.inherits(proto.supervisor.OpenTerminalRequest, jspb.Message);
|
|
41
81
|
if (goog.DEBUG && !COMPILED) {
|
|
42
82
|
/**
|
|
@@ -76,16 +116,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
76
116
|
* @extends {jspb.Message}
|
|
77
117
|
* @constructor
|
|
78
118
|
*/
|
|
79
|
-
proto.supervisor.
|
|
119
|
+
proto.supervisor.ShutdownTerminalRequest = function(opt_data) {
|
|
80
120
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
81
121
|
};
|
|
82
|
-
goog.inherits(proto.supervisor.
|
|
122
|
+
goog.inherits(proto.supervisor.ShutdownTerminalRequest, jspb.Message);
|
|
83
123
|
if (goog.DEBUG && !COMPILED) {
|
|
84
124
|
/**
|
|
85
125
|
* @public
|
|
86
126
|
* @override
|
|
87
127
|
*/
|
|
88
|
-
proto.supervisor.
|
|
128
|
+
proto.supervisor.ShutdownTerminalRequest.displayName = 'proto.supervisor.ShutdownTerminalRequest';
|
|
89
129
|
}
|
|
90
130
|
/**
|
|
91
131
|
* Generated by JsPbCodeGenerator.
|
|
@@ -97,16 +137,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
97
137
|
* @extends {jspb.Message}
|
|
98
138
|
* @constructor
|
|
99
139
|
*/
|
|
100
|
-
proto.supervisor.
|
|
140
|
+
proto.supervisor.ShutdownTerminalResponse = function(opt_data) {
|
|
101
141
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
102
142
|
};
|
|
103
|
-
goog.inherits(proto.supervisor.
|
|
143
|
+
goog.inherits(proto.supervisor.ShutdownTerminalResponse, jspb.Message);
|
|
104
144
|
if (goog.DEBUG && !COMPILED) {
|
|
105
145
|
/**
|
|
106
146
|
* @public
|
|
107
147
|
* @override
|
|
108
148
|
*/
|
|
109
|
-
proto.supervisor.
|
|
149
|
+
proto.supervisor.ShutdownTerminalResponse.displayName = 'proto.supervisor.ShutdownTerminalResponse';
|
|
110
150
|
}
|
|
111
151
|
/**
|
|
112
152
|
* Generated by JsPbCodeGenerator.
|
|
@@ -118,16 +158,37 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
118
158
|
* @extends {jspb.Message}
|
|
119
159
|
* @constructor
|
|
120
160
|
*/
|
|
121
|
-
proto.supervisor.
|
|
161
|
+
proto.supervisor.Terminal = function(opt_data) {
|
|
162
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.supervisor.Terminal.repeatedFields_, null);
|
|
163
|
+
};
|
|
164
|
+
goog.inherits(proto.supervisor.Terminal, jspb.Message);
|
|
165
|
+
if (goog.DEBUG && !COMPILED) {
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
* @override
|
|
169
|
+
*/
|
|
170
|
+
proto.supervisor.Terminal.displayName = 'proto.supervisor.Terminal';
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Generated by JsPbCodeGenerator.
|
|
174
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
175
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
176
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
177
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
178
|
+
* valid.
|
|
179
|
+
* @extends {jspb.Message}
|
|
180
|
+
* @constructor
|
|
181
|
+
*/
|
|
182
|
+
proto.supervisor.GetTerminalRequest = function(opt_data) {
|
|
122
183
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
123
184
|
};
|
|
124
|
-
goog.inherits(proto.supervisor.
|
|
185
|
+
goog.inherits(proto.supervisor.GetTerminalRequest, jspb.Message);
|
|
125
186
|
if (goog.DEBUG && !COMPILED) {
|
|
126
187
|
/**
|
|
127
188
|
* @public
|
|
128
189
|
* @override
|
|
129
190
|
*/
|
|
130
|
-
proto.supervisor.
|
|
191
|
+
proto.supervisor.GetTerminalRequest.displayName = 'proto.supervisor.GetTerminalRequest';
|
|
131
192
|
}
|
|
132
193
|
/**
|
|
133
194
|
* Generated by JsPbCodeGenerator.
|
|
@@ -139,16 +200,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
139
200
|
* @extends {jspb.Message}
|
|
140
201
|
* @constructor
|
|
141
202
|
*/
|
|
142
|
-
proto.supervisor.
|
|
143
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
203
|
+
proto.supervisor.ListTerminalsRequest = function(opt_data) {
|
|
204
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
144
205
|
};
|
|
145
|
-
goog.inherits(proto.supervisor.
|
|
206
|
+
goog.inherits(proto.supervisor.ListTerminalsRequest, jspb.Message);
|
|
146
207
|
if (goog.DEBUG && !COMPILED) {
|
|
147
208
|
/**
|
|
148
209
|
* @public
|
|
149
210
|
* @override
|
|
150
211
|
*/
|
|
151
|
-
proto.supervisor.
|
|
212
|
+
proto.supervisor.ListTerminalsRequest.displayName = 'proto.supervisor.ListTerminalsRequest';
|
|
152
213
|
}
|
|
153
214
|
/**
|
|
154
215
|
* Generated by JsPbCodeGenerator.
|
|
@@ -160,16 +221,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
160
221
|
* @extends {jspb.Message}
|
|
161
222
|
* @constructor
|
|
162
223
|
*/
|
|
163
|
-
proto.supervisor.ListTerminalsResponse
|
|
164
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.supervisor.ListTerminalsResponse.
|
|
224
|
+
proto.supervisor.ListTerminalsResponse = function(opt_data) {
|
|
225
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.supervisor.ListTerminalsResponse.repeatedFields_, null);
|
|
165
226
|
};
|
|
166
|
-
goog.inherits(proto.supervisor.ListTerminalsResponse
|
|
227
|
+
goog.inherits(proto.supervisor.ListTerminalsResponse, jspb.Message);
|
|
167
228
|
if (goog.DEBUG && !COMPILED) {
|
|
168
229
|
/**
|
|
169
230
|
* @public
|
|
170
231
|
* @override
|
|
171
232
|
*/
|
|
172
|
-
proto.supervisor.ListTerminalsResponse.
|
|
233
|
+
proto.supervisor.ListTerminalsResponse.displayName = 'proto.supervisor.ListTerminalsResponse';
|
|
173
234
|
}
|
|
174
235
|
/**
|
|
175
236
|
* Generated by JsPbCodeGenerator.
|
|
@@ -297,39 +358,126 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
297
358
|
*/
|
|
298
359
|
proto.supervisor.SetTerminalSizeResponse.displayName = 'proto.supervisor.SetTerminalSizeResponse';
|
|
299
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
|
+
}
|
|
300
445
|
|
|
301
446
|
|
|
302
447
|
|
|
303
448
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
304
449
|
/**
|
|
305
|
-
* Creates an object representation of this proto
|
|
450
|
+
* Creates an object representation of this proto.
|
|
306
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.
|
|
307
453
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
308
454
|
* For the list of reserved names please see:
|
|
309
|
-
*
|
|
310
|
-
* @param {boolean=} opt_includeInstance
|
|
311
|
-
* 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
|
|
312
459
|
* @return {!Object}
|
|
313
460
|
*/
|
|
314
|
-
proto.supervisor.
|
|
315
|
-
return proto.supervisor.
|
|
461
|
+
proto.supervisor.TerminalSize.prototype.toObject = function(opt_includeInstance) {
|
|
462
|
+
return proto.supervisor.TerminalSize.toObject(opt_includeInstance, this);
|
|
316
463
|
};
|
|
317
464
|
|
|
318
465
|
|
|
319
466
|
/**
|
|
320
467
|
* Static version of the {@see toObject} method.
|
|
321
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
322
|
-
* instance for transitional soy proto support:
|
|
468
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
469
|
+
* the JSPB instance for transitional soy proto support:
|
|
323
470
|
* http://goto/soy-param-migration
|
|
324
|
-
* @param {!proto.supervisor.
|
|
471
|
+
* @param {!proto.supervisor.TerminalSize} msg The msg instance to transform.
|
|
325
472
|
* @return {!Object}
|
|
326
473
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
327
474
|
*/
|
|
328
|
-
proto.supervisor.
|
|
475
|
+
proto.supervisor.TerminalSize.toObject = function(includeInstance, msg) {
|
|
329
476
|
var f, obj = {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
477
|
+
rows: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
478
|
+
cols: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
479
|
+
widthpx: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
480
|
+
heightpx: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
333
481
|
};
|
|
334
482
|
|
|
335
483
|
if (includeInstance) {
|
|
@@ -343,23 +491,23 @@ proto.supervisor.OpenTerminalRequest.toObject = function(includeInstance, msg) {
|
|
|
343
491
|
/**
|
|
344
492
|
* Deserializes binary data (in protobuf wire format).
|
|
345
493
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
346
|
-
* @return {!proto.supervisor.
|
|
494
|
+
* @return {!proto.supervisor.TerminalSize}
|
|
347
495
|
*/
|
|
348
|
-
proto.supervisor.
|
|
496
|
+
proto.supervisor.TerminalSize.deserializeBinary = function(bytes) {
|
|
349
497
|
var reader = new jspb.BinaryReader(bytes);
|
|
350
|
-
var msg = new proto.supervisor.
|
|
351
|
-
return proto.supervisor.
|
|
498
|
+
var msg = new proto.supervisor.TerminalSize;
|
|
499
|
+
return proto.supervisor.TerminalSize.deserializeBinaryFromReader(msg, reader);
|
|
352
500
|
};
|
|
353
501
|
|
|
354
502
|
|
|
355
503
|
/**
|
|
356
504
|
* Deserializes binary data (in protobuf wire format) from the
|
|
357
505
|
* given reader into the given message object.
|
|
358
|
-
* @param {!proto.supervisor.
|
|
506
|
+
* @param {!proto.supervisor.TerminalSize} msg The message object to deserialize into.
|
|
359
507
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
360
|
-
* @return {!proto.supervisor.
|
|
508
|
+
* @return {!proto.supervisor.TerminalSize}
|
|
361
509
|
*/
|
|
362
|
-
proto.supervisor.
|
|
510
|
+
proto.supervisor.TerminalSize.deserializeBinaryFromReader = function(msg, reader) {
|
|
363
511
|
while (reader.nextField()) {
|
|
364
512
|
if (reader.isEndGroup()) {
|
|
365
513
|
break;
|
|
@@ -367,20 +515,20 @@ proto.supervisor.OpenTerminalRequest.deserializeBinaryFromReader = function(msg,
|
|
|
367
515
|
var field = reader.getFieldNumber();
|
|
368
516
|
switch (field) {
|
|
369
517
|
case 1:
|
|
370
|
-
var value = /** @type {
|
|
371
|
-
msg.
|
|
518
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
519
|
+
msg.setRows(value);
|
|
372
520
|
break;
|
|
373
521
|
case 2:
|
|
374
|
-
var value =
|
|
375
|
-
|
|
376
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "");
|
|
377
|
-
});
|
|
522
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
523
|
+
msg.setCols(value);
|
|
378
524
|
break;
|
|
379
525
|
case 3:
|
|
380
|
-
var value =
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
526
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
527
|
+
msg.setWidthpx(value);
|
|
528
|
+
break;
|
|
529
|
+
case 4:
|
|
530
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
531
|
+
msg.setHeightpx(value);
|
|
384
532
|
break;
|
|
385
533
|
default:
|
|
386
534
|
reader.skipField();
|
|
@@ -395,9 +543,9 @@ proto.supervisor.OpenTerminalRequest.deserializeBinaryFromReader = function(msg,
|
|
|
395
543
|
* Serializes the message to binary data (in protobuf wire format).
|
|
396
544
|
* @return {!Uint8Array}
|
|
397
545
|
*/
|
|
398
|
-
proto.supervisor.
|
|
546
|
+
proto.supervisor.TerminalSize.prototype.serializeBinary = function() {
|
|
399
547
|
var writer = new jspb.BinaryWriter();
|
|
400
|
-
proto.supervisor.
|
|
548
|
+
proto.supervisor.TerminalSize.serializeBinaryToWriter(this, writer);
|
|
401
549
|
return writer.getResultBuffer();
|
|
402
550
|
};
|
|
403
551
|
|
|
@@ -405,119 +553,160 @@ proto.supervisor.OpenTerminalRequest.prototype.serializeBinary = function() {
|
|
|
405
553
|
/**
|
|
406
554
|
* Serializes the given message to binary data (in protobuf wire
|
|
407
555
|
* format), writing to the given BinaryWriter.
|
|
408
|
-
* @param {!proto.supervisor.
|
|
556
|
+
* @param {!proto.supervisor.TerminalSize} message
|
|
409
557
|
* @param {!jspb.BinaryWriter} writer
|
|
410
558
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
411
559
|
*/
|
|
412
|
-
proto.supervisor.
|
|
560
|
+
proto.supervisor.TerminalSize.serializeBinaryToWriter = function(message, writer) {
|
|
413
561
|
var f = undefined;
|
|
414
|
-
f = message.
|
|
415
|
-
if (f
|
|
416
|
-
writer.
|
|
562
|
+
f = message.getRows();
|
|
563
|
+
if (f !== 0) {
|
|
564
|
+
writer.writeUint32(
|
|
417
565
|
1,
|
|
418
566
|
f
|
|
419
567
|
);
|
|
420
568
|
}
|
|
421
|
-
f = message.
|
|
422
|
-
if (f
|
|
423
|
-
|
|
569
|
+
f = message.getCols();
|
|
570
|
+
if (f !== 0) {
|
|
571
|
+
writer.writeUint32(
|
|
572
|
+
2,
|
|
573
|
+
f
|
|
574
|
+
);
|
|
424
575
|
}
|
|
425
|
-
f = message.
|
|
426
|
-
if (f
|
|
427
|
-
|
|
576
|
+
f = message.getWidthpx();
|
|
577
|
+
if (f !== 0) {
|
|
578
|
+
writer.writeUint32(
|
|
579
|
+
3,
|
|
580
|
+
f
|
|
581
|
+
);
|
|
582
|
+
}
|
|
583
|
+
f = message.getHeightpx();
|
|
584
|
+
if (f !== 0) {
|
|
585
|
+
writer.writeUint32(
|
|
586
|
+
4,
|
|
587
|
+
f
|
|
588
|
+
);
|
|
428
589
|
}
|
|
429
590
|
};
|
|
430
591
|
|
|
431
592
|
|
|
432
593
|
/**
|
|
433
|
-
* optional
|
|
434
|
-
* @return {
|
|
594
|
+
* optional uint32 rows = 1;
|
|
595
|
+
* @return {number}
|
|
435
596
|
*/
|
|
436
|
-
proto.supervisor.
|
|
437
|
-
return /** @type {
|
|
597
|
+
proto.supervisor.TerminalSize.prototype.getRows = function() {
|
|
598
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
438
599
|
};
|
|
439
600
|
|
|
440
601
|
|
|
441
|
-
/**
|
|
442
|
-
|
|
443
|
-
|
|
602
|
+
/**
|
|
603
|
+
* @param {number} value
|
|
604
|
+
* @return {!proto.supervisor.TerminalSize} returns this
|
|
605
|
+
*/
|
|
606
|
+
proto.supervisor.TerminalSize.prototype.setRows = function(value) {
|
|
607
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
444
608
|
};
|
|
445
609
|
|
|
446
610
|
|
|
447
611
|
/**
|
|
448
|
-
*
|
|
449
|
-
* @
|
|
450
|
-
* empty, instead returning `undefined`
|
|
451
|
-
* @return {!jspb.Map<string,string>}
|
|
612
|
+
* optional uint32 cols = 2;
|
|
613
|
+
* @return {number}
|
|
452
614
|
*/
|
|
453
|
-
proto.supervisor.
|
|
454
|
-
return /** @type {
|
|
455
|
-
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
456
|
-
null));
|
|
615
|
+
proto.supervisor.TerminalSize.prototype.getCols = function() {
|
|
616
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
457
617
|
};
|
|
458
618
|
|
|
459
619
|
|
|
460
620
|
/**
|
|
461
|
-
*
|
|
621
|
+
* @param {number} value
|
|
622
|
+
* @return {!proto.supervisor.TerminalSize} returns this
|
|
462
623
|
*/
|
|
463
|
-
proto.supervisor.
|
|
464
|
-
|
|
624
|
+
proto.supervisor.TerminalSize.prototype.setCols = function(value) {
|
|
625
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
465
626
|
};
|
|
466
627
|
|
|
467
628
|
|
|
468
629
|
/**
|
|
469
|
-
*
|
|
470
|
-
* @
|
|
471
|
-
* empty, instead returning `undefined`
|
|
472
|
-
* @return {!jspb.Map<string,string>}
|
|
630
|
+
* optional uint32 widthPx = 3;
|
|
631
|
+
* @return {number}
|
|
473
632
|
*/
|
|
474
|
-
proto.supervisor.
|
|
475
|
-
return /** @type {
|
|
476
|
-
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
|
|
477
|
-
null));
|
|
633
|
+
proto.supervisor.TerminalSize.prototype.getWidthpx = function() {
|
|
634
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
478
635
|
};
|
|
479
636
|
|
|
480
637
|
|
|
481
638
|
/**
|
|
482
|
-
*
|
|
639
|
+
* @param {number} value
|
|
640
|
+
* @return {!proto.supervisor.TerminalSize} returns this
|
|
483
641
|
*/
|
|
484
|
-
proto.supervisor.
|
|
485
|
-
|
|
642
|
+
proto.supervisor.TerminalSize.prototype.setWidthpx = function(value) {
|
|
643
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* optional uint32 heightPx = 4;
|
|
649
|
+
* @return {number}
|
|
650
|
+
*/
|
|
651
|
+
proto.supervisor.TerminalSize.prototype.getHeightpx = function() {
|
|
652
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
653
|
+
};
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* @param {number} value
|
|
658
|
+
* @return {!proto.supervisor.TerminalSize} returns this
|
|
659
|
+
*/
|
|
660
|
+
proto.supervisor.TerminalSize.prototype.setHeightpx = function(value) {
|
|
661
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
486
662
|
};
|
|
487
663
|
|
|
488
664
|
|
|
489
665
|
|
|
666
|
+
/**
|
|
667
|
+
* List of repeated fields within this message type.
|
|
668
|
+
* @private {!Array<number>}
|
|
669
|
+
* @const
|
|
670
|
+
*/
|
|
671
|
+
proto.supervisor.OpenTerminalRequest.repeatedFields_ = [5];
|
|
672
|
+
|
|
490
673
|
|
|
491
674
|
|
|
492
675
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
493
676
|
/**
|
|
494
|
-
* Creates an object representation of this proto
|
|
677
|
+
* Creates an object representation of this proto.
|
|
495
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.
|
|
496
680
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
497
681
|
* For the list of reserved names please see:
|
|
498
|
-
*
|
|
499
|
-
* @param {boolean=} opt_includeInstance
|
|
500
|
-
* 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
|
|
501
686
|
* @return {!Object}
|
|
502
687
|
*/
|
|
503
|
-
proto.supervisor.
|
|
504
|
-
return proto.supervisor.
|
|
688
|
+
proto.supervisor.OpenTerminalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
689
|
+
return proto.supervisor.OpenTerminalRequest.toObject(opt_includeInstance, this);
|
|
505
690
|
};
|
|
506
691
|
|
|
507
692
|
|
|
508
693
|
/**
|
|
509
694
|
* Static version of the {@see toObject} method.
|
|
510
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
511
|
-
* instance for transitional soy proto support:
|
|
695
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
696
|
+
* the JSPB instance for transitional soy proto support:
|
|
512
697
|
* http://goto/soy-param-migration
|
|
513
|
-
* @param {!proto.supervisor.
|
|
698
|
+
* @param {!proto.supervisor.OpenTerminalRequest} msg The msg instance to transform.
|
|
514
699
|
* @return {!Object}
|
|
515
700
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
516
701
|
*/
|
|
517
|
-
proto.supervisor.
|
|
702
|
+
proto.supervisor.OpenTerminalRequest.toObject = function(includeInstance, msg) {
|
|
518
703
|
var f, obj = {
|
|
519
|
-
|
|
520
|
-
|
|
704
|
+
workdir: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
705
|
+
envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
706
|
+
annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
707
|
+
shell: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
708
|
+
shellArgsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
709
|
+
size: (f = msg.getSize()) && proto.supervisor.TerminalSize.toObject(includeInstance, f)
|
|
521
710
|
};
|
|
522
711
|
|
|
523
712
|
if (includeInstance) {
|
|
@@ -531,23 +720,23 @@ proto.supervisor.OpenTerminalResponse.toObject = function(includeInstance, msg)
|
|
|
531
720
|
/**
|
|
532
721
|
* Deserializes binary data (in protobuf wire format).
|
|
533
722
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
534
|
-
* @return {!proto.supervisor.
|
|
723
|
+
* @return {!proto.supervisor.OpenTerminalRequest}
|
|
535
724
|
*/
|
|
536
|
-
proto.supervisor.
|
|
725
|
+
proto.supervisor.OpenTerminalRequest.deserializeBinary = function(bytes) {
|
|
537
726
|
var reader = new jspb.BinaryReader(bytes);
|
|
538
|
-
var msg = new proto.supervisor.
|
|
539
|
-
return proto.supervisor.
|
|
727
|
+
var msg = new proto.supervisor.OpenTerminalRequest;
|
|
728
|
+
return proto.supervisor.OpenTerminalRequest.deserializeBinaryFromReader(msg, reader);
|
|
540
729
|
};
|
|
541
730
|
|
|
542
731
|
|
|
543
732
|
/**
|
|
544
733
|
* Deserializes binary data (in protobuf wire format) from the
|
|
545
734
|
* given reader into the given message object.
|
|
546
|
-
* @param {!proto.supervisor.
|
|
735
|
+
* @param {!proto.supervisor.OpenTerminalRequest} msg The message object to deserialize into.
|
|
547
736
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
548
|
-
* @return {!proto.supervisor.
|
|
737
|
+
* @return {!proto.supervisor.OpenTerminalRequest}
|
|
549
738
|
*/
|
|
550
|
-
proto.supervisor.
|
|
739
|
+
proto.supervisor.OpenTerminalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
551
740
|
while (reader.nextField()) {
|
|
552
741
|
if (reader.isEndGroup()) {
|
|
553
742
|
break;
|
|
@@ -556,11 +745,32 @@ proto.supervisor.OpenTerminalResponse.deserializeBinaryFromReader = function(msg
|
|
|
556
745
|
switch (field) {
|
|
557
746
|
case 1:
|
|
558
747
|
var value = /** @type {string} */ (reader.readString());
|
|
559
|
-
msg.
|
|
748
|
+
msg.setWorkdir(value);
|
|
560
749
|
break;
|
|
561
750
|
case 2:
|
|
751
|
+
var value = msg.getEnvMap();
|
|
752
|
+
reader.readMessage(value, function(message, reader) {
|
|
753
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
754
|
+
});
|
|
755
|
+
break;
|
|
756
|
+
case 3:
|
|
757
|
+
var value = msg.getAnnotationsMap();
|
|
758
|
+
reader.readMessage(value, function(message, reader) {
|
|
759
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
760
|
+
});
|
|
761
|
+
break;
|
|
762
|
+
case 4:
|
|
562
763
|
var value = /** @type {string} */ (reader.readString());
|
|
563
|
-
msg.
|
|
764
|
+
msg.setShell(value);
|
|
765
|
+
break;
|
|
766
|
+
case 5:
|
|
767
|
+
var value = /** @type {string} */ (reader.readString());
|
|
768
|
+
msg.addShellArgs(value);
|
|
769
|
+
break;
|
|
770
|
+
case 6:
|
|
771
|
+
var value = new proto.supervisor.TerminalSize;
|
|
772
|
+
reader.readMessage(value,proto.supervisor.TerminalSize.deserializeBinaryFromReader);
|
|
773
|
+
msg.setSize(value);
|
|
564
774
|
break;
|
|
565
775
|
default:
|
|
566
776
|
reader.skipField();
|
|
@@ -575,9 +785,9 @@ proto.supervisor.OpenTerminalResponse.deserializeBinaryFromReader = function(msg
|
|
|
575
785
|
* Serializes the message to binary data (in protobuf wire format).
|
|
576
786
|
* @return {!Uint8Array}
|
|
577
787
|
*/
|
|
578
|
-
proto.supervisor.
|
|
788
|
+
proto.supervisor.OpenTerminalRequest.prototype.serializeBinary = function() {
|
|
579
789
|
var writer = new jspb.BinaryWriter();
|
|
580
|
-
proto.supervisor.
|
|
790
|
+
proto.supervisor.OpenTerminalRequest.serializeBinaryToWriter(this, writer);
|
|
581
791
|
return writer.getResultBuffer();
|
|
582
792
|
};
|
|
583
793
|
|
|
@@ -585,56 +795,203 @@ proto.supervisor.OpenTerminalResponse.prototype.serializeBinary = function() {
|
|
|
585
795
|
/**
|
|
586
796
|
* Serializes the given message to binary data (in protobuf wire
|
|
587
797
|
* format), writing to the given BinaryWriter.
|
|
588
|
-
* @param {!proto.supervisor.
|
|
798
|
+
* @param {!proto.supervisor.OpenTerminalRequest} message
|
|
589
799
|
* @param {!jspb.BinaryWriter} writer
|
|
590
800
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
591
801
|
*/
|
|
592
|
-
proto.supervisor.
|
|
802
|
+
proto.supervisor.OpenTerminalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
593
803
|
var f = undefined;
|
|
594
|
-
f = message.
|
|
804
|
+
f = message.getWorkdir();
|
|
595
805
|
if (f.length > 0) {
|
|
596
806
|
writer.writeString(
|
|
597
807
|
1,
|
|
598
808
|
f
|
|
599
809
|
);
|
|
600
810
|
}
|
|
601
|
-
f = message.
|
|
811
|
+
f = message.getEnvMap(true);
|
|
812
|
+
if (f && f.getLength() > 0) {
|
|
813
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
814
|
+
}
|
|
815
|
+
f = message.getAnnotationsMap(true);
|
|
816
|
+
if (f && f.getLength() > 0) {
|
|
817
|
+
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
818
|
+
}
|
|
819
|
+
f = message.getShell();
|
|
602
820
|
if (f.length > 0) {
|
|
603
821
|
writer.writeString(
|
|
604
|
-
|
|
822
|
+
4,
|
|
823
|
+
f
|
|
824
|
+
);
|
|
825
|
+
}
|
|
826
|
+
f = message.getShellArgsList();
|
|
827
|
+
if (f.length > 0) {
|
|
828
|
+
writer.writeRepeatedString(
|
|
829
|
+
5,
|
|
605
830
|
f
|
|
606
831
|
);
|
|
607
832
|
}
|
|
833
|
+
f = message.getSize();
|
|
834
|
+
if (f != null) {
|
|
835
|
+
writer.writeMessage(
|
|
836
|
+
6,
|
|
837
|
+
f,
|
|
838
|
+
proto.supervisor.TerminalSize.serializeBinaryToWriter
|
|
839
|
+
);
|
|
840
|
+
}
|
|
608
841
|
};
|
|
609
842
|
|
|
610
843
|
|
|
611
844
|
/**
|
|
612
|
-
* optional string
|
|
845
|
+
* optional string workdir = 1;
|
|
613
846
|
* @return {string}
|
|
614
847
|
*/
|
|
615
|
-
proto.supervisor.
|
|
848
|
+
proto.supervisor.OpenTerminalRequest.prototype.getWorkdir = function() {
|
|
616
849
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
617
850
|
};
|
|
618
851
|
|
|
619
852
|
|
|
620
|
-
/**
|
|
621
|
-
|
|
622
|
-
|
|
853
|
+
/**
|
|
854
|
+
* @param {string} value
|
|
855
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
856
|
+
*/
|
|
857
|
+
proto.supervisor.OpenTerminalRequest.prototype.setWorkdir = function(value) {
|
|
858
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
623
859
|
};
|
|
624
860
|
|
|
625
861
|
|
|
626
862
|
/**
|
|
627
|
-
*
|
|
863
|
+
* map<string, string> env = 2;
|
|
864
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
865
|
+
* empty, instead returning `undefined`
|
|
866
|
+
* @return {!jspb.Map<string,string>}
|
|
867
|
+
*/
|
|
868
|
+
proto.supervisor.OpenTerminalRequest.prototype.getEnvMap = function(opt_noLazyCreate) {
|
|
869
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
870
|
+
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
871
|
+
null));
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* Clears values from the map. The map will be non-null.
|
|
877
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
878
|
+
*/
|
|
879
|
+
proto.supervisor.OpenTerminalRequest.prototype.clearEnvMap = function() {
|
|
880
|
+
this.getEnvMap().clear();
|
|
881
|
+
return this;};
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* map<string, string> annotations = 3;
|
|
886
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
887
|
+
* empty, instead returning `undefined`
|
|
888
|
+
* @return {!jspb.Map<string,string>}
|
|
889
|
+
*/
|
|
890
|
+
proto.supervisor.OpenTerminalRequest.prototype.getAnnotationsMap = function(opt_noLazyCreate) {
|
|
891
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
892
|
+
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
|
|
893
|
+
null));
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Clears values from the map. The map will be non-null.
|
|
899
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
900
|
+
*/
|
|
901
|
+
proto.supervisor.OpenTerminalRequest.prototype.clearAnnotationsMap = function() {
|
|
902
|
+
this.getAnnotationsMap().clear();
|
|
903
|
+
return this;};
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* optional string shell = 4;
|
|
628
908
|
* @return {string}
|
|
629
909
|
*/
|
|
630
|
-
proto.supervisor.
|
|
631
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
910
|
+
proto.supervisor.OpenTerminalRequest.prototype.getShell = function() {
|
|
911
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
632
912
|
};
|
|
633
913
|
|
|
634
914
|
|
|
635
|
-
/**
|
|
636
|
-
|
|
637
|
-
|
|
915
|
+
/**
|
|
916
|
+
* @param {string} value
|
|
917
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
918
|
+
*/
|
|
919
|
+
proto.supervisor.OpenTerminalRequest.prototype.setShell = function(value) {
|
|
920
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* repeated string shell_args = 5;
|
|
926
|
+
* @return {!Array<string>}
|
|
927
|
+
*/
|
|
928
|
+
proto.supervisor.OpenTerminalRequest.prototype.getShellArgsList = function() {
|
|
929
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* @param {!Array<string>} value
|
|
935
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
936
|
+
*/
|
|
937
|
+
proto.supervisor.OpenTerminalRequest.prototype.setShellArgsList = function(value) {
|
|
938
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
939
|
+
};
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* @param {string} value
|
|
944
|
+
* @param {number=} opt_index
|
|
945
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
946
|
+
*/
|
|
947
|
+
proto.supervisor.OpenTerminalRequest.prototype.addShellArgs = function(value, opt_index) {
|
|
948
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Clears the list making it empty but non-null.
|
|
954
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
955
|
+
*/
|
|
956
|
+
proto.supervisor.OpenTerminalRequest.prototype.clearShellArgsList = function() {
|
|
957
|
+
return this.setShellArgsList([]);
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* optional TerminalSize size = 6;
|
|
963
|
+
* @return {?proto.supervisor.TerminalSize}
|
|
964
|
+
*/
|
|
965
|
+
proto.supervisor.OpenTerminalRequest.prototype.getSize = function() {
|
|
966
|
+
return /** @type{?proto.supervisor.TerminalSize} */ (
|
|
967
|
+
jspb.Message.getWrapperField(this, proto.supervisor.TerminalSize, 6));
|
|
968
|
+
};
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* @param {?proto.supervisor.TerminalSize|undefined} value
|
|
973
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
974
|
+
*/
|
|
975
|
+
proto.supervisor.OpenTerminalRequest.prototype.setSize = function(value) {
|
|
976
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Clears the message field making it undefined.
|
|
982
|
+
* @return {!proto.supervisor.OpenTerminalRequest} returns this
|
|
983
|
+
*/
|
|
984
|
+
proto.supervisor.OpenTerminalRequest.prototype.clearSize = function() {
|
|
985
|
+
return this.setSize(undefined);
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Returns whether this field is set.
|
|
991
|
+
* @return {boolean}
|
|
992
|
+
*/
|
|
993
|
+
proto.supervisor.OpenTerminalRequest.prototype.hasSize = function() {
|
|
994
|
+
return jspb.Message.getField(this, 6) != null;
|
|
638
995
|
};
|
|
639
996
|
|
|
640
997
|
|
|
@@ -643,32 +1000,35 @@ proto.supervisor.OpenTerminalResponse.prototype.setStarterToken = function(value
|
|
|
643
1000
|
|
|
644
1001
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
645
1002
|
/**
|
|
646
|
-
* Creates an object representation of this proto
|
|
1003
|
+
* Creates an object representation of this proto.
|
|
647
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.
|
|
648
1006
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
649
1007
|
* For the list of reserved names please see:
|
|
650
|
-
*
|
|
651
|
-
* @param {boolean=} opt_includeInstance
|
|
652
|
-
* 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
|
|
653
1012
|
* @return {!Object}
|
|
654
1013
|
*/
|
|
655
|
-
proto.supervisor.
|
|
656
|
-
return proto.supervisor.
|
|
1014
|
+
proto.supervisor.OpenTerminalResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1015
|
+
return proto.supervisor.OpenTerminalResponse.toObject(opt_includeInstance, this);
|
|
657
1016
|
};
|
|
658
1017
|
|
|
659
1018
|
|
|
660
1019
|
/**
|
|
661
1020
|
* Static version of the {@see toObject} method.
|
|
662
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
663
|
-
* instance for transitional soy proto support:
|
|
1021
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1022
|
+
* the JSPB instance for transitional soy proto support:
|
|
664
1023
|
* http://goto/soy-param-migration
|
|
665
|
-
* @param {!proto.supervisor.
|
|
1024
|
+
* @param {!proto.supervisor.OpenTerminalResponse} msg The msg instance to transform.
|
|
666
1025
|
* @return {!Object}
|
|
667
1026
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
668
1027
|
*/
|
|
669
|
-
proto.supervisor.
|
|
1028
|
+
proto.supervisor.OpenTerminalResponse.toObject = function(includeInstance, msg) {
|
|
670
1029
|
var f, obj = {
|
|
671
|
-
|
|
1030
|
+
terminal: (f = msg.getTerminal()) && proto.supervisor.Terminal.toObject(includeInstance, f),
|
|
1031
|
+
starterToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
672
1032
|
};
|
|
673
1033
|
|
|
674
1034
|
if (includeInstance) {
|
|
@@ -682,23 +1042,23 @@ proto.supervisor.CloseTerminalRequest.toObject = function(includeInstance, msg)
|
|
|
682
1042
|
/**
|
|
683
1043
|
* Deserializes binary data (in protobuf wire format).
|
|
684
1044
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
685
|
-
* @return {!proto.supervisor.
|
|
1045
|
+
* @return {!proto.supervisor.OpenTerminalResponse}
|
|
686
1046
|
*/
|
|
687
|
-
proto.supervisor.
|
|
1047
|
+
proto.supervisor.OpenTerminalResponse.deserializeBinary = function(bytes) {
|
|
688
1048
|
var reader = new jspb.BinaryReader(bytes);
|
|
689
|
-
var msg = new proto.supervisor.
|
|
690
|
-
return proto.supervisor.
|
|
1049
|
+
var msg = new proto.supervisor.OpenTerminalResponse;
|
|
1050
|
+
return proto.supervisor.OpenTerminalResponse.deserializeBinaryFromReader(msg, reader);
|
|
691
1051
|
};
|
|
692
1052
|
|
|
693
1053
|
|
|
694
1054
|
/**
|
|
695
1055
|
* Deserializes binary data (in protobuf wire format) from the
|
|
696
1056
|
* given reader into the given message object.
|
|
697
|
-
* @param {!proto.supervisor.
|
|
1057
|
+
* @param {!proto.supervisor.OpenTerminalResponse} msg The message object to deserialize into.
|
|
698
1058
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
699
|
-
* @return {!proto.supervisor.
|
|
1059
|
+
* @return {!proto.supervisor.OpenTerminalResponse}
|
|
700
1060
|
*/
|
|
701
|
-
proto.supervisor.
|
|
1061
|
+
proto.supervisor.OpenTerminalResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
702
1062
|
while (reader.nextField()) {
|
|
703
1063
|
if (reader.isEndGroup()) {
|
|
704
1064
|
break;
|
|
@@ -706,8 +1066,13 @@ proto.supervisor.CloseTerminalRequest.deserializeBinaryFromReader = function(msg
|
|
|
706
1066
|
var field = reader.getFieldNumber();
|
|
707
1067
|
switch (field) {
|
|
708
1068
|
case 1:
|
|
1069
|
+
var value = new proto.supervisor.Terminal;
|
|
1070
|
+
reader.readMessage(value,proto.supervisor.Terminal.deserializeBinaryFromReader);
|
|
1071
|
+
msg.setTerminal(value);
|
|
1072
|
+
break;
|
|
1073
|
+
case 2:
|
|
709
1074
|
var value = /** @type {string} */ (reader.readString());
|
|
710
|
-
msg.
|
|
1075
|
+
msg.setStarterToken(value);
|
|
711
1076
|
break;
|
|
712
1077
|
default:
|
|
713
1078
|
reader.skipField();
|
|
@@ -722,9 +1087,9 @@ proto.supervisor.CloseTerminalRequest.deserializeBinaryFromReader = function(msg
|
|
|
722
1087
|
* Serializes the message to binary data (in protobuf wire format).
|
|
723
1088
|
* @return {!Uint8Array}
|
|
724
1089
|
*/
|
|
725
|
-
proto.supervisor.
|
|
1090
|
+
proto.supervisor.OpenTerminalResponse.prototype.serializeBinary = function() {
|
|
726
1091
|
var writer = new jspb.BinaryWriter();
|
|
727
|
-
proto.supervisor.
|
|
1092
|
+
proto.supervisor.OpenTerminalResponse.serializeBinaryToWriter(this, writer);
|
|
728
1093
|
return writer.getResultBuffer();
|
|
729
1094
|
};
|
|
730
1095
|
|
|
@@ -732,16 +1097,24 @@ proto.supervisor.CloseTerminalRequest.prototype.serializeBinary = function() {
|
|
|
732
1097
|
/**
|
|
733
1098
|
* Serializes the given message to binary data (in protobuf wire
|
|
734
1099
|
* format), writing to the given BinaryWriter.
|
|
735
|
-
* @param {!proto.supervisor.
|
|
1100
|
+
* @param {!proto.supervisor.OpenTerminalResponse} message
|
|
736
1101
|
* @param {!jspb.BinaryWriter} writer
|
|
737
1102
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
738
1103
|
*/
|
|
739
|
-
proto.supervisor.
|
|
1104
|
+
proto.supervisor.OpenTerminalResponse.serializeBinaryToWriter = function(message, writer) {
|
|
740
1105
|
var f = undefined;
|
|
741
|
-
f = message.
|
|
1106
|
+
f = message.getTerminal();
|
|
1107
|
+
if (f != null) {
|
|
1108
|
+
writer.writeMessage(
|
|
1109
|
+
1,
|
|
1110
|
+
f,
|
|
1111
|
+
proto.supervisor.Terminal.serializeBinaryToWriter
|
|
1112
|
+
);
|
|
1113
|
+
}
|
|
1114
|
+
f = message.getStarterToken();
|
|
742
1115
|
if (f.length > 0) {
|
|
743
1116
|
writer.writeString(
|
|
744
|
-
|
|
1117
|
+
2,
|
|
745
1118
|
f
|
|
746
1119
|
);
|
|
747
1120
|
}
|
|
@@ -749,17 +1122,57 @@ proto.supervisor.CloseTerminalRequest.serializeBinaryToWriter = function(message
|
|
|
749
1122
|
|
|
750
1123
|
|
|
751
1124
|
/**
|
|
752
|
-
* optional
|
|
1125
|
+
* optional Terminal terminal = 1;
|
|
1126
|
+
* @return {?proto.supervisor.Terminal}
|
|
1127
|
+
*/
|
|
1128
|
+
proto.supervisor.OpenTerminalResponse.prototype.getTerminal = function() {
|
|
1129
|
+
return /** @type{?proto.supervisor.Terminal} */ (
|
|
1130
|
+
jspb.Message.getWrapperField(this, proto.supervisor.Terminal, 1));
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* @param {?proto.supervisor.Terminal|undefined} value
|
|
1136
|
+
* @return {!proto.supervisor.OpenTerminalResponse} returns this
|
|
1137
|
+
*/
|
|
1138
|
+
proto.supervisor.OpenTerminalResponse.prototype.setTerminal = function(value) {
|
|
1139
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Clears the message field making it undefined.
|
|
1145
|
+
* @return {!proto.supervisor.OpenTerminalResponse} returns this
|
|
1146
|
+
*/
|
|
1147
|
+
proto.supervisor.OpenTerminalResponse.prototype.clearTerminal = function() {
|
|
1148
|
+
return this.setTerminal(undefined);
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* Returns whether this field is set.
|
|
1154
|
+
* @return {boolean}
|
|
1155
|
+
*/
|
|
1156
|
+
proto.supervisor.OpenTerminalResponse.prototype.hasTerminal = function() {
|
|
1157
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* optional string starter_token = 2;
|
|
753
1163
|
* @return {string}
|
|
754
1164
|
*/
|
|
755
|
-
proto.supervisor.
|
|
756
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1165
|
+
proto.supervisor.OpenTerminalResponse.prototype.getStarterToken = function() {
|
|
1166
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
757
1167
|
};
|
|
758
1168
|
|
|
759
1169
|
|
|
760
|
-
/**
|
|
761
|
-
|
|
762
|
-
|
|
1170
|
+
/**
|
|
1171
|
+
* @param {string} value
|
|
1172
|
+
* @return {!proto.supervisor.OpenTerminalResponse} returns this
|
|
1173
|
+
*/
|
|
1174
|
+
proto.supervisor.OpenTerminalResponse.prototype.setStarterToken = function(value) {
|
|
1175
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
763
1176
|
};
|
|
764
1177
|
|
|
765
1178
|
|
|
@@ -768,32 +1181,34 @@ proto.supervisor.CloseTerminalRequest.prototype.setAlias = function(value) {
|
|
|
768
1181
|
|
|
769
1182
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
770
1183
|
/**
|
|
771
|
-
* Creates an object representation of this proto
|
|
1184
|
+
* Creates an object representation of this proto.
|
|
772
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.
|
|
773
1187
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
774
1188
|
* For the list of reserved names please see:
|
|
775
|
-
*
|
|
776
|
-
* @param {boolean=} opt_includeInstance
|
|
777
|
-
* 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
|
|
778
1193
|
* @return {!Object}
|
|
779
1194
|
*/
|
|
780
|
-
proto.supervisor.
|
|
781
|
-
return proto.supervisor.
|
|
1195
|
+
proto.supervisor.ShutdownTerminalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1196
|
+
return proto.supervisor.ShutdownTerminalRequest.toObject(opt_includeInstance, this);
|
|
782
1197
|
};
|
|
783
1198
|
|
|
784
1199
|
|
|
785
1200
|
/**
|
|
786
1201
|
* Static version of the {@see toObject} method.
|
|
787
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
788
|
-
* instance for transitional soy proto support:
|
|
1202
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1203
|
+
* the JSPB instance for transitional soy proto support:
|
|
789
1204
|
* http://goto/soy-param-migration
|
|
790
|
-
* @param {!proto.supervisor.
|
|
1205
|
+
* @param {!proto.supervisor.ShutdownTerminalRequest} msg The msg instance to transform.
|
|
791
1206
|
* @return {!Object}
|
|
792
1207
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
793
1208
|
*/
|
|
794
|
-
proto.supervisor.
|
|
1209
|
+
proto.supervisor.ShutdownTerminalRequest.toObject = function(includeInstance, msg) {
|
|
795
1210
|
var f, obj = {
|
|
796
|
-
|
|
1211
|
+
alias: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
797
1212
|
};
|
|
798
1213
|
|
|
799
1214
|
if (includeInstance) {
|
|
@@ -807,29 +1222,33 @@ proto.supervisor.CloseTerminalResponse.toObject = function(includeInstance, msg)
|
|
|
807
1222
|
/**
|
|
808
1223
|
* Deserializes binary data (in protobuf wire format).
|
|
809
1224
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
810
|
-
* @return {!proto.supervisor.
|
|
1225
|
+
* @return {!proto.supervisor.ShutdownTerminalRequest}
|
|
811
1226
|
*/
|
|
812
|
-
proto.supervisor.
|
|
1227
|
+
proto.supervisor.ShutdownTerminalRequest.deserializeBinary = function(bytes) {
|
|
813
1228
|
var reader = new jspb.BinaryReader(bytes);
|
|
814
|
-
var msg = new proto.supervisor.
|
|
815
|
-
return proto.supervisor.
|
|
1229
|
+
var msg = new proto.supervisor.ShutdownTerminalRequest;
|
|
1230
|
+
return proto.supervisor.ShutdownTerminalRequest.deserializeBinaryFromReader(msg, reader);
|
|
816
1231
|
};
|
|
817
1232
|
|
|
818
1233
|
|
|
819
1234
|
/**
|
|
820
1235
|
* Deserializes binary data (in protobuf wire format) from the
|
|
821
1236
|
* given reader into the given message object.
|
|
822
|
-
* @param {!proto.supervisor.
|
|
1237
|
+
* @param {!proto.supervisor.ShutdownTerminalRequest} msg The message object to deserialize into.
|
|
823
1238
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
824
|
-
* @return {!proto.supervisor.
|
|
1239
|
+
* @return {!proto.supervisor.ShutdownTerminalRequest}
|
|
825
1240
|
*/
|
|
826
|
-
proto.supervisor.
|
|
1241
|
+
proto.supervisor.ShutdownTerminalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
827
1242
|
while (reader.nextField()) {
|
|
828
1243
|
if (reader.isEndGroup()) {
|
|
829
1244
|
break;
|
|
830
1245
|
}
|
|
831
1246
|
var field = reader.getFieldNumber();
|
|
832
1247
|
switch (field) {
|
|
1248
|
+
case 1:
|
|
1249
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1250
|
+
msg.setAlias(value);
|
|
1251
|
+
break;
|
|
833
1252
|
default:
|
|
834
1253
|
reader.skipField();
|
|
835
1254
|
break;
|
|
@@ -843,9 +1262,9 @@ proto.supervisor.CloseTerminalResponse.deserializeBinaryFromReader = function(ms
|
|
|
843
1262
|
* Serializes the message to binary data (in protobuf wire format).
|
|
844
1263
|
* @return {!Uint8Array}
|
|
845
1264
|
*/
|
|
846
|
-
proto.supervisor.
|
|
1265
|
+
proto.supervisor.ShutdownTerminalRequest.prototype.serializeBinary = function() {
|
|
847
1266
|
var writer = new jspb.BinaryWriter();
|
|
848
|
-
proto.supervisor.
|
|
1267
|
+
proto.supervisor.ShutdownTerminalRequest.serializeBinaryToWriter(this, writer);
|
|
849
1268
|
return writer.getResultBuffer();
|
|
850
1269
|
};
|
|
851
1270
|
|
|
@@ -853,12 +1272,37 @@ proto.supervisor.CloseTerminalResponse.prototype.serializeBinary = function() {
|
|
|
853
1272
|
/**
|
|
854
1273
|
* Serializes the given message to binary data (in protobuf wire
|
|
855
1274
|
* format), writing to the given BinaryWriter.
|
|
856
|
-
* @param {!proto.supervisor.
|
|
1275
|
+
* @param {!proto.supervisor.ShutdownTerminalRequest} message
|
|
857
1276
|
* @param {!jspb.BinaryWriter} writer
|
|
858
1277
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
859
1278
|
*/
|
|
860
|
-
proto.supervisor.
|
|
1279
|
+
proto.supervisor.ShutdownTerminalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
861
1280
|
var f = undefined;
|
|
1281
|
+
f = message.getAlias();
|
|
1282
|
+
if (f.length > 0) {
|
|
1283
|
+
writer.writeString(
|
|
1284
|
+
1,
|
|
1285
|
+
f
|
|
1286
|
+
);
|
|
1287
|
+
}
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* optional string alias = 1;
|
|
1293
|
+
* @return {string}
|
|
1294
|
+
*/
|
|
1295
|
+
proto.supervisor.ShutdownTerminalRequest.prototype.getAlias = function() {
|
|
1296
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* @param {string} value
|
|
1302
|
+
* @return {!proto.supervisor.ShutdownTerminalRequest} returns this
|
|
1303
|
+
*/
|
|
1304
|
+
proto.supervisor.ShutdownTerminalRequest.prototype.setAlias = function(value) {
|
|
1305
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
862
1306
|
};
|
|
863
1307
|
|
|
864
1308
|
|
|
@@ -867,30 +1311,32 @@ proto.supervisor.CloseTerminalResponse.serializeBinaryToWriter = function(messag
|
|
|
867
1311
|
|
|
868
1312
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
869
1313
|
/**
|
|
870
|
-
* Creates an object representation of this proto
|
|
1314
|
+
* Creates an object representation of this proto.
|
|
871
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.
|
|
872
1317
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
873
1318
|
* For the list of reserved names please see:
|
|
874
|
-
*
|
|
875
|
-
* @param {boolean=} opt_includeInstance
|
|
876
|
-
* 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
|
|
877
1323
|
* @return {!Object}
|
|
878
1324
|
*/
|
|
879
|
-
proto.supervisor.
|
|
880
|
-
return proto.supervisor.
|
|
1325
|
+
proto.supervisor.ShutdownTerminalResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1326
|
+
return proto.supervisor.ShutdownTerminalResponse.toObject(opt_includeInstance, this);
|
|
881
1327
|
};
|
|
882
1328
|
|
|
883
1329
|
|
|
884
1330
|
/**
|
|
885
1331
|
* Static version of the {@see toObject} method.
|
|
886
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
887
|
-
* instance for transitional soy proto support:
|
|
1332
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1333
|
+
* the JSPB instance for transitional soy proto support:
|
|
888
1334
|
* http://goto/soy-param-migration
|
|
889
|
-
* @param {!proto.supervisor.
|
|
1335
|
+
* @param {!proto.supervisor.ShutdownTerminalResponse} msg The msg instance to transform.
|
|
890
1336
|
* @return {!Object}
|
|
891
1337
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
892
1338
|
*/
|
|
893
|
-
proto.supervisor.
|
|
1339
|
+
proto.supervisor.ShutdownTerminalResponse.toObject = function(includeInstance, msg) {
|
|
894
1340
|
var f, obj = {
|
|
895
1341
|
|
|
896
1342
|
};
|
|
@@ -906,23 +1352,23 @@ proto.supervisor.ListTerminalsRequest.toObject = function(includeInstance, msg)
|
|
|
906
1352
|
/**
|
|
907
1353
|
* Deserializes binary data (in protobuf wire format).
|
|
908
1354
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
909
|
-
* @return {!proto.supervisor.
|
|
1355
|
+
* @return {!proto.supervisor.ShutdownTerminalResponse}
|
|
910
1356
|
*/
|
|
911
|
-
proto.supervisor.
|
|
1357
|
+
proto.supervisor.ShutdownTerminalResponse.deserializeBinary = function(bytes) {
|
|
912
1358
|
var reader = new jspb.BinaryReader(bytes);
|
|
913
|
-
var msg = new proto.supervisor.
|
|
914
|
-
return proto.supervisor.
|
|
1359
|
+
var msg = new proto.supervisor.ShutdownTerminalResponse;
|
|
1360
|
+
return proto.supervisor.ShutdownTerminalResponse.deserializeBinaryFromReader(msg, reader);
|
|
915
1361
|
};
|
|
916
1362
|
|
|
917
1363
|
|
|
918
1364
|
/**
|
|
919
1365
|
* Deserializes binary data (in protobuf wire format) from the
|
|
920
1366
|
* given reader into the given message object.
|
|
921
|
-
* @param {!proto.supervisor.
|
|
1367
|
+
* @param {!proto.supervisor.ShutdownTerminalResponse} msg The message object to deserialize into.
|
|
922
1368
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
923
|
-
* @return {!proto.supervisor.
|
|
1369
|
+
* @return {!proto.supervisor.ShutdownTerminalResponse}
|
|
924
1370
|
*/
|
|
925
|
-
proto.supervisor.
|
|
1371
|
+
proto.supervisor.ShutdownTerminalResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
926
1372
|
while (reader.nextField()) {
|
|
927
1373
|
if (reader.isEndGroup()) {
|
|
928
1374
|
break;
|
|
@@ -942,9 +1388,9 @@ proto.supervisor.ListTerminalsRequest.deserializeBinaryFromReader = function(msg
|
|
|
942
1388
|
* Serializes the message to binary data (in protobuf wire format).
|
|
943
1389
|
* @return {!Uint8Array}
|
|
944
1390
|
*/
|
|
945
|
-
proto.supervisor.
|
|
1391
|
+
proto.supervisor.ShutdownTerminalResponse.prototype.serializeBinary = function() {
|
|
946
1392
|
var writer = new jspb.BinaryWriter();
|
|
947
|
-
proto.supervisor.
|
|
1393
|
+
proto.supervisor.ShutdownTerminalResponse.serializeBinaryToWriter(this, writer);
|
|
948
1394
|
return writer.getResultBuffer();
|
|
949
1395
|
};
|
|
950
1396
|
|
|
@@ -952,11 +1398,11 @@ proto.supervisor.ListTerminalsRequest.prototype.serializeBinary = function() {
|
|
|
952
1398
|
/**
|
|
953
1399
|
* Serializes the given message to binary data (in protobuf wire
|
|
954
1400
|
* format), writing to the given BinaryWriter.
|
|
955
|
-
* @param {!proto.supervisor.
|
|
1401
|
+
* @param {!proto.supervisor.ShutdownTerminalResponse} message
|
|
956
1402
|
* @param {!jspb.BinaryWriter} writer
|
|
957
1403
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
958
1404
|
*/
|
|
959
|
-
proto.supervisor.
|
|
1405
|
+
proto.supervisor.ShutdownTerminalResponse.serializeBinaryToWriter = function(message, writer) {
|
|
960
1406
|
var f = undefined;
|
|
961
1407
|
};
|
|
962
1408
|
|
|
@@ -967,164 +1413,47 @@ proto.supervisor.ListTerminalsRequest.serializeBinaryToWriter = function(message
|
|
|
967
1413
|
* @private {!Array<number>}
|
|
968
1414
|
* @const
|
|
969
1415
|
*/
|
|
970
|
-
proto.supervisor.
|
|
1416
|
+
proto.supervisor.Terminal.repeatedFields_ = [2];
|
|
971
1417
|
|
|
972
1418
|
|
|
973
1419
|
|
|
974
1420
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
975
1421
|
/**
|
|
976
|
-
* Creates an object representation of this proto
|
|
1422
|
+
* Creates an object representation of this proto.
|
|
977
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.
|
|
978
1425
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
979
1426
|
* For the list of reserved names please see:
|
|
980
|
-
*
|
|
981
|
-
* @param {boolean=} opt_includeInstance
|
|
982
|
-
* for transitional soy proto support:
|
|
983
|
-
* @return {!Object}
|
|
984
|
-
*/
|
|
985
|
-
proto.supervisor.ListTerminalsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
986
|
-
return proto.supervisor.ListTerminalsResponse.toObject(opt_includeInstance, this);
|
|
987
|
-
};
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
/**
|
|
991
|
-
* Static version of the {@see toObject} method.
|
|
992
|
-
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
993
|
-
* instance 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:
|
|
994
1430
|
* http://goto/soy-param-migration
|
|
995
|
-
* @param {!proto.supervisor.ListTerminalsResponse} msg The msg instance to transform.
|
|
996
|
-
* @return {!Object}
|
|
997
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
998
|
-
*/
|
|
999
|
-
proto.supervisor.ListTerminalsResponse.toObject = function(includeInstance, msg) {
|
|
1000
|
-
var f, obj = {
|
|
1001
|
-
terminalsList: jspb.Message.toObjectList(msg.getTerminalsList(),
|
|
1002
|
-
proto.supervisor.ListTerminalsResponse.Terminal.toObject, includeInstance)
|
|
1003
|
-
};
|
|
1004
|
-
|
|
1005
|
-
if (includeInstance) {
|
|
1006
|
-
obj.$jspbMessageInstance = msg;
|
|
1007
|
-
}
|
|
1008
|
-
return obj;
|
|
1009
|
-
};
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
/**
|
|
1014
|
-
* Deserializes binary data (in protobuf wire format).
|
|
1015
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1016
|
-
* @return {!proto.supervisor.ListTerminalsResponse}
|
|
1017
|
-
*/
|
|
1018
|
-
proto.supervisor.ListTerminalsResponse.deserializeBinary = function(bytes) {
|
|
1019
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
1020
|
-
var msg = new proto.supervisor.ListTerminalsResponse;
|
|
1021
|
-
return proto.supervisor.ListTerminalsResponse.deserializeBinaryFromReader(msg, reader);
|
|
1022
|
-
};
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
/**
|
|
1026
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
1027
|
-
* given reader into the given message object.
|
|
1028
|
-
* @param {!proto.supervisor.ListTerminalsResponse} msg The message object to deserialize into.
|
|
1029
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1030
|
-
* @return {!proto.supervisor.ListTerminalsResponse}
|
|
1031
|
-
*/
|
|
1032
|
-
proto.supervisor.ListTerminalsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1033
|
-
while (reader.nextField()) {
|
|
1034
|
-
if (reader.isEndGroup()) {
|
|
1035
|
-
break;
|
|
1036
|
-
}
|
|
1037
|
-
var field = reader.getFieldNumber();
|
|
1038
|
-
switch (field) {
|
|
1039
|
-
case 1:
|
|
1040
|
-
var value = new proto.supervisor.ListTerminalsResponse.Terminal;
|
|
1041
|
-
reader.readMessage(value,proto.supervisor.ListTerminalsResponse.Terminal.deserializeBinaryFromReader);
|
|
1042
|
-
msg.addTerminals(value);
|
|
1043
|
-
break;
|
|
1044
|
-
default:
|
|
1045
|
-
reader.skipField();
|
|
1046
|
-
break;
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
return msg;
|
|
1050
|
-
};
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1055
|
-
* @return {!Uint8Array}
|
|
1056
|
-
*/
|
|
1057
|
-
proto.supervisor.ListTerminalsResponse.prototype.serializeBinary = function() {
|
|
1058
|
-
var writer = new jspb.BinaryWriter();
|
|
1059
|
-
proto.supervisor.ListTerminalsResponse.serializeBinaryToWriter(this, writer);
|
|
1060
|
-
return writer.getResultBuffer();
|
|
1061
|
-
};
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
/**
|
|
1065
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1066
|
-
* format), writing to the given BinaryWriter.
|
|
1067
|
-
* @param {!proto.supervisor.ListTerminalsResponse} message
|
|
1068
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1069
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1070
|
-
*/
|
|
1071
|
-
proto.supervisor.ListTerminalsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1072
|
-
var f = undefined;
|
|
1073
|
-
f = message.getTerminalsList();
|
|
1074
|
-
if (f.length > 0) {
|
|
1075
|
-
writer.writeRepeatedMessage(
|
|
1076
|
-
1,
|
|
1077
|
-
f,
|
|
1078
|
-
proto.supervisor.ListTerminalsResponse.Terminal.serializeBinaryToWriter
|
|
1079
|
-
);
|
|
1080
|
-
}
|
|
1081
|
-
};
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
/**
|
|
1086
|
-
* List of repeated fields within this message type.
|
|
1087
|
-
* @private {!Array<number>}
|
|
1088
|
-
* @const
|
|
1089
|
-
*/
|
|
1090
|
-
proto.supervisor.ListTerminalsResponse.Terminal.repeatedFields_ = [2];
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1095
|
-
/**
|
|
1096
|
-
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1097
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1098
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1099
|
-
* For the list of reserved names please see:
|
|
1100
|
-
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1101
|
-
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1102
|
-
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1103
1431
|
* @return {!Object}
|
|
1104
1432
|
*/
|
|
1105
|
-
proto.supervisor.
|
|
1106
|
-
return proto.supervisor.
|
|
1433
|
+
proto.supervisor.Terminal.prototype.toObject = function(opt_includeInstance) {
|
|
1434
|
+
return proto.supervisor.Terminal.toObject(opt_includeInstance, this);
|
|
1107
1435
|
};
|
|
1108
1436
|
|
|
1109
1437
|
|
|
1110
1438
|
/**
|
|
1111
1439
|
* Static version of the {@see toObject} method.
|
|
1112
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1113
|
-
* instance for transitional soy proto support:
|
|
1440
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1441
|
+
* the JSPB instance for transitional soy proto support:
|
|
1114
1442
|
* http://goto/soy-param-migration
|
|
1115
|
-
* @param {!proto.supervisor.
|
|
1443
|
+
* @param {!proto.supervisor.Terminal} msg The msg instance to transform.
|
|
1116
1444
|
* @return {!Object}
|
|
1117
1445
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1118
1446
|
*/
|
|
1119
|
-
proto.supervisor.
|
|
1447
|
+
proto.supervisor.Terminal.toObject = function(includeInstance, msg) {
|
|
1120
1448
|
var f, obj = {
|
|
1121
1449
|
alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1122
|
-
commandList: jspb.Message.getRepeatedField(msg, 2),
|
|
1450
|
+
commandList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
1123
1451
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1124
1452
|
pid: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1125
1453
|
initialWorkdir: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1126
1454
|
currentWorkdir: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1127
|
-
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)
|
|
1128
1457
|
};
|
|
1129
1458
|
|
|
1130
1459
|
if (includeInstance) {
|
|
@@ -1138,23 +1467,23 @@ proto.supervisor.ListTerminalsResponse.Terminal.toObject = function(includeInsta
|
|
|
1138
1467
|
/**
|
|
1139
1468
|
* Deserializes binary data (in protobuf wire format).
|
|
1140
1469
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1141
|
-
* @return {!proto.supervisor.
|
|
1470
|
+
* @return {!proto.supervisor.Terminal}
|
|
1142
1471
|
*/
|
|
1143
|
-
proto.supervisor.
|
|
1472
|
+
proto.supervisor.Terminal.deserializeBinary = function(bytes) {
|
|
1144
1473
|
var reader = new jspb.BinaryReader(bytes);
|
|
1145
|
-
var msg = new proto.supervisor.
|
|
1146
|
-
return proto.supervisor.
|
|
1474
|
+
var msg = new proto.supervisor.Terminal;
|
|
1475
|
+
return proto.supervisor.Terminal.deserializeBinaryFromReader(msg, reader);
|
|
1147
1476
|
};
|
|
1148
1477
|
|
|
1149
1478
|
|
|
1150
1479
|
/**
|
|
1151
1480
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1152
1481
|
* given reader into the given message object.
|
|
1153
|
-
* @param {!proto.supervisor.
|
|
1482
|
+
* @param {!proto.supervisor.Terminal} msg The message object to deserialize into.
|
|
1154
1483
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1155
|
-
* @return {!proto.supervisor.
|
|
1484
|
+
* @return {!proto.supervisor.Terminal}
|
|
1156
1485
|
*/
|
|
1157
|
-
proto.supervisor.
|
|
1486
|
+
proto.supervisor.Terminal.deserializeBinaryFromReader = function(msg, reader) {
|
|
1158
1487
|
while (reader.nextField()) {
|
|
1159
1488
|
if (reader.isEndGroup()) {
|
|
1160
1489
|
break;
|
|
@@ -1188,9 +1517,13 @@ proto.supervisor.ListTerminalsResponse.Terminal.deserializeBinaryFromReader = fu
|
|
|
1188
1517
|
case 7:
|
|
1189
1518
|
var value = msg.getAnnotationsMap();
|
|
1190
1519
|
reader.readMessage(value, function(message, reader) {
|
|
1191
|
-
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, "", "");
|
|
1192
1521
|
});
|
|
1193
1522
|
break;
|
|
1523
|
+
case 8:
|
|
1524
|
+
var value = /** @type {!proto.supervisor.TerminalTitleSource} */ (reader.readEnum());
|
|
1525
|
+
msg.setTitleSource(value);
|
|
1526
|
+
break;
|
|
1194
1527
|
default:
|
|
1195
1528
|
reader.skipField();
|
|
1196
1529
|
break;
|
|
@@ -1204,9 +1537,9 @@ proto.supervisor.ListTerminalsResponse.Terminal.deserializeBinaryFromReader = fu
|
|
|
1204
1537
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1205
1538
|
* @return {!Uint8Array}
|
|
1206
1539
|
*/
|
|
1207
|
-
proto.supervisor.
|
|
1540
|
+
proto.supervisor.Terminal.prototype.serializeBinary = function() {
|
|
1208
1541
|
var writer = new jspb.BinaryWriter();
|
|
1209
|
-
proto.supervisor.
|
|
1542
|
+
proto.supervisor.Terminal.serializeBinaryToWriter(this, writer);
|
|
1210
1543
|
return writer.getResultBuffer();
|
|
1211
1544
|
};
|
|
1212
1545
|
|
|
@@ -1214,11 +1547,11 @@ proto.supervisor.ListTerminalsResponse.Terminal.prototype.serializeBinary = func
|
|
|
1214
1547
|
/**
|
|
1215
1548
|
* Serializes the given message to binary data (in protobuf wire
|
|
1216
1549
|
* format), writing to the given BinaryWriter.
|
|
1217
|
-
* @param {!proto.supervisor.
|
|
1550
|
+
* @param {!proto.supervisor.Terminal} message
|
|
1218
1551
|
* @param {!jspb.BinaryWriter} writer
|
|
1219
1552
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1220
1553
|
*/
|
|
1221
|
-
proto.supervisor.
|
|
1554
|
+
proto.supervisor.Terminal.serializeBinaryToWriter = function(message, writer) {
|
|
1222
1555
|
var f = undefined;
|
|
1223
1556
|
f = message.getAlias();
|
|
1224
1557
|
if (f.length > 0) {
|
|
@@ -1266,6 +1599,13 @@ proto.supervisor.ListTerminalsResponse.Terminal.serializeBinaryToWriter = functi
|
|
|
1266
1599
|
if (f && f.getLength() > 0) {
|
|
1267
1600
|
f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
1268
1601
|
}
|
|
1602
|
+
f = message.getTitleSource();
|
|
1603
|
+
if (f !== 0.0) {
|
|
1604
|
+
writer.writeEnum(
|
|
1605
|
+
8,
|
|
1606
|
+
f
|
|
1607
|
+
);
|
|
1608
|
+
}
|
|
1269
1609
|
};
|
|
1270
1610
|
|
|
1271
1611
|
|
|
@@ -1273,14 +1613,17 @@ proto.supervisor.ListTerminalsResponse.Terminal.serializeBinaryToWriter = functi
|
|
|
1273
1613
|
* optional string alias = 1;
|
|
1274
1614
|
* @return {string}
|
|
1275
1615
|
*/
|
|
1276
|
-
proto.supervisor.
|
|
1616
|
+
proto.supervisor.Terminal.prototype.getAlias = function() {
|
|
1277
1617
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1278
1618
|
};
|
|
1279
1619
|
|
|
1280
1620
|
|
|
1281
|
-
/**
|
|
1282
|
-
|
|
1283
|
-
|
|
1621
|
+
/**
|
|
1622
|
+
* @param {string} value
|
|
1623
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1624
|
+
*/
|
|
1625
|
+
proto.supervisor.Terminal.prototype.setAlias = function(value) {
|
|
1626
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1284
1627
|
};
|
|
1285
1628
|
|
|
1286
1629
|
|
|
@@ -1288,31 +1631,36 @@ proto.supervisor.ListTerminalsResponse.Terminal.prototype.setAlias = function(va
|
|
|
1288
1631
|
* repeated string command = 2;
|
|
1289
1632
|
* @return {!Array<string>}
|
|
1290
1633
|
*/
|
|
1291
|
-
proto.supervisor.
|
|
1634
|
+
proto.supervisor.Terminal.prototype.getCommandList = function() {
|
|
1292
1635
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
1293
1636
|
};
|
|
1294
1637
|
|
|
1295
1638
|
|
|
1296
|
-
/**
|
|
1297
|
-
|
|
1298
|
-
|
|
1639
|
+
/**
|
|
1640
|
+
* @param {!Array<string>} value
|
|
1641
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1642
|
+
*/
|
|
1643
|
+
proto.supervisor.Terminal.prototype.setCommandList = function(value) {
|
|
1644
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
1299
1645
|
};
|
|
1300
1646
|
|
|
1301
1647
|
|
|
1302
1648
|
/**
|
|
1303
1649
|
* @param {string} value
|
|
1304
1650
|
* @param {number=} opt_index
|
|
1651
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1305
1652
|
*/
|
|
1306
|
-
proto.supervisor.
|
|
1307
|
-
jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1653
|
+
proto.supervisor.Terminal.prototype.addCommand = function(value, opt_index) {
|
|
1654
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1308
1655
|
};
|
|
1309
1656
|
|
|
1310
1657
|
|
|
1311
1658
|
/**
|
|
1312
1659
|
* Clears the list making it empty but non-null.
|
|
1660
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1313
1661
|
*/
|
|
1314
|
-
proto.supervisor.
|
|
1315
|
-
this.setCommandList([]);
|
|
1662
|
+
proto.supervisor.Terminal.prototype.clearCommandList = function() {
|
|
1663
|
+
return this.setCommandList([]);
|
|
1316
1664
|
};
|
|
1317
1665
|
|
|
1318
1666
|
|
|
@@ -1320,14 +1668,17 @@ proto.supervisor.ListTerminalsResponse.Terminal.prototype.clearCommandList = fun
|
|
|
1320
1668
|
* optional string title = 3;
|
|
1321
1669
|
* @return {string}
|
|
1322
1670
|
*/
|
|
1323
|
-
proto.supervisor.
|
|
1671
|
+
proto.supervisor.Terminal.prototype.getTitle = function() {
|
|
1324
1672
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1325
1673
|
};
|
|
1326
1674
|
|
|
1327
1675
|
|
|
1328
|
-
/**
|
|
1329
|
-
|
|
1330
|
-
|
|
1676
|
+
/**
|
|
1677
|
+
* @param {string} value
|
|
1678
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1679
|
+
*/
|
|
1680
|
+
proto.supervisor.Terminal.prototype.setTitle = function(value) {
|
|
1681
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1331
1682
|
};
|
|
1332
1683
|
|
|
1333
1684
|
|
|
@@ -1335,14 +1686,17 @@ proto.supervisor.ListTerminalsResponse.Terminal.prototype.setTitle = function(va
|
|
|
1335
1686
|
* optional int64 pid = 4;
|
|
1336
1687
|
* @return {number}
|
|
1337
1688
|
*/
|
|
1338
|
-
proto.supervisor.
|
|
1689
|
+
proto.supervisor.Terminal.prototype.getPid = function() {
|
|
1339
1690
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
1340
1691
|
};
|
|
1341
1692
|
|
|
1342
1693
|
|
|
1343
|
-
/**
|
|
1344
|
-
|
|
1345
|
-
|
|
1694
|
+
/**
|
|
1695
|
+
* @param {number} value
|
|
1696
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1697
|
+
*/
|
|
1698
|
+
proto.supervisor.Terminal.prototype.setPid = function(value) {
|
|
1699
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
1346
1700
|
};
|
|
1347
1701
|
|
|
1348
1702
|
|
|
@@ -1350,14 +1704,17 @@ proto.supervisor.ListTerminalsResponse.Terminal.prototype.setPid = function(valu
|
|
|
1350
1704
|
* optional string initial_workdir = 5;
|
|
1351
1705
|
* @return {string}
|
|
1352
1706
|
*/
|
|
1353
|
-
proto.supervisor.
|
|
1707
|
+
proto.supervisor.Terminal.prototype.getInitialWorkdir = function() {
|
|
1354
1708
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1355
1709
|
};
|
|
1356
1710
|
|
|
1357
1711
|
|
|
1358
|
-
/**
|
|
1359
|
-
|
|
1360
|
-
|
|
1712
|
+
/**
|
|
1713
|
+
* @param {string} value
|
|
1714
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1715
|
+
*/
|
|
1716
|
+
proto.supervisor.Terminal.prototype.setInitialWorkdir = function(value) {
|
|
1717
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1361
1718
|
};
|
|
1362
1719
|
|
|
1363
1720
|
|
|
@@ -1365,14 +1722,17 @@ proto.supervisor.ListTerminalsResponse.Terminal.prototype.setInitialWorkdir = fu
|
|
|
1365
1722
|
* optional string current_workdir = 6;
|
|
1366
1723
|
* @return {string}
|
|
1367
1724
|
*/
|
|
1368
|
-
proto.supervisor.
|
|
1725
|
+
proto.supervisor.Terminal.prototype.getCurrentWorkdir = function() {
|
|
1369
1726
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1370
1727
|
};
|
|
1371
1728
|
|
|
1372
1729
|
|
|
1373
|
-
/**
|
|
1374
|
-
|
|
1375
|
-
|
|
1730
|
+
/**
|
|
1731
|
+
* @param {string} value
|
|
1732
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1733
|
+
*/
|
|
1734
|
+
proto.supervisor.Terminal.prototype.setCurrentWorkdir = function(value) {
|
|
1735
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1376
1736
|
};
|
|
1377
1737
|
|
|
1378
1738
|
|
|
@@ -1382,7 +1742,7 @@ proto.supervisor.ListTerminalsResponse.Terminal.prototype.setCurrentWorkdir = fu
|
|
|
1382
1742
|
* empty, instead returning `undefined`
|
|
1383
1743
|
* @return {!jspb.Map<string,string>}
|
|
1384
1744
|
*/
|
|
1385
|
-
proto.supervisor.
|
|
1745
|
+
proto.supervisor.Terminal.prototype.getAnnotationsMap = function(opt_noLazyCreate) {
|
|
1386
1746
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
1387
1747
|
jspb.Message.getMapField(this, 7, opt_noLazyCreate,
|
|
1388
1748
|
null));
|
|
@@ -1391,43 +1751,28 @@ proto.supervisor.ListTerminalsResponse.Terminal.prototype.getAnnotationsMap = fu
|
|
|
1391
1751
|
|
|
1392
1752
|
/**
|
|
1393
1753
|
* Clears values from the map. The map will be non-null.
|
|
1754
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1394
1755
|
*/
|
|
1395
|
-
proto.supervisor.
|
|
1756
|
+
proto.supervisor.Terminal.prototype.clearAnnotationsMap = function() {
|
|
1396
1757
|
this.getAnnotationsMap().clear();
|
|
1397
|
-
};
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
/**
|
|
1401
|
-
* repeated Terminal terminals = 1;
|
|
1402
|
-
* @return {!Array<!proto.supervisor.ListTerminalsResponse.Terminal>}
|
|
1403
|
-
*/
|
|
1404
|
-
proto.supervisor.ListTerminalsResponse.prototype.getTerminalsList = function() {
|
|
1405
|
-
return /** @type{!Array<!proto.supervisor.ListTerminalsResponse.Terminal>} */ (
|
|
1406
|
-
jspb.Message.getRepeatedWrapperField(this, proto.supervisor.ListTerminalsResponse.Terminal, 1));
|
|
1407
|
-
};
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
/** @param {!Array<!proto.supervisor.ListTerminalsResponse.Terminal>} value */
|
|
1411
|
-
proto.supervisor.ListTerminalsResponse.prototype.setTerminalsList = function(value) {
|
|
1412
|
-
jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1413
|
-
};
|
|
1758
|
+
return this;};
|
|
1414
1759
|
|
|
1415
1760
|
|
|
1416
1761
|
/**
|
|
1417
|
-
*
|
|
1418
|
-
* @
|
|
1419
|
-
* @return {!proto.supervisor.ListTerminalsResponse.Terminal}
|
|
1762
|
+
* optional TerminalTitleSource title_source = 8;
|
|
1763
|
+
* @return {!proto.supervisor.TerminalTitleSource}
|
|
1420
1764
|
*/
|
|
1421
|
-
proto.supervisor.
|
|
1422
|
-
return jspb.Message.
|
|
1765
|
+
proto.supervisor.Terminal.prototype.getTitleSource = function() {
|
|
1766
|
+
return /** @type {!proto.supervisor.TerminalTitleSource} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
1423
1767
|
};
|
|
1424
1768
|
|
|
1425
1769
|
|
|
1426
1770
|
/**
|
|
1427
|
-
*
|
|
1771
|
+
* @param {!proto.supervisor.TerminalTitleSource} value
|
|
1772
|
+
* @return {!proto.supervisor.Terminal} returns this
|
|
1428
1773
|
*/
|
|
1429
|
-
proto.supervisor.
|
|
1430
|
-
|
|
1774
|
+
proto.supervisor.Terminal.prototype.setTitleSource = function(value) {
|
|
1775
|
+
return jspb.Message.setProto3EnumField(this, 8, value);
|
|
1431
1776
|
};
|
|
1432
1777
|
|
|
1433
1778
|
|
|
@@ -1436,30 +1781,32 @@ proto.supervisor.ListTerminalsResponse.prototype.clearTerminalsList = function()
|
|
|
1436
1781
|
|
|
1437
1782
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1438
1783
|
/**
|
|
1439
|
-
* Creates an object representation of this proto
|
|
1784
|
+
* Creates an object representation of this proto.
|
|
1440
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.
|
|
1441
1787
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1442
1788
|
* For the list of reserved names please see:
|
|
1443
|
-
*
|
|
1444
|
-
* @param {boolean=} opt_includeInstance
|
|
1445
|
-
* 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
|
|
1446
1793
|
* @return {!Object}
|
|
1447
1794
|
*/
|
|
1448
|
-
proto.supervisor.
|
|
1449
|
-
return proto.supervisor.
|
|
1795
|
+
proto.supervisor.GetTerminalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1796
|
+
return proto.supervisor.GetTerminalRequest.toObject(opt_includeInstance, this);
|
|
1450
1797
|
};
|
|
1451
1798
|
|
|
1452
1799
|
|
|
1453
1800
|
/**
|
|
1454
1801
|
* Static version of the {@see toObject} method.
|
|
1455
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1456
|
-
* instance for transitional soy proto support:
|
|
1802
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1803
|
+
* the JSPB instance for transitional soy proto support:
|
|
1457
1804
|
* http://goto/soy-param-migration
|
|
1458
|
-
* @param {!proto.supervisor.
|
|
1805
|
+
* @param {!proto.supervisor.GetTerminalRequest} msg The msg instance to transform.
|
|
1459
1806
|
* @return {!Object}
|
|
1460
1807
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1461
1808
|
*/
|
|
1462
|
-
proto.supervisor.
|
|
1809
|
+
proto.supervisor.GetTerminalRequest.toObject = function(includeInstance, msg) {
|
|
1463
1810
|
var f, obj = {
|
|
1464
1811
|
alias: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1465
1812
|
};
|
|
@@ -1475,23 +1822,23 @@ proto.supervisor.ListenTerminalRequest.toObject = function(includeInstance, msg)
|
|
|
1475
1822
|
/**
|
|
1476
1823
|
* Deserializes binary data (in protobuf wire format).
|
|
1477
1824
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1478
|
-
* @return {!proto.supervisor.
|
|
1825
|
+
* @return {!proto.supervisor.GetTerminalRequest}
|
|
1479
1826
|
*/
|
|
1480
|
-
proto.supervisor.
|
|
1827
|
+
proto.supervisor.GetTerminalRequest.deserializeBinary = function(bytes) {
|
|
1481
1828
|
var reader = new jspb.BinaryReader(bytes);
|
|
1482
|
-
var msg = new proto.supervisor.
|
|
1483
|
-
return proto.supervisor.
|
|
1829
|
+
var msg = new proto.supervisor.GetTerminalRequest;
|
|
1830
|
+
return proto.supervisor.GetTerminalRequest.deserializeBinaryFromReader(msg, reader);
|
|
1484
1831
|
};
|
|
1485
1832
|
|
|
1486
1833
|
|
|
1487
1834
|
/**
|
|
1488
1835
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1489
1836
|
* given reader into the given message object.
|
|
1490
|
-
* @param {!proto.supervisor.
|
|
1837
|
+
* @param {!proto.supervisor.GetTerminalRequest} msg The message object to deserialize into.
|
|
1491
1838
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1492
|
-
* @return {!proto.supervisor.
|
|
1839
|
+
* @return {!proto.supervisor.GetTerminalRequest}
|
|
1493
1840
|
*/
|
|
1494
|
-
proto.supervisor.
|
|
1841
|
+
proto.supervisor.GetTerminalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1495
1842
|
while (reader.nextField()) {
|
|
1496
1843
|
if (reader.isEndGroup()) {
|
|
1497
1844
|
break;
|
|
@@ -1515,9 +1862,9 @@ proto.supervisor.ListenTerminalRequest.deserializeBinaryFromReader = function(ms
|
|
|
1515
1862
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1516
1863
|
* @return {!Uint8Array}
|
|
1517
1864
|
*/
|
|
1518
|
-
proto.supervisor.
|
|
1865
|
+
proto.supervisor.GetTerminalRequest.prototype.serializeBinary = function() {
|
|
1519
1866
|
var writer = new jspb.BinaryWriter();
|
|
1520
|
-
proto.supervisor.
|
|
1867
|
+
proto.supervisor.GetTerminalRequest.serializeBinaryToWriter(this, writer);
|
|
1521
1868
|
return writer.getResultBuffer();
|
|
1522
1869
|
};
|
|
1523
1870
|
|
|
@@ -1525,11 +1872,11 @@ proto.supervisor.ListenTerminalRequest.prototype.serializeBinary = function() {
|
|
|
1525
1872
|
/**
|
|
1526
1873
|
* Serializes the given message to binary data (in protobuf wire
|
|
1527
1874
|
* format), writing to the given BinaryWriter.
|
|
1528
|
-
* @param {!proto.supervisor.
|
|
1875
|
+
* @param {!proto.supervisor.GetTerminalRequest} message
|
|
1529
1876
|
* @param {!jspb.BinaryWriter} writer
|
|
1530
1877
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1531
1878
|
*/
|
|
1532
|
-
proto.supervisor.
|
|
1879
|
+
proto.supervisor.GetTerminalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1533
1880
|
var f = undefined;
|
|
1534
1881
|
f = message.getAlias();
|
|
1535
1882
|
if (f.length > 0) {
|
|
@@ -1545,75 +1892,53 @@ proto.supervisor.ListenTerminalRequest.serializeBinaryToWriter = function(messag
|
|
|
1545
1892
|
* optional string alias = 1;
|
|
1546
1893
|
* @return {string}
|
|
1547
1894
|
*/
|
|
1548
|
-
proto.supervisor.
|
|
1895
|
+
proto.supervisor.GetTerminalRequest.prototype.getAlias = function() {
|
|
1549
1896
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1550
1897
|
};
|
|
1551
1898
|
|
|
1552
1899
|
|
|
1553
|
-
/** @param {string} value */
|
|
1554
|
-
proto.supervisor.ListenTerminalRequest.prototype.setAlias = function(value) {
|
|
1555
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
1556
|
-
};
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
/**
|
|
1561
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
1562
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
1563
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
1564
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
1565
|
-
* @private {!Array<!Array<number>>}
|
|
1566
|
-
* @const
|
|
1567
|
-
*/
|
|
1568
|
-
proto.supervisor.ListenTerminalResponse.oneofGroups_ = [[1,2]];
|
|
1569
|
-
|
|
1570
1900
|
/**
|
|
1571
|
-
* @
|
|
1901
|
+
* @param {string} value
|
|
1902
|
+
* @return {!proto.supervisor.GetTerminalRequest} returns this
|
|
1572
1903
|
*/
|
|
1573
|
-
proto.supervisor.
|
|
1574
|
-
|
|
1575
|
-
STDOUT: 1,
|
|
1576
|
-
STDERR: 2
|
|
1904
|
+
proto.supervisor.GetTerminalRequest.prototype.setAlias = function(value) {
|
|
1905
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1577
1906
|
};
|
|
1578
1907
|
|
|
1579
|
-
|
|
1580
|
-
* @return {proto.supervisor.ListenTerminalResponse.OutputCase}
|
|
1581
|
-
*/
|
|
1582
|
-
proto.supervisor.ListenTerminalResponse.prototype.getOutputCase = function() {
|
|
1583
|
-
return /** @type {proto.supervisor.ListenTerminalResponse.OutputCase} */(jspb.Message.computeOneofCase(this, proto.supervisor.ListenTerminalResponse.oneofGroups_[0]));
|
|
1584
|
-
};
|
|
1908
|
+
|
|
1585
1909
|
|
|
1586
1910
|
|
|
1587
1911
|
|
|
1588
1912
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1589
1913
|
/**
|
|
1590
|
-
* Creates an object representation of this proto
|
|
1914
|
+
* Creates an object representation of this proto.
|
|
1591
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.
|
|
1592
1917
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1593
1918
|
* For the list of reserved names please see:
|
|
1594
|
-
*
|
|
1595
|
-
* @param {boolean=} opt_includeInstance
|
|
1596
|
-
* 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
|
|
1597
1923
|
* @return {!Object}
|
|
1598
1924
|
*/
|
|
1599
|
-
proto.supervisor.
|
|
1600
|
-
return proto.supervisor.
|
|
1925
|
+
proto.supervisor.ListTerminalsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1926
|
+
return proto.supervisor.ListTerminalsRequest.toObject(opt_includeInstance, this);
|
|
1601
1927
|
};
|
|
1602
1928
|
|
|
1603
1929
|
|
|
1604
1930
|
/**
|
|
1605
1931
|
* Static version of the {@see toObject} method.
|
|
1606
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1607
|
-
* instance for transitional soy proto support:
|
|
1932
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1933
|
+
* the JSPB instance for transitional soy proto support:
|
|
1608
1934
|
* http://goto/soy-param-migration
|
|
1609
|
-
* @param {!proto.supervisor.
|
|
1935
|
+
* @param {!proto.supervisor.ListTerminalsRequest} msg The msg instance to transform.
|
|
1610
1936
|
* @return {!Object}
|
|
1611
1937
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1612
1938
|
*/
|
|
1613
|
-
proto.supervisor.
|
|
1939
|
+
proto.supervisor.ListTerminalsRequest.toObject = function(includeInstance, msg) {
|
|
1614
1940
|
var f, obj = {
|
|
1615
|
-
|
|
1616
|
-
stderr: msg.getStderr_asB64()
|
|
1941
|
+
|
|
1617
1942
|
};
|
|
1618
1943
|
|
|
1619
1944
|
if (includeInstance) {
|
|
@@ -1627,37 +1952,29 @@ proto.supervisor.ListenTerminalResponse.toObject = function(includeInstance, msg
|
|
|
1627
1952
|
/**
|
|
1628
1953
|
* Deserializes binary data (in protobuf wire format).
|
|
1629
1954
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1630
|
-
* @return {!proto.supervisor.
|
|
1955
|
+
* @return {!proto.supervisor.ListTerminalsRequest}
|
|
1631
1956
|
*/
|
|
1632
|
-
proto.supervisor.
|
|
1957
|
+
proto.supervisor.ListTerminalsRequest.deserializeBinary = function(bytes) {
|
|
1633
1958
|
var reader = new jspb.BinaryReader(bytes);
|
|
1634
|
-
var msg = new proto.supervisor.
|
|
1635
|
-
return proto.supervisor.
|
|
1959
|
+
var msg = new proto.supervisor.ListTerminalsRequest;
|
|
1960
|
+
return proto.supervisor.ListTerminalsRequest.deserializeBinaryFromReader(msg, reader);
|
|
1636
1961
|
};
|
|
1637
1962
|
|
|
1638
1963
|
|
|
1639
1964
|
/**
|
|
1640
1965
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1641
1966
|
* given reader into the given message object.
|
|
1642
|
-
* @param {!proto.supervisor.
|
|
1967
|
+
* @param {!proto.supervisor.ListTerminalsRequest} msg The message object to deserialize into.
|
|
1643
1968
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1644
|
-
* @return {!proto.supervisor.
|
|
1969
|
+
* @return {!proto.supervisor.ListTerminalsRequest}
|
|
1645
1970
|
*/
|
|
1646
|
-
proto.supervisor.
|
|
1971
|
+
proto.supervisor.ListTerminalsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1647
1972
|
while (reader.nextField()) {
|
|
1648
1973
|
if (reader.isEndGroup()) {
|
|
1649
1974
|
break;
|
|
1650
1975
|
}
|
|
1651
1976
|
var field = reader.getFieldNumber();
|
|
1652
1977
|
switch (field) {
|
|
1653
|
-
case 1:
|
|
1654
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
1655
|
-
msg.setStdout(value);
|
|
1656
|
-
break;
|
|
1657
|
-
case 2:
|
|
1658
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
1659
|
-
msg.setStderr(value);
|
|
1660
|
-
break;
|
|
1661
1978
|
default:
|
|
1662
1979
|
reader.skipField();
|
|
1663
1980
|
break;
|
|
@@ -1671,9 +1988,9 @@ proto.supervisor.ListenTerminalResponse.deserializeBinaryFromReader = function(m
|
|
|
1671
1988
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1672
1989
|
* @return {!Uint8Array}
|
|
1673
1990
|
*/
|
|
1674
|
-
proto.supervisor.
|
|
1991
|
+
proto.supervisor.ListTerminalsRequest.prototype.serializeBinary = function() {
|
|
1675
1992
|
var writer = new jspb.BinaryWriter();
|
|
1676
|
-
proto.supervisor.
|
|
1993
|
+
proto.supervisor.ListTerminalsRequest.serializeBinaryToWriter(this, writer);
|
|
1677
1994
|
return writer.getResultBuffer();
|
|
1678
1995
|
};
|
|
1679
1996
|
|
|
@@ -1681,73 +1998,1162 @@ proto.supervisor.ListenTerminalResponse.prototype.serializeBinary = function() {
|
|
|
1681
1998
|
/**
|
|
1682
1999
|
* Serializes the given message to binary data (in protobuf wire
|
|
1683
2000
|
* format), writing to the given BinaryWriter.
|
|
1684
|
-
* @param {!proto.supervisor.
|
|
2001
|
+
* @param {!proto.supervisor.ListTerminalsRequest} message
|
|
1685
2002
|
* @param {!jspb.BinaryWriter} writer
|
|
1686
2003
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1687
2004
|
*/
|
|
1688
|
-
proto.supervisor.
|
|
2005
|
+
proto.supervisor.ListTerminalsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1689
2006
|
var f = undefined;
|
|
1690
|
-
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
|
|
1691
|
-
if (f != null) {
|
|
1692
|
-
writer.writeBytes(
|
|
1693
|
-
1,
|
|
1694
|
-
f
|
|
1695
|
-
);
|
|
1696
|
-
}
|
|
1697
|
-
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
|
|
1698
|
-
if (f != null) {
|
|
1699
|
-
writer.writeBytes(
|
|
1700
|
-
2,
|
|
1701
|
-
f
|
|
1702
|
-
);
|
|
1703
|
-
}
|
|
1704
2007
|
};
|
|
1705
2008
|
|
|
1706
2009
|
|
|
1707
|
-
/**
|
|
1708
|
-
* optional bytes stdout = 1;
|
|
1709
|
-
* @return {!(string|Uint8Array)}
|
|
1710
|
-
*/
|
|
1711
|
-
proto.supervisor.ListenTerminalResponse.prototype.getStdout = function() {
|
|
1712
|
-
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1713
|
-
};
|
|
1714
|
-
|
|
1715
2010
|
|
|
1716
2011
|
/**
|
|
1717
|
-
*
|
|
1718
|
-
*
|
|
1719
|
-
* @
|
|
2012
|
+
* List of repeated fields within this message type.
|
|
2013
|
+
* @private {!Array<number>}
|
|
2014
|
+
* @const
|
|
2015
|
+
*/
|
|
2016
|
+
proto.supervisor.ListTerminalsResponse.repeatedFields_ = [1];
|
|
2017
|
+
|
|
2018
|
+
|
|
2019
|
+
|
|
2020
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2021
|
+
/**
|
|
2022
|
+
* Creates an object representation of this proto.
|
|
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.
|
|
2025
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2026
|
+
* For the list of reserved names please see:
|
|
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
|
|
2031
|
+
* @return {!Object}
|
|
2032
|
+
*/
|
|
2033
|
+
proto.supervisor.ListTerminalsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2034
|
+
return proto.supervisor.ListTerminalsResponse.toObject(opt_includeInstance, this);
|
|
2035
|
+
};
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
/**
|
|
2039
|
+
* Static version of the {@see toObject} method.
|
|
2040
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2041
|
+
* the JSPB instance for transitional soy proto support:
|
|
2042
|
+
* http://goto/soy-param-migration
|
|
2043
|
+
* @param {!proto.supervisor.ListTerminalsResponse} msg The msg instance to transform.
|
|
2044
|
+
* @return {!Object}
|
|
2045
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2046
|
+
*/
|
|
2047
|
+
proto.supervisor.ListTerminalsResponse.toObject = function(includeInstance, msg) {
|
|
2048
|
+
var f, obj = {
|
|
2049
|
+
terminalsList: jspb.Message.toObjectList(msg.getTerminalsList(),
|
|
2050
|
+
proto.supervisor.Terminal.toObject, includeInstance)
|
|
2051
|
+
};
|
|
2052
|
+
|
|
2053
|
+
if (includeInstance) {
|
|
2054
|
+
obj.$jspbMessageInstance = msg;
|
|
2055
|
+
}
|
|
2056
|
+
return obj;
|
|
2057
|
+
};
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
|
|
2061
|
+
/**
|
|
2062
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2063
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2064
|
+
* @return {!proto.supervisor.ListTerminalsResponse}
|
|
2065
|
+
*/
|
|
2066
|
+
proto.supervisor.ListTerminalsResponse.deserializeBinary = function(bytes) {
|
|
2067
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2068
|
+
var msg = new proto.supervisor.ListTerminalsResponse;
|
|
2069
|
+
return proto.supervisor.ListTerminalsResponse.deserializeBinaryFromReader(msg, reader);
|
|
2070
|
+
};
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2075
|
+
* given reader into the given message object.
|
|
2076
|
+
* @param {!proto.supervisor.ListTerminalsResponse} msg The message object to deserialize into.
|
|
2077
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2078
|
+
* @return {!proto.supervisor.ListTerminalsResponse}
|
|
2079
|
+
*/
|
|
2080
|
+
proto.supervisor.ListTerminalsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2081
|
+
while (reader.nextField()) {
|
|
2082
|
+
if (reader.isEndGroup()) {
|
|
2083
|
+
break;
|
|
2084
|
+
}
|
|
2085
|
+
var field = reader.getFieldNumber();
|
|
2086
|
+
switch (field) {
|
|
2087
|
+
case 1:
|
|
2088
|
+
var value = new proto.supervisor.Terminal;
|
|
2089
|
+
reader.readMessage(value,proto.supervisor.Terminal.deserializeBinaryFromReader);
|
|
2090
|
+
msg.addTerminals(value);
|
|
2091
|
+
break;
|
|
2092
|
+
default:
|
|
2093
|
+
reader.skipField();
|
|
2094
|
+
break;
|
|
2095
|
+
}
|
|
2096
|
+
}
|
|
2097
|
+
return msg;
|
|
2098
|
+
};
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2103
|
+
* @return {!Uint8Array}
|
|
2104
|
+
*/
|
|
2105
|
+
proto.supervisor.ListTerminalsResponse.prototype.serializeBinary = function() {
|
|
2106
|
+
var writer = new jspb.BinaryWriter();
|
|
2107
|
+
proto.supervisor.ListTerminalsResponse.serializeBinaryToWriter(this, writer);
|
|
2108
|
+
return writer.getResultBuffer();
|
|
2109
|
+
};
|
|
2110
|
+
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2114
|
+
* format), writing to the given BinaryWriter.
|
|
2115
|
+
* @param {!proto.supervisor.ListTerminalsResponse} message
|
|
2116
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2117
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2118
|
+
*/
|
|
2119
|
+
proto.supervisor.ListTerminalsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2120
|
+
var f = undefined;
|
|
2121
|
+
f = message.getTerminalsList();
|
|
2122
|
+
if (f.length > 0) {
|
|
2123
|
+
writer.writeRepeatedMessage(
|
|
2124
|
+
1,
|
|
2125
|
+
f,
|
|
2126
|
+
proto.supervisor.Terminal.serializeBinaryToWriter
|
|
2127
|
+
);
|
|
2128
|
+
}
|
|
2129
|
+
};
|
|
2130
|
+
|
|
2131
|
+
|
|
2132
|
+
/**
|
|
2133
|
+
* repeated Terminal terminals = 1;
|
|
2134
|
+
* @return {!Array<!proto.supervisor.Terminal>}
|
|
2135
|
+
*/
|
|
2136
|
+
proto.supervisor.ListTerminalsResponse.prototype.getTerminalsList = function() {
|
|
2137
|
+
return /** @type{!Array<!proto.supervisor.Terminal>} */ (
|
|
2138
|
+
jspb.Message.getRepeatedWrapperField(this, proto.supervisor.Terminal, 1));
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* @param {!Array<!proto.supervisor.Terminal>} value
|
|
2144
|
+
* @return {!proto.supervisor.ListTerminalsResponse} returns this
|
|
2145
|
+
*/
|
|
2146
|
+
proto.supervisor.ListTerminalsResponse.prototype.setTerminalsList = function(value) {
|
|
2147
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* @param {!proto.supervisor.Terminal=} opt_value
|
|
2153
|
+
* @param {number=} opt_index
|
|
2154
|
+
* @return {!proto.supervisor.Terminal}
|
|
2155
|
+
*/
|
|
2156
|
+
proto.supervisor.ListTerminalsResponse.prototype.addTerminals = function(opt_value, opt_index) {
|
|
2157
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.supervisor.Terminal, opt_index);
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
|
|
2161
|
+
/**
|
|
2162
|
+
* Clears the list making it empty but non-null.
|
|
2163
|
+
* @return {!proto.supervisor.ListTerminalsResponse} returns this
|
|
2164
|
+
*/
|
|
2165
|
+
proto.supervisor.ListTerminalsResponse.prototype.clearTerminalsList = function() {
|
|
2166
|
+
return this.setTerminalsList([]);
|
|
2167
|
+
};
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2174
|
+
/**
|
|
2175
|
+
* Creates an object representation of this proto.
|
|
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.
|
|
2178
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2179
|
+
* For the list of reserved names please see:
|
|
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
|
|
2184
|
+
* @return {!Object}
|
|
2185
|
+
*/
|
|
2186
|
+
proto.supervisor.ListenTerminalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2187
|
+
return proto.supervisor.ListenTerminalRequest.toObject(opt_includeInstance, this);
|
|
2188
|
+
};
|
|
2189
|
+
|
|
2190
|
+
|
|
2191
|
+
/**
|
|
2192
|
+
* Static version of the {@see toObject} method.
|
|
2193
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2194
|
+
* the JSPB instance for transitional soy proto support:
|
|
2195
|
+
* http://goto/soy-param-migration
|
|
2196
|
+
* @param {!proto.supervisor.ListenTerminalRequest} msg The msg instance to transform.
|
|
2197
|
+
* @return {!Object}
|
|
2198
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2199
|
+
*/
|
|
2200
|
+
proto.supervisor.ListenTerminalRequest.toObject = function(includeInstance, msg) {
|
|
2201
|
+
var f, obj = {
|
|
2202
|
+
alias: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2203
|
+
};
|
|
2204
|
+
|
|
2205
|
+
if (includeInstance) {
|
|
2206
|
+
obj.$jspbMessageInstance = msg;
|
|
2207
|
+
}
|
|
2208
|
+
return obj;
|
|
2209
|
+
};
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2215
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2216
|
+
* @return {!proto.supervisor.ListenTerminalRequest}
|
|
2217
|
+
*/
|
|
2218
|
+
proto.supervisor.ListenTerminalRequest.deserializeBinary = function(bytes) {
|
|
2219
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2220
|
+
var msg = new proto.supervisor.ListenTerminalRequest;
|
|
2221
|
+
return proto.supervisor.ListenTerminalRequest.deserializeBinaryFromReader(msg, reader);
|
|
2222
|
+
};
|
|
2223
|
+
|
|
2224
|
+
|
|
2225
|
+
/**
|
|
2226
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2227
|
+
* given reader into the given message object.
|
|
2228
|
+
* @param {!proto.supervisor.ListenTerminalRequest} msg The message object to deserialize into.
|
|
2229
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2230
|
+
* @return {!proto.supervisor.ListenTerminalRequest}
|
|
2231
|
+
*/
|
|
2232
|
+
proto.supervisor.ListenTerminalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2233
|
+
while (reader.nextField()) {
|
|
2234
|
+
if (reader.isEndGroup()) {
|
|
2235
|
+
break;
|
|
2236
|
+
}
|
|
2237
|
+
var field = reader.getFieldNumber();
|
|
2238
|
+
switch (field) {
|
|
2239
|
+
case 1:
|
|
2240
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2241
|
+
msg.setAlias(value);
|
|
2242
|
+
break;
|
|
2243
|
+
default:
|
|
2244
|
+
reader.skipField();
|
|
2245
|
+
break;
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
return msg;
|
|
2249
|
+
};
|
|
2250
|
+
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2254
|
+
* @return {!Uint8Array}
|
|
2255
|
+
*/
|
|
2256
|
+
proto.supervisor.ListenTerminalRequest.prototype.serializeBinary = function() {
|
|
2257
|
+
var writer = new jspb.BinaryWriter();
|
|
2258
|
+
proto.supervisor.ListenTerminalRequest.serializeBinaryToWriter(this, writer);
|
|
2259
|
+
return writer.getResultBuffer();
|
|
2260
|
+
};
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2265
|
+
* format), writing to the given BinaryWriter.
|
|
2266
|
+
* @param {!proto.supervisor.ListenTerminalRequest} message
|
|
2267
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2268
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2269
|
+
*/
|
|
2270
|
+
proto.supervisor.ListenTerminalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2271
|
+
var f = undefined;
|
|
2272
|
+
f = message.getAlias();
|
|
2273
|
+
if (f.length > 0) {
|
|
2274
|
+
writer.writeString(
|
|
2275
|
+
1,
|
|
2276
|
+
f
|
|
2277
|
+
);
|
|
2278
|
+
}
|
|
2279
|
+
};
|
|
2280
|
+
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* optional string alias = 1;
|
|
2284
|
+
* @return {string}
|
|
2285
|
+
*/
|
|
2286
|
+
proto.supervisor.ListenTerminalRequest.prototype.getAlias = function() {
|
|
2287
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2288
|
+
};
|
|
2289
|
+
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* @param {string} value
|
|
2293
|
+
* @return {!proto.supervisor.ListenTerminalRequest} returns this
|
|
2294
|
+
*/
|
|
2295
|
+
proto.supervisor.ListenTerminalRequest.prototype.setAlias = function(value) {
|
|
2296
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2297
|
+
};
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
2303
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
2304
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
2305
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
2306
|
+
* @private {!Array<!Array<number>>}
|
|
2307
|
+
* @const
|
|
2308
|
+
*/
|
|
2309
|
+
proto.supervisor.ListenTerminalResponse.oneofGroups_ = [[1,2,3]];
|
|
2310
|
+
|
|
2311
|
+
/**
|
|
2312
|
+
* @enum {number}
|
|
2313
|
+
*/
|
|
2314
|
+
proto.supervisor.ListenTerminalResponse.OutputCase = {
|
|
2315
|
+
OUTPUT_NOT_SET: 0,
|
|
2316
|
+
DATA: 1,
|
|
2317
|
+
EXIT_CODE: 2,
|
|
2318
|
+
TITLE: 3
|
|
2319
|
+
};
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* @return {proto.supervisor.ListenTerminalResponse.OutputCase}
|
|
2323
|
+
*/
|
|
2324
|
+
proto.supervisor.ListenTerminalResponse.prototype.getOutputCase = function() {
|
|
2325
|
+
return /** @type {proto.supervisor.ListenTerminalResponse.OutputCase} */(jspb.Message.computeOneofCase(this, proto.supervisor.ListenTerminalResponse.oneofGroups_[0]));
|
|
2326
|
+
};
|
|
2327
|
+
|
|
2328
|
+
|
|
2329
|
+
|
|
2330
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2331
|
+
/**
|
|
2332
|
+
* Creates an object representation of this proto.
|
|
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.
|
|
2335
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2336
|
+
* For the list of reserved names please see:
|
|
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
|
|
2341
|
+
* @return {!Object}
|
|
2342
|
+
*/
|
|
2343
|
+
proto.supervisor.ListenTerminalResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2344
|
+
return proto.supervisor.ListenTerminalResponse.toObject(opt_includeInstance, this);
|
|
2345
|
+
};
|
|
2346
|
+
|
|
2347
|
+
|
|
2348
|
+
/**
|
|
2349
|
+
* Static version of the {@see toObject} method.
|
|
2350
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2351
|
+
* the JSPB instance for transitional soy proto support:
|
|
2352
|
+
* http://goto/soy-param-migration
|
|
2353
|
+
* @param {!proto.supervisor.ListenTerminalResponse} msg The msg instance to transform.
|
|
2354
|
+
* @return {!Object}
|
|
2355
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2356
|
+
*/
|
|
2357
|
+
proto.supervisor.ListenTerminalResponse.toObject = function(includeInstance, msg) {
|
|
2358
|
+
var f, obj = {
|
|
2359
|
+
data: msg.getData_asB64(),
|
|
2360
|
+
exitCode: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2361
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2362
|
+
titleSource: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
2363
|
+
};
|
|
2364
|
+
|
|
2365
|
+
if (includeInstance) {
|
|
2366
|
+
obj.$jspbMessageInstance = msg;
|
|
2367
|
+
}
|
|
2368
|
+
return obj;
|
|
2369
|
+
};
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2375
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2376
|
+
* @return {!proto.supervisor.ListenTerminalResponse}
|
|
2377
|
+
*/
|
|
2378
|
+
proto.supervisor.ListenTerminalResponse.deserializeBinary = function(bytes) {
|
|
2379
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2380
|
+
var msg = new proto.supervisor.ListenTerminalResponse;
|
|
2381
|
+
return proto.supervisor.ListenTerminalResponse.deserializeBinaryFromReader(msg, reader);
|
|
2382
|
+
};
|
|
2383
|
+
|
|
2384
|
+
|
|
2385
|
+
/**
|
|
2386
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2387
|
+
* given reader into the given message object.
|
|
2388
|
+
* @param {!proto.supervisor.ListenTerminalResponse} msg The message object to deserialize into.
|
|
2389
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2390
|
+
* @return {!proto.supervisor.ListenTerminalResponse}
|
|
2391
|
+
*/
|
|
2392
|
+
proto.supervisor.ListenTerminalResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2393
|
+
while (reader.nextField()) {
|
|
2394
|
+
if (reader.isEndGroup()) {
|
|
2395
|
+
break;
|
|
2396
|
+
}
|
|
2397
|
+
var field = reader.getFieldNumber();
|
|
2398
|
+
switch (field) {
|
|
2399
|
+
case 1:
|
|
2400
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
2401
|
+
msg.setData(value);
|
|
2402
|
+
break;
|
|
2403
|
+
case 2:
|
|
2404
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2405
|
+
msg.setExitCode(value);
|
|
2406
|
+
break;
|
|
2407
|
+
case 3:
|
|
2408
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2409
|
+
msg.setTitle(value);
|
|
2410
|
+
break;
|
|
2411
|
+
case 4:
|
|
2412
|
+
var value = /** @type {!proto.supervisor.TerminalTitleSource} */ (reader.readEnum());
|
|
2413
|
+
msg.setTitleSource(value);
|
|
2414
|
+
break;
|
|
2415
|
+
default:
|
|
2416
|
+
reader.skipField();
|
|
2417
|
+
break;
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
return msg;
|
|
2421
|
+
};
|
|
2422
|
+
|
|
2423
|
+
|
|
2424
|
+
/**
|
|
2425
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2426
|
+
* @return {!Uint8Array}
|
|
2427
|
+
*/
|
|
2428
|
+
proto.supervisor.ListenTerminalResponse.prototype.serializeBinary = function() {
|
|
2429
|
+
var writer = new jspb.BinaryWriter();
|
|
2430
|
+
proto.supervisor.ListenTerminalResponse.serializeBinaryToWriter(this, writer);
|
|
2431
|
+
return writer.getResultBuffer();
|
|
2432
|
+
};
|
|
2433
|
+
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2437
|
+
* format), writing to the given BinaryWriter.
|
|
2438
|
+
* @param {!proto.supervisor.ListenTerminalResponse} message
|
|
2439
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2440
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2441
|
+
*/
|
|
2442
|
+
proto.supervisor.ListenTerminalResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2443
|
+
var f = undefined;
|
|
2444
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
|
|
2445
|
+
if (f != null) {
|
|
2446
|
+
writer.writeBytes(
|
|
2447
|
+
1,
|
|
2448
|
+
f
|
|
2449
|
+
);
|
|
2450
|
+
}
|
|
2451
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
2452
|
+
if (f != null) {
|
|
2453
|
+
writer.writeInt32(
|
|
2454
|
+
2,
|
|
2455
|
+
f
|
|
2456
|
+
);
|
|
2457
|
+
}
|
|
2458
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
2459
|
+
if (f != null) {
|
|
2460
|
+
writer.writeString(
|
|
2461
|
+
3,
|
|
2462
|
+
f
|
|
2463
|
+
);
|
|
2464
|
+
}
|
|
2465
|
+
f = message.getTitleSource();
|
|
2466
|
+
if (f !== 0.0) {
|
|
2467
|
+
writer.writeEnum(
|
|
2468
|
+
4,
|
|
2469
|
+
f
|
|
2470
|
+
);
|
|
2471
|
+
}
|
|
2472
|
+
};
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* optional bytes data = 1;
|
|
2477
|
+
* @return {!(string|Uint8Array)}
|
|
2478
|
+
*/
|
|
2479
|
+
proto.supervisor.ListenTerminalResponse.prototype.getData = function() {
|
|
2480
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2481
|
+
};
|
|
2482
|
+
|
|
2483
|
+
|
|
2484
|
+
/**
|
|
2485
|
+
* optional bytes data = 1;
|
|
2486
|
+
* This is a type-conversion wrapper around `getData()`
|
|
2487
|
+
* @return {string}
|
|
2488
|
+
*/
|
|
2489
|
+
proto.supervisor.ListenTerminalResponse.prototype.getData_asB64 = function() {
|
|
2490
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
2491
|
+
this.getData()));
|
|
2492
|
+
};
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
/**
|
|
2496
|
+
* optional bytes data = 1;
|
|
2497
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
2498
|
+
* @see http://caniuse.com/Uint8Array
|
|
2499
|
+
* This is a type-conversion wrapper around `getData()`
|
|
2500
|
+
* @return {!Uint8Array}
|
|
2501
|
+
*/
|
|
2502
|
+
proto.supervisor.ListenTerminalResponse.prototype.getData_asU8 = function() {
|
|
2503
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
2504
|
+
this.getData()));
|
|
2505
|
+
};
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* @param {!(string|Uint8Array)} value
|
|
2510
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2511
|
+
*/
|
|
2512
|
+
proto.supervisor.ListenTerminalResponse.prototype.setData = function(value) {
|
|
2513
|
+
return jspb.Message.setOneofField(this, 1, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
|
|
2514
|
+
};
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
/**
|
|
2518
|
+
* Clears the field making it undefined.
|
|
2519
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2520
|
+
*/
|
|
2521
|
+
proto.supervisor.ListenTerminalResponse.prototype.clearData = function() {
|
|
2522
|
+
return jspb.Message.setOneofField(this, 1, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
|
|
2523
|
+
};
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* Returns whether this field is set.
|
|
2528
|
+
* @return {boolean}
|
|
2529
|
+
*/
|
|
2530
|
+
proto.supervisor.ListenTerminalResponse.prototype.hasData = function() {
|
|
2531
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2532
|
+
};
|
|
2533
|
+
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* optional int32 exit_code = 2;
|
|
2537
|
+
* @return {number}
|
|
2538
|
+
*/
|
|
2539
|
+
proto.supervisor.ListenTerminalResponse.prototype.getExitCode = function() {
|
|
2540
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2541
|
+
};
|
|
2542
|
+
|
|
2543
|
+
|
|
2544
|
+
/**
|
|
2545
|
+
* @param {number} value
|
|
2546
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2547
|
+
*/
|
|
2548
|
+
proto.supervisor.ListenTerminalResponse.prototype.setExitCode = function(value) {
|
|
2549
|
+
return jspb.Message.setOneofField(this, 2, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
|
|
2550
|
+
};
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
/**
|
|
2554
|
+
* Clears the field making it undefined.
|
|
2555
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2556
|
+
*/
|
|
2557
|
+
proto.supervisor.ListenTerminalResponse.prototype.clearExitCode = function() {
|
|
2558
|
+
return jspb.Message.setOneofField(this, 2, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
|
|
2559
|
+
};
|
|
2560
|
+
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
* Returns whether this field is set.
|
|
2564
|
+
* @return {boolean}
|
|
2565
|
+
*/
|
|
2566
|
+
proto.supervisor.ListenTerminalResponse.prototype.hasExitCode = function() {
|
|
2567
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2568
|
+
};
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* optional string title = 3;
|
|
2573
|
+
* @return {string}
|
|
2574
|
+
*/
|
|
2575
|
+
proto.supervisor.ListenTerminalResponse.prototype.getTitle = function() {
|
|
2576
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2577
|
+
};
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
/**
|
|
2581
|
+
* @param {string} value
|
|
2582
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2583
|
+
*/
|
|
2584
|
+
proto.supervisor.ListenTerminalResponse.prototype.setTitle = function(value) {
|
|
2585
|
+
return jspb.Message.setOneofField(this, 3, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], value);
|
|
2586
|
+
};
|
|
2587
|
+
|
|
2588
|
+
|
|
2589
|
+
/**
|
|
2590
|
+
* Clears the field making it undefined.
|
|
2591
|
+
* @return {!proto.supervisor.ListenTerminalResponse} returns this
|
|
2592
|
+
*/
|
|
2593
|
+
proto.supervisor.ListenTerminalResponse.prototype.clearTitle = function() {
|
|
2594
|
+
return jspb.Message.setOneofField(this, 3, proto.supervisor.ListenTerminalResponse.oneofGroups_[0], undefined);
|
|
2595
|
+
};
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* Returns whether this field is set.
|
|
2600
|
+
* @return {boolean}
|
|
2601
|
+
*/
|
|
2602
|
+
proto.supervisor.ListenTerminalResponse.prototype.hasTitle = function() {
|
|
2603
|
+
return jspb.Message.getField(this, 3) != null;
|
|
2604
|
+
};
|
|
2605
|
+
|
|
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
|
+
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
|
|
2628
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2629
|
+
/**
|
|
2630
|
+
* Creates an object representation of this proto.
|
|
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.
|
|
2633
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2634
|
+
* For the list of reserved names please see:
|
|
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
|
|
2639
|
+
* @return {!Object}
|
|
2640
|
+
*/
|
|
2641
|
+
proto.supervisor.WriteTerminalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2642
|
+
return proto.supervisor.WriteTerminalRequest.toObject(opt_includeInstance, this);
|
|
2643
|
+
};
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* Static version of the {@see toObject} method.
|
|
2648
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2649
|
+
* the JSPB instance for transitional soy proto support:
|
|
2650
|
+
* http://goto/soy-param-migration
|
|
2651
|
+
* @param {!proto.supervisor.WriteTerminalRequest} msg The msg instance to transform.
|
|
2652
|
+
* @return {!Object}
|
|
2653
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2654
|
+
*/
|
|
2655
|
+
proto.supervisor.WriteTerminalRequest.toObject = function(includeInstance, msg) {
|
|
2656
|
+
var f, obj = {
|
|
2657
|
+
alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2658
|
+
stdin: msg.getStdin_asB64()
|
|
2659
|
+
};
|
|
2660
|
+
|
|
2661
|
+
if (includeInstance) {
|
|
2662
|
+
obj.$jspbMessageInstance = msg;
|
|
2663
|
+
}
|
|
2664
|
+
return obj;
|
|
2665
|
+
};
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
|
|
2669
|
+
/**
|
|
2670
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2671
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2672
|
+
* @return {!proto.supervisor.WriteTerminalRequest}
|
|
2673
|
+
*/
|
|
2674
|
+
proto.supervisor.WriteTerminalRequest.deserializeBinary = function(bytes) {
|
|
2675
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2676
|
+
var msg = new proto.supervisor.WriteTerminalRequest;
|
|
2677
|
+
return proto.supervisor.WriteTerminalRequest.deserializeBinaryFromReader(msg, reader);
|
|
2678
|
+
};
|
|
2679
|
+
|
|
2680
|
+
|
|
2681
|
+
/**
|
|
2682
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2683
|
+
* given reader into the given message object.
|
|
2684
|
+
* @param {!proto.supervisor.WriteTerminalRequest} msg The message object to deserialize into.
|
|
2685
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2686
|
+
* @return {!proto.supervisor.WriteTerminalRequest}
|
|
2687
|
+
*/
|
|
2688
|
+
proto.supervisor.WriteTerminalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2689
|
+
while (reader.nextField()) {
|
|
2690
|
+
if (reader.isEndGroup()) {
|
|
2691
|
+
break;
|
|
2692
|
+
}
|
|
2693
|
+
var field = reader.getFieldNumber();
|
|
2694
|
+
switch (field) {
|
|
2695
|
+
case 1:
|
|
2696
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2697
|
+
msg.setAlias(value);
|
|
2698
|
+
break;
|
|
2699
|
+
case 2:
|
|
2700
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
2701
|
+
msg.setStdin(value);
|
|
2702
|
+
break;
|
|
2703
|
+
default:
|
|
2704
|
+
reader.skipField();
|
|
2705
|
+
break;
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
return msg;
|
|
2709
|
+
};
|
|
2710
|
+
|
|
2711
|
+
|
|
2712
|
+
/**
|
|
2713
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2714
|
+
* @return {!Uint8Array}
|
|
2715
|
+
*/
|
|
2716
|
+
proto.supervisor.WriteTerminalRequest.prototype.serializeBinary = function() {
|
|
2717
|
+
var writer = new jspb.BinaryWriter();
|
|
2718
|
+
proto.supervisor.WriteTerminalRequest.serializeBinaryToWriter(this, writer);
|
|
2719
|
+
return writer.getResultBuffer();
|
|
2720
|
+
};
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
/**
|
|
2724
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2725
|
+
* format), writing to the given BinaryWriter.
|
|
2726
|
+
* @param {!proto.supervisor.WriteTerminalRequest} message
|
|
2727
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2728
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2729
|
+
*/
|
|
2730
|
+
proto.supervisor.WriteTerminalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2731
|
+
var f = undefined;
|
|
2732
|
+
f = message.getAlias();
|
|
2733
|
+
if (f.length > 0) {
|
|
2734
|
+
writer.writeString(
|
|
2735
|
+
1,
|
|
2736
|
+
f
|
|
2737
|
+
);
|
|
2738
|
+
}
|
|
2739
|
+
f = message.getStdin_asU8();
|
|
2740
|
+
if (f.length > 0) {
|
|
2741
|
+
writer.writeBytes(
|
|
2742
|
+
2,
|
|
2743
|
+
f
|
|
2744
|
+
);
|
|
2745
|
+
}
|
|
2746
|
+
};
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* optional string alias = 1;
|
|
2751
|
+
* @return {string}
|
|
2752
|
+
*/
|
|
2753
|
+
proto.supervisor.WriteTerminalRequest.prototype.getAlias = function() {
|
|
2754
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2755
|
+
};
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
/**
|
|
2759
|
+
* @param {string} value
|
|
2760
|
+
* @return {!proto.supervisor.WriteTerminalRequest} returns this
|
|
2761
|
+
*/
|
|
2762
|
+
proto.supervisor.WriteTerminalRequest.prototype.setAlias = function(value) {
|
|
2763
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2764
|
+
};
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
/**
|
|
2768
|
+
* optional bytes stdin = 2;
|
|
2769
|
+
* @return {!(string|Uint8Array)}
|
|
2770
|
+
*/
|
|
2771
|
+
proto.supervisor.WriteTerminalRequest.prototype.getStdin = function() {
|
|
2772
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2773
|
+
};
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
/**
|
|
2777
|
+
* optional bytes stdin = 2;
|
|
2778
|
+
* This is a type-conversion wrapper around `getStdin()`
|
|
2779
|
+
* @return {string}
|
|
2780
|
+
*/
|
|
2781
|
+
proto.supervisor.WriteTerminalRequest.prototype.getStdin_asB64 = function() {
|
|
2782
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
2783
|
+
this.getStdin()));
|
|
2784
|
+
};
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
/**
|
|
2788
|
+
* optional bytes stdin = 2;
|
|
2789
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
2790
|
+
* @see http://caniuse.com/Uint8Array
|
|
2791
|
+
* This is a type-conversion wrapper around `getStdin()`
|
|
2792
|
+
* @return {!Uint8Array}
|
|
2793
|
+
*/
|
|
2794
|
+
proto.supervisor.WriteTerminalRequest.prototype.getStdin_asU8 = function() {
|
|
2795
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
2796
|
+
this.getStdin()));
|
|
2797
|
+
};
|
|
2798
|
+
|
|
2799
|
+
|
|
2800
|
+
/**
|
|
2801
|
+
* @param {!(string|Uint8Array)} value
|
|
2802
|
+
* @return {!proto.supervisor.WriteTerminalRequest} returns this
|
|
2803
|
+
*/
|
|
2804
|
+
proto.supervisor.WriteTerminalRequest.prototype.setStdin = function(value) {
|
|
2805
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
2806
|
+
};
|
|
2807
|
+
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2813
|
+
/**
|
|
2814
|
+
* Creates an object representation of this proto.
|
|
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.
|
|
2817
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2818
|
+
* For the list of reserved names please see:
|
|
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
|
|
2823
|
+
* @return {!Object}
|
|
2824
|
+
*/
|
|
2825
|
+
proto.supervisor.WriteTerminalResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2826
|
+
return proto.supervisor.WriteTerminalResponse.toObject(opt_includeInstance, this);
|
|
2827
|
+
};
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
/**
|
|
2831
|
+
* Static version of the {@see toObject} method.
|
|
2832
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2833
|
+
* the JSPB instance for transitional soy proto support:
|
|
2834
|
+
* http://goto/soy-param-migration
|
|
2835
|
+
* @param {!proto.supervisor.WriteTerminalResponse} msg The msg instance to transform.
|
|
2836
|
+
* @return {!Object}
|
|
2837
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2838
|
+
*/
|
|
2839
|
+
proto.supervisor.WriteTerminalResponse.toObject = function(includeInstance, msg) {
|
|
2840
|
+
var f, obj = {
|
|
2841
|
+
bytesWritten: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
2842
|
+
};
|
|
2843
|
+
|
|
2844
|
+
if (includeInstance) {
|
|
2845
|
+
obj.$jspbMessageInstance = msg;
|
|
2846
|
+
}
|
|
2847
|
+
return obj;
|
|
2848
|
+
};
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
/**
|
|
2853
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2854
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2855
|
+
* @return {!proto.supervisor.WriteTerminalResponse}
|
|
2856
|
+
*/
|
|
2857
|
+
proto.supervisor.WriteTerminalResponse.deserializeBinary = function(bytes) {
|
|
2858
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2859
|
+
var msg = new proto.supervisor.WriteTerminalResponse;
|
|
2860
|
+
return proto.supervisor.WriteTerminalResponse.deserializeBinaryFromReader(msg, reader);
|
|
2861
|
+
};
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
/**
|
|
2865
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2866
|
+
* given reader into the given message object.
|
|
2867
|
+
* @param {!proto.supervisor.WriteTerminalResponse} msg The message object to deserialize into.
|
|
2868
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2869
|
+
* @return {!proto.supervisor.WriteTerminalResponse}
|
|
2870
|
+
*/
|
|
2871
|
+
proto.supervisor.WriteTerminalResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2872
|
+
while (reader.nextField()) {
|
|
2873
|
+
if (reader.isEndGroup()) {
|
|
2874
|
+
break;
|
|
2875
|
+
}
|
|
2876
|
+
var field = reader.getFieldNumber();
|
|
2877
|
+
switch (field) {
|
|
2878
|
+
case 1:
|
|
2879
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
2880
|
+
msg.setBytesWritten(value);
|
|
2881
|
+
break;
|
|
2882
|
+
default:
|
|
2883
|
+
reader.skipField();
|
|
2884
|
+
break;
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
return msg;
|
|
2888
|
+
};
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
/**
|
|
2892
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2893
|
+
* @return {!Uint8Array}
|
|
2894
|
+
*/
|
|
2895
|
+
proto.supervisor.WriteTerminalResponse.prototype.serializeBinary = function() {
|
|
2896
|
+
var writer = new jspb.BinaryWriter();
|
|
2897
|
+
proto.supervisor.WriteTerminalResponse.serializeBinaryToWriter(this, writer);
|
|
2898
|
+
return writer.getResultBuffer();
|
|
2899
|
+
};
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
/**
|
|
2903
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2904
|
+
* format), writing to the given BinaryWriter.
|
|
2905
|
+
* @param {!proto.supervisor.WriteTerminalResponse} message
|
|
2906
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2907
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2908
|
+
*/
|
|
2909
|
+
proto.supervisor.WriteTerminalResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2910
|
+
var f = undefined;
|
|
2911
|
+
f = message.getBytesWritten();
|
|
2912
|
+
if (f !== 0) {
|
|
2913
|
+
writer.writeUint32(
|
|
2914
|
+
1,
|
|
2915
|
+
f
|
|
2916
|
+
);
|
|
2917
|
+
}
|
|
2918
|
+
};
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* optional uint32 bytes_written = 1;
|
|
2923
|
+
* @return {number}
|
|
2924
|
+
*/
|
|
2925
|
+
proto.supervisor.WriteTerminalResponse.prototype.getBytesWritten = function() {
|
|
2926
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2927
|
+
};
|
|
2928
|
+
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* @param {number} value
|
|
2932
|
+
* @return {!proto.supervisor.WriteTerminalResponse} returns this
|
|
2933
|
+
*/
|
|
2934
|
+
proto.supervisor.WriteTerminalResponse.prototype.setBytesWritten = function(value) {
|
|
2935
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2936
|
+
};
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
/**
|
|
2941
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
2942
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
2943
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
2944
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
2945
|
+
* @private {!Array<!Array<number>>}
|
|
2946
|
+
* @const
|
|
2947
|
+
*/
|
|
2948
|
+
proto.supervisor.SetTerminalSizeRequest.oneofGroups_ = [[2,3]];
|
|
2949
|
+
|
|
2950
|
+
/**
|
|
2951
|
+
* @enum {number}
|
|
2952
|
+
*/
|
|
2953
|
+
proto.supervisor.SetTerminalSizeRequest.PriorityCase = {
|
|
2954
|
+
PRIORITY_NOT_SET: 0,
|
|
2955
|
+
TOKEN: 2,
|
|
2956
|
+
FORCE: 3
|
|
2957
|
+
};
|
|
2958
|
+
|
|
2959
|
+
/**
|
|
2960
|
+
* @return {proto.supervisor.SetTerminalSizeRequest.PriorityCase}
|
|
2961
|
+
*/
|
|
2962
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.getPriorityCase = function() {
|
|
2963
|
+
return /** @type {proto.supervisor.SetTerminalSizeRequest.PriorityCase} */(jspb.Message.computeOneofCase(this, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0]));
|
|
2964
|
+
};
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
|
|
2968
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2969
|
+
/**
|
|
2970
|
+
* Creates an object representation of this proto.
|
|
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.
|
|
2973
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2974
|
+
* For the list of reserved names please see:
|
|
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
|
|
2979
|
+
* @return {!Object}
|
|
2980
|
+
*/
|
|
2981
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2982
|
+
return proto.supervisor.SetTerminalSizeRequest.toObject(opt_includeInstance, this);
|
|
2983
|
+
};
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
/**
|
|
2987
|
+
* Static version of the {@see toObject} method.
|
|
2988
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2989
|
+
* the JSPB instance for transitional soy proto support:
|
|
2990
|
+
* http://goto/soy-param-migration
|
|
2991
|
+
* @param {!proto.supervisor.SetTerminalSizeRequest} msg The msg instance to transform.
|
|
2992
|
+
* @return {!Object}
|
|
2993
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2994
|
+
*/
|
|
2995
|
+
proto.supervisor.SetTerminalSizeRequest.toObject = function(includeInstance, msg) {
|
|
2996
|
+
var f, obj = {
|
|
2997
|
+
alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2998
|
+
token: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2999
|
+
force: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
3000
|
+
size: (f = msg.getSize()) && proto.supervisor.TerminalSize.toObject(includeInstance, f)
|
|
3001
|
+
};
|
|
3002
|
+
|
|
3003
|
+
if (includeInstance) {
|
|
3004
|
+
obj.$jspbMessageInstance = msg;
|
|
3005
|
+
}
|
|
3006
|
+
return obj;
|
|
3007
|
+
};
|
|
3008
|
+
}
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
/**
|
|
3012
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3013
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3014
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest}
|
|
3015
|
+
*/
|
|
3016
|
+
proto.supervisor.SetTerminalSizeRequest.deserializeBinary = function(bytes) {
|
|
3017
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3018
|
+
var msg = new proto.supervisor.SetTerminalSizeRequest;
|
|
3019
|
+
return proto.supervisor.SetTerminalSizeRequest.deserializeBinaryFromReader(msg, reader);
|
|
3020
|
+
};
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
/**
|
|
3024
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3025
|
+
* given reader into the given message object.
|
|
3026
|
+
* @param {!proto.supervisor.SetTerminalSizeRequest} msg The message object to deserialize into.
|
|
3027
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3028
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest}
|
|
3029
|
+
*/
|
|
3030
|
+
proto.supervisor.SetTerminalSizeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3031
|
+
while (reader.nextField()) {
|
|
3032
|
+
if (reader.isEndGroup()) {
|
|
3033
|
+
break;
|
|
3034
|
+
}
|
|
3035
|
+
var field = reader.getFieldNumber();
|
|
3036
|
+
switch (field) {
|
|
3037
|
+
case 1:
|
|
3038
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3039
|
+
msg.setAlias(value);
|
|
3040
|
+
break;
|
|
3041
|
+
case 2:
|
|
3042
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3043
|
+
msg.setToken(value);
|
|
3044
|
+
break;
|
|
3045
|
+
case 3:
|
|
3046
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3047
|
+
msg.setForce(value);
|
|
3048
|
+
break;
|
|
3049
|
+
case 4:
|
|
3050
|
+
var value = new proto.supervisor.TerminalSize;
|
|
3051
|
+
reader.readMessage(value,proto.supervisor.TerminalSize.deserializeBinaryFromReader);
|
|
3052
|
+
msg.setSize(value);
|
|
3053
|
+
break;
|
|
3054
|
+
default:
|
|
3055
|
+
reader.skipField();
|
|
3056
|
+
break;
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
return msg;
|
|
3060
|
+
};
|
|
3061
|
+
|
|
3062
|
+
|
|
3063
|
+
/**
|
|
3064
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3065
|
+
* @return {!Uint8Array}
|
|
1720
3066
|
*/
|
|
1721
|
-
proto.supervisor.
|
|
1722
|
-
|
|
1723
|
-
|
|
3067
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.serializeBinary = function() {
|
|
3068
|
+
var writer = new jspb.BinaryWriter();
|
|
3069
|
+
proto.supervisor.SetTerminalSizeRequest.serializeBinaryToWriter(this, writer);
|
|
3070
|
+
return writer.getResultBuffer();
|
|
1724
3071
|
};
|
|
1725
3072
|
|
|
1726
3073
|
|
|
1727
3074
|
/**
|
|
1728
|
-
*
|
|
1729
|
-
*
|
|
1730
|
-
* @
|
|
1731
|
-
*
|
|
1732
|
-
* @
|
|
3075
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3076
|
+
* format), writing to the given BinaryWriter.
|
|
3077
|
+
* @param {!proto.supervisor.SetTerminalSizeRequest} message
|
|
3078
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3079
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1733
3080
|
*/
|
|
1734
|
-
proto.supervisor.
|
|
1735
|
-
|
|
1736
|
-
|
|
3081
|
+
proto.supervisor.SetTerminalSizeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3082
|
+
var f = undefined;
|
|
3083
|
+
f = message.getAlias();
|
|
3084
|
+
if (f.length > 0) {
|
|
3085
|
+
writer.writeString(
|
|
3086
|
+
1,
|
|
3087
|
+
f
|
|
3088
|
+
);
|
|
3089
|
+
}
|
|
3090
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
3091
|
+
if (f != null) {
|
|
3092
|
+
writer.writeString(
|
|
3093
|
+
2,
|
|
3094
|
+
f
|
|
3095
|
+
);
|
|
3096
|
+
}
|
|
3097
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
3098
|
+
if (f != null) {
|
|
3099
|
+
writer.writeBool(
|
|
3100
|
+
3,
|
|
3101
|
+
f
|
|
3102
|
+
);
|
|
3103
|
+
}
|
|
3104
|
+
f = message.getSize();
|
|
3105
|
+
if (f != null) {
|
|
3106
|
+
writer.writeMessage(
|
|
3107
|
+
4,
|
|
3108
|
+
f,
|
|
3109
|
+
proto.supervisor.TerminalSize.serializeBinaryToWriter
|
|
3110
|
+
);
|
|
3111
|
+
}
|
|
3112
|
+
};
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* optional string alias = 1;
|
|
3117
|
+
* @return {string}
|
|
3118
|
+
*/
|
|
3119
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.getAlias = function() {
|
|
3120
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3121
|
+
};
|
|
3122
|
+
|
|
3123
|
+
|
|
3124
|
+
/**
|
|
3125
|
+
* @param {string} value
|
|
3126
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
3127
|
+
*/
|
|
3128
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.setAlias = function(value) {
|
|
3129
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3130
|
+
};
|
|
3131
|
+
|
|
3132
|
+
|
|
3133
|
+
/**
|
|
3134
|
+
* optional string token = 2;
|
|
3135
|
+
* @return {string}
|
|
3136
|
+
*/
|
|
3137
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.getToken = function() {
|
|
3138
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1737
3139
|
};
|
|
1738
3140
|
|
|
1739
3141
|
|
|
1740
|
-
/**
|
|
1741
|
-
|
|
1742
|
-
|
|
3142
|
+
/**
|
|
3143
|
+
* @param {string} value
|
|
3144
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
3145
|
+
*/
|
|
3146
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.setToken = function(value) {
|
|
3147
|
+
return jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
|
|
1743
3148
|
};
|
|
1744
3149
|
|
|
1745
3150
|
|
|
1746
3151
|
/**
|
|
1747
3152
|
* Clears the field making it undefined.
|
|
3153
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
1748
3154
|
*/
|
|
1749
|
-
proto.supervisor.
|
|
1750
|
-
jspb.Message.setOneofField(this,
|
|
3155
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.clearToken = function() {
|
|
3156
|
+
return jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
|
|
1751
3157
|
};
|
|
1752
3158
|
|
|
1753
3159
|
|
|
@@ -1755,55 +3161,72 @@ proto.supervisor.ListenTerminalResponse.prototype.clearStdout = function() {
|
|
|
1755
3161
|
* Returns whether this field is set.
|
|
1756
3162
|
* @return {boolean}
|
|
1757
3163
|
*/
|
|
1758
|
-
proto.supervisor.
|
|
1759
|
-
return jspb.Message.getField(this,
|
|
3164
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.hasToken = function() {
|
|
3165
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1760
3166
|
};
|
|
1761
3167
|
|
|
1762
3168
|
|
|
1763
3169
|
/**
|
|
1764
|
-
* optional
|
|
1765
|
-
* @return {
|
|
3170
|
+
* optional bool force = 3;
|
|
3171
|
+
* @return {boolean}
|
|
1766
3172
|
*/
|
|
1767
|
-
proto.supervisor.
|
|
1768
|
-
return /** @type {
|
|
3173
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.getForce = function() {
|
|
3174
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
1769
3175
|
};
|
|
1770
3176
|
|
|
1771
3177
|
|
|
1772
3178
|
/**
|
|
1773
|
-
*
|
|
1774
|
-
*
|
|
1775
|
-
* @return {string}
|
|
3179
|
+
* @param {boolean} value
|
|
3180
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
1776
3181
|
*/
|
|
1777
|
-
proto.supervisor.
|
|
1778
|
-
return
|
|
1779
|
-
this.getStderr()));
|
|
3182
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.setForce = function(value) {
|
|
3183
|
+
return jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
|
|
1780
3184
|
};
|
|
1781
3185
|
|
|
1782
3186
|
|
|
1783
3187
|
/**
|
|
1784
|
-
*
|
|
1785
|
-
*
|
|
1786
|
-
* @see http://caniuse.com/Uint8Array
|
|
1787
|
-
* This is a type-conversion wrapper around `getStderr()`
|
|
1788
|
-
* @return {!Uint8Array}
|
|
3188
|
+
* Clears the field making it undefined.
|
|
3189
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
1789
3190
|
*/
|
|
1790
|
-
proto.supervisor.
|
|
1791
|
-
return
|
|
1792
|
-
|
|
3191
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.clearForce = function() {
|
|
3192
|
+
return jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
|
|
3193
|
+
};
|
|
3194
|
+
|
|
3195
|
+
|
|
3196
|
+
/**
|
|
3197
|
+
* Returns whether this field is set.
|
|
3198
|
+
* @return {boolean}
|
|
3199
|
+
*/
|
|
3200
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.hasForce = function() {
|
|
3201
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1793
3202
|
};
|
|
1794
3203
|
|
|
1795
3204
|
|
|
1796
|
-
/**
|
|
1797
|
-
|
|
1798
|
-
|
|
3205
|
+
/**
|
|
3206
|
+
* optional TerminalSize size = 4;
|
|
3207
|
+
* @return {?proto.supervisor.TerminalSize}
|
|
3208
|
+
*/
|
|
3209
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.getSize = function() {
|
|
3210
|
+
return /** @type{?proto.supervisor.TerminalSize} */ (
|
|
3211
|
+
jspb.Message.getWrapperField(this, proto.supervisor.TerminalSize, 4));
|
|
1799
3212
|
};
|
|
1800
3213
|
|
|
1801
3214
|
|
|
1802
3215
|
/**
|
|
1803
|
-
*
|
|
3216
|
+
* @param {?proto.supervisor.TerminalSize|undefined} value
|
|
3217
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
3218
|
+
*/
|
|
3219
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.setSize = function(value) {
|
|
3220
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
3221
|
+
};
|
|
3222
|
+
|
|
3223
|
+
|
|
3224
|
+
/**
|
|
3225
|
+
* Clears the message field making it undefined.
|
|
3226
|
+
* @return {!proto.supervisor.SetTerminalSizeRequest} returns this
|
|
1804
3227
|
*/
|
|
1805
|
-
proto.supervisor.
|
|
1806
|
-
|
|
3228
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.clearSize = function() {
|
|
3229
|
+
return this.setSize(undefined);
|
|
1807
3230
|
};
|
|
1808
3231
|
|
|
1809
3232
|
|
|
@@ -1811,8 +3234,8 @@ proto.supervisor.ListenTerminalResponse.prototype.clearStderr = function() {
|
|
|
1811
3234
|
* Returns whether this field is set.
|
|
1812
3235
|
* @return {boolean}
|
|
1813
3236
|
*/
|
|
1814
|
-
proto.supervisor.
|
|
1815
|
-
return jspb.Message.getField(this,
|
|
3237
|
+
proto.supervisor.SetTerminalSizeRequest.prototype.hasSize = function() {
|
|
3238
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1816
3239
|
};
|
|
1817
3240
|
|
|
1818
3241
|
|
|
@@ -1821,33 +3244,136 @@ proto.supervisor.ListenTerminalResponse.prototype.hasStderr = function() {
|
|
|
1821
3244
|
|
|
1822
3245
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1823
3246
|
/**
|
|
1824
|
-
* Creates an object representation of this proto
|
|
3247
|
+
* Creates an object representation of this proto.
|
|
1825
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.
|
|
1826
3250
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1827
3251
|
* For the list of reserved names please see:
|
|
1828
|
-
*
|
|
1829
|
-
* @param {boolean=} opt_includeInstance
|
|
1830
|
-
* 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
|
|
1831
3256
|
* @return {!Object}
|
|
1832
3257
|
*/
|
|
1833
|
-
proto.supervisor.
|
|
1834
|
-
return proto.supervisor.
|
|
3258
|
+
proto.supervisor.SetTerminalSizeResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3259
|
+
return proto.supervisor.SetTerminalSizeResponse.toObject(opt_includeInstance, this);
|
|
1835
3260
|
};
|
|
1836
3261
|
|
|
1837
3262
|
|
|
1838
3263
|
/**
|
|
1839
3264
|
* Static version of the {@see toObject} method.
|
|
1840
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
1841
|
-
* instance for transitional soy proto support:
|
|
3265
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3266
|
+
* the JSPB instance for transitional soy proto support:
|
|
1842
3267
|
* http://goto/soy-param-migration
|
|
1843
|
-
* @param {!proto.supervisor.
|
|
3268
|
+
* @param {!proto.supervisor.SetTerminalSizeResponse} msg The msg instance to transform.
|
|
1844
3269
|
* @return {!Object}
|
|
1845
3270
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1846
3271
|
*/
|
|
1847
|
-
proto.supervisor.
|
|
3272
|
+
proto.supervisor.SetTerminalSizeResponse.toObject = function(includeInstance, msg) {
|
|
3273
|
+
var f, obj = {
|
|
3274
|
+
|
|
3275
|
+
};
|
|
3276
|
+
|
|
3277
|
+
if (includeInstance) {
|
|
3278
|
+
obj.$jspbMessageInstance = msg;
|
|
3279
|
+
}
|
|
3280
|
+
return obj;
|
|
3281
|
+
};
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3287
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3288
|
+
* @return {!proto.supervisor.SetTerminalSizeResponse}
|
|
3289
|
+
*/
|
|
3290
|
+
proto.supervisor.SetTerminalSizeResponse.deserializeBinary = function(bytes) {
|
|
3291
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3292
|
+
var msg = new proto.supervisor.SetTerminalSizeResponse;
|
|
3293
|
+
return proto.supervisor.SetTerminalSizeResponse.deserializeBinaryFromReader(msg, reader);
|
|
3294
|
+
};
|
|
3295
|
+
|
|
3296
|
+
|
|
3297
|
+
/**
|
|
3298
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3299
|
+
* given reader into the given message object.
|
|
3300
|
+
* @param {!proto.supervisor.SetTerminalSizeResponse} msg The message object to deserialize into.
|
|
3301
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3302
|
+
* @return {!proto.supervisor.SetTerminalSizeResponse}
|
|
3303
|
+
*/
|
|
3304
|
+
proto.supervisor.SetTerminalSizeResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3305
|
+
while (reader.nextField()) {
|
|
3306
|
+
if (reader.isEndGroup()) {
|
|
3307
|
+
break;
|
|
3308
|
+
}
|
|
3309
|
+
var field = reader.getFieldNumber();
|
|
3310
|
+
switch (field) {
|
|
3311
|
+
default:
|
|
3312
|
+
reader.skipField();
|
|
3313
|
+
break;
|
|
3314
|
+
}
|
|
3315
|
+
}
|
|
3316
|
+
return msg;
|
|
3317
|
+
};
|
|
3318
|
+
|
|
3319
|
+
|
|
3320
|
+
/**
|
|
3321
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3322
|
+
* @return {!Uint8Array}
|
|
3323
|
+
*/
|
|
3324
|
+
proto.supervisor.SetTerminalSizeResponse.prototype.serializeBinary = function() {
|
|
3325
|
+
var writer = new jspb.BinaryWriter();
|
|
3326
|
+
proto.supervisor.SetTerminalSizeResponse.serializeBinaryToWriter(this, writer);
|
|
3327
|
+
return writer.getResultBuffer();
|
|
3328
|
+
};
|
|
3329
|
+
|
|
3330
|
+
|
|
3331
|
+
/**
|
|
3332
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3333
|
+
* format), writing to the given BinaryWriter.
|
|
3334
|
+
* @param {!proto.supervisor.SetTerminalSizeResponse} message
|
|
3335
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3336
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3337
|
+
*/
|
|
3338
|
+
proto.supervisor.SetTerminalSizeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3339
|
+
var f = undefined;
|
|
3340
|
+
};
|
|
3341
|
+
|
|
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) {
|
|
1848
3374
|
var f, obj = {
|
|
1849
3375
|
alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1850
|
-
|
|
3376
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1851
3377
|
};
|
|
1852
3378
|
|
|
1853
3379
|
if (includeInstance) {
|
|
@@ -1861,23 +3387,23 @@ proto.supervisor.WriteTerminalRequest.toObject = function(includeInstance, msg)
|
|
|
1861
3387
|
/**
|
|
1862
3388
|
* Deserializes binary data (in protobuf wire format).
|
|
1863
3389
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1864
|
-
* @return {!proto.supervisor.
|
|
3390
|
+
* @return {!proto.supervisor.SetTerminalTitleRequest}
|
|
1865
3391
|
*/
|
|
1866
|
-
proto.supervisor.
|
|
3392
|
+
proto.supervisor.SetTerminalTitleRequest.deserializeBinary = function(bytes) {
|
|
1867
3393
|
var reader = new jspb.BinaryReader(bytes);
|
|
1868
|
-
var msg = new proto.supervisor.
|
|
1869
|
-
return proto.supervisor.
|
|
3394
|
+
var msg = new proto.supervisor.SetTerminalTitleRequest;
|
|
3395
|
+
return proto.supervisor.SetTerminalTitleRequest.deserializeBinaryFromReader(msg, reader);
|
|
1870
3396
|
};
|
|
1871
3397
|
|
|
1872
3398
|
|
|
1873
3399
|
/**
|
|
1874
3400
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1875
3401
|
* given reader into the given message object.
|
|
1876
|
-
* @param {!proto.supervisor.
|
|
3402
|
+
* @param {!proto.supervisor.SetTerminalTitleRequest} msg The message object to deserialize into.
|
|
1877
3403
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1878
|
-
* @return {!proto.supervisor.
|
|
3404
|
+
* @return {!proto.supervisor.SetTerminalTitleRequest}
|
|
1879
3405
|
*/
|
|
1880
|
-
proto.supervisor.
|
|
3406
|
+
proto.supervisor.SetTerminalTitleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1881
3407
|
while (reader.nextField()) {
|
|
1882
3408
|
if (reader.isEndGroup()) {
|
|
1883
3409
|
break;
|
|
@@ -1889,8 +3415,8 @@ proto.supervisor.WriteTerminalRequest.deserializeBinaryFromReader = function(msg
|
|
|
1889
3415
|
msg.setAlias(value);
|
|
1890
3416
|
break;
|
|
1891
3417
|
case 2:
|
|
1892
|
-
var value = /** @type {
|
|
1893
|
-
msg.
|
|
3418
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3419
|
+
msg.setTitle(value);
|
|
1894
3420
|
break;
|
|
1895
3421
|
default:
|
|
1896
3422
|
reader.skipField();
|
|
@@ -1905,9 +3431,9 @@ proto.supervisor.WriteTerminalRequest.deserializeBinaryFromReader = function(msg
|
|
|
1905
3431
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1906
3432
|
* @return {!Uint8Array}
|
|
1907
3433
|
*/
|
|
1908
|
-
proto.supervisor.
|
|
3434
|
+
proto.supervisor.SetTerminalTitleRequest.prototype.serializeBinary = function() {
|
|
1909
3435
|
var writer = new jspb.BinaryWriter();
|
|
1910
|
-
proto.supervisor.
|
|
3436
|
+
proto.supervisor.SetTerminalTitleRequest.serializeBinaryToWriter(this, writer);
|
|
1911
3437
|
return writer.getResultBuffer();
|
|
1912
3438
|
};
|
|
1913
3439
|
|
|
@@ -1915,11 +3441,11 @@ proto.supervisor.WriteTerminalRequest.prototype.serializeBinary = function() {
|
|
|
1915
3441
|
/**
|
|
1916
3442
|
* Serializes the given message to binary data (in protobuf wire
|
|
1917
3443
|
* format), writing to the given BinaryWriter.
|
|
1918
|
-
* @param {!proto.supervisor.
|
|
3444
|
+
* @param {!proto.supervisor.SetTerminalTitleRequest} message
|
|
1919
3445
|
* @param {!jspb.BinaryWriter} writer
|
|
1920
3446
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1921
3447
|
*/
|
|
1922
|
-
proto.supervisor.
|
|
3448
|
+
proto.supervisor.SetTerminalTitleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1923
3449
|
var f = undefined;
|
|
1924
3450
|
f = message.getAlias();
|
|
1925
3451
|
if (f.length > 0) {
|
|
@@ -1928,9 +3454,9 @@ proto.supervisor.WriteTerminalRequest.serializeBinaryToWriter = function(message
|
|
|
1928
3454
|
f
|
|
1929
3455
|
);
|
|
1930
3456
|
}
|
|
1931
|
-
f = message.
|
|
3457
|
+
f = message.getTitle();
|
|
1932
3458
|
if (f.length > 0) {
|
|
1933
|
-
writer.
|
|
3459
|
+
writer.writeString(
|
|
1934
3460
|
2,
|
|
1935
3461
|
f
|
|
1936
3462
|
);
|
|
@@ -1942,53 +3468,35 @@ proto.supervisor.WriteTerminalRequest.serializeBinaryToWriter = function(message
|
|
|
1942
3468
|
* optional string alias = 1;
|
|
1943
3469
|
* @return {string}
|
|
1944
3470
|
*/
|
|
1945
|
-
proto.supervisor.
|
|
3471
|
+
proto.supervisor.SetTerminalTitleRequest.prototype.getAlias = function() {
|
|
1946
3472
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1947
3473
|
};
|
|
1948
3474
|
|
|
1949
3475
|
|
|
1950
|
-
/** @param {string} value */
|
|
1951
|
-
proto.supervisor.WriteTerminalRequest.prototype.setAlias = function(value) {
|
|
1952
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
1953
|
-
};
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
/**
|
|
1957
|
-
* optional bytes stdin = 2;
|
|
1958
|
-
* @return {!(string|Uint8Array)}
|
|
1959
|
-
*/
|
|
1960
|
-
proto.supervisor.WriteTerminalRequest.prototype.getStdin = function() {
|
|
1961
|
-
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1962
|
-
};
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
3476
|
/**
|
|
1966
|
-
*
|
|
1967
|
-
*
|
|
1968
|
-
* @return {string}
|
|
3477
|
+
* @param {string} value
|
|
3478
|
+
* @return {!proto.supervisor.SetTerminalTitleRequest} returns this
|
|
1969
3479
|
*/
|
|
1970
|
-
proto.supervisor.
|
|
1971
|
-
return
|
|
1972
|
-
this.getStdin()));
|
|
3480
|
+
proto.supervisor.SetTerminalTitleRequest.prototype.setAlias = function(value) {
|
|
3481
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1973
3482
|
};
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
/**
|
|
1977
|
-
* optional
|
|
1978
|
-
*
|
|
1979
|
-
* @see http://caniuse.com/Uint8Array
|
|
1980
|
-
* This is a type-conversion wrapper around `getStdin()`
|
|
1981
|
-
* @return {!Uint8Array}
|
|
3483
|
+
|
|
3484
|
+
|
|
3485
|
+
/**
|
|
3486
|
+
* optional string title = 2;
|
|
3487
|
+
* @return {string}
|
|
1982
3488
|
*/
|
|
1983
|
-
proto.supervisor.
|
|
1984
|
-
return /** @type {
|
|
1985
|
-
this.getStdin()));
|
|
3489
|
+
proto.supervisor.SetTerminalTitleRequest.prototype.getTitle = function() {
|
|
3490
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1986
3491
|
};
|
|
1987
3492
|
|
|
1988
3493
|
|
|
1989
|
-
/**
|
|
1990
|
-
|
|
1991
|
-
|
|
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);
|
|
1992
3500
|
};
|
|
1993
3501
|
|
|
1994
3502
|
|
|
@@ -1997,32 +3505,34 @@ proto.supervisor.WriteTerminalRequest.prototype.setStdin = function(value) {
|
|
|
1997
3505
|
|
|
1998
3506
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1999
3507
|
/**
|
|
2000
|
-
* Creates an object representation of this proto
|
|
3508
|
+
* Creates an object representation of this proto.
|
|
2001
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.
|
|
2002
3511
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2003
3512
|
* For the list of reserved names please see:
|
|
2004
|
-
*
|
|
2005
|
-
* @param {boolean=} opt_includeInstance
|
|
2006
|
-
* for transitional soy proto support:
|
|
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
|
|
2007
3517
|
* @return {!Object}
|
|
2008
3518
|
*/
|
|
2009
|
-
proto.supervisor.
|
|
2010
|
-
return proto.supervisor.
|
|
3519
|
+
proto.supervisor.SetTerminalTitleResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3520
|
+
return proto.supervisor.SetTerminalTitleResponse.toObject(opt_includeInstance, this);
|
|
2011
3521
|
};
|
|
2012
3522
|
|
|
2013
3523
|
|
|
2014
3524
|
/**
|
|
2015
3525
|
* Static version of the {@see toObject} method.
|
|
2016
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2017
|
-
* instance for transitional soy proto support:
|
|
3526
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3527
|
+
* the JSPB instance for transitional soy proto support:
|
|
2018
3528
|
* http://goto/soy-param-migration
|
|
2019
|
-
* @param {!proto.supervisor.
|
|
3529
|
+
* @param {!proto.supervisor.SetTerminalTitleResponse} msg The msg instance to transform.
|
|
2020
3530
|
* @return {!Object}
|
|
2021
3531
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2022
3532
|
*/
|
|
2023
|
-
proto.supervisor.
|
|
3533
|
+
proto.supervisor.SetTerminalTitleResponse.toObject = function(includeInstance, msg) {
|
|
2024
3534
|
var f, obj = {
|
|
2025
|
-
|
|
3535
|
+
|
|
2026
3536
|
};
|
|
2027
3537
|
|
|
2028
3538
|
if (includeInstance) {
|
|
@@ -2036,33 +3546,29 @@ proto.supervisor.WriteTerminalResponse.toObject = function(includeInstance, msg)
|
|
|
2036
3546
|
/**
|
|
2037
3547
|
* Deserializes binary data (in protobuf wire format).
|
|
2038
3548
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2039
|
-
* @return {!proto.supervisor.
|
|
3549
|
+
* @return {!proto.supervisor.SetTerminalTitleResponse}
|
|
2040
3550
|
*/
|
|
2041
|
-
proto.supervisor.
|
|
3551
|
+
proto.supervisor.SetTerminalTitleResponse.deserializeBinary = function(bytes) {
|
|
2042
3552
|
var reader = new jspb.BinaryReader(bytes);
|
|
2043
|
-
var msg = new proto.supervisor.
|
|
2044
|
-
return proto.supervisor.
|
|
3553
|
+
var msg = new proto.supervisor.SetTerminalTitleResponse;
|
|
3554
|
+
return proto.supervisor.SetTerminalTitleResponse.deserializeBinaryFromReader(msg, reader);
|
|
2045
3555
|
};
|
|
2046
3556
|
|
|
2047
3557
|
|
|
2048
3558
|
/**
|
|
2049
3559
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2050
3560
|
* given reader into the given message object.
|
|
2051
|
-
* @param {!proto.supervisor.
|
|
3561
|
+
* @param {!proto.supervisor.SetTerminalTitleResponse} msg The message object to deserialize into.
|
|
2052
3562
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2053
|
-
* @return {!proto.supervisor.
|
|
3563
|
+
* @return {!proto.supervisor.SetTerminalTitleResponse}
|
|
2054
3564
|
*/
|
|
2055
|
-
proto.supervisor.
|
|
3565
|
+
proto.supervisor.SetTerminalTitleResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2056
3566
|
while (reader.nextField()) {
|
|
2057
3567
|
if (reader.isEndGroup()) {
|
|
2058
3568
|
break;
|
|
2059
3569
|
}
|
|
2060
3570
|
var field = reader.getFieldNumber();
|
|
2061
3571
|
switch (field) {
|
|
2062
|
-
case 1:
|
|
2063
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
2064
|
-
msg.setBytesWritten(value);
|
|
2065
|
-
break;
|
|
2066
3572
|
default:
|
|
2067
3573
|
reader.skipField();
|
|
2068
3574
|
break;
|
|
@@ -2076,9 +3582,9 @@ proto.supervisor.WriteTerminalResponse.deserializeBinaryFromReader = function(ms
|
|
|
2076
3582
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2077
3583
|
* @return {!Uint8Array}
|
|
2078
3584
|
*/
|
|
2079
|
-
proto.supervisor.
|
|
3585
|
+
proto.supervisor.SetTerminalTitleResponse.prototype.serializeBinary = function() {
|
|
2080
3586
|
var writer = new jspb.BinaryWriter();
|
|
2081
|
-
proto.supervisor.
|
|
3587
|
+
proto.supervisor.SetTerminalTitleResponse.serializeBinaryToWriter(this, writer);
|
|
2082
3588
|
return writer.getResultBuffer();
|
|
2083
3589
|
};
|
|
2084
3590
|
|
|
@@ -2086,100 +3592,57 @@ proto.supervisor.WriteTerminalResponse.prototype.serializeBinary = function() {
|
|
|
2086
3592
|
/**
|
|
2087
3593
|
* Serializes the given message to binary data (in protobuf wire
|
|
2088
3594
|
* format), writing to the given BinaryWriter.
|
|
2089
|
-
* @param {!proto.supervisor.
|
|
3595
|
+
* @param {!proto.supervisor.SetTerminalTitleResponse} message
|
|
2090
3596
|
* @param {!jspb.BinaryWriter} writer
|
|
2091
3597
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2092
3598
|
*/
|
|
2093
|
-
proto.supervisor.
|
|
3599
|
+
proto.supervisor.SetTerminalTitleResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2094
3600
|
var f = undefined;
|
|
2095
|
-
f = message.getBytesWritten();
|
|
2096
|
-
if (f !== 0) {
|
|
2097
|
-
writer.writeUint32(
|
|
2098
|
-
1,
|
|
2099
|
-
f
|
|
2100
|
-
);
|
|
2101
|
-
}
|
|
2102
|
-
};
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
/**
|
|
2106
|
-
* optional uint32 bytes_written = 1;
|
|
2107
|
-
* @return {number}
|
|
2108
|
-
*/
|
|
2109
|
-
proto.supervisor.WriteTerminalResponse.prototype.getBytesWritten = function() {
|
|
2110
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2111
|
-
};
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
/** @param {number} value */
|
|
2115
|
-
proto.supervisor.WriteTerminalResponse.prototype.setBytesWritten = function(value) {
|
|
2116
|
-
jspb.Message.setProto3IntField(this, 1, value);
|
|
2117
3601
|
};
|
|
2118
3602
|
|
|
2119
3603
|
|
|
2120
3604
|
|
|
2121
3605
|
/**
|
|
2122
|
-
*
|
|
2123
|
-
*
|
|
2124
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
2125
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
2126
|
-
* @private {!Array<!Array<number>>}
|
|
3606
|
+
* List of repeated fields within this message type.
|
|
3607
|
+
* @private {!Array<number>}
|
|
2127
3608
|
* @const
|
|
2128
3609
|
*/
|
|
2129
|
-
proto.supervisor.
|
|
2130
|
-
|
|
2131
|
-
/**
|
|
2132
|
-
* @enum {number}
|
|
2133
|
-
*/
|
|
2134
|
-
proto.supervisor.SetTerminalSizeRequest.PriorityCase = {
|
|
2135
|
-
PRIORITY_NOT_SET: 0,
|
|
2136
|
-
TOKEN: 2,
|
|
2137
|
-
FORCE: 3
|
|
2138
|
-
};
|
|
2139
|
-
|
|
2140
|
-
/**
|
|
2141
|
-
* @return {proto.supervisor.SetTerminalSizeRequest.PriorityCase}
|
|
2142
|
-
*/
|
|
2143
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.getPriorityCase = function() {
|
|
2144
|
-
return /** @type {proto.supervisor.SetTerminalSizeRequest.PriorityCase} */(jspb.Message.computeOneofCase(this, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0]));
|
|
2145
|
-
};
|
|
3610
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.repeatedFields_ = [3];
|
|
2146
3611
|
|
|
2147
3612
|
|
|
2148
3613
|
|
|
2149
3614
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2150
3615
|
/**
|
|
2151
|
-
* Creates an object representation of this proto
|
|
3616
|
+
* Creates an object representation of this proto.
|
|
2152
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.
|
|
2153
3619
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2154
3620
|
* For the list of reserved names please see:
|
|
2155
|
-
*
|
|
2156
|
-
* @param {boolean=} opt_includeInstance
|
|
2157
|
-
* for transitional soy proto support:
|
|
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
|
|
2158
3625
|
* @return {!Object}
|
|
2159
3626
|
*/
|
|
2160
|
-
proto.supervisor.
|
|
2161
|
-
return proto.supervisor.
|
|
3627
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3628
|
+
return proto.supervisor.UpdateTerminalAnnotationsRequest.toObject(opt_includeInstance, this);
|
|
2162
3629
|
};
|
|
2163
3630
|
|
|
2164
3631
|
|
|
2165
3632
|
/**
|
|
2166
3633
|
* Static version of the {@see toObject} method.
|
|
2167
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2168
|
-
* instance for transitional soy proto support:
|
|
3634
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3635
|
+
* the JSPB instance for transitional soy proto support:
|
|
2169
3636
|
* http://goto/soy-param-migration
|
|
2170
|
-
* @param {!proto.supervisor.
|
|
3637
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsRequest} msg The msg instance to transform.
|
|
2171
3638
|
* @return {!Object}
|
|
2172
3639
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2173
3640
|
*/
|
|
2174
|
-
proto.supervisor.
|
|
3641
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.toObject = function(includeInstance, msg) {
|
|
2175
3642
|
var f, obj = {
|
|
2176
3643
|
alias: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
rows: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2180
|
-
cols: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
2181
|
-
widthpx: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
2182
|
-
heightpx: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
3644
|
+
changedMap: (f = msg.getChangedMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
3645
|
+
deletedList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
2183
3646
|
};
|
|
2184
3647
|
|
|
2185
3648
|
if (includeInstance) {
|
|
@@ -2193,23 +3656,23 @@ proto.supervisor.SetTerminalSizeRequest.toObject = function(includeInstance, msg
|
|
|
2193
3656
|
/**
|
|
2194
3657
|
* Deserializes binary data (in protobuf wire format).
|
|
2195
3658
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2196
|
-
* @return {!proto.supervisor.
|
|
3659
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest}
|
|
2197
3660
|
*/
|
|
2198
|
-
proto.supervisor.
|
|
3661
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.deserializeBinary = function(bytes) {
|
|
2199
3662
|
var reader = new jspb.BinaryReader(bytes);
|
|
2200
|
-
var msg = new proto.supervisor.
|
|
2201
|
-
return proto.supervisor.
|
|
3663
|
+
var msg = new proto.supervisor.UpdateTerminalAnnotationsRequest;
|
|
3664
|
+
return proto.supervisor.UpdateTerminalAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
2202
3665
|
};
|
|
2203
3666
|
|
|
2204
3667
|
|
|
2205
3668
|
/**
|
|
2206
3669
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2207
3670
|
* given reader into the given message object.
|
|
2208
|
-
* @param {!proto.supervisor.
|
|
3671
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsRequest} msg The message object to deserialize into.
|
|
2209
3672
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2210
|
-
* @return {!proto.supervisor.
|
|
3673
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest}
|
|
2211
3674
|
*/
|
|
2212
|
-
proto.supervisor.
|
|
3675
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2213
3676
|
while (reader.nextField()) {
|
|
2214
3677
|
if (reader.isEndGroup()) {
|
|
2215
3678
|
break;
|
|
@@ -2221,28 +3684,14 @@ proto.supervisor.SetTerminalSizeRequest.deserializeBinaryFromReader = function(m
|
|
|
2221
3684
|
msg.setAlias(value);
|
|
2222
3685
|
break;
|
|
2223
3686
|
case 2:
|
|
2224
|
-
var value =
|
|
2225
|
-
|
|
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
|
+
});
|
|
2226
3691
|
break;
|
|
2227
3692
|
case 3:
|
|
2228
|
-
var value = /** @type {
|
|
2229
|
-
msg.
|
|
2230
|
-
break;
|
|
2231
|
-
case 4:
|
|
2232
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
2233
|
-
msg.setRows(value);
|
|
2234
|
-
break;
|
|
2235
|
-
case 5:
|
|
2236
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
2237
|
-
msg.setCols(value);
|
|
2238
|
-
break;
|
|
2239
|
-
case 6:
|
|
2240
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
2241
|
-
msg.setWidthpx(value);
|
|
2242
|
-
break;
|
|
2243
|
-
case 7:
|
|
2244
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
2245
|
-
msg.setHeightpx(value);
|
|
3693
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3694
|
+
msg.addDeleted(value);
|
|
2246
3695
|
break;
|
|
2247
3696
|
default:
|
|
2248
3697
|
reader.skipField();
|
|
@@ -2257,9 +3706,9 @@ proto.supervisor.SetTerminalSizeRequest.deserializeBinaryFromReader = function(m
|
|
|
2257
3706
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2258
3707
|
* @return {!Uint8Array}
|
|
2259
3708
|
*/
|
|
2260
|
-
proto.supervisor.
|
|
3709
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.serializeBinary = function() {
|
|
2261
3710
|
var writer = new jspb.BinaryWriter();
|
|
2262
|
-
proto.supervisor.
|
|
3711
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.serializeBinaryToWriter(this, writer);
|
|
2263
3712
|
return writer.getResultBuffer();
|
|
2264
3713
|
};
|
|
2265
3714
|
|
|
@@ -2267,11 +3716,11 @@ proto.supervisor.SetTerminalSizeRequest.prototype.serializeBinary = function() {
|
|
|
2267
3716
|
/**
|
|
2268
3717
|
* Serializes the given message to binary data (in protobuf wire
|
|
2269
3718
|
* format), writing to the given BinaryWriter.
|
|
2270
|
-
* @param {!proto.supervisor.
|
|
3719
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsRequest} message
|
|
2271
3720
|
* @param {!jspb.BinaryWriter} writer
|
|
2272
3721
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2273
3722
|
*/
|
|
2274
|
-
proto.supervisor.
|
|
3723
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2275
3724
|
var f = undefined;
|
|
2276
3725
|
f = message.getAlias();
|
|
2277
3726
|
if (f.length > 0) {
|
|
@@ -2280,48 +3729,17 @@ proto.supervisor.SetTerminalSizeRequest.serializeBinaryToWriter = function(messa
|
|
|
2280
3729
|
f
|
|
2281
3730
|
);
|
|
2282
3731
|
}
|
|
2283
|
-
f =
|
|
2284
|
-
if (f
|
|
2285
|
-
writer.writeString
|
|
2286
|
-
2,
|
|
2287
|
-
f
|
|
2288
|
-
);
|
|
3732
|
+
f = message.getChangedMap(true);
|
|
3733
|
+
if (f && f.getLength() > 0) {
|
|
3734
|
+
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
2289
3735
|
}
|
|
2290
|
-
f =
|
|
2291
|
-
if (f
|
|
2292
|
-
writer.
|
|
3736
|
+
f = message.getDeletedList();
|
|
3737
|
+
if (f.length > 0) {
|
|
3738
|
+
writer.writeRepeatedString(
|
|
2293
3739
|
3,
|
|
2294
3740
|
f
|
|
2295
3741
|
);
|
|
2296
3742
|
}
|
|
2297
|
-
f = message.getRows();
|
|
2298
|
-
if (f !== 0) {
|
|
2299
|
-
writer.writeUint32(
|
|
2300
|
-
4,
|
|
2301
|
-
f
|
|
2302
|
-
);
|
|
2303
|
-
}
|
|
2304
|
-
f = message.getCols();
|
|
2305
|
-
if (f !== 0) {
|
|
2306
|
-
writer.writeUint32(
|
|
2307
|
-
5,
|
|
2308
|
-
f
|
|
2309
|
-
);
|
|
2310
|
-
}
|
|
2311
|
-
f = message.getWidthpx();
|
|
2312
|
-
if (f !== 0) {
|
|
2313
|
-
writer.writeUint32(
|
|
2314
|
-
6,
|
|
2315
|
-
f
|
|
2316
|
-
);
|
|
2317
|
-
}
|
|
2318
|
-
f = message.getHeightpx();
|
|
2319
|
-
if (f !== 0) {
|
|
2320
|
-
writer.writeUint32(
|
|
2321
|
-
7,
|
|
2322
|
-
f
|
|
2323
|
-
);
|
|
2324
|
-
}
|
|
2325
3743
|
};
|
|
2326
3744
|
|
|
2327
3745
|
|
|
@@ -2329,140 +3747,76 @@ proto.supervisor.SetTerminalSizeRequest.serializeBinaryToWriter = function(messa
|
|
|
2329
3747
|
* optional string alias = 1;
|
|
2330
3748
|
* @return {string}
|
|
2331
3749
|
*/
|
|
2332
|
-
proto.supervisor.
|
|
3750
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.getAlias = function() {
|
|
2333
3751
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2334
3752
|
};
|
|
2335
3753
|
|
|
2336
3754
|
|
|
2337
|
-
/** @param {string} value */
|
|
2338
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.setAlias = function(value) {
|
|
2339
|
-
jspb.Message.setProto3StringField(this, 1, value);
|
|
2340
|
-
};
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
/**
|
|
2344
|
-
* optional string token = 2;
|
|
2345
|
-
* @return {string}
|
|
2346
|
-
*/
|
|
2347
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.getToken = function() {
|
|
2348
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2349
|
-
};
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
/** @param {string} value */
|
|
2353
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.setToken = function(value) {
|
|
2354
|
-
jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
|
|
2355
|
-
};
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
/**
|
|
2359
|
-
* Clears the field making it undefined.
|
|
2360
|
-
*/
|
|
2361
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.clearToken = function() {
|
|
2362
|
-
jspb.Message.setOneofField(this, 2, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], undefined);
|
|
2363
|
-
};
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
/**
|
|
2367
|
-
* Returns whether this field is set.
|
|
2368
|
-
* @return {boolean}
|
|
2369
|
-
*/
|
|
2370
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.hasToken = function() {
|
|
2371
|
-
return jspb.Message.getField(this, 2) != null;
|
|
2372
|
-
};
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
3755
|
/**
|
|
2376
|
-
*
|
|
2377
|
-
*
|
|
2378
|
-
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2379
|
-
* @return {boolean}
|
|
3756
|
+
* @param {string} value
|
|
3757
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
|
|
2380
3758
|
*/
|
|
2381
|
-
proto.supervisor.
|
|
2382
|
-
return
|
|
2383
|
-
};
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
/** @param {boolean} value */
|
|
2387
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.setForce = function(value) {
|
|
2388
|
-
jspb.Message.setOneofField(this, 3, proto.supervisor.SetTerminalSizeRequest.oneofGroups_[0], value);
|
|
3759
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.setAlias = function(value) {
|
|
3760
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2389
3761
|
};
|
|
2390
3762
|
|
|
2391
3763
|
|
|
2392
3764
|
/**
|
|
2393
|
-
*
|
|
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>}
|
|
2394
3769
|
*/
|
|
2395
|
-
proto.supervisor.
|
|
2396
|
-
jspb.
|
|
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));
|
|
2397
3774
|
};
|
|
2398
3775
|
|
|
2399
3776
|
|
|
2400
3777
|
/**
|
|
2401
|
-
*
|
|
2402
|
-
* @return {
|
|
3778
|
+
* Clears values from the map. The map will be non-null.
|
|
3779
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
|
|
2403
3780
|
*/
|
|
2404
|
-
proto.supervisor.
|
|
2405
|
-
|
|
2406
|
-
};
|
|
3781
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.clearChangedMap = function() {
|
|
3782
|
+
this.getChangedMap().clear();
|
|
3783
|
+
return this;};
|
|
2407
3784
|
|
|
2408
3785
|
|
|
2409
3786
|
/**
|
|
2410
|
-
*
|
|
2411
|
-
* @return {
|
|
3787
|
+
* repeated string deleted = 3;
|
|
3788
|
+
* @return {!Array<string>}
|
|
2412
3789
|
*/
|
|
2413
|
-
proto.supervisor.
|
|
2414
|
-
return /** @type {
|
|
2415
|
-
};
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
/** @param {number} value */
|
|
2419
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.setRows = function(value) {
|
|
2420
|
-
jspb.Message.setProto3IntField(this, 4, value);
|
|
3790
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.getDeletedList = function() {
|
|
3791
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
2421
3792
|
};
|
|
2422
3793
|
|
|
2423
3794
|
|
|
2424
3795
|
/**
|
|
2425
|
-
*
|
|
2426
|
-
* @return {
|
|
3796
|
+
* @param {!Array<string>} value
|
|
3797
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
|
|
2427
3798
|
*/
|
|
2428
|
-
proto.supervisor.
|
|
2429
|
-
return
|
|
2430
|
-
};
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
/** @param {number} value */
|
|
2434
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.setCols = function(value) {
|
|
2435
|
-
jspb.Message.setProto3IntField(this, 5, value);
|
|
3799
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.setDeletedList = function(value) {
|
|
3800
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
2436
3801
|
};
|
|
2437
3802
|
|
|
2438
3803
|
|
|
2439
3804
|
/**
|
|
2440
|
-
*
|
|
2441
|
-
* @
|
|
3805
|
+
* @param {string} value
|
|
3806
|
+
* @param {number=} opt_index
|
|
3807
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
|
|
2442
3808
|
*/
|
|
2443
|
-
proto.supervisor.
|
|
2444
|
-
return
|
|
2445
|
-
};
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
/** @param {number} value */
|
|
2449
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.setWidthpx = function(value) {
|
|
2450
|
-
jspb.Message.setProto3IntField(this, 6, value);
|
|
3809
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.addDeleted = function(value, opt_index) {
|
|
3810
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
2451
3811
|
};
|
|
2452
3812
|
|
|
2453
3813
|
|
|
2454
3814
|
/**
|
|
2455
|
-
*
|
|
2456
|
-
* @return {
|
|
3815
|
+
* Clears the list making it empty but non-null.
|
|
3816
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsRequest} returns this
|
|
2457
3817
|
*/
|
|
2458
|
-
proto.supervisor.
|
|
2459
|
-
return
|
|
2460
|
-
};
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
/** @param {number} value */
|
|
2464
|
-
proto.supervisor.SetTerminalSizeRequest.prototype.setHeightpx = function(value) {
|
|
2465
|
-
jspb.Message.setProto3IntField(this, 7, value);
|
|
3818
|
+
proto.supervisor.UpdateTerminalAnnotationsRequest.prototype.clearDeletedList = function() {
|
|
3819
|
+
return this.setDeletedList([]);
|
|
2466
3820
|
};
|
|
2467
3821
|
|
|
2468
3822
|
|
|
@@ -2471,30 +3825,32 @@ proto.supervisor.SetTerminalSizeRequest.prototype.setHeightpx = function(value)
|
|
|
2471
3825
|
|
|
2472
3826
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2473
3827
|
/**
|
|
2474
|
-
* Creates an object representation of this proto
|
|
3828
|
+
* Creates an object representation of this proto.
|
|
2475
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.
|
|
2476
3831
|
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2477
3832
|
* For the list of reserved names please see:
|
|
2478
|
-
*
|
|
2479
|
-
* @param {boolean=} opt_includeInstance
|
|
2480
|
-
* for transitional soy proto support:
|
|
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
|
|
2481
3837
|
* @return {!Object}
|
|
2482
3838
|
*/
|
|
2483
|
-
proto.supervisor.
|
|
2484
|
-
return proto.supervisor.
|
|
3839
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3840
|
+
return proto.supervisor.UpdateTerminalAnnotationsResponse.toObject(opt_includeInstance, this);
|
|
2485
3841
|
};
|
|
2486
3842
|
|
|
2487
3843
|
|
|
2488
3844
|
/**
|
|
2489
3845
|
* Static version of the {@see toObject} method.
|
|
2490
|
-
* @param {boolean|undefined} includeInstance Whether to include
|
|
2491
|
-
* instance for transitional soy proto support:
|
|
3846
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3847
|
+
* the JSPB instance for transitional soy proto support:
|
|
2492
3848
|
* http://goto/soy-param-migration
|
|
2493
|
-
* @param {!proto.supervisor.
|
|
3849
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsResponse} msg The msg instance to transform.
|
|
2494
3850
|
* @return {!Object}
|
|
2495
3851
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2496
3852
|
*/
|
|
2497
|
-
proto.supervisor.
|
|
3853
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.toObject = function(includeInstance, msg) {
|
|
2498
3854
|
var f, obj = {
|
|
2499
3855
|
|
|
2500
3856
|
};
|
|
@@ -2510,23 +3866,23 @@ proto.supervisor.SetTerminalSizeResponse.toObject = function(includeInstance, ms
|
|
|
2510
3866
|
/**
|
|
2511
3867
|
* Deserializes binary data (in protobuf wire format).
|
|
2512
3868
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2513
|
-
* @return {!proto.supervisor.
|
|
3869
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsResponse}
|
|
2514
3870
|
*/
|
|
2515
|
-
proto.supervisor.
|
|
3871
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.deserializeBinary = function(bytes) {
|
|
2516
3872
|
var reader = new jspb.BinaryReader(bytes);
|
|
2517
|
-
var msg = new proto.supervisor.
|
|
2518
|
-
return proto.supervisor.
|
|
3873
|
+
var msg = new proto.supervisor.UpdateTerminalAnnotationsResponse;
|
|
3874
|
+
return proto.supervisor.UpdateTerminalAnnotationsResponse.deserializeBinaryFromReader(msg, reader);
|
|
2519
3875
|
};
|
|
2520
3876
|
|
|
2521
3877
|
|
|
2522
3878
|
/**
|
|
2523
3879
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2524
3880
|
* given reader into the given message object.
|
|
2525
|
-
* @param {!proto.supervisor.
|
|
3881
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsResponse} msg The message object to deserialize into.
|
|
2526
3882
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2527
|
-
* @return {!proto.supervisor.
|
|
3883
|
+
* @return {!proto.supervisor.UpdateTerminalAnnotationsResponse}
|
|
2528
3884
|
*/
|
|
2529
|
-
proto.supervisor.
|
|
3885
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2530
3886
|
while (reader.nextField()) {
|
|
2531
3887
|
if (reader.isEndGroup()) {
|
|
2532
3888
|
break;
|
|
@@ -2546,9 +3902,9 @@ proto.supervisor.SetTerminalSizeResponse.deserializeBinaryFromReader = function(
|
|
|
2546
3902
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2547
3903
|
* @return {!Uint8Array}
|
|
2548
3904
|
*/
|
|
2549
|
-
proto.supervisor.
|
|
3905
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.prototype.serializeBinary = function() {
|
|
2550
3906
|
var writer = new jspb.BinaryWriter();
|
|
2551
|
-
proto.supervisor.
|
|
3907
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.serializeBinaryToWriter(this, writer);
|
|
2552
3908
|
return writer.getResultBuffer();
|
|
2553
3909
|
};
|
|
2554
3910
|
|
|
@@ -2556,13 +3912,21 @@ proto.supervisor.SetTerminalSizeResponse.prototype.serializeBinary = function()
|
|
|
2556
3912
|
/**
|
|
2557
3913
|
* Serializes the given message to binary data (in protobuf wire
|
|
2558
3914
|
* format), writing to the given BinaryWriter.
|
|
2559
|
-
* @param {!proto.supervisor.
|
|
3915
|
+
* @param {!proto.supervisor.UpdateTerminalAnnotationsResponse} message
|
|
2560
3916
|
* @param {!jspb.BinaryWriter} writer
|
|
2561
3917
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2562
3918
|
*/
|
|
2563
|
-
proto.supervisor.
|
|
3919
|
+
proto.supervisor.UpdateTerminalAnnotationsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2564
3920
|
var f = undefined;
|
|
2565
3921
|
};
|
|
2566
3922
|
|
|
2567
3923
|
|
|
3924
|
+
/**
|
|
3925
|
+
* @enum {number}
|
|
3926
|
+
*/
|
|
3927
|
+
proto.supervisor.TerminalTitleSource = {
|
|
3928
|
+
PROCESS: 0,
|
|
3929
|
+
API: 1
|
|
3930
|
+
};
|
|
3931
|
+
|
|
2568
3932
|
goog.object.extend(exports, proto.supervisor);
|