@gitpod/public-api 0.1.5-sje-installer-proxy-config-backup.0 → 0.1.5-sje-kots-db-migration-logger.0

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.
Files changed (29) hide show
  1. package/lib/gitpod/experimental/v1/pagination_pb.d.ts +33 -0
  2. package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
  3. package/lib/gitpod/experimental/v1/pagination_pb.js +50 -0
  4. package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
  5. package/lib/gitpod/experimental/v1/pagination_pb.ts +60 -0
  6. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +74 -0
  7. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
  8. package/lib/gitpod/experimental/v1/workspaces_connectweb.js +81 -0
  9. package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
  10. package/lib/gitpod/experimental/v1/workspaces_connectweb.ts +80 -0
  11. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +695 -0
  12. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
  13. package/lib/gitpod/experimental/v1/workspaces_pb.js +945 -0
  14. package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
  15. package/lib/gitpod/experimental/v1/workspaces_pb.ts +1219 -0
  16. package/package.json +6 -10
  17. package/pkg-yarn.lock +5 -5
  18. package/provenance-bundle.jsonl +2 -2
  19. package/lib/gitpod/v1/pagination_grpc_pb.js +0 -7
  20. package/lib/gitpod/v1/pagination_pb.d.ts +0 -36
  21. package/lib/gitpod/v1/pagination_pb.js +0 -206
  22. package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
  23. package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
  24. package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -283
  25. package/lib/gitpod/v1/prebuilds_pb.js +0 -1997
  26. package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
  27. package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
  28. package/lib/gitpod/v1/workspaces_pb.d.ts +0 -810
  29. package/lib/gitpod/v1/workspaces_pb.js +0 -5976
@@ -0,0 +1,945 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
4
+ * Licensed under the GNU Affero General Public License (AGPL).
5
+ * See License-AGPL.txt in the project root for license information.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.StartWorkspaceSpec = exports.WorkspaceInstanceStatus_Conditions = exports.WorkspaceInstanceStatus_Phase = exports.WorkspaceInstanceStatus = exports.WorkspaceInstance = exports.WorkspaceContext_Snapshot = exports.WorkspaceContext_Prebuild = exports.WorkspaceContext_Git = exports.WorkspaceContext = exports.WorkspaceStatus = exports.Workspace = exports.StopWorkspaceResponse = exports.StopWorkspaceRequest = exports.StartWorkspaceResponse = exports.StartWorkspaceRequest = exports.CreateAndStartWorkspaceResponse = exports.CreateAndStartWorkspaceRequest = exports.GetOwnerTokenResponse = exports.GetOwnerTokenRequest = exports.GetWorkspaceResponse = exports.GetWorkspaceRequest = exports.ListWorkspacesResponse = exports.ListWorkspacesRequest = exports.AdmissionLevel = void 0;
9
+ const protobuf_1 = require("@bufbuild/protobuf");
10
+ const pagination_pb_js_1 = require("./pagination_pb.js");
11
+ /**
12
+ * Admission level describes who can access a workspace instance and its ports.
13
+ *
14
+ * @generated from enum gitpod.experimental.v1.AdmissionLevel
15
+ */
16
+ var AdmissionLevel;
17
+ (function (AdmissionLevel) {
18
+ /**
19
+ * @generated from enum value: ADMISSION_LEVEL_UNSPECIFIED = 0;
20
+ */
21
+ AdmissionLevel[AdmissionLevel["UNSPECIFIED"] = 0] = "UNSPECIFIED";
22
+ /**
23
+ * ADMISSION_LEVEL_OWNER_ONLY means the workspace can only be accessed using the owner token
24
+ *
25
+ * @generated from enum value: ADMISSION_LEVEL_OWNER_ONLY = 1;
26
+ */
27
+ AdmissionLevel[AdmissionLevel["OWNER_ONLY"] = 1] = "OWNER_ONLY";
28
+ /**
29
+ * ADMISSION_LEVEL_EVERYONE means the workspace (including ports) can be accessed by everyone.
30
+ *
31
+ * @generated from enum value: ADMISSION_LEVEL_EVERYONE = 2;
32
+ */
33
+ AdmissionLevel[AdmissionLevel["EVERYONE"] = 2] = "EVERYONE";
34
+ })(AdmissionLevel = exports.AdmissionLevel || (exports.AdmissionLevel = {}));
35
+ // Retrieve enum metadata with: proto3.getEnumType(AdmissionLevel)
36
+ protobuf_1.proto3.util.setEnumType(AdmissionLevel, "gitpod.experimental.v1.AdmissionLevel", [
37
+ { no: 0, name: "ADMISSION_LEVEL_UNSPECIFIED" },
38
+ { no: 1, name: "ADMISSION_LEVEL_OWNER_ONLY" },
39
+ { no: 2, name: "ADMISSION_LEVEL_EVERYONE" },
40
+ ]);
41
+ /**
42
+ * @generated from message gitpod.experimental.v1.ListWorkspacesRequest
43
+ */
44
+ class ListWorkspacesRequest extends protobuf_1.Message {
45
+ constructor(data) {
46
+ super();
47
+ protobuf_1.proto3.util.initPartial(data, this);
48
+ }
49
+ static fromBinary(bytes, options) {
50
+ return new ListWorkspacesRequest().fromBinary(bytes, options);
51
+ }
52
+ static fromJson(jsonValue, options) {
53
+ return new ListWorkspacesRequest().fromJson(jsonValue, options);
54
+ }
55
+ static fromJsonString(jsonString, options) {
56
+ return new ListWorkspacesRequest().fromJsonString(jsonString, options);
57
+ }
58
+ static equals(a, b) {
59
+ return protobuf_1.proto3.util.equals(ListWorkspacesRequest, a, b);
60
+ }
61
+ }
62
+ exports.ListWorkspacesRequest = ListWorkspacesRequest;
63
+ ListWorkspacesRequest.runtime = protobuf_1.proto3;
64
+ ListWorkspacesRequest.typeName = "gitpod.experimental.v1.ListWorkspacesRequest";
65
+ ListWorkspacesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
66
+ { no: 1, name: "pagination", kind: "message", T: pagination_pb_js_1.Pagination },
67
+ { no: 2, name: "field_mask", kind: "message", T: protobuf_1.FieldMask },
68
+ ]);
69
+ /**
70
+ * @generated from message gitpod.experimental.v1.ListWorkspacesResponse
71
+ */
72
+ class ListWorkspacesResponse extends protobuf_1.Message {
73
+ constructor(data) {
74
+ super();
75
+ /**
76
+ * @generated from field: string next_page_token = 1;
77
+ */
78
+ this.nextPageToken = "";
79
+ /**
80
+ * @generated from field: repeated gitpod.experimental.v1.Workspace result = 2;
81
+ */
82
+ this.result = [];
83
+ protobuf_1.proto3.util.initPartial(data, this);
84
+ }
85
+ static fromBinary(bytes, options) {
86
+ return new ListWorkspacesResponse().fromBinary(bytes, options);
87
+ }
88
+ static fromJson(jsonValue, options) {
89
+ return new ListWorkspacesResponse().fromJson(jsonValue, options);
90
+ }
91
+ static fromJsonString(jsonString, options) {
92
+ return new ListWorkspacesResponse().fromJsonString(jsonString, options);
93
+ }
94
+ static equals(a, b) {
95
+ return protobuf_1.proto3.util.equals(ListWorkspacesResponse, a, b);
96
+ }
97
+ }
98
+ exports.ListWorkspacesResponse = ListWorkspacesResponse;
99
+ ListWorkspacesResponse.runtime = protobuf_1.proto3;
100
+ ListWorkspacesResponse.typeName = "gitpod.experimental.v1.ListWorkspacesResponse";
101
+ ListWorkspacesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
102
+ { no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
103
+ { no: 2, name: "result", kind: "message", T: Workspace, repeated: true },
104
+ ]);
105
+ /**
106
+ * @generated from message gitpod.experimental.v1.GetWorkspaceRequest
107
+ */
108
+ class GetWorkspaceRequest extends protobuf_1.Message {
109
+ constructor(data) {
110
+ super();
111
+ /**
112
+ * @generated from field: string workspace_id = 1;
113
+ */
114
+ this.workspaceId = "";
115
+ protobuf_1.proto3.util.initPartial(data, this);
116
+ }
117
+ static fromBinary(bytes, options) {
118
+ return new GetWorkspaceRequest().fromBinary(bytes, options);
119
+ }
120
+ static fromJson(jsonValue, options) {
121
+ return new GetWorkspaceRequest().fromJson(jsonValue, options);
122
+ }
123
+ static fromJsonString(jsonString, options) {
124
+ return new GetWorkspaceRequest().fromJsonString(jsonString, options);
125
+ }
126
+ static equals(a, b) {
127
+ return protobuf_1.proto3.util.equals(GetWorkspaceRequest, a, b);
128
+ }
129
+ }
130
+ exports.GetWorkspaceRequest = GetWorkspaceRequest;
131
+ GetWorkspaceRequest.runtime = protobuf_1.proto3;
132
+ GetWorkspaceRequest.typeName = "gitpod.experimental.v1.GetWorkspaceRequest";
133
+ GetWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
134
+ { no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
135
+ ]);
136
+ /**
137
+ * @generated from message gitpod.experimental.v1.GetWorkspaceResponse
138
+ */
139
+ class GetWorkspaceResponse extends protobuf_1.Message {
140
+ constructor(data) {
141
+ super();
142
+ protobuf_1.proto3.util.initPartial(data, this);
143
+ }
144
+ static fromBinary(bytes, options) {
145
+ return new GetWorkspaceResponse().fromBinary(bytes, options);
146
+ }
147
+ static fromJson(jsonValue, options) {
148
+ return new GetWorkspaceResponse().fromJson(jsonValue, options);
149
+ }
150
+ static fromJsonString(jsonString, options) {
151
+ return new GetWorkspaceResponse().fromJsonString(jsonString, options);
152
+ }
153
+ static equals(a, b) {
154
+ return protobuf_1.proto3.util.equals(GetWorkspaceResponse, a, b);
155
+ }
156
+ }
157
+ exports.GetWorkspaceResponse = GetWorkspaceResponse;
158
+ GetWorkspaceResponse.runtime = protobuf_1.proto3;
159
+ GetWorkspaceResponse.typeName = "gitpod.experimental.v1.GetWorkspaceResponse";
160
+ GetWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
161
+ { no: 1, name: "result", kind: "message", T: Workspace },
162
+ ]);
163
+ /**
164
+ * @generated from message gitpod.experimental.v1.GetOwnerTokenRequest
165
+ */
166
+ class GetOwnerTokenRequest extends protobuf_1.Message {
167
+ constructor(data) {
168
+ super();
169
+ /**
170
+ * @generated from field: string workspace_id = 1;
171
+ */
172
+ this.workspaceId = "";
173
+ protobuf_1.proto3.util.initPartial(data, this);
174
+ }
175
+ static fromBinary(bytes, options) {
176
+ return new GetOwnerTokenRequest().fromBinary(bytes, options);
177
+ }
178
+ static fromJson(jsonValue, options) {
179
+ return new GetOwnerTokenRequest().fromJson(jsonValue, options);
180
+ }
181
+ static fromJsonString(jsonString, options) {
182
+ return new GetOwnerTokenRequest().fromJsonString(jsonString, options);
183
+ }
184
+ static equals(a, b) {
185
+ return protobuf_1.proto3.util.equals(GetOwnerTokenRequest, a, b);
186
+ }
187
+ }
188
+ exports.GetOwnerTokenRequest = GetOwnerTokenRequest;
189
+ GetOwnerTokenRequest.runtime = protobuf_1.proto3;
190
+ GetOwnerTokenRequest.typeName = "gitpod.experimental.v1.GetOwnerTokenRequest";
191
+ GetOwnerTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
192
+ { no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
193
+ ]);
194
+ /**
195
+ * @generated from message gitpod.experimental.v1.GetOwnerTokenResponse
196
+ */
197
+ class GetOwnerTokenResponse extends protobuf_1.Message {
198
+ constructor(data) {
199
+ super();
200
+ /**
201
+ * @generated from field: string token = 1;
202
+ */
203
+ this.token = "";
204
+ protobuf_1.proto3.util.initPartial(data, this);
205
+ }
206
+ static fromBinary(bytes, options) {
207
+ return new GetOwnerTokenResponse().fromBinary(bytes, options);
208
+ }
209
+ static fromJson(jsonValue, options) {
210
+ return new GetOwnerTokenResponse().fromJson(jsonValue, options);
211
+ }
212
+ static fromJsonString(jsonString, options) {
213
+ return new GetOwnerTokenResponse().fromJsonString(jsonString, options);
214
+ }
215
+ static equals(a, b) {
216
+ return protobuf_1.proto3.util.equals(GetOwnerTokenResponse, a, b);
217
+ }
218
+ }
219
+ exports.GetOwnerTokenResponse = GetOwnerTokenResponse;
220
+ GetOwnerTokenResponse.runtime = protobuf_1.proto3;
221
+ GetOwnerTokenResponse.typeName = "gitpod.experimental.v1.GetOwnerTokenResponse";
222
+ GetOwnerTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
223
+ { no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
224
+ ]);
225
+ /**
226
+ * @generated from message gitpod.experimental.v1.CreateAndStartWorkspaceRequest
227
+ */
228
+ class CreateAndStartWorkspaceRequest extends protobuf_1.Message {
229
+ constructor(data) {
230
+ super();
231
+ /**
232
+ * @generated from field: string idempotency_token = 1;
233
+ */
234
+ this.idempotencyToken = "";
235
+ /**
236
+ * @generated from oneof gitpod.experimental.v1.CreateAndStartWorkspaceRequest.source
237
+ */
238
+ this.source = { case: undefined };
239
+ protobuf_1.proto3.util.initPartial(data, this);
240
+ }
241
+ static fromBinary(bytes, options) {
242
+ return new CreateAndStartWorkspaceRequest().fromBinary(bytes, options);
243
+ }
244
+ static fromJson(jsonValue, options) {
245
+ return new CreateAndStartWorkspaceRequest().fromJson(jsonValue, options);
246
+ }
247
+ static fromJsonString(jsonString, options) {
248
+ return new CreateAndStartWorkspaceRequest().fromJsonString(jsonString, options);
249
+ }
250
+ static equals(a, b) {
251
+ return protobuf_1.proto3.util.equals(CreateAndStartWorkspaceRequest, a, b);
252
+ }
253
+ }
254
+ exports.CreateAndStartWorkspaceRequest = CreateAndStartWorkspaceRequest;
255
+ CreateAndStartWorkspaceRequest.runtime = protobuf_1.proto3;
256
+ CreateAndStartWorkspaceRequest.typeName = "gitpod.experimental.v1.CreateAndStartWorkspaceRequest";
257
+ CreateAndStartWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
258
+ { no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
259
+ { no: 2, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
260
+ { no: 3, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
261
+ { no: 5, name: "start_spec", kind: "message", T: StartWorkspaceSpec },
262
+ ]);
263
+ /**
264
+ * @generated from message gitpod.experimental.v1.CreateAndStartWorkspaceResponse
265
+ */
266
+ class CreateAndStartWorkspaceResponse extends protobuf_1.Message {
267
+ constructor(data) {
268
+ super();
269
+ /**
270
+ * @generated from field: string workspace_id = 1;
271
+ */
272
+ this.workspaceId = "";
273
+ protobuf_1.proto3.util.initPartial(data, this);
274
+ }
275
+ static fromBinary(bytes, options) {
276
+ return new CreateAndStartWorkspaceResponse().fromBinary(bytes, options);
277
+ }
278
+ static fromJson(jsonValue, options) {
279
+ return new CreateAndStartWorkspaceResponse().fromJson(jsonValue, options);
280
+ }
281
+ static fromJsonString(jsonString, options) {
282
+ return new CreateAndStartWorkspaceResponse().fromJsonString(jsonString, options);
283
+ }
284
+ static equals(a, b) {
285
+ return protobuf_1.proto3.util.equals(CreateAndStartWorkspaceResponse, a, b);
286
+ }
287
+ }
288
+ exports.CreateAndStartWorkspaceResponse = CreateAndStartWorkspaceResponse;
289
+ CreateAndStartWorkspaceResponse.runtime = protobuf_1.proto3;
290
+ CreateAndStartWorkspaceResponse.typeName = "gitpod.experimental.v1.CreateAndStartWorkspaceResponse";
291
+ CreateAndStartWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
292
+ { no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
293
+ ]);
294
+ /**
295
+ * @generated from message gitpod.experimental.v1.StartWorkspaceRequest
296
+ */
297
+ class StartWorkspaceRequest extends protobuf_1.Message {
298
+ constructor(data) {
299
+ super();
300
+ /**
301
+ * @generated from field: string idempotency_token = 1;
302
+ */
303
+ this.idempotencyToken = "";
304
+ /**
305
+ * @generated from field: string workspace_id = 2;
306
+ */
307
+ this.workspaceId = "";
308
+ protobuf_1.proto3.util.initPartial(data, this);
309
+ }
310
+ static fromBinary(bytes, options) {
311
+ return new StartWorkspaceRequest().fromBinary(bytes, options);
312
+ }
313
+ static fromJson(jsonValue, options) {
314
+ return new StartWorkspaceRequest().fromJson(jsonValue, options);
315
+ }
316
+ static fromJsonString(jsonString, options) {
317
+ return new StartWorkspaceRequest().fromJsonString(jsonString, options);
318
+ }
319
+ static equals(a, b) {
320
+ return protobuf_1.proto3.util.equals(StartWorkspaceRequest, a, b);
321
+ }
322
+ }
323
+ exports.StartWorkspaceRequest = StartWorkspaceRequest;
324
+ StartWorkspaceRequest.runtime = protobuf_1.proto3;
325
+ StartWorkspaceRequest.typeName = "gitpod.experimental.v1.StartWorkspaceRequest";
326
+ StartWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
327
+ { no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
328
+ { no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
329
+ { no: 3, name: "spec", kind: "message", T: StartWorkspaceSpec },
330
+ ]);
331
+ /**
332
+ * @generated from message gitpod.experimental.v1.StartWorkspaceResponse
333
+ */
334
+ class StartWorkspaceResponse extends protobuf_1.Message {
335
+ constructor(data) {
336
+ super();
337
+ /**
338
+ * @generated from field: string instance_id = 1;
339
+ */
340
+ this.instanceId = "";
341
+ /**
342
+ * @generated from field: string workspace_url = 2;
343
+ */
344
+ this.workspaceUrl = "";
345
+ protobuf_1.proto3.util.initPartial(data, this);
346
+ }
347
+ static fromBinary(bytes, options) {
348
+ return new StartWorkspaceResponse().fromBinary(bytes, options);
349
+ }
350
+ static fromJson(jsonValue, options) {
351
+ return new StartWorkspaceResponse().fromJson(jsonValue, options);
352
+ }
353
+ static fromJsonString(jsonString, options) {
354
+ return new StartWorkspaceResponse().fromJsonString(jsonString, options);
355
+ }
356
+ static equals(a, b) {
357
+ return protobuf_1.proto3.util.equals(StartWorkspaceResponse, a, b);
358
+ }
359
+ }
360
+ exports.StartWorkspaceResponse = StartWorkspaceResponse;
361
+ StartWorkspaceResponse.runtime = protobuf_1.proto3;
362
+ StartWorkspaceResponse.typeName = "gitpod.experimental.v1.StartWorkspaceResponse";
363
+ StartWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
364
+ { no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
365
+ { no: 2, name: "workspace_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
366
+ ]);
367
+ /**
368
+ * @generated from message gitpod.experimental.v1.StopWorkspaceRequest
369
+ */
370
+ class StopWorkspaceRequest extends protobuf_1.Message {
371
+ constructor(data) {
372
+ super();
373
+ /**
374
+ * @generated from field: string idempotency_token = 1;
375
+ */
376
+ this.idempotencyToken = "";
377
+ /**
378
+ * @generated from field: string workspace_id = 2;
379
+ */
380
+ this.workspaceId = "";
381
+ protobuf_1.proto3.util.initPartial(data, this);
382
+ }
383
+ static fromBinary(bytes, options) {
384
+ return new StopWorkspaceRequest().fromBinary(bytes, options);
385
+ }
386
+ static fromJson(jsonValue, options) {
387
+ return new StopWorkspaceRequest().fromJson(jsonValue, options);
388
+ }
389
+ static fromJsonString(jsonString, options) {
390
+ return new StopWorkspaceRequest().fromJsonString(jsonString, options);
391
+ }
392
+ static equals(a, b) {
393
+ return protobuf_1.proto3.util.equals(StopWorkspaceRequest, a, b);
394
+ }
395
+ }
396
+ exports.StopWorkspaceRequest = StopWorkspaceRequest;
397
+ StopWorkspaceRequest.runtime = protobuf_1.proto3;
398
+ StopWorkspaceRequest.typeName = "gitpod.experimental.v1.StopWorkspaceRequest";
399
+ StopWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
400
+ { no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
401
+ { no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
402
+ ]);
403
+ /**
404
+ * @generated from message gitpod.experimental.v1.StopWorkspaceResponse
405
+ */
406
+ class StopWorkspaceResponse extends protobuf_1.Message {
407
+ constructor(data) {
408
+ super();
409
+ protobuf_1.proto3.util.initPartial(data, this);
410
+ }
411
+ static fromBinary(bytes, options) {
412
+ return new StopWorkspaceResponse().fromBinary(bytes, options);
413
+ }
414
+ static fromJson(jsonValue, options) {
415
+ return new StopWorkspaceResponse().fromJson(jsonValue, options);
416
+ }
417
+ static fromJsonString(jsonString, options) {
418
+ return new StopWorkspaceResponse().fromJsonString(jsonString, options);
419
+ }
420
+ static equals(a, b) {
421
+ return protobuf_1.proto3.util.equals(StopWorkspaceResponse, a, b);
422
+ }
423
+ }
424
+ exports.StopWorkspaceResponse = StopWorkspaceResponse;
425
+ StopWorkspaceResponse.runtime = protobuf_1.proto3;
426
+ StopWorkspaceResponse.typeName = "gitpod.experimental.v1.StopWorkspaceResponse";
427
+ StopWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
428
+ /**
429
+ * Workspace describes a single workspace
430
+ *
431
+ * @generated from message gitpod.experimental.v1.Workspace
432
+ */
433
+ class Workspace extends protobuf_1.Message {
434
+ constructor(data) {
435
+ super();
436
+ /**
437
+ * workspace_id is the ID of the workspace
438
+ *
439
+ * @generated from field: string workspace_id = 1;
440
+ */
441
+ this.workspaceId = "";
442
+ /**
443
+ * owner_id is the ID of the user who created this workspace
444
+ *
445
+ * @generated from field: string owner_id = 2;
446
+ */
447
+ this.ownerId = "";
448
+ /**
449
+ * project_id is the ID of the project which this workspace belongs to
450
+ *
451
+ * @generated from field: string project_id = 3;
452
+ */
453
+ this.projectId = "";
454
+ /**
455
+ * description is a human readable description of the workspace
456
+ *
457
+ * @generated from field: string description = 5;
458
+ */
459
+ this.description = "";
460
+ protobuf_1.proto3.util.initPartial(data, this);
461
+ }
462
+ static fromBinary(bytes, options) {
463
+ return new Workspace().fromBinary(bytes, options);
464
+ }
465
+ static fromJson(jsonValue, options) {
466
+ return new Workspace().fromJson(jsonValue, options);
467
+ }
468
+ static fromJsonString(jsonString, options) {
469
+ return new Workspace().fromJsonString(jsonString, options);
470
+ }
471
+ static equals(a, b) {
472
+ return protobuf_1.proto3.util.equals(Workspace, a, b);
473
+ }
474
+ }
475
+ exports.Workspace = Workspace;
476
+ Workspace.runtime = protobuf_1.proto3;
477
+ Workspace.typeName = "gitpod.experimental.v1.Workspace";
478
+ Workspace.fields = protobuf_1.proto3.util.newFieldList(() => [
479
+ { no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
480
+ { no: 2, name: "owner_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
481
+ { no: 3, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
482
+ { no: 4, name: "context", kind: "message", T: WorkspaceContext },
483
+ { no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
484
+ { no: 6, name: "status", kind: "message", T: WorkspaceStatus },
485
+ ]);
486
+ /**
487
+ * WorkspaceStatus represents the currently observed status of a Workspace, including data about child resources that belong to this Workspace.
488
+ *
489
+ * @generated from message gitpod.experimental.v1.WorkspaceStatus
490
+ */
491
+ class WorkspaceStatus extends protobuf_1.Message {
492
+ constructor(data) {
493
+ super();
494
+ protobuf_1.proto3.util.initPartial(data, this);
495
+ }
496
+ static fromBinary(bytes, options) {
497
+ return new WorkspaceStatus().fromBinary(bytes, options);
498
+ }
499
+ static fromJson(jsonValue, options) {
500
+ return new WorkspaceStatus().fromJson(jsonValue, options);
501
+ }
502
+ static fromJsonString(jsonString, options) {
503
+ return new WorkspaceStatus().fromJsonString(jsonString, options);
504
+ }
505
+ static equals(a, b) {
506
+ return protobuf_1.proto3.util.equals(WorkspaceStatus, a, b);
507
+ }
508
+ }
509
+ exports.WorkspaceStatus = WorkspaceStatus;
510
+ WorkspaceStatus.runtime = protobuf_1.proto3;
511
+ WorkspaceStatus.typeName = "gitpod.experimental.v1.WorkspaceStatus";
512
+ WorkspaceStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
513
+ { no: 1, name: "instance", kind: "message", T: WorkspaceInstance },
514
+ ]);
515
+ /**
516
+ * WorkspaceContext describes the context a workspace was created from
517
+ *
518
+ * @generated from message gitpod.experimental.v1.WorkspaceContext
519
+ */
520
+ class WorkspaceContext extends protobuf_1.Message {
521
+ constructor(data) {
522
+ super();
523
+ /**
524
+ * All workspace context originates from a URL - this is the context URL
525
+ * which led to the creation of a workspace.
526
+ *
527
+ * @generated from field: string context_url = 1;
528
+ */
529
+ this.contextUrl = "";
530
+ /**
531
+ * @generated from oneof gitpod.experimental.v1.WorkspaceContext.details
532
+ */
533
+ this.details = { case: undefined };
534
+ protobuf_1.proto3.util.initPartial(data, this);
535
+ }
536
+ static fromBinary(bytes, options) {
537
+ return new WorkspaceContext().fromBinary(bytes, options);
538
+ }
539
+ static fromJson(jsonValue, options) {
540
+ return new WorkspaceContext().fromJson(jsonValue, options);
541
+ }
542
+ static fromJsonString(jsonString, options) {
543
+ return new WorkspaceContext().fromJsonString(jsonString, options);
544
+ }
545
+ static equals(a, b) {
546
+ return protobuf_1.proto3.util.equals(WorkspaceContext, a, b);
547
+ }
548
+ }
549
+ exports.WorkspaceContext = WorkspaceContext;
550
+ WorkspaceContext.runtime = protobuf_1.proto3;
551
+ WorkspaceContext.typeName = "gitpod.experimental.v1.WorkspaceContext";
552
+ WorkspaceContext.fields = protobuf_1.proto3.util.newFieldList(() => [
553
+ { no: 1, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
554
+ { no: 2, name: "git", kind: "message", T: WorkspaceContext_Git, oneof: "details" },
555
+ { no: 3, name: "prebuild", kind: "message", T: WorkspaceContext_Prebuild, oneof: "details" },
556
+ { no: 4, name: "snapshot", kind: "message", T: WorkspaceContext_Snapshot, oneof: "details" },
557
+ ]);
558
+ /**
559
+ * Explicit Git context
560
+ *
561
+ * @generated from message gitpod.experimental.v1.WorkspaceContext.Git
562
+ */
563
+ class WorkspaceContext_Git extends protobuf_1.Message {
564
+ constructor(data) {
565
+ super();
566
+ /**
567
+ * @generated from field: string normalized_context_url = 1;
568
+ */
569
+ this.normalizedContextUrl = "";
570
+ /**
571
+ * @generated from field: string commit = 2;
572
+ */
573
+ this.commit = "";
574
+ protobuf_1.proto3.util.initPartial(data, this);
575
+ }
576
+ static fromBinary(bytes, options) {
577
+ return new WorkspaceContext_Git().fromBinary(bytes, options);
578
+ }
579
+ static fromJson(jsonValue, options) {
580
+ return new WorkspaceContext_Git().fromJson(jsonValue, options);
581
+ }
582
+ static fromJsonString(jsonString, options) {
583
+ return new WorkspaceContext_Git().fromJsonString(jsonString, options);
584
+ }
585
+ static equals(a, b) {
586
+ return protobuf_1.proto3.util.equals(WorkspaceContext_Git, a, b);
587
+ }
588
+ }
589
+ exports.WorkspaceContext_Git = WorkspaceContext_Git;
590
+ WorkspaceContext_Git.runtime = protobuf_1.proto3;
591
+ WorkspaceContext_Git.typeName = "gitpod.experimental.v1.WorkspaceContext.Git";
592
+ WorkspaceContext_Git.fields = protobuf_1.proto3.util.newFieldList(() => [
593
+ { no: 1, name: "normalized_context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
594
+ { no: 2, name: "commit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
595
+ ]);
596
+ /**
597
+ * Workspace was created from a prebuild
598
+ *
599
+ * @generated from message gitpod.experimental.v1.WorkspaceContext.Prebuild
600
+ */
601
+ class WorkspaceContext_Prebuild extends protobuf_1.Message {
602
+ constructor(data) {
603
+ super();
604
+ /**
605
+ * prebuild_id is the ID of the prebuild which was used to create this workspace
606
+ *
607
+ * @generated from field: string prebuild_id = 2;
608
+ */
609
+ this.prebuildId = "";
610
+ protobuf_1.proto3.util.initPartial(data, this);
611
+ }
612
+ static fromBinary(bytes, options) {
613
+ return new WorkspaceContext_Prebuild().fromBinary(bytes, options);
614
+ }
615
+ static fromJson(jsonValue, options) {
616
+ return new WorkspaceContext_Prebuild().fromJson(jsonValue, options);
617
+ }
618
+ static fromJsonString(jsonString, options) {
619
+ return new WorkspaceContext_Prebuild().fromJsonString(jsonString, options);
620
+ }
621
+ static equals(a, b) {
622
+ return protobuf_1.proto3.util.equals(WorkspaceContext_Prebuild, a, b);
623
+ }
624
+ }
625
+ exports.WorkspaceContext_Prebuild = WorkspaceContext_Prebuild;
626
+ WorkspaceContext_Prebuild.runtime = protobuf_1.proto3;
627
+ WorkspaceContext_Prebuild.typeName = "gitpod.experimental.v1.WorkspaceContext.Prebuild";
628
+ WorkspaceContext_Prebuild.fields = protobuf_1.proto3.util.newFieldList(() => [
629
+ { no: 1, name: "original_context", kind: "message", T: WorkspaceContext_Git },
630
+ { no: 2, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
631
+ ]);
632
+ /**
633
+ * Snapshot context points to the snapshot which the workspace was created from
634
+ *
635
+ * @generated from message gitpod.experimental.v1.WorkspaceContext.Snapshot
636
+ */
637
+ class WorkspaceContext_Snapshot extends protobuf_1.Message {
638
+ constructor(data) {
639
+ super();
640
+ /**
641
+ * @generated from field: string snapshot_id = 1;
642
+ */
643
+ this.snapshotId = "";
644
+ protobuf_1.proto3.util.initPartial(data, this);
645
+ }
646
+ static fromBinary(bytes, options) {
647
+ return new WorkspaceContext_Snapshot().fromBinary(bytes, options);
648
+ }
649
+ static fromJson(jsonValue, options) {
650
+ return new WorkspaceContext_Snapshot().fromJson(jsonValue, options);
651
+ }
652
+ static fromJsonString(jsonString, options) {
653
+ return new WorkspaceContext_Snapshot().fromJsonString(jsonString, options);
654
+ }
655
+ static equals(a, b) {
656
+ return protobuf_1.proto3.util.equals(WorkspaceContext_Snapshot, a, b);
657
+ }
658
+ }
659
+ exports.WorkspaceContext_Snapshot = WorkspaceContext_Snapshot;
660
+ WorkspaceContext_Snapshot.runtime = protobuf_1.proto3;
661
+ WorkspaceContext_Snapshot.typeName = "gitpod.experimental.v1.WorkspaceContext.Snapshot";
662
+ WorkspaceContext_Snapshot.fields = protobuf_1.proto3.util.newFieldList(() => [
663
+ { no: 1, name: "snapshot_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
664
+ ]);
665
+ /**
666
+ * WorkspaceInstance describes a single workspace instance
667
+ *
668
+ * @generated from message gitpod.experimental.v1.WorkspaceInstance
669
+ */
670
+ class WorkspaceInstance extends protobuf_1.Message {
671
+ constructor(data) {
672
+ super();
673
+ /**
674
+ * Instance ID is the unique identifier of the workspace instance
675
+ *
676
+ * @generated from field: string instance_id = 1;
677
+ */
678
+ this.instanceId = "";
679
+ /**
680
+ * Worksapce ID is the unique identifier of the workspace this instance belongs to
681
+ *
682
+ * @generated from field: string workspace_id = 2;
683
+ */
684
+ this.workspaceId = "";
685
+ protobuf_1.proto3.util.initPartial(data, this);
686
+ }
687
+ static fromBinary(bytes, options) {
688
+ return new WorkspaceInstance().fromBinary(bytes, options);
689
+ }
690
+ static fromJson(jsonValue, options) {
691
+ return new WorkspaceInstance().fromJson(jsonValue, options);
692
+ }
693
+ static fromJsonString(jsonString, options) {
694
+ return new WorkspaceInstance().fromJsonString(jsonString, options);
695
+ }
696
+ static equals(a, b) {
697
+ return protobuf_1.proto3.util.equals(WorkspaceInstance, a, b);
698
+ }
699
+ }
700
+ exports.WorkspaceInstance = WorkspaceInstance;
701
+ WorkspaceInstance.runtime = protobuf_1.proto3;
702
+ WorkspaceInstance.typeName = "gitpod.experimental.v1.WorkspaceInstance";
703
+ WorkspaceInstance.fields = protobuf_1.proto3.util.newFieldList(() => [
704
+ { no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
705
+ { no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
706
+ { no: 3, name: "created_at", kind: "message", T: protobuf_1.Timestamp },
707
+ { no: 4, name: "status", kind: "message", T: WorkspaceInstanceStatus },
708
+ ]);
709
+ /**
710
+ * WorkspaceStatus describes a workspace status
711
+ *
712
+ * @generated from message gitpod.experimental.v1.WorkspaceInstanceStatus
713
+ */
714
+ class WorkspaceInstanceStatus extends protobuf_1.Message {
715
+ constructor(data) {
716
+ super();
717
+ /**
718
+ * version of the status update. Workspace instances themselves are unversioned,
719
+ * but their statuus has different versions.
720
+ * The value of this field has no semantic meaning (e.g. don't interpret it as
721
+ * as a timestemp), but it can be used to impose a partial order.
722
+ * If a.status_version < b.status_version then a was the status before b.
723
+ *
724
+ * @generated from field: uint64 status_version = 1;
725
+ */
726
+ this.statusVersion = protobuf_1.protoInt64.zero;
727
+ /**
728
+ * the phase of a workspace is a simple, high-level summary of where the workspace instance is in its lifecycle
729
+ *
730
+ * @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus.Phase phase = 2;
731
+ */
732
+ this.phase = WorkspaceInstanceStatus_Phase.UNSPECIFIED;
733
+ /**
734
+ * message is an optional human-readable message detailing the current phase
735
+ *
736
+ * @generated from field: string message = 4;
737
+ */
738
+ this.message = "";
739
+ /**
740
+ * URL contains the endpoint at which the workspace instance is available
741
+ *
742
+ * @generated from field: string url = 5;
743
+ */
744
+ this.url = "";
745
+ /**
746
+ * Admission describes who can access a workspace instance and its ports.
747
+ *
748
+ * @generated from field: gitpod.experimental.v1.AdmissionLevel admission = 6;
749
+ */
750
+ this.admission = AdmissionLevel.UNSPECIFIED;
751
+ protobuf_1.proto3.util.initPartial(data, this);
752
+ }
753
+ static fromBinary(bytes, options) {
754
+ return new WorkspaceInstanceStatus().fromBinary(bytes, options);
755
+ }
756
+ static fromJson(jsonValue, options) {
757
+ return new WorkspaceInstanceStatus().fromJson(jsonValue, options);
758
+ }
759
+ static fromJsonString(jsonString, options) {
760
+ return new WorkspaceInstanceStatus().fromJsonString(jsonString, options);
761
+ }
762
+ static equals(a, b) {
763
+ return protobuf_1.proto3.util.equals(WorkspaceInstanceStatus, a, b);
764
+ }
765
+ }
766
+ exports.WorkspaceInstanceStatus = WorkspaceInstanceStatus;
767
+ WorkspaceInstanceStatus.runtime = protobuf_1.proto3;
768
+ WorkspaceInstanceStatus.typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus";
769
+ WorkspaceInstanceStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
770
+ { no: 1, name: "status_version", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
771
+ { no: 2, name: "phase", kind: "enum", T: protobuf_1.proto3.getEnumType(WorkspaceInstanceStatus_Phase) },
772
+ { no: 3, name: "conditions", kind: "message", T: WorkspaceInstanceStatus_Conditions },
773
+ { no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
774
+ { no: 5, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
775
+ { no: 6, name: "admission", kind: "enum", T: protobuf_1.proto3.getEnumType(AdmissionLevel) },
776
+ ]);
777
+ /**
778
+ * Phase is a simple, high-level summary of where the workspace instance is in its lifecycle.
779
+ * The phase is not intended to be a comprehensive rollup of observations of the workspace state,
780
+ * nor is it intended to be a comprehensive state machine.
781
+ * (based on https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase)
782
+ *
783
+ * @generated from enum gitpod.experimental.v1.WorkspaceInstanceStatus.Phase
784
+ */
785
+ var WorkspaceInstanceStatus_Phase;
786
+ (function (WorkspaceInstanceStatus_Phase) {
787
+ /**
788
+ * Unknown indicates an issue within the workspace manager in that it cannot determine the actual phase of
789
+ * a workspace. This phase is usually accompanied by an error.
790
+ *
791
+ * @generated from enum value: PHASE_UNSPECIFIED = 0;
792
+ */
793
+ WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["UNSPECIFIED"] = 0] = "UNSPECIFIED";
794
+ /**
795
+ * Preparing means that we haven't actually started the workspace instance just yet, but rather
796
+ * are still preparing for launch.
797
+ *
798
+ * @generated from enum value: PHASE_PREPARING = 1;
799
+ */
800
+ WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["PREPARING"] = 1] = "PREPARING";
801
+ /**
802
+ * ImageBuild indicates that there's an image build running for this workspace.
803
+ *
804
+ * @generated from enum value: PHASE_IMAGEBUILD = 2;
805
+ */
806
+ WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["IMAGEBUILD"] = 2] = "IMAGEBUILD";
807
+ /**
808
+ * Pending means the workspace does not yet consume resources in the cluster, but rather is looking for
809
+ * some space within the cluster. If for example the cluster needs to scale up to accomodate the
810
+ * workspace, the workspace will be in Pending state until that happened.
811
+ *
812
+ * @generated from enum value: PHASE_PENDING = 3;
813
+ */
814
+ WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["PENDING"] = 3] = "PENDING";
815
+ /**
816
+ * Creating means the workspace is currently being created. That includes downloading the images required
817
+ * to run the workspace over the network. The time spent in this phase varies widely and depends on the current
818
+ * network speed, image size and cache states.
819
+ *
820
+ * @generated from enum value: PHASE_CREATING = 4;
821
+ */
822
+ WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["CREATING"] = 4] = "CREATING";
823
+ /**
824
+ * Initializing is the phase in which the workspace is executing the appropriate workspace initializer (e.g. Git
825
+ * clone or backup download). After this phase one can expect the workspace to either be Running or Failed.
826
+ *
827
+ * @generated from enum value: PHASE_INITIALIZING = 5;
828
+ */
829
+ WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["INITIALIZING"] = 5] = "INITIALIZING";
830
+ /**
831
+ * Running means the workspace is able to actively perform work, either by serving a user through Theia,
832
+ * or as a headless workspace.
833
+ *
834
+ * @generated from enum value: PHASE_RUNNING = 6;
835
+ */
836
+ WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["RUNNING"] = 6] = "RUNNING";
837
+ /**
838
+ * Interrupted is an exceptional state where the container should be running but is temporarily unavailable.
839
+ * When in this state, we expect it to become running or stopping anytime soon.
840
+ *
841
+ * @generated from enum value: PHASE_INTERRUPTED = 7;
842
+ */
843
+ WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["INTERRUPTED"] = 7] = "INTERRUPTED";
844
+ /**
845
+ * Stopping means that the workspace is currently shutting down. It could go to stopped every moment.
846
+ *
847
+ * @generated from enum value: PHASE_STOPPING = 8;
848
+ */
849
+ WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["STOPPING"] = 8] = "STOPPING";
850
+ /**
851
+ * Stopped means the workspace ended regularly because it was shut down.
852
+ *
853
+ * @generated from enum value: PHASE_STOPPED = 9;
854
+ */
855
+ WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["STOPPED"] = 9] = "STOPPED";
856
+ })(WorkspaceInstanceStatus_Phase = exports.WorkspaceInstanceStatus_Phase || (exports.WorkspaceInstanceStatus_Phase = {}));
857
+ // Retrieve enum metadata with: proto3.getEnumType(WorkspaceInstanceStatus_Phase)
858
+ protobuf_1.proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.experimental.v1.WorkspaceInstanceStatus.Phase", [
859
+ { no: 0, name: "PHASE_UNSPECIFIED" },
860
+ { no: 1, name: "PHASE_PREPARING" },
861
+ { no: 2, name: "PHASE_IMAGEBUILD" },
862
+ { no: 3, name: "PHASE_PENDING" },
863
+ { no: 4, name: "PHASE_CREATING" },
864
+ { no: 5, name: "PHASE_INITIALIZING" },
865
+ { no: 6, name: "PHASE_RUNNING" },
866
+ { no: 7, name: "PHASE_INTERRUPTED" },
867
+ { no: 8, name: "PHASE_STOPPING" },
868
+ { no: 9, name: "PHASE_STOPPED" },
869
+ ]);
870
+ /**
871
+ * Conditions gives more detailed information as to the state of the workspace. Which condition actually
872
+ * has a value depends on the phase the workspace is in.
873
+ *
874
+ * @generated from message gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions
875
+ */
876
+ class WorkspaceInstanceStatus_Conditions extends protobuf_1.Message {
877
+ constructor(data) {
878
+ super();
879
+ /**
880
+ * failed contains the reason the workspace failed to operate. If this field is empty, the workspace has not failed.
881
+ * This field is filled exclusively when caused by system errors.
882
+ *
883
+ * @generated from field: string failed = 1;
884
+ */
885
+ this.failed = "";
886
+ /**
887
+ * timeout contains the reason the workspace has timed out. If this field is empty, the workspace has not timed out.
888
+ *
889
+ * @generated from field: string timeout = 2;
890
+ */
891
+ this.timeout = "";
892
+ protobuf_1.proto3.util.initPartial(data, this);
893
+ }
894
+ static fromBinary(bytes, options) {
895
+ return new WorkspaceInstanceStatus_Conditions().fromBinary(bytes, options);
896
+ }
897
+ static fromJson(jsonValue, options) {
898
+ return new WorkspaceInstanceStatus_Conditions().fromJson(jsonValue, options);
899
+ }
900
+ static fromJsonString(jsonString, options) {
901
+ return new WorkspaceInstanceStatus_Conditions().fromJsonString(jsonString, options);
902
+ }
903
+ static equals(a, b) {
904
+ return protobuf_1.proto3.util.equals(WorkspaceInstanceStatus_Conditions, a, b);
905
+ }
906
+ }
907
+ exports.WorkspaceInstanceStatus_Conditions = WorkspaceInstanceStatus_Conditions;
908
+ WorkspaceInstanceStatus_Conditions.runtime = protobuf_1.proto3;
909
+ WorkspaceInstanceStatus_Conditions.typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions";
910
+ WorkspaceInstanceStatus_Conditions.fields = protobuf_1.proto3.util.newFieldList(() => [
911
+ { no: 1, name: "failed", kind: "scalar", T: 9 /* ScalarType.STRING */ },
912
+ { no: 2, name: "timeout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
913
+ { no: 9, name: "first_user_activity", kind: "message", T: protobuf_1.Timestamp },
914
+ { no: 11, name: "stopped_by_request", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
915
+ ]);
916
+ /**
917
+ * StartWorkspaceSpec influences the workspace start
918
+ *
919
+ * future per-workspace-start fields, e.g. region
920
+ *
921
+ * @generated from message gitpod.experimental.v1.StartWorkspaceSpec
922
+ */
923
+ class StartWorkspaceSpec extends protobuf_1.Message {
924
+ constructor(data) {
925
+ super();
926
+ protobuf_1.proto3.util.initPartial(data, this);
927
+ }
928
+ static fromBinary(bytes, options) {
929
+ return new StartWorkspaceSpec().fromBinary(bytes, options);
930
+ }
931
+ static fromJson(jsonValue, options) {
932
+ return new StartWorkspaceSpec().fromJson(jsonValue, options);
933
+ }
934
+ static fromJsonString(jsonString, options) {
935
+ return new StartWorkspaceSpec().fromJsonString(jsonString, options);
936
+ }
937
+ static equals(a, b) {
938
+ return protobuf_1.proto3.util.equals(StartWorkspaceSpec, a, b);
939
+ }
940
+ }
941
+ exports.StartWorkspaceSpec = StartWorkspaceSpec;
942
+ StartWorkspaceSpec.runtime = protobuf_1.proto3;
943
+ StartWorkspaceSpec.typeName = "gitpod.experimental.v1.StartWorkspaceSpec";
944
+ StartWorkspaceSpec.fields = protobuf_1.proto3.util.newFieldList(() => []);
945
+ //# sourceMappingURL=workspaces_pb.js.map