/
api_container_service_pb.d.ts
1797 lines (1407 loc) · 61.3 KB
/
api_container_service_pb.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// @generated by protoc-gen-es v1.5.1 with parameter "target=js+dts"
// @generated from file api_container_service.proto (package api_container_api, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";
/**
* @generated from enum api_container_api.ServiceStatus
*/
export declare enum ServiceStatus {
/**
* @generated from enum value: STOPPED = 0;
*/
STOPPED = 0,
/**
* @generated from enum value: RUNNING = 1;
*/
RUNNING = 1,
/**
* @generated from enum value: UNKNOWN = 2;
*/
UNKNOWN = 2,
}
/**
* @generated from enum api_container_api.ImageDownloadMode
*/
export declare enum ImageDownloadMode {
/**
* @generated from enum value: always = 0;
*/
always = 0,
/**
* @generated from enum value: missing = 1;
*/
missing = 1,
}
/**
* User services port forwarding
*
* @generated from enum api_container_api.Connect
*/
export declare enum Connect {
/**
* Best effort port forwarding
*
* @generated from enum value: CONNECT = 0;
*/
CONNECT = 0,
/**
* Port forwarding disabled
*
* Starlark run fails if the ports cannot be forwarded.
* MUST_CONNECT = 2;
*
* @generated from enum value: NO_CONNECT = 1;
*/
NO_CONNECT = 1,
}
/**
* @generated from enum api_container_api.KurtosisFeatureFlag
*/
export declare enum KurtosisFeatureFlag {
/**
* @generated from enum value: NO_INSTRUCTIONS_CACHING = 0;
*/
NO_INSTRUCTIONS_CACHING = 0,
}
/**
* @generated from enum api_container_api.RestartPolicy
*/
export declare enum RestartPolicy {
/**
* @generated from enum value: NEVER = 0;
*/
NEVER = 0,
/**
* @generated from enum value: ALWAYS = 1;
*/
ALWAYS = 1,
}
/**
* ==============================================================================================
* Shared Objects (Used By Multiple Endpoints)
* ==============================================================================================
*
* @generated from message api_container_api.Port
*/
export declare class Port extends Message<Port> {
/**
* @generated from field: uint32 number = 1;
*/
number: number;
/**
* The protocol that the port is listening on
*
* @generated from field: api_container_api.Port.TransportProtocol transport_protocol = 2;
*/
transportProtocol: Port_TransportProtocol;
/**
* @generated from field: string maybe_application_protocol = 3;
*/
maybeApplicationProtocol: string;
/**
* The wait timeout duration in string
*
* @generated from field: string maybe_wait_timeout = 4;
*/
maybeWaitTimeout: string;
constructor(data?: PartialMessage<Port>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.Port";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Port;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Port;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Port;
static equals(a: Port | PlainMessage<Port> | undefined, b: Port | PlainMessage<Port> | undefined): boolean;
}
/**
* @generated from enum api_container_api.Port.TransportProtocol
*/
export declare enum Port_TransportProtocol {
/**
* @generated from enum value: TCP = 0;
*/
TCP = 0,
/**
* @generated from enum value: SCTP = 1;
*/
SCTP = 1,
/**
* @generated from enum value: UDP = 2;
*/
UDP = 2,
}
/**
* @generated from message api_container_api.Container
*/
export declare class Container extends Message<Container> {
/**
* @generated from field: api_container_api.Container.Status status = 1;
*/
status: Container_Status;
/**
* @generated from field: string image_name = 2;
*/
imageName: string;
/**
* @generated from field: repeated string entrypoint_args = 3;
*/
entrypointArgs: string[];
/**
* @generated from field: repeated string cmd_args = 4;
*/
cmdArgs: string[];
/**
* @generated from field: map<string, string> env_vars = 5;
*/
envVars: { [key: string]: string };
constructor(data?: PartialMessage<Container>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.Container";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Container;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Container;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Container;
static equals(a: Container | PlainMessage<Container> | undefined, b: Container | PlainMessage<Container> | undefined): boolean;
}
/**
* @generated from enum api_container_api.Container.Status
*/
export declare enum Container_Status {
/**
* @generated from enum value: STOPPED = 0;
*/
STOPPED = 0,
/**
* @generated from enum value: RUNNING = 1;
*/
RUNNING = 1,
/**
* @generated from enum value: UNKNOWN = 2;
*/
UNKNOWN = 2,
}
/**
* @generated from message api_container_api.ServiceInfo
*/
export declare class ServiceInfo extends Message<ServiceInfo> {
/**
* UUID of the service
*
* @generated from field: string service_uuid = 1;
*/
serviceUuid: string;
/**
* The IP address of the service inside the enclave
*
* @generated from field: string private_ip_addr = 2;
*/
privateIpAddr: string;
/**
* The ports on which the service is reachable inside the enclave, specified in user_specified_port_id -> port_info
* Will be exactly what was passed in at the time of starting the service
*
* @generated from field: map<string, api_container_api.Port> private_ports = 3;
*/
privatePorts: { [key: string]: Port };
/**
* Public IP address *outside* the enclave where the service is reachable
* NOTE: Will be empty if the service isn't running, the service didn't define any ports, or the backend doesn't support reporting public service info
*
* @generated from field: string maybe_public_ip_addr = 4;
*/
maybePublicIpAddr: string;
/**
* Mapping defining the ports that the service can be reached at *outside* the enclave, in the user_defined_port_id -> port_info where user_defined_port_id
* corresponds to the ID that was passed in in AddServiceArgs
* NOTE: Will be empty if the service isn't running, the service didn't define any ports, or the backend doesn't support reporting public service info
*
* @generated from field: map<string, api_container_api.Port> maybe_public_ports = 5;
*/
maybePublicPorts: { [key: string]: Port };
/**
* Name of the service
*
* @generated from field: string name = 6;
*/
name: string;
/**
* Shortened uuid of the service
*
* @generated from field: string shortened_uuid = 7;
*/
shortenedUuid: string;
/**
* Service status: stopped, running.
*
* @generated from field: api_container_api.ServiceStatus service_status = 8;
*/
serviceStatus: ServiceStatus;
/**
* Docker container or Kubernetes pod container
*
* @generated from field: api_container_api.Container container = 9;
*/
container?: Container;
constructor(data?: PartialMessage<ServiceInfo>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.ServiceInfo";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServiceInfo;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServiceInfo;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServiceInfo;
static equals(a: ServiceInfo | PlainMessage<ServiceInfo> | undefined, b: ServiceInfo | PlainMessage<ServiceInfo> | undefined): boolean;
}
/**
* @generated from message api_container_api.RunStarlarkScriptArgs
*/
export declare class RunStarlarkScriptArgs extends Message<RunStarlarkScriptArgs> {
/**
* @generated from field: string serialized_script = 1;
*/
serializedScript: string;
/**
* @generated from field: optional string serialized_params = 2;
*/
serializedParams?: string;
/**
* Defaults to false
*
* @generated from field: optional bool dry_run = 3;
*/
dryRun?: boolean;
/**
* Defaults to 4
*
* @generated from field: optional int32 parallelism = 4;
*/
parallelism?: number;
/**
* The name of the main function, the default value is "run"
*
* @generated from field: optional string main_function_name = 5;
*/
mainFunctionName?: string;
/**
* @generated from field: repeated api_container_api.KurtosisFeatureFlag experimental_features = 6;
*/
experimentalFeatures: KurtosisFeatureFlag[];
/**
* Defaults to empty
*
* @generated from field: optional string cloud_instance_id = 7;
*/
cloudInstanceId?: string;
/**
* Defaults to empty
*
* @generated from field: optional string cloud_user_id = 8;
*/
cloudUserId?: string;
/**
* Defaults to empty
*
* @generated from field: optional api_container_api.ImageDownloadMode image_download_mode = 9;
*/
imageDownloadMode?: ImageDownloadMode;
constructor(data?: PartialMessage<RunStarlarkScriptArgs>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.RunStarlarkScriptArgs";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunStarlarkScriptArgs;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunStarlarkScriptArgs;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunStarlarkScriptArgs;
static equals(a: RunStarlarkScriptArgs | PlainMessage<RunStarlarkScriptArgs> | undefined, b: RunStarlarkScriptArgs | PlainMessage<RunStarlarkScriptArgs> | undefined): boolean;
}
/**
* @generated from message api_container_api.RunStarlarkPackageArgs
*/
export declare class RunStarlarkPackageArgs extends Message<RunStarlarkPackageArgs> {
/**
* @generated from field: string package_id = 1;
*/
packageId: string;
/**
* Deprecated: If the package is local, it should have been uploaded with UploadStarlarkPackage prior to calling
* RunStarlarkPackage. If the package is remote and must be cloned within the APIC, use the standalone boolean flag
* clone_package below
*
* @generated from oneof api_container_api.RunStarlarkPackageArgs.starlark_package_content
*/
starlarkPackageContent: {
/**
* the payload of the local module
*
* @generated from field: bytes local = 3;
*/
value: Uint8Array;
case: "local";
} | {
/**
* just a flag to indicate the module must be cloned inside the API
*
* @generated from field: bool remote = 4;
*/
value: boolean;
case: "remote";
} | { case: undefined; value?: undefined };
/**
* Serialized parameters data for the Starlark package main function
* This should be a valid JSON string
*
* @generated from field: optional string serialized_params = 5;
*/
serializedParams?: string;
/**
* Defaults to false
*
* @generated from field: optional bool dry_run = 6;
*/
dryRun?: boolean;
/**
* Defaults to 4
*
* @generated from field: optional int32 parallelism = 7;
*/
parallelism?: number;
/**
* Whether the package should be cloned or not.
* If false, then the package will be pulled from the APIC local package store. If it's a local package then is must
* have been uploaded using UploadStarlarkPackage prior to calling RunStarlarkPackage.
* If true, then the package will be cloned from GitHub before execution starts
*
* @generated from field: optional bool clone_package = 8;
*/
clonePackage?: boolean;
/**
* The relative main file filepath, the default value is the "main.star" file in the root of a package
*
* @generated from field: optional string relative_path_to_main_file = 9;
*/
relativePathToMainFile?: string;
/**
* The name of the main function, the default value is "run"
*
* @generated from field: optional string main_function_name = 10;
*/
mainFunctionName?: string;
/**
* @generated from field: repeated api_container_api.KurtosisFeatureFlag experimental_features = 11;
*/
experimentalFeatures: KurtosisFeatureFlag[];
/**
* Defaults to empty
* Deprecated: This value isn't used in the APIC anymore
*
* @generated from field: optional string cloud_instance_id = 12;
*/
cloudInstanceId?: string;
/**
* Defaults to empty
* Deprecated: This value isn't used in the APIC anymore
*
* @generated from field: optional string cloud_user_id = 13;
*/
cloudUserId?: string;
/**
* Defaults to empty
*
* @generated from field: optional api_container_api.ImageDownloadMode image_download_mode = 14;
*/
imageDownloadMode?: ImageDownloadMode;
constructor(data?: PartialMessage<RunStarlarkPackageArgs>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.RunStarlarkPackageArgs";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunStarlarkPackageArgs;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunStarlarkPackageArgs;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunStarlarkPackageArgs;
static equals(a: RunStarlarkPackageArgs | PlainMessage<RunStarlarkPackageArgs> | undefined, b: RunStarlarkPackageArgs | PlainMessage<RunStarlarkPackageArgs> | undefined): boolean;
}
/**
* ==============================================================================================
* Starlark Execution Response
* ==============================================================================================
*
* @generated from message api_container_api.StarlarkRunResponseLine
*/
export declare class StarlarkRunResponseLine extends Message<StarlarkRunResponseLine> {
/**
* @generated from oneof api_container_api.StarlarkRunResponseLine.run_response_line
*/
runResponseLine: {
/**
* @generated from field: api_container_api.StarlarkInstruction instruction = 1;
*/
value: StarlarkInstruction;
case: "instruction";
} | {
/**
* @generated from field: api_container_api.StarlarkError error = 2;
*/
value: StarlarkError;
case: "error";
} | {
/**
* @generated from field: api_container_api.StarlarkRunProgress progress_info = 3;
*/
value: StarlarkRunProgress;
case: "progressInfo";
} | {
/**
* @generated from field: api_container_api.StarlarkInstructionResult instruction_result = 4;
*/
value: StarlarkInstructionResult;
case: "instructionResult";
} | {
/**
* @generated from field: api_container_api.StarlarkRunFinishedEvent run_finished_event = 5;
*/
value: StarlarkRunFinishedEvent;
case: "runFinishedEvent";
} | {
/**
* @generated from field: api_container_api.StarlarkWarning warning = 6;
*/
value: StarlarkWarning;
case: "warning";
} | {
/**
* @generated from field: api_container_api.StarlarkInfo info = 7;
*/
value: StarlarkInfo;
case: "info";
} | { case: undefined; value?: undefined };
constructor(data?: PartialMessage<StarlarkRunResponseLine>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkRunResponseLine";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkRunResponseLine;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkRunResponseLine;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkRunResponseLine;
static equals(a: StarlarkRunResponseLine | PlainMessage<StarlarkRunResponseLine> | undefined, b: StarlarkRunResponseLine | PlainMessage<StarlarkRunResponseLine> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkInfo
*/
export declare class StarlarkInfo extends Message<StarlarkInfo> {
/**
* @generated from field: string info_message = 1;
*/
infoMessage: string;
constructor(data?: PartialMessage<StarlarkInfo>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkInfo";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkInfo;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkInfo;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkInfo;
static equals(a: StarlarkInfo | PlainMessage<StarlarkInfo> | undefined, b: StarlarkInfo | PlainMessage<StarlarkInfo> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkWarning
*/
export declare class StarlarkWarning extends Message<StarlarkWarning> {
/**
* @generated from field: string warning_message = 1;
*/
warningMessage: string;
constructor(data?: PartialMessage<StarlarkWarning>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkWarning";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkWarning;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkWarning;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkWarning;
static equals(a: StarlarkWarning | PlainMessage<StarlarkWarning> | undefined, b: StarlarkWarning | PlainMessage<StarlarkWarning> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkInstruction
*/
export declare class StarlarkInstruction extends Message<StarlarkInstruction> {
/**
* @generated from field: api_container_api.StarlarkInstructionPosition position = 1;
*/
position?: StarlarkInstructionPosition;
/**
* @generated from field: string instruction_name = 2;
*/
instructionName: string;
/**
* @generated from field: repeated api_container_api.StarlarkInstructionArg arguments = 3;
*/
arguments: StarlarkInstructionArg[];
/**
* @generated from field: string executable_instruction = 4;
*/
executableInstruction: string;
/**
* @generated from field: bool is_skipped = 5;
*/
isSkipped: boolean;
/**
* @generated from field: string description = 6;
*/
description: string;
constructor(data?: PartialMessage<StarlarkInstruction>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkInstruction";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkInstruction;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkInstruction;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkInstruction;
static equals(a: StarlarkInstruction | PlainMessage<StarlarkInstruction> | undefined, b: StarlarkInstruction | PlainMessage<StarlarkInstruction> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkInstructionResult
*/
export declare class StarlarkInstructionResult extends Message<StarlarkInstructionResult> {
/**
* @generated from field: string serialized_instruction_result = 1;
*/
serializedInstructionResult: string;
constructor(data?: PartialMessage<StarlarkInstructionResult>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkInstructionResult";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkInstructionResult;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkInstructionResult;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkInstructionResult;
static equals(a: StarlarkInstructionResult | PlainMessage<StarlarkInstructionResult> | undefined, b: StarlarkInstructionResult | PlainMessage<StarlarkInstructionResult> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkInstructionArg
*/
export declare class StarlarkInstructionArg extends Message<StarlarkInstructionArg> {
/**
* @generated from field: string serialized_arg_value = 1;
*/
serializedArgValue: string;
/**
* @generated from field: optional string arg_name = 2;
*/
argName?: string;
/**
* @generated from field: bool is_representative = 3;
*/
isRepresentative: boolean;
constructor(data?: PartialMessage<StarlarkInstructionArg>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkInstructionArg";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkInstructionArg;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkInstructionArg;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkInstructionArg;
static equals(a: StarlarkInstructionArg | PlainMessage<StarlarkInstructionArg> | undefined, b: StarlarkInstructionArg | PlainMessage<StarlarkInstructionArg> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkInstructionPosition
*/
export declare class StarlarkInstructionPosition extends Message<StarlarkInstructionPosition> {
/**
* @generated from field: string filename = 1;
*/
filename: string;
/**
* @generated from field: int32 line = 2;
*/
line: number;
/**
* @generated from field: int32 column = 3;
*/
column: number;
constructor(data?: PartialMessage<StarlarkInstructionPosition>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkInstructionPosition";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkInstructionPosition;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkInstructionPosition;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkInstructionPosition;
static equals(a: StarlarkInstructionPosition | PlainMessage<StarlarkInstructionPosition> | undefined, b: StarlarkInstructionPosition | PlainMessage<StarlarkInstructionPosition> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkError
*/
export declare class StarlarkError extends Message<StarlarkError> {
/**
* @generated from oneof api_container_api.StarlarkError.error
*/
error: {
/**
* @generated from field: api_container_api.StarlarkInterpretationError interpretation_error = 1;
*/
value: StarlarkInterpretationError;
case: "interpretationError";
} | {
/**
* @generated from field: api_container_api.StarlarkValidationError validation_error = 2;
*/
value: StarlarkValidationError;
case: "validationError";
} | {
/**
* @generated from field: api_container_api.StarlarkExecutionError execution_error = 3;
*/
value: StarlarkExecutionError;
case: "executionError";
} | { case: undefined; value?: undefined };
constructor(data?: PartialMessage<StarlarkError>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkError";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkError;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkError;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkError;
static equals(a: StarlarkError | PlainMessage<StarlarkError> | undefined, b: StarlarkError | PlainMessage<StarlarkError> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkInterpretationError
*/
export declare class StarlarkInterpretationError extends Message<StarlarkInterpretationError> {
/**
* @generated from field: string error_message = 1;
*/
errorMessage: string;
constructor(data?: PartialMessage<StarlarkInterpretationError>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkInterpretationError";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkInterpretationError;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkInterpretationError;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkInterpretationError;
static equals(a: StarlarkInterpretationError | PlainMessage<StarlarkInterpretationError> | undefined, b: StarlarkInterpretationError | PlainMessage<StarlarkInterpretationError> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkValidationError
*/
export declare class StarlarkValidationError extends Message<StarlarkValidationError> {
/**
* @generated from field: string error_message = 1;
*/
errorMessage: string;
constructor(data?: PartialMessage<StarlarkValidationError>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkValidationError";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkValidationError;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkValidationError;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkValidationError;
static equals(a: StarlarkValidationError | PlainMessage<StarlarkValidationError> | undefined, b: StarlarkValidationError | PlainMessage<StarlarkValidationError> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkExecutionError
*/
export declare class StarlarkExecutionError extends Message<StarlarkExecutionError> {
/**
* @generated from field: string error_message = 1;
*/
errorMessage: string;
constructor(data?: PartialMessage<StarlarkExecutionError>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkExecutionError";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkExecutionError;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkExecutionError;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkExecutionError;
static equals(a: StarlarkExecutionError | PlainMessage<StarlarkExecutionError> | undefined, b: StarlarkExecutionError | PlainMessage<StarlarkExecutionError> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkRunProgress
*/
export declare class StarlarkRunProgress extends Message<StarlarkRunProgress> {
/**
* @generated from field: repeated string current_step_info = 1;
*/
currentStepInfo: string[];
/**
* @generated from field: uint32 total_steps = 2;
*/
totalSteps: number;
/**
* @generated from field: uint32 current_step_number = 3;
*/
currentStepNumber: number;
constructor(data?: PartialMessage<StarlarkRunProgress>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkRunProgress";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkRunProgress;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkRunProgress;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkRunProgress;
static equals(a: StarlarkRunProgress | PlainMessage<StarlarkRunProgress> | undefined, b: StarlarkRunProgress | PlainMessage<StarlarkRunProgress> | undefined): boolean;
}
/**
* @generated from message api_container_api.StarlarkRunFinishedEvent
*/
export declare class StarlarkRunFinishedEvent extends Message<StarlarkRunFinishedEvent> {
/**
* @generated from field: bool is_run_successful = 1;
*/
isRunSuccessful: boolean;
/**
* @generated from field: optional string serialized_output = 2;
*/
serializedOutput?: string;
constructor(data?: PartialMessage<StarlarkRunFinishedEvent>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.StarlarkRunFinishedEvent";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StarlarkRunFinishedEvent;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StarlarkRunFinishedEvent;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StarlarkRunFinishedEvent;
static equals(a: StarlarkRunFinishedEvent | PlainMessage<StarlarkRunFinishedEvent> | undefined, b: StarlarkRunFinishedEvent | PlainMessage<StarlarkRunFinishedEvent> | undefined): boolean;
}
/**
* ==============================================================================================
* Get Services
* ==============================================================================================
*
* @generated from message api_container_api.GetServicesArgs
*/
export declare class GetServicesArgs extends Message<GetServicesArgs> {
/**
* "Set" of identifiers to fetch info for
* If empty, will fetch info for all services
*
* @generated from field: map<string, bool> service_identifiers = 1;
*/
serviceIdentifiers: { [key: string]: boolean };
constructor(data?: PartialMessage<GetServicesArgs>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.GetServicesArgs";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetServicesArgs;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetServicesArgs;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetServicesArgs;
static equals(a: GetServicesArgs | PlainMessage<GetServicesArgs> | undefined, b: GetServicesArgs | PlainMessage<GetServicesArgs> | undefined): boolean;
}
/**
* @generated from message api_container_api.GetServicesResponse
*/
export declare class GetServicesResponse extends Message<GetServicesResponse> {
/**
* "Set" from identifiers -> info about the service
*
* @generated from field: map<string, api_container_api.ServiceInfo> service_info = 1;
*/
serviceInfo: { [key: string]: ServiceInfo };
constructor(data?: PartialMessage<GetServicesResponse>);
static readonly runtime: typeof proto3;
static readonly typeName = "api_container_api.GetServicesResponse";
static readonly fields: FieldList;
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetServicesResponse;
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetServicesResponse;
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetServicesResponse;
static equals(a: GetServicesResponse | PlainMessage<GetServicesResponse> | undefined, b: GetServicesResponse | PlainMessage<GetServicesResponse> | undefined): boolean;
}