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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/lib/gitpod/experimental/v1/index.d.ts +9 -0
  2. package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
  3. package/lib/gitpod/experimental/v1/index.js +21 -0
  4. package/lib/gitpod/experimental/v1/index.js.map +1 -0
  5. package/lib/gitpod/experimental/v1/pagination_pb.d.ts +33 -0
  6. package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
  7. package/lib/gitpod/experimental/v1/pagination_pb.js +50 -0
  8. package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
  9. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +82 -0
  10. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
  11. package/lib/gitpod/experimental/v1/teams_connectweb.js +89 -0
  12. package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
  13. package/lib/gitpod/experimental/v1/teams_pb.d.ts +347 -0
  14. package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
  15. package/lib/gitpod/experimental/v1/teams_pb.js +532 -0
  16. package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
  17. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +74 -0
  18. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
  19. package/lib/gitpod/experimental/v1/workspaces_connectweb.js +81 -0
  20. package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
  21. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +695 -0
  22. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
  23. package/lib/gitpod/experimental/v1/workspaces_pb.js +945 -0
  24. package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
  25. package/lib/{gitpod/v1/pagination_grpc_pb.js → index.d.ts} +2 -2
  26. package/lib/index.d.ts.map +1 -0
  27. package/lib/index.js +10 -0
  28. package/lib/index.js.map +1 -0
  29. package/package.json +9 -11
  30. package/pkg-yarn.lock +5 -5
  31. package/provenance-bundle.jsonl +2 -2
  32. package/lib/gitpod/v1/pagination_pb.d.ts +0 -36
  33. package/lib/gitpod/v1/pagination_pb.js +0 -206
  34. package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
  35. package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
  36. package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -283
  37. package/lib/gitpod/v1/prebuilds_pb.js +0 -1997
  38. package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
  39. package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
  40. package/lib/gitpod/v1/workspaces_pb.d.ts +0 -810
  41. package/lib/gitpod/v1/workspaces_pb.js +0 -5976
@@ -1,810 +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
- // package: gitpod.v1
8
- // file: gitpod/v1/workspaces.proto
9
-
10
- /* tslint:disable */
11
- /* eslint-disable */
12
-
13
- import * as jspb from "google-protobuf";
14
- import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
15
- import * as google_protobuf_field_mask_pb from "google-protobuf/google/protobuf/field_mask_pb";
16
- import * as gitpod_v1_pagination_pb from "../../gitpod/v1/pagination_pb";
17
-
18
- export class ListWorkspacesRequest extends jspb.Message {
19
-
20
- hasPagination(): boolean;
21
- clearPagination(): void;
22
- getPagination(): gitpod_v1_pagination_pb.Pagination | undefined;
23
- setPagination(value?: gitpod_v1_pagination_pb.Pagination): ListWorkspacesRequest;
24
-
25
- hasFieldMask(): boolean;
26
- clearFieldMask(): void;
27
- getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
28
- setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): ListWorkspacesRequest;
29
-
30
- serializeBinary(): Uint8Array;
31
- toObject(includeInstance?: boolean): ListWorkspacesRequest.AsObject;
32
- static toObject(includeInstance: boolean, msg: ListWorkspacesRequest): ListWorkspacesRequest.AsObject;
33
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
34
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
35
- static serializeBinaryToWriter(message: ListWorkspacesRequest, writer: jspb.BinaryWriter): void;
36
- static deserializeBinary(bytes: Uint8Array): ListWorkspacesRequest;
37
- static deserializeBinaryFromReader(message: ListWorkspacesRequest, reader: jspb.BinaryReader): ListWorkspacesRequest;
38
- }
39
-
40
- export namespace ListWorkspacesRequest {
41
- export type AsObject = {
42
- pagination?: gitpod_v1_pagination_pb.Pagination.AsObject,
43
- fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
44
- }
45
- }
46
-
47
- export class ListWorkspacesResponse extends jspb.Message {
48
- getNextPageToken(): string;
49
- setNextPageToken(value: string): ListWorkspacesResponse;
50
- clearResultList(): void;
51
- getResultList(): Array<ListWorkspacesResponse.WorkspaceAndInstance>;
52
- setResultList(value: Array<ListWorkspacesResponse.WorkspaceAndInstance>): ListWorkspacesResponse;
53
- addResult(value?: ListWorkspacesResponse.WorkspaceAndInstance, index?: number): ListWorkspacesResponse.WorkspaceAndInstance;
54
-
55
- serializeBinary(): Uint8Array;
56
- toObject(includeInstance?: boolean): ListWorkspacesResponse.AsObject;
57
- static toObject(includeInstance: boolean, msg: ListWorkspacesResponse): ListWorkspacesResponse.AsObject;
58
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
59
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
60
- static serializeBinaryToWriter(message: ListWorkspacesResponse, writer: jspb.BinaryWriter): void;
61
- static deserializeBinary(bytes: Uint8Array): ListWorkspacesResponse;
62
- static deserializeBinaryFromReader(message: ListWorkspacesResponse, reader: jspb.BinaryReader): ListWorkspacesResponse;
63
- }
64
-
65
- export namespace ListWorkspacesResponse {
66
- export type AsObject = {
67
- nextPageToken: string,
68
- resultList: Array<ListWorkspacesResponse.WorkspaceAndInstance.AsObject>,
69
- }
70
-
71
-
72
- export class WorkspaceAndInstance extends jspb.Message {
73
-
74
- hasResult(): boolean;
75
- clearResult(): void;
76
- getResult(): Workspace | undefined;
77
- setResult(value?: Workspace): WorkspaceAndInstance;
78
-
79
- hasLastActiveInstances(): boolean;
80
- clearLastActiveInstances(): void;
81
- getLastActiveInstances(): WorkspaceInstance | undefined;
82
- setLastActiveInstances(value?: WorkspaceInstance): WorkspaceAndInstance;
83
-
84
- serializeBinary(): Uint8Array;
85
- toObject(includeInstance?: boolean): WorkspaceAndInstance.AsObject;
86
- static toObject(includeInstance: boolean, msg: WorkspaceAndInstance): WorkspaceAndInstance.AsObject;
87
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
88
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
89
- static serializeBinaryToWriter(message: WorkspaceAndInstance, writer: jspb.BinaryWriter): void;
90
- static deserializeBinary(bytes: Uint8Array): WorkspaceAndInstance;
91
- static deserializeBinaryFromReader(message: WorkspaceAndInstance, reader: jspb.BinaryReader): WorkspaceAndInstance;
92
- }
93
-
94
- export namespace WorkspaceAndInstance {
95
- export type AsObject = {
96
- result?: Workspace.AsObject,
97
- lastActiveInstances?: WorkspaceInstance.AsObject,
98
- }
99
- }
100
-
101
- }
102
-
103
- export class GetWorkspaceRequest extends jspb.Message {
104
- getWorkspaceId(): string;
105
- setWorkspaceId(value: string): GetWorkspaceRequest;
106
-
107
- serializeBinary(): Uint8Array;
108
- toObject(includeInstance?: boolean): GetWorkspaceRequest.AsObject;
109
- static toObject(includeInstance: boolean, msg: GetWorkspaceRequest): GetWorkspaceRequest.AsObject;
110
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
111
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
112
- static serializeBinaryToWriter(message: GetWorkspaceRequest, writer: jspb.BinaryWriter): void;
113
- static deserializeBinary(bytes: Uint8Array): GetWorkspaceRequest;
114
- static deserializeBinaryFromReader(message: GetWorkspaceRequest, reader: jspb.BinaryReader): GetWorkspaceRequest;
115
- }
116
-
117
- export namespace GetWorkspaceRequest {
118
- export type AsObject = {
119
- workspaceId: string,
120
- }
121
- }
122
-
123
- export class GetWorkspaceResponse extends jspb.Message {
124
-
125
- hasResult(): boolean;
126
- clearResult(): void;
127
- getResult(): Workspace | undefined;
128
- setResult(value?: Workspace): GetWorkspaceResponse;
129
-
130
- serializeBinary(): Uint8Array;
131
- toObject(includeInstance?: boolean): GetWorkspaceResponse.AsObject;
132
- static toObject(includeInstance: boolean, msg: GetWorkspaceResponse): GetWorkspaceResponse.AsObject;
133
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
134
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
135
- static serializeBinaryToWriter(message: GetWorkspaceResponse, writer: jspb.BinaryWriter): void;
136
- static deserializeBinary(bytes: Uint8Array): GetWorkspaceResponse;
137
- static deserializeBinaryFromReader(message: GetWorkspaceResponse, reader: jspb.BinaryReader): GetWorkspaceResponse;
138
- }
139
-
140
- export namespace GetWorkspaceResponse {
141
- export type AsObject = {
142
- result?: Workspace.AsObject,
143
- }
144
- }
145
-
146
- export class GetOwnerTokenRequest extends jspb.Message {
147
- getWorkspaceId(): string;
148
- setWorkspaceId(value: string): GetOwnerTokenRequest;
149
-
150
- serializeBinary(): Uint8Array;
151
- toObject(includeInstance?: boolean): GetOwnerTokenRequest.AsObject;
152
- static toObject(includeInstance: boolean, msg: GetOwnerTokenRequest): GetOwnerTokenRequest.AsObject;
153
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
154
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
155
- static serializeBinaryToWriter(message: GetOwnerTokenRequest, writer: jspb.BinaryWriter): void;
156
- static deserializeBinary(bytes: Uint8Array): GetOwnerTokenRequest;
157
- static deserializeBinaryFromReader(message: GetOwnerTokenRequest, reader: jspb.BinaryReader): GetOwnerTokenRequest;
158
- }
159
-
160
- export namespace GetOwnerTokenRequest {
161
- export type AsObject = {
162
- workspaceId: string,
163
- }
164
- }
165
-
166
- export class GetOwnerTokenResponse extends jspb.Message {
167
- getToken(): string;
168
- setToken(value: string): GetOwnerTokenResponse;
169
-
170
- serializeBinary(): Uint8Array;
171
- toObject(includeInstance?: boolean): GetOwnerTokenResponse.AsObject;
172
- static toObject(includeInstance: boolean, msg: GetOwnerTokenResponse): GetOwnerTokenResponse.AsObject;
173
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
174
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
175
- static serializeBinaryToWriter(message: GetOwnerTokenResponse, writer: jspb.BinaryWriter): void;
176
- static deserializeBinary(bytes: Uint8Array): GetOwnerTokenResponse;
177
- static deserializeBinaryFromReader(message: GetOwnerTokenResponse, reader: jspb.BinaryReader): GetOwnerTokenResponse;
178
- }
179
-
180
- export namespace GetOwnerTokenResponse {
181
- export type AsObject = {
182
- token: string,
183
- }
184
- }
185
-
186
- export class CreateAndStartWorkspaceRequest extends jspb.Message {
187
- getIdempotencyToken(): string;
188
- setIdempotencyToken(value: string): CreateAndStartWorkspaceRequest;
189
-
190
- hasContextUrl(): boolean;
191
- clearContextUrl(): void;
192
- getContextUrl(): string;
193
- setContextUrl(value: string): CreateAndStartWorkspaceRequest;
194
-
195
- hasPrebuildId(): boolean;
196
- clearPrebuildId(): void;
197
- getPrebuildId(): string;
198
- setPrebuildId(value: string): CreateAndStartWorkspaceRequest;
199
-
200
- hasStartSpec(): boolean;
201
- clearStartSpec(): void;
202
- getStartSpec(): StartWorkspaceSpec | undefined;
203
- setStartSpec(value?: StartWorkspaceSpec): CreateAndStartWorkspaceRequest;
204
-
205
- getSourceCase(): CreateAndStartWorkspaceRequest.SourceCase;
206
-
207
- serializeBinary(): Uint8Array;
208
- toObject(includeInstance?: boolean): CreateAndStartWorkspaceRequest.AsObject;
209
- static toObject(includeInstance: boolean, msg: CreateAndStartWorkspaceRequest): CreateAndStartWorkspaceRequest.AsObject;
210
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
211
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
212
- static serializeBinaryToWriter(message: CreateAndStartWorkspaceRequest, writer: jspb.BinaryWriter): void;
213
- static deserializeBinary(bytes: Uint8Array): CreateAndStartWorkspaceRequest;
214
- static deserializeBinaryFromReader(message: CreateAndStartWorkspaceRequest, reader: jspb.BinaryReader): CreateAndStartWorkspaceRequest;
215
- }
216
-
217
- export namespace CreateAndStartWorkspaceRequest {
218
- export type AsObject = {
219
- idempotencyToken: string,
220
- contextUrl: string,
221
- prebuildId: string,
222
- startSpec?: StartWorkspaceSpec.AsObject,
223
- }
224
-
225
- export enum SourceCase {
226
- SOURCE_NOT_SET = 0,
227
- CONTEXT_URL = 2,
228
- PREBUILD_ID = 3,
229
- }
230
-
231
- }
232
-
233
- export class CreateAndStartWorkspaceResponse extends jspb.Message {
234
- getWorkspaceId(): string;
235
- setWorkspaceId(value: string): CreateAndStartWorkspaceResponse;
236
-
237
- serializeBinary(): Uint8Array;
238
- toObject(includeInstance?: boolean): CreateAndStartWorkspaceResponse.AsObject;
239
- static toObject(includeInstance: boolean, msg: CreateAndStartWorkspaceResponse): CreateAndStartWorkspaceResponse.AsObject;
240
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
241
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
242
- static serializeBinaryToWriter(message: CreateAndStartWorkspaceResponse, writer: jspb.BinaryWriter): void;
243
- static deserializeBinary(bytes: Uint8Array): CreateAndStartWorkspaceResponse;
244
- static deserializeBinaryFromReader(message: CreateAndStartWorkspaceResponse, reader: jspb.BinaryReader): CreateAndStartWorkspaceResponse;
245
- }
246
-
247
- export namespace CreateAndStartWorkspaceResponse {
248
- export type AsObject = {
249
- workspaceId: string,
250
- }
251
- }
252
-
253
- export class StartWorkspaceRequest extends jspb.Message {
254
- getIdempotencyToken(): string;
255
- setIdempotencyToken(value: string): StartWorkspaceRequest;
256
- getWorkspaceId(): string;
257
- setWorkspaceId(value: string): StartWorkspaceRequest;
258
-
259
- hasSpec(): boolean;
260
- clearSpec(): void;
261
- getSpec(): StartWorkspaceSpec | undefined;
262
- setSpec(value?: StartWorkspaceSpec): StartWorkspaceRequest;
263
-
264
- serializeBinary(): Uint8Array;
265
- toObject(includeInstance?: boolean): StartWorkspaceRequest.AsObject;
266
- static toObject(includeInstance: boolean, msg: StartWorkspaceRequest): StartWorkspaceRequest.AsObject;
267
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
268
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
269
- static serializeBinaryToWriter(message: StartWorkspaceRequest, writer: jspb.BinaryWriter): void;
270
- static deserializeBinary(bytes: Uint8Array): StartWorkspaceRequest;
271
- static deserializeBinaryFromReader(message: StartWorkspaceRequest, reader: jspb.BinaryReader): StartWorkspaceRequest;
272
- }
273
-
274
- export namespace StartWorkspaceRequest {
275
- export type AsObject = {
276
- idempotencyToken: string,
277
- workspaceId: string,
278
- spec?: StartWorkspaceSpec.AsObject,
279
- }
280
- }
281
-
282
- export class StartWorkspaceResponse extends jspb.Message {
283
- getInstanceId(): string;
284
- setInstanceId(value: string): StartWorkspaceResponse;
285
- getWorkspaceUrl(): string;
286
- setWorkspaceUrl(value: string): StartWorkspaceResponse;
287
-
288
- serializeBinary(): Uint8Array;
289
- toObject(includeInstance?: boolean): StartWorkspaceResponse.AsObject;
290
- static toObject(includeInstance: boolean, msg: StartWorkspaceResponse): StartWorkspaceResponse.AsObject;
291
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
292
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
293
- static serializeBinaryToWriter(message: StartWorkspaceResponse, writer: jspb.BinaryWriter): void;
294
- static deserializeBinary(bytes: Uint8Array): StartWorkspaceResponse;
295
- static deserializeBinaryFromReader(message: StartWorkspaceResponse, reader: jspb.BinaryReader): StartWorkspaceResponse;
296
- }
297
-
298
- export namespace StartWorkspaceResponse {
299
- export type AsObject = {
300
- instanceId: string,
301
- workspaceUrl: string,
302
- }
303
- }
304
-
305
- export class GetActiveWorkspaceInstanceRequest extends jspb.Message {
306
- getWorkspaceId(): string;
307
- setWorkspaceId(value: string): GetActiveWorkspaceInstanceRequest;
308
-
309
- serializeBinary(): Uint8Array;
310
- toObject(includeInstance?: boolean): GetActiveWorkspaceInstanceRequest.AsObject;
311
- static toObject(includeInstance: boolean, msg: GetActiveWorkspaceInstanceRequest): GetActiveWorkspaceInstanceRequest.AsObject;
312
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
313
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
314
- static serializeBinaryToWriter(message: GetActiveWorkspaceInstanceRequest, writer: jspb.BinaryWriter): void;
315
- static deserializeBinary(bytes: Uint8Array): GetActiveWorkspaceInstanceRequest;
316
- static deserializeBinaryFromReader(message: GetActiveWorkspaceInstanceRequest, reader: jspb.BinaryReader): GetActiveWorkspaceInstanceRequest;
317
- }
318
-
319
- export namespace GetActiveWorkspaceInstanceRequest {
320
- export type AsObject = {
321
- workspaceId: string,
322
- }
323
- }
324
-
325
- export class GetActiveWorkspaceInstanceResponse extends jspb.Message {
326
-
327
- hasInstance(): boolean;
328
- clearInstance(): void;
329
- getInstance(): WorkspaceInstance | undefined;
330
- setInstance(value?: WorkspaceInstance): GetActiveWorkspaceInstanceResponse;
331
-
332
- serializeBinary(): Uint8Array;
333
- toObject(includeInstance?: boolean): GetActiveWorkspaceInstanceResponse.AsObject;
334
- static toObject(includeInstance: boolean, msg: GetActiveWorkspaceInstanceResponse): GetActiveWorkspaceInstanceResponse.AsObject;
335
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
336
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
337
- static serializeBinaryToWriter(message: GetActiveWorkspaceInstanceResponse, writer: jspb.BinaryWriter): void;
338
- static deserializeBinary(bytes: Uint8Array): GetActiveWorkspaceInstanceResponse;
339
- static deserializeBinaryFromReader(message: GetActiveWorkspaceInstanceResponse, reader: jspb.BinaryReader): GetActiveWorkspaceInstanceResponse;
340
- }
341
-
342
- export namespace GetActiveWorkspaceInstanceResponse {
343
- export type AsObject = {
344
- instance?: WorkspaceInstance.AsObject,
345
- }
346
- }
347
-
348
- export class GetWorkspaceInstanceOwnerTokenRequest extends jspb.Message {
349
- getInstanceId(): string;
350
- setInstanceId(value: string): GetWorkspaceInstanceOwnerTokenRequest;
351
-
352
- serializeBinary(): Uint8Array;
353
- toObject(includeInstance?: boolean): GetWorkspaceInstanceOwnerTokenRequest.AsObject;
354
- static toObject(includeInstance: boolean, msg: GetWorkspaceInstanceOwnerTokenRequest): GetWorkspaceInstanceOwnerTokenRequest.AsObject;
355
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
356
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
357
- static serializeBinaryToWriter(message: GetWorkspaceInstanceOwnerTokenRequest, writer: jspb.BinaryWriter): void;
358
- static deserializeBinary(bytes: Uint8Array): GetWorkspaceInstanceOwnerTokenRequest;
359
- static deserializeBinaryFromReader(message: GetWorkspaceInstanceOwnerTokenRequest, reader: jspb.BinaryReader): GetWorkspaceInstanceOwnerTokenRequest;
360
- }
361
-
362
- export namespace GetWorkspaceInstanceOwnerTokenRequest {
363
- export type AsObject = {
364
- instanceId: string,
365
- }
366
- }
367
-
368
- export class GetWorkspaceInstanceOwnerTokenResponse extends jspb.Message {
369
- getOwnerToken(): string;
370
- setOwnerToken(value: string): GetWorkspaceInstanceOwnerTokenResponse;
371
-
372
- serializeBinary(): Uint8Array;
373
- toObject(includeInstance?: boolean): GetWorkspaceInstanceOwnerTokenResponse.AsObject;
374
- static toObject(includeInstance: boolean, msg: GetWorkspaceInstanceOwnerTokenResponse): GetWorkspaceInstanceOwnerTokenResponse.AsObject;
375
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
376
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
377
- static serializeBinaryToWriter(message: GetWorkspaceInstanceOwnerTokenResponse, writer: jspb.BinaryWriter): void;
378
- static deserializeBinary(bytes: Uint8Array): GetWorkspaceInstanceOwnerTokenResponse;
379
- static deserializeBinaryFromReader(message: GetWorkspaceInstanceOwnerTokenResponse, reader: jspb.BinaryReader): GetWorkspaceInstanceOwnerTokenResponse;
380
- }
381
-
382
- export namespace GetWorkspaceInstanceOwnerTokenResponse {
383
- export type AsObject = {
384
- ownerToken: string,
385
- }
386
- }
387
-
388
- export class ListenToWorkspaceInstanceRequest extends jspb.Message {
389
- getInstanceId(): string;
390
- setInstanceId(value: string): ListenToWorkspaceInstanceRequest;
391
-
392
- serializeBinary(): Uint8Array;
393
- toObject(includeInstance?: boolean): ListenToWorkspaceInstanceRequest.AsObject;
394
- static toObject(includeInstance: boolean, msg: ListenToWorkspaceInstanceRequest): ListenToWorkspaceInstanceRequest.AsObject;
395
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
396
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
397
- static serializeBinaryToWriter(message: ListenToWorkspaceInstanceRequest, writer: jspb.BinaryWriter): void;
398
- static deserializeBinary(bytes: Uint8Array): ListenToWorkspaceInstanceRequest;
399
- static deserializeBinaryFromReader(message: ListenToWorkspaceInstanceRequest, reader: jspb.BinaryReader): ListenToWorkspaceInstanceRequest;
400
- }
401
-
402
- export namespace ListenToWorkspaceInstanceRequest {
403
- export type AsObject = {
404
- instanceId: string,
405
- }
406
- }
407
-
408
- export class ListenToWorkspaceInstanceResponse extends jspb.Message {
409
-
410
- hasInstanceStatus(): boolean;
411
- clearInstanceStatus(): void;
412
- getInstanceStatus(): WorkspaceInstanceStatus | undefined;
413
- setInstanceStatus(value?: WorkspaceInstanceStatus): ListenToWorkspaceInstanceResponse;
414
-
415
- serializeBinary(): Uint8Array;
416
- toObject(includeInstance?: boolean): ListenToWorkspaceInstanceResponse.AsObject;
417
- static toObject(includeInstance: boolean, msg: ListenToWorkspaceInstanceResponse): ListenToWorkspaceInstanceResponse.AsObject;
418
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
419
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
420
- static serializeBinaryToWriter(message: ListenToWorkspaceInstanceResponse, writer: jspb.BinaryWriter): void;
421
- static deserializeBinary(bytes: Uint8Array): ListenToWorkspaceInstanceResponse;
422
- static deserializeBinaryFromReader(message: ListenToWorkspaceInstanceResponse, reader: jspb.BinaryReader): ListenToWorkspaceInstanceResponse;
423
- }
424
-
425
- export namespace ListenToWorkspaceInstanceResponse {
426
- export type AsObject = {
427
- instanceStatus?: WorkspaceInstanceStatus.AsObject,
428
- }
429
- }
430
-
431
- export class ListenToImageBuildLogsRequest extends jspb.Message {
432
- getInstanceId(): string;
433
- setInstanceId(value: string): ListenToImageBuildLogsRequest;
434
-
435
- serializeBinary(): Uint8Array;
436
- toObject(includeInstance?: boolean): ListenToImageBuildLogsRequest.AsObject;
437
- static toObject(includeInstance: boolean, msg: ListenToImageBuildLogsRequest): ListenToImageBuildLogsRequest.AsObject;
438
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
439
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
440
- static serializeBinaryToWriter(message: ListenToImageBuildLogsRequest, writer: jspb.BinaryWriter): void;
441
- static deserializeBinary(bytes: Uint8Array): ListenToImageBuildLogsRequest;
442
- static deserializeBinaryFromReader(message: ListenToImageBuildLogsRequest, reader: jspb.BinaryReader): ListenToImageBuildLogsRequest;
443
- }
444
-
445
- export namespace ListenToImageBuildLogsRequest {
446
- export type AsObject = {
447
- instanceId: string,
448
- }
449
- }
450
-
451
- export class ListenToImageBuildLogsResponse extends jspb.Message {
452
- getLine(): string;
453
- setLine(value: string): ListenToImageBuildLogsResponse;
454
-
455
- serializeBinary(): Uint8Array;
456
- toObject(includeInstance?: boolean): ListenToImageBuildLogsResponse.AsObject;
457
- static toObject(includeInstance: boolean, msg: ListenToImageBuildLogsResponse): ListenToImageBuildLogsResponse.AsObject;
458
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
459
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
460
- static serializeBinaryToWriter(message: ListenToImageBuildLogsResponse, writer: jspb.BinaryWriter): void;
461
- static deserializeBinary(bytes: Uint8Array): ListenToImageBuildLogsResponse;
462
- static deserializeBinaryFromReader(message: ListenToImageBuildLogsResponse, reader: jspb.BinaryReader): ListenToImageBuildLogsResponse;
463
- }
464
-
465
- export namespace ListenToImageBuildLogsResponse {
466
- export type AsObject = {
467
- line: string,
468
- }
469
- }
470
-
471
- export class StopWorkspaceRequest extends jspb.Message {
472
- getIdempotencyToken(): string;
473
- setIdempotencyToken(value: string): StopWorkspaceRequest;
474
- getWorkspaceId(): string;
475
- setWorkspaceId(value: string): StopWorkspaceRequest;
476
-
477
- serializeBinary(): Uint8Array;
478
- toObject(includeInstance?: boolean): StopWorkspaceRequest.AsObject;
479
- static toObject(includeInstance: boolean, msg: StopWorkspaceRequest): StopWorkspaceRequest.AsObject;
480
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
481
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
482
- static serializeBinaryToWriter(message: StopWorkspaceRequest, writer: jspb.BinaryWriter): void;
483
- static deserializeBinary(bytes: Uint8Array): StopWorkspaceRequest;
484
- static deserializeBinaryFromReader(message: StopWorkspaceRequest, reader: jspb.BinaryReader): StopWorkspaceRequest;
485
- }
486
-
487
- export namespace StopWorkspaceRequest {
488
- export type AsObject = {
489
- idempotencyToken: string,
490
- workspaceId: string,
491
- }
492
- }
493
-
494
- export class StopWorkspaceResponse extends jspb.Message {
495
-
496
- serializeBinary(): Uint8Array;
497
- toObject(includeInstance?: boolean): StopWorkspaceResponse.AsObject;
498
- static toObject(includeInstance: boolean, msg: StopWorkspaceResponse): StopWorkspaceResponse.AsObject;
499
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
500
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
501
- static serializeBinaryToWriter(message: StopWorkspaceResponse, writer: jspb.BinaryWriter): void;
502
- static deserializeBinary(bytes: Uint8Array): StopWorkspaceResponse;
503
- static deserializeBinaryFromReader(message: StopWorkspaceResponse, reader: jspb.BinaryReader): StopWorkspaceResponse;
504
- }
505
-
506
- export namespace StopWorkspaceResponse {
507
- export type AsObject = {
508
- }
509
- }
510
-
511
- export class Workspace extends jspb.Message {
512
- getWorkspaceId(): string;
513
- setWorkspaceId(value: string): Workspace;
514
- getOwnerId(): string;
515
- setOwnerId(value: string): Workspace;
516
- getProjectId(): string;
517
- setProjectId(value: string): Workspace;
518
-
519
- hasContext(): boolean;
520
- clearContext(): void;
521
- getContext(): WorkspaceContext | undefined;
522
- setContext(value?: WorkspaceContext): Workspace;
523
- getDescription(): string;
524
- setDescription(value: string): Workspace;
525
-
526
- serializeBinary(): Uint8Array;
527
- toObject(includeInstance?: boolean): Workspace.AsObject;
528
- static toObject(includeInstance: boolean, msg: Workspace): Workspace.AsObject;
529
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
530
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
531
- static serializeBinaryToWriter(message: Workspace, writer: jspb.BinaryWriter): void;
532
- static deserializeBinary(bytes: Uint8Array): Workspace;
533
- static deserializeBinaryFromReader(message: Workspace, reader: jspb.BinaryReader): Workspace;
534
- }
535
-
536
- export namespace Workspace {
537
- export type AsObject = {
538
- workspaceId: string,
539
- ownerId: string,
540
- projectId: string,
541
- context?: WorkspaceContext.AsObject,
542
- description: string,
543
- }
544
- }
545
-
546
- export class WorkspaceContext extends jspb.Message {
547
- getContextUrl(): string;
548
- setContextUrl(value: string): WorkspaceContext;
549
-
550
- hasGit(): boolean;
551
- clearGit(): void;
552
- getGit(): WorkspaceContext.Git | undefined;
553
- setGit(value?: WorkspaceContext.Git): WorkspaceContext;
554
-
555
- hasPrebuild(): boolean;
556
- clearPrebuild(): void;
557
- getPrebuild(): WorkspaceContext.Prebuild | undefined;
558
- setPrebuild(value?: WorkspaceContext.Prebuild): WorkspaceContext;
559
-
560
- hasSnapshot(): boolean;
561
- clearSnapshot(): void;
562
- getSnapshot(): WorkspaceContext.Snapshot | undefined;
563
- setSnapshot(value?: WorkspaceContext.Snapshot): WorkspaceContext;
564
-
565
- getDetailsCase(): WorkspaceContext.DetailsCase;
566
-
567
- serializeBinary(): Uint8Array;
568
- toObject(includeInstance?: boolean): WorkspaceContext.AsObject;
569
- static toObject(includeInstance: boolean, msg: WorkspaceContext): WorkspaceContext.AsObject;
570
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
571
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
572
- static serializeBinaryToWriter(message: WorkspaceContext, writer: jspb.BinaryWriter): void;
573
- static deserializeBinary(bytes: Uint8Array): WorkspaceContext;
574
- static deserializeBinaryFromReader(message: WorkspaceContext, reader: jspb.BinaryReader): WorkspaceContext;
575
- }
576
-
577
- export namespace WorkspaceContext {
578
- export type AsObject = {
579
- contextUrl: string,
580
- git?: WorkspaceContext.Git.AsObject,
581
- prebuild?: WorkspaceContext.Prebuild.AsObject,
582
- snapshot?: WorkspaceContext.Snapshot.AsObject,
583
- }
584
-
585
-
586
- export class Git extends jspb.Message {
587
- getNormalizedContextUrl(): string;
588
- setNormalizedContextUrl(value: string): Git;
589
- getCommit(): string;
590
- setCommit(value: string): Git;
591
-
592
- serializeBinary(): Uint8Array;
593
- toObject(includeInstance?: boolean): Git.AsObject;
594
- static toObject(includeInstance: boolean, msg: Git): Git.AsObject;
595
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
596
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
597
- static serializeBinaryToWriter(message: Git, writer: jspb.BinaryWriter): void;
598
- static deserializeBinary(bytes: Uint8Array): Git;
599
- static deserializeBinaryFromReader(message: Git, reader: jspb.BinaryReader): Git;
600
- }
601
-
602
- export namespace Git {
603
- export type AsObject = {
604
- normalizedContextUrl: string,
605
- commit: string,
606
- }
607
- }
608
-
609
- export class Prebuild extends jspb.Message {
610
-
611
- hasOriginalContext(): boolean;
612
- clearOriginalContext(): void;
613
- getOriginalContext(): WorkspaceContext.Git | undefined;
614
- setOriginalContext(value?: WorkspaceContext.Git): Prebuild;
615
- getPrebuildId(): string;
616
- setPrebuildId(value: string): Prebuild;
617
-
618
- serializeBinary(): Uint8Array;
619
- toObject(includeInstance?: boolean): Prebuild.AsObject;
620
- static toObject(includeInstance: boolean, msg: Prebuild): Prebuild.AsObject;
621
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
622
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
623
- static serializeBinaryToWriter(message: Prebuild, writer: jspb.BinaryWriter): void;
624
- static deserializeBinary(bytes: Uint8Array): Prebuild;
625
- static deserializeBinaryFromReader(message: Prebuild, reader: jspb.BinaryReader): Prebuild;
626
- }
627
-
628
- export namespace Prebuild {
629
- export type AsObject = {
630
- originalContext?: WorkspaceContext.Git.AsObject,
631
- prebuildId: string,
632
- }
633
- }
634
-
635
- export class Snapshot extends jspb.Message {
636
- getSnapshotId(): string;
637
- setSnapshotId(value: string): Snapshot;
638
-
639
- serializeBinary(): Uint8Array;
640
- toObject(includeInstance?: boolean): Snapshot.AsObject;
641
- static toObject(includeInstance: boolean, msg: Snapshot): Snapshot.AsObject;
642
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
643
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
644
- static serializeBinaryToWriter(message: Snapshot, writer: jspb.BinaryWriter): void;
645
- static deserializeBinary(bytes: Uint8Array): Snapshot;
646
- static deserializeBinaryFromReader(message: Snapshot, reader: jspb.BinaryReader): Snapshot;
647
- }
648
-
649
- export namespace Snapshot {
650
- export type AsObject = {
651
- snapshotId: string,
652
- }
653
- }
654
-
655
-
656
- export enum DetailsCase {
657
- DETAILS_NOT_SET = 0,
658
- GIT = 2,
659
- PREBUILD = 3,
660
- SNAPSHOT = 4,
661
- }
662
-
663
- }
664
-
665
- export class WorkspaceInstance extends jspb.Message {
666
- getInstanceId(): string;
667
- setInstanceId(value: string): WorkspaceInstance;
668
- getWorkspaceId(): string;
669
- setWorkspaceId(value: string): WorkspaceInstance;
670
-
671
- hasCreatedAt(): boolean;
672
- clearCreatedAt(): void;
673
- getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
674
- setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): WorkspaceInstance;
675
-
676
- hasStatus(): boolean;
677
- clearStatus(): void;
678
- getStatus(): WorkspaceInstanceStatus | undefined;
679
- setStatus(value?: WorkspaceInstanceStatus): WorkspaceInstance;
680
-
681
- serializeBinary(): Uint8Array;
682
- toObject(includeInstance?: boolean): WorkspaceInstance.AsObject;
683
- static toObject(includeInstance: boolean, msg: WorkspaceInstance): WorkspaceInstance.AsObject;
684
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
685
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
686
- static serializeBinaryToWriter(message: WorkspaceInstance, writer: jspb.BinaryWriter): void;
687
- static deserializeBinary(bytes: Uint8Array): WorkspaceInstance;
688
- static deserializeBinaryFromReader(message: WorkspaceInstance, reader: jspb.BinaryReader): WorkspaceInstance;
689
- }
690
-
691
- export namespace WorkspaceInstance {
692
- export type AsObject = {
693
- instanceId: string,
694
- workspaceId: string,
695
- createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
696
- status?: WorkspaceInstanceStatus.AsObject,
697
- }
698
- }
699
-
700
- export class WorkspaceInstanceStatus extends jspb.Message {
701
- getStatusVersion(): number;
702
- setStatusVersion(value: number): WorkspaceInstanceStatus;
703
- getPhase(): WorkspaceInstanceStatus.Phase;
704
- setPhase(value: WorkspaceInstanceStatus.Phase): WorkspaceInstanceStatus;
705
-
706
- hasConditions(): boolean;
707
- clearConditions(): void;
708
- getConditions(): WorkspaceInstanceStatus.Conditions | undefined;
709
- setConditions(value?: WorkspaceInstanceStatus.Conditions): WorkspaceInstanceStatus;
710
- getMessage(): string;
711
- setMessage(value: string): WorkspaceInstanceStatus;
712
- getUrl(): string;
713
- setUrl(value: string): WorkspaceInstanceStatus;
714
- getAdmission(): AdmissionLevel;
715
- setAdmission(value: AdmissionLevel): WorkspaceInstanceStatus;
716
-
717
- serializeBinary(): Uint8Array;
718
- toObject(includeInstance?: boolean): WorkspaceInstanceStatus.AsObject;
719
- static toObject(includeInstance: boolean, msg: WorkspaceInstanceStatus): WorkspaceInstanceStatus.AsObject;
720
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
721
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
722
- static serializeBinaryToWriter(message: WorkspaceInstanceStatus, writer: jspb.BinaryWriter): void;
723
- static deserializeBinary(bytes: Uint8Array): WorkspaceInstanceStatus;
724
- static deserializeBinaryFromReader(message: WorkspaceInstanceStatus, reader: jspb.BinaryReader): WorkspaceInstanceStatus;
725
- }
726
-
727
- export namespace WorkspaceInstanceStatus {
728
- export type AsObject = {
729
- statusVersion: number,
730
- phase: WorkspaceInstanceStatus.Phase,
731
- conditions?: WorkspaceInstanceStatus.Conditions.AsObject,
732
- message: string,
733
- url: string,
734
- admission: AdmissionLevel,
735
- }
736
-
737
-
738
- export class Conditions extends jspb.Message {
739
- getFailed(): string;
740
- setFailed(value: string): Conditions;
741
- getTimeout(): string;
742
- setTimeout(value: string): Conditions;
743
-
744
- hasFirstUserActivity(): boolean;
745
- clearFirstUserActivity(): void;
746
- getFirstUserActivity(): google_protobuf_timestamp_pb.Timestamp | undefined;
747
- setFirstUserActivity(value?: google_protobuf_timestamp_pb.Timestamp): Conditions;
748
-
749
- hasStoppedByRequest(): boolean;
750
- clearStoppedByRequest(): void;
751
- getStoppedByRequest(): boolean | undefined;
752
- setStoppedByRequest(value: boolean): Conditions;
753
-
754
- serializeBinary(): Uint8Array;
755
- toObject(includeInstance?: boolean): Conditions.AsObject;
756
- static toObject(includeInstance: boolean, msg: Conditions): Conditions.AsObject;
757
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
758
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
759
- static serializeBinaryToWriter(message: Conditions, writer: jspb.BinaryWriter): void;
760
- static deserializeBinary(bytes: Uint8Array): Conditions;
761
- static deserializeBinaryFromReader(message: Conditions, reader: jspb.BinaryReader): Conditions;
762
- }
763
-
764
- export namespace Conditions {
765
- export type AsObject = {
766
- failed: string,
767
- timeout: string,
768
- firstUserActivity?: google_protobuf_timestamp_pb.Timestamp.AsObject,
769
- stoppedByRequest?: boolean,
770
- }
771
- }
772
-
773
-
774
- export enum Phase {
775
- PHASE_UNSPECIFIED = 0,
776
- PHASE_PREPARING = 1,
777
- PHASE_IMAGEBUILD = 2,
778
- PHASE_PENDING = 3,
779
- PHASE_CREATING = 4,
780
- PHASE_INITIALIZING = 5,
781
- PHASE_RUNNING = 6,
782
- PHASE_INTERRUPTED = 7,
783
- PHASE_STOPPING = 8,
784
- PHASE_STOPPED = 9,
785
- }
786
-
787
- }
788
-
789
- export class StartWorkspaceSpec extends jspb.Message {
790
-
791
- serializeBinary(): Uint8Array;
792
- toObject(includeInstance?: boolean): StartWorkspaceSpec.AsObject;
793
- static toObject(includeInstance: boolean, msg: StartWorkspaceSpec): StartWorkspaceSpec.AsObject;
794
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
795
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
796
- static serializeBinaryToWriter(message: StartWorkspaceSpec, writer: jspb.BinaryWriter): void;
797
- static deserializeBinary(bytes: Uint8Array): StartWorkspaceSpec;
798
- static deserializeBinaryFromReader(message: StartWorkspaceSpec, reader: jspb.BinaryReader): StartWorkspaceSpec;
799
- }
800
-
801
- export namespace StartWorkspaceSpec {
802
- export type AsObject = {
803
- }
804
- }
805
-
806
- export enum AdmissionLevel {
807
- ADMISSION_LEVEL_UNSPECIFIED = 0,
808
- ADMISSION_LEVEL_OWNER_ONLY = 1,
809
- ADMISSION_LEVEL_EVERYONE = 2,
810
- }