@gitpod/public-api 0.1.5-mp-papi-cleanup-defs.1 → 0.1.5-mp-papi-delete-unneeded-apis.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,9 +98,9 @@ export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
98
98
  nextPageToken = "";
99
99
 
100
100
  /**
101
- * @generated from field: repeated gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance result = 2;
101
+ * @generated from field: repeated gitpod.v1.Workspace result = 2;
102
102
  */
103
- result: ListWorkspacesResponse_WorkspaceAndInstance[] = [];
103
+ result: Workspace[] = [];
104
104
 
105
105
  constructor(data?: PartialMessage<ListWorkspacesResponse>) {
106
106
  super();
@@ -111,7 +111,7 @@ export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
111
111
  static readonly typeName = "gitpod.v1.ListWorkspacesResponse";
112
112
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
113
113
  { no: 1, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
114
- { no: 2, name: "result", kind: "message", T: ListWorkspacesResponse_WorkspaceAndInstance, repeated: true },
114
+ { no: 2, name: "result", kind: "message", T: Workspace, repeated: true },
115
115
  ]);
116
116
 
117
117
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWorkspacesResponse {
@@ -131,49 +131,6 @@ export class ListWorkspacesResponse extends Message<ListWorkspacesResponse> {
131
131
  }
132
132
  }
133
133
 
134
- /**
135
- * @generated from message gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance
136
- */
137
- export class ListWorkspacesResponse_WorkspaceAndInstance extends Message<ListWorkspacesResponse_WorkspaceAndInstance> {
138
- /**
139
- * @generated from field: gitpod.v1.Workspace result = 1;
140
- */
141
- result?: Workspace;
142
-
143
- /**
144
- * @generated from field: gitpod.v1.WorkspaceInstance last_active_instances = 2;
145
- */
146
- lastActiveInstances?: WorkspaceInstance;
147
-
148
- constructor(data?: PartialMessage<ListWorkspacesResponse_WorkspaceAndInstance>) {
149
- super();
150
- proto3.util.initPartial(data, this);
151
- }
152
-
153
- static readonly runtime = proto3;
154
- static readonly typeName = "gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance";
155
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
156
- { no: 1, name: "result", kind: "message", T: Workspace },
157
- { no: 2, name: "last_active_instances", kind: "message", T: WorkspaceInstance },
158
- ]);
159
-
160
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWorkspacesResponse_WorkspaceAndInstance {
161
- return new ListWorkspacesResponse_WorkspaceAndInstance().fromBinary(bytes, options);
162
- }
163
-
164
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListWorkspacesResponse_WorkspaceAndInstance {
165
- return new ListWorkspacesResponse_WorkspaceAndInstance().fromJson(jsonValue, options);
166
- }
167
-
168
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListWorkspacesResponse_WorkspaceAndInstance {
169
- return new ListWorkspacesResponse_WorkspaceAndInstance().fromJsonString(jsonString, options);
170
- }
171
-
172
- static equals(a: ListWorkspacesResponse_WorkspaceAndInstance | PlainMessage<ListWorkspacesResponse_WorkspaceAndInstance> | undefined, b: ListWorkspacesResponse_WorkspaceAndInstance | PlainMessage<ListWorkspacesResponse_WorkspaceAndInstance> | undefined): boolean {
173
- return proto3.util.equals(ListWorkspacesResponse_WorkspaceAndInstance, a, b);
174
- }
175
- }
176
-
177
134
  /**
178
135
  * @generated from message gitpod.v1.GetWorkspaceRequest
179
136
  */
@@ -323,76 +280,267 @@ export class GetOwnerTokenResponse extends Message<GetOwnerTokenResponse> {
323
280
  }
324
281
 
325
282
  /**
326
- * @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest
283
+ * @generated from message gitpod.v1.CreateAndStartWorkspaceRequest
284
+ */
285
+ export class CreateAndStartWorkspaceRequest extends Message<CreateAndStartWorkspaceRequest> {
286
+ /**
287
+ * @generated from field: string idempotency_token = 1;
288
+ */
289
+ idempotencyToken = "";
290
+
291
+ /**
292
+ * @generated from oneof gitpod.v1.CreateAndStartWorkspaceRequest.source
293
+ */
294
+ source: {
295
+ /**
296
+ * @generated from field: string context_url = 2;
297
+ */
298
+ value: string;
299
+ case: "contextUrl";
300
+ } | {
301
+ /**
302
+ * @generated from field: string prebuild_id = 3;
303
+ */
304
+ value: string;
305
+ case: "prebuildId";
306
+ } | { case: undefined; value?: undefined } = { case: undefined };
307
+
308
+ /**
309
+ * @generated from field: gitpod.v1.StartWorkspaceSpec start_spec = 5;
310
+ */
311
+ startSpec?: StartWorkspaceSpec;
312
+
313
+ constructor(data?: PartialMessage<CreateAndStartWorkspaceRequest>) {
314
+ super();
315
+ proto3.util.initPartial(data, this);
316
+ }
317
+
318
+ static readonly runtime = proto3;
319
+ static readonly typeName = "gitpod.v1.CreateAndStartWorkspaceRequest";
320
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
321
+ { no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
322
+ { no: 2, name: "context_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
323
+ { no: 3, name: "prebuild_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
324
+ { no: 5, name: "start_spec", kind: "message", T: StartWorkspaceSpec },
325
+ ]);
326
+
327
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAndStartWorkspaceRequest {
328
+ return new CreateAndStartWorkspaceRequest().fromBinary(bytes, options);
329
+ }
330
+
331
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceRequest {
332
+ return new CreateAndStartWorkspaceRequest().fromJson(jsonValue, options);
333
+ }
334
+
335
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceRequest {
336
+ return new CreateAndStartWorkspaceRequest().fromJsonString(jsonString, options);
337
+ }
338
+
339
+ static equals(a: CreateAndStartWorkspaceRequest | PlainMessage<CreateAndStartWorkspaceRequest> | undefined, b: CreateAndStartWorkspaceRequest | PlainMessage<CreateAndStartWorkspaceRequest> | undefined): boolean {
340
+ return proto3.util.equals(CreateAndStartWorkspaceRequest, a, b);
341
+ }
342
+ }
343
+
344
+ /**
345
+ * @generated from message gitpod.v1.CreateAndStartWorkspaceResponse
327
346
  */
328
- export class GetWorkspaceInstanceOwnerTokenRequest extends Message<GetWorkspaceInstanceOwnerTokenRequest> {
347
+ export class CreateAndStartWorkspaceResponse extends Message<CreateAndStartWorkspaceResponse> {
348
+ /**
349
+ * @generated from field: string workspace_id = 1;
350
+ */
351
+ workspaceId = "";
352
+
353
+ constructor(data?: PartialMessage<CreateAndStartWorkspaceResponse>) {
354
+ super();
355
+ proto3.util.initPartial(data, this);
356
+ }
357
+
358
+ static readonly runtime = proto3;
359
+ static readonly typeName = "gitpod.v1.CreateAndStartWorkspaceResponse";
360
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
361
+ { no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
362
+ ]);
363
+
364
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAndStartWorkspaceResponse {
365
+ return new CreateAndStartWorkspaceResponse().fromBinary(bytes, options);
366
+ }
367
+
368
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceResponse {
369
+ return new CreateAndStartWorkspaceResponse().fromJson(jsonValue, options);
370
+ }
371
+
372
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAndStartWorkspaceResponse {
373
+ return new CreateAndStartWorkspaceResponse().fromJsonString(jsonString, options);
374
+ }
375
+
376
+ static equals(a: CreateAndStartWorkspaceResponse | PlainMessage<CreateAndStartWorkspaceResponse> | undefined, b: CreateAndStartWorkspaceResponse | PlainMessage<CreateAndStartWorkspaceResponse> | undefined): boolean {
377
+ return proto3.util.equals(CreateAndStartWorkspaceResponse, a, b);
378
+ }
379
+ }
380
+
381
+ /**
382
+ * @generated from message gitpod.v1.StartWorkspaceRequest
383
+ */
384
+ export class StartWorkspaceRequest extends Message<StartWorkspaceRequest> {
385
+ /**
386
+ * @generated from field: string idempotency_token = 1;
387
+ */
388
+ idempotencyToken = "";
389
+
390
+ /**
391
+ * @generated from field: string workspace_id = 2;
392
+ */
393
+ workspaceId = "";
394
+
395
+ /**
396
+ * @generated from field: gitpod.v1.StartWorkspaceSpec spec = 3;
397
+ */
398
+ spec?: StartWorkspaceSpec;
399
+
400
+ constructor(data?: PartialMessage<StartWorkspaceRequest>) {
401
+ super();
402
+ proto3.util.initPartial(data, this);
403
+ }
404
+
405
+ static readonly runtime = proto3;
406
+ static readonly typeName = "gitpod.v1.StartWorkspaceRequest";
407
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
408
+ { no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
409
+ { no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
410
+ { no: 3, name: "spec", kind: "message", T: StartWorkspaceSpec },
411
+ ]);
412
+
413
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceRequest {
414
+ return new StartWorkspaceRequest().fromBinary(bytes, options);
415
+ }
416
+
417
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceRequest {
418
+ return new StartWorkspaceRequest().fromJson(jsonValue, options);
419
+ }
420
+
421
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceRequest {
422
+ return new StartWorkspaceRequest().fromJsonString(jsonString, options);
423
+ }
424
+
425
+ static equals(a: StartWorkspaceRequest | PlainMessage<StartWorkspaceRequest> | undefined, b: StartWorkspaceRequest | PlainMessage<StartWorkspaceRequest> | undefined): boolean {
426
+ return proto3.util.equals(StartWorkspaceRequest, a, b);
427
+ }
428
+ }
429
+
430
+ /**
431
+ * @generated from message gitpod.v1.StartWorkspaceResponse
432
+ */
433
+ export class StartWorkspaceResponse extends Message<StartWorkspaceResponse> {
329
434
  /**
330
435
  * @generated from field: string instance_id = 1;
331
436
  */
332
437
  instanceId = "";
333
438
 
334
- constructor(data?: PartialMessage<GetWorkspaceInstanceOwnerTokenRequest>) {
439
+ /**
440
+ * @generated from field: string workspace_url = 2;
441
+ */
442
+ workspaceUrl = "";
443
+
444
+ constructor(data?: PartialMessage<StartWorkspaceResponse>) {
335
445
  super();
336
446
  proto3.util.initPartial(data, this);
337
447
  }
338
448
 
339
449
  static readonly runtime = proto3;
340
- static readonly typeName = "gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest";
450
+ static readonly typeName = "gitpod.v1.StartWorkspaceResponse";
341
451
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
342
452
  { no: 1, name: "instance_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
453
+ { no: 2, name: "workspace_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
343
454
  ]);
344
455
 
345
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkspaceInstanceOwnerTokenRequest {
346
- return new GetWorkspaceInstanceOwnerTokenRequest().fromBinary(bytes, options);
456
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceResponse {
457
+ return new StartWorkspaceResponse().fromBinary(bytes, options);
347
458
  }
348
459
 
349
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkspaceInstanceOwnerTokenRequest {
350
- return new GetWorkspaceInstanceOwnerTokenRequest().fromJson(jsonValue, options);
460
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceResponse {
461
+ return new StartWorkspaceResponse().fromJson(jsonValue, options);
351
462
  }
352
463
 
353
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkspaceInstanceOwnerTokenRequest {
354
- return new GetWorkspaceInstanceOwnerTokenRequest().fromJsonString(jsonString, options);
464
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceResponse {
465
+ return new StartWorkspaceResponse().fromJsonString(jsonString, options);
355
466
  }
356
467
 
357
- static equals(a: GetWorkspaceInstanceOwnerTokenRequest | PlainMessage<GetWorkspaceInstanceOwnerTokenRequest> | undefined, b: GetWorkspaceInstanceOwnerTokenRequest | PlainMessage<GetWorkspaceInstanceOwnerTokenRequest> | undefined): boolean {
358
- return proto3.util.equals(GetWorkspaceInstanceOwnerTokenRequest, a, b);
468
+ static equals(a: StartWorkspaceResponse | PlainMessage<StartWorkspaceResponse> | undefined, b: StartWorkspaceResponse | PlainMessage<StartWorkspaceResponse> | undefined): boolean {
469
+ return proto3.util.equals(StartWorkspaceResponse, a, b);
359
470
  }
360
471
  }
361
472
 
362
473
  /**
363
- * @generated from message gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse
474
+ * @generated from message gitpod.v1.StopWorkspaceRequest
364
475
  */
365
- export class GetWorkspaceInstanceOwnerTokenResponse extends Message<GetWorkspaceInstanceOwnerTokenResponse> {
476
+ export class StopWorkspaceRequest extends Message<StopWorkspaceRequest> {
366
477
  /**
367
- * @generated from field: string owner_token = 1;
478
+ * @generated from field: string idempotency_token = 1;
368
479
  */
369
- ownerToken = "";
480
+ idempotencyToken = "";
370
481
 
371
- constructor(data?: PartialMessage<GetWorkspaceInstanceOwnerTokenResponse>) {
482
+ /**
483
+ * @generated from field: string workspace_id = 2;
484
+ */
485
+ workspaceId = "";
486
+
487
+ constructor(data?: PartialMessage<StopWorkspaceRequest>) {
488
+ super();
489
+ proto3.util.initPartial(data, this);
490
+ }
491
+
492
+ static readonly runtime = proto3;
493
+ static readonly typeName = "gitpod.v1.StopWorkspaceRequest";
494
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
495
+ { no: 1, name: "idempotency_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
496
+ { no: 2, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
497
+ ]);
498
+
499
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopWorkspaceRequest {
500
+ return new StopWorkspaceRequest().fromBinary(bytes, options);
501
+ }
502
+
503
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopWorkspaceRequest {
504
+ return new StopWorkspaceRequest().fromJson(jsonValue, options);
505
+ }
506
+
507
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopWorkspaceRequest {
508
+ return new StopWorkspaceRequest().fromJsonString(jsonString, options);
509
+ }
510
+
511
+ static equals(a: StopWorkspaceRequest | PlainMessage<StopWorkspaceRequest> | undefined, b: StopWorkspaceRequest | PlainMessage<StopWorkspaceRequest> | undefined): boolean {
512
+ return proto3.util.equals(StopWorkspaceRequest, a, b);
513
+ }
514
+ }
515
+
516
+ /**
517
+ * @generated from message gitpod.v1.StopWorkspaceResponse
518
+ */
519
+ export class StopWorkspaceResponse extends Message<StopWorkspaceResponse> {
520
+ constructor(data?: PartialMessage<StopWorkspaceResponse>) {
372
521
  super();
373
522
  proto3.util.initPartial(data, this);
374
523
  }
375
524
 
376
525
  static readonly runtime = proto3;
377
- static readonly typeName = "gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse";
526
+ static readonly typeName = "gitpod.v1.StopWorkspaceResponse";
378
527
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
379
- { no: 1, name: "owner_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
380
528
  ]);
381
529
 
382
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorkspaceInstanceOwnerTokenResponse {
383
- return new GetWorkspaceInstanceOwnerTokenResponse().fromBinary(bytes, options);
530
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopWorkspaceResponse {
531
+ return new StopWorkspaceResponse().fromBinary(bytes, options);
384
532
  }
385
533
 
386
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorkspaceInstanceOwnerTokenResponse {
387
- return new GetWorkspaceInstanceOwnerTokenResponse().fromJson(jsonValue, options);
534
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopWorkspaceResponse {
535
+ return new StopWorkspaceResponse().fromJson(jsonValue, options);
388
536
  }
389
537
 
390
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorkspaceInstanceOwnerTokenResponse {
391
- return new GetWorkspaceInstanceOwnerTokenResponse().fromJsonString(jsonString, options);
538
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopWorkspaceResponse {
539
+ return new StopWorkspaceResponse().fromJsonString(jsonString, options);
392
540
  }
393
541
 
394
- static equals(a: GetWorkspaceInstanceOwnerTokenResponse | PlainMessage<GetWorkspaceInstanceOwnerTokenResponse> | undefined, b: GetWorkspaceInstanceOwnerTokenResponse | PlainMessage<GetWorkspaceInstanceOwnerTokenResponse> | undefined): boolean {
395
- return proto3.util.equals(GetWorkspaceInstanceOwnerTokenResponse, a, b);
542
+ static equals(a: StopWorkspaceResponse | PlainMessage<StopWorkspaceResponse> | undefined, b: StopWorkspaceResponse | PlainMessage<StopWorkspaceResponse> | undefined): boolean {
543
+ return proto3.util.equals(StopWorkspaceResponse, a, b);
396
544
  }
397
545
  }
398
546
 
@@ -437,6 +585,13 @@ export class Workspace extends Message<Workspace> {
437
585
  */
438
586
  description = "";
439
587
 
588
+ /**
589
+ * status is the current status of this Workspace.
590
+ *
591
+ * @generated from field: gitpod.v1.WorkspaceStatus status = 6;
592
+ */
593
+ status?: WorkspaceStatus;
594
+
440
595
  constructor(data?: PartialMessage<Workspace>) {
441
596
  super();
442
597
  proto3.util.initPartial(data, this);
@@ -450,6 +605,7 @@ export class Workspace extends Message<Workspace> {
450
605
  { no: 3, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
451
606
  { no: 4, name: "context", kind: "message", T: WorkspaceContext },
452
607
  { no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
608
+ { no: 6, name: "status", kind: "message", T: WorkspaceStatus },
453
609
  ]);
454
610
 
455
611
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Workspace {
@@ -469,6 +625,47 @@ export class Workspace extends Message<Workspace> {
469
625
  }
470
626
  }
471
627
 
628
+ /**
629
+ * WorkspaceStatus represents the currently observed status of a Workspace, including data about child resources that belong to this Workspace.
630
+ *
631
+ * @generated from message gitpod.v1.WorkspaceStatus
632
+ */
633
+ export class WorkspaceStatus extends Message<WorkspaceStatus> {
634
+ /**
635
+ * instance is the currently assigned WorkspaceInstance to this workspace. Empty when there is no WorkspaceInstance assigned.
636
+ *
637
+ * @generated from field: gitpod.v1.WorkspaceInstance instance = 1;
638
+ */
639
+ instance?: WorkspaceInstance;
640
+
641
+ constructor(data?: PartialMessage<WorkspaceStatus>) {
642
+ super();
643
+ proto3.util.initPartial(data, this);
644
+ }
645
+
646
+ static readonly runtime = proto3;
647
+ static readonly typeName = "gitpod.v1.WorkspaceStatus";
648
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
649
+ { no: 1, name: "instance", kind: "message", T: WorkspaceInstance },
650
+ ]);
651
+
652
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkspaceStatus {
653
+ return new WorkspaceStatus().fromBinary(bytes, options);
654
+ }
655
+
656
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkspaceStatus {
657
+ return new WorkspaceStatus().fromJson(jsonValue, options);
658
+ }
659
+
660
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkspaceStatus {
661
+ return new WorkspaceStatus().fromJsonString(jsonString, options);
662
+ }
663
+
664
+ static equals(a: WorkspaceStatus | PlainMessage<WorkspaceStatus> | undefined, b: WorkspaceStatus | PlainMessage<WorkspaceStatus> | undefined): boolean {
665
+ return proto3.util.equals(WorkspaceStatus, a, b);
666
+ }
667
+ }
668
+
472
669
  /**
473
670
  * WorkspaceContext describes the context a workspace was created from
474
671
  *
@@ -985,3 +1182,38 @@ export class WorkspaceInstanceStatus_Conditions extends Message<WorkspaceInstanc
985
1182
  return proto3.util.equals(WorkspaceInstanceStatus_Conditions, a, b);
986
1183
  }
987
1184
  }
1185
+
1186
+ /**
1187
+ * StartWorkspaceSpec influences the workspace start
1188
+ *
1189
+ * future per-workspace-start fields, e.g. region
1190
+ *
1191
+ * @generated from message gitpod.v1.StartWorkspaceSpec
1192
+ */
1193
+ export class StartWorkspaceSpec extends Message<StartWorkspaceSpec> {
1194
+ constructor(data?: PartialMessage<StartWorkspaceSpec>) {
1195
+ super();
1196
+ proto3.util.initPartial(data, this);
1197
+ }
1198
+
1199
+ static readonly runtime = proto3;
1200
+ static readonly typeName = "gitpod.v1.StartWorkspaceSpec";
1201
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
1202
+ ]);
1203
+
1204
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartWorkspaceSpec {
1205
+ return new StartWorkspaceSpec().fromBinary(bytes, options);
1206
+ }
1207
+
1208
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartWorkspaceSpec {
1209
+ return new StartWorkspaceSpec().fromJson(jsonValue, options);
1210
+ }
1211
+
1212
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartWorkspaceSpec {
1213
+ return new StartWorkspaceSpec().fromJsonString(jsonString, options);
1214
+ }
1215
+
1216
+ static equals(a: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined, b: StartWorkspaceSpec | PlainMessage<StartWorkspaceSpec> | undefined): boolean {
1217
+ return proto3.util.equals(StartWorkspaceSpec, a, b);
1218
+ }
1219
+ }
package/package.json CHANGED
@@ -25,5 +25,5 @@
25
25
  "test:brk": "yarn test --inspect-brk",
26
26
  "watch": "leeway exec --package .:lib --transitive-dependencies --filter-type yarn --components --parallel -- tsc -w --preserveWatchOutput"
27
27
  },
28
- "version": "0.1.5-mp-papi-cleanup-defs.1"
28
+ "version": "0.1.5-mp-papi-delete-unneeded-apis.1"
29
29
  }
package/pkg-yarn.lock CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  "@gitpod/public-api@0.1.5":
6
6
  version "0.1.5"
7
- resolved "file:///tmp/cache/69cb888a07c420e6d44b2500fa1a8ca781ce27d1.tar.gz"
7
+ resolved "file:///tmp/cache/c9ff150744e77d77906643eafacf26f3c98b0280.tar.gz"
8
8
  dependencies:
9
9
  "@bufbuild/connect-web" "^0.2.1"
10
10
  "@bufbuild/protobuf" "^0.1.1"