@gitpod/public-api 0.1.5-sje-no-log-envvars.0 → 0.1.5-sje-kots-db-migration-logger.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.js +2 -2
- package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.ts +3 -3
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +74 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js +81 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.ts +80 -0
- package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.d.ts +88 -218
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.js +83 -321
- package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.ts +114 -404
- package/package.json +1 -2
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +2 -2
- package/lib/gitpod/v1/pagination_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/pagination_pb.js.map +0 -1
- package/lib/gitpod/v1/prebuilds_connectweb.d.ts +0 -65
- package/lib/gitpod/v1/prebuilds_connectweb.d.ts.map +0 -1
- package/lib/gitpod/v1/prebuilds_connectweb.js +0 -72
- package/lib/gitpod/v1/prebuilds_connectweb.js.map +0 -1
- package/lib/gitpod/v1/prebuilds_connectweb.ts +0 -71
- package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -281
- package/lib/gitpod/v1/prebuilds_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/prebuilds_pb.js +0 -435
- package/lib/gitpod/v1/prebuilds_pb.js.map +0 -1
- package/lib/gitpod/v1/prebuilds_pb.ts +0 -540
- package/lib/gitpod/v1/workspaces_connectweb.d.ts +0 -134
- package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +0 -1
- package/lib/gitpod/v1/workspaces_connectweb.js +0 -141
- package/lib/gitpod/v1/workspaces_connectweb.js.map +0 -1
- package/lib/gitpod/v1/workspaces_connectweb.ts +0 -140
- package/lib/gitpod/v1/workspaces_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/workspaces_pb.js.map +0 -1
@@ -5,7 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
|
7
7
|
// @generated by protoc-gen-es v0.1.1 with parameter "target=ts"
|
8
|
-
// @generated from file gitpod/v1/workspaces.proto (package gitpod.v1, syntax proto3)
|
8
|
+
// @generated from file gitpod/experimental/v1/workspaces.proto (package gitpod.experimental.v1, syntax proto3)
|
9
9
|
/* eslint-disable */
|
10
10
|
/* @ts-nocheck */
|
11
11
|
|
@@ -16,7 +16,7 @@ import {Pagination} from "./pagination_pb.js";
|
|
16
16
|
/**
|
17
17
|
* Admission level describes who can access a workspace instance and its ports.
|
18
18
|
*
|
19
|
-
* @generated from enum gitpod.v1.AdmissionLevel
|
19
|
+
* @generated from enum gitpod.experimental.v1.AdmissionLevel
|
20
20
|
*/
|
21
21
|
export enum AdmissionLevel {
|
22
22
|
/**
|
@@ -39,18 +39,18 @@ export enum AdmissionLevel {
|
|
39
39
|
EVERYONE = 2,
|
40
40
|
}
|
41
41
|
// Retrieve enum metadata with: proto3.getEnumType(AdmissionLevel)
|
42
|
-
proto3.util.setEnumType(AdmissionLevel, "gitpod.v1.AdmissionLevel", [
|
42
|
+
proto3.util.setEnumType(AdmissionLevel, "gitpod.experimental.v1.AdmissionLevel", [
|
43
43
|
{ no: 0, name: "ADMISSION_LEVEL_UNSPECIFIED" },
|
44
44
|
{ no: 1, name: "ADMISSION_LEVEL_OWNER_ONLY" },
|
45
45
|
{ no: 2, name: "ADMISSION_LEVEL_EVERYONE" },
|
46
46
|
]);
|
47
47
|
|
48
48
|
/**
|
49
|
-
* @generated from message gitpod.v1.ListWorkspacesRequest
|
49
|
+
* @generated from message gitpod.experimental.v1.ListWorkspacesRequest
|
50
50
|
*/
|
51
51
|
export class ListWorkspacesRequest extends Message<ListWorkspacesRequest> {
|
52
52
|
/**
|
53
|
-
* @generated from field: gitpod.v1.Pagination pagination = 1;
|
53
|
+
* @generated from field: gitpod.experimental.v1.Pagination pagination = 1;
|
54
54
|
*/
|
55
55
|
pagination?: Pagination;
|
56
56
|
|
@@ -65,7 +65,7 @@ export class ListWorkspacesRequest extends Message<ListWorkspacesRequest> {
|
|
65
65
|
}
|
66
66
|
|
67
67
|
static readonly runtime = proto3;
|
68
|
-
static readonly typeName = "gitpod.v1.ListWorkspacesRequest";
|
68
|
+
static readonly typeName = "gitpod.experimental.v1.ListWorkspacesRequest";
|
69
69
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
70
70
|
{ no: 1, name: "pagination", kind: "message", T: Pagination },
|
71
71
|
{ no: 2, name: "field_mask", kind: "message", T: FieldMask },
|
@@ -89,7 +89,7 @@ export class ListWorkspacesRequest extends Message<ListWorkspacesRequest> {
|
|
89
89
|
}
|
90
90
|
|
91
91
|
/**
|
92
|
-
* @generated from message gitpod.v1.ListWorkspacesResponse
|
92
|
+
* @generated from message gitpod.experimental.v1.ListWorkspacesResponse
|
93
93
|
*/
|
94
94
|
export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
|
95
95
|
/**
|
@@ -98,9 +98,9 @@ export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
|
|
98
98
|
nextPageToken = "";
|
99
99
|
|
100
100
|
/**
|
101
|
-
* @generated from field: repeated gitpod.v1.
|
101
|
+
* @generated from field: repeated gitpod.experimental.v1.Workspace result = 2;
|
102
102
|
*/
|
103
|
-
result:
|
103
|
+
result: Workspace[] = [];
|
104
104
|
|
105
105
|
constructor(data?: PartialMessage<ListWorkspacesResponse>) {
|
106
106
|
super();
|
@@ -108,10 +108,10 @@ export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
|
|
108
108
|
}
|
109
109
|
|
110
110
|
static readonly runtime = proto3;
|
111
|
-
static readonly typeName = "gitpod.v1.ListWorkspacesResponse";
|
111
|
+
static readonly typeName = "gitpod.experimental.v1.ListWorkspacesResponse";
|
112
112
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
113
113
|
{ no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
114
|
-
{ no: 2, name: "result", kind: "message", T:
|
114
|
+
{ no: 2, name: "result", kind: "message", T: Workspace, repeated: true },
|
115
115
|
]);
|
116
116
|
|
117
117
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWorkspacesResponse {
|
@@ -132,50 +132,7 @@ export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
|
|
132
132
|
}
|
133
133
|
|
134
134
|
/**
|
135
|
-
* @generated from message gitpod.v1.
|
136
|
-
*/
|
137
|
-
export class ListWorkspacesResponse_WorkspaceAndInstance extends Message<ListWorkspacesResponse_WorkspaceAndInstance> {
|
138
|
-
/**
|
139
|
-
* @generated from field: gitpod.v1.Workspace result = 1;
|
140
|
-
*/
|
141
|
-
result?: Workspace;
|
142
|
-
|
143
|
-
/**
|
144
|
-
* @generated from field: gitpod.v1.WorkspaceInstance last_active_instances = 2;
|
145
|
-
*/
|
146
|
-
lastActiveInstances?: WorkspaceInstance;
|
147
|
-
|
148
|
-
constructor(data?: PartialMessage<ListWorkspacesResponse_WorkspaceAndInstance>) {
|
149
|
-
super();
|
150
|
-
proto3.util.initPartial(data, this);
|
151
|
-
}
|
152
|
-
|
153
|
-
static readonly runtime = proto3;
|
154
|
-
static readonly typeName = "gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance";
|
155
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
156
|
-
{ no: 1, name: "result", kind: "message", T: Workspace },
|
157
|
-
{ no: 2, name: "last_active_instances", kind: "message", T: WorkspaceInstance },
|
158
|
-
]);
|
159
|
-
|
160
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWorkspacesResponse_WorkspaceAndInstance {
|
161
|
-
return new ListWorkspacesResponse_WorkspaceAndInstance().fromBinary(bytes, options);
|
162
|
-
}
|
163
|
-
|
164
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListWorkspacesResponse_WorkspaceAndInstance {
|
165
|
-
return new ListWorkspacesResponse_WorkspaceAndInstance().fromJson(jsonValue, options);
|
166
|
-
}
|
167
|
-
|
168
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListWorkspacesResponse_WorkspaceAndInstance {
|
169
|
-
return new ListWorkspacesResponse_WorkspaceAndInstance().fromJsonString(jsonString, options);
|
170
|
-
}
|
171
|
-
|
172
|
-
static equals(a: ListWorkspacesResponse_WorkspaceAndInstance | PlainMessage<ListWorkspacesResponse_WorkspaceAndInstance> | undefined, b: ListWorkspacesResponse_WorkspaceAndInstance | PlainMessage<ListWorkspacesResponse_WorkspaceAndInstance> | undefined): boolean {
|
173
|
-
return proto3.util.equals(ListWorkspacesResponse_WorkspaceAndInstance, a, b);
|
174
|
-
}
|
175
|
-
}
|
176
|
-
|
177
|
-
/**
|
178
|
-
* @generated from message gitpod.v1.GetWorkspaceRequest
|
135
|
+
* @generated from message gitpod.experimental.v1.GetWorkspaceRequest
|
179
136
|
*/
|
180
137
|
export class GetWorkspaceRequest extends Message<GetWorkspaceRequest> {
|
181
138
|
/**
|
@@ -189,7 +146,7 @@ export class GetWorkspaceRequest extends Message<GetWorkspaceRequest> {
|
|
189
146
|
}
|
190
147
|
|
191
148
|
static readonly runtime = proto3;
|
192
|
-
static readonly typeName = "gitpod.v1.GetWorkspaceRequest";
|
149
|
+
static readonly typeName = "gitpod.experimental.v1.GetWorkspaceRequest";
|
193
150
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
194
151
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
195
152
|
]);
|
@@ -212,11 +169,11 @@ export class GetWorkspaceRequest extends Message<GetWorkspaceRequest> {
|
|
212
169
|
}
|
213
170
|
|
214
171
|
/**
|
215
|
-
* @generated from message gitpod.v1.GetWorkspaceResponse
|
172
|
+
* @generated from message gitpod.experimental.v1.GetWorkspaceResponse
|
216
173
|
*/
|
217
174
|
export class GetWorkspaceResponse extends Message<GetWorkspaceResponse> {
|
218
175
|
/**
|
219
|
-
* @generated from field: gitpod.v1.Workspace result = 1;
|
176
|
+
* @generated from field: gitpod.experimental.v1.Workspace result = 1;
|
220
177
|
*/
|
221
178
|
result?: Workspace;
|
222
179
|
|
@@ -226,7 +183,7 @@ export class GetWorkspaceResponse extends Message<GetWorkspaceResponse> {
|
|
226
183
|
}
|
227
184
|
|
228
185
|
static readonly runtime = proto3;
|
229
|
-
static readonly typeName = "gitpod.v1.GetWorkspaceResponse";
|
186
|
+
static readonly typeName = "gitpod.experimental.v1.GetWorkspaceResponse";
|
230
187
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
231
188
|
{ no: 1, name: "result", kind: "message", T: Workspace },
|
232
189
|
]);
|
@@ -249,7 +206,7 @@ export class GetWorkspaceResponse extends Message<GetWorkspaceResponse> {
|
|
249
206
|
}
|
250
207
|
|
251
208
|
/**
|
252
|
-
* @generated from message gitpod.v1.GetOwnerTokenRequest
|
209
|
+
* @generated from message gitpod.experimental.v1.GetOwnerTokenRequest
|
253
210
|
*/
|
254
211
|
export class GetOwnerTokenRequest extends Message<GetOwnerTokenRequest> {
|
255
212
|
/**
|
@@ -263,7 +220,7 @@ export class GetOwnerTokenRequest extends Message<GetOwnerTokenRequest> {
|
|
263
220
|
}
|
264
221
|
|
265
222
|
static readonly runtime = proto3;
|
266
|
-
static readonly typeName = "gitpod.v1.GetOwnerTokenRequest";
|
223
|
+
static readonly typeName = "gitpod.experimental.v1.GetOwnerTokenRequest";
|
267
224
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
268
225
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
269
226
|
]);
|
@@ -286,7 +243,7 @@ export class GetOwnerTokenRequest extends Message<GetOwnerTokenRequest> {
|
|
286
243
|
}
|
287
244
|
|
288
245
|
/**
|
289
|
-
* @generated from message gitpod.v1.GetOwnerTokenResponse
|
246
|
+
* @generated from message gitpod.experimental.v1.GetOwnerTokenResponse
|
290
247
|
*/
|
291
248
|
export class GetOwnerTokenResponse extends Message<GetOwnerTokenResponse> {
|
292
249
|
/**
|
@@ -300,7 +257,7 @@ export class GetOwnerTokenResponse extends Message<GetOwnerTokenResponse> {
|
|
300
257
|
}
|
301
258
|
|
302
259
|
static readonly runtime = proto3;
|
303
|
-
static readonly typeName = "gitpod.v1.GetOwnerTokenResponse";
|
260
|
+
static readonly typeName = "gitpod.experimental.v1.GetOwnerTokenResponse";
|
304
261
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
305
262
|
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
306
263
|
]);
|
@@ -323,7 +280,7 @@ export class GetOwnerTokenResponse extends Message<GetOwnerTokenResponse> {
|
|
323
280
|
}
|
324
281
|
|
325
282
|
/**
|
326
|
-
* @generated from message gitpod.v1.CreateAndStartWorkspaceRequest
|
283
|
+
* @generated from message gitpod.experimental.v1.CreateAndStartWorkspaceRequest
|
327
284
|
*/
|
328
285
|
export class CreateAndStartWorkspaceRequest extends Message<CreateAndStartWorkspaceRequest> {
|
329
286
|
/**
|
@@ -332,7 +289,7 @@ export class CreateAndStartWorkspaceRequest extends Message<CreateAndStartWorksp
|
|
332
289
|
idempotencyToken = "";
|
333
290
|
|
334
291
|
/**
|
335
|
-
* @generated from oneof gitpod.v1.CreateAndStartWorkspaceRequest.source
|
292
|
+
* @generated from oneof gitpod.experimental.v1.CreateAndStartWorkspaceRequest.source
|
336
293
|
*/
|
337
294
|
source: {
|
338
295
|
/**
|
@@ -349,7 +306,7 @@ export class CreateAndStartWorkspaceRequest extends Message<CreateAndStartWorksp
|
|
349
306
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
350
307
|
|
351
308
|
/**
|
352
|
-
* @generated from field: gitpod.v1.StartWorkspaceSpec start_spec = 5;
|
309
|
+
* @generated from field: gitpod.experimental.v1.StartWorkspaceSpec start_spec = 5;
|
353
310
|
*/
|
354
311
|
startSpec?: StartWorkspaceSpec;
|
355
312
|
|
@@ -359,7 +316,7 @@ export class CreateAndStartWorkspaceRequest extends Message<CreateAndStartWorksp
|
|
359
316
|
}
|
360
317
|
|
361
318
|
static readonly runtime = proto3;
|
362
|
-
static readonly typeName = "gitpod.v1.CreateAndStartWorkspaceRequest";
|
319
|
+
static readonly typeName = "gitpod.experimental.v1.CreateAndStartWorkspaceRequest";
|
363
320
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
364
321
|
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
365
322
|
{ no: 2, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
|
@@ -385,7 +342,7 @@ export class CreateAndStartWorkspaceRequest extends Message<CreateAndStartWorksp
|
|
385
342
|
}
|
386
343
|
|
387
344
|
/**
|
388
|
-
* @generated from message gitpod.v1.CreateAndStartWorkspaceResponse
|
345
|
+
* @generated from message gitpod.experimental.v1.CreateAndStartWorkspaceResponse
|
389
346
|
*/
|
390
347
|
export class CreateAndStartWorkspaceResponse extends Message<CreateAndStartWorkspaceResponse> {
|
391
348
|
/**
|
@@ -399,7 +356,7 @@ export class CreateAndStartWorkspaceResponse extends Message<CreateAndStartWorks
|
|
399
356
|
}
|
400
357
|
|
401
358
|
static readonly runtime = proto3;
|
402
|
-
static readonly typeName = "gitpod.v1.CreateAndStartWorkspaceResponse";
|
359
|
+
static readonly typeName = "gitpod.experimental.v1.CreateAndStartWorkspaceResponse";
|
403
360
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
404
361
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
405
362
|
]);
|
@@ -422,7 +379,7 @@ export class CreateAndStartWorkspaceResponse extends Message<CreateAndStartWorks
|
|
422
379
|
}
|
423
380
|
|
424
381
|
/**
|
425
|
-
* @generated from message gitpod.v1.StartWorkspaceRequest
|
382
|
+
* @generated from message gitpod.experimental.v1.StartWorkspaceRequest
|
426
383
|
*/
|
427
384
|
export class StartWorkspaceRequest extends Message<StartWorkspaceRequest> {
|
428
385
|
/**
|
@@ -436,7 +393,7 @@ export class StartWorkspaceRequest extends Message<StartWorkspaceRequest> {
|
|
436
393
|
workspaceId = "";
|
437
394
|
|
438
395
|
/**
|
439
|
-
* @generated from field: gitpod.v1.StartWorkspaceSpec spec = 3;
|
396
|
+
* @generated from field: gitpod.experimental.v1.StartWorkspaceSpec spec = 3;
|
440
397
|
*/
|
441
398
|
spec?: StartWorkspaceSpec;
|
442
399
|
|
@@ -446,7 +403,7 @@ export class StartWorkspaceRequest extends Message<StartWorkspaceRequest> {
|
|
446
403
|
}
|
447
404
|
|
448
405
|
static readonly runtime = proto3;
|
449
|
-
static readonly typeName = "gitpod.v1.StartWorkspaceRequest";
|
406
|
+
static readonly typeName = "gitpod.experimental.v1.StartWorkspaceRequest";
|
450
407
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
451
408
|
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
452
409
|
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -471,7 +428,7 @@ export class StartWorkspaceRequest extends Message<StartWorkspaceRequest> {
|
|
471
428
|
}
|
472
429
|
|
473
430
|
/**
|
474
|
-
* @generated from message gitpod.v1.StartWorkspaceResponse
|
431
|
+
* @generated from message gitpod.experimental.v1.StartWorkspaceResponse
|
475
432
|
*/
|
476
433
|
export class StartWorkspaceResponse extends Message<StartWorkspaceResponse> {
|
477
434
|
/**
|
@@ -490,7 +447,7 @@ export class StartWorkspaceResponse extends Message<StartWorkspaceResponse> {
|
|
490
447
|
}
|
491
448
|
|
492
449
|
static readonly runtime = proto3;
|
493
|
-
static readonly typeName = "gitpod.v1.StartWorkspaceResponse";
|
450
|
+
static readonly typeName = "gitpod.experimental.v1.StartWorkspaceResponse";
|
494
451
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
495
452
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
496
453
|
{ no: 2, name: "workspace_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -514,303 +471,7 @@ export class StartWorkspaceResponse extends Message<StartWorkspaceResponse> {
|
|
514
471
|
}
|
515
472
|
|
516
473
|
/**
|
517
|
-
* @generated from message gitpod.v1.
|
518
|
-
*/
|
519
|
-
export class GetActiveWorkspaceInstanceRequest extends Message<GetActiveWorkspaceInstanceRequest> {
|
520
|
-
/**
|
521
|
-
* @generated from field: string workspace_id = 1;
|
522
|
-
*/
|
523
|
-
workspaceId = "";
|
524
|
-
|
525
|
-
constructor(data?: PartialMessage<GetActiveWorkspaceInstanceRequest>) {
|
526
|
-
super();
|
527
|
-
proto3.util.initPartial(data, this);
|
528
|
-
}
|
529
|
-
|
530
|
-
static readonly runtime = proto3;
|
531
|
-
static readonly typeName = "gitpod.v1.GetActiveWorkspaceInstanceRequest";
|
532
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
533
|
-
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
534
|
-
]);
|
535
|
-
|
536
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetActiveWorkspaceInstanceRequest {
|
537
|
-
return new GetActiveWorkspaceInstanceRequest().fromBinary(bytes, options);
|
538
|
-
}
|
539
|
-
|
540
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetActiveWorkspaceInstanceRequest {
|
541
|
-
return new GetActiveWorkspaceInstanceRequest().fromJson(jsonValue, options);
|
542
|
-
}
|
543
|
-
|
544
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetActiveWorkspaceInstanceRequest {
|
545
|
-
return new GetActiveWorkspaceInstanceRequest().fromJsonString(jsonString, options);
|
546
|
-
}
|
547
|
-
|
548
|
-
static equals(a: GetActiveWorkspaceInstanceRequest | PlainMessage<GetActiveWorkspaceInstanceRequest> | undefined, b: GetActiveWorkspaceInstanceRequest | PlainMessage<GetActiveWorkspaceInstanceRequest> | undefined): boolean {
|
549
|
-
return proto3.util.equals(GetActiveWorkspaceInstanceRequest, a, b);
|
550
|
-
}
|
551
|
-
}
|
552
|
-
|
553
|
-
/**
|
554
|
-
* @generated from message gitpod.v1.GetActiveWorkspaceInstanceResponse
|
555
|
-
*/
|
556
|
-
export class GetActiveWorkspaceInstanceResponse extends Message<GetActiveWorkspaceInstanceResponse> {
|
557
|
-
/**
|
558
|
-
* @generated from field: gitpod.v1.WorkspaceInstance instance = 1;
|
559
|
-
*/
|
560
|
-
instance?: WorkspaceInstance;
|
561
|
-
|
562
|
-
constructor(data?: PartialMessage<GetActiveWorkspaceInstanceResponse>) {
|
563
|
-
super();
|
564
|
-
proto3.util.initPartial(data, this);
|
565
|
-
}
|
566
|
-
|
567
|
-
static readonly runtime = proto3;
|
568
|
-
static readonly typeName = "gitpod.v1.GetActiveWorkspaceInstanceResponse";
|
569
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
570
|
-
{ no: 1, name: "instance", kind: "message", T: WorkspaceInstance },
|
571
|
-
]);
|
572
|
-
|
573
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetActiveWorkspaceInstanceResponse {
|
574
|
-
return new GetActiveWorkspaceInstanceResponse().fromBinary(bytes, options);
|
575
|
-
}
|
576
|
-
|
577
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetActiveWorkspaceInstanceResponse {
|
578
|
-
return new GetActiveWorkspaceInstanceResponse().fromJson(jsonValue, options);
|
579
|
-
}
|
580
|
-
|
581
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetActiveWorkspaceInstanceResponse {
|
582
|
-
return new GetActiveWorkspaceInstanceResponse().fromJsonString(jsonString, options);
|
583
|
-
}
|
584
|
-
|
585
|
-
static equals(a: GetActiveWorkspaceInstanceResponse | PlainMessage<GetActiveWorkspaceInstanceResponse> | undefined, b: GetActiveWorkspaceInstanceResponse | PlainMessage<GetActiveWorkspaceInstanceResponse> | undefined): boolean {
|
586
|
-
return proto3.util.equals(GetActiveWorkspaceInstanceResponse, a, b);
|
587
|
-
}
|
588
|
-
}
|
589
|
-
|
590
|
-
/**
|
591
|
-
* @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest
|
592
|
-
*/
|
593
|
-
export class GetWorkspaceInstanceOwnerTokenRequest extends Message<GetWorkspaceInstanceOwnerTokenRequest> {
|
594
|
-
/**
|
595
|
-
* @generated from field: string instance_id = 1;
|
596
|
-
*/
|
597
|
-
instanceId = "";
|
598
|
-
|
599
|
-
constructor(data?: PartialMessage<GetWorkspaceInstanceOwnerTokenRequest>) {
|
600
|
-
super();
|
601
|
-
proto3.util.initPartial(data, this);
|
602
|
-
}
|
603
|
-
|
604
|
-
static readonly runtime = proto3;
|
605
|
-
static readonly typeName = "gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest";
|
606
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
607
|
-
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
608
|
-
]);
|
609
|
-
|
610
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkspaceInstanceOwnerTokenRequest {
|
611
|
-
return new GetWorkspaceInstanceOwnerTokenRequest().fromBinary(bytes, options);
|
612
|
-
}
|
613
|
-
|
614
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkspaceInstanceOwnerTokenRequest {
|
615
|
-
return new GetWorkspaceInstanceOwnerTokenRequest().fromJson(jsonValue, options);
|
616
|
-
}
|
617
|
-
|
618
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkspaceInstanceOwnerTokenRequest {
|
619
|
-
return new GetWorkspaceInstanceOwnerTokenRequest().fromJsonString(jsonString, options);
|
620
|
-
}
|
621
|
-
|
622
|
-
static equals(a: GetWorkspaceInstanceOwnerTokenRequest | PlainMessage<GetWorkspaceInstanceOwnerTokenRequest> | undefined, b: GetWorkspaceInstanceOwnerTokenRequest | PlainMessage<GetWorkspaceInstanceOwnerTokenRequest> | undefined): boolean {
|
623
|
-
return proto3.util.equals(GetWorkspaceInstanceOwnerTokenRequest, a, b);
|
624
|
-
}
|
625
|
-
}
|
626
|
-
|
627
|
-
/**
|
628
|
-
* @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse
|
629
|
-
*/
|
630
|
-
export class GetWorkspaceInstanceOwnerTokenResponse extends Message<GetWorkspaceInstanceOwnerTokenResponse> {
|
631
|
-
/**
|
632
|
-
* @generated from field: string owner_token = 1;
|
633
|
-
*/
|
634
|
-
ownerToken = "";
|
635
|
-
|
636
|
-
constructor(data?: PartialMessage<GetWorkspaceInstanceOwnerTokenResponse>) {
|
637
|
-
super();
|
638
|
-
proto3.util.initPartial(data, this);
|
639
|
-
}
|
640
|
-
|
641
|
-
static readonly runtime = proto3;
|
642
|
-
static readonly typeName = "gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse";
|
643
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
644
|
-
{ no: 1, name: "owner_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
645
|
-
]);
|
646
|
-
|
647
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkspaceInstanceOwnerTokenResponse {
|
648
|
-
return new GetWorkspaceInstanceOwnerTokenResponse().fromBinary(bytes, options);
|
649
|
-
}
|
650
|
-
|
651
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkspaceInstanceOwnerTokenResponse {
|
652
|
-
return new GetWorkspaceInstanceOwnerTokenResponse().fromJson(jsonValue, options);
|
653
|
-
}
|
654
|
-
|
655
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkspaceInstanceOwnerTokenResponse {
|
656
|
-
return new GetWorkspaceInstanceOwnerTokenResponse().fromJsonString(jsonString, options);
|
657
|
-
}
|
658
|
-
|
659
|
-
static equals(a: GetWorkspaceInstanceOwnerTokenResponse | PlainMessage<GetWorkspaceInstanceOwnerTokenResponse> | undefined, b: GetWorkspaceInstanceOwnerTokenResponse | PlainMessage<GetWorkspaceInstanceOwnerTokenResponse> | undefined): boolean {
|
660
|
-
return proto3.util.equals(GetWorkspaceInstanceOwnerTokenResponse, a, b);
|
661
|
-
}
|
662
|
-
}
|
663
|
-
|
664
|
-
/**
|
665
|
-
* @generated from message gitpod.v1.ListenToWorkspaceInstanceRequest
|
666
|
-
*/
|
667
|
-
export class ListenToWorkspaceInstanceRequest extends Message<ListenToWorkspaceInstanceRequest> {
|
668
|
-
/**
|
669
|
-
* @generated from field: string instance_id = 1;
|
670
|
-
*/
|
671
|
-
instanceId = "";
|
672
|
-
|
673
|
-
constructor(data?: PartialMessage<ListenToWorkspaceInstanceRequest>) {
|
674
|
-
super();
|
675
|
-
proto3.util.initPartial(data, this);
|
676
|
-
}
|
677
|
-
|
678
|
-
static readonly runtime = proto3;
|
679
|
-
static readonly typeName = "gitpod.v1.ListenToWorkspaceInstanceRequest";
|
680
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
681
|
-
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
682
|
-
]);
|
683
|
-
|
684
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToWorkspaceInstanceRequest {
|
685
|
-
return new ListenToWorkspaceInstanceRequest().fromBinary(bytes, options);
|
686
|
-
}
|
687
|
-
|
688
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToWorkspaceInstanceRequest {
|
689
|
-
return new ListenToWorkspaceInstanceRequest().fromJson(jsonValue, options);
|
690
|
-
}
|
691
|
-
|
692
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToWorkspaceInstanceRequest {
|
693
|
-
return new ListenToWorkspaceInstanceRequest().fromJsonString(jsonString, options);
|
694
|
-
}
|
695
|
-
|
696
|
-
static equals(a: ListenToWorkspaceInstanceRequest | PlainMessage<ListenToWorkspaceInstanceRequest> | undefined, b: ListenToWorkspaceInstanceRequest | PlainMessage<ListenToWorkspaceInstanceRequest> | undefined): boolean {
|
697
|
-
return proto3.util.equals(ListenToWorkspaceInstanceRequest, a, b);
|
698
|
-
}
|
699
|
-
}
|
700
|
-
|
701
|
-
/**
|
702
|
-
* @generated from message gitpod.v1.ListenToWorkspaceInstanceResponse
|
703
|
-
*/
|
704
|
-
export class ListenToWorkspaceInstanceResponse extends Message<ListenToWorkspaceInstanceResponse> {
|
705
|
-
/**
|
706
|
-
* @generated from field: gitpod.v1.WorkspaceInstanceStatus instance_status = 1;
|
707
|
-
*/
|
708
|
-
instanceStatus?: WorkspaceInstanceStatus;
|
709
|
-
|
710
|
-
constructor(data?: PartialMessage<ListenToWorkspaceInstanceResponse>) {
|
711
|
-
super();
|
712
|
-
proto3.util.initPartial(data, this);
|
713
|
-
}
|
714
|
-
|
715
|
-
static readonly runtime = proto3;
|
716
|
-
static readonly typeName = "gitpod.v1.ListenToWorkspaceInstanceResponse";
|
717
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
718
|
-
{ no: 1, name: "instance_status", kind: "message", T: WorkspaceInstanceStatus },
|
719
|
-
]);
|
720
|
-
|
721
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToWorkspaceInstanceResponse {
|
722
|
-
return new ListenToWorkspaceInstanceResponse().fromBinary(bytes, options);
|
723
|
-
}
|
724
|
-
|
725
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToWorkspaceInstanceResponse {
|
726
|
-
return new ListenToWorkspaceInstanceResponse().fromJson(jsonValue, options);
|
727
|
-
}
|
728
|
-
|
729
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToWorkspaceInstanceResponse {
|
730
|
-
return new ListenToWorkspaceInstanceResponse().fromJsonString(jsonString, options);
|
731
|
-
}
|
732
|
-
|
733
|
-
static equals(a: ListenToWorkspaceInstanceResponse | PlainMessage<ListenToWorkspaceInstanceResponse> | undefined, b: ListenToWorkspaceInstanceResponse | PlainMessage<ListenToWorkspaceInstanceResponse> | undefined): boolean {
|
734
|
-
return proto3.util.equals(ListenToWorkspaceInstanceResponse, a, b);
|
735
|
-
}
|
736
|
-
}
|
737
|
-
|
738
|
-
/**
|
739
|
-
* @generated from message gitpod.v1.ListenToImageBuildLogsRequest
|
740
|
-
*/
|
741
|
-
export class ListenToImageBuildLogsRequest extends Message<ListenToImageBuildLogsRequest> {
|
742
|
-
/**
|
743
|
-
* @generated from field: string instance_id = 1;
|
744
|
-
*/
|
745
|
-
instanceId = "";
|
746
|
-
|
747
|
-
constructor(data?: PartialMessage<ListenToImageBuildLogsRequest>) {
|
748
|
-
super();
|
749
|
-
proto3.util.initPartial(data, this);
|
750
|
-
}
|
751
|
-
|
752
|
-
static readonly runtime = proto3;
|
753
|
-
static readonly typeName = "gitpod.v1.ListenToImageBuildLogsRequest";
|
754
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
755
|
-
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
756
|
-
]);
|
757
|
-
|
758
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToImageBuildLogsRequest {
|
759
|
-
return new ListenToImageBuildLogsRequest().fromBinary(bytes, options);
|
760
|
-
}
|
761
|
-
|
762
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToImageBuildLogsRequest {
|
763
|
-
return new ListenToImageBuildLogsRequest().fromJson(jsonValue, options);
|
764
|
-
}
|
765
|
-
|
766
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToImageBuildLogsRequest {
|
767
|
-
return new ListenToImageBuildLogsRequest().fromJsonString(jsonString, options);
|
768
|
-
}
|
769
|
-
|
770
|
-
static equals(a: ListenToImageBuildLogsRequest | PlainMessage<ListenToImageBuildLogsRequest> | undefined, b: ListenToImageBuildLogsRequest | PlainMessage<ListenToImageBuildLogsRequest> | undefined): boolean {
|
771
|
-
return proto3.util.equals(ListenToImageBuildLogsRequest, a, b);
|
772
|
-
}
|
773
|
-
}
|
774
|
-
|
775
|
-
/**
|
776
|
-
* @generated from message gitpod.v1.ListenToImageBuildLogsResponse
|
777
|
-
*/
|
778
|
-
export class ListenToImageBuildLogsResponse extends Message<ListenToImageBuildLogsResponse> {
|
779
|
-
/**
|
780
|
-
* @generated from field: string line = 1;
|
781
|
-
*/
|
782
|
-
line = "";
|
783
|
-
|
784
|
-
constructor(data?: PartialMessage<ListenToImageBuildLogsResponse>) {
|
785
|
-
super();
|
786
|
-
proto3.util.initPartial(data, this);
|
787
|
-
}
|
788
|
-
|
789
|
-
static readonly runtime = proto3;
|
790
|
-
static readonly typeName = "gitpod.v1.ListenToImageBuildLogsResponse";
|
791
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
792
|
-
{ no: 1, name: "line", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
793
|
-
]);
|
794
|
-
|
795
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToImageBuildLogsResponse {
|
796
|
-
return new ListenToImageBuildLogsResponse().fromBinary(bytes, options);
|
797
|
-
}
|
798
|
-
|
799
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToImageBuildLogsResponse {
|
800
|
-
return new ListenToImageBuildLogsResponse().fromJson(jsonValue, options);
|
801
|
-
}
|
802
|
-
|
803
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToImageBuildLogsResponse {
|
804
|
-
return new ListenToImageBuildLogsResponse().fromJsonString(jsonString, options);
|
805
|
-
}
|
806
|
-
|
807
|
-
static equals(a: ListenToImageBuildLogsResponse | PlainMessage<ListenToImageBuildLogsResponse> | undefined, b: ListenToImageBuildLogsResponse | PlainMessage<ListenToImageBuildLogsResponse> | undefined): boolean {
|
808
|
-
return proto3.util.equals(ListenToImageBuildLogsResponse, a, b);
|
809
|
-
}
|
810
|
-
}
|
811
|
-
|
812
|
-
/**
|
813
|
-
* @generated from message gitpod.v1.StopWorkspaceRequest
|
474
|
+
* @generated from message gitpod.experimental.v1.StopWorkspaceRequest
|
814
475
|
*/
|
815
476
|
export class StopWorkspaceRequest extends Message<StopWorkspaceRequest> {
|
816
477
|
/**
|
@@ -829,7 +490,7 @@ export class StopWorkspaceRequest extends Message<StopWorkspaceRequest> {
|
|
829
490
|
}
|
830
491
|
|
831
492
|
static readonly runtime = proto3;
|
832
|
-
static readonly typeName = "gitpod.v1.StopWorkspaceRequest";
|
493
|
+
static readonly typeName = "gitpod.experimental.v1.StopWorkspaceRequest";
|
833
494
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
834
495
|
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
835
496
|
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -853,7 +514,7 @@ export class StopWorkspaceRequest extends Message<StopWorkspaceRequest> {
|
|
853
514
|
}
|
854
515
|
|
855
516
|
/**
|
856
|
-
* @generated from message gitpod.v1.StopWorkspaceResponse
|
517
|
+
* @generated from message gitpod.experimental.v1.StopWorkspaceResponse
|
857
518
|
*/
|
858
519
|
export class StopWorkspaceResponse extends Message<StopWorkspaceResponse> {
|
859
520
|
constructor(data?: PartialMessage<StopWorkspaceResponse>) {
|
@@ -862,7 +523,7 @@ export class StopWorkspaceResponse extends Message<StopWorkspaceResponse> {
|
|
862
523
|
}
|
863
524
|
|
864
525
|
static readonly runtime = proto3;
|
865
|
-
static readonly typeName = "gitpod.v1.StopWorkspaceResponse";
|
526
|
+
static readonly typeName = "gitpod.experimental.v1.StopWorkspaceResponse";
|
866
527
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
867
528
|
]);
|
868
529
|
|
@@ -886,7 +547,7 @@ export class StopWorkspaceResponse extends Message<StopWorkspaceResponse> {
|
|
886
547
|
/**
|
887
548
|
* Workspace describes a single workspace
|
888
549
|
*
|
889
|
-
* @generated from message gitpod.v1.Workspace
|
550
|
+
* @generated from message gitpod.experimental.v1.Workspace
|
890
551
|
*/
|
891
552
|
export class Workspace extends Message<Workspace> {
|
892
553
|
/**
|
@@ -913,7 +574,7 @@ export class Workspace extends Message<Workspace> {
|
|
913
574
|
/**
|
914
575
|
* context reports the original context the workspace was created from
|
915
576
|
*
|
916
|
-
* @generated from field: gitpod.v1.WorkspaceContext context = 4;
|
577
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceContext context = 4;
|
917
578
|
*/
|
918
579
|
context?: WorkspaceContext;
|
919
580
|
|
@@ -924,19 +585,27 @@ export class Workspace extends Message<Workspace> {
|
|
924
585
|
*/
|
925
586
|
description = "";
|
926
587
|
|
588
|
+
/**
|
589
|
+
* status is the current status of this Workspace.
|
590
|
+
*
|
591
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceStatus status = 6;
|
592
|
+
*/
|
593
|
+
status?: WorkspaceStatus;
|
594
|
+
|
927
595
|
constructor(data?: PartialMessage<Workspace>) {
|
928
596
|
super();
|
929
597
|
proto3.util.initPartial(data, this);
|
930
598
|
}
|
931
599
|
|
932
600
|
static readonly runtime = proto3;
|
933
|
-
static readonly typeName = "gitpod.v1.Workspace";
|
601
|
+
static readonly typeName = "gitpod.experimental.v1.Workspace";
|
934
602
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
935
603
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
936
604
|
{ no: 2, name: "owner_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
937
605
|
{ no: 3, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
938
606
|
{ no: 4, name: "context", kind: "message", T: WorkspaceContext },
|
939
607
|
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
608
|
+
{ no: 6, name: "status", kind: "message", T: WorkspaceStatus },
|
940
609
|
]);
|
941
610
|
|
942
611
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Workspace {
|
@@ -956,10 +625,51 @@ export class Workspace extends Message<Workspace> {
|
|
956
625
|
}
|
957
626
|
}
|
958
627
|
|
628
|
+
/**
|
629
|
+
* WorkspaceStatus represents the currently observed status of a Workspace, including data about child resources that belong to this Workspace.
|
630
|
+
*
|
631
|
+
* @generated from message gitpod.experimental.v1.WorkspaceStatus
|
632
|
+
*/
|
633
|
+
export class WorkspaceStatus extends Message<WorkspaceStatus> {
|
634
|
+
/**
|
635
|
+
* instance is the currently assigned WorkspaceInstance to this workspace. Empty when there is no WorkspaceInstance assigned.
|
636
|
+
*
|
637
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstance instance = 1;
|
638
|
+
*/
|
639
|
+
instance?: WorkspaceInstance;
|
640
|
+
|
641
|
+
constructor(data?: PartialMessage<WorkspaceStatus>) {
|
642
|
+
super();
|
643
|
+
proto3.util.initPartial(data, this);
|
644
|
+
}
|
645
|
+
|
646
|
+
static readonly runtime = proto3;
|
647
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceStatus";
|
648
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
649
|
+
{ no: 1, name: "instance", kind: "message", T: WorkspaceInstance },
|
650
|
+
]);
|
651
|
+
|
652
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceStatus {
|
653
|
+
return new WorkspaceStatus().fromBinary(bytes, options);
|
654
|
+
}
|
655
|
+
|
656
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceStatus {
|
657
|
+
return new WorkspaceStatus().fromJson(jsonValue, options);
|
658
|
+
}
|
659
|
+
|
660
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceStatus {
|
661
|
+
return new WorkspaceStatus().fromJsonString(jsonString, options);
|
662
|
+
}
|
663
|
+
|
664
|
+
static equals(a: WorkspaceStatus | PlainMessage<WorkspaceStatus> | undefined, b: WorkspaceStatus | PlainMessage<WorkspaceStatus> | undefined): boolean {
|
665
|
+
return proto3.util.equals(WorkspaceStatus, a, b);
|
666
|
+
}
|
667
|
+
}
|
668
|
+
|
959
669
|
/**
|
960
670
|
* WorkspaceContext describes the context a workspace was created from
|
961
671
|
*
|
962
|
-
* @generated from message gitpod.v1.WorkspaceContext
|
672
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext
|
963
673
|
*/
|
964
674
|
export class WorkspaceContext extends Message<WorkspaceContext> {
|
965
675
|
/**
|
@@ -971,23 +681,23 @@ export class WorkspaceContext extends Message<WorkspaceContext> {
|
|
971
681
|
contextUrl = "";
|
972
682
|
|
973
683
|
/**
|
974
|
-
* @generated from oneof gitpod.v1.WorkspaceContext.details
|
684
|
+
* @generated from oneof gitpod.experimental.v1.WorkspaceContext.details
|
975
685
|
*/
|
976
686
|
details: {
|
977
687
|
/**
|
978
|
-
* @generated from field: gitpod.v1.WorkspaceContext.Git git = 2;
|
688
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceContext.Git git = 2;
|
979
689
|
*/
|
980
690
|
value: WorkspaceContext_Git;
|
981
691
|
case: "git";
|
982
692
|
} | {
|
983
693
|
/**
|
984
|
-
* @generated from field: gitpod.v1.WorkspaceContext.Prebuild prebuild = 3;
|
694
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceContext.Prebuild prebuild = 3;
|
985
695
|
*/
|
986
696
|
value: WorkspaceContext_Prebuild;
|
987
697
|
case: "prebuild";
|
988
698
|
} | {
|
989
699
|
/**
|
990
|
-
* @generated from field: gitpod.v1.WorkspaceContext.Snapshot snapshot = 4;
|
700
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceContext.Snapshot snapshot = 4;
|
991
701
|
*/
|
992
702
|
value: WorkspaceContext_Snapshot;
|
993
703
|
case: "snapshot";
|
@@ -999,7 +709,7 @@ export class WorkspaceContext extends Message<WorkspaceContext> {
|
|
999
709
|
}
|
1000
710
|
|
1001
711
|
static readonly runtime = proto3;
|
1002
|
-
static readonly typeName = "gitpod.v1.WorkspaceContext";
|
712
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceContext";
|
1003
713
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
1004
714
|
{ no: 1, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1005
715
|
{ no: 2, name: "git", kind: "message", T: WorkspaceContext_Git, oneof: "details" },
|
@@ -1027,7 +737,7 @@ export class WorkspaceContext extends Message<WorkspaceContext> {
|
|
1027
737
|
/**
|
1028
738
|
* Explicit Git context
|
1029
739
|
*
|
1030
|
-
* @generated from message gitpod.v1.WorkspaceContext.Git
|
740
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext.Git
|
1031
741
|
*/
|
1032
742
|
export class WorkspaceContext_Git extends Message<WorkspaceContext_Git> {
|
1033
743
|
/**
|
@@ -1046,7 +756,7 @@ export class WorkspaceContext_Git extends Message<WorkspaceContext_Git> {
|
|
1046
756
|
}
|
1047
757
|
|
1048
758
|
static readonly runtime = proto3;
|
1049
|
-
static readonly typeName = "gitpod.v1.WorkspaceContext.Git";
|
759
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceContext.Git";
|
1050
760
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
1051
761
|
{ no: 1, name: "normalized_context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1052
762
|
{ no: 2, name: "commit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -1072,14 +782,14 @@ export class WorkspaceContext_Git extends Message<WorkspaceContext_Git> {
|
|
1072
782
|
/**
|
1073
783
|
* Workspace was created from a prebuild
|
1074
784
|
*
|
1075
|
-
* @generated from message gitpod.v1.WorkspaceContext.Prebuild
|
785
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext.Prebuild
|
1076
786
|
*/
|
1077
787
|
export class WorkspaceContext_Prebuild extends Message<WorkspaceContext_Prebuild> {
|
1078
788
|
/**
|
1079
789
|
* original_context is the Git context which lead to the selection
|
1080
790
|
* of a prebuild.
|
1081
791
|
*
|
1082
|
-
* @generated from field: gitpod.v1.WorkspaceContext.Git original_context = 1;
|
792
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceContext.Git original_context = 1;
|
1083
793
|
*/
|
1084
794
|
originalContext?: WorkspaceContext_Git;
|
1085
795
|
|
@@ -1096,7 +806,7 @@ export class WorkspaceContext_Prebuild extends Message<WorkspaceContext_Prebuild
|
|
1096
806
|
}
|
1097
807
|
|
1098
808
|
static readonly runtime = proto3;
|
1099
|
-
static readonly typeName = "gitpod.v1.WorkspaceContext.Prebuild";
|
809
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceContext.Prebuild";
|
1100
810
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
1101
811
|
{ no: 1, name: "original_context", kind: "message", T: WorkspaceContext_Git },
|
1102
812
|
{ no: 2, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -1122,7 +832,7 @@ export class WorkspaceContext_Prebuild extends Message<WorkspaceContext_Prebuild
|
|
1122
832
|
/**
|
1123
833
|
* Snapshot context points to the snapshot which the workspace was created from
|
1124
834
|
*
|
1125
|
-
* @generated from message gitpod.v1.WorkspaceContext.Snapshot
|
835
|
+
* @generated from message gitpod.experimental.v1.WorkspaceContext.Snapshot
|
1126
836
|
*/
|
1127
837
|
export class WorkspaceContext_Snapshot extends Message<WorkspaceContext_Snapshot> {
|
1128
838
|
/**
|
@@ -1136,7 +846,7 @@ export class WorkspaceContext_Snapshot extends Message<WorkspaceContext_Snapshot
|
|
1136
846
|
}
|
1137
847
|
|
1138
848
|
static readonly runtime = proto3;
|
1139
|
-
static readonly typeName = "gitpod.v1.WorkspaceContext.Snapshot";
|
849
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceContext.Snapshot";
|
1140
850
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
1141
851
|
{ no: 1, name: "snapshot_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1142
852
|
]);
|
@@ -1161,7 +871,7 @@ export class WorkspaceContext_Snapshot extends Message<WorkspaceContext_Snapshot
|
|
1161
871
|
/**
|
1162
872
|
* WorkspaceInstance describes a single workspace instance
|
1163
873
|
*
|
1164
|
-
* @generated from message gitpod.v1.WorkspaceInstance
|
874
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstance
|
1165
875
|
*/
|
1166
876
|
export class WorkspaceInstance extends Message<WorkspaceInstance> {
|
1167
877
|
/**
|
@@ -1184,7 +894,7 @@ export class WorkspaceInstance extends Message<WorkspaceInstance> {
|
|
1184
894
|
createdAt?: Timestamp;
|
1185
895
|
|
1186
896
|
/**
|
1187
|
-
* @generated from field: gitpod.v1.WorkspaceInstanceStatus status = 4;
|
897
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus status = 4;
|
1188
898
|
*/
|
1189
899
|
status?: WorkspaceInstanceStatus;
|
1190
900
|
|
@@ -1194,7 +904,7 @@ export class WorkspaceInstance extends Message<WorkspaceInstance> {
|
|
1194
904
|
}
|
1195
905
|
|
1196
906
|
static readonly runtime = proto3;
|
1197
|
-
static readonly typeName = "gitpod.v1.WorkspaceInstance";
|
907
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceInstance";
|
1198
908
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
1199
909
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1200
910
|
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -1222,7 +932,7 @@ export class WorkspaceInstance extends Message<WorkspaceInstance> {
|
|
1222
932
|
/**
|
1223
933
|
* WorkspaceStatus describes a workspace status
|
1224
934
|
*
|
1225
|
-
* @generated from message gitpod.v1.WorkspaceInstanceStatus
|
935
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstanceStatus
|
1226
936
|
*/
|
1227
937
|
export class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
1228
938
|
/**
|
@@ -1239,14 +949,14 @@ export class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
|
1239
949
|
/**
|
1240
950
|
* the phase of a workspace is a simple, high-level summary of where the workspace instance is in its lifecycle
|
1241
951
|
*
|
1242
|
-
* @generated from field: gitpod.v1.WorkspaceInstanceStatus.Phase phase = 2;
|
952
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus.Phase phase = 2;
|
1243
953
|
*/
|
1244
954
|
phase = WorkspaceInstanceStatus_Phase.UNSPECIFIED;
|
1245
955
|
|
1246
956
|
/**
|
1247
957
|
* conditions detail the current state of the workspace instance
|
1248
958
|
*
|
1249
|
-
* @generated from field: gitpod.v1.WorkspaceInstanceStatus.Conditions conditions = 3;
|
959
|
+
* @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions conditions = 3;
|
1250
960
|
*/
|
1251
961
|
conditions?: WorkspaceInstanceStatus_Conditions;
|
1252
962
|
|
@@ -1267,7 +977,7 @@ export class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
|
1267
977
|
/**
|
1268
978
|
* Admission describes who can access a workspace instance and its ports.
|
1269
979
|
*
|
1270
|
-
* @generated from field: gitpod.v1.AdmissionLevel admission = 6;
|
980
|
+
* @generated from field: gitpod.experimental.v1.AdmissionLevel admission = 6;
|
1271
981
|
*/
|
1272
982
|
admission = AdmissionLevel.UNSPECIFIED;
|
1273
983
|
|
@@ -1277,7 +987,7 @@ export class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
|
1277
987
|
}
|
1278
988
|
|
1279
989
|
static readonly runtime = proto3;
|
1280
|
-
static readonly typeName = "gitpod.v1.WorkspaceInstanceStatus";
|
990
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus";
|
1281
991
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
1282
992
|
{ no: 1, name: "status_version", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
1283
993
|
{ no: 2, name: "phase", kind: "enum", T: proto3.getEnumType(WorkspaceInstanceStatus_Phase) },
|
@@ -1310,7 +1020,7 @@ export class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
|
1310
1020
|
* nor is it intended to be a comprehensive state machine.
|
1311
1021
|
* (based on https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase)
|
1312
1022
|
*
|
1313
|
-
* @generated from enum gitpod.v1.WorkspaceInstanceStatus.Phase
|
1023
|
+
* @generated from enum gitpod.experimental.v1.WorkspaceInstanceStatus.Phase
|
1314
1024
|
*/
|
1315
1025
|
export enum WorkspaceInstanceStatus_Phase {
|
1316
1026
|
/**
|
@@ -1393,7 +1103,7 @@ export enum WorkspaceInstanceStatus_Phase {
|
|
1393
1103
|
STOPPED = 9,
|
1394
1104
|
}
|
1395
1105
|
// Retrieve enum metadata with: proto3.getEnumType(WorkspaceInstanceStatus_Phase)
|
1396
|
-
proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.v1.WorkspaceInstanceStatus.Phase", [
|
1106
|
+
proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.experimental.v1.WorkspaceInstanceStatus.Phase", [
|
1397
1107
|
{ no: 0, name: "PHASE_UNSPECIFIED" },
|
1398
1108
|
{ no: 1, name: "PHASE_PREPARING" },
|
1399
1109
|
{ no: 2, name: "PHASE_IMAGEBUILD" },
|
@@ -1410,7 +1120,7 @@ proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.v1.WorkspaceInsta
|
|
1410
1120
|
* Conditions gives more detailed information as to the state of the workspace. Which condition actually
|
1411
1121
|
* has a value depends on the phase the workspace is in.
|
1412
1122
|
*
|
1413
|
-
* @generated from message gitpod.v1.WorkspaceInstanceStatus.Conditions
|
1123
|
+
* @generated from message gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions
|
1414
1124
|
*/
|
1415
1125
|
export class WorkspaceInstanceStatus_Conditions extends Message<WorkspaceInstanceStatus_Conditions> {
|
1416
1126
|
/**
|
@@ -1448,7 +1158,7 @@ export class WorkspaceInstanceStatus_Conditions extends Message<WorkspaceInstanc
|
|
1448
1158
|
}
|
1449
1159
|
|
1450
1160
|
static readonly runtime = proto3;
|
1451
|
-
static readonly typeName = "gitpod.v1.WorkspaceInstanceStatus.Conditions";
|
1161
|
+
static readonly typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions";
|
1452
1162
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
1453
1163
|
{ no: 1, name: "failed", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
1454
1164
|
{ no: 2, name: "timeout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -1478,7 +1188,7 @@ export class WorkspaceInstanceStatus_Conditions extends Message<WorkspaceInstanc
|
|
1478
1188
|
*
|
1479
1189
|
* future per-workspace-start fields, e.g. region
|
1480
1190
|
*
|
1481
|
-
* @generated from message gitpod.v1.StartWorkspaceSpec
|
1191
|
+
* @generated from message gitpod.experimental.v1.StartWorkspaceSpec
|
1482
1192
|
*/
|
1483
1193
|
export class StartWorkspaceSpec extends Message<StartWorkspaceSpec> {
|
1484
1194
|
constructor(data?: PartialMessage<StartWorkspaceSpec>) {
|
@@ -1487,7 +1197,7 @@ export class StartWorkspaceSpec extends Message<StartWorkspaceSpec> {
|
|
1487
1197
|
}
|
1488
1198
|
|
1489
1199
|
static readonly runtime = proto3;
|
1490
|
-
static readonly typeName = "gitpod.v1.StartWorkspaceSpec";
|
1200
|
+
static readonly typeName = "gitpod.experimental.v1.StartWorkspaceSpec";
|
1491
1201
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
1492
1202
|
]);
|
1493
1203
|
|