@gitpod/public-api 0.1.5-tar-sh-active-users.37 → 0.1.5-tar-sh-active-users-new.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/lib/gitpod/experimental/v1/index.d.ts +9 -0
  2. package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
  3. package/lib/gitpod/experimental/v1/index.js +21 -0
  4. package/lib/gitpod/experimental/v1/index.js.map +1 -0
  5. package/lib/gitpod/experimental/v1/pagination_pb.d.ts +33 -0
  6. package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
  7. package/lib/gitpod/experimental/v1/pagination_pb.js +50 -0
  8. package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
  9. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +82 -0
  10. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
  11. package/lib/gitpod/experimental/v1/teams_connectweb.js +89 -0
  12. package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
  13. package/lib/gitpod/experimental/v1/teams_pb.d.ts +347 -0
  14. package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
  15. package/lib/gitpod/experimental/v1/teams_pb.js +532 -0
  16. package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
  17. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +74 -0
  18. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
  19. package/lib/gitpod/experimental/v1/workspaces_connectweb.js +81 -0
  20. package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
  21. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +695 -0
  22. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
  23. package/lib/gitpod/experimental/v1/workspaces_pb.js +945 -0
  24. package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
  25. package/lib/{gitpod/v1/pagination_grpc_pb.js → index.d.ts} +2 -2
  26. package/lib/index.d.ts.map +1 -0
  27. package/lib/index.js +10 -0
  28. package/lib/index.js.map +1 -0
  29. package/package.json +9 -11
  30. package/pkg-yarn.lock +5 -5
  31. package/provenance-bundle.jsonl +2 -2
  32. package/lib/gitpod/v1/pagination_pb.d.ts +0 -36
  33. package/lib/gitpod/v1/pagination_pb.js +0 -206
  34. package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
  35. package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
  36. package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -283
  37. package/lib/gitpod/v1/prebuilds_pb.js +0 -1997
  38. package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
  39. package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
  40. package/lib/gitpod/v1/workspaces_pb.d.ts +0 -810
  41. package/lib/gitpod/v1/workspaces_pb.js +0 -5976
@@ -0,0 +1,695 @@
1
+ /**
2
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { FieldMask, Message, Timestamp } from "@bufbuild/protobuf";
8
+ import { Pagination } from "./pagination_pb.js";
9
+ /**
10
+ * Admission level describes who can access a workspace instance and its ports.
11
+ *
12
+ * @generated from enum gitpod.experimental.v1.AdmissionLevel
13
+ */
14
+ export declare enum AdmissionLevel {
15
+ /**
16
+ * @generated from enum value: ADMISSION_LEVEL_UNSPECIFIED = 0;
17
+ */
18
+ UNSPECIFIED = 0,
19
+ /**
20
+ * ADMISSION_LEVEL_OWNER_ONLY means the workspace can only be accessed using the owner token
21
+ *
22
+ * @generated from enum value: ADMISSION_LEVEL_OWNER_ONLY = 1;
23
+ */
24
+ OWNER_ONLY = 1,
25
+ /**
26
+ * ADMISSION_LEVEL_EVERYONE means the workspace (including ports) can be accessed by everyone.
27
+ *
28
+ * @generated from enum value: ADMISSION_LEVEL_EVERYONE = 2;
29
+ */
30
+ EVERYONE = 2
31
+ }
32
+ /**
33
+ * @generated from message gitpod.experimental.v1.ListWorkspacesRequest
34
+ */
35
+ export declare class ListWorkspacesRequest extends Message<ListWorkspacesRequest> {
36
+ /**
37
+ * @generated from field: gitpod.experimental.v1.Pagination pagination = 1;
38
+ */
39
+ pagination?: Pagination;
40
+ /**
41
+ * @generated from field: google.protobuf.FieldMask field_mask = 2;
42
+ */
43
+ fieldMask?: FieldMask;
44
+ constructor(data?: PartialMessage<ListWorkspacesRequest>);
45
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
46
+ static readonly typeName = "gitpod.experimental.v1.ListWorkspacesRequest";
47
+ static readonly fields: FieldList;
48
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWorkspacesRequest;
49
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListWorkspacesRequest;
50
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListWorkspacesRequest;
51
+ static equals(a: ListWorkspacesRequest | PlainMessage<ListWorkspacesRequest> | undefined, b: ListWorkspacesRequest | PlainMessage<ListWorkspacesRequest> | undefined): boolean;
52
+ }
53
+ /**
54
+ * @generated from message gitpod.experimental.v1.ListWorkspacesResponse
55
+ */
56
+ export declare class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
57
+ /**
58
+ * @generated from field: string next_page_token = 1;
59
+ */
60
+ nextPageToken: string;
61
+ /**
62
+ * @generated from field: repeated gitpod.experimental.v1.Workspace result = 2;
63
+ */
64
+ result: Workspace[];
65
+ constructor(data?: PartialMessage<ListWorkspacesResponse>);
66
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
67
+ static readonly typeName = "gitpod.experimental.v1.ListWorkspacesResponse";
68
+ static readonly fields: FieldList;
69
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWorkspacesResponse;
70
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListWorkspacesResponse;
71
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListWorkspacesResponse;
72
+ static equals(a: ListWorkspacesResponse | PlainMessage<ListWorkspacesResponse> | undefined, b: ListWorkspacesResponse | PlainMessage<ListWorkspacesResponse> | undefined): boolean;
73
+ }
74
+ /**
75
+ * @generated from message gitpod.experimental.v1.GetWorkspaceRequest
76
+ */
77
+ export declare class GetWorkspaceRequest extends Message<GetWorkspaceRequest> {
78
+ /**
79
+ * @generated from field: string workspace_id = 1;
80
+ */
81
+ workspaceId: string;
82
+ constructor(data?: PartialMessage<GetWorkspaceRequest>);
83
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
84
+ static readonly typeName = "gitpod.experimental.v1.GetWorkspaceRequest";
85
+ static readonly fields: FieldList;
86
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkspaceRequest;
87
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkspaceRequest;
88
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkspaceRequest;
89
+ static equals(a: GetWorkspaceRequest | PlainMessage<GetWorkspaceRequest> | undefined, b: GetWorkspaceRequest | PlainMessage<GetWorkspaceRequest> | undefined): boolean;
90
+ }
91
+ /**
92
+ * @generated from message gitpod.experimental.v1.GetWorkspaceResponse
93
+ */
94
+ export declare class GetWorkspaceResponse extends Message<GetWorkspaceResponse> {
95
+ /**
96
+ * @generated from field: gitpod.experimental.v1.Workspace result = 1;
97
+ */
98
+ result?: Workspace;
99
+ constructor(data?: PartialMessage<GetWorkspaceResponse>);
100
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
101
+ static readonly typeName = "gitpod.experimental.v1.GetWorkspaceResponse";
102
+ static readonly fields: FieldList;
103
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkspaceResponse;
104
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkspaceResponse;
105
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkspaceResponse;
106
+ static equals(a: GetWorkspaceResponse | PlainMessage<GetWorkspaceResponse> | undefined, b: GetWorkspaceResponse | PlainMessage<GetWorkspaceResponse> | undefined): boolean;
107
+ }
108
+ /**
109
+ * @generated from message gitpod.experimental.v1.GetOwnerTokenRequest
110
+ */
111
+ export declare class GetOwnerTokenRequest extends Message<GetOwnerTokenRequest> {
112
+ /**
113
+ * @generated from field: string workspace_id = 1;
114
+ */
115
+ workspaceId: string;
116
+ constructor(data?: PartialMessage<GetOwnerTokenRequest>);
117
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
118
+ static readonly typeName = "gitpod.experimental.v1.GetOwnerTokenRequest";
119
+ static readonly fields: FieldList;
120
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOwnerTokenRequest;
121
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOwnerTokenRequest;
122
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOwnerTokenRequest;
123
+ static equals(a: GetOwnerTokenRequest | PlainMessage<GetOwnerTokenRequest> | undefined, b: GetOwnerTokenRequest | PlainMessage<GetOwnerTokenRequest> | undefined): boolean;
124
+ }
125
+ /**
126
+ * @generated from message gitpod.experimental.v1.GetOwnerTokenResponse
127
+ */
128
+ export declare class GetOwnerTokenResponse extends Message<GetOwnerTokenResponse> {
129
+ /**
130
+ * @generated from field: string token = 1;
131
+ */
132
+ token: string;
133
+ constructor(data?: PartialMessage<GetOwnerTokenResponse>);
134
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
135
+ static readonly typeName = "gitpod.experimental.v1.GetOwnerTokenResponse";
136
+ static readonly fields: FieldList;
137
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOwnerTokenResponse;
138
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOwnerTokenResponse;
139
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOwnerTokenResponse;
140
+ static equals(a: GetOwnerTokenResponse | PlainMessage<GetOwnerTokenResponse> | undefined, b: GetOwnerTokenResponse | PlainMessage<GetOwnerTokenResponse> | undefined): boolean;
141
+ }
142
+ /**
143
+ * @generated from message gitpod.experimental.v1.CreateAndStartWorkspaceRequest
144
+ */
145
+ export declare class CreateAndStartWorkspaceRequest extends Message<CreateAndStartWorkspaceRequest> {
146
+ /**
147
+ * @generated from field: string idempotency_token = 1;
148
+ */
149
+ idempotencyToken: string;
150
+ /**
151
+ * @generated from oneof gitpod.experimental.v1.CreateAndStartWorkspaceRequest.source
152
+ */
153
+ source: {
154
+ /**
155
+ * @generated from field: string context_url = 2;
156
+ */
157
+ value: string;
158
+ case: "contextUrl";
159
+ } | {
160
+ /**
161
+ * @generated from field: string prebuild_id = 3;
162
+ */
163
+ value: string;
164
+ case: "prebuildId";
165
+ } | {
166
+ case: undefined;
167
+ value?: undefined;
168
+ };
169
+ /**
170
+ * @generated from field: gitpod.experimental.v1.StartWorkspaceSpec start_spec = 5;
171
+ */
172
+ startSpec?: StartWorkspaceSpec;
173
+ constructor(data?: PartialMessage<CreateAndStartWorkspaceRequest>);
174
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
175
+ static readonly typeName = "gitpod.experimental.v1.CreateAndStartWorkspaceRequest";
176
+ static readonly fields: FieldList;
177
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAndStartWorkspaceRequest;
178
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceRequest;
179
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceRequest;
180
+ static equals(a: CreateAndStartWorkspaceRequest | PlainMessage<CreateAndStartWorkspaceRequest> | undefined, b: CreateAndStartWorkspaceRequest | PlainMessage<CreateAndStartWorkspaceRequest> | undefined): boolean;
181
+ }
182
+ /**
183
+ * @generated from message gitpod.experimental.v1.CreateAndStartWorkspaceResponse
184
+ */
185
+ export declare class CreateAndStartWorkspaceResponse extends Message<CreateAndStartWorkspaceResponse> {
186
+ /**
187
+ * @generated from field: string workspace_id = 1;
188
+ */
189
+ workspaceId: string;
190
+ constructor(data?: PartialMessage<CreateAndStartWorkspaceResponse>);
191
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
192
+ static readonly typeName = "gitpod.experimental.v1.CreateAndStartWorkspaceResponse";
193
+ static readonly fields: FieldList;
194
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAndStartWorkspaceResponse;
195
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceResponse;
196
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceResponse;
197
+ static equals(a: CreateAndStartWorkspaceResponse | PlainMessage<CreateAndStartWorkspaceResponse> | undefined, b: CreateAndStartWorkspaceResponse | PlainMessage<CreateAndStartWorkspaceResponse> | undefined): boolean;
198
+ }
199
+ /**
200
+ * @generated from message gitpod.experimental.v1.StartWorkspaceRequest
201
+ */
202
+ export declare class StartWorkspaceRequest extends Message<StartWorkspaceRequest> {
203
+ /**
204
+ * @generated from field: string idempotency_token = 1;
205
+ */
206
+ idempotencyToken: string;
207
+ /**
208
+ * @generated from field: string workspace_id = 2;
209
+ */
210
+ workspaceId: string;
211
+ /**
212
+ * @generated from field: gitpod.experimental.v1.StartWorkspaceSpec spec = 3;
213
+ */
214
+ spec?: StartWorkspaceSpec;
215
+ constructor(data?: PartialMessage<StartWorkspaceRequest>);
216
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
217
+ static readonly typeName = "gitpod.experimental.v1.StartWorkspaceRequest";
218
+ static readonly fields: FieldList;
219
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceRequest;
220
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceRequest;
221
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceRequest;
222
+ static equals(a: StartWorkspaceRequest | PlainMessage<StartWorkspaceRequest> | undefined, b: StartWorkspaceRequest | PlainMessage<StartWorkspaceRequest> | undefined): boolean;
223
+ }
224
+ /**
225
+ * @generated from message gitpod.experimental.v1.StartWorkspaceResponse
226
+ */
227
+ export declare class StartWorkspaceResponse extends Message<StartWorkspaceResponse> {
228
+ /**
229
+ * @generated from field: string instance_id = 1;
230
+ */
231
+ instanceId: string;
232
+ /**
233
+ * @generated from field: string workspace_url = 2;
234
+ */
235
+ workspaceUrl: string;
236
+ constructor(data?: PartialMessage<StartWorkspaceResponse>);
237
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
238
+ static readonly typeName = "gitpod.experimental.v1.StartWorkspaceResponse";
239
+ static readonly fields: FieldList;
240
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceResponse;
241
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceResponse;
242
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceResponse;
243
+ static equals(a: StartWorkspaceResponse | PlainMessage<StartWorkspaceResponse> | undefined, b: StartWorkspaceResponse | PlainMessage<StartWorkspaceResponse> | undefined): boolean;
244
+ }
245
+ /**
246
+ * @generated from message gitpod.experimental.v1.StopWorkspaceRequest
247
+ */
248
+ export declare class StopWorkspaceRequest extends Message<StopWorkspaceRequest> {
249
+ /**
250
+ * @generated from field: string idempotency_token = 1;
251
+ */
252
+ idempotencyToken: string;
253
+ /**
254
+ * @generated from field: string workspace_id = 2;
255
+ */
256
+ workspaceId: string;
257
+ constructor(data?: PartialMessage<StopWorkspaceRequest>);
258
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
259
+ static readonly typeName = "gitpod.experimental.v1.StopWorkspaceRequest";
260
+ static readonly fields: FieldList;
261
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopWorkspaceRequest;
262
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopWorkspaceRequest;
263
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopWorkspaceRequest;
264
+ static equals(a: StopWorkspaceRequest | PlainMessage<StopWorkspaceRequest> | undefined, b: StopWorkspaceRequest | PlainMessage<StopWorkspaceRequest> | undefined): boolean;
265
+ }
266
+ /**
267
+ * @generated from message gitpod.experimental.v1.StopWorkspaceResponse
268
+ */
269
+ export declare class StopWorkspaceResponse extends Message<StopWorkspaceResponse> {
270
+ constructor(data?: PartialMessage<StopWorkspaceResponse>);
271
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
272
+ static readonly typeName = "gitpod.experimental.v1.StopWorkspaceResponse";
273
+ static readonly fields: FieldList;
274
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopWorkspaceResponse;
275
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopWorkspaceResponse;
276
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopWorkspaceResponse;
277
+ static equals(a: StopWorkspaceResponse | PlainMessage<StopWorkspaceResponse> | undefined, b: StopWorkspaceResponse | PlainMessage<StopWorkspaceResponse> | undefined): boolean;
278
+ }
279
+ /**
280
+ * Workspace describes a single workspace
281
+ *
282
+ * @generated from message gitpod.experimental.v1.Workspace
283
+ */
284
+ export declare class Workspace extends Message<Workspace> {
285
+ /**
286
+ * workspace_id is the ID of the workspace
287
+ *
288
+ * @generated from field: string workspace_id = 1;
289
+ */
290
+ workspaceId: string;
291
+ /**
292
+ * owner_id is the ID of the user who created this workspace
293
+ *
294
+ * @generated from field: string owner_id = 2;
295
+ */
296
+ ownerId: string;
297
+ /**
298
+ * project_id is the ID of the project which this workspace belongs to
299
+ *
300
+ * @generated from field: string project_id = 3;
301
+ */
302
+ projectId: string;
303
+ /**
304
+ * context reports the original context the workspace was created from
305
+ *
306
+ * @generated from field: gitpod.experimental.v1.WorkspaceContext context = 4;
307
+ */
308
+ context?: WorkspaceContext;
309
+ /**
310
+ * description is a human readable description of the workspace
311
+ *
312
+ * @generated from field: string description = 5;
313
+ */
314
+ description: string;
315
+ /**
316
+ * status is the current status of this Workspace.
317
+ *
318
+ * @generated from field: gitpod.experimental.v1.WorkspaceStatus status = 6;
319
+ */
320
+ status?: WorkspaceStatus;
321
+ constructor(data?: PartialMessage<Workspace>);
322
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
323
+ static readonly typeName = "gitpod.experimental.v1.Workspace";
324
+ static readonly fields: FieldList;
325
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Workspace;
326
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Workspace;
327
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Workspace;
328
+ static equals(a: Workspace | PlainMessage<Workspace> | undefined, b: Workspace | PlainMessage<Workspace> | undefined): boolean;
329
+ }
330
+ /**
331
+ * WorkspaceStatus represents the currently observed status of a Workspace, including data about child resources that belong to this Workspace.
332
+ *
333
+ * @generated from message gitpod.experimental.v1.WorkspaceStatus
334
+ */
335
+ export declare class WorkspaceStatus extends Message<WorkspaceStatus> {
336
+ /**
337
+ * instance is the currently assigned WorkspaceInstance to this workspace. Empty when there is no WorkspaceInstance assigned.
338
+ *
339
+ * @generated from field: gitpod.experimental.v1.WorkspaceInstance instance = 1;
340
+ */
341
+ instance?: WorkspaceInstance;
342
+ constructor(data?: PartialMessage<WorkspaceStatus>);
343
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
344
+ static readonly typeName = "gitpod.experimental.v1.WorkspaceStatus";
345
+ static readonly fields: FieldList;
346
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceStatus;
347
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceStatus;
348
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceStatus;
349
+ static equals(a: WorkspaceStatus | PlainMessage<WorkspaceStatus> | undefined, b: WorkspaceStatus | PlainMessage<WorkspaceStatus> | undefined): boolean;
350
+ }
351
+ /**
352
+ * WorkspaceContext describes the context a workspace was created from
353
+ *
354
+ * @generated from message gitpod.experimental.v1.WorkspaceContext
355
+ */
356
+ export declare class WorkspaceContext extends Message<WorkspaceContext> {
357
+ /**
358
+ * All workspace context originates from a URL - this is the context URL
359
+ * which led to the creation of a workspace.
360
+ *
361
+ * @generated from field: string context_url = 1;
362
+ */
363
+ contextUrl: string;
364
+ /**
365
+ * @generated from oneof gitpod.experimental.v1.WorkspaceContext.details
366
+ */
367
+ details: {
368
+ /**
369
+ * @generated from field: gitpod.experimental.v1.WorkspaceContext.Git git = 2;
370
+ */
371
+ value: WorkspaceContext_Git;
372
+ case: "git";
373
+ } | {
374
+ /**
375
+ * @generated from field: gitpod.experimental.v1.WorkspaceContext.Prebuild prebuild = 3;
376
+ */
377
+ value: WorkspaceContext_Prebuild;
378
+ case: "prebuild";
379
+ } | {
380
+ /**
381
+ * @generated from field: gitpod.experimental.v1.WorkspaceContext.Snapshot snapshot = 4;
382
+ */
383
+ value: WorkspaceContext_Snapshot;
384
+ case: "snapshot";
385
+ } | {
386
+ case: undefined;
387
+ value?: undefined;
388
+ };
389
+ constructor(data?: PartialMessage<WorkspaceContext>);
390
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
391
+ static readonly typeName = "gitpod.experimental.v1.WorkspaceContext";
392
+ static readonly fields: FieldList;
393
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceContext;
394
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceContext;
395
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceContext;
396
+ static equals(a: WorkspaceContext | PlainMessage<WorkspaceContext> | undefined, b: WorkspaceContext | PlainMessage<WorkspaceContext> | undefined): boolean;
397
+ }
398
+ /**
399
+ * Explicit Git context
400
+ *
401
+ * @generated from message gitpod.experimental.v1.WorkspaceContext.Git
402
+ */
403
+ export declare class WorkspaceContext_Git extends Message<WorkspaceContext_Git> {
404
+ /**
405
+ * @generated from field: string normalized_context_url = 1;
406
+ */
407
+ normalizedContextUrl: string;
408
+ /**
409
+ * @generated from field: string commit = 2;
410
+ */
411
+ commit: string;
412
+ constructor(data?: PartialMessage<WorkspaceContext_Git>);
413
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
414
+ static readonly typeName = "gitpod.experimental.v1.WorkspaceContext.Git";
415
+ static readonly fields: FieldList;
416
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceContext_Git;
417
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceContext_Git;
418
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceContext_Git;
419
+ static equals(a: WorkspaceContext_Git | PlainMessage<WorkspaceContext_Git> | undefined, b: WorkspaceContext_Git | PlainMessage<WorkspaceContext_Git> | undefined): boolean;
420
+ }
421
+ /**
422
+ * Workspace was created from a prebuild
423
+ *
424
+ * @generated from message gitpod.experimental.v1.WorkspaceContext.Prebuild
425
+ */
426
+ export declare class WorkspaceContext_Prebuild extends Message<WorkspaceContext_Prebuild> {
427
+ /**
428
+ * original_context is the Git context which lead to the selection
429
+ * of a prebuild.
430
+ *
431
+ * @generated from field: gitpod.experimental.v1.WorkspaceContext.Git original_context = 1;
432
+ */
433
+ originalContext?: WorkspaceContext_Git;
434
+ /**
435
+ * prebuild_id is the ID of the prebuild which was used to create this workspace
436
+ *
437
+ * @generated from field: string prebuild_id = 2;
438
+ */
439
+ prebuildId: string;
440
+ constructor(data?: PartialMessage<WorkspaceContext_Prebuild>);
441
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
442
+ static readonly typeName = "gitpod.experimental.v1.WorkspaceContext.Prebuild";
443
+ static readonly fields: FieldList;
444
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceContext_Prebuild;
445
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceContext_Prebuild;
446
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceContext_Prebuild;
447
+ static equals(a: WorkspaceContext_Prebuild | PlainMessage<WorkspaceContext_Prebuild> | undefined, b: WorkspaceContext_Prebuild | PlainMessage<WorkspaceContext_Prebuild> | undefined): boolean;
448
+ }
449
+ /**
450
+ * Snapshot context points to the snapshot which the workspace was created from
451
+ *
452
+ * @generated from message gitpod.experimental.v1.WorkspaceContext.Snapshot
453
+ */
454
+ export declare class WorkspaceContext_Snapshot extends Message<WorkspaceContext_Snapshot> {
455
+ /**
456
+ * @generated from field: string snapshot_id = 1;
457
+ */
458
+ snapshotId: string;
459
+ constructor(data?: PartialMessage<WorkspaceContext_Snapshot>);
460
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
461
+ static readonly typeName = "gitpod.experimental.v1.WorkspaceContext.Snapshot";
462
+ static readonly fields: FieldList;
463
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceContext_Snapshot;
464
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceContext_Snapshot;
465
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceContext_Snapshot;
466
+ static equals(a: WorkspaceContext_Snapshot | PlainMessage<WorkspaceContext_Snapshot> | undefined, b: WorkspaceContext_Snapshot | PlainMessage<WorkspaceContext_Snapshot> | undefined): boolean;
467
+ }
468
+ /**
469
+ * WorkspaceInstance describes a single workspace instance
470
+ *
471
+ * @generated from message gitpod.experimental.v1.WorkspaceInstance
472
+ */
473
+ export declare class WorkspaceInstance extends Message<WorkspaceInstance> {
474
+ /**
475
+ * Instance ID is the unique identifier of the workspace instance
476
+ *
477
+ * @generated from field: string instance_id = 1;
478
+ */
479
+ instanceId: string;
480
+ /**
481
+ * Worksapce ID is the unique identifier of the workspace this instance belongs to
482
+ *
483
+ * @generated from field: string workspace_id = 2;
484
+ */
485
+ workspaceId: string;
486
+ /**
487
+ * @generated from field: google.protobuf.Timestamp created_at = 3;
488
+ */
489
+ createdAt?: Timestamp;
490
+ /**
491
+ * @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus status = 4;
492
+ */
493
+ status?: WorkspaceInstanceStatus;
494
+ constructor(data?: PartialMessage<WorkspaceInstance>);
495
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
496
+ static readonly typeName = "gitpod.experimental.v1.WorkspaceInstance";
497
+ static readonly fields: FieldList;
498
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceInstance;
499
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceInstance;
500
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceInstance;
501
+ static equals(a: WorkspaceInstance | PlainMessage<WorkspaceInstance> | undefined, b: WorkspaceInstance | PlainMessage<WorkspaceInstance> | undefined): boolean;
502
+ }
503
+ /**
504
+ * WorkspaceStatus describes a workspace status
505
+ *
506
+ * @generated from message gitpod.experimental.v1.WorkspaceInstanceStatus
507
+ */
508
+ export declare class WorkspaceInstanceStatus extends Message<WorkspaceInstanceStatus> {
509
+ /**
510
+ * version of the status update. Workspace instances themselves are unversioned,
511
+ * but their statuus has different versions.
512
+ * The value of this field has no semantic meaning (e.g. don't interpret it as
513
+ * as a timestemp), but it can be used to impose a partial order.
514
+ * If a.status_version < b.status_version then a was the status before b.
515
+ *
516
+ * @generated from field: uint64 status_version = 1;
517
+ */
518
+ statusVersion: bigint;
519
+ /**
520
+ * the phase of a workspace is a simple, high-level summary of where the workspace instance is in its lifecycle
521
+ *
522
+ * @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus.Phase phase = 2;
523
+ */
524
+ phase: WorkspaceInstanceStatus_Phase;
525
+ /**
526
+ * conditions detail the current state of the workspace instance
527
+ *
528
+ * @generated from field: gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions conditions = 3;
529
+ */
530
+ conditions?: WorkspaceInstanceStatus_Conditions;
531
+ /**
532
+ * message is an optional human-readable message detailing the current phase
533
+ *
534
+ * @generated from field: string message = 4;
535
+ */
536
+ message: string;
537
+ /**
538
+ * URL contains the endpoint at which the workspace instance is available
539
+ *
540
+ * @generated from field: string url = 5;
541
+ */
542
+ url: string;
543
+ /**
544
+ * Admission describes who can access a workspace instance and its ports.
545
+ *
546
+ * @generated from field: gitpod.experimental.v1.AdmissionLevel admission = 6;
547
+ */
548
+ admission: AdmissionLevel;
549
+ constructor(data?: PartialMessage<WorkspaceInstanceStatus>);
550
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
551
+ static readonly typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus";
552
+ static readonly fields: FieldList;
553
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceInstanceStatus;
554
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceInstanceStatus;
555
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceInstanceStatus;
556
+ static equals(a: WorkspaceInstanceStatus | PlainMessage<WorkspaceInstanceStatus> | undefined, b: WorkspaceInstanceStatus | PlainMessage<WorkspaceInstanceStatus> | undefined): boolean;
557
+ }
558
+ /**
559
+ * Phase is a simple, high-level summary of where the workspace instance is in its lifecycle.
560
+ * The phase is not intended to be a comprehensive rollup of observations of the workspace state,
561
+ * nor is it intended to be a comprehensive state machine.
562
+ * (based on https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase)
563
+ *
564
+ * @generated from enum gitpod.experimental.v1.WorkspaceInstanceStatus.Phase
565
+ */
566
+ export declare enum WorkspaceInstanceStatus_Phase {
567
+ /**
568
+ * Unknown indicates an issue within the workspace manager in that it cannot determine the actual phase of
569
+ * a workspace. This phase is usually accompanied by an error.
570
+ *
571
+ * @generated from enum value: PHASE_UNSPECIFIED = 0;
572
+ */
573
+ UNSPECIFIED = 0,
574
+ /**
575
+ * Preparing means that we haven't actually started the workspace instance just yet, but rather
576
+ * are still preparing for launch.
577
+ *
578
+ * @generated from enum value: PHASE_PREPARING = 1;
579
+ */
580
+ PREPARING = 1,
581
+ /**
582
+ * ImageBuild indicates that there's an image build running for this workspace.
583
+ *
584
+ * @generated from enum value: PHASE_IMAGEBUILD = 2;
585
+ */
586
+ IMAGEBUILD = 2,
587
+ /**
588
+ * Pending means the workspace does not yet consume resources in the cluster, but rather is looking for
589
+ * some space within the cluster. If for example the cluster needs to scale up to accomodate the
590
+ * workspace, the workspace will be in Pending state until that happened.
591
+ *
592
+ * @generated from enum value: PHASE_PENDING = 3;
593
+ */
594
+ PENDING = 3,
595
+ /**
596
+ * Creating means the workspace is currently being created. That includes downloading the images required
597
+ * to run the workspace over the network. The time spent in this phase varies widely and depends on the current
598
+ * network speed, image size and cache states.
599
+ *
600
+ * @generated from enum value: PHASE_CREATING = 4;
601
+ */
602
+ CREATING = 4,
603
+ /**
604
+ * Initializing is the phase in which the workspace is executing the appropriate workspace initializer (e.g. Git
605
+ * clone or backup download). After this phase one can expect the workspace to either be Running or Failed.
606
+ *
607
+ * @generated from enum value: PHASE_INITIALIZING = 5;
608
+ */
609
+ INITIALIZING = 5,
610
+ /**
611
+ * Running means the workspace is able to actively perform work, either by serving a user through Theia,
612
+ * or as a headless workspace.
613
+ *
614
+ * @generated from enum value: PHASE_RUNNING = 6;
615
+ */
616
+ RUNNING = 6,
617
+ /**
618
+ * Interrupted is an exceptional state where the container should be running but is temporarily unavailable.
619
+ * When in this state, we expect it to become running or stopping anytime soon.
620
+ *
621
+ * @generated from enum value: PHASE_INTERRUPTED = 7;
622
+ */
623
+ INTERRUPTED = 7,
624
+ /**
625
+ * Stopping means that the workspace is currently shutting down. It could go to stopped every moment.
626
+ *
627
+ * @generated from enum value: PHASE_STOPPING = 8;
628
+ */
629
+ STOPPING = 8,
630
+ /**
631
+ * Stopped means the workspace ended regularly because it was shut down.
632
+ *
633
+ * @generated from enum value: PHASE_STOPPED = 9;
634
+ */
635
+ STOPPED = 9
636
+ }
637
+ /**
638
+ * Conditions gives more detailed information as to the state of the workspace. Which condition actually
639
+ * has a value depends on the phase the workspace is in.
640
+ *
641
+ * @generated from message gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions
642
+ */
643
+ export declare class WorkspaceInstanceStatus_Conditions extends Message<WorkspaceInstanceStatus_Conditions> {
644
+ /**
645
+ * failed contains the reason the workspace failed to operate. If this field is empty, the workspace has not failed.
646
+ * This field is filled exclusively when caused by system errors.
647
+ *
648
+ * @generated from field: string failed = 1;
649
+ */
650
+ failed: string;
651
+ /**
652
+ * timeout contains the reason the workspace has timed out. If this field is empty, the workspace has not timed out.
653
+ *
654
+ * @generated from field: string timeout = 2;
655
+ */
656
+ timeout: string;
657
+ /**
658
+ * first_user_activity is the time when MarkActive was first called on the workspace
659
+ *
660
+ * @generated from field: google.protobuf.Timestamp first_user_activity = 9;
661
+ */
662
+ firstUserActivity?: Timestamp;
663
+ /**
664
+ * stopped_by_request is true if the workspace was stopped using a StopWorkspace call
665
+ *
666
+ * @generated from field: optional bool stopped_by_request = 11;
667
+ */
668
+ stoppedByRequest?: boolean;
669
+ constructor(data?: PartialMessage<WorkspaceInstanceStatus_Conditions>);
670
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
671
+ static readonly typeName = "gitpod.experimental.v1.WorkspaceInstanceStatus.Conditions";
672
+ static readonly fields: FieldList;
673
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceInstanceStatus_Conditions;
674
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceInstanceStatus_Conditions;
675
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceInstanceStatus_Conditions;
676
+ static equals(a: WorkspaceInstanceStatus_Conditions | PlainMessage<WorkspaceInstanceStatus_Conditions> | undefined, b: WorkspaceInstanceStatus_Conditions | PlainMessage<WorkspaceInstanceStatus_Conditions> | undefined): boolean;
677
+ }
678
+ /**
679
+ * StartWorkspaceSpec influences the workspace start
680
+ *
681
+ * future per-workspace-start fields, e.g. region
682
+ *
683
+ * @generated from message gitpod.experimental.v1.StartWorkspaceSpec
684
+ */
685
+ export declare class StartWorkspaceSpec extends Message<StartWorkspaceSpec> {
686
+ constructor(data?: PartialMessage<StartWorkspaceSpec>);
687
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
688
+ static readonly typeName = "gitpod.experimental.v1.StartWorkspaceSpec";
689
+ static readonly fields: FieldList;
690
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceSpec;
691
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceSpec;
692
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceSpec;
693
+ static equals(a: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined, b: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined): boolean;
694
+ }
695
+ //# sourceMappingURL=workspaces_pb.d.ts.map