@gitpod/public-api 0.1.5-sje-no-log-envvars.0 → 0.1.5-sje-licensor-deprecation.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts +38 -0
  2. package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts.map +1 -0
  3. package/lib/gitpod/experimental/v1/ide_client_connectweb.js +45 -0
  4. package/lib/gitpod/experimental/v1/ide_client_connectweb.js.map +1 -0
  5. package/lib/gitpod/experimental/v1/ide_client_pb.d.ts +68 -0
  6. package/lib/gitpod/experimental/v1/ide_client_pb.d.ts.map +1 -0
  7. package/lib/gitpod/experimental/v1/ide_client_pb.js +122 -0
  8. package/lib/gitpod/experimental/v1/ide_client_pb.js.map +1 -0
  9. package/lib/gitpod/experimental/v1/index.d.ts +9 -0
  10. package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
  11. package/lib/gitpod/experimental/v1/index.js +21 -0
  12. package/lib/gitpod/experimental/v1/index.js.map +1 -0
  13. package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts +71 -0
  14. package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts.map +1 -0
  15. package/lib/gitpod/experimental/v1/oidc_connectweb.js +78 -0
  16. package/lib/gitpod/experimental/v1/oidc_connectweb.js.map +1 -0
  17. package/lib/gitpod/experimental/v1/oidc_pb.d.ts +467 -0
  18. package/lib/gitpod/experimental/v1/oidc_pb.d.ts.map +1 -0
  19. package/lib/gitpod/experimental/v1/oidc_pb.js +658 -0
  20. package/lib/gitpod/experimental/v1/oidc_pb.js.map +1 -0
  21. package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.d.ts +11 -8
  22. package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
  23. package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.js +12 -9
  24. package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
  25. package/lib/gitpod/experimental/v1/projects_connectweb.d.ts +60 -0
  26. package/lib/gitpod/experimental/v1/projects_connectweb.d.ts.map +1 -0
  27. package/lib/gitpod/experimental/v1/projects_connectweb.js +67 -0
  28. package/lib/gitpod/experimental/v1/projects_connectweb.js.map +1 -0
  29. package/lib/gitpod/experimental/v1/projects_pb.d.ts +319 -0
  30. package/lib/gitpod/experimental/v1/projects_pb.d.ts.map +1 -0
  31. package/lib/gitpod/experimental/v1/projects_pb.js +474 -0
  32. package/lib/gitpod/experimental/v1/projects_pb.js.map +1 -0
  33. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +104 -0
  34. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
  35. package/lib/gitpod/experimental/v1/teams_connectweb.js +111 -0
  36. package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
  37. package/lib/gitpod/experimental/v1/teams_pb.d.ts +433 -0
  38. package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
  39. package/lib/gitpod/experimental/v1/teams_pb.js +671 -0
  40. package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
  41. package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts +82 -0
  42. package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts.map +1 -0
  43. package/lib/gitpod/experimental/v1/tokens_connectweb.js +89 -0
  44. package/lib/gitpod/experimental/v1/tokens_connectweb.js.map +1 -0
  45. package/lib/gitpod/experimental/v1/tokens_pb.d.ts +285 -0
  46. package/lib/gitpod/experimental/v1/tokens_pb.d.ts.map +1 -0
  47. package/lib/gitpod/experimental/v1/tokens_pb.js +422 -0
  48. package/lib/gitpod/experimental/v1/tokens_pb.js.map +1 -0
  49. package/lib/gitpod/experimental/v1/user_connectweb.d.ts +80 -0
  50. package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -0
  51. package/lib/gitpod/experimental/v1/user_connectweb.js +87 -0
  52. package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -0
  53. package/lib/gitpod/experimental/v1/user_pb.d.ts +343 -0
  54. package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -0
  55. package/lib/gitpod/experimental/v1/user_pb.js +534 -0
  56. package/lib/gitpod/experimental/v1/user_pb.js.map +1 -0
  57. package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts +43 -0
  58. package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts.map +1 -0
  59. package/lib/gitpod/experimental/v1/workspace_connectweb.js +50 -0
  60. package/lib/gitpod/experimental/v1/workspace_connectweb.js.map +1 -0
  61. package/lib/gitpod/experimental/v1/workspace_pb.d.ts +153 -0
  62. package/lib/gitpod/experimental/v1/workspace_pb.d.ts.map +1 -0
  63. package/lib/gitpod/experimental/v1/workspace_pb.js +254 -0
  64. package/lib/gitpod/experimental/v1/workspace_pb.js.map +1 -0
  65. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +107 -0
  66. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
  67. package/lib/gitpod/experimental/v1/workspaces_connectweb.js +114 -0
  68. package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
  69. package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.d.ts +272 -223
  70. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
  71. package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.js +362 -310
  72. package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
  73. package/lib/index.d.ts +7 -0
  74. package/lib/index.d.ts.map +1 -0
  75. package/lib/index.js +10 -0
  76. package/lib/index.js.map +1 -0
  77. package/package.json +4 -3
  78. package/pkg-yarn.lock +1 -1
  79. package/provenance-bundle.jsonl +2 -2
  80. package/lib/gitpod/v1/pagination_pb.d.ts.map +0 -1
  81. package/lib/gitpod/v1/pagination_pb.js.map +0 -1
  82. package/lib/gitpod/v1/pagination_pb.ts +0 -60
  83. package/lib/gitpod/v1/prebuilds_connectweb.d.ts +0 -65
  84. package/lib/gitpod/v1/prebuilds_connectweb.d.ts.map +0 -1
  85. package/lib/gitpod/v1/prebuilds_connectweb.js +0 -72
  86. package/lib/gitpod/v1/prebuilds_connectweb.js.map +0 -1
  87. package/lib/gitpod/v1/prebuilds_connectweb.ts +0 -71
  88. package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -281
  89. package/lib/gitpod/v1/prebuilds_pb.d.ts.map +0 -1
  90. package/lib/gitpod/v1/prebuilds_pb.js +0 -435
  91. package/lib/gitpod/v1/prebuilds_pb.js.map +0 -1
  92. package/lib/gitpod/v1/prebuilds_pb.ts +0 -540
  93. package/lib/gitpod/v1/workspaces_connectweb.d.ts +0 -134
  94. package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +0 -1
  95. package/lib/gitpod/v1/workspaces_connectweb.js +0 -141
  96. package/lib/gitpod/v1/workspaces_connectweb.js.map +0 -1
  97. package/lib/gitpod/v1/workspaces_connectweb.ts +0 -140
  98. package/lib/gitpod/v1/workspaces_pb.d.ts.map +0 -1
  99. package/lib/gitpod/v1/workspaces_pb.js.map +0 -1
  100. package/lib/gitpod/v1/workspaces_pb.ts +0 -1509
@@ -1,540 +0,0 @@
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
-
7
- // @generated by protoc-gen-es v0.1.1 with parameter "target=ts"
8
- // @generated from file gitpod/v1/prebuilds.proto (package gitpod.v1, syntax proto3)
9
- /* eslint-disable */
10
- /* @ts-nocheck */
11
-
12
- import type {BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage} from "@bufbuild/protobuf";
13
- import {Message, proto3} from "@bufbuild/protobuf";
14
- import {WorkspaceContext} from "./workspaces_pb.js";
15
-
16
- /**
17
- * @generated from message gitpod.v1.GetPrebuildRequest
18
- */
19
- export class GetPrebuildRequest extends Message<GetPrebuildRequest> {
20
- /**
21
- * @generated from field: string prebuild_id = 1;
22
- */
23
- prebuildId = "";
24
-
25
- constructor(data?: PartialMessage<GetPrebuildRequest>) {
26
- super();
27
- proto3.util.initPartial(data, this);
28
- }
29
-
30
- static readonly runtime = proto3;
31
- static readonly typeName = "gitpod.v1.GetPrebuildRequest";
32
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
33
- { no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
34
- ]);
35
-
36
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPrebuildRequest {
37
- return new GetPrebuildRequest().fromBinary(bytes, options);
38
- }
39
-
40
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPrebuildRequest {
41
- return new GetPrebuildRequest().fromJson(jsonValue, options);
42
- }
43
-
44
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPrebuildRequest {
45
- return new GetPrebuildRequest().fromJsonString(jsonString, options);
46
- }
47
-
48
- static equals(a: GetPrebuildRequest | PlainMessage<GetPrebuildRequest> | undefined, b: GetPrebuildRequest | PlainMessage<GetPrebuildRequest> | undefined): boolean {
49
- return proto3.util.equals(GetPrebuildRequest, a, b);
50
- }
51
- }
52
-
53
- /**
54
- * @generated from message gitpod.v1.GetPrebuildResponse
55
- */
56
- export class GetPrebuildResponse extends Message<GetPrebuildResponse> {
57
- /**
58
- * @generated from field: gitpod.v1.Prebuild prebuild = 1;
59
- */
60
- prebuild?: Prebuild;
61
-
62
- constructor(data?: PartialMessage<GetPrebuildResponse>) {
63
- super();
64
- proto3.util.initPartial(data, this);
65
- }
66
-
67
- static readonly runtime = proto3;
68
- static readonly typeName = "gitpod.v1.GetPrebuildResponse";
69
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
70
- { no: 1, name: "prebuild", kind: "message", T: Prebuild },
71
- ]);
72
-
73
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPrebuildResponse {
74
- return new GetPrebuildResponse().fromBinary(bytes, options);
75
- }
76
-
77
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPrebuildResponse {
78
- return new GetPrebuildResponse().fromJson(jsonValue, options);
79
- }
80
-
81
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPrebuildResponse {
82
- return new GetPrebuildResponse().fromJsonString(jsonString, options);
83
- }
84
-
85
- static equals(a: GetPrebuildResponse | PlainMessage<GetPrebuildResponse> | undefined, b: GetPrebuildResponse | PlainMessage<GetPrebuildResponse> | undefined): boolean {
86
- return proto3.util.equals(GetPrebuildResponse, a, b);
87
- }
88
- }
89
-
90
- /**
91
- * @generated from message gitpod.v1.GetRunningPrebuildRequest
92
- */
93
- export class GetRunningPrebuildRequest extends Message<GetRunningPrebuildRequest> {
94
- /**
95
- * @generated from field: string context_url = 1;
96
- */
97
- contextUrl = "";
98
-
99
- constructor(data?: PartialMessage<GetRunningPrebuildRequest>) {
100
- super();
101
- proto3.util.initPartial(data, this);
102
- }
103
-
104
- static readonly runtime = proto3;
105
- static readonly typeName = "gitpod.v1.GetRunningPrebuildRequest";
106
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
107
- { no: 1, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
108
- ]);
109
-
110
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningPrebuildRequest {
111
- return new GetRunningPrebuildRequest().fromBinary(bytes, options);
112
- }
113
-
114
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningPrebuildRequest {
115
- return new GetRunningPrebuildRequest().fromJson(jsonValue, options);
116
- }
117
-
118
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningPrebuildRequest {
119
- return new GetRunningPrebuildRequest().fromJsonString(jsonString, options);
120
- }
121
-
122
- static equals(a: GetRunningPrebuildRequest | PlainMessage<GetRunningPrebuildRequest> | undefined, b: GetRunningPrebuildRequest | PlainMessage<GetRunningPrebuildRequest> | undefined): boolean {
123
- return proto3.util.equals(GetRunningPrebuildRequest, a, b);
124
- }
125
- }
126
-
127
- /**
128
- * @generated from message gitpod.v1.GetRunningPrebuildResponse
129
- */
130
- export class GetRunningPrebuildResponse extends Message<GetRunningPrebuildResponse> {
131
- /**
132
- * @generated from field: gitpod.v1.Prebuild prebuild = 1;
133
- */
134
- prebuild?: Prebuild;
135
-
136
- constructor(data?: PartialMessage<GetRunningPrebuildResponse>) {
137
- super();
138
- proto3.util.initPartial(data, this);
139
- }
140
-
141
- static readonly runtime = proto3;
142
- static readonly typeName = "gitpod.v1.GetRunningPrebuildResponse";
143
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
144
- { no: 1, name: "prebuild", kind: "message", T: Prebuild },
145
- ]);
146
-
147
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningPrebuildResponse {
148
- return new GetRunningPrebuildResponse().fromBinary(bytes, options);
149
- }
150
-
151
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningPrebuildResponse {
152
- return new GetRunningPrebuildResponse().fromJson(jsonValue, options);
153
- }
154
-
155
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningPrebuildResponse {
156
- return new GetRunningPrebuildResponse().fromJsonString(jsonString, options);
157
- }
158
-
159
- static equals(a: GetRunningPrebuildResponse | PlainMessage<GetRunningPrebuildResponse> | undefined, b: GetRunningPrebuildResponse | PlainMessage<GetRunningPrebuildResponse> | undefined): boolean {
160
- return proto3.util.equals(GetRunningPrebuildResponse, a, b);
161
- }
162
- }
163
-
164
- /**
165
- * @generated from message gitpod.v1.ListenToPrebuildStatusRequest
166
- */
167
- export class ListenToPrebuildStatusRequest extends Message<ListenToPrebuildStatusRequest> {
168
- /**
169
- * @generated from field: string prebuild_id = 1;
170
- */
171
- prebuildId = "";
172
-
173
- constructor(data?: PartialMessage<ListenToPrebuildStatusRequest>) {
174
- super();
175
- proto3.util.initPartial(data, this);
176
- }
177
-
178
- static readonly runtime = proto3;
179
- static readonly typeName = "gitpod.v1.ListenToPrebuildStatusRequest";
180
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
181
- { no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
182
- ]);
183
-
184
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildStatusRequest {
185
- return new ListenToPrebuildStatusRequest().fromBinary(bytes, options);
186
- }
187
-
188
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusRequest {
189
- return new ListenToPrebuildStatusRequest().fromJson(jsonValue, options);
190
- }
191
-
192
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusRequest {
193
- return new ListenToPrebuildStatusRequest().fromJsonString(jsonString, options);
194
- }
195
-
196
- static equals(a: ListenToPrebuildStatusRequest | PlainMessage<ListenToPrebuildStatusRequest> | undefined, b: ListenToPrebuildStatusRequest | PlainMessage<ListenToPrebuildStatusRequest> | undefined): boolean {
197
- return proto3.util.equals(ListenToPrebuildStatusRequest, a, b);
198
- }
199
- }
200
-
201
- /**
202
- * @generated from message gitpod.v1.ListenToPrebuildStatusResponse
203
- */
204
- export class ListenToPrebuildStatusResponse extends Message<ListenToPrebuildStatusResponse> {
205
- /**
206
- * @generated from field: gitpod.v1.PrebuildStatus status = 1;
207
- */
208
- status?: PrebuildStatus;
209
-
210
- constructor(data?: PartialMessage<ListenToPrebuildStatusResponse>) {
211
- super();
212
- proto3.util.initPartial(data, this);
213
- }
214
-
215
- static readonly runtime = proto3;
216
- static readonly typeName = "gitpod.v1.ListenToPrebuildStatusResponse";
217
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
218
- { no: 1, name: "status", kind: "message", T: PrebuildStatus },
219
- ]);
220
-
221
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildStatusResponse {
222
- return new ListenToPrebuildStatusResponse().fromBinary(bytes, options);
223
- }
224
-
225
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusResponse {
226
- return new ListenToPrebuildStatusResponse().fromJson(jsonValue, options);
227
- }
228
-
229
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildStatusResponse {
230
- return new ListenToPrebuildStatusResponse().fromJsonString(jsonString, options);
231
- }
232
-
233
- static equals(a: ListenToPrebuildStatusResponse | PlainMessage<ListenToPrebuildStatusResponse> | undefined, b: ListenToPrebuildStatusResponse | PlainMessage<ListenToPrebuildStatusResponse> | undefined): boolean {
234
- return proto3.util.equals(ListenToPrebuildStatusResponse, a, b);
235
- }
236
- }
237
-
238
- /**
239
- * @generated from message gitpod.v1.ListenToPrebuildLogsRequest
240
- */
241
- export class ListenToPrebuildLogsRequest extends Message<ListenToPrebuildLogsRequest> {
242
- /**
243
- * @generated from field: string prebuild_id = 1;
244
- */
245
- prebuildId = "";
246
-
247
- constructor(data?: PartialMessage<ListenToPrebuildLogsRequest>) {
248
- super();
249
- proto3.util.initPartial(data, this);
250
- }
251
-
252
- static readonly runtime = proto3;
253
- static readonly typeName = "gitpod.v1.ListenToPrebuildLogsRequest";
254
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
255
- { no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
256
- ]);
257
-
258
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildLogsRequest {
259
- return new ListenToPrebuildLogsRequest().fromBinary(bytes, options);
260
- }
261
-
262
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsRequest {
263
- return new ListenToPrebuildLogsRequest().fromJson(jsonValue, options);
264
- }
265
-
266
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsRequest {
267
- return new ListenToPrebuildLogsRequest().fromJsonString(jsonString, options);
268
- }
269
-
270
- static equals(a: ListenToPrebuildLogsRequest | PlainMessage<ListenToPrebuildLogsRequest> | undefined, b: ListenToPrebuildLogsRequest | PlainMessage<ListenToPrebuildLogsRequest> | undefined): boolean {
271
- return proto3.util.equals(ListenToPrebuildLogsRequest, a, b);
272
- }
273
- }
274
-
275
- /**
276
- * @generated from message gitpod.v1.ListenToPrebuildLogsResponse
277
- */
278
- export class ListenToPrebuildLogsResponse extends Message<ListenToPrebuildLogsResponse> {
279
- /**
280
- * @generated from field: string line = 1;
281
- */
282
- line = "";
283
-
284
- constructor(data?: PartialMessage<ListenToPrebuildLogsResponse>) {
285
- super();
286
- proto3.util.initPartial(data, this);
287
- }
288
-
289
- static readonly runtime = proto3;
290
- static readonly typeName = "gitpod.v1.ListenToPrebuildLogsResponse";
291
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
292
- { no: 1, name: "line", kind: "scalar", T: 9 /* ScalarType.STRING */ },
293
- ]);
294
-
295
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListenToPrebuildLogsResponse {
296
- return new ListenToPrebuildLogsResponse().fromBinary(bytes, options);
297
- }
298
-
299
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsResponse {
300
- return new ListenToPrebuildLogsResponse().fromJson(jsonValue, options);
301
- }
302
-
303
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListenToPrebuildLogsResponse {
304
- return new ListenToPrebuildLogsResponse().fromJsonString(jsonString, options);
305
- }
306
-
307
- static equals(a: ListenToPrebuildLogsResponse | PlainMessage<ListenToPrebuildLogsResponse> | undefined, b: ListenToPrebuildLogsResponse | PlainMessage<ListenToPrebuildLogsResponse> | undefined): boolean {
308
- return proto3.util.equals(ListenToPrebuildLogsResponse, a, b);
309
- }
310
- }
311
-
312
- /**
313
- * Prebuild describes a prebuild
314
- *
315
- * @generated from message gitpod.v1.Prebuild
316
- */
317
- export class Prebuild extends Message<Prebuild> {
318
- /**
319
- * @generated from field: string prebuild_id = 1;
320
- */
321
- prebuildId = "";
322
-
323
- /**
324
- * @generated from field: gitpod.v1.PrebuildSpec spec = 2;
325
- */
326
- spec?: PrebuildSpec;
327
-
328
- /**
329
- * @generated from field: gitpod.v1.PrebuildStatus status = 3;
330
- */
331
- status?: PrebuildStatus;
332
-
333
- constructor(data?: PartialMessage<Prebuild>) {
334
- super();
335
- proto3.util.initPartial(data, this);
336
- }
337
-
338
- static readonly runtime = proto3;
339
- static readonly typeName = "gitpod.v1.Prebuild";
340
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
341
- { no: 1, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
342
- { no: 2, name: "spec", kind: "message", T: PrebuildSpec },
343
- { no: 3, name: "status", kind: "message", T: PrebuildStatus },
344
- ]);
345
-
346
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Prebuild {
347
- return new Prebuild().fromBinary(bytes, options);
348
- }
349
-
350
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Prebuild {
351
- return new Prebuild().fromJson(jsonValue, options);
352
- }
353
-
354
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Prebuild {
355
- return new Prebuild().fromJsonString(jsonString, options);
356
- }
357
-
358
- static equals(a: Prebuild | PlainMessage<Prebuild> | undefined, b: Prebuild | PlainMessage<Prebuild> | undefined): boolean {
359
- return proto3.util.equals(Prebuild, a, b);
360
- }
361
- }
362
-
363
- /**
364
- * PrebuildSpec specifies the prebuild input.
365
- *
366
- * @generated from message gitpod.v1.PrebuildSpec
367
- */
368
- export class PrebuildSpec extends Message<PrebuildSpec> {
369
- /**
370
- * @generated from field: gitpod.v1.WorkspaceContext context = 1;
371
- */
372
- context?: WorkspaceContext;
373
-
374
- /**
375
- * Incremental prebuilds are based on other prebuilds. If this field is true,
376
- * expect the context detail to point to another prebuild.
377
- *
378
- * @generated from field: bool incremental = 2;
379
- */
380
- incremental = false;
381
-
382
- constructor(data?: PartialMessage<PrebuildSpec>) {
383
- super();
384
- proto3.util.initPartial(data, this);
385
- }
386
-
387
- static readonly runtime = proto3;
388
- static readonly typeName = "gitpod.v1.PrebuildSpec";
389
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
390
- { no: 1, name: "context", kind: "message", T: WorkspaceContext },
391
- { no: 2, name: "incremental", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
392
- ]);
393
-
394
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PrebuildSpec {
395
- return new PrebuildSpec().fromBinary(bytes, options);
396
- }
397
-
398
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PrebuildSpec {
399
- return new PrebuildSpec().fromJson(jsonValue, options);
400
- }
401
-
402
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PrebuildSpec {
403
- return new PrebuildSpec().fromJsonString(jsonString, options);
404
- }
405
-
406
- static equals(a: PrebuildSpec | PlainMessage<PrebuildSpec> | undefined, b: PrebuildSpec | PlainMessage<PrebuildSpec> | undefined): boolean {
407
- return proto3.util.equals(PrebuildSpec, a, b);
408
- }
409
- }
410
-
411
- /**
412
- * PrebuildStatus describes the prebuild status.
413
- *
414
- * @generated from message gitpod.v1.PrebuildStatus
415
- */
416
- export class PrebuildStatus extends Message<PrebuildStatus> {
417
- /**
418
- * Phase is the prebuild phase we're in
419
- *
420
- * @generated from field: gitpod.v1.PrebuildStatus.Phase phase = 1;
421
- */
422
- phase = PrebuildStatus_Phase.UNSPECIFIED;
423
-
424
- /**
425
- * Result indicates what result the prebuild produced, i.e. if it ran
426
- * successfully or failed for some reason. If phase != done, this field
427
- * will have RESULT_UNSPECIFIED as value.
428
- *
429
- * @generated from field: gitpod.v1.PrebuildStatus.Result result = 2;
430
- */
431
- result = PrebuildStatus_Result.UNSPECIFIED;
432
-
433
- /**
434
- * result_message contains a human readable message describing the prebuild
435
- * result. E.g. if teh result is SYSTEM_FAILURE, the message describes what
436
- * that failure was.
437
- *
438
- * @generated from field: string result_message = 3;
439
- */
440
- resultMessage = "";
441
-
442
- constructor(data?: PartialMessage<PrebuildStatus>) {
443
- super();
444
- proto3.util.initPartial(data, this);
445
- }
446
-
447
- static readonly runtime = proto3;
448
- static readonly typeName = "gitpod.v1.PrebuildStatus";
449
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
450
- { no: 1, name: "phase", kind: "enum", T: proto3.getEnumType(PrebuildStatus_Phase) },
451
- { no: 2, name: "result", kind: "enum", T: proto3.getEnumType(PrebuildStatus_Result) },
452
- { no: 3, name: "result_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
453
- ]);
454
-
455
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PrebuildStatus {
456
- return new PrebuildStatus().fromBinary(bytes, options);
457
- }
458
-
459
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PrebuildStatus {
460
- return new PrebuildStatus().fromJson(jsonValue, options);
461
- }
462
-
463
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PrebuildStatus {
464
- return new PrebuildStatus().fromJsonString(jsonString, options);
465
- }
466
-
467
- static equals(a: PrebuildStatus | PlainMessage<PrebuildStatus> | undefined, b: PrebuildStatus | PlainMessage<PrebuildStatus> | undefined): boolean {
468
- return proto3.util.equals(PrebuildStatus, a, b);
469
- }
470
- }
471
-
472
- /**
473
- * @generated from enum gitpod.v1.PrebuildStatus.Phase
474
- */
475
- export enum PrebuildStatus_Phase {
476
- /**
477
- * @generated from enum value: PHASE_UNSPECIFIED = 0;
478
- */
479
- UNSPECIFIED = 0,
480
-
481
- /**
482
- * @generated from enum value: PHASE_PENDING = 1;
483
- */
484
- PENDING = 1,
485
-
486
- /**
487
- * @generated from enum value: PHASE_RUNNING = 2;
488
- */
489
- RUNNING = 2,
490
-
491
- /**
492
- * @generated from enum value: PHASE_DONE = 3;
493
- */
494
- DONE = 3,
495
- }
496
- // Retrieve enum metadata with: proto3.getEnumType(PrebuildStatus_Phase)
497
- proto3.util.setEnumType(PrebuildStatus_Phase, "gitpod.v1.PrebuildStatus.Phase", [
498
- { no: 0, name: "PHASE_UNSPECIFIED" },
499
- { no: 1, name: "PHASE_PENDING" },
500
- { no: 2, name: "PHASE_RUNNING" },
501
- { no: 3, name: "PHASE_DONE" },
502
- ]);
503
-
504
- /**
505
- * @generated from enum gitpod.v1.PrebuildStatus.Result
506
- */
507
- export enum PrebuildStatus_Result {
508
- /**
509
- * @generated from enum value: RESULT_UNSPECIFIED = 0;
510
- */
511
- UNSPECIFIED = 0,
512
-
513
- /**
514
- * @generated from enum value: RESULT_SUCCESS = 1;
515
- */
516
- SUCCESS = 1,
517
-
518
- /**
519
- * @generated from enum value: RESULT_USER_CANCELED = 2;
520
- */
521
- USER_CANCELED = 2,
522
-
523
- /**
524
- * @generated from enum value: RESULT_SYSTEM_FAILURE = 3;
525
- */
526
- SYSTEM_FAILURE = 3,
527
-
528
- /**
529
- * @generated from enum value: RESULT_TASK_FAILURE = 4;
530
- */
531
- TASK_FAILURE = 4,
532
- }
533
- // Retrieve enum metadata with: proto3.getEnumType(PrebuildStatus_Result)
534
- proto3.util.setEnumType(PrebuildStatus_Result, "gitpod.v1.PrebuildStatus.Result", [
535
- { no: 0, name: "RESULT_UNSPECIFIED" },
536
- { no: 1, name: "RESULT_SUCCESS" },
537
- { no: 2, name: "RESULT_USER_CANCELED" },
538
- { no: 3, name: "RESULT_SYSTEM_FAILURE" },
539
- { no: 4, name: "RESULT_TASK_FAILURE" },
540
- ]);
@@ -1,134 +0,0 @@
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 { CreateAndStartWorkspaceRequest, CreateAndStartWorkspaceResponse, GetActiveWorkspaceInstanceRequest, GetActiveWorkspaceInstanceResponse, GetOwnerTokenRequest, GetOwnerTokenResponse, GetWorkspaceInstanceOwnerTokenRequest, GetWorkspaceInstanceOwnerTokenResponse, GetWorkspaceRequest, GetWorkspaceResponse, ListenToImageBuildLogsRequest, ListenToImageBuildLogsResponse, ListenToWorkspaceInstanceRequest, ListenToWorkspaceInstanceResponse, ListWorkspacesRequest, ListWorkspacesResponse, StartWorkspaceRequest, StartWorkspaceResponse, StopWorkspaceRequest, StopWorkspaceResponse } from "./workspaces_pb.js";
7
- import { MethodKind } from "@bufbuild/protobuf";
8
- /**
9
- * @generated from service gitpod.v1.WorkspacesService
10
- */
11
- export declare const WorkspacesService: {
12
- readonly typeName: "gitpod.v1.WorkspacesService";
13
- readonly methods: {
14
- /**
15
- * ListWorkspaces enumerates all workspaces belonging to the authenticated user.
16
- *
17
- * @generated from rpc gitpod.v1.WorkspacesService.ListWorkspaces
18
- */
19
- readonly listWorkspaces: {
20
- readonly name: "ListWorkspaces";
21
- readonly I: typeof ListWorkspacesRequest;
22
- readonly O: typeof ListWorkspacesResponse;
23
- readonly kind: MethodKind.Unary;
24
- };
25
- /**
26
- * GetWorkspace returns a single workspace.
27
- *
28
- * @generated from rpc gitpod.v1.WorkspacesService.GetWorkspace
29
- */
30
- readonly getWorkspace: {
31
- readonly name: "GetWorkspace";
32
- readonly I: typeof GetWorkspaceRequest;
33
- readonly O: typeof GetWorkspaceResponse;
34
- readonly kind: MethodKind.Unary;
35
- };
36
- /**
37
- * GetOwnerToken returns an owner token.
38
- *
39
- * @generated from rpc gitpod.v1.WorkspacesService.GetOwnerToken
40
- */
41
- readonly getOwnerToken: {
42
- readonly name: "GetOwnerToken";
43
- readonly I: typeof GetOwnerTokenRequest;
44
- readonly O: typeof GetOwnerTokenResponse;
45
- readonly kind: MethodKind.Unary;
46
- };
47
- /**
48
- * CreateAndStartWorkspace creates a new workspace and starts it.
49
- *
50
- * @generated from rpc gitpod.v1.WorkspacesService.CreateAndStartWorkspace
51
- */
52
- readonly createAndStartWorkspace: {
53
- readonly name: "CreateAndStartWorkspace";
54
- readonly I: typeof CreateAndStartWorkspaceRequest;
55
- readonly O: typeof CreateAndStartWorkspaceResponse;
56
- readonly kind: MethodKind.Unary;
57
- };
58
- /**
59
- * StartWorkspace starts an existing workspace.
60
- *
61
- * @generated from rpc gitpod.v1.WorkspacesService.StartWorkspace
62
- */
63
- readonly startWorkspace: {
64
- readonly name: "StartWorkspace";
65
- readonly I: typeof StartWorkspaceRequest;
66
- readonly O: typeof StartWorkspaceResponse;
67
- readonly kind: MethodKind.Unary;
68
- };
69
- /**
70
- * GetRunningWorkspaceInstance returns the currently active instance of a workspace.
71
- * Errors:
72
- * FAILED_PRECONDITION: if a workspace does not a currently active instance
73
- *
74
- *
75
- * @generated from rpc gitpod.v1.WorkspacesService.GetActiveWorkspaceInstance
76
- */
77
- readonly getActiveWorkspaceInstance: {
78
- readonly name: "GetActiveWorkspaceInstance";
79
- readonly I: typeof GetActiveWorkspaceInstanceRequest;
80
- readonly O: typeof GetActiveWorkspaceInstanceResponse;
81
- readonly kind: MethodKind.Unary;
82
- };
83
- /**
84
- * GetWorkspaceInstanceOwnerToken returns the owner token of a workspace instance.
85
- * Note: the owner token is not part of the workspace instance status so that we can scope its access on the
86
- * API function level.
87
- *
88
- * @generated from rpc gitpod.v1.WorkspacesService.GetWorkspaceInstanceOwnerToken
89
- */
90
- readonly getWorkspaceInstanceOwnerToken: {
91
- readonly name: "GetWorkspaceInstanceOwnerToken";
92
- readonly I: typeof GetWorkspaceInstanceOwnerTokenRequest;
93
- readonly O: typeof GetWorkspaceInstanceOwnerTokenResponse;
94
- readonly kind: MethodKind.Unary;
95
- };
96
- /**
97
- * ListenToWorkspaceInstance listens to workspace instance updates.
98
- *
99
- * @generated from rpc gitpod.v1.WorkspacesService.ListenToWorkspaceInstance
100
- */
101
- readonly listenToWorkspaceInstance: {
102
- readonly name: "ListenToWorkspaceInstance";
103
- readonly I: typeof ListenToWorkspaceInstanceRequest;
104
- readonly O: typeof ListenToWorkspaceInstanceResponse;
105
- readonly kind: MethodKind.ServerStreaming;
106
- };
107
- /**
108
- * ListenToImageBuildLogs streams (currently or previously) running workspace image build logs
109
- *
110
- * @generated from rpc gitpod.v1.WorkspacesService.ListenToImageBuildLogs
111
- */
112
- readonly listenToImageBuildLogs: {
113
- readonly name: "ListenToImageBuildLogs";
114
- readonly I: typeof ListenToImageBuildLogsRequest;
115
- readonly O: typeof ListenToImageBuildLogsResponse;
116
- readonly kind: MethodKind.ServerStreaming;
117
- };
118
- /**
119
- * StopWorkspace stops a running workspace (instance).
120
- * Errors:
121
- * NOT_FOUND: the workspace_id is unkown
122
- * FAILED_PRECONDITION: if there's no running instance
123
- *
124
- * @generated from rpc gitpod.v1.WorkspacesService.StopWorkspace
125
- */
126
- readonly stopWorkspace: {
127
- readonly name: "StopWorkspace";
128
- readonly I: typeof StopWorkspaceRequest;
129
- readonly O: typeof StopWorkspaceResponse;
130
- readonly kind: MethodKind.ServerStreaming;
131
- };
132
- };
133
- };
134
- //# sourceMappingURL=workspaces_connectweb.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaces_connectweb.d.ts","sourceRoot":"","sources":["../../../src/gitpod/v1/workspaces_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,8BAA8B,EAAE,+BAA+B,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,qCAAqC,EAAE,sCAAsC,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AAChmB,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;QAG1B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;QAOH;;;;;;WAMG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;;CAQG,CAAC"}