@liquidmetal-ai/drizzle 0.1.3 → 0.2.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.
@@ -3,6 +3,57 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
6
+ /**
7
+ * UnitState is the state of an application, module or resource.
8
+ *
9
+ * @generated from enum liquidmetal.v1alpha1.UnitState
10
+ */
11
+ export var UnitState;
12
+ (function (UnitState) {
13
+ /**
14
+ * @generated from enum value: UNIT_STATE_UNSPECIFIED = 0;
15
+ */
16
+ UnitState[UnitState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
17
+ /**
18
+ * @generated from enum value: UNIT_STATE_PENDING = 1;
19
+ */
20
+ UnitState[UnitState["PENDING"] = 1] = "PENDING";
21
+ /**
22
+ * @generated from enum value: UNIT_STATE_STARTING = 2;
23
+ */
24
+ UnitState[UnitState["STARTING"] = 2] = "STARTING";
25
+ /**
26
+ * @generated from enum value: UNIT_STATE_RUNNING = 3;
27
+ */
28
+ UnitState[UnitState["RUNNING"] = 3] = "RUNNING";
29
+ /**
30
+ * @generated from enum value: UNIT_STATE_STOPPING = 4;
31
+ */
32
+ UnitState[UnitState["STOPPING"] = 4] = "STOPPING";
33
+ /**
34
+ * @generated from enum value: UNIT_STATE_STOPPED = 5;
35
+ */
36
+ UnitState[UnitState["STOPPED"] = 5] = "STOPPED";
37
+ /**
38
+ * @generated from enum value: UNIT_STATE_DELETING = 6;
39
+ */
40
+ UnitState[UnitState["DELETING"] = 6] = "DELETING";
41
+ /**
42
+ * @generated from enum value: UNIT_STATE_DELETED = 7;
43
+ */
44
+ UnitState[UnitState["DELETED"] = 7] = "DELETED";
45
+ })(UnitState || (UnitState = {}));
46
+ // Retrieve enum metadata with: proto3.getEnumType(UnitState)
47
+ proto3.util.setEnumType(UnitState, "liquidmetal.v1alpha1.UnitState", [
48
+ { no: 0, name: "UNIT_STATE_UNSPECIFIED" },
49
+ { no: 1, name: "UNIT_STATE_PENDING" },
50
+ { no: 2, name: "UNIT_STATE_STARTING" },
51
+ { no: 3, name: "UNIT_STATE_RUNNING" },
52
+ { no: 4, name: "UNIT_STATE_STOPPING" },
53
+ { no: 5, name: "UNIT_STATE_STOPPED" },
54
+ { no: 6, name: "UNIT_STATE_DELETING" },
55
+ { no: 7, name: "UNIT_STATE_DELETED" },
56
+ ]);
6
57
  /**
7
58
  * @generated from enum liquidmetal.v1alpha1.BundleArchiveType
8
59
  */
@@ -22,6 +73,30 @@ proto3.util.setEnumType(BundleArchiveType, "liquidmetal.v1alpha1.BundleArchiveTy
22
73
  { no: 0, name: "BUNDLE_ARCHIVE_TYPE_UNSPECIFIED" },
23
74
  { no: 1, name: "BUNDLE_ARCHIVE_TYPE_ZIP" },
24
75
  ]);
76
+ /**
77
+ * @generated from enum liquidmetal.v1alpha1.WatchResponseEventType
78
+ */
79
+ export var WatchResponseEventType;
80
+ (function (WatchResponseEventType) {
81
+ /**
82
+ * @generated from enum value: WATCH_RESPONSE_EVENT_TYPE_UNSPECIFIED = 0;
83
+ */
84
+ WatchResponseEventType[WatchResponseEventType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
85
+ /**
86
+ * @generated from enum value: WATCH_RESPONSE_EVENT_TYPE_MESSAGE = 1;
87
+ */
88
+ WatchResponseEventType[WatchResponseEventType["MESSAGE"] = 1] = "MESSAGE";
89
+ /**
90
+ * @generated from enum value: WATCH_RESPONSE_EVENT_TYPE_COMPLETE = 2;
91
+ */
92
+ WatchResponseEventType[WatchResponseEventType["COMPLETE"] = 2] = "COMPLETE";
93
+ })(WatchResponseEventType || (WatchResponseEventType = {}));
94
+ // Retrieve enum metadata with: proto3.getEnumType(WatchResponseEventType)
95
+ proto3.util.setEnumType(WatchResponseEventType, "liquidmetal.v1alpha1.WatchResponseEventType", [
96
+ { no: 0, name: "WATCH_RESPONSE_EVENT_TYPE_UNSPECIFIED" },
97
+ { no: 1, name: "WATCH_RESPONSE_EVENT_TYPE_MESSAGE" },
98
+ { no: 2, name: "WATCH_RESPONSE_EVENT_TYPE_COMPLETE" },
99
+ ]);
25
100
  /**
26
101
  * @generated from message liquidmetal.v1alpha1.ApplicationsRequest
27
102
  */
@@ -148,6 +223,22 @@ export class ApplicationsResponse_Application extends Message {
148
223
  * @generated from field: string organization_id = 9;
149
224
  */
150
225
  organizationId = "";
226
+ /**
227
+ * @generated from field: optional string branch = 10;
228
+ */
229
+ branch;
230
+ /**
231
+ * @generated from field: bool is_sandboxed = 11;
232
+ */
233
+ isSandboxed = false;
234
+ /**
235
+ * @generated from field: optional string previous_version_id = 12;
236
+ */
237
+ previousVersionId;
238
+ /**
239
+ * @generated from field: liquidmetal.v1alpha1.UnitState state = 13;
240
+ */
241
+ state = UnitState.UNSPECIFIED;
151
242
  constructor(data) {
152
243
  super();
153
244
  proto3.util.initPartial(data, this);
@@ -164,6 +255,10 @@ export class ApplicationsResponse_Application extends Message {
164
255
  { no: 7, name: "deleted_at", kind: "message", T: Timestamp, opt: true },
165
256
  { no: 8, name: "is_active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
166
257
  { no: 9, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
258
+ { no: 10, name: "branch", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
259
+ { no: 11, name: "is_sandboxed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
260
+ { no: 12, name: "previous_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
261
+ { no: 13, name: "state", kind: "enum", T: proto3.getEnumType(UnitState) },
167
262
  ]);
168
263
  static fromBinary(bytes, options) {
169
264
  return new ApplicationsResponse_Application().fromBinary(bytes, options);
@@ -316,205 +411,243 @@ export class InternalApplicationsRequestPaginationToken extends Message {
316
411
  }
317
412
  }
318
413
  /**
319
- * @generated from message liquidmetal.v1alpha1.CreateApplicationsRequest
414
+ * @generated from message liquidmetal.v1alpha1.UploadBundleRequest
320
415
  */
321
- export class CreateApplicationsRequest extends Message {
322
- /**
323
- * @generated from field: repeated liquidmetal.v1alpha1.CreateApplicationsRequest.Application applications = 1;
324
- */
325
- applications = [];
416
+ export class UploadBundleRequest extends Message {
326
417
  /**
327
- * @generated from field: string user_id = 2;
418
+ * @generated from field: string user_id = 1;
328
419
  */
329
420
  userId = "";
330
421
  /**
331
- * @generated from field: string organization_id = 3;
422
+ * @generated from field: string organization_id = 2;
332
423
  */
333
424
  organizationId = "";
334
425
  /**
335
- * @generated from field: optional string suite = 4;
426
+ * @generated from field: string application_name = 3;
336
427
  */
337
- suite;
428
+ applicationName = "";
429
+ /**
430
+ * @generated from field: string application_version_id = 4;
431
+ */
432
+ applicationVersionId = "";
433
+ /**
434
+ * @generated from field: string bundle_name = 5;
435
+ */
436
+ bundleName = "";
437
+ /**
438
+ * @generated from field: liquidmetal.v1alpha1.BundleArchiveType archive_type = 6;
439
+ */
440
+ archiveType = BundleArchiveType.UNSPECIFIED;
441
+ /**
442
+ * @generated from field: bytes archive = 7;
443
+ */
444
+ archive = new Uint8Array(0);
338
445
  constructor(data) {
339
446
  super();
340
447
  proto3.util.initPartial(data, this);
341
448
  }
342
449
  static runtime = proto3;
343
- static typeName = "liquidmetal.v1alpha1.CreateApplicationsRequest";
450
+ static typeName = "liquidmetal.v1alpha1.UploadBundleRequest";
344
451
  static fields = proto3.util.newFieldList(() => [
345
- { no: 1, name: "applications", kind: "message", T: CreateApplicationsRequest_Application, repeated: true },
346
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
347
- { no: 3, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
348
- { no: 4, name: "suite", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
452
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
453
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
454
+ { no: 3, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
455
+ { no: 4, name: "application_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
456
+ { no: 5, name: "bundle_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
457
+ { no: 6, name: "archive_type", kind: "enum", T: proto3.getEnumType(BundleArchiveType) },
458
+ { no: 7, name: "archive", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
349
459
  ]);
350
460
  static fromBinary(bytes, options) {
351
- return new CreateApplicationsRequest().fromBinary(bytes, options);
461
+ return new UploadBundleRequest().fromBinary(bytes, options);
352
462
  }
353
463
  static fromJson(jsonValue, options) {
354
- return new CreateApplicationsRequest().fromJson(jsonValue, options);
464
+ return new UploadBundleRequest().fromJson(jsonValue, options);
355
465
  }
356
466
  static fromJsonString(jsonString, options) {
357
- return new CreateApplicationsRequest().fromJsonString(jsonString, options);
467
+ return new UploadBundleRequest().fromJsonString(jsonString, options);
358
468
  }
359
469
  static equals(a, b) {
360
- return proto3.util.equals(CreateApplicationsRequest, a, b);
470
+ return proto3.util.equals(UploadBundleRequest, a, b);
361
471
  }
362
472
  }
363
473
  /**
364
- * @generated from message liquidmetal.v1alpha1.CreateApplicationsRequest.ApplicationMetadata
474
+ * @generated from message liquidmetal.v1alpha1.UploadBundleResponse
365
475
  */
366
- export class CreateApplicationsRequest_ApplicationMetadata extends Message {
367
- /**
368
- * @generated from field: string runtime_version = 1;
369
- */
370
- runtimeVersion = "";
476
+ export class UploadBundleResponse extends Message {
371
477
  constructor(data) {
372
478
  super();
373
479
  proto3.util.initPartial(data, this);
374
480
  }
375
481
  static runtime = proto3;
376
- static typeName = "liquidmetal.v1alpha1.CreateApplicationsRequest.ApplicationMetadata";
377
- static fields = proto3.util.newFieldList(() => [
378
- { no: 1, name: "runtime_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
379
- ]);
482
+ static typeName = "liquidmetal.v1alpha1.UploadBundleResponse";
483
+ static fields = proto3.util.newFieldList(() => []);
380
484
  static fromBinary(bytes, options) {
381
- return new CreateApplicationsRequest_ApplicationMetadata().fromBinary(bytes, options);
485
+ return new UploadBundleResponse().fromBinary(bytes, options);
382
486
  }
383
487
  static fromJson(jsonValue, options) {
384
- return new CreateApplicationsRequest_ApplicationMetadata().fromJson(jsonValue, options);
488
+ return new UploadBundleResponse().fromJson(jsonValue, options);
385
489
  }
386
490
  static fromJsonString(jsonString, options) {
387
- return new CreateApplicationsRequest_ApplicationMetadata().fromJsonString(jsonString, options);
491
+ return new UploadBundleResponse().fromJsonString(jsonString, options);
388
492
  }
389
493
  static equals(a, b) {
390
- return proto3.util.equals(CreateApplicationsRequest_ApplicationMetadata, a, b);
494
+ return proto3.util.equals(UploadBundleResponse, a, b);
391
495
  }
392
496
  }
393
497
  /**
394
- * @generated from message liquidmetal.v1alpha1.CreateApplicationsRequest.Application
498
+ * @generated from message liquidmetal.v1alpha1.QueryResourcesRequest
395
499
  */
396
- export class CreateApplicationsRequest_Application extends Message {
397
- /**
398
- * @generated from field: string name = 1;
399
- */
400
- name = "";
401
- /**
402
- * @generated from oneof liquidmetal.v1alpha1.CreateApplicationsRequest.Application.version
403
- */
404
- version = { case: undefined };
500
+ export class QueryResourcesRequest extends Message {
405
501
  /**
406
- * @generated from field: string manifest = 4;
502
+ * @generated from field: string user_id = 1;
407
503
  */
408
- manifest = "";
504
+ userId = "";
409
505
  /**
410
- * @generated from field: string manifest_json = 5;
506
+ * @generated from field: string organization_id = 2;
411
507
  */
412
- manifestJson = "";
508
+ organizationId = "";
413
509
  /**
414
- * @generated from field: bool is_active = 6;
510
+ * @generated from field: string application_name = 3;
415
511
  */
416
- isActive = false;
512
+ applicationName = "";
417
513
  /**
418
- * @generated from field: liquidmetal.v1alpha1.CreateApplicationsRequest.ApplicationMetadata metadata = 7;
514
+ * @generated from field: string application_version_id = 4;
419
515
  */
420
- metadata;
516
+ applicationVersionId = "";
421
517
  constructor(data) {
422
518
  super();
423
519
  proto3.util.initPartial(data, this);
424
520
  }
425
521
  static runtime = proto3;
426
- static typeName = "liquidmetal.v1alpha1.CreateApplicationsRequest.Application";
522
+ static typeName = "liquidmetal.v1alpha1.QueryResourcesRequest";
427
523
  static fields = proto3.util.newFieldList(() => [
428
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
429
- { no: 2, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "version" },
430
- { no: 3, name: "previous_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "version" },
431
- { no: 4, name: "manifest", kind: "scalar", T: 9 /* ScalarType.STRING */ },
432
- { no: 5, name: "manifest_json", kind: "scalar", T: 9 /* ScalarType.STRING */ },
433
- { no: 6, name: "is_active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
434
- { no: 7, name: "metadata", kind: "message", T: CreateApplicationsRequest_ApplicationMetadata },
524
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
525
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
526
+ { no: 3, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
527
+ { no: 4, name: "application_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
435
528
  ]);
436
529
  static fromBinary(bytes, options) {
437
- return new CreateApplicationsRequest_Application().fromBinary(bytes, options);
530
+ return new QueryResourcesRequest().fromBinary(bytes, options);
438
531
  }
439
532
  static fromJson(jsonValue, options) {
440
- return new CreateApplicationsRequest_Application().fromJson(jsonValue, options);
533
+ return new QueryResourcesRequest().fromJson(jsonValue, options);
441
534
  }
442
535
  static fromJsonString(jsonString, options) {
443
- return new CreateApplicationsRequest_Application().fromJsonString(jsonString, options);
536
+ return new QueryResourcesRequest().fromJsonString(jsonString, options);
444
537
  }
445
538
  static equals(a, b) {
446
- return proto3.util.equals(CreateApplicationsRequest_Application, a, b);
539
+ return proto3.util.equals(QueryResourcesRequest, a, b);
447
540
  }
448
541
  }
449
542
  /**
450
- * @generated from message liquidmetal.v1alpha1.CreateApplicationsResponse
543
+ * @generated from message liquidmetal.v1alpha1.QueryResourcesResponse
451
544
  */
452
- export class CreateApplicationsResponse extends Message {
545
+ export class QueryResourcesResponse extends Message {
453
546
  /**
454
- * @generated from field: repeated liquidmetal.v1alpha1.CreateApplicationsResponse.Application applications = 1;
547
+ * @generated from field: repeated liquidmetal.v1alpha1.QueryResourcesResponse.Resource resources = 1;
455
548
  */
456
- applications = [];
549
+ resources = [];
550
+ /**
551
+ * @generated from field: optional string next_page_token = 2;
552
+ */
553
+ nextPageToken;
457
554
  constructor(data) {
458
555
  super();
459
556
  proto3.util.initPartial(data, this);
460
557
  }
461
558
  static runtime = proto3;
462
- static typeName = "liquidmetal.v1alpha1.CreateApplicationsResponse";
559
+ static typeName = "liquidmetal.v1alpha1.QueryResourcesResponse";
463
560
  static fields = proto3.util.newFieldList(() => [
464
- { no: 1, name: "applications", kind: "message", T: CreateApplicationsResponse_Application, repeated: true },
561
+ { no: 1, name: "resources", kind: "message", T: QueryResourcesResponse_Resource, repeated: true },
562
+ { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
465
563
  ]);
466
564
  static fromBinary(bytes, options) {
467
- return new CreateApplicationsResponse().fromBinary(bytes, options);
565
+ return new QueryResourcesResponse().fromBinary(bytes, options);
468
566
  }
469
567
  static fromJson(jsonValue, options) {
470
- return new CreateApplicationsResponse().fromJson(jsonValue, options);
568
+ return new QueryResourcesResponse().fromJson(jsonValue, options);
471
569
  }
472
570
  static fromJsonString(jsonString, options) {
473
- return new CreateApplicationsResponse().fromJsonString(jsonString, options);
571
+ return new QueryResourcesResponse().fromJsonString(jsonString, options);
474
572
  }
475
573
  static equals(a, b) {
476
- return proto3.util.equals(CreateApplicationsResponse, a, b);
574
+ return proto3.util.equals(QueryResourcesResponse, a, b);
477
575
  }
478
576
  }
479
577
  /**
480
- * @generated from message liquidmetal.v1alpha1.CreateApplicationsResponse.Application
578
+ * @generated from message liquidmetal.v1alpha1.QueryResourcesResponse.Resource
481
579
  */
482
- export class CreateApplicationsResponse_Application extends Message {
580
+ export class QueryResourcesResponse_Resource extends Message {
483
581
  /**
484
- * @generated from field: string name = 1;
582
+ * @generated from field: string organization_id = 1;
583
+ */
584
+ organizationId = "";
585
+ /**
586
+ * @generated from field: string application_name = 2;
587
+ */
588
+ applicationName = "";
589
+ /**
590
+ * @generated from field: string application_version_id = 3;
591
+ */
592
+ applicationVersionId = "";
593
+ /**
594
+ * @generated from field: string resource_id = 4;
595
+ */
596
+ resourceId = "";
597
+ /**
598
+ * @generated from field: string name = 5;
485
599
  */
486
600
  name = "";
487
601
  /**
488
- * @generated from field: string version_id = 2;
602
+ * @generated from field: string type = 6;
489
603
  */
490
- versionId = "";
604
+ type = "";
605
+ /**
606
+ * @generated from field: google.protobuf.Struct attributes = 8;
607
+ */
608
+ attributes;
609
+ /**
610
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
611
+ */
612
+ createdAt;
613
+ /**
614
+ * @generated from field: google.protobuf.Timestamp updated_at = 10;
615
+ */
616
+ updatedAt;
491
617
  constructor(data) {
492
618
  super();
493
619
  proto3.util.initPartial(data, this);
494
620
  }
495
621
  static runtime = proto3;
496
- static typeName = "liquidmetal.v1alpha1.CreateApplicationsResponse.Application";
622
+ static typeName = "liquidmetal.v1alpha1.QueryResourcesResponse.Resource";
497
623
  static fields = proto3.util.newFieldList(() => [
498
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
499
- { no: 2, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
624
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
625
+ { no: 2, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
626
+ { no: 3, name: "application_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
627
+ { no: 4, name: "resource_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
628
+ { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
629
+ { no: 6, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
630
+ { no: 8, name: "attributes", kind: "message", T: Struct },
631
+ { no: 9, name: "created_at", kind: "message", T: Timestamp },
632
+ { no: 10, name: "updated_at", kind: "message", T: Timestamp },
500
633
  ]);
501
634
  static fromBinary(bytes, options) {
502
- return new CreateApplicationsResponse_Application().fromBinary(bytes, options);
635
+ return new QueryResourcesResponse_Resource().fromBinary(bytes, options);
503
636
  }
504
637
  static fromJson(jsonValue, options) {
505
- return new CreateApplicationsResponse_Application().fromJson(jsonValue, options);
638
+ return new QueryResourcesResponse_Resource().fromJson(jsonValue, options);
506
639
  }
507
640
  static fromJsonString(jsonString, options) {
508
- return new CreateApplicationsResponse_Application().fromJsonString(jsonString, options);
641
+ return new QueryResourcesResponse_Resource().fromJsonString(jsonString, options);
509
642
  }
510
643
  static equals(a, b) {
511
- return proto3.util.equals(CreateApplicationsResponse_Application, a, b);
644
+ return proto3.util.equals(QueryResourcesResponse_Resource, a, b);
512
645
  }
513
646
  }
514
647
  /**
515
- * @generated from message liquidmetal.v1alpha1.VersionsRequest
648
+ * @generated from message liquidmetal.v1alpha1.DeployRequest
516
649
  */
517
- export class VersionsRequest extends Message {
650
+ export class DeployRequest extends Message {
518
651
  /**
519
652
  * @generated from field: string user_id = 1;
520
653
  */
@@ -524,347 +657,338 @@ export class VersionsRequest extends Message {
524
657
  */
525
658
  organizationId = "";
526
659
  /**
527
- * @generated from field: optional string next_page_token = 3;
660
+ * @generated from field: repeated liquidmetal.v1alpha1.DeployRequest.Application applications = 3;
528
661
  */
529
- nextPageToken;
662
+ applications = [];
530
663
  constructor(data) {
531
664
  super();
532
665
  proto3.util.initPartial(data, this);
533
666
  }
534
667
  static runtime = proto3;
535
- static typeName = "liquidmetal.v1alpha1.VersionsRequest";
668
+ static typeName = "liquidmetal.v1alpha1.DeployRequest";
536
669
  static fields = proto3.util.newFieldList(() => [
537
670
  { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
538
671
  { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
539
- { no: 3, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
672
+ { no: 3, name: "applications", kind: "message", T: DeployRequest_Application, repeated: true },
540
673
  ]);
541
674
  static fromBinary(bytes, options) {
542
- return new VersionsRequest().fromBinary(bytes, options);
675
+ return new DeployRequest().fromBinary(bytes, options);
543
676
  }
544
677
  static fromJson(jsonValue, options) {
545
- return new VersionsRequest().fromJson(jsonValue, options);
678
+ return new DeployRequest().fromJson(jsonValue, options);
546
679
  }
547
680
  static fromJsonString(jsonString, options) {
548
- return new VersionsRequest().fromJsonString(jsonString, options);
681
+ return new DeployRequest().fromJsonString(jsonString, options);
549
682
  }
550
683
  static equals(a, b) {
551
- return proto3.util.equals(VersionsRequest, a, b);
684
+ return proto3.util.equals(DeployRequest, a, b);
552
685
  }
553
686
  }
554
687
  /**
555
- * @generated from message liquidmetal.v1alpha1.VersionsResponse
688
+ * @generated from message liquidmetal.v1alpha1.DeployRequest.ApplicationMetadata
556
689
  */
557
- export class VersionsResponse extends Message {
690
+ export class DeployRequest_ApplicationMetadata extends Message {
558
691
  /**
559
- * @generated from field: repeated liquidmetal.v1alpha1.VersionsResponse.Version versions = 1;
560
- */
561
- versions = [];
562
- /**
563
- * @generated from field: optional string next_page_token = 2;
692
+ * @generated from field: string runtime_version = 1;
564
693
  */
565
- nextPageToken;
694
+ runtimeVersion = "";
566
695
  constructor(data) {
567
696
  super();
568
697
  proto3.util.initPartial(data, this);
569
698
  }
570
699
  static runtime = proto3;
571
- static typeName = "liquidmetal.v1alpha1.VersionsResponse";
700
+ static typeName = "liquidmetal.v1alpha1.DeployRequest.ApplicationMetadata";
572
701
  static fields = proto3.util.newFieldList(() => [
573
- { no: 1, name: "versions", kind: "message", T: VersionsResponse_Version, repeated: true },
574
- { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
702
+ { no: 1, name: "runtime_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
575
703
  ]);
576
704
  static fromBinary(bytes, options) {
577
- return new VersionsResponse().fromBinary(bytes, options);
705
+ return new DeployRequest_ApplicationMetadata().fromBinary(bytes, options);
578
706
  }
579
707
  static fromJson(jsonValue, options) {
580
- return new VersionsResponse().fromJson(jsonValue, options);
708
+ return new DeployRequest_ApplicationMetadata().fromJson(jsonValue, options);
581
709
  }
582
710
  static fromJsonString(jsonString, options) {
583
- return new VersionsResponse().fromJsonString(jsonString, options);
711
+ return new DeployRequest_ApplicationMetadata().fromJsonString(jsonString, options);
584
712
  }
585
713
  static equals(a, b) {
586
- return proto3.util.equals(VersionsResponse, a, b);
714
+ return proto3.util.equals(DeployRequest_ApplicationMetadata, a, b);
587
715
  }
588
716
  }
589
717
  /**
590
- * @generated from message liquidmetal.v1alpha1.VersionsResponse.Version
718
+ * @generated from message liquidmetal.v1alpha1.DeployRequest.Application
591
719
  */
592
- export class VersionsResponse_Version extends Message {
720
+ export class DeployRequest_Application extends Message {
593
721
  /**
594
- * @generated from field: string version_id = 1;
722
+ * @generated from field: string suite = 1;
595
723
  */
596
- versionId = "";
724
+ suite = "";
597
725
  /**
598
- * @generated from field: string previous_version_id = 2;
726
+ * @generated from field: string application = 2;
599
727
  */
600
- previousVersionId = "";
728
+ application = "";
601
729
  /**
602
- * @generated from field: bool is_sandboxed = 3;
730
+ * Required if amend is false.
731
+ *
732
+ * @generated from field: optional string previous_version_id = 3;
603
733
  */
604
- isSandboxed = false;
734
+ previousVersionId;
605
735
  /**
606
- * @generated from field: google.protobuf.Timestamp created_at = 4;
736
+ * Required if amend is true.
737
+ *
738
+ * @generated from field: optional string current_version_id = 4;
607
739
  */
608
- createdAt;
740
+ currentVersionId;
609
741
  /**
610
- * @generated from field: google.protobuf.Timestamp updated_at = 5;
742
+ * If missing, inherits the branch name from the parent (or
743
+ * defaults to "main").
744
+ *
745
+ * @generated from field: optional string branch = 5;
611
746
  */
612
- updatedAt;
747
+ branch;
748
+ /**
749
+ * @generated from field: string manifest = 6;
750
+ */
751
+ manifest = "";
752
+ /**
753
+ * @generated from field: liquidmetal.v1alpha1.DeployRequest.ApplicationMetadata metadata = 7;
754
+ */
755
+ metadata;
756
+ /**
757
+ * @generated from field: bool amend = 8;
758
+ */
759
+ amend = false;
760
+ /**
761
+ * @generated from field: optional bool is_active = 9;
762
+ */
763
+ isActive;
613
764
  constructor(data) {
614
765
  super();
615
766
  proto3.util.initPartial(data, this);
616
767
  }
617
768
  static runtime = proto3;
618
- static typeName = "liquidmetal.v1alpha1.VersionsResponse.Version";
769
+ static typeName = "liquidmetal.v1alpha1.DeployRequest.Application";
619
770
  static fields = proto3.util.newFieldList(() => [
620
- { no: 1, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
621
- { no: 2, name: "previous_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
622
- { no: 3, name: "is_sandboxed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
623
- { no: 4, name: "created_at", kind: "message", T: Timestamp },
624
- { no: 5, name: "updated_at", kind: "message", T: Timestamp },
771
+ { no: 1, name: "suite", kind: "scalar", T: 9 /* ScalarType.STRING */ },
772
+ { no: 2, name: "application", kind: "scalar", T: 9 /* ScalarType.STRING */ },
773
+ { no: 3, name: "previous_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
774
+ { no: 4, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
775
+ { no: 5, name: "branch", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
776
+ { no: 6, name: "manifest", kind: "scalar", T: 9 /* ScalarType.STRING */ },
777
+ { no: 7, name: "metadata", kind: "message", T: DeployRequest_ApplicationMetadata },
778
+ { no: 8, name: "amend", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
779
+ { no: 9, name: "is_active", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
625
780
  ]);
626
781
  static fromBinary(bytes, options) {
627
- return new VersionsResponse_Version().fromBinary(bytes, options);
782
+ return new DeployRequest_Application().fromBinary(bytes, options);
628
783
  }
629
784
  static fromJson(jsonValue, options) {
630
- return new VersionsResponse_Version().fromJson(jsonValue, options);
785
+ return new DeployRequest_Application().fromJson(jsonValue, options);
631
786
  }
632
787
  static fromJsonString(jsonString, options) {
633
- return new VersionsResponse_Version().fromJsonString(jsonString, options);
788
+ return new DeployRequest_Application().fromJsonString(jsonString, options);
634
789
  }
635
790
  static equals(a, b) {
636
- return proto3.util.equals(VersionsResponse_Version, a, b);
791
+ return proto3.util.equals(DeployRequest_Application, a, b);
637
792
  }
638
793
  }
639
794
  /**
640
- * @generated from message liquidmetal.v1alpha1.CreateVersionRequest
795
+ * @generated from message liquidmetal.v1alpha1.DeployResponse
641
796
  */
642
- export class CreateVersionRequest extends Message {
643
- /**
644
- * @generated from field: string user_id = 1;
645
- */
646
- userId = "";
797
+ export class DeployResponse extends Message {
647
798
  /**
648
- * @generated from field: string organization_id = 2;
799
+ * @generated from field: string organization_id = 1;
649
800
  */
650
801
  organizationId = "";
651
802
  /**
652
- * @generated from field: string previous_version_id = 3;
653
- */
654
- previousVersionId = "";
655
- /**
656
- * @generated from field: optional bool is_sandboxed = 4;
803
+ * @generated from field: repeated liquidmetal.v1alpha1.DeployResponse.Application applications = 2;
657
804
  */
658
- isSandboxed;
805
+ applications = [];
659
806
  constructor(data) {
660
807
  super();
661
808
  proto3.util.initPartial(data, this);
662
809
  }
663
810
  static runtime = proto3;
664
- static typeName = "liquidmetal.v1alpha1.CreateVersionRequest";
811
+ static typeName = "liquidmetal.v1alpha1.DeployResponse";
665
812
  static fields = proto3.util.newFieldList(() => [
666
- { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
667
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
668
- { no: 3, name: "previous_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
669
- { no: 4, name: "is_sandboxed", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
813
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
814
+ { no: 2, name: "applications", kind: "message", T: DeployResponse_Application, repeated: true },
670
815
  ]);
671
816
  static fromBinary(bytes, options) {
672
- return new CreateVersionRequest().fromBinary(bytes, options);
817
+ return new DeployResponse().fromBinary(bytes, options);
673
818
  }
674
819
  static fromJson(jsonValue, options) {
675
- return new CreateVersionRequest().fromJson(jsonValue, options);
820
+ return new DeployResponse().fromJson(jsonValue, options);
676
821
  }
677
822
  static fromJsonString(jsonString, options) {
678
- return new CreateVersionRequest().fromJsonString(jsonString, options);
823
+ return new DeployResponse().fromJsonString(jsonString, options);
679
824
  }
680
825
  static equals(a, b) {
681
- return proto3.util.equals(CreateVersionRequest, a, b);
826
+ return proto3.util.equals(DeployResponse, a, b);
682
827
  }
683
828
  }
684
829
  /**
685
- * @generated from message liquidmetal.v1alpha1.CreateVersionResponse
830
+ * @generated from message liquidmetal.v1alpha1.DeployResponse.Application
686
831
  */
687
- export class CreateVersionResponse extends Message {
832
+ export class DeployResponse_Application extends Message {
688
833
  /**
689
- * @generated from field: string version_id = 1;
834
+ * @generated from field: string application_name = 1;
690
835
  */
691
- versionId = "";
836
+ applicationName = "";
692
837
  /**
693
- * @generated from field: string previous_version_id = 2;
838
+ * @generated from field: string current_version_id = 2;
694
839
  */
695
- previousVersionId = "";
840
+ currentVersionId = "";
696
841
  /**
697
- * @generated from field: bool is_sandboxed = 3;
842
+ * @generated from field: string branch = 3;
698
843
  */
699
- isSandboxed = false;
844
+ branch = "";
845
+ /**
846
+ * @generated from field: string lock = 4;
847
+ */
848
+ lock = "";
700
849
  constructor(data) {
701
850
  super();
702
851
  proto3.util.initPartial(data, this);
703
852
  }
704
853
  static runtime = proto3;
705
- static typeName = "liquidmetal.v1alpha1.CreateVersionResponse";
854
+ static typeName = "liquidmetal.v1alpha1.DeployResponse.Application";
706
855
  static fields = proto3.util.newFieldList(() => [
707
- { no: 1, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
708
- { no: 2, name: "previous_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
709
- { no: 3, name: "is_sandboxed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
856
+ { no: 1, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
857
+ { no: 2, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
858
+ { no: 3, name: "branch", kind: "scalar", T: 9 /* ScalarType.STRING */ },
859
+ { no: 4, name: "lock", kind: "scalar", T: 9 /* ScalarType.STRING */ },
710
860
  ]);
711
861
  static fromBinary(bytes, options) {
712
- return new CreateVersionResponse().fromBinary(bytes, options);
862
+ return new DeployResponse_Application().fromBinary(bytes, options);
713
863
  }
714
864
  static fromJson(jsonValue, options) {
715
- return new CreateVersionResponse().fromJson(jsonValue, options);
865
+ return new DeployResponse_Application().fromJson(jsonValue, options);
716
866
  }
717
867
  static fromJsonString(jsonString, options) {
718
- return new CreateVersionResponse().fromJsonString(jsonString, options);
868
+ return new DeployResponse_Application().fromJsonString(jsonString, options);
719
869
  }
720
870
  static equals(a, b) {
721
- return proto3.util.equals(CreateVersionResponse, a, b);
871
+ return proto3.util.equals(DeployResponse_Application, a, b);
722
872
  }
723
873
  }
724
874
  /**
725
- * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesRequest
875
+ * @generated from message liquidmetal.v1alpha1.SetEnvsRequest
726
876
  */
727
- export class SetVersionSandboxStatesRequest extends Message {
728
- /**
729
- * @generated from field: repeated liquidmetal.v1alpha1.SetVersionSandboxStatesRequest.Version versions = 1;
730
- */
731
- versions = [];
877
+ export class SetEnvsRequest extends Message {
732
878
  /**
733
- * @generated from field: string user_id = 2;
879
+ * @generated from field: string user_id = 1;
734
880
  */
735
881
  userId = "";
736
882
  /**
737
- * @generated from field: string organization_id = 3;
883
+ * @generated from field: string organization_id = 2;
738
884
  */
739
885
  organizationId = "";
886
+ /**
887
+ * @generated from field: repeated liquidmetal.v1alpha1.SetEnvsRequest.Env envs = 3;
888
+ */
889
+ envs = [];
740
890
  constructor(data) {
741
891
  super();
742
892
  proto3.util.initPartial(data, this);
743
893
  }
744
894
  static runtime = proto3;
745
- static typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesRequest";
895
+ static typeName = "liquidmetal.v1alpha1.SetEnvsRequest";
746
896
  static fields = proto3.util.newFieldList(() => [
747
- { no: 1, name: "versions", kind: "message", T: SetVersionSandboxStatesRequest_Version, repeated: true },
748
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
749
- { no: 3, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
897
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
898
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
899
+ { no: 3, name: "envs", kind: "message", T: SetEnvsRequest_Env, repeated: true },
750
900
  ]);
751
901
  static fromBinary(bytes, options) {
752
- return new SetVersionSandboxStatesRequest().fromBinary(bytes, options);
902
+ return new SetEnvsRequest().fromBinary(bytes, options);
753
903
  }
754
904
  static fromJson(jsonValue, options) {
755
- return new SetVersionSandboxStatesRequest().fromJson(jsonValue, options);
905
+ return new SetEnvsRequest().fromJson(jsonValue, options);
756
906
  }
757
907
  static fromJsonString(jsonString, options) {
758
- return new SetVersionSandboxStatesRequest().fromJsonString(jsonString, options);
908
+ return new SetEnvsRequest().fromJsonString(jsonString, options);
759
909
  }
760
910
  static equals(a, b) {
761
- return proto3.util.equals(SetVersionSandboxStatesRequest, a, b);
911
+ return proto3.util.equals(SetEnvsRequest, a, b);
762
912
  }
763
913
  }
764
914
  /**
765
- * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesRequest.Version
915
+ * @generated from message liquidmetal.v1alpha1.SetEnvsRequest.Env
766
916
  */
767
- export class SetVersionSandboxStatesRequest_Version extends Message {
917
+ export class SetEnvsRequest_Env extends Message {
768
918
  /**
769
- * @generated from field: string version_id = 1;
919
+ * @generated from field: string application_name = 1;
770
920
  */
771
- versionId = "";
921
+ applicationName = "";
772
922
  /**
773
- * @generated from field: bool is_sandboxed = 2;
923
+ * @generated from field: string current_version_id = 2;
774
924
  */
775
- isSandboxed = false;
776
- constructor(data) {
777
- super();
778
- proto3.util.initPartial(data, this);
779
- }
780
- static runtime = proto3;
781
- static typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesRequest.Version";
782
- static fields = proto3.util.newFieldList(() => [
783
- { no: 1, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
784
- { no: 2, name: "is_sandboxed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
785
- ]);
786
- static fromBinary(bytes, options) {
787
- return new SetVersionSandboxStatesRequest_Version().fromBinary(bytes, options);
788
- }
789
- static fromJson(jsonValue, options) {
790
- return new SetVersionSandboxStatesRequest_Version().fromJson(jsonValue, options);
791
- }
792
- static fromJsonString(jsonString, options) {
793
- return new SetVersionSandboxStatesRequest_Version().fromJsonString(jsonString, options);
794
- }
795
- static equals(a, b) {
796
- return proto3.util.equals(SetVersionSandboxStatesRequest_Version, a, b);
797
- }
798
- }
799
- /**
800
- * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesResponse
801
- */
802
- export class SetVersionSandboxStatesResponse extends Message {
925
+ currentVersionId = "";
926
+ /**
927
+ * @generated from field: string key = 3;
928
+ */
929
+ key = "";
803
930
  /**
804
- * @generated from field: repeated liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version success = 1;
931
+ * @generated from field: string value = 4;
805
932
  */
806
- success = [];
933
+ value = "";
807
934
  /**
808
- * @generated from field: repeated liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version failure = 2;
935
+ * @generated from field: bool is_secret = 5;
809
936
  */
810
- failure = [];
937
+ isSecret = false;
811
938
  constructor(data) {
812
939
  super();
813
940
  proto3.util.initPartial(data, this);
814
941
  }
815
942
  static runtime = proto3;
816
- static typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesResponse";
943
+ static typeName = "liquidmetal.v1alpha1.SetEnvsRequest.Env";
817
944
  static fields = proto3.util.newFieldList(() => [
818
- { no: 1, name: "success", kind: "message", T: SetVersionSandboxStatesResponse_Version, repeated: true },
819
- { no: 2, name: "failure", kind: "message", T: SetVersionSandboxStatesResponse_Version, repeated: true },
945
+ { no: 1, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
946
+ { no: 2, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
947
+ { no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
948
+ { no: 4, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
949
+ { no: 5, name: "is_secret", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
820
950
  ]);
821
951
  static fromBinary(bytes, options) {
822
- return new SetVersionSandboxStatesResponse().fromBinary(bytes, options);
952
+ return new SetEnvsRequest_Env().fromBinary(bytes, options);
823
953
  }
824
954
  static fromJson(jsonValue, options) {
825
- return new SetVersionSandboxStatesResponse().fromJson(jsonValue, options);
955
+ return new SetEnvsRequest_Env().fromJson(jsonValue, options);
826
956
  }
827
957
  static fromJsonString(jsonString, options) {
828
- return new SetVersionSandboxStatesResponse().fromJsonString(jsonString, options);
958
+ return new SetEnvsRequest_Env().fromJsonString(jsonString, options);
829
959
  }
830
960
  static equals(a, b) {
831
- return proto3.util.equals(SetVersionSandboxStatesResponse, a, b);
961
+ return proto3.util.equals(SetEnvsRequest_Env, a, b);
832
962
  }
833
963
  }
834
964
  /**
835
- * @generated from message liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version
965
+ * @generated from message liquidmetal.v1alpha1.SetEnvsResponse
836
966
  */
837
- export class SetVersionSandboxStatesResponse_Version extends Message {
838
- /**
839
- * @generated from field: string version_id = 1;
840
- */
841
- versionId = "";
967
+ export class SetEnvsResponse extends Message {
842
968
  constructor(data) {
843
969
  super();
844
970
  proto3.util.initPartial(data, this);
845
971
  }
846
972
  static runtime = proto3;
847
- static typeName = "liquidmetal.v1alpha1.SetVersionSandboxStatesResponse.Version";
848
- static fields = proto3.util.newFieldList(() => [
849
- { no: 1, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
850
- ]);
973
+ static typeName = "liquidmetal.v1alpha1.SetEnvsResponse";
974
+ static fields = proto3.util.newFieldList(() => []);
851
975
  static fromBinary(bytes, options) {
852
- return new SetVersionSandboxStatesResponse_Version().fromBinary(bytes, options);
976
+ return new SetEnvsResponse().fromBinary(bytes, options);
853
977
  }
854
978
  static fromJson(jsonValue, options) {
855
- return new SetVersionSandboxStatesResponse_Version().fromJson(jsonValue, options);
979
+ return new SetEnvsResponse().fromJson(jsonValue, options);
856
980
  }
857
981
  static fromJsonString(jsonString, options) {
858
- return new SetVersionSandboxStatesResponse_Version().fromJsonString(jsonString, options);
982
+ return new SetEnvsResponse().fromJsonString(jsonString, options);
859
983
  }
860
984
  static equals(a, b) {
861
- return proto3.util.equals(SetVersionSandboxStatesResponse_Version, a, b);
985
+ return proto3.util.equals(SetEnvsResponse, a, b);
862
986
  }
863
987
  }
864
988
  /**
865
- * @generated from message liquidmetal.v1alpha1.UploadBundleRequest
989
+ * @generated from message liquidmetal.v1alpha1.GetEnvsRequest
866
990
  */
867
- export class UploadBundleRequest extends Message {
991
+ export class GetEnvsRequest extends Message {
868
992
  /**
869
993
  * @generated from field: string user_id = 1;
870
994
  */
@@ -874,201 +998,157 @@ export class UploadBundleRequest extends Message {
874
998
  */
875
999
  organizationId = "";
876
1000
  /**
877
- * @generated from field: string application_name = 3;
878
- */
879
- applicationName = "";
880
- /**
881
- * @generated from field: string application_version_id = 4;
882
- */
883
- applicationVersionId = "";
884
- /**
885
- * @generated from field: string bundle_name = 5;
1001
+ * @generated from field: repeated liquidmetal.v1alpha1.GetEnvsRequest.Env envs = 3;
886
1002
  */
887
- bundleName = "";
888
- /**
889
- * @generated from field: liquidmetal.v1alpha1.BundleArchiveType archive_type = 6;
890
- */
891
- archiveType = BundleArchiveType.UNSPECIFIED;
892
- /**
893
- * @generated from field: bytes archive = 7;
894
- */
895
- archive = new Uint8Array(0);
1003
+ envs = [];
896
1004
  constructor(data) {
897
1005
  super();
898
1006
  proto3.util.initPartial(data, this);
899
1007
  }
900
1008
  static runtime = proto3;
901
- static typeName = "liquidmetal.v1alpha1.UploadBundleRequest";
1009
+ static typeName = "liquidmetal.v1alpha1.GetEnvsRequest";
902
1010
  static fields = proto3.util.newFieldList(() => [
903
1011
  { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
904
1012
  { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
905
- { no: 3, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
906
- { no: 4, name: "application_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
907
- { no: 5, name: "bundle_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
908
- { no: 6, name: "archive_type", kind: "enum", T: proto3.getEnumType(BundleArchiveType) },
909
- { no: 7, name: "archive", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
1013
+ { no: 3, name: "envs", kind: "message", T: GetEnvsRequest_Env, repeated: true },
910
1014
  ]);
911
1015
  static fromBinary(bytes, options) {
912
- return new UploadBundleRequest().fromBinary(bytes, options);
913
- }
914
- static fromJson(jsonValue, options) {
915
- return new UploadBundleRequest().fromJson(jsonValue, options);
916
- }
917
- static fromJsonString(jsonString, options) {
918
- return new UploadBundleRequest().fromJsonString(jsonString, options);
919
- }
920
- static equals(a, b) {
921
- return proto3.util.equals(UploadBundleRequest, a, b);
922
- }
923
- }
924
- /**
925
- * @generated from message liquidmetal.v1alpha1.UploadBundleResponse
926
- */
927
- export class UploadBundleResponse extends Message {
928
- constructor(data) {
929
- super();
930
- proto3.util.initPartial(data, this);
931
- }
932
- static runtime = proto3;
933
- static typeName = "liquidmetal.v1alpha1.UploadBundleResponse";
934
- static fields = proto3.util.newFieldList(() => []);
935
- static fromBinary(bytes, options) {
936
- return new UploadBundleResponse().fromBinary(bytes, options);
1016
+ return new GetEnvsRequest().fromBinary(bytes, options);
937
1017
  }
938
1018
  static fromJson(jsonValue, options) {
939
- return new UploadBundleResponse().fromJson(jsonValue, options);
1019
+ return new GetEnvsRequest().fromJson(jsonValue, options);
940
1020
  }
941
1021
  static fromJsonString(jsonString, options) {
942
- return new UploadBundleResponse().fromJsonString(jsonString, options);
1022
+ return new GetEnvsRequest().fromJsonString(jsonString, options);
943
1023
  }
944
1024
  static equals(a, b) {
945
- return proto3.util.equals(UploadBundleResponse, a, b);
1025
+ return proto3.util.equals(GetEnvsRequest, a, b);
946
1026
  }
947
1027
  }
948
1028
  /**
949
- * @generated from message liquidmetal.v1alpha1.StatBundleRequest
1029
+ * @generated from message liquidmetal.v1alpha1.GetEnvsRequest.Env
950
1030
  */
951
- export class StatBundleRequest extends Message {
1031
+ export class GetEnvsRequest_Env extends Message {
952
1032
  /**
953
- * @generated from field: string user_id = 1;
954
- */
955
- userId = "";
956
- /**
957
- * @generated from field: string organization_id = 2;
958
- */
959
- organizationId = "";
960
- /**
961
- * @generated from field: string application_name = 3;
1033
+ * @generated from field: string application_name = 1;
962
1034
  */
963
1035
  applicationName = "";
964
1036
  /**
965
- * @generated from field: string application_version_id = 4;
1037
+ * @generated from field: string current_version_id = 2;
966
1038
  */
967
- applicationVersionId = "";
1039
+ currentVersionId = "";
968
1040
  /**
969
- * @generated from field: string bundle_name = 5;
1041
+ * @generated from field: string key = 3;
970
1042
  */
971
- bundleName = "";
1043
+ key = "";
972
1044
  constructor(data) {
973
1045
  super();
974
1046
  proto3.util.initPartial(data, this);
975
1047
  }
976
1048
  static runtime = proto3;
977
- static typeName = "liquidmetal.v1alpha1.StatBundleRequest";
1049
+ static typeName = "liquidmetal.v1alpha1.GetEnvsRequest.Env";
978
1050
  static fields = proto3.util.newFieldList(() => [
979
- { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
980
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
981
- { no: 3, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
982
- { no: 4, name: "application_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
983
- { no: 5, name: "bundle_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1051
+ { no: 1, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1052
+ { no: 2, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1053
+ { no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
984
1054
  ]);
985
1055
  static fromBinary(bytes, options) {
986
- return new StatBundleRequest().fromBinary(bytes, options);
1056
+ return new GetEnvsRequest_Env().fromBinary(bytes, options);
987
1057
  }
988
1058
  static fromJson(jsonValue, options) {
989
- return new StatBundleRequest().fromJson(jsonValue, options);
1059
+ return new GetEnvsRequest_Env().fromJson(jsonValue, options);
990
1060
  }
991
1061
  static fromJsonString(jsonString, options) {
992
- return new StatBundleRequest().fromJsonString(jsonString, options);
1062
+ return new GetEnvsRequest_Env().fromJsonString(jsonString, options);
993
1063
  }
994
1064
  static equals(a, b) {
995
- return proto3.util.equals(StatBundleRequest, a, b);
1065
+ return proto3.util.equals(GetEnvsRequest_Env, a, b);
996
1066
  }
997
1067
  }
998
1068
  /**
999
- * @generated from message liquidmetal.v1alpha1.StatBundleResponse
1069
+ * @generated from message liquidmetal.v1alpha1.GetEnvsResponse
1000
1070
  */
1001
- export class StatBundleResponse extends Message {
1071
+ export class GetEnvsResponse extends Message {
1002
1072
  /**
1003
- * @generated from field: repeated liquidmetal.v1alpha1.StatBundleResponse.File files = 1;
1073
+ * @generated from field: repeated liquidmetal.v1alpha1.GetEnvsResponse.Env envs = 1;
1004
1074
  */
1005
- files = [];
1075
+ envs = [];
1006
1076
  constructor(data) {
1007
1077
  super();
1008
1078
  proto3.util.initPartial(data, this);
1009
1079
  }
1010
1080
  static runtime = proto3;
1011
- static typeName = "liquidmetal.v1alpha1.StatBundleResponse";
1081
+ static typeName = "liquidmetal.v1alpha1.GetEnvsResponse";
1012
1082
  static fields = proto3.util.newFieldList(() => [
1013
- { no: 1, name: "files", kind: "message", T: StatBundleResponse_File, repeated: true },
1083
+ { no: 1, name: "envs", kind: "message", T: GetEnvsResponse_Env, repeated: true },
1014
1084
  ]);
1015
1085
  static fromBinary(bytes, options) {
1016
- return new StatBundleResponse().fromBinary(bytes, options);
1086
+ return new GetEnvsResponse().fromBinary(bytes, options);
1017
1087
  }
1018
1088
  static fromJson(jsonValue, options) {
1019
- return new StatBundleResponse().fromJson(jsonValue, options);
1089
+ return new GetEnvsResponse().fromJson(jsonValue, options);
1020
1090
  }
1021
1091
  static fromJsonString(jsonString, options) {
1022
- return new StatBundleResponse().fromJsonString(jsonString, options);
1092
+ return new GetEnvsResponse().fromJsonString(jsonString, options);
1023
1093
  }
1024
1094
  static equals(a, b) {
1025
- return proto3.util.equals(StatBundleResponse, a, b);
1095
+ return proto3.util.equals(GetEnvsResponse, a, b);
1026
1096
  }
1027
1097
  }
1028
1098
  /**
1029
- * @generated from message liquidmetal.v1alpha1.StatBundleResponse.File
1099
+ * @generated from message liquidmetal.v1alpha1.GetEnvsResponse.Env
1030
1100
  */
1031
- export class StatBundleResponse_File extends Message {
1101
+ export class GetEnvsResponse_Env extends Message {
1032
1102
  /**
1033
- * @generated from field: string name = 1;
1103
+ * @generated from field: string application_name = 1;
1034
1104
  */
1035
- name = "";
1105
+ applicationName = "";
1106
+ /**
1107
+ * @generated from field: string current_version_id = 2;
1108
+ */
1109
+ currentVersionId = "";
1110
+ /**
1111
+ * @generated from field: string key = 3;
1112
+ */
1113
+ key = "";
1036
1114
  /**
1037
- * @generated from field: int32 size_bytes = 2;
1115
+ * @generated from field: string value = 4;
1038
1116
  */
1039
- sizeBytes = 0;
1117
+ value = "";
1040
1118
  /**
1041
- * @generated from field: string sha256 = 3;
1119
+ * @generated from field: bool is_secret = 5;
1042
1120
  */
1043
- sha256 = "";
1121
+ isSecret = false;
1044
1122
  constructor(data) {
1045
1123
  super();
1046
1124
  proto3.util.initPartial(data, this);
1047
1125
  }
1048
1126
  static runtime = proto3;
1049
- static typeName = "liquidmetal.v1alpha1.StatBundleResponse.File";
1127
+ static typeName = "liquidmetal.v1alpha1.GetEnvsResponse.Env";
1050
1128
  static fields = proto3.util.newFieldList(() => [
1051
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1052
- { no: 2, name: "size_bytes", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1053
- { no: 3, name: "sha256", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1129
+ { no: 1, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1130
+ { no: 2, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1131
+ { no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1132
+ { no: 4, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1133
+ { no: 5, name: "is_secret", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1054
1134
  ]);
1055
1135
  static fromBinary(bytes, options) {
1056
- return new StatBundleResponse_File().fromBinary(bytes, options);
1136
+ return new GetEnvsResponse_Env().fromBinary(bytes, options);
1057
1137
  }
1058
1138
  static fromJson(jsonValue, options) {
1059
- return new StatBundleResponse_File().fromJson(jsonValue, options);
1139
+ return new GetEnvsResponse_Env().fromJson(jsonValue, options);
1060
1140
  }
1061
1141
  static fromJsonString(jsonString, options) {
1062
- return new StatBundleResponse_File().fromJsonString(jsonString, options);
1142
+ return new GetEnvsResponse_Env().fromJsonString(jsonString, options);
1063
1143
  }
1064
1144
  static equals(a, b) {
1065
- return proto3.util.equals(StatBundleResponse_File, a, b);
1145
+ return proto3.util.equals(GetEnvsResponse_Env, a, b);
1066
1146
  }
1067
1147
  }
1068
1148
  /**
1069
- * @generated from message liquidmetal.v1alpha1.SetEnvRequest
1149
+ * @generated from message liquidmetal.v1alpha1.ReleaseRequest
1070
1150
  */
1071
- export class SetEnvRequest extends Message {
1151
+ export class ReleaseRequest extends Message {
1072
1152
  /**
1073
1153
  * @generated from field: string user_id = 1;
1074
1154
  */
@@ -1078,646 +1158,528 @@ export class SetEnvRequest extends Message {
1078
1158
  */
1079
1159
  organizationId = "";
1080
1160
  /**
1081
- * @generated from field: string application_name = 3;
1082
- */
1083
- applicationName = "";
1084
- /**
1085
- * @generated from field: string application_version_id = 4;
1086
- */
1087
- applicationVersionId = "";
1088
- /**
1089
- * @generated from field: string key = 5;
1090
- */
1091
- key = "";
1092
- /**
1093
- * @generated from field: string value = 6;
1094
- */
1095
- value = "";
1096
- /**
1097
- * @generated from field: bool is_secret = 7;
1161
+ * @generated from field: repeated liquidmetal.v1alpha1.ReleaseRequest.Lock locks = 3;
1098
1162
  */
1099
- isSecret = false;
1163
+ locks = [];
1100
1164
  constructor(data) {
1101
1165
  super();
1102
1166
  proto3.util.initPartial(data, this);
1103
1167
  }
1104
1168
  static runtime = proto3;
1105
- static typeName = "liquidmetal.v1alpha1.SetEnvRequest";
1169
+ static typeName = "liquidmetal.v1alpha1.ReleaseRequest";
1106
1170
  static fields = proto3.util.newFieldList(() => [
1107
1171
  { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1108
1172
  { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1109
- { no: 3, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1110
- { no: 4, name: "application_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1111
- { no: 5, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1112
- { no: 6, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1113
- { no: 7, name: "is_secret", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1173
+ { no: 3, name: "locks", kind: "message", T: ReleaseRequest_Lock, repeated: true },
1114
1174
  ]);
1115
1175
  static fromBinary(bytes, options) {
1116
- return new SetEnvRequest().fromBinary(bytes, options);
1117
- }
1118
- static fromJson(jsonValue, options) {
1119
- return new SetEnvRequest().fromJson(jsonValue, options);
1120
- }
1121
- static fromJsonString(jsonString, options) {
1122
- return new SetEnvRequest().fromJsonString(jsonString, options);
1123
- }
1124
- static equals(a, b) {
1125
- return proto3.util.equals(SetEnvRequest, a, b);
1126
- }
1127
- }
1128
- /**
1129
- * @generated from message liquidmetal.v1alpha1.SetEnvResponse
1130
- */
1131
- export class SetEnvResponse extends Message {
1132
- constructor(data) {
1133
- super();
1134
- proto3.util.initPartial(data, this);
1135
- }
1136
- static runtime = proto3;
1137
- static typeName = "liquidmetal.v1alpha1.SetEnvResponse";
1138
- static fields = proto3.util.newFieldList(() => []);
1139
- static fromBinary(bytes, options) {
1140
- return new SetEnvResponse().fromBinary(bytes, options);
1176
+ return new ReleaseRequest().fromBinary(bytes, options);
1141
1177
  }
1142
1178
  static fromJson(jsonValue, options) {
1143
- return new SetEnvResponse().fromJson(jsonValue, options);
1179
+ return new ReleaseRequest().fromJson(jsonValue, options);
1144
1180
  }
1145
1181
  static fromJsonString(jsonString, options) {
1146
- return new SetEnvResponse().fromJsonString(jsonString, options);
1182
+ return new ReleaseRequest().fromJsonString(jsonString, options);
1147
1183
  }
1148
1184
  static equals(a, b) {
1149
- return proto3.util.equals(SetEnvResponse, a, b);
1185
+ return proto3.util.equals(ReleaseRequest, a, b);
1150
1186
  }
1151
1187
  }
1152
1188
  /**
1153
- * @generated from message liquidmetal.v1alpha1.GetEnvRequest
1189
+ * @generated from message liquidmetal.v1alpha1.ReleaseRequest.Lock
1154
1190
  */
1155
- export class GetEnvRequest extends Message {
1156
- /**
1157
- * @generated from field: string user_id = 1;
1158
- */
1159
- userId = "";
1160
- /**
1161
- * @generated from field: string organization_id = 2;
1162
- */
1163
- organizationId = "";
1191
+ export class ReleaseRequest_Lock extends Message {
1164
1192
  /**
1165
- * @generated from field: string application_name = 3;
1193
+ * @generated from field: string application_name = 1;
1166
1194
  */
1167
1195
  applicationName = "";
1168
1196
  /**
1169
- * @generated from field: string application_version_id = 4;
1197
+ * @generated from field: string current_version_id = 2;
1170
1198
  */
1171
- applicationVersionId = "";
1199
+ currentVersionId = "";
1172
1200
  /**
1173
- * @generated from field: string key = 5;
1201
+ * @generated from field: string lock = 3;
1174
1202
  */
1175
- key = "";
1203
+ lock = "";
1176
1204
  constructor(data) {
1177
1205
  super();
1178
1206
  proto3.util.initPartial(data, this);
1179
1207
  }
1180
1208
  static runtime = proto3;
1181
- static typeName = "liquidmetal.v1alpha1.GetEnvRequest";
1209
+ static typeName = "liquidmetal.v1alpha1.ReleaseRequest.Lock";
1182
1210
  static fields = proto3.util.newFieldList(() => [
1183
- { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1184
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1185
- { no: 3, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1186
- { no: 4, name: "application_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1187
- { no: 5, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1211
+ { no: 1, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1212
+ { no: 2, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1213
+ { no: 3, name: "lock", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1188
1214
  ]);
1189
1215
  static fromBinary(bytes, options) {
1190
- return new GetEnvRequest().fromBinary(bytes, options);
1216
+ return new ReleaseRequest_Lock().fromBinary(bytes, options);
1191
1217
  }
1192
1218
  static fromJson(jsonValue, options) {
1193
- return new GetEnvRequest().fromJson(jsonValue, options);
1219
+ return new ReleaseRequest_Lock().fromJson(jsonValue, options);
1194
1220
  }
1195
1221
  static fromJsonString(jsonString, options) {
1196
- return new GetEnvRequest().fromJsonString(jsonString, options);
1222
+ return new ReleaseRequest_Lock().fromJsonString(jsonString, options);
1197
1223
  }
1198
1224
  static equals(a, b) {
1199
- return proto3.util.equals(GetEnvRequest, a, b);
1225
+ return proto3.util.equals(ReleaseRequest_Lock, a, b);
1200
1226
  }
1201
1227
  }
1202
1228
  /**
1203
- * @generated from message liquidmetal.v1alpha1.GetEnvResponse
1229
+ * @generated from message liquidmetal.v1alpha1.ReleaseResponse
1204
1230
  */
1205
- export class GetEnvResponse extends Message {
1206
- /**
1207
- * @generated from field: optional string value = 1;
1208
- */
1209
- value;
1210
- /**
1211
- * @generated from field: optional string sha256 = 2;
1212
- */
1213
- sha256;
1231
+ export class ReleaseResponse extends Message {
1214
1232
  constructor(data) {
1215
1233
  super();
1216
1234
  proto3.util.initPartial(data, this);
1217
1235
  }
1218
1236
  static runtime = proto3;
1219
- static typeName = "liquidmetal.v1alpha1.GetEnvResponse";
1220
- static fields = proto3.util.newFieldList(() => [
1221
- { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1222
- { no: 2, name: "sha256", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1223
- ]);
1237
+ static typeName = "liquidmetal.v1alpha1.ReleaseResponse";
1238
+ static fields = proto3.util.newFieldList(() => []);
1224
1239
  static fromBinary(bytes, options) {
1225
- return new GetEnvResponse().fromBinary(bytes, options);
1240
+ return new ReleaseResponse().fromBinary(bytes, options);
1226
1241
  }
1227
1242
  static fromJson(jsonValue, options) {
1228
- return new GetEnvResponse().fromJson(jsonValue, options);
1243
+ return new ReleaseResponse().fromJson(jsonValue, options);
1229
1244
  }
1230
1245
  static fromJsonString(jsonString, options) {
1231
- return new GetEnvResponse().fromJsonString(jsonString, options);
1246
+ return new ReleaseResponse().fromJsonString(jsonString, options);
1232
1247
  }
1233
1248
  static equals(a, b) {
1234
- return proto3.util.equals(GetEnvResponse, a, b);
1249
+ return proto3.util.equals(ReleaseResponse, a, b);
1235
1250
  }
1236
1251
  }
1237
1252
  /**
1238
- * @generated from message liquidmetal.v1alpha1.SetApplicationActiveStatesRequest
1253
+ * @generated from message liquidmetal.v1alpha1.WatchRequest
1239
1254
  */
1240
- export class SetApplicationActiveStatesRequest extends Message {
1241
- /**
1242
- * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationActiveStatesRequest.State states = 1;
1243
- */
1244
- states = [];
1255
+ export class WatchRequest extends Message {
1245
1256
  /**
1246
- * @generated from field: string user_id = 2;
1257
+ * @generated from field: string user_id = 1;
1247
1258
  */
1248
1259
  userId = "";
1249
1260
  /**
1250
- * @generated from field: string organization_id = 3;
1261
+ * @generated from field: string organization_id = 2;
1251
1262
  */
1252
1263
  organizationId = "";
1264
+ /**
1265
+ * @generated from field: repeated liquidmetal.v1alpha1.WatchRequest.Application applications = 3;
1266
+ */
1267
+ applications = [];
1253
1268
  constructor(data) {
1254
1269
  super();
1255
1270
  proto3.util.initPartial(data, this);
1256
1271
  }
1257
1272
  static runtime = proto3;
1258
- static typeName = "liquidmetal.v1alpha1.SetApplicationActiveStatesRequest";
1273
+ static typeName = "liquidmetal.v1alpha1.WatchRequest";
1259
1274
  static fields = proto3.util.newFieldList(() => [
1260
- { no: 1, name: "states", kind: "message", T: SetApplicationActiveStatesRequest_State, repeated: true },
1261
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1262
- { no: 3, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1275
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1276
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1277
+ { no: 3, name: "applications", kind: "message", T: WatchRequest_Application, repeated: true },
1263
1278
  ]);
1264
1279
  static fromBinary(bytes, options) {
1265
- return new SetApplicationActiveStatesRequest().fromBinary(bytes, options);
1280
+ return new WatchRequest().fromBinary(bytes, options);
1266
1281
  }
1267
1282
  static fromJson(jsonValue, options) {
1268
- return new SetApplicationActiveStatesRequest().fromJson(jsonValue, options);
1283
+ return new WatchRequest().fromJson(jsonValue, options);
1269
1284
  }
1270
1285
  static fromJsonString(jsonString, options) {
1271
- return new SetApplicationActiveStatesRequest().fromJsonString(jsonString, options);
1286
+ return new WatchRequest().fromJsonString(jsonString, options);
1272
1287
  }
1273
1288
  static equals(a, b) {
1274
- return proto3.util.equals(SetApplicationActiveStatesRequest, a, b);
1289
+ return proto3.util.equals(WatchRequest, a, b);
1275
1290
  }
1276
1291
  }
1277
1292
  /**
1278
- * @generated from message liquidmetal.v1alpha1.SetApplicationActiveStatesRequest.State
1293
+ * @generated from message liquidmetal.v1alpha1.WatchRequest.Application
1279
1294
  */
1280
- export class SetApplicationActiveStatesRequest_State extends Message {
1295
+ export class WatchRequest_Application extends Message {
1281
1296
  /**
1282
- * @generated from field: string name = 1;
1297
+ * @generated from field: string application_name = 1;
1283
1298
  */
1284
- name = "";
1285
- /**
1286
- * @generated from field: string version_id = 2;
1287
- */
1288
- versionId = "";
1299
+ applicationName = "";
1289
1300
  /**
1290
- * @generated from field: bool is_active = 3;
1301
+ * @generated from field: string current_version_id = 2;
1291
1302
  */
1292
- isActive = false;
1303
+ currentVersionId = "";
1293
1304
  constructor(data) {
1294
1305
  super();
1295
1306
  proto3.util.initPartial(data, this);
1296
1307
  }
1297
1308
  static runtime = proto3;
1298
- static typeName = "liquidmetal.v1alpha1.SetApplicationActiveStatesRequest.State";
1309
+ static typeName = "liquidmetal.v1alpha1.WatchRequest.Application";
1299
1310
  static fields = proto3.util.newFieldList(() => [
1300
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1301
- { no: 2, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1302
- { no: 3, name: "is_active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1311
+ { no: 1, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1312
+ { no: 2, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1303
1313
  ]);
1304
1314
  static fromBinary(bytes, options) {
1305
- return new SetApplicationActiveStatesRequest_State().fromBinary(bytes, options);
1315
+ return new WatchRequest_Application().fromBinary(bytes, options);
1306
1316
  }
1307
1317
  static fromJson(jsonValue, options) {
1308
- return new SetApplicationActiveStatesRequest_State().fromJson(jsonValue, options);
1318
+ return new WatchRequest_Application().fromJson(jsonValue, options);
1309
1319
  }
1310
1320
  static fromJsonString(jsonString, options) {
1311
- return new SetApplicationActiveStatesRequest_State().fromJsonString(jsonString, options);
1321
+ return new WatchRequest_Application().fromJsonString(jsonString, options);
1312
1322
  }
1313
1323
  static equals(a, b) {
1314
- return proto3.util.equals(SetApplicationActiveStatesRequest_State, a, b);
1324
+ return proto3.util.equals(WatchRequest_Application, a, b);
1315
1325
  }
1316
1326
  }
1317
1327
  /**
1318
- * @generated from message liquidmetal.v1alpha1.SetApplicationActiveStatesResponse
1328
+ * @generated from message liquidmetal.v1alpha1.WatchResponse
1319
1329
  */
1320
- export class SetApplicationActiveStatesResponse extends Message {
1330
+ export class WatchResponse extends Message {
1331
+ /**
1332
+ * @generated from field: string application_name = 1;
1333
+ */
1334
+ applicationName = "";
1335
+ /**
1336
+ * @generated from field: string current_version_id = 2;
1337
+ */
1338
+ currentVersionId = "";
1321
1339
  /**
1322
- * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationActiveStatesResponse.Application success = 1;
1340
+ * @generated from field: string event_id = 3;
1323
1341
  */
1324
- success = [];
1342
+ eventId = "";
1325
1343
  /**
1326
- * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationActiveStatesResponse.Application failure = 2;
1344
+ * @generated from field: liquidmetal.v1alpha1.WatchResponseEventType event_type = 4;
1327
1345
  */
1328
- failure = [];
1346
+ eventType = WatchResponseEventType.UNSPECIFIED;
1329
1347
  constructor(data) {
1330
1348
  super();
1331
1349
  proto3.util.initPartial(data, this);
1332
1350
  }
1333
1351
  static runtime = proto3;
1334
- static typeName = "liquidmetal.v1alpha1.SetApplicationActiveStatesResponse";
1352
+ static typeName = "liquidmetal.v1alpha1.WatchResponse";
1335
1353
  static fields = proto3.util.newFieldList(() => [
1336
- { no: 1, name: "success", kind: "message", T: SetApplicationActiveStatesResponse_Application, repeated: true },
1337
- { no: 2, name: "failure", kind: "message", T: SetApplicationActiveStatesResponse_Application, repeated: true },
1354
+ { no: 1, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1355
+ { no: 2, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1356
+ { no: 3, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1357
+ { no: 4, name: "event_type", kind: "enum", T: proto3.getEnumType(WatchResponseEventType) },
1338
1358
  ]);
1339
1359
  static fromBinary(bytes, options) {
1340
- return new SetApplicationActiveStatesResponse().fromBinary(bytes, options);
1360
+ return new WatchResponse().fromBinary(bytes, options);
1341
1361
  }
1342
1362
  static fromJson(jsonValue, options) {
1343
- return new SetApplicationActiveStatesResponse().fromJson(jsonValue, options);
1363
+ return new WatchResponse().fromJson(jsonValue, options);
1344
1364
  }
1345
1365
  static fromJsonString(jsonString, options) {
1346
- return new SetApplicationActiveStatesResponse().fromJsonString(jsonString, options);
1366
+ return new WatchResponse().fromJsonString(jsonString, options);
1347
1367
  }
1348
1368
  static equals(a, b) {
1349
- return proto3.util.equals(SetApplicationActiveStatesResponse, a, b);
1369
+ return proto3.util.equals(WatchResponse, a, b);
1350
1370
  }
1351
1371
  }
1352
1372
  /**
1353
- * @generated from message liquidmetal.v1alpha1.SetApplicationActiveStatesResponse.Application
1373
+ * @generated from message liquidmetal.v1alpha1.DeleteRequest
1354
1374
  */
1355
- export class SetApplicationActiveStatesResponse_Application extends Message {
1375
+ export class DeleteRequest extends Message {
1356
1376
  /**
1357
- * @generated from field: string name = 1;
1377
+ * @generated from field: string user_id = 1;
1358
1378
  */
1359
- name = "";
1379
+ userId = "";
1380
+ /**
1381
+ * @generated from field: string organization_id = 2;
1382
+ */
1383
+ organizationId = "";
1360
1384
  /**
1361
- * @generated from field: optional string version_id = 2;
1385
+ * @generated from field: repeated liquidmetal.v1alpha1.DeleteRequest.Application applications = 3;
1362
1386
  */
1363
- versionId;
1387
+ applications = [];
1364
1388
  constructor(data) {
1365
1389
  super();
1366
1390
  proto3.util.initPartial(data, this);
1367
1391
  }
1368
1392
  static runtime = proto3;
1369
- static typeName = "liquidmetal.v1alpha1.SetApplicationActiveStatesResponse.Application";
1393
+ static typeName = "liquidmetal.v1alpha1.DeleteRequest";
1370
1394
  static fields = proto3.util.newFieldList(() => [
1371
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1372
- { no: 2, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1395
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1396
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1397
+ { no: 3, name: "applications", kind: "message", T: DeleteRequest_Application, repeated: true },
1373
1398
  ]);
1374
1399
  static fromBinary(bytes, options) {
1375
- return new SetApplicationActiveStatesResponse_Application().fromBinary(bytes, options);
1400
+ return new DeleteRequest().fromBinary(bytes, options);
1376
1401
  }
1377
1402
  static fromJson(jsonValue, options) {
1378
- return new SetApplicationActiveStatesResponse_Application().fromJson(jsonValue, options);
1403
+ return new DeleteRequest().fromJson(jsonValue, options);
1379
1404
  }
1380
1405
  static fromJsonString(jsonString, options) {
1381
- return new SetApplicationActiveStatesResponse_Application().fromJsonString(jsonString, options);
1406
+ return new DeleteRequest().fromJsonString(jsonString, options);
1382
1407
  }
1383
1408
  static equals(a, b) {
1384
- return proto3.util.equals(SetApplicationActiveStatesResponse_Application, a, b);
1409
+ return proto3.util.equals(DeleteRequest, a, b);
1385
1410
  }
1386
1411
  }
1387
1412
  /**
1388
- * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsRequest
1413
+ * @generated from message liquidmetal.v1alpha1.DeleteRequest.Application
1389
1414
  */
1390
- export class SetApplicationManifestsRequest extends Message {
1391
- /**
1392
- * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationManifestsRequest.Manifest manifests = 1;
1393
- */
1394
- manifests = [];
1415
+ export class DeleteRequest_Application extends Message {
1395
1416
  /**
1396
- * @generated from field: string user_id = 2;
1417
+ * @generated from field: string application_name = 1;
1397
1418
  */
1398
- userId = "";
1419
+ applicationName = "";
1399
1420
  /**
1400
- * @generated from field: string organization_id = 3;
1421
+ * @generated from field: string current_version_id = 2;
1401
1422
  */
1402
- organizationId = "";
1423
+ currentVersionId = "";
1403
1424
  constructor(data) {
1404
1425
  super();
1405
1426
  proto3.util.initPartial(data, this);
1406
1427
  }
1407
1428
  static runtime = proto3;
1408
- static typeName = "liquidmetal.v1alpha1.SetApplicationManifestsRequest";
1429
+ static typeName = "liquidmetal.v1alpha1.DeleteRequest.Application";
1409
1430
  static fields = proto3.util.newFieldList(() => [
1410
- { no: 1, name: "manifests", kind: "message", T: SetApplicationManifestsRequest_Manifest, repeated: true },
1411
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1412
- { no: 3, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1431
+ { no: 1, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1432
+ { no: 2, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1413
1433
  ]);
1414
1434
  static fromBinary(bytes, options) {
1415
- return new SetApplicationManifestsRequest().fromBinary(bytes, options);
1435
+ return new DeleteRequest_Application().fromBinary(bytes, options);
1416
1436
  }
1417
1437
  static fromJson(jsonValue, options) {
1418
- return new SetApplicationManifestsRequest().fromJson(jsonValue, options);
1438
+ return new DeleteRequest_Application().fromJson(jsonValue, options);
1419
1439
  }
1420
1440
  static fromJsonString(jsonString, options) {
1421
- return new SetApplicationManifestsRequest().fromJsonString(jsonString, options);
1441
+ return new DeleteRequest_Application().fromJsonString(jsonString, options);
1422
1442
  }
1423
1443
  static equals(a, b) {
1424
- return proto3.util.equals(SetApplicationManifestsRequest, a, b);
1444
+ return proto3.util.equals(DeleteRequest_Application, a, b);
1425
1445
  }
1426
1446
  }
1427
1447
  /**
1428
- * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsRequest.ApplicationMetadata
1448
+ * @generated from message liquidmetal.v1alpha1.DeleteResponse
1429
1449
  */
1430
- export class SetApplicationManifestsRequest_ApplicationMetadata extends Message {
1431
- /**
1432
- * @generated from field: string runtime_version = 1;
1433
- */
1434
- runtimeVersion = "";
1450
+ export class DeleteResponse extends Message {
1435
1451
  constructor(data) {
1436
1452
  super();
1437
1453
  proto3.util.initPartial(data, this);
1438
1454
  }
1439
1455
  static runtime = proto3;
1440
- static typeName = "liquidmetal.v1alpha1.SetApplicationManifestsRequest.ApplicationMetadata";
1441
- static fields = proto3.util.newFieldList(() => [
1442
- { no: 1, name: "runtime_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1443
- ]);
1456
+ static typeName = "liquidmetal.v1alpha1.DeleteResponse";
1457
+ static fields = proto3.util.newFieldList(() => []);
1444
1458
  static fromBinary(bytes, options) {
1445
- return new SetApplicationManifestsRequest_ApplicationMetadata().fromBinary(bytes, options);
1459
+ return new DeleteResponse().fromBinary(bytes, options);
1446
1460
  }
1447
1461
  static fromJson(jsonValue, options) {
1448
- return new SetApplicationManifestsRequest_ApplicationMetadata().fromJson(jsonValue, options);
1462
+ return new DeleteResponse().fromJson(jsonValue, options);
1449
1463
  }
1450
1464
  static fromJsonString(jsonString, options) {
1451
- return new SetApplicationManifestsRequest_ApplicationMetadata().fromJsonString(jsonString, options);
1465
+ return new DeleteResponse().fromJsonString(jsonString, options);
1452
1466
  }
1453
1467
  static equals(a, b) {
1454
- return proto3.util.equals(SetApplicationManifestsRequest_ApplicationMetadata, a, b);
1468
+ return proto3.util.equals(DeleteResponse, a, b);
1455
1469
  }
1456
1470
  }
1457
1471
  /**
1458
- * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsRequest.Manifest
1472
+ * @generated from message liquidmetal.v1alpha1.SetActiveRequest
1459
1473
  */
1460
- export class SetApplicationManifestsRequest_Manifest extends Message {
1461
- /**
1462
- * @generated from field: string name = 1;
1463
- */
1464
- name = "";
1474
+ export class SetActiveRequest extends Message {
1465
1475
  /**
1466
- * @generated from field: string version_id = 2;
1476
+ * @generated from field: string user_id = 1;
1467
1477
  */
1468
- versionId = "";
1478
+ userId = "";
1469
1479
  /**
1470
- * @generated from field: string manifest = 3;
1480
+ * @generated from field: string organization_id = 2;
1471
1481
  */
1472
- manifest = "";
1482
+ organizationId = "";
1473
1483
  /**
1474
- * @generated from field: liquidmetal.v1alpha1.SetApplicationManifestsRequest.ApplicationMetadata metadata = 4;
1484
+ * @generated from field: repeated liquidmetal.v1alpha1.SetActiveRequest.Application applications = 3;
1475
1485
  */
1476
- metadata;
1486
+ applications = [];
1477
1487
  constructor(data) {
1478
1488
  super();
1479
1489
  proto3.util.initPartial(data, this);
1480
1490
  }
1481
1491
  static runtime = proto3;
1482
- static typeName = "liquidmetal.v1alpha1.SetApplicationManifestsRequest.Manifest";
1492
+ static typeName = "liquidmetal.v1alpha1.SetActiveRequest";
1483
1493
  static fields = proto3.util.newFieldList(() => [
1484
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1485
- { no: 2, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1486
- { no: 3, name: "manifest", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1487
- { no: 4, name: "metadata", kind: "message", T: SetApplicationManifestsRequest_ApplicationMetadata },
1494
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1495
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1496
+ { no: 3, name: "applications", kind: "message", T: SetActiveRequest_Application, repeated: true },
1488
1497
  ]);
1489
1498
  static fromBinary(bytes, options) {
1490
- return new SetApplicationManifestsRequest_Manifest().fromBinary(bytes, options);
1499
+ return new SetActiveRequest().fromBinary(bytes, options);
1491
1500
  }
1492
1501
  static fromJson(jsonValue, options) {
1493
- return new SetApplicationManifestsRequest_Manifest().fromJson(jsonValue, options);
1502
+ return new SetActiveRequest().fromJson(jsonValue, options);
1494
1503
  }
1495
1504
  static fromJsonString(jsonString, options) {
1496
- return new SetApplicationManifestsRequest_Manifest().fromJsonString(jsonString, options);
1505
+ return new SetActiveRequest().fromJsonString(jsonString, options);
1497
1506
  }
1498
1507
  static equals(a, b) {
1499
- return proto3.util.equals(SetApplicationManifestsRequest_Manifest, a, b);
1508
+ return proto3.util.equals(SetActiveRequest, a, b);
1500
1509
  }
1501
1510
  }
1502
1511
  /**
1503
- * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsResponse
1512
+ * @generated from message liquidmetal.v1alpha1.SetActiveRequest.Application
1504
1513
  */
1505
- export class SetApplicationManifestsResponse extends Message {
1514
+ export class SetActiveRequest_Application extends Message {
1515
+ /**
1516
+ * @generated from field: string application_name = 1;
1517
+ */
1518
+ applicationName = "";
1506
1519
  /**
1507
- * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application success = 1;
1520
+ * @generated from field: string current_version_id = 2;
1508
1521
  */
1509
- success = [];
1522
+ currentVersionId = "";
1510
1523
  /**
1511
- * @generated from field: repeated liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application failure = 2;
1524
+ * @generated from field: bool is_active = 3;
1512
1525
  */
1513
- failure = [];
1526
+ isActive = false;
1514
1527
  constructor(data) {
1515
1528
  super();
1516
1529
  proto3.util.initPartial(data, this);
1517
1530
  }
1518
1531
  static runtime = proto3;
1519
- static typeName = "liquidmetal.v1alpha1.SetApplicationManifestsResponse";
1532
+ static typeName = "liquidmetal.v1alpha1.SetActiveRequest.Application";
1520
1533
  static fields = proto3.util.newFieldList(() => [
1521
- { no: 1, name: "success", kind: "message", T: SetApplicationManifestsResponse_Application, repeated: true },
1522
- { no: 2, name: "failure", kind: "message", T: SetApplicationManifestsResponse_Application, repeated: true },
1534
+ { no: 1, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1535
+ { no: 2, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1536
+ { no: 3, name: "is_active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1523
1537
  ]);
1524
1538
  static fromBinary(bytes, options) {
1525
- return new SetApplicationManifestsResponse().fromBinary(bytes, options);
1539
+ return new SetActiveRequest_Application().fromBinary(bytes, options);
1526
1540
  }
1527
1541
  static fromJson(jsonValue, options) {
1528
- return new SetApplicationManifestsResponse().fromJson(jsonValue, options);
1542
+ return new SetActiveRequest_Application().fromJson(jsonValue, options);
1529
1543
  }
1530
1544
  static fromJsonString(jsonString, options) {
1531
- return new SetApplicationManifestsResponse().fromJsonString(jsonString, options);
1545
+ return new SetActiveRequest_Application().fromJsonString(jsonString, options);
1532
1546
  }
1533
1547
  static equals(a, b) {
1534
- return proto3.util.equals(SetApplicationManifestsResponse, a, b);
1548
+ return proto3.util.equals(SetActiveRequest_Application, a, b);
1535
1549
  }
1536
1550
  }
1537
1551
  /**
1538
- * @generated from message liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application
1552
+ * @generated from message liquidmetal.v1alpha1.SetActiveResponse
1539
1553
  */
1540
- export class SetApplicationManifestsResponse_Application extends Message {
1541
- /**
1542
- * @generated from field: string name = 1;
1543
- */
1544
- name = "";
1545
- /**
1546
- * @generated from field: string version_id = 2;
1547
- */
1548
- versionId = "";
1554
+ export class SetActiveResponse extends Message {
1549
1555
  constructor(data) {
1550
1556
  super();
1551
1557
  proto3.util.initPartial(data, this);
1552
1558
  }
1553
1559
  static runtime = proto3;
1554
- static typeName = "liquidmetal.v1alpha1.SetApplicationManifestsResponse.Application";
1555
- static fields = proto3.util.newFieldList(() => [
1556
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1557
- { no: 2, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1558
- ]);
1560
+ static typeName = "liquidmetal.v1alpha1.SetActiveResponse";
1561
+ static fields = proto3.util.newFieldList(() => []);
1559
1562
  static fromBinary(bytes, options) {
1560
- return new SetApplicationManifestsResponse_Application().fromBinary(bytes, options);
1563
+ return new SetActiveResponse().fromBinary(bytes, options);
1561
1564
  }
1562
1565
  static fromJson(jsonValue, options) {
1563
- return new SetApplicationManifestsResponse_Application().fromJson(jsonValue, options);
1566
+ return new SetActiveResponse().fromJson(jsonValue, options);
1564
1567
  }
1565
1568
  static fromJsonString(jsonString, options) {
1566
- return new SetApplicationManifestsResponse_Application().fromJsonString(jsonString, options);
1569
+ return new SetActiveResponse().fromJsonString(jsonString, options);
1567
1570
  }
1568
1571
  static equals(a, b) {
1569
- return proto3.util.equals(SetApplicationManifestsResponse_Application, a, b);
1572
+ return proto3.util.equals(SetActiveResponse, a, b);
1570
1573
  }
1571
1574
  }
1572
1575
  /**
1573
- * @generated from message liquidmetal.v1alpha1.DeleteApplicationsRequest
1576
+ * @generated from message liquidmetal.v1alpha1.SetSandboxRequest
1574
1577
  */
1575
- export class DeleteApplicationsRequest extends Message {
1576
- /**
1577
- * @generated from field: repeated liquidmetal.v1alpha1.DeleteApplicationsRequest.Application applications = 1;
1578
- */
1579
- applications = [];
1578
+ export class SetSandboxRequest extends Message {
1580
1579
  /**
1581
- * @generated from field: string user_id = 2;
1580
+ * @generated from field: string user_id = 1;
1582
1581
  */
1583
1582
  userId = "";
1584
1583
  /**
1585
- * @generated from field: string organization_id = 3;
1584
+ * @generated from field: string organization_id = 2;
1586
1585
  */
1587
1586
  organizationId = "";
1588
- constructor(data) {
1589
- super();
1590
- proto3.util.initPartial(data, this);
1591
- }
1592
- static runtime = proto3;
1593
- static typeName = "liquidmetal.v1alpha1.DeleteApplicationsRequest";
1594
- static fields = proto3.util.newFieldList(() => [
1595
- { no: 1, name: "applications", kind: "message", T: DeleteApplicationsRequest_Application, repeated: true },
1596
- { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1597
- { no: 3, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1598
- ]);
1599
- static fromBinary(bytes, options) {
1600
- return new DeleteApplicationsRequest().fromBinary(bytes, options);
1601
- }
1602
- static fromJson(jsonValue, options) {
1603
- return new DeleteApplicationsRequest().fromJson(jsonValue, options);
1604
- }
1605
- static fromJsonString(jsonString, options) {
1606
- return new DeleteApplicationsRequest().fromJsonString(jsonString, options);
1607
- }
1608
- static equals(a, b) {
1609
- return proto3.util.equals(DeleteApplicationsRequest, a, b);
1610
- }
1611
- }
1612
- /**
1613
- * @generated from message liquidmetal.v1alpha1.DeleteApplicationsRequest.Application
1614
- */
1615
- export class DeleteApplicationsRequest_Application extends Message {
1616
1587
  /**
1617
- * @generated from field: string name = 1;
1588
+ * @generated from field: repeated liquidmetal.v1alpha1.SetSandboxRequest.Application applications = 3;
1618
1589
  */
1619
- name = "";
1620
- /**
1621
- * @generated from field: optional string version_id = 2;
1622
- */
1623
- versionId;
1590
+ applications = [];
1624
1591
  constructor(data) {
1625
1592
  super();
1626
1593
  proto3.util.initPartial(data, this);
1627
1594
  }
1628
1595
  static runtime = proto3;
1629
- static typeName = "liquidmetal.v1alpha1.DeleteApplicationsRequest.Application";
1596
+ static typeName = "liquidmetal.v1alpha1.SetSandboxRequest";
1630
1597
  static fields = proto3.util.newFieldList(() => [
1631
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1632
- { no: 2, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1598
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1599
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1600
+ { no: 3, name: "applications", kind: "message", T: SetSandboxRequest_Application, repeated: true },
1633
1601
  ]);
1634
1602
  static fromBinary(bytes, options) {
1635
- return new DeleteApplicationsRequest_Application().fromBinary(bytes, options);
1603
+ return new SetSandboxRequest().fromBinary(bytes, options);
1636
1604
  }
1637
1605
  static fromJson(jsonValue, options) {
1638
- return new DeleteApplicationsRequest_Application().fromJson(jsonValue, options);
1606
+ return new SetSandboxRequest().fromJson(jsonValue, options);
1639
1607
  }
1640
1608
  static fromJsonString(jsonString, options) {
1641
- return new DeleteApplicationsRequest_Application().fromJsonString(jsonString, options);
1609
+ return new SetSandboxRequest().fromJsonString(jsonString, options);
1642
1610
  }
1643
1611
  static equals(a, b) {
1644
- return proto3.util.equals(DeleteApplicationsRequest_Application, a, b);
1612
+ return proto3.util.equals(SetSandboxRequest, a, b);
1645
1613
  }
1646
1614
  }
1647
1615
  /**
1648
- * @generated from message liquidmetal.v1alpha1.DeleteApplicationsResponse
1616
+ * @generated from message liquidmetal.v1alpha1.SetSandboxRequest.Application
1649
1617
  */
1650
- export class DeleteApplicationsResponse extends Message {
1618
+ export class SetSandboxRequest_Application extends Message {
1619
+ /**
1620
+ * @generated from field: string application_name = 1;
1621
+ */
1622
+ applicationName = "";
1651
1623
  /**
1652
- * @generated from field: repeated liquidmetal.v1alpha1.DeleteApplicationsResponse.Application success = 1;
1624
+ * @generated from field: string current_version_id = 2;
1653
1625
  */
1654
- success = [];
1626
+ currentVersionId = "";
1655
1627
  /**
1656
- * @generated from field: repeated liquidmetal.v1alpha1.DeleteApplicationsResponse.Application failure = 2;
1628
+ * @generated from field: bool is_sandboxed = 3;
1657
1629
  */
1658
- failure = [];
1630
+ isSandboxed = false;
1659
1631
  constructor(data) {
1660
1632
  super();
1661
1633
  proto3.util.initPartial(data, this);
1662
1634
  }
1663
1635
  static runtime = proto3;
1664
- static typeName = "liquidmetal.v1alpha1.DeleteApplicationsResponse";
1636
+ static typeName = "liquidmetal.v1alpha1.SetSandboxRequest.Application";
1665
1637
  static fields = proto3.util.newFieldList(() => [
1666
- { no: 1, name: "success", kind: "message", T: DeleteApplicationsResponse_Application, repeated: true },
1667
- { no: 2, name: "failure", kind: "message", T: DeleteApplicationsResponse_Application, repeated: true },
1638
+ { no: 1, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1639
+ { no: 2, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1640
+ { no: 3, name: "is_sandboxed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1668
1641
  ]);
1669
1642
  static fromBinary(bytes, options) {
1670
- return new DeleteApplicationsResponse().fromBinary(bytes, options);
1643
+ return new SetSandboxRequest_Application().fromBinary(bytes, options);
1671
1644
  }
1672
1645
  static fromJson(jsonValue, options) {
1673
- return new DeleteApplicationsResponse().fromJson(jsonValue, options);
1646
+ return new SetSandboxRequest_Application().fromJson(jsonValue, options);
1674
1647
  }
1675
1648
  static fromJsonString(jsonString, options) {
1676
- return new DeleteApplicationsResponse().fromJsonString(jsonString, options);
1649
+ return new SetSandboxRequest_Application().fromJsonString(jsonString, options);
1677
1650
  }
1678
1651
  static equals(a, b) {
1679
- return proto3.util.equals(DeleteApplicationsResponse, a, b);
1652
+ return proto3.util.equals(SetSandboxRequest_Application, a, b);
1680
1653
  }
1681
1654
  }
1682
1655
  /**
1683
- * @generated from message liquidmetal.v1alpha1.DeleteApplicationsResponse.Application
1656
+ * @generated from message liquidmetal.v1alpha1.SetSandboxResponse
1684
1657
  */
1685
- export class DeleteApplicationsResponse_Application extends Message {
1686
- /**
1687
- * @generated from field: string name = 1;
1688
- */
1689
- name = "";
1690
- /**
1691
- * @generated from field: optional string version_id = 2;
1692
- */
1693
- versionId;
1658
+ export class SetSandboxResponse extends Message {
1694
1659
  constructor(data) {
1695
1660
  super();
1696
1661
  proto3.util.initPartial(data, this);
1697
1662
  }
1698
1663
  static runtime = proto3;
1699
- static typeName = "liquidmetal.v1alpha1.DeleteApplicationsResponse.Application";
1700
- static fields = proto3.util.newFieldList(() => [
1701
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1702
- { no: 2, name: "version_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1703
- ]);
1664
+ static typeName = "liquidmetal.v1alpha1.SetSandboxResponse";
1665
+ static fields = proto3.util.newFieldList(() => []);
1704
1666
  static fromBinary(bytes, options) {
1705
- return new DeleteApplicationsResponse_Application().fromBinary(bytes, options);
1667
+ return new SetSandboxResponse().fromBinary(bytes, options);
1706
1668
  }
1707
1669
  static fromJson(jsonValue, options) {
1708
- return new DeleteApplicationsResponse_Application().fromJson(jsonValue, options);
1670
+ return new SetSandboxResponse().fromJson(jsonValue, options);
1709
1671
  }
1710
1672
  static fromJsonString(jsonString, options) {
1711
- return new DeleteApplicationsResponse_Application().fromJsonString(jsonString, options);
1673
+ return new SetSandboxResponse().fromJsonString(jsonString, options);
1712
1674
  }
1713
1675
  static equals(a, b) {
1714
- return proto3.util.equals(DeleteApplicationsResponse_Application, a, b);
1676
+ return proto3.util.equals(SetSandboxResponse, a, b);
1715
1677
  }
1716
1678
  }
1717
1679
  /**
1718
- * @generated from message liquidmetal.v1alpha1.QueryResourcesRequest
1680
+ * @generated from message liquidmetal.v1alpha1.StatusRequest
1719
1681
  */
1720
- export class QueryResourcesRequest extends Message {
1682
+ export class StatusRequest extends Message {
1721
1683
  /**
1722
1684
  * @generated from field: string user_id = 1;
1723
1685
  */
@@ -1731,136 +1693,108 @@ export class QueryResourcesRequest extends Message {
1731
1693
  */
1732
1694
  applicationName = "";
1733
1695
  /**
1734
- * @generated from field: string application_version_id = 4;
1696
+ * @generated from field: string current_version_id = 4;
1735
1697
  */
1736
- applicationVersionId = "";
1698
+ currentVersionId = "";
1737
1699
  constructor(data) {
1738
1700
  super();
1739
1701
  proto3.util.initPartial(data, this);
1740
1702
  }
1741
1703
  static runtime = proto3;
1742
- static typeName = "liquidmetal.v1alpha1.QueryResourcesRequest";
1704
+ static typeName = "liquidmetal.v1alpha1.StatusRequest";
1743
1705
  static fields = proto3.util.newFieldList(() => [
1744
1706
  { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1745
1707
  { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1746
1708
  { no: 3, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1747
- { no: 4, name: "application_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1709
+ { no: 4, name: "current_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1748
1710
  ]);
1749
1711
  static fromBinary(bytes, options) {
1750
- return new QueryResourcesRequest().fromBinary(bytes, options);
1712
+ return new StatusRequest().fromBinary(bytes, options);
1751
1713
  }
1752
1714
  static fromJson(jsonValue, options) {
1753
- return new QueryResourcesRequest().fromJson(jsonValue, options);
1715
+ return new StatusRequest().fromJson(jsonValue, options);
1754
1716
  }
1755
1717
  static fromJsonString(jsonString, options) {
1756
- return new QueryResourcesRequest().fromJsonString(jsonString, options);
1718
+ return new StatusRequest().fromJsonString(jsonString, options);
1757
1719
  }
1758
1720
  static equals(a, b) {
1759
- return proto3.util.equals(QueryResourcesRequest, a, b);
1721
+ return proto3.util.equals(StatusRequest, a, b);
1760
1722
  }
1761
1723
  }
1762
1724
  /**
1763
- * @generated from message liquidmetal.v1alpha1.QueryResourcesResponse
1725
+ * @generated from message liquidmetal.v1alpha1.StatusResponse
1764
1726
  */
1765
- export class QueryResourcesResponse extends Message {
1727
+ export class StatusResponse extends Message {
1766
1728
  /**
1767
- * @generated from field: repeated liquidmetal.v1alpha1.QueryResourcesResponse.Resource resources = 1;
1729
+ * @generated from field: liquidmetal.v1alpha1.UnitState state = 1;
1768
1730
  */
1769
- resources = [];
1731
+ state = UnitState.UNSPECIFIED;
1770
1732
  /**
1771
- * @generated from field: optional string next_page_token = 2;
1733
+ * @generated from field: repeated liquidmetal.v1alpha1.StatusResponse.Module modules = 2;
1772
1734
  */
1773
- nextPageToken;
1735
+ modules = [];
1774
1736
  constructor(data) {
1775
1737
  super();
1776
1738
  proto3.util.initPartial(data, this);
1777
1739
  }
1778
1740
  static runtime = proto3;
1779
- static typeName = "liquidmetal.v1alpha1.QueryResourcesResponse";
1741
+ static typeName = "liquidmetal.v1alpha1.StatusResponse";
1780
1742
  static fields = proto3.util.newFieldList(() => [
1781
- { no: 1, name: "resources", kind: "message", T: QueryResourcesResponse_Resource, repeated: true },
1782
- { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1743
+ { no: 1, name: "state", kind: "enum", T: proto3.getEnumType(UnitState) },
1744
+ { no: 2, name: "modules", kind: "message", T: StatusResponse_Module, repeated: true },
1783
1745
  ]);
1784
1746
  static fromBinary(bytes, options) {
1785
- return new QueryResourcesResponse().fromBinary(bytes, options);
1747
+ return new StatusResponse().fromBinary(bytes, options);
1786
1748
  }
1787
1749
  static fromJson(jsonValue, options) {
1788
- return new QueryResourcesResponse().fromJson(jsonValue, options);
1750
+ return new StatusResponse().fromJson(jsonValue, options);
1789
1751
  }
1790
1752
  static fromJsonString(jsonString, options) {
1791
- return new QueryResourcesResponse().fromJsonString(jsonString, options);
1753
+ return new StatusResponse().fromJsonString(jsonString, options);
1792
1754
  }
1793
1755
  static equals(a, b) {
1794
- return proto3.util.equals(QueryResourcesResponse, a, b);
1756
+ return proto3.util.equals(StatusResponse, a, b);
1795
1757
  }
1796
1758
  }
1797
1759
  /**
1798
- * @generated from message liquidmetal.v1alpha1.QueryResourcesResponse.Resource
1760
+ * A module corresponds to a module in an application manifest.
1761
+ *
1762
+ * @generated from message liquidmetal.v1alpha1.StatusResponse.Module
1799
1763
  */
1800
- export class QueryResourcesResponse_Resource extends Message {
1801
- /**
1802
- * @generated from field: string organization_id = 1;
1803
- */
1804
- organizationId = "";
1805
- /**
1806
- * @generated from field: string application_name = 2;
1807
- */
1808
- applicationName = "";
1764
+ export class StatusResponse_Module extends Message {
1809
1765
  /**
1810
- * @generated from field: string application_version_id = 3;
1811
- */
1812
- applicationVersionId = "";
1813
- /**
1814
- * @generated from field: string resource_id = 4;
1815
- */
1816
- resourceId = "";
1817
- /**
1818
- * @generated from field: string name = 5;
1766
+ * @generated from field: string name = 1;
1819
1767
  */
1820
1768
  name = "";
1821
1769
  /**
1822
- * @generated from field: string type = 6;
1823
- */
1824
- type = "";
1825
- /**
1826
- * @generated from field: google.protobuf.Struct attributes = 8;
1827
- */
1828
- attributes;
1829
- /**
1830
- * @generated from field: google.protobuf.Timestamp created_at = 9;
1770
+ * @generated from field: liquidmetal.v1alpha1.UnitState state = 2;
1831
1771
  */
1832
- createdAt;
1772
+ state = UnitState.UNSPECIFIED;
1833
1773
  /**
1834
- * @generated from field: google.protobuf.Timestamp updated_at = 10;
1774
+ * @generated from field: repeated string urls = 3;
1835
1775
  */
1836
- updatedAt;
1776
+ urls = [];
1837
1777
  constructor(data) {
1838
1778
  super();
1839
1779
  proto3.util.initPartial(data, this);
1840
1780
  }
1841
1781
  static runtime = proto3;
1842
- static typeName = "liquidmetal.v1alpha1.QueryResourcesResponse.Resource";
1782
+ static typeName = "liquidmetal.v1alpha1.StatusResponse.Module";
1843
1783
  static fields = proto3.util.newFieldList(() => [
1844
- { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1845
- { no: 2, name: "application_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1846
- { no: 3, name: "application_version_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1847
- { no: 4, name: "resource_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1848
- { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1849
- { no: 6, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1850
- { no: 8, name: "attributes", kind: "message", T: Struct },
1851
- { no: 9, name: "created_at", kind: "message", T: Timestamp },
1852
- { no: 10, name: "updated_at", kind: "message", T: Timestamp },
1784
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1785
+ { no: 2, name: "state", kind: "enum", T: proto3.getEnumType(UnitState) },
1786
+ { no: 3, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1853
1787
  ]);
1854
1788
  static fromBinary(bytes, options) {
1855
- return new QueryResourcesResponse_Resource().fromBinary(bytes, options);
1789
+ return new StatusResponse_Module().fromBinary(bytes, options);
1856
1790
  }
1857
1791
  static fromJson(jsonValue, options) {
1858
- return new QueryResourcesResponse_Resource().fromJson(jsonValue, options);
1792
+ return new StatusResponse_Module().fromJson(jsonValue, options);
1859
1793
  }
1860
1794
  static fromJsonString(jsonString, options) {
1861
- return new QueryResourcesResponse_Resource().fromJsonString(jsonString, options);
1795
+ return new StatusResponse_Module().fromJsonString(jsonString, options);
1862
1796
  }
1863
1797
  static equals(a, b) {
1864
- return proto3.util.equals(QueryResourcesResponse_Resource, a, b);
1798
+ return proto3.util.equals(StatusResponse_Module, a, b);
1865
1799
  }
1866
1800
  }