@gitpod/public-api 0.1.5-mp-public-api-codegen-buf.3 → 0.1.5-mp-dashboard-public-api-connect.35

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