@gitpod/public-api 0.1.5-mp-public-api-stable-pkg.1 → 0.1.5-mp-papi-cleanup-defs.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gitpod/{stable/v1 → v1}/pagination_pb.d.ts +2 -2
- package/lib/gitpod/v1/pagination_pb.d.ts.map +1 -0
- package/lib/gitpod/{stable/v1 → v1}/pagination_pb.js +2 -2
- package/lib/gitpod/v1/pagination_pb.js.map +1 -0
- package/lib/gitpod/{stable/v1 → v1}/pagination_pb.ts +3 -3
- package/lib/gitpod/v1/workspaces_connectweb.d.ts +49 -0
- package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +1 -0
- package/lib/gitpod/v1/workspaces_connectweb.js +56 -0
- package/lib/gitpod/v1/workspaces_connectweb.js.map +1 -0
- package/lib/gitpod/v1/workspaces_connectweb.ts +55 -0
- package/lib/gitpod/{stable/v1 → v1}/workspaces_pb.d.ts +51 -307
- package/lib/gitpod/v1/workspaces_pb.d.ts.map +1 -0
- package/lib/gitpod/{stable/v1 → v1}/workspaces_pb.js +43 -453
- package/lib/gitpod/v1/workspaces_pb.js.map +1 -0
- package/lib/gitpod/{stable/v1 → v1}/workspaces_pb.ts +54 -576
- package/package.json +1 -1
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +2 -2
- package/lib/gitpod/stable/v1/pagination_pb.d.ts.map +0 -1
- package/lib/gitpod/stable/v1/pagination_pb.js.map +0 -1
- package/lib/gitpod/stable/v1/prebuilds_connectweb.d.ts +0 -65
- package/lib/gitpod/stable/v1/prebuilds_connectweb.d.ts.map +0 -1
- package/lib/gitpod/stable/v1/prebuilds_connectweb.js +0 -72
- package/lib/gitpod/stable/v1/prebuilds_connectweb.js.map +0 -1
- package/lib/gitpod/stable/v1/prebuilds_connectweb.ts +0 -71
- package/lib/gitpod/stable/v1/prebuilds_pb.d.ts +0 -281
- package/lib/gitpod/stable/v1/prebuilds_pb.d.ts.map +0 -1
- package/lib/gitpod/stable/v1/prebuilds_pb.js +0 -435
- package/lib/gitpod/stable/v1/prebuilds_pb.js.map +0 -1
- package/lib/gitpod/stable/v1/prebuilds_pb.ts +0 -540
- package/lib/gitpod/stable/v1/workspaces_connectweb.d.ts +0 -134
- package/lib/gitpod/stable/v1/workspaces_connectweb.d.ts.map +0 -1
- package/lib/gitpod/stable/v1/workspaces_connectweb.js +0 -141
- package/lib/gitpod/stable/v1/workspaces_connectweb.js.map +0 -1
- package/lib/gitpod/stable/v1/workspaces_connectweb.ts +0 -140
- package/lib/gitpod/stable/v1/workspaces_pb.d.ts.map +0 -1
- package/lib/gitpod/stable/v1/workspaces_pb.js.map +0 -1
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* See License-AGPL.txt in the project root for license information.
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
8
|
+
exports.WorkspaceInstanceStatus_Conditions = exports.WorkspaceInstanceStatus_Phase = exports.WorkspaceInstanceStatus = exports.WorkspaceInstance = exports.WorkspaceContext_Snapshot = exports.WorkspaceContext_Prebuild = exports.WorkspaceContext_Git = exports.WorkspaceContext = exports.Workspace = exports.GetWorkspaceInstanceOwnerTokenResponse = exports.GetWorkspaceInstanceOwnerTokenRequest = exports.GetOwnerTokenResponse = exports.GetOwnerTokenRequest = exports.GetWorkspaceResponse = exports.GetWorkspaceRequest = exports.ListWorkspacesResponse_WorkspaceAndInstance = exports.ListWorkspacesResponse = exports.ListWorkspacesRequest = exports.AdmissionLevel = void 0;
|
|
9
9
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
10
|
const pagination_pb_js_1 = require("./pagination_pb.js");
|
|
11
11
|
/**
|
|
12
12
|
* Admission level describes who can access a workspace instance and its ports.
|
|
13
13
|
*
|
|
14
|
-
* @generated from enum gitpod.
|
|
14
|
+
* @generated from enum gitpod.v1.AdmissionLevel
|
|
15
15
|
*/
|
|
16
16
|
var AdmissionLevel;
|
|
17
17
|
(function (AdmissionLevel) {
|
|
@@ -33,13 +33,13 @@ var AdmissionLevel;
|
|
|
33
33
|
AdmissionLevel[AdmissionLevel["EVERYONE"] = 2] = "EVERYONE";
|
|
34
34
|
})(AdmissionLevel = exports.AdmissionLevel || (exports.AdmissionLevel = {}));
|
|
35
35
|
// Retrieve enum metadata with: proto3.getEnumType(AdmissionLevel)
|
|
36
|
-
protobuf_1.proto3.util.setEnumType(AdmissionLevel, "gitpod.
|
|
36
|
+
protobuf_1.proto3.util.setEnumType(AdmissionLevel, "gitpod.v1.AdmissionLevel", [
|
|
37
37
|
{ no: 0, name: "ADMISSION_LEVEL_UNSPECIFIED" },
|
|
38
38
|
{ no: 1, name: "ADMISSION_LEVEL_OWNER_ONLY" },
|
|
39
39
|
{ no: 2, name: "ADMISSION_LEVEL_EVERYONE" },
|
|
40
40
|
]);
|
|
41
41
|
/**
|
|
42
|
-
* @generated from message gitpod.
|
|
42
|
+
* @generated from message gitpod.v1.ListWorkspacesRequest
|
|
43
43
|
*/
|
|
44
44
|
class ListWorkspacesRequest extends protobuf_1.Message {
|
|
45
45
|
constructor(data) {
|
|
@@ -61,13 +61,13 @@ class ListWorkspacesRequest extends protobuf_1.Message {
|
|
|
61
61
|
}
|
|
62
62
|
exports.ListWorkspacesRequest = ListWorkspacesRequest;
|
|
63
63
|
ListWorkspacesRequest.runtime = protobuf_1.proto3;
|
|
64
|
-
ListWorkspacesRequest.typeName = "gitpod.
|
|
64
|
+
ListWorkspacesRequest.typeName = "gitpod.v1.ListWorkspacesRequest";
|
|
65
65
|
ListWorkspacesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
66
66
|
{ no: 1, name: "pagination", kind: "message", T: pagination_pb_js_1.Pagination },
|
|
67
67
|
{ no: 2, name: "field_mask", kind: "message", T: protobuf_1.FieldMask },
|
|
68
68
|
]);
|
|
69
69
|
/**
|
|
70
|
-
* @generated from message gitpod.
|
|
70
|
+
* @generated from message gitpod.v1.ListWorkspacesResponse
|
|
71
71
|
*/
|
|
72
72
|
class ListWorkspacesResponse extends protobuf_1.Message {
|
|
73
73
|
constructor(data) {
|
|
@@ -77,7 +77,7 @@ class ListWorkspacesResponse extends protobuf_1.Message {
|
|
|
77
77
|
*/
|
|
78
78
|
this.nextPageToken = "";
|
|
79
79
|
/**
|
|
80
|
-
* @generated from field: repeated gitpod.
|
|
80
|
+
* @generated from field: repeated gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance result = 2;
|
|
81
81
|
*/
|
|
82
82
|
this.result = [];
|
|
83
83
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -97,13 +97,13 @@ class ListWorkspacesResponse extends protobuf_1.Message {
|
|
|
97
97
|
}
|
|
98
98
|
exports.ListWorkspacesResponse = ListWorkspacesResponse;
|
|
99
99
|
ListWorkspacesResponse.runtime = protobuf_1.proto3;
|
|
100
|
-
ListWorkspacesResponse.typeName = "gitpod.
|
|
100
|
+
ListWorkspacesResponse.typeName = "gitpod.v1.ListWorkspacesResponse";
|
|
101
101
|
ListWorkspacesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
102
102
|
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
103
103
|
{ no: 2, name: "result", kind: "message", T: ListWorkspacesResponse_WorkspaceAndInstance, repeated: true },
|
|
104
104
|
]);
|
|
105
105
|
/**
|
|
106
|
-
* @generated from message gitpod.
|
|
106
|
+
* @generated from message gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance
|
|
107
107
|
*/
|
|
108
108
|
class ListWorkspacesResponse_WorkspaceAndInstance extends protobuf_1.Message {
|
|
109
109
|
constructor(data) {
|
|
@@ -125,13 +125,13 @@ class ListWorkspacesResponse_WorkspaceAndInstance extends protobuf_1.Message {
|
|
|
125
125
|
}
|
|
126
126
|
exports.ListWorkspacesResponse_WorkspaceAndInstance = ListWorkspacesResponse_WorkspaceAndInstance;
|
|
127
127
|
ListWorkspacesResponse_WorkspaceAndInstance.runtime = protobuf_1.proto3;
|
|
128
|
-
ListWorkspacesResponse_WorkspaceAndInstance.typeName = "gitpod.
|
|
128
|
+
ListWorkspacesResponse_WorkspaceAndInstance.typeName = "gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance";
|
|
129
129
|
ListWorkspacesResponse_WorkspaceAndInstance.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
130
130
|
{ no: 1, name: "result", kind: "message", T: Workspace },
|
|
131
131
|
{ no: 2, name: "last_active_instances", kind: "message", T: WorkspaceInstance },
|
|
132
132
|
]);
|
|
133
133
|
/**
|
|
134
|
-
* @generated from message gitpod.
|
|
134
|
+
* @generated from message gitpod.v1.GetWorkspaceRequest
|
|
135
135
|
*/
|
|
136
136
|
class GetWorkspaceRequest extends protobuf_1.Message {
|
|
137
137
|
constructor(data) {
|
|
@@ -157,12 +157,12 @@ class GetWorkspaceRequest extends protobuf_1.Message {
|
|
|
157
157
|
}
|
|
158
158
|
exports.GetWorkspaceRequest = GetWorkspaceRequest;
|
|
159
159
|
GetWorkspaceRequest.runtime = protobuf_1.proto3;
|
|
160
|
-
GetWorkspaceRequest.typeName = "gitpod.
|
|
160
|
+
GetWorkspaceRequest.typeName = "gitpod.v1.GetWorkspaceRequest";
|
|
161
161
|
GetWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
162
162
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
163
163
|
]);
|
|
164
164
|
/**
|
|
165
|
-
* @generated from message gitpod.
|
|
165
|
+
* @generated from message gitpod.v1.GetWorkspaceResponse
|
|
166
166
|
*/
|
|
167
167
|
class GetWorkspaceResponse extends protobuf_1.Message {
|
|
168
168
|
constructor(data) {
|
|
@@ -184,12 +184,12 @@ class GetWorkspaceResponse extends protobuf_1.Message {
|
|
|
184
184
|
}
|
|
185
185
|
exports.GetWorkspaceResponse = GetWorkspaceResponse;
|
|
186
186
|
GetWorkspaceResponse.runtime = protobuf_1.proto3;
|
|
187
|
-
GetWorkspaceResponse.typeName = "gitpod.
|
|
187
|
+
GetWorkspaceResponse.typeName = "gitpod.v1.GetWorkspaceResponse";
|
|
188
188
|
GetWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
189
189
|
{ no: 1, name: "result", kind: "message", T: Workspace },
|
|
190
190
|
]);
|
|
191
191
|
/**
|
|
192
|
-
* @generated from message gitpod.
|
|
192
|
+
* @generated from message gitpod.v1.GetOwnerTokenRequest
|
|
193
193
|
*/
|
|
194
194
|
class GetOwnerTokenRequest extends protobuf_1.Message {
|
|
195
195
|
constructor(data) {
|
|
@@ -215,12 +215,12 @@ class GetOwnerTokenRequest extends protobuf_1.Message {
|
|
|
215
215
|
}
|
|
216
216
|
exports.GetOwnerTokenRequest = GetOwnerTokenRequest;
|
|
217
217
|
GetOwnerTokenRequest.runtime = protobuf_1.proto3;
|
|
218
|
-
GetOwnerTokenRequest.typeName = "gitpod.
|
|
218
|
+
GetOwnerTokenRequest.typeName = "gitpod.v1.GetOwnerTokenRequest";
|
|
219
219
|
GetOwnerTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
220
220
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
221
221
|
]);
|
|
222
222
|
/**
|
|
223
|
-
* @generated from message gitpod.
|
|
223
|
+
* @generated from message gitpod.v1.GetOwnerTokenResponse
|
|
224
224
|
*/
|
|
225
225
|
class GetOwnerTokenResponse extends protobuf_1.Message {
|
|
226
226
|
constructor(data) {
|
|
@@ -246,212 +246,12 @@ class GetOwnerTokenResponse extends protobuf_1.Message {
|
|
|
246
246
|
}
|
|
247
247
|
exports.GetOwnerTokenResponse = GetOwnerTokenResponse;
|
|
248
248
|
GetOwnerTokenResponse.runtime = protobuf_1.proto3;
|
|
249
|
-
GetOwnerTokenResponse.typeName = "gitpod.
|
|
249
|
+
GetOwnerTokenResponse.typeName = "gitpod.v1.GetOwnerTokenResponse";
|
|
250
250
|
GetOwnerTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
251
251
|
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
252
252
|
]);
|
|
253
253
|
/**
|
|
254
|
-
* @generated from message gitpod.
|
|
255
|
-
*/
|
|
256
|
-
class CreateAndStartWorkspaceRequest extends protobuf_1.Message {
|
|
257
|
-
constructor(data) {
|
|
258
|
-
super();
|
|
259
|
-
/**
|
|
260
|
-
* @generated from field: string idempotency_token = 1;
|
|
261
|
-
*/
|
|
262
|
-
this.idempotencyToken = "";
|
|
263
|
-
/**
|
|
264
|
-
* @generated from oneof gitpod.stable.v1.CreateAndStartWorkspaceRequest.source
|
|
265
|
-
*/
|
|
266
|
-
this.source = { case: undefined };
|
|
267
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
268
|
-
}
|
|
269
|
-
static fromBinary(bytes, options) {
|
|
270
|
-
return new CreateAndStartWorkspaceRequest().fromBinary(bytes, options);
|
|
271
|
-
}
|
|
272
|
-
static fromJson(jsonValue, options) {
|
|
273
|
-
return new CreateAndStartWorkspaceRequest().fromJson(jsonValue, options);
|
|
274
|
-
}
|
|
275
|
-
static fromJsonString(jsonString, options) {
|
|
276
|
-
return new CreateAndStartWorkspaceRequest().fromJsonString(jsonString, options);
|
|
277
|
-
}
|
|
278
|
-
static equals(a, b) {
|
|
279
|
-
return protobuf_1.proto3.util.equals(CreateAndStartWorkspaceRequest, a, b);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
exports.CreateAndStartWorkspaceRequest = CreateAndStartWorkspaceRequest;
|
|
283
|
-
CreateAndStartWorkspaceRequest.runtime = protobuf_1.proto3;
|
|
284
|
-
CreateAndStartWorkspaceRequest.typeName = "gitpod.stable.v1.CreateAndStartWorkspaceRequest";
|
|
285
|
-
CreateAndStartWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
286
|
-
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
287
|
-
{ no: 2, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
|
|
288
|
-
{ no: 3, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
|
|
289
|
-
{ no: 5, name: "start_spec", kind: "message", T: StartWorkspaceSpec },
|
|
290
|
-
]);
|
|
291
|
-
/**
|
|
292
|
-
* @generated from message gitpod.stable.v1.CreateAndStartWorkspaceResponse
|
|
293
|
-
*/
|
|
294
|
-
class CreateAndStartWorkspaceResponse extends protobuf_1.Message {
|
|
295
|
-
constructor(data) {
|
|
296
|
-
super();
|
|
297
|
-
/**
|
|
298
|
-
* @generated from field: string workspace_id = 1;
|
|
299
|
-
*/
|
|
300
|
-
this.workspaceId = "";
|
|
301
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
302
|
-
}
|
|
303
|
-
static fromBinary(bytes, options) {
|
|
304
|
-
return new CreateAndStartWorkspaceResponse().fromBinary(bytes, options);
|
|
305
|
-
}
|
|
306
|
-
static fromJson(jsonValue, options) {
|
|
307
|
-
return new CreateAndStartWorkspaceResponse().fromJson(jsonValue, options);
|
|
308
|
-
}
|
|
309
|
-
static fromJsonString(jsonString, options) {
|
|
310
|
-
return new CreateAndStartWorkspaceResponse().fromJsonString(jsonString, options);
|
|
311
|
-
}
|
|
312
|
-
static equals(a, b) {
|
|
313
|
-
return protobuf_1.proto3.util.equals(CreateAndStartWorkspaceResponse, a, b);
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
exports.CreateAndStartWorkspaceResponse = CreateAndStartWorkspaceResponse;
|
|
317
|
-
CreateAndStartWorkspaceResponse.runtime = protobuf_1.proto3;
|
|
318
|
-
CreateAndStartWorkspaceResponse.typeName = "gitpod.stable.v1.CreateAndStartWorkspaceResponse";
|
|
319
|
-
CreateAndStartWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
320
|
-
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
321
|
-
]);
|
|
322
|
-
/**
|
|
323
|
-
* @generated from message gitpod.stable.v1.StartWorkspaceRequest
|
|
324
|
-
*/
|
|
325
|
-
class StartWorkspaceRequest extends protobuf_1.Message {
|
|
326
|
-
constructor(data) {
|
|
327
|
-
super();
|
|
328
|
-
/**
|
|
329
|
-
* @generated from field: string idempotency_token = 1;
|
|
330
|
-
*/
|
|
331
|
-
this.idempotencyToken = "";
|
|
332
|
-
/**
|
|
333
|
-
* @generated from field: string workspace_id = 2;
|
|
334
|
-
*/
|
|
335
|
-
this.workspaceId = "";
|
|
336
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
337
|
-
}
|
|
338
|
-
static fromBinary(bytes, options) {
|
|
339
|
-
return new StartWorkspaceRequest().fromBinary(bytes, options);
|
|
340
|
-
}
|
|
341
|
-
static fromJson(jsonValue, options) {
|
|
342
|
-
return new StartWorkspaceRequest().fromJson(jsonValue, options);
|
|
343
|
-
}
|
|
344
|
-
static fromJsonString(jsonString, options) {
|
|
345
|
-
return new StartWorkspaceRequest().fromJsonString(jsonString, options);
|
|
346
|
-
}
|
|
347
|
-
static equals(a, b) {
|
|
348
|
-
return protobuf_1.proto3.util.equals(StartWorkspaceRequest, a, b);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
exports.StartWorkspaceRequest = StartWorkspaceRequest;
|
|
352
|
-
StartWorkspaceRequest.runtime = protobuf_1.proto3;
|
|
353
|
-
StartWorkspaceRequest.typeName = "gitpod.stable.v1.StartWorkspaceRequest";
|
|
354
|
-
StartWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
355
|
-
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
356
|
-
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
357
|
-
{ no: 3, name: "spec", kind: "message", T: StartWorkspaceSpec },
|
|
358
|
-
]);
|
|
359
|
-
/**
|
|
360
|
-
* @generated from message gitpod.stable.v1.StartWorkspaceResponse
|
|
361
|
-
*/
|
|
362
|
-
class StartWorkspaceResponse extends protobuf_1.Message {
|
|
363
|
-
constructor(data) {
|
|
364
|
-
super();
|
|
365
|
-
/**
|
|
366
|
-
* @generated from field: string instance_id = 1;
|
|
367
|
-
*/
|
|
368
|
-
this.instanceId = "";
|
|
369
|
-
/**
|
|
370
|
-
* @generated from field: string workspace_url = 2;
|
|
371
|
-
*/
|
|
372
|
-
this.workspaceUrl = "";
|
|
373
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
374
|
-
}
|
|
375
|
-
static fromBinary(bytes, options) {
|
|
376
|
-
return new StartWorkspaceResponse().fromBinary(bytes, options);
|
|
377
|
-
}
|
|
378
|
-
static fromJson(jsonValue, options) {
|
|
379
|
-
return new StartWorkspaceResponse().fromJson(jsonValue, options);
|
|
380
|
-
}
|
|
381
|
-
static fromJsonString(jsonString, options) {
|
|
382
|
-
return new StartWorkspaceResponse().fromJsonString(jsonString, options);
|
|
383
|
-
}
|
|
384
|
-
static equals(a, b) {
|
|
385
|
-
return protobuf_1.proto3.util.equals(StartWorkspaceResponse, a, b);
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
exports.StartWorkspaceResponse = StartWorkspaceResponse;
|
|
389
|
-
StartWorkspaceResponse.runtime = protobuf_1.proto3;
|
|
390
|
-
StartWorkspaceResponse.typeName = "gitpod.stable.v1.StartWorkspaceResponse";
|
|
391
|
-
StartWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
392
|
-
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
393
|
-
{ no: 2, name: "workspace_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
394
|
-
]);
|
|
395
|
-
/**
|
|
396
|
-
* @generated from message gitpod.stable.v1.GetActiveWorkspaceInstanceRequest
|
|
397
|
-
*/
|
|
398
|
-
class GetActiveWorkspaceInstanceRequest extends protobuf_1.Message {
|
|
399
|
-
constructor(data) {
|
|
400
|
-
super();
|
|
401
|
-
/**
|
|
402
|
-
* @generated from field: string workspace_id = 1;
|
|
403
|
-
*/
|
|
404
|
-
this.workspaceId = "";
|
|
405
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
406
|
-
}
|
|
407
|
-
static fromBinary(bytes, options) {
|
|
408
|
-
return new GetActiveWorkspaceInstanceRequest().fromBinary(bytes, options);
|
|
409
|
-
}
|
|
410
|
-
static fromJson(jsonValue, options) {
|
|
411
|
-
return new GetActiveWorkspaceInstanceRequest().fromJson(jsonValue, options);
|
|
412
|
-
}
|
|
413
|
-
static fromJsonString(jsonString, options) {
|
|
414
|
-
return new GetActiveWorkspaceInstanceRequest().fromJsonString(jsonString, options);
|
|
415
|
-
}
|
|
416
|
-
static equals(a, b) {
|
|
417
|
-
return protobuf_1.proto3.util.equals(GetActiveWorkspaceInstanceRequest, a, b);
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
exports.GetActiveWorkspaceInstanceRequest = GetActiveWorkspaceInstanceRequest;
|
|
421
|
-
GetActiveWorkspaceInstanceRequest.runtime = protobuf_1.proto3;
|
|
422
|
-
GetActiveWorkspaceInstanceRequest.typeName = "gitpod.stable.v1.GetActiveWorkspaceInstanceRequest";
|
|
423
|
-
GetActiveWorkspaceInstanceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
424
|
-
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
425
|
-
]);
|
|
426
|
-
/**
|
|
427
|
-
* @generated from message gitpod.stable.v1.GetActiveWorkspaceInstanceResponse
|
|
428
|
-
*/
|
|
429
|
-
class GetActiveWorkspaceInstanceResponse extends protobuf_1.Message {
|
|
430
|
-
constructor(data) {
|
|
431
|
-
super();
|
|
432
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
433
|
-
}
|
|
434
|
-
static fromBinary(bytes, options) {
|
|
435
|
-
return new GetActiveWorkspaceInstanceResponse().fromBinary(bytes, options);
|
|
436
|
-
}
|
|
437
|
-
static fromJson(jsonValue, options) {
|
|
438
|
-
return new GetActiveWorkspaceInstanceResponse().fromJson(jsonValue, options);
|
|
439
|
-
}
|
|
440
|
-
static fromJsonString(jsonString, options) {
|
|
441
|
-
return new GetActiveWorkspaceInstanceResponse().fromJsonString(jsonString, options);
|
|
442
|
-
}
|
|
443
|
-
static equals(a, b) {
|
|
444
|
-
return protobuf_1.proto3.util.equals(GetActiveWorkspaceInstanceResponse, a, b);
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
exports.GetActiveWorkspaceInstanceResponse = GetActiveWorkspaceInstanceResponse;
|
|
448
|
-
GetActiveWorkspaceInstanceResponse.runtime = protobuf_1.proto3;
|
|
449
|
-
GetActiveWorkspaceInstanceResponse.typeName = "gitpod.stable.v1.GetActiveWorkspaceInstanceResponse";
|
|
450
|
-
GetActiveWorkspaceInstanceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
451
|
-
{ no: 1, name: "instance", kind: "message", T: WorkspaceInstance },
|
|
452
|
-
]);
|
|
453
|
-
/**
|
|
454
|
-
* @generated from message gitpod.stable.v1.GetWorkspaceInstanceOwnerTokenRequest
|
|
254
|
+
* @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest
|
|
455
255
|
*/
|
|
456
256
|
class GetWorkspaceInstanceOwnerTokenRequest extends protobuf_1.Message {
|
|
457
257
|
constructor(data) {
|
|
@@ -477,12 +277,12 @@ class GetWorkspaceInstanceOwnerTokenRequest extends protobuf_1.Message {
|
|
|
477
277
|
}
|
|
478
278
|
exports.GetWorkspaceInstanceOwnerTokenRequest = GetWorkspaceInstanceOwnerTokenRequest;
|
|
479
279
|
GetWorkspaceInstanceOwnerTokenRequest.runtime = protobuf_1.proto3;
|
|
480
|
-
GetWorkspaceInstanceOwnerTokenRequest.typeName = "gitpod.
|
|
280
|
+
GetWorkspaceInstanceOwnerTokenRequest.typeName = "gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest";
|
|
481
281
|
GetWorkspaceInstanceOwnerTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
482
282
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
483
283
|
]);
|
|
484
284
|
/**
|
|
485
|
-
* @generated from message gitpod.
|
|
285
|
+
* @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse
|
|
486
286
|
*/
|
|
487
287
|
class GetWorkspaceInstanceOwnerTokenResponse extends protobuf_1.Message {
|
|
488
288
|
constructor(data) {
|
|
@@ -508,195 +308,14 @@ class GetWorkspaceInstanceOwnerTokenResponse extends protobuf_1.Message {
|
|
|
508
308
|
}
|
|
509
309
|
exports.GetWorkspaceInstanceOwnerTokenResponse = GetWorkspaceInstanceOwnerTokenResponse;
|
|
510
310
|
GetWorkspaceInstanceOwnerTokenResponse.runtime = protobuf_1.proto3;
|
|
511
|
-
GetWorkspaceInstanceOwnerTokenResponse.typeName = "gitpod.
|
|
311
|
+
GetWorkspaceInstanceOwnerTokenResponse.typeName = "gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse";
|
|
512
312
|
GetWorkspaceInstanceOwnerTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
513
313
|
{ no: 1, name: "owner_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
514
314
|
]);
|
|
515
|
-
/**
|
|
516
|
-
* @generated from message gitpod.stable.v1.ListenToWorkspaceInstanceRequest
|
|
517
|
-
*/
|
|
518
|
-
class ListenToWorkspaceInstanceRequest extends protobuf_1.Message {
|
|
519
|
-
constructor(data) {
|
|
520
|
-
super();
|
|
521
|
-
/**
|
|
522
|
-
* @generated from field: string instance_id = 1;
|
|
523
|
-
*/
|
|
524
|
-
this.instanceId = "";
|
|
525
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
526
|
-
}
|
|
527
|
-
static fromBinary(bytes, options) {
|
|
528
|
-
return new ListenToWorkspaceInstanceRequest().fromBinary(bytes, options);
|
|
529
|
-
}
|
|
530
|
-
static fromJson(jsonValue, options) {
|
|
531
|
-
return new ListenToWorkspaceInstanceRequest().fromJson(jsonValue, options);
|
|
532
|
-
}
|
|
533
|
-
static fromJsonString(jsonString, options) {
|
|
534
|
-
return new ListenToWorkspaceInstanceRequest().fromJsonString(jsonString, options);
|
|
535
|
-
}
|
|
536
|
-
static equals(a, b) {
|
|
537
|
-
return protobuf_1.proto3.util.equals(ListenToWorkspaceInstanceRequest, a, b);
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
exports.ListenToWorkspaceInstanceRequest = ListenToWorkspaceInstanceRequest;
|
|
541
|
-
ListenToWorkspaceInstanceRequest.runtime = protobuf_1.proto3;
|
|
542
|
-
ListenToWorkspaceInstanceRequest.typeName = "gitpod.stable.v1.ListenToWorkspaceInstanceRequest";
|
|
543
|
-
ListenToWorkspaceInstanceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
544
|
-
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
545
|
-
]);
|
|
546
|
-
/**
|
|
547
|
-
* @generated from message gitpod.stable.v1.ListenToWorkspaceInstanceResponse
|
|
548
|
-
*/
|
|
549
|
-
class ListenToWorkspaceInstanceResponse extends protobuf_1.Message {
|
|
550
|
-
constructor(data) {
|
|
551
|
-
super();
|
|
552
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
553
|
-
}
|
|
554
|
-
static fromBinary(bytes, options) {
|
|
555
|
-
return new ListenToWorkspaceInstanceResponse().fromBinary(bytes, options);
|
|
556
|
-
}
|
|
557
|
-
static fromJson(jsonValue, options) {
|
|
558
|
-
return new ListenToWorkspaceInstanceResponse().fromJson(jsonValue, options);
|
|
559
|
-
}
|
|
560
|
-
static fromJsonString(jsonString, options) {
|
|
561
|
-
return new ListenToWorkspaceInstanceResponse().fromJsonString(jsonString, options);
|
|
562
|
-
}
|
|
563
|
-
static equals(a, b) {
|
|
564
|
-
return protobuf_1.proto3.util.equals(ListenToWorkspaceInstanceResponse, a, b);
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
exports.ListenToWorkspaceInstanceResponse = ListenToWorkspaceInstanceResponse;
|
|
568
|
-
ListenToWorkspaceInstanceResponse.runtime = protobuf_1.proto3;
|
|
569
|
-
ListenToWorkspaceInstanceResponse.typeName = "gitpod.stable.v1.ListenToWorkspaceInstanceResponse";
|
|
570
|
-
ListenToWorkspaceInstanceResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
571
|
-
{ no: 1, name: "instance_status", kind: "message", T: WorkspaceInstanceStatus },
|
|
572
|
-
]);
|
|
573
|
-
/**
|
|
574
|
-
* @generated from message gitpod.stable.v1.ListenToImageBuildLogsRequest
|
|
575
|
-
*/
|
|
576
|
-
class ListenToImageBuildLogsRequest extends protobuf_1.Message {
|
|
577
|
-
constructor(data) {
|
|
578
|
-
super();
|
|
579
|
-
/**
|
|
580
|
-
* @generated from field: string instance_id = 1;
|
|
581
|
-
*/
|
|
582
|
-
this.instanceId = "";
|
|
583
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
584
|
-
}
|
|
585
|
-
static fromBinary(bytes, options) {
|
|
586
|
-
return new ListenToImageBuildLogsRequest().fromBinary(bytes, options);
|
|
587
|
-
}
|
|
588
|
-
static fromJson(jsonValue, options) {
|
|
589
|
-
return new ListenToImageBuildLogsRequest().fromJson(jsonValue, options);
|
|
590
|
-
}
|
|
591
|
-
static fromJsonString(jsonString, options) {
|
|
592
|
-
return new ListenToImageBuildLogsRequest().fromJsonString(jsonString, options);
|
|
593
|
-
}
|
|
594
|
-
static equals(a, b) {
|
|
595
|
-
return protobuf_1.proto3.util.equals(ListenToImageBuildLogsRequest, a, b);
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
exports.ListenToImageBuildLogsRequest = ListenToImageBuildLogsRequest;
|
|
599
|
-
ListenToImageBuildLogsRequest.runtime = protobuf_1.proto3;
|
|
600
|
-
ListenToImageBuildLogsRequest.typeName = "gitpod.stable.v1.ListenToImageBuildLogsRequest";
|
|
601
|
-
ListenToImageBuildLogsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
602
|
-
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
603
|
-
]);
|
|
604
|
-
/**
|
|
605
|
-
* @generated from message gitpod.stable.v1.ListenToImageBuildLogsResponse
|
|
606
|
-
*/
|
|
607
|
-
class ListenToImageBuildLogsResponse extends protobuf_1.Message {
|
|
608
|
-
constructor(data) {
|
|
609
|
-
super();
|
|
610
|
-
/**
|
|
611
|
-
* @generated from field: string line = 1;
|
|
612
|
-
*/
|
|
613
|
-
this.line = "";
|
|
614
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
615
|
-
}
|
|
616
|
-
static fromBinary(bytes, options) {
|
|
617
|
-
return new ListenToImageBuildLogsResponse().fromBinary(bytes, options);
|
|
618
|
-
}
|
|
619
|
-
static fromJson(jsonValue, options) {
|
|
620
|
-
return new ListenToImageBuildLogsResponse().fromJson(jsonValue, options);
|
|
621
|
-
}
|
|
622
|
-
static fromJsonString(jsonString, options) {
|
|
623
|
-
return new ListenToImageBuildLogsResponse().fromJsonString(jsonString, options);
|
|
624
|
-
}
|
|
625
|
-
static equals(a, b) {
|
|
626
|
-
return protobuf_1.proto3.util.equals(ListenToImageBuildLogsResponse, a, b);
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
exports.ListenToImageBuildLogsResponse = ListenToImageBuildLogsResponse;
|
|
630
|
-
ListenToImageBuildLogsResponse.runtime = protobuf_1.proto3;
|
|
631
|
-
ListenToImageBuildLogsResponse.typeName = "gitpod.stable.v1.ListenToImageBuildLogsResponse";
|
|
632
|
-
ListenToImageBuildLogsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
633
|
-
{ no: 1, name: "line", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
634
|
-
]);
|
|
635
|
-
/**
|
|
636
|
-
* @generated from message gitpod.stable.v1.StopWorkspaceRequest
|
|
637
|
-
*/
|
|
638
|
-
class StopWorkspaceRequest extends protobuf_1.Message {
|
|
639
|
-
constructor(data) {
|
|
640
|
-
super();
|
|
641
|
-
/**
|
|
642
|
-
* @generated from field: string idempotency_token = 1;
|
|
643
|
-
*/
|
|
644
|
-
this.idempotencyToken = "";
|
|
645
|
-
/**
|
|
646
|
-
* @generated from field: string workspace_id = 2;
|
|
647
|
-
*/
|
|
648
|
-
this.workspaceId = "";
|
|
649
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
650
|
-
}
|
|
651
|
-
static fromBinary(bytes, options) {
|
|
652
|
-
return new StopWorkspaceRequest().fromBinary(bytes, options);
|
|
653
|
-
}
|
|
654
|
-
static fromJson(jsonValue, options) {
|
|
655
|
-
return new StopWorkspaceRequest().fromJson(jsonValue, options);
|
|
656
|
-
}
|
|
657
|
-
static fromJsonString(jsonString, options) {
|
|
658
|
-
return new StopWorkspaceRequest().fromJsonString(jsonString, options);
|
|
659
|
-
}
|
|
660
|
-
static equals(a, b) {
|
|
661
|
-
return protobuf_1.proto3.util.equals(StopWorkspaceRequest, a, b);
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
exports.StopWorkspaceRequest = StopWorkspaceRequest;
|
|
665
|
-
StopWorkspaceRequest.runtime = protobuf_1.proto3;
|
|
666
|
-
StopWorkspaceRequest.typeName = "gitpod.stable.v1.StopWorkspaceRequest";
|
|
667
|
-
StopWorkspaceRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
668
|
-
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
669
|
-
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
670
|
-
]);
|
|
671
|
-
/**
|
|
672
|
-
* @generated from message gitpod.stable.v1.StopWorkspaceResponse
|
|
673
|
-
*/
|
|
674
|
-
class StopWorkspaceResponse extends protobuf_1.Message {
|
|
675
|
-
constructor(data) {
|
|
676
|
-
super();
|
|
677
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
678
|
-
}
|
|
679
|
-
static fromBinary(bytes, options) {
|
|
680
|
-
return new StopWorkspaceResponse().fromBinary(bytes, options);
|
|
681
|
-
}
|
|
682
|
-
static fromJson(jsonValue, options) {
|
|
683
|
-
return new StopWorkspaceResponse().fromJson(jsonValue, options);
|
|
684
|
-
}
|
|
685
|
-
static fromJsonString(jsonString, options) {
|
|
686
|
-
return new StopWorkspaceResponse().fromJsonString(jsonString, options);
|
|
687
|
-
}
|
|
688
|
-
static equals(a, b) {
|
|
689
|
-
return protobuf_1.proto3.util.equals(StopWorkspaceResponse, a, b);
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
exports.StopWorkspaceResponse = StopWorkspaceResponse;
|
|
693
|
-
StopWorkspaceResponse.runtime = protobuf_1.proto3;
|
|
694
|
-
StopWorkspaceResponse.typeName = "gitpod.stable.v1.StopWorkspaceResponse";
|
|
695
|
-
StopWorkspaceResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
696
315
|
/**
|
|
697
316
|
* Workspace describes a single workspace
|
|
698
317
|
*
|
|
699
|
-
* @generated from message gitpod.
|
|
318
|
+
* @generated from message gitpod.v1.Workspace
|
|
700
319
|
*/
|
|
701
320
|
class Workspace extends protobuf_1.Message {
|
|
702
321
|
constructor(data) {
|
|
@@ -742,7 +361,7 @@ class Workspace extends protobuf_1.Message {
|
|
|
742
361
|
}
|
|
743
362
|
exports.Workspace = Workspace;
|
|
744
363
|
Workspace.runtime = protobuf_1.proto3;
|
|
745
|
-
Workspace.typeName = "gitpod.
|
|
364
|
+
Workspace.typeName = "gitpod.v1.Workspace";
|
|
746
365
|
Workspace.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
747
366
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
748
367
|
{ no: 2, name: "owner_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -753,7 +372,7 @@ Workspace.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
753
372
|
/**
|
|
754
373
|
* WorkspaceContext describes the context a workspace was created from
|
|
755
374
|
*
|
|
756
|
-
* @generated from message gitpod.
|
|
375
|
+
* @generated from message gitpod.v1.WorkspaceContext
|
|
757
376
|
*/
|
|
758
377
|
class WorkspaceContext extends protobuf_1.Message {
|
|
759
378
|
constructor(data) {
|
|
@@ -766,7 +385,7 @@ class WorkspaceContext extends protobuf_1.Message {
|
|
|
766
385
|
*/
|
|
767
386
|
this.contextUrl = "";
|
|
768
387
|
/**
|
|
769
|
-
* @generated from oneof gitpod.
|
|
388
|
+
* @generated from oneof gitpod.v1.WorkspaceContext.details
|
|
770
389
|
*/
|
|
771
390
|
this.details = { case: undefined };
|
|
772
391
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -786,7 +405,7 @@ class WorkspaceContext extends protobuf_1.Message {
|
|
|
786
405
|
}
|
|
787
406
|
exports.WorkspaceContext = WorkspaceContext;
|
|
788
407
|
WorkspaceContext.runtime = protobuf_1.proto3;
|
|
789
|
-
WorkspaceContext.typeName = "gitpod.
|
|
408
|
+
WorkspaceContext.typeName = "gitpod.v1.WorkspaceContext";
|
|
790
409
|
WorkspaceContext.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
791
410
|
{ no: 1, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
792
411
|
{ no: 2, name: "git", kind: "message", T: WorkspaceContext_Git, oneof: "details" },
|
|
@@ -796,7 +415,7 @@ WorkspaceContext.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
796
415
|
/**
|
|
797
416
|
* Explicit Git context
|
|
798
417
|
*
|
|
799
|
-
* @generated from message gitpod.
|
|
418
|
+
* @generated from message gitpod.v1.WorkspaceContext.Git
|
|
800
419
|
*/
|
|
801
420
|
class WorkspaceContext_Git extends protobuf_1.Message {
|
|
802
421
|
constructor(data) {
|
|
@@ -826,7 +445,7 @@ class WorkspaceContext_Git extends protobuf_1.Message {
|
|
|
826
445
|
}
|
|
827
446
|
exports.WorkspaceContext_Git = WorkspaceContext_Git;
|
|
828
447
|
WorkspaceContext_Git.runtime = protobuf_1.proto3;
|
|
829
|
-
WorkspaceContext_Git.typeName = "gitpod.
|
|
448
|
+
WorkspaceContext_Git.typeName = "gitpod.v1.WorkspaceContext.Git";
|
|
830
449
|
WorkspaceContext_Git.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
831
450
|
{ no: 1, name: "normalized_context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
832
451
|
{ no: 2, name: "commit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -834,7 +453,7 @@ WorkspaceContext_Git.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
834
453
|
/**
|
|
835
454
|
* Workspace was created from a prebuild
|
|
836
455
|
*
|
|
837
|
-
* @generated from message gitpod.
|
|
456
|
+
* @generated from message gitpod.v1.WorkspaceContext.Prebuild
|
|
838
457
|
*/
|
|
839
458
|
class WorkspaceContext_Prebuild extends protobuf_1.Message {
|
|
840
459
|
constructor(data) {
|
|
@@ -862,7 +481,7 @@ class WorkspaceContext_Prebuild extends protobuf_1.Message {
|
|
|
862
481
|
}
|
|
863
482
|
exports.WorkspaceContext_Prebuild = WorkspaceContext_Prebuild;
|
|
864
483
|
WorkspaceContext_Prebuild.runtime = protobuf_1.proto3;
|
|
865
|
-
WorkspaceContext_Prebuild.typeName = "gitpod.
|
|
484
|
+
WorkspaceContext_Prebuild.typeName = "gitpod.v1.WorkspaceContext.Prebuild";
|
|
866
485
|
WorkspaceContext_Prebuild.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
867
486
|
{ no: 1, name: "original_context", kind: "message", T: WorkspaceContext_Git },
|
|
868
487
|
{ no: 2, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -870,7 +489,7 @@ WorkspaceContext_Prebuild.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
870
489
|
/**
|
|
871
490
|
* Snapshot context points to the snapshot which the workspace was created from
|
|
872
491
|
*
|
|
873
|
-
* @generated from message gitpod.
|
|
492
|
+
* @generated from message gitpod.v1.WorkspaceContext.Snapshot
|
|
874
493
|
*/
|
|
875
494
|
class WorkspaceContext_Snapshot extends protobuf_1.Message {
|
|
876
495
|
constructor(data) {
|
|
@@ -896,14 +515,14 @@ class WorkspaceContext_Snapshot extends protobuf_1.Message {
|
|
|
896
515
|
}
|
|
897
516
|
exports.WorkspaceContext_Snapshot = WorkspaceContext_Snapshot;
|
|
898
517
|
WorkspaceContext_Snapshot.runtime = protobuf_1.proto3;
|
|
899
|
-
WorkspaceContext_Snapshot.typeName = "gitpod.
|
|
518
|
+
WorkspaceContext_Snapshot.typeName = "gitpod.v1.WorkspaceContext.Snapshot";
|
|
900
519
|
WorkspaceContext_Snapshot.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
901
520
|
{ no: 1, name: "snapshot_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
902
521
|
]);
|
|
903
522
|
/**
|
|
904
523
|
* WorkspaceInstance describes a single workspace instance
|
|
905
524
|
*
|
|
906
|
-
* @generated from message gitpod.
|
|
525
|
+
* @generated from message gitpod.v1.WorkspaceInstance
|
|
907
526
|
*/
|
|
908
527
|
class WorkspaceInstance extends protobuf_1.Message {
|
|
909
528
|
constructor(data) {
|
|
@@ -937,7 +556,7 @@ class WorkspaceInstance extends protobuf_1.Message {
|
|
|
937
556
|
}
|
|
938
557
|
exports.WorkspaceInstance = WorkspaceInstance;
|
|
939
558
|
WorkspaceInstance.runtime = protobuf_1.proto3;
|
|
940
|
-
WorkspaceInstance.typeName = "gitpod.
|
|
559
|
+
WorkspaceInstance.typeName = "gitpod.v1.WorkspaceInstance";
|
|
941
560
|
WorkspaceInstance.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
942
561
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
943
562
|
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -947,7 +566,7 @@ WorkspaceInstance.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
947
566
|
/**
|
|
948
567
|
* WorkspaceStatus describes a workspace status
|
|
949
568
|
*
|
|
950
|
-
* @generated from message gitpod.
|
|
569
|
+
* @generated from message gitpod.v1.WorkspaceInstanceStatus
|
|
951
570
|
*/
|
|
952
571
|
class WorkspaceInstanceStatus extends protobuf_1.Message {
|
|
953
572
|
constructor(data) {
|
|
@@ -965,7 +584,7 @@ class WorkspaceInstanceStatus extends protobuf_1.Message {
|
|
|
965
584
|
/**
|
|
966
585
|
* the phase of a workspace is a simple, high-level summary of where the workspace instance is in its lifecycle
|
|
967
586
|
*
|
|
968
|
-
* @generated from field: gitpod.
|
|
587
|
+
* @generated from field: gitpod.v1.WorkspaceInstanceStatus.Phase phase = 2;
|
|
969
588
|
*/
|
|
970
589
|
this.phase = WorkspaceInstanceStatus_Phase.UNSPECIFIED;
|
|
971
590
|
/**
|
|
@@ -983,7 +602,7 @@ class WorkspaceInstanceStatus extends protobuf_1.Message {
|
|
|
983
602
|
/**
|
|
984
603
|
* Admission describes who can access a workspace instance and its ports.
|
|
985
604
|
*
|
|
986
|
-
* @generated from field: gitpod.
|
|
605
|
+
* @generated from field: gitpod.v1.AdmissionLevel admission = 6;
|
|
987
606
|
*/
|
|
988
607
|
this.admission = AdmissionLevel.UNSPECIFIED;
|
|
989
608
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1003,7 +622,7 @@ class WorkspaceInstanceStatus extends protobuf_1.Message {
|
|
|
1003
622
|
}
|
|
1004
623
|
exports.WorkspaceInstanceStatus = WorkspaceInstanceStatus;
|
|
1005
624
|
WorkspaceInstanceStatus.runtime = protobuf_1.proto3;
|
|
1006
|
-
WorkspaceInstanceStatus.typeName = "gitpod.
|
|
625
|
+
WorkspaceInstanceStatus.typeName = "gitpod.v1.WorkspaceInstanceStatus";
|
|
1007
626
|
WorkspaceInstanceStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1008
627
|
{ no: 1, name: "status_version", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1009
628
|
{ no: 2, name: "phase", kind: "enum", T: protobuf_1.proto3.getEnumType(WorkspaceInstanceStatus_Phase) },
|
|
@@ -1018,7 +637,7 @@ WorkspaceInstanceStatus.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1018
637
|
* nor is it intended to be a comprehensive state machine.
|
|
1019
638
|
* (based on https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase)
|
|
1020
639
|
*
|
|
1021
|
-
* @generated from enum gitpod.
|
|
640
|
+
* @generated from enum gitpod.v1.WorkspaceInstanceStatus.Phase
|
|
1022
641
|
*/
|
|
1023
642
|
var WorkspaceInstanceStatus_Phase;
|
|
1024
643
|
(function (WorkspaceInstanceStatus_Phase) {
|
|
@@ -1093,7 +712,7 @@ var WorkspaceInstanceStatus_Phase;
|
|
|
1093
712
|
WorkspaceInstanceStatus_Phase[WorkspaceInstanceStatus_Phase["STOPPED"] = 9] = "STOPPED";
|
|
1094
713
|
})(WorkspaceInstanceStatus_Phase = exports.WorkspaceInstanceStatus_Phase || (exports.WorkspaceInstanceStatus_Phase = {}));
|
|
1095
714
|
// Retrieve enum metadata with: proto3.getEnumType(WorkspaceInstanceStatus_Phase)
|
|
1096
|
-
protobuf_1.proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.
|
|
715
|
+
protobuf_1.proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.v1.WorkspaceInstanceStatus.Phase", [
|
|
1097
716
|
{ no: 0, name: "PHASE_UNSPECIFIED" },
|
|
1098
717
|
{ no: 1, name: "PHASE_PREPARING" },
|
|
1099
718
|
{ no: 2, name: "PHASE_IMAGEBUILD" },
|
|
@@ -1109,7 +728,7 @@ protobuf_1.proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.stable
|
|
|
1109
728
|
* Conditions gives more detailed information as to the state of the workspace. Which condition actually
|
|
1110
729
|
* has a value depends on the phase the workspace is in.
|
|
1111
730
|
*
|
|
1112
|
-
* @generated from message gitpod.
|
|
731
|
+
* @generated from message gitpod.v1.WorkspaceInstanceStatus.Conditions
|
|
1113
732
|
*/
|
|
1114
733
|
class WorkspaceInstanceStatus_Conditions extends protobuf_1.Message {
|
|
1115
734
|
constructor(data) {
|
|
@@ -1144,40 +763,11 @@ class WorkspaceInstanceStatus_Conditions extends protobuf_1.Message {
|
|
|
1144
763
|
}
|
|
1145
764
|
exports.WorkspaceInstanceStatus_Conditions = WorkspaceInstanceStatus_Conditions;
|
|
1146
765
|
WorkspaceInstanceStatus_Conditions.runtime = protobuf_1.proto3;
|
|
1147
|
-
WorkspaceInstanceStatus_Conditions.typeName = "gitpod.
|
|
766
|
+
WorkspaceInstanceStatus_Conditions.typeName = "gitpod.v1.WorkspaceInstanceStatus.Conditions";
|
|
1148
767
|
WorkspaceInstanceStatus_Conditions.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1149
768
|
{ no: 1, name: "failed", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1150
769
|
{ no: 2, name: "timeout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1151
770
|
{ no: 9, name: "first_user_activity", kind: "message", T: protobuf_1.Timestamp },
|
|
1152
771
|
{ no: 11, name: "stopped_by_request", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1153
772
|
]);
|
|
1154
|
-
/**
|
|
1155
|
-
* StartWorkspaceSpec influences the workspace start
|
|
1156
|
-
*
|
|
1157
|
-
* future per-workspace-start fields, e.g. region
|
|
1158
|
-
*
|
|
1159
|
-
* @generated from message gitpod.stable.v1.StartWorkspaceSpec
|
|
1160
|
-
*/
|
|
1161
|
-
class StartWorkspaceSpec extends protobuf_1.Message {
|
|
1162
|
-
constructor(data) {
|
|
1163
|
-
super();
|
|
1164
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
1165
|
-
}
|
|
1166
|
-
static fromBinary(bytes, options) {
|
|
1167
|
-
return new StartWorkspaceSpec().fromBinary(bytes, options);
|
|
1168
|
-
}
|
|
1169
|
-
static fromJson(jsonValue, options) {
|
|
1170
|
-
return new StartWorkspaceSpec().fromJson(jsonValue, options);
|
|
1171
|
-
}
|
|
1172
|
-
static fromJsonString(jsonString, options) {
|
|
1173
|
-
return new StartWorkspaceSpec().fromJsonString(jsonString, options);
|
|
1174
|
-
}
|
|
1175
|
-
static equals(a, b) {
|
|
1176
|
-
return protobuf_1.proto3.util.equals(StartWorkspaceSpec, a, b);
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
exports.StartWorkspaceSpec = StartWorkspaceSpec;
|
|
1180
|
-
StartWorkspaceSpec.runtime = protobuf_1.proto3;
|
|
1181
|
-
StartWorkspaceSpec.typeName = "gitpod.stable.v1.StartWorkspaceSpec";
|
|
1182
|
-
StartWorkspaceSpec.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
1183
773
|
//# sourceMappingURL=workspaces_pb.js.map
|