@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,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/
|
|
8
|
+
// @generated from file gitpod/v1/workspaces.proto (package gitpod.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.
|
|
19
|
+
* @generated from enum gitpod.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.
|
|
42
|
+
proto3.util.setEnumType(AdmissionLevel, "gitpod.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.
|
|
49
|
+
* @generated from message gitpod.v1.ListWorkspacesRequest
|
|
50
50
|
*/
|
|
51
51
|
export class ListWorkspacesRequest extends Message<ListWorkspacesRequest> {
|
|
52
52
|
/**
|
|
53
|
-
* @generated from field: gitpod.
|
|
53
|
+
* @generated from field: gitpod.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.
|
|
68
|
+
static readonly typeName = "gitpod.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.
|
|
92
|
+
* @generated from message gitpod.v1.ListWorkspacesResponse
|
|
93
93
|
*/
|
|
94
94
|
export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
|
|
95
95
|
/**
|
|
@@ -98,7 +98,7 @@ export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
|
|
|
98
98
|
nextPageToken = "";
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
* @generated from field: repeated gitpod.
|
|
101
|
+
* @generated from field: repeated gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance result = 2;
|
|
102
102
|
*/
|
|
103
103
|
result: ListWorkspacesResponse_WorkspaceAndInstance[] = [];
|
|
104
104
|
|
|
@@ -108,7 +108,7 @@ export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
static readonly runtime = proto3;
|
|
111
|
-
static readonly typeName = "gitpod.
|
|
111
|
+
static readonly typeName = "gitpod.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
114
|
{ no: 2, name: "result", kind: "message", T: ListWorkspacesResponse_WorkspaceAndInstance, repeated: true },
|
|
@@ -132,16 +132,16 @@ export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
-
* @generated from message gitpod.
|
|
135
|
+
* @generated from message gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance
|
|
136
136
|
*/
|
|
137
137
|
export class ListWorkspacesResponse_WorkspaceAndInstance extends Message<ListWorkspacesResponse_WorkspaceAndInstance> {
|
|
138
138
|
/**
|
|
139
|
-
* @generated from field: gitpod.
|
|
139
|
+
* @generated from field: gitpod.v1.Workspace result = 1;
|
|
140
140
|
*/
|
|
141
141
|
result?: Workspace;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* @generated from field: gitpod.
|
|
144
|
+
* @generated from field: gitpod.v1.WorkspaceInstance last_active_instances = 2;
|
|
145
145
|
*/
|
|
146
146
|
lastActiveInstances?: WorkspaceInstance;
|
|
147
147
|
|
|
@@ -151,7 +151,7 @@ export class ListWorkspacesResponse_WorkspaceAndInstance extends Message<ListWor
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
static readonly runtime = proto3;
|
|
154
|
-
static readonly typeName = "gitpod.
|
|
154
|
+
static readonly typeName = "gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance";
|
|
155
155
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
156
156
|
{ no: 1, name: "result", kind: "message", T: Workspace },
|
|
157
157
|
{ no: 2, name: "last_active_instances", kind: "message", T: WorkspaceInstance },
|
|
@@ -175,7 +175,7 @@ export class ListWorkspacesResponse_WorkspaceAndInstance extends Message<ListWor
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
|
-
* @generated from message gitpod.
|
|
178
|
+
* @generated from message gitpod.v1.GetWorkspaceRequest
|
|
179
179
|
*/
|
|
180
180
|
export class GetWorkspaceRequest extends Message<GetWorkspaceRequest> {
|
|
181
181
|
/**
|
|
@@ -189,7 +189,7 @@ export class GetWorkspaceRequest extends Message<GetWorkspaceRequest> {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
static readonly runtime = proto3;
|
|
192
|
-
static readonly typeName = "gitpod.
|
|
192
|
+
static readonly typeName = "gitpod.v1.GetWorkspaceRequest";
|
|
193
193
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
194
194
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
195
195
|
]);
|
|
@@ -212,11 +212,11 @@ export class GetWorkspaceRequest extends Message<GetWorkspaceRequest> {
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
|
-
* @generated from message gitpod.
|
|
215
|
+
* @generated from message gitpod.v1.GetWorkspaceResponse
|
|
216
216
|
*/
|
|
217
217
|
export class GetWorkspaceResponse extends Message<GetWorkspaceResponse> {
|
|
218
218
|
/**
|
|
219
|
-
* @generated from field: gitpod.
|
|
219
|
+
* @generated from field: gitpod.v1.Workspace result = 1;
|
|
220
220
|
*/
|
|
221
221
|
result?: Workspace;
|
|
222
222
|
|
|
@@ -226,7 +226,7 @@ export class GetWorkspaceResponse extends Message<GetWorkspaceResponse> {
|
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
static readonly runtime = proto3;
|
|
229
|
-
static readonly typeName = "gitpod.
|
|
229
|
+
static readonly typeName = "gitpod.v1.GetWorkspaceResponse";
|
|
230
230
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
231
231
|
{ no: 1, name: "result", kind: "message", T: Workspace },
|
|
232
232
|
]);
|
|
@@ -249,7 +249,7 @@ export class GetWorkspaceResponse extends Message<GetWorkspaceResponse> {
|
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
|
-
* @generated from message gitpod.
|
|
252
|
+
* @generated from message gitpod.v1.GetOwnerTokenRequest
|
|
253
253
|
*/
|
|
254
254
|
export class GetOwnerTokenRequest extends Message<GetOwnerTokenRequest> {
|
|
255
255
|
/**
|
|
@@ -263,7 +263,7 @@ export class GetOwnerTokenRequest extends Message<GetOwnerTokenRequest> {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
static readonly runtime = proto3;
|
|
266
|
-
static readonly typeName = "gitpod.
|
|
266
|
+
static readonly typeName = "gitpod.v1.GetOwnerTokenRequest";
|
|
267
267
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
268
268
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
269
269
|
]);
|
|
@@ -286,7 +286,7 @@ export class GetOwnerTokenRequest extends Message<GetOwnerTokenRequest> {
|
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
|
-
* @generated from message gitpod.
|
|
289
|
+
* @generated from message gitpod.v1.GetOwnerTokenResponse
|
|
290
290
|
*/
|
|
291
291
|
export class GetOwnerTokenResponse extends Message<GetOwnerTokenResponse> {
|
|
292
292
|
/**
|
|
@@ -300,7 +300,7 @@ export class GetOwnerTokenResponse extends Message<GetOwnerTokenResponse> {
|
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
static readonly runtime = proto3;
|
|
303
|
-
static readonly typeName = "gitpod.
|
|
303
|
+
static readonly typeName = "gitpod.v1.GetOwnerTokenResponse";
|
|
304
304
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
305
305
|
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
306
306
|
]);
|
|
@@ -323,272 +323,7 @@ export class GetOwnerTokenResponse extends Message<GetOwnerTokenResponse> {
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
/**
|
|
326
|
-
* @generated from message gitpod.
|
|
327
|
-
*/
|
|
328
|
-
export class CreateAndStartWorkspaceRequest extends Message<CreateAndStartWorkspaceRequest> {
|
|
329
|
-
/**
|
|
330
|
-
* @generated from field: string idempotency_token = 1;
|
|
331
|
-
*/
|
|
332
|
-
idempotencyToken = "";
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* @generated from oneof gitpod.stable.v1.CreateAndStartWorkspaceRequest.source
|
|
336
|
-
*/
|
|
337
|
-
source: {
|
|
338
|
-
/**
|
|
339
|
-
* @generated from field: string context_url = 2;
|
|
340
|
-
*/
|
|
341
|
-
value: string;
|
|
342
|
-
case: "contextUrl";
|
|
343
|
-
} | {
|
|
344
|
-
/**
|
|
345
|
-
* @generated from field: string prebuild_id = 3;
|
|
346
|
-
*/
|
|
347
|
-
value: string;
|
|
348
|
-
case: "prebuildId";
|
|
349
|
-
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* @generated from field: gitpod.stable.v1.StartWorkspaceSpec start_spec = 5;
|
|
353
|
-
*/
|
|
354
|
-
startSpec?: StartWorkspaceSpec;
|
|
355
|
-
|
|
356
|
-
constructor(data?: PartialMessage<CreateAndStartWorkspaceRequest>) {
|
|
357
|
-
super();
|
|
358
|
-
proto3.util.initPartial(data, this);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
static readonly runtime = proto3;
|
|
362
|
-
static readonly typeName = "gitpod.stable.v1.CreateAndStartWorkspaceRequest";
|
|
363
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
364
|
-
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
365
|
-
{ no: 2, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
|
|
366
|
-
{ no: 3, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
|
|
367
|
-
{ no: 5, name: "start_spec", kind: "message", T: StartWorkspaceSpec },
|
|
368
|
-
]);
|
|
369
|
-
|
|
370
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAndStartWorkspaceRequest {
|
|
371
|
-
return new CreateAndStartWorkspaceRequest().fromBinary(bytes, options);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceRequest {
|
|
375
|
-
return new CreateAndStartWorkspaceRequest().fromJson(jsonValue, options);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceRequest {
|
|
379
|
-
return new CreateAndStartWorkspaceRequest().fromJsonString(jsonString, options);
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
static equals(a: CreateAndStartWorkspaceRequest | PlainMessage<CreateAndStartWorkspaceRequest> | undefined, b: CreateAndStartWorkspaceRequest | PlainMessage<CreateAndStartWorkspaceRequest> | undefined): boolean {
|
|
383
|
-
return proto3.util.equals(CreateAndStartWorkspaceRequest, a, b);
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* @generated from message gitpod.stable.v1.CreateAndStartWorkspaceResponse
|
|
389
|
-
*/
|
|
390
|
-
export class CreateAndStartWorkspaceResponse extends Message<CreateAndStartWorkspaceResponse> {
|
|
391
|
-
/**
|
|
392
|
-
* @generated from field: string workspace_id = 1;
|
|
393
|
-
*/
|
|
394
|
-
workspaceId = "";
|
|
395
|
-
|
|
396
|
-
constructor(data?: PartialMessage<CreateAndStartWorkspaceResponse>) {
|
|
397
|
-
super();
|
|
398
|
-
proto3.util.initPartial(data, this);
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
static readonly runtime = proto3;
|
|
402
|
-
static readonly typeName = "gitpod.stable.v1.CreateAndStartWorkspaceResponse";
|
|
403
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
404
|
-
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
405
|
-
]);
|
|
406
|
-
|
|
407
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAndStartWorkspaceResponse {
|
|
408
|
-
return new CreateAndStartWorkspaceResponse().fromBinary(bytes, options);
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceResponse {
|
|
412
|
-
return new CreateAndStartWorkspaceResponse().fromJson(jsonValue, options);
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceResponse {
|
|
416
|
-
return new CreateAndStartWorkspaceResponse().fromJsonString(jsonString, options);
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
static equals(a: CreateAndStartWorkspaceResponse | PlainMessage<CreateAndStartWorkspaceResponse> | undefined, b: CreateAndStartWorkspaceResponse | PlainMessage<CreateAndStartWorkspaceResponse> | undefined): boolean {
|
|
420
|
-
return proto3.util.equals(CreateAndStartWorkspaceResponse, a, b);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* @generated from message gitpod.stable.v1.StartWorkspaceRequest
|
|
426
|
-
*/
|
|
427
|
-
export class StartWorkspaceRequest extends Message<StartWorkspaceRequest> {
|
|
428
|
-
/**
|
|
429
|
-
* @generated from field: string idempotency_token = 1;
|
|
430
|
-
*/
|
|
431
|
-
idempotencyToken = "";
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* @generated from field: string workspace_id = 2;
|
|
435
|
-
*/
|
|
436
|
-
workspaceId = "";
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* @generated from field: gitpod.stable.v1.StartWorkspaceSpec spec = 3;
|
|
440
|
-
*/
|
|
441
|
-
spec?: StartWorkspaceSpec;
|
|
442
|
-
|
|
443
|
-
constructor(data?: PartialMessage<StartWorkspaceRequest>) {
|
|
444
|
-
super();
|
|
445
|
-
proto3.util.initPartial(data, this);
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
static readonly runtime = proto3;
|
|
449
|
-
static readonly typeName = "gitpod.stable.v1.StartWorkspaceRequest";
|
|
450
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
451
|
-
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
452
|
-
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
453
|
-
{ no: 3, name: "spec", kind: "message", T: StartWorkspaceSpec },
|
|
454
|
-
]);
|
|
455
|
-
|
|
456
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceRequest {
|
|
457
|
-
return new StartWorkspaceRequest().fromBinary(bytes, options);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceRequest {
|
|
461
|
-
return new StartWorkspaceRequest().fromJson(jsonValue, options);
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceRequest {
|
|
465
|
-
return new StartWorkspaceRequest().fromJsonString(jsonString, options);
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
static equals(a: StartWorkspaceRequest | PlainMessage<StartWorkspaceRequest> | undefined, b: StartWorkspaceRequest | PlainMessage<StartWorkspaceRequest> | undefined): boolean {
|
|
469
|
-
return proto3.util.equals(StartWorkspaceRequest, a, b);
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* @generated from message gitpod.stable.v1.StartWorkspaceResponse
|
|
475
|
-
*/
|
|
476
|
-
export class StartWorkspaceResponse extends Message<StartWorkspaceResponse> {
|
|
477
|
-
/**
|
|
478
|
-
* @generated from field: string instance_id = 1;
|
|
479
|
-
*/
|
|
480
|
-
instanceId = "";
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* @generated from field: string workspace_url = 2;
|
|
484
|
-
*/
|
|
485
|
-
workspaceUrl = "";
|
|
486
|
-
|
|
487
|
-
constructor(data?: PartialMessage<StartWorkspaceResponse>) {
|
|
488
|
-
super();
|
|
489
|
-
proto3.util.initPartial(data, this);
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
static readonly runtime = proto3;
|
|
493
|
-
static readonly typeName = "gitpod.stable.v1.StartWorkspaceResponse";
|
|
494
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
495
|
-
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
496
|
-
{ no: 2, name: "workspace_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
497
|
-
]);
|
|
498
|
-
|
|
499
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceResponse {
|
|
500
|
-
return new StartWorkspaceResponse().fromBinary(bytes, options);
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceResponse {
|
|
504
|
-
return new StartWorkspaceResponse().fromJson(jsonValue, options);
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceResponse {
|
|
508
|
-
return new StartWorkspaceResponse().fromJsonString(jsonString, options);
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
static equals(a: StartWorkspaceResponse | PlainMessage<StartWorkspaceResponse> | undefined, b: StartWorkspaceResponse | PlainMessage<StartWorkspaceResponse> | undefined): boolean {
|
|
512
|
-
return proto3.util.equals(StartWorkspaceResponse, a, b);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* @generated from message gitpod.stable.v1.GetActiveWorkspaceInstanceRequest
|
|
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.stable.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.stable.v1.GetActiveWorkspaceInstanceResponse
|
|
555
|
-
*/
|
|
556
|
-
export class GetActiveWorkspaceInstanceResponse extends Message<GetActiveWorkspaceInstanceResponse> {
|
|
557
|
-
/**
|
|
558
|
-
* @generated from field: gitpod.stable.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.stable.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.stable.v1.GetWorkspaceInstanceOwnerTokenRequest
|
|
326
|
+
* @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest
|
|
592
327
|
*/
|
|
593
328
|
export class GetWorkspaceInstanceOwnerTokenRequest extends Message<GetWorkspaceInstanceOwnerTokenRequest> {
|
|
594
329
|
/**
|
|
@@ -602,7 +337,7 @@ export class GetWorkspaceInstanceOwnerTokenRequest extends Message<GetWorkspaceI
|
|
|
602
337
|
}
|
|
603
338
|
|
|
604
339
|
static readonly runtime = proto3;
|
|
605
|
-
static readonly typeName = "gitpod.
|
|
340
|
+
static readonly typeName = "gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest";
|
|
606
341
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
607
342
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
608
343
|
]);
|
|
@@ -625,7 +360,7 @@ export class GetWorkspaceInstanceOwnerTokenRequest extends Message<GetWorkspaceI
|
|
|
625
360
|
}
|
|
626
361
|
|
|
627
362
|
/**
|
|
628
|
-
* @generated from message gitpod.
|
|
363
|
+
* @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse
|
|
629
364
|
*/
|
|
630
365
|
export class GetWorkspaceInstanceOwnerTokenResponse extends Message<GetWorkspaceInstanceOwnerTokenResponse> {
|
|
631
366
|
/**
|
|
@@ -639,7 +374,7 @@ export class GetWorkspaceInstanceOwnerTokenResponse extends Message<GetWorkspace
|
|
|
639
374
|
}
|
|
640
375
|
|
|
641
376
|
static readonly runtime = proto3;
|
|
642
|
-
static readonly typeName = "gitpod.
|
|
377
|
+
static readonly typeName = "gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse";
|
|
643
378
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
644
379
|
{ no: 1, name: "owner_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
645
380
|
]);
|
|
@@ -661,232 +396,10 @@ export class GetWorkspaceInstanceOwnerTokenResponse extends Message<GetWorkspace
|
|
|
661
396
|
}
|
|
662
397
|
}
|
|
663
398
|
|
|
664
|
-
/**
|
|
665
|
-
* @generated from message gitpod.stable.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.stable.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.stable.v1.ListenToWorkspaceInstanceResponse
|
|
703
|
-
*/
|
|
704
|
-
export class ListenToWorkspaceInstanceResponse extends Message<ListenToWorkspaceInstanceResponse> {
|
|
705
|
-
/**
|
|
706
|
-
* @generated from field: gitpod.stable.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.stable.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.stable.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.stable.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.stable.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.stable.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.stable.v1.StopWorkspaceRequest
|
|
814
|
-
*/
|
|
815
|
-
export class StopWorkspaceRequest extends Message<StopWorkspaceRequest> {
|
|
816
|
-
/**
|
|
817
|
-
* @generated from field: string idempotency_token = 1;
|
|
818
|
-
*/
|
|
819
|
-
idempotencyToken = "";
|
|
820
|
-
|
|
821
|
-
/**
|
|
822
|
-
* @generated from field: string workspace_id = 2;
|
|
823
|
-
*/
|
|
824
|
-
workspaceId = "";
|
|
825
|
-
|
|
826
|
-
constructor(data?: PartialMessage<StopWorkspaceRequest>) {
|
|
827
|
-
super();
|
|
828
|
-
proto3.util.initPartial(data, this);
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
static readonly runtime = proto3;
|
|
832
|
-
static readonly typeName = "gitpod.stable.v1.StopWorkspaceRequest";
|
|
833
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
834
|
-
{ no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
835
|
-
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
836
|
-
]);
|
|
837
|
-
|
|
838
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopWorkspaceRequest {
|
|
839
|
-
return new StopWorkspaceRequest().fromBinary(bytes, options);
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopWorkspaceRequest {
|
|
843
|
-
return new StopWorkspaceRequest().fromJson(jsonValue, options);
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopWorkspaceRequest {
|
|
847
|
-
return new StopWorkspaceRequest().fromJsonString(jsonString, options);
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
static equals(a: StopWorkspaceRequest | PlainMessage<StopWorkspaceRequest> | undefined, b: StopWorkspaceRequest | PlainMessage<StopWorkspaceRequest> | undefined): boolean {
|
|
851
|
-
return proto3.util.equals(StopWorkspaceRequest, a, b);
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
/**
|
|
856
|
-
* @generated from message gitpod.stable.v1.StopWorkspaceResponse
|
|
857
|
-
*/
|
|
858
|
-
export class StopWorkspaceResponse extends Message<StopWorkspaceResponse> {
|
|
859
|
-
constructor(data?: PartialMessage<StopWorkspaceResponse>) {
|
|
860
|
-
super();
|
|
861
|
-
proto3.util.initPartial(data, this);
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
static readonly runtime = proto3;
|
|
865
|
-
static readonly typeName = "gitpod.stable.v1.StopWorkspaceResponse";
|
|
866
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
867
|
-
]);
|
|
868
|
-
|
|
869
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopWorkspaceResponse {
|
|
870
|
-
return new StopWorkspaceResponse().fromBinary(bytes, options);
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopWorkspaceResponse {
|
|
874
|
-
return new StopWorkspaceResponse().fromJson(jsonValue, options);
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopWorkspaceResponse {
|
|
878
|
-
return new StopWorkspaceResponse().fromJsonString(jsonString, options);
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
static equals(a: StopWorkspaceResponse | PlainMessage<StopWorkspaceResponse> | undefined, b: StopWorkspaceResponse | PlainMessage<StopWorkspaceResponse> | undefined): boolean {
|
|
882
|
-
return proto3.util.equals(StopWorkspaceResponse, a, b);
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
|
|
886
399
|
/**
|
|
887
400
|
* Workspace describes a single workspace
|
|
888
401
|
*
|
|
889
|
-
* @generated from message gitpod.
|
|
402
|
+
* @generated from message gitpod.v1.Workspace
|
|
890
403
|
*/
|
|
891
404
|
export class Workspace extends Message<Workspace> {
|
|
892
405
|
/**
|
|
@@ -913,7 +426,7 @@ export class Workspace extends Message<Workspace> {
|
|
|
913
426
|
/**
|
|
914
427
|
* context reports the original context the workspace was created from
|
|
915
428
|
*
|
|
916
|
-
* @generated from field: gitpod.
|
|
429
|
+
* @generated from field: gitpod.v1.WorkspaceContext context = 4;
|
|
917
430
|
*/
|
|
918
431
|
context?: WorkspaceContext;
|
|
919
432
|
|
|
@@ -930,7 +443,7 @@ export class Workspace extends Message<Workspace> {
|
|
|
930
443
|
}
|
|
931
444
|
|
|
932
445
|
static readonly runtime = proto3;
|
|
933
|
-
static readonly typeName = "gitpod.
|
|
446
|
+
static readonly typeName = "gitpod.v1.Workspace";
|
|
934
447
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
935
448
|
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
936
449
|
{ no: 2, name: "owner_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -959,7 +472,7 @@ export class Workspace extends Message<Workspace> {
|
|
|
959
472
|
/**
|
|
960
473
|
* WorkspaceContext describes the context a workspace was created from
|
|
961
474
|
*
|
|
962
|
-
* @generated from message gitpod.
|
|
475
|
+
* @generated from message gitpod.v1.WorkspaceContext
|
|
963
476
|
*/
|
|
964
477
|
export class WorkspaceContext extends Message<WorkspaceContext> {
|
|
965
478
|
/**
|
|
@@ -971,23 +484,23 @@ export class WorkspaceContext extends Message<WorkspaceContext> {
|
|
|
971
484
|
contextUrl = "";
|
|
972
485
|
|
|
973
486
|
/**
|
|
974
|
-
* @generated from oneof gitpod.
|
|
487
|
+
* @generated from oneof gitpod.v1.WorkspaceContext.details
|
|
975
488
|
*/
|
|
976
489
|
details: {
|
|
977
490
|
/**
|
|
978
|
-
* @generated from field: gitpod.
|
|
491
|
+
* @generated from field: gitpod.v1.WorkspaceContext.Git git = 2;
|
|
979
492
|
*/
|
|
980
493
|
value: WorkspaceContext_Git;
|
|
981
494
|
case: "git";
|
|
982
495
|
} | {
|
|
983
496
|
/**
|
|
984
|
-
* @generated from field: gitpod.
|
|
497
|
+
* @generated from field: gitpod.v1.WorkspaceContext.Prebuild prebuild = 3;
|
|
985
498
|
*/
|
|
986
499
|
value: WorkspaceContext_Prebuild;
|
|
987
500
|
case: "prebuild";
|
|
988
501
|
} | {
|
|
989
502
|
/**
|
|
990
|
-
* @generated from field: gitpod.
|
|
503
|
+
* @generated from field: gitpod.v1.WorkspaceContext.Snapshot snapshot = 4;
|
|
991
504
|
*/
|
|
992
505
|
value: WorkspaceContext_Snapshot;
|
|
993
506
|
case: "snapshot";
|
|
@@ -999,7 +512,7 @@ export class WorkspaceContext extends Message<WorkspaceContext> {
|
|
|
999
512
|
}
|
|
1000
513
|
|
|
1001
514
|
static readonly runtime = proto3;
|
|
1002
|
-
static readonly typeName = "gitpod.
|
|
515
|
+
static readonly typeName = "gitpod.v1.WorkspaceContext";
|
|
1003
516
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1004
517
|
{ no: 1, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1005
518
|
{ no: 2, name: "git", kind: "message", T: WorkspaceContext_Git, oneof: "details" },
|
|
@@ -1027,7 +540,7 @@ export class WorkspaceContext extends Message<WorkspaceContext> {
|
|
|
1027
540
|
/**
|
|
1028
541
|
* Explicit Git context
|
|
1029
542
|
*
|
|
1030
|
-
* @generated from message gitpod.
|
|
543
|
+
* @generated from message gitpod.v1.WorkspaceContext.Git
|
|
1031
544
|
*/
|
|
1032
545
|
export class WorkspaceContext_Git extends Message<WorkspaceContext_Git> {
|
|
1033
546
|
/**
|
|
@@ -1046,7 +559,7 @@ export class WorkspaceContext_Git extends Message<WorkspaceContext_Git> {
|
|
|
1046
559
|
}
|
|
1047
560
|
|
|
1048
561
|
static readonly runtime = proto3;
|
|
1049
|
-
static readonly typeName = "gitpod.
|
|
562
|
+
static readonly typeName = "gitpod.v1.WorkspaceContext.Git";
|
|
1050
563
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1051
564
|
{ no: 1, name: "normalized_context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1052
565
|
{ no: 2, name: "commit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1072,14 +585,14 @@ export class WorkspaceContext_Git extends Message<WorkspaceContext_Git> {
|
|
|
1072
585
|
/**
|
|
1073
586
|
* Workspace was created from a prebuild
|
|
1074
587
|
*
|
|
1075
|
-
* @generated from message gitpod.
|
|
588
|
+
* @generated from message gitpod.v1.WorkspaceContext.Prebuild
|
|
1076
589
|
*/
|
|
1077
590
|
export class WorkspaceContext_Prebuild extends Message<WorkspaceContext_Prebuild> {
|
|
1078
591
|
/**
|
|
1079
592
|
* original_context is the Git context which lead to the selection
|
|
1080
593
|
* of a prebuild.
|
|
1081
594
|
*
|
|
1082
|
-
* @generated from field: gitpod.
|
|
595
|
+
* @generated from field: gitpod.v1.WorkspaceContext.Git original_context = 1;
|
|
1083
596
|
*/
|
|
1084
597
|
originalContext?: WorkspaceContext_Git;
|
|
1085
598
|
|
|
@@ -1096,7 +609,7 @@ export class WorkspaceContext_Prebuild extends Message<WorkspaceContext_Prebuild
|
|
|
1096
609
|
}
|
|
1097
610
|
|
|
1098
611
|
static readonly runtime = proto3;
|
|
1099
|
-
static readonly typeName = "gitpod.
|
|
612
|
+
static readonly typeName = "gitpod.v1.WorkspaceContext.Prebuild";
|
|
1100
613
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1101
614
|
{ no: 1, name: "original_context", kind: "message", T: WorkspaceContext_Git },
|
|
1102
615
|
{ no: 2, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1122,7 +635,7 @@ export class WorkspaceContext_Prebuild extends Message<WorkspaceContext_Prebuild
|
|
|
1122
635
|
/**
|
|
1123
636
|
* Snapshot context points to the snapshot which the workspace was created from
|
|
1124
637
|
*
|
|
1125
|
-
* @generated from message gitpod.
|
|
638
|
+
* @generated from message gitpod.v1.WorkspaceContext.Snapshot
|
|
1126
639
|
*/
|
|
1127
640
|
export class WorkspaceContext_Snapshot extends Message<WorkspaceContext_Snapshot> {
|
|
1128
641
|
/**
|
|
@@ -1136,7 +649,7 @@ export class WorkspaceContext_Snapshot extends Message<WorkspaceContext_Snapshot
|
|
|
1136
649
|
}
|
|
1137
650
|
|
|
1138
651
|
static readonly runtime = proto3;
|
|
1139
|
-
static readonly typeName = "gitpod.
|
|
652
|
+
static readonly typeName = "gitpod.v1.WorkspaceContext.Snapshot";
|
|
1140
653
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1141
654
|
{ no: 1, name: "snapshot_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1142
655
|
]);
|
|
@@ -1161,7 +674,7 @@ export class WorkspaceContext_Snapshot extends Message<WorkspaceContext_Snapshot
|
|
|
1161
674
|
/**
|
|
1162
675
|
* WorkspaceInstance describes a single workspace instance
|
|
1163
676
|
*
|
|
1164
|
-
* @generated from message gitpod.
|
|
677
|
+
* @generated from message gitpod.v1.WorkspaceInstance
|
|
1165
678
|
*/
|
|
1166
679
|
export class WorkspaceInstance extends Message<WorkspaceInstance> {
|
|
1167
680
|
/**
|
|
@@ -1184,7 +697,7 @@ export class WorkspaceInstance extends Message<WorkspaceInstance> {
|
|
|
1184
697
|
createdAt?: Timestamp;
|
|
1185
698
|
|
|
1186
699
|
/**
|
|
1187
|
-
* @generated from field: gitpod.
|
|
700
|
+
* @generated from field: gitpod.v1.WorkspaceInstanceStatus status = 4;
|
|
1188
701
|
*/
|
|
1189
702
|
status?: WorkspaceInstanceStatus;
|
|
1190
703
|
|
|
@@ -1194,7 +707,7 @@ export class WorkspaceInstance extends Message<WorkspaceInstance> {
|
|
|
1194
707
|
}
|
|
1195
708
|
|
|
1196
709
|
static readonly runtime = proto3;
|
|
1197
|
-
static readonly typeName = "gitpod.
|
|
710
|
+
static readonly typeName = "gitpod.v1.WorkspaceInstance";
|
|
1198
711
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1199
712
|
{ no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1200
713
|
{ no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1222,7 +735,7 @@ export class WorkspaceInstance extends Message<WorkspaceInstance> {
|
|
|
1222
735
|
/**
|
|
1223
736
|
* WorkspaceStatus describes a workspace status
|
|
1224
737
|
*
|
|
1225
|
-
* @generated from message gitpod.
|
|
738
|
+
* @generated from message gitpod.v1.WorkspaceInstanceStatus
|
|
1226
739
|
*/
|
|
1227
740
|
export class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
|
1228
741
|
/**
|
|
@@ -1239,14 +752,14 @@ export class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
|
|
1239
752
|
/**
|
|
1240
753
|
* the phase of a workspace is a simple, high-level summary of where the workspace instance is in its lifecycle
|
|
1241
754
|
*
|
|
1242
|
-
* @generated from field: gitpod.
|
|
755
|
+
* @generated from field: gitpod.v1.WorkspaceInstanceStatus.Phase phase = 2;
|
|
1243
756
|
*/
|
|
1244
757
|
phase = WorkspaceInstanceStatus_Phase.UNSPECIFIED;
|
|
1245
758
|
|
|
1246
759
|
/**
|
|
1247
760
|
* conditions detail the current state of the workspace instance
|
|
1248
761
|
*
|
|
1249
|
-
* @generated from field: gitpod.
|
|
762
|
+
* @generated from field: gitpod.v1.WorkspaceInstanceStatus.Conditions conditions = 3;
|
|
1250
763
|
*/
|
|
1251
764
|
conditions?: WorkspaceInstanceStatus_Conditions;
|
|
1252
765
|
|
|
@@ -1267,7 +780,7 @@ export class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
|
|
1267
780
|
/**
|
|
1268
781
|
* Admission describes who can access a workspace instance and its ports.
|
|
1269
782
|
*
|
|
1270
|
-
* @generated from field: gitpod.
|
|
783
|
+
* @generated from field: gitpod.v1.AdmissionLevel admission = 6;
|
|
1271
784
|
*/
|
|
1272
785
|
admission = AdmissionLevel.UNSPECIFIED;
|
|
1273
786
|
|
|
@@ -1277,7 +790,7 @@ export class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
|
|
1277
790
|
}
|
|
1278
791
|
|
|
1279
792
|
static readonly runtime = proto3;
|
|
1280
|
-
static readonly typeName = "gitpod.
|
|
793
|
+
static readonly typeName = "gitpod.v1.WorkspaceInstanceStatus";
|
|
1281
794
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1282
795
|
{ no: 1, name: "status_version", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1283
796
|
{ no: 2, name: "phase", kind: "enum", T: proto3.getEnumType(WorkspaceInstanceStatus_Phase) },
|
|
@@ -1310,7 +823,7 @@ export class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
|
|
|
1310
823
|
* nor is it intended to be a comprehensive state machine.
|
|
1311
824
|
* (based on https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase)
|
|
1312
825
|
*
|
|
1313
|
-
* @generated from enum gitpod.
|
|
826
|
+
* @generated from enum gitpod.v1.WorkspaceInstanceStatus.Phase
|
|
1314
827
|
*/
|
|
1315
828
|
export enum WorkspaceInstanceStatus_Phase {
|
|
1316
829
|
/**
|
|
@@ -1393,7 +906,7 @@ export enum WorkspaceInstanceStatus_Phase {
|
|
|
1393
906
|
STOPPED = 9,
|
|
1394
907
|
}
|
|
1395
908
|
// Retrieve enum metadata with: proto3.getEnumType(WorkspaceInstanceStatus_Phase)
|
|
1396
|
-
proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.
|
|
909
|
+
proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.v1.WorkspaceInstanceStatus.Phase", [
|
|
1397
910
|
{ no: 0, name: "PHASE_UNSPECIFIED" },
|
|
1398
911
|
{ no: 1, name: "PHASE_PREPARING" },
|
|
1399
912
|
{ no: 2, name: "PHASE_IMAGEBUILD" },
|
|
@@ -1410,7 +923,7 @@ proto3.util.setEnumType(WorkspaceInstanceStatus_Phase, "gitpod.stable.v1.Workspa
|
|
|
1410
923
|
* Conditions gives more detailed information as to the state of the workspace. Which condition actually
|
|
1411
924
|
* has a value depends on the phase the workspace is in.
|
|
1412
925
|
*
|
|
1413
|
-
* @generated from message gitpod.
|
|
926
|
+
* @generated from message gitpod.v1.WorkspaceInstanceStatus.Conditions
|
|
1414
927
|
*/
|
|
1415
928
|
export class WorkspaceInstanceStatus_Conditions extends Message<WorkspaceInstanceStatus_Conditions> {
|
|
1416
929
|
/**
|
|
@@ -1448,7 +961,7 @@ export class WorkspaceInstanceStatus_Conditions extends Message<WorkspaceInstanc
|
|
|
1448
961
|
}
|
|
1449
962
|
|
|
1450
963
|
static readonly runtime = proto3;
|
|
1451
|
-
static readonly typeName = "gitpod.
|
|
964
|
+
static readonly typeName = "gitpod.v1.WorkspaceInstanceStatus.Conditions";
|
|
1452
965
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1453
966
|
{ no: 1, name: "failed", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1454
967
|
{ no: 2, name: "timeout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1472,38 +985,3 @@ export class WorkspaceInstanceStatus_Conditions extends Message<WorkspaceInstanc
|
|
|
1472
985
|
return proto3.util.equals(WorkspaceInstanceStatus_Conditions, a, b);
|
|
1473
986
|
}
|
|
1474
987
|
}
|
|
1475
|
-
|
|
1476
|
-
/**
|
|
1477
|
-
* StartWorkspaceSpec influences the workspace start
|
|
1478
|
-
*
|
|
1479
|
-
* future per-workspace-start fields, e.g. region
|
|
1480
|
-
*
|
|
1481
|
-
* @generated from message gitpod.stable.v1.StartWorkspaceSpec
|
|
1482
|
-
*/
|
|
1483
|
-
export class StartWorkspaceSpec extends Message<StartWorkspaceSpec> {
|
|
1484
|
-
constructor(data?: PartialMessage<StartWorkspaceSpec>) {
|
|
1485
|
-
super();
|
|
1486
|
-
proto3.util.initPartial(data, this);
|
|
1487
|
-
}
|
|
1488
|
-
|
|
1489
|
-
static readonly runtime = proto3;
|
|
1490
|
-
static readonly typeName = "gitpod.stable.v1.StartWorkspaceSpec";
|
|
1491
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1492
|
-
]);
|
|
1493
|
-
|
|
1494
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceSpec {
|
|
1495
|
-
return new StartWorkspaceSpec().fromBinary(bytes, options);
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceSpec {
|
|
1499
|
-
return new StartWorkspaceSpec().fromJson(jsonValue, options);
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceSpec {
|
|
1503
|
-
return new StartWorkspaceSpec().fromJsonString(jsonString, options);
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
static equals(a: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined, b: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined): boolean {
|
|
1507
|
-
return proto3.util.equals(StartWorkspaceSpec, a, b);
|
|
1508
|
-
}
|
|
1509
|
-
}
|