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