arcbox-protocol 0.4.10

Protocol definitions for ArcBox (ttrpc/protobuf)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
// This file is @generated by prost-build.
/// Empty message for requests/responses that don't need data.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Empty {}
/// Timestamp with nanosecond precision.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Timestamp {
    /// Seconds since Unix epoch.
    #[prost(int64, tag = "1")]
    pub seconds: i64,
    /// Nanoseconds within the second.
    #[prost(int32, tag = "2")]
    pub nanos: i32,
}
/// Key-value pair for labels, environment variables, etc.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeyValue {
    #[prost(string, tag = "1")]
    pub key: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub value: ::prost::alloc::string::String,
}
/// Mount specification for bind mounts and volumes.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Mount {
    /// Source path on host.
    #[prost(string, tag = "1")]
    pub source: ::prost::alloc::string::String,
    /// Target path in container.
    #[prost(string, tag = "2")]
    pub target: ::prost::alloc::string::String,
    /// Mount type: bind, volume, tmpfs.
    #[prost(string, tag = "3")]
    pub r#type: ::prost::alloc::string::String,
    /// Read-only flag.
    #[prost(bool, tag = "4")]
    pub readonly: bool,
}
/// Port binding specification.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PortBinding {
    /// Port inside the container.
    #[prost(uint32, tag = "1")]
    pub container_port: u32,
    /// Port on the host.
    #[prost(uint32, tag = "2")]
    pub host_port: u32,
    /// Protocol: tcp, udp.
    #[prost(string, tag = "3")]
    pub protocol: ::prost::alloc::string::String,
    /// Host IP to bind to.
    #[prost(string, tag = "4")]
    pub host_ip: ::prost::alloc::string::String,
}
/// Resource limits for containers.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ResourceLimits {
    /// Memory limit in bytes.
    #[prost(uint64, tag = "1")]
    pub memory_bytes: u64,
    /// CPU shares (relative weight).
    #[prost(uint64, tag = "2")]
    pub cpu_shares: u64,
    /// CPU quota in microseconds per period.
    #[prost(int64, tag = "3")]
    pub cpu_quota: i64,
    /// CPU period in microseconds.
    #[prost(uint64, tag = "4")]
    pub cpu_period: u64,
    /// Number of CPUs.
    #[prost(double, tag = "5")]
    pub cpus: f64,
    /// Memory swap limit in bytes.
    #[prost(int64, tag = "6")]
    pub memory_swap: i64,
}
/// Request to create a machine.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMachineRequest {
    /// Machine name.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Number of CPUs (0 = use the daemon default).
    #[prost(uint32, tag = "2")]
    pub cpus: u32,
    /// Memory in bytes.
    #[prost(uint64, tag = "3")]
    pub memory: u64,
    /// Disk size in bytes.
    #[prost(uint64, tag = "4")]
    pub disk_size: u64,
    /// Linux distribution (e.g., "ubuntu", "alpine").
    #[prost(string, tag = "5")]
    pub distro: ::prost::alloc::string::String,
    /// Version of the distribution.
    #[prost(string, tag = "6")]
    pub version: ::prost::alloc::string::String,
    /// Architecture (e.g., "aarch64", "x86_64").
    #[prost(string, tag = "7")]
    pub arch: ::prost::alloc::string::String,
    /// Directory mounts.
    #[prost(message, repeated, tag = "8")]
    pub mounts: ::prost::alloc::vec::Vec<DirectoryMount>,
    /// SSH public key.
    #[prost(string, tag = "9")]
    pub ssh_public_key: ::prost::alloc::string::String,
    /// Kernel image path.
    #[prost(string, tag = "10")]
    pub kernel: ::prost::alloc::string::String,
    /// Kernel command line.
    #[prost(string, tag = "12")]
    pub cmdline: ::prost::alloc::string::String,
}
/// Request that targets a machine's guest agent.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineAgentRequest {
    /// Machine ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Ping response from machine guest agent.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachinePingResponse {
    /// Response payload.
    #[prost(string, tag = "1")]
    pub message: ::prost::alloc::string::String,
    /// Agent version.
    #[prost(string, tag = "2")]
    pub version: ::prost::alloc::string::String,
}
/// System information reported by machine guest agent.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineSystemInfo {
    /// Kernel version.
    #[prost(string, tag = "1")]
    pub kernel_version: ::prost::alloc::string::String,
    /// OS name.
    #[prost(string, tag = "2")]
    pub os_name: ::prost::alloc::string::String,
    /// OS version.
    #[prost(string, tag = "3")]
    pub os_version: ::prost::alloc::string::String,
    /// Architecture.
    #[prost(string, tag = "4")]
    pub arch: ::prost::alloc::string::String,
    /// Total memory in bytes.
    #[prost(uint64, tag = "5")]
    pub total_memory: u64,
    /// Available memory in bytes.
    #[prost(uint64, tag = "6")]
    pub available_memory: u64,
    /// Number of CPUs.
    #[prost(uint32, tag = "7")]
    pub cpu_count: u32,
    /// Load average (1, 5, 15 minutes).
    #[prost(double, repeated, tag = "8")]
    pub load_average: ::prost::alloc::vec::Vec<f64>,
    /// Hostname.
    #[prost(string, tag = "9")]
    pub hostname: ::prost::alloc::string::String,
    /// Uptime in seconds.
    #[prost(uint64, tag = "10")]
    pub uptime: u64,
    /// Guest IP addresses (excluding loopback).
    #[prost(string, repeated, tag = "11")]
    pub ip_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Directory mount configuration.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DirectoryMount {
    /// Host directory path.
    #[prost(string, tag = "1")]
    pub host_path: ::prost::alloc::string::String,
    /// Guest mount point.
    #[prost(string, tag = "2")]
    pub guest_path: ::prost::alloc::string::String,
    /// Read-only flag.
    #[prost(bool, tag = "3")]
    pub readonly: bool,
}
/// Response to create machine.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMachineResponse {
    /// Machine ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Request to start a machine.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StartMachineRequest {
    /// Machine ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Request to stop a machine.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StopMachineRequest {
    /// Machine ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Force stop.
    #[prost(bool, tag = "2")]
    pub force: bool,
}
/// Request to remove a machine.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveMachineRequest {
    /// Machine ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Force removal.
    #[prost(bool, tag = "2")]
    pub force: bool,
    /// Remove volumes.
    #[prost(bool, tag = "3")]
    pub volumes: bool,
}
/// Request to list machines.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ListMachinesRequest {
    /// Show all machines (including stopped).
    #[prost(bool, tag = "1")]
    pub all: bool,
}
/// Response to list machines.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListMachinesResponse {
    /// List of machines.
    #[prost(message, repeated, tag = "1")]
    pub machines: ::prost::alloc::vec::Vec<MachineSummary>,
}
/// Summary information about a machine.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineSummary {
    /// Machine ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Machine name.
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// State (running, stopped, etc.).
    #[prost(string, tag = "3")]
    pub state: ::prost::alloc::string::String,
    /// Number of CPUs.
    #[prost(uint32, tag = "4")]
    pub cpus: u32,
    /// Memory in bytes.
    #[prost(uint64, tag = "5")]
    pub memory: u64,
    /// Disk size in bytes.
    #[prost(uint64, tag = "6")]
    pub disk_size: u64,
    /// IP address.
    #[prost(string, tag = "7")]
    pub ip_address: ::prost::alloc::string::String,
    /// Creation timestamp.
    #[prost(int64, tag = "8")]
    pub created: i64,
}
/// Request to inspect a machine.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InspectMachineRequest {
    /// Machine ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Detailed machine information.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineInfo {
    /// Machine ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Machine name.
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// State.
    #[prost(string, tag = "3")]
    pub state: ::prost::alloc::string::String,
    /// Hardware configuration.
    #[prost(message, optional, tag = "4")]
    pub hardware: ::core::option::Option<MachineHardware>,
    /// Network configuration.
    #[prost(message, optional, tag = "5")]
    pub network: ::core::option::Option<MachineNetwork>,
    /// Storage configuration.
    #[prost(message, optional, tag = "6")]
    pub storage: ::core::option::Option<MachineStorage>,
    /// OS information.
    #[prost(message, optional, tag = "7")]
    pub os: ::core::option::Option<MachineOs>,
    /// Creation timestamp.
    #[prost(message, optional, tag = "8")]
    pub created: ::core::option::Option<Timestamp>,
    /// Last start timestamp.
    #[prost(message, optional, tag = "9")]
    pub started_at: ::core::option::Option<Timestamp>,
    /// Directory mounts.
    #[prost(message, repeated, tag = "10")]
    pub mounts: ::prost::alloc::vec::Vec<DirectoryMount>,
}
/// Machine hardware configuration.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineHardware {
    /// Number of CPUs.
    #[prost(uint32, tag = "1")]
    pub cpus: u32,
    /// Memory in bytes.
    #[prost(uint64, tag = "2")]
    pub memory: u64,
    /// Architecture.
    #[prost(string, tag = "3")]
    pub arch: ::prost::alloc::string::String,
}
/// Machine network configuration.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineNetwork {
    /// IP address.
    #[prost(string, tag = "1")]
    pub ip_address: ::prost::alloc::string::String,
    /// Gateway.
    #[prost(string, tag = "2")]
    pub gateway: ::prost::alloc::string::String,
    /// MAC address.
    #[prost(string, tag = "3")]
    pub mac_address: ::prost::alloc::string::String,
    /// DNS servers.
    #[prost(string, repeated, tag = "4")]
    pub dns_servers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// MAC address of the bridge NAT NIC used for host-side vmnet routing on macOS.
    #[prost(string, tag = "5")]
    pub bridge_mac_address: ::prost::alloc::string::String,
}
/// Machine storage configuration.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineStorage {
    /// Disk size in bytes.
    #[prost(uint64, tag = "1")]
    pub disk_size: u64,
    /// Disk format.
    #[prost(string, tag = "2")]
    pub disk_format: ::prost::alloc::string::String,
    /// Disk path.
    #[prost(string, tag = "3")]
    pub disk_path: ::prost::alloc::string::String,
}
/// Machine OS information.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineOs {
    /// Distribution name.
    #[prost(string, tag = "1")]
    pub distro: ::prost::alloc::string::String,
    /// Version.
    #[prost(string, tag = "2")]
    pub version: ::prost::alloc::string::String,
    /// Kernel version.
    #[prost(string, tag = "3")]
    pub kernel: ::prost::alloc::string::String,
}
/// Request to execute a command in a machine.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineExecRequest {
    /// Machine ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Command to execute.
    #[prost(string, repeated, tag = "2")]
    pub cmd: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Working directory.
    #[prost(string, tag = "3")]
    pub working_dir: ::prost::alloc::string::String,
    /// User to run as.
    #[prost(string, tag = "4")]
    pub user: ::prost::alloc::string::String,
    /// Environment variables.
    #[prost(map = "string, string", tag = "5")]
    pub env:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Allocate TTY.
    #[prost(bool, tag = "6")]
    pub tty: bool,
}
/// Exec output from a machine.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MachineExecOutput {
    /// Stream type: stdout or stderr.
    #[prost(string, tag = "1")]
    pub stream: ::prost::alloc::string::String,
    /// Output data.
    #[prost(bytes = "vec", tag = "2")]
    pub data: ::prost::alloc::vec::Vec<u8>,
    /// Exit code (only set on completion).
    #[prost(int32, tag = "3")]
    pub exit_code: i32,
    /// Is this the final message.
    #[prost(bool, tag = "4")]
    pub done: bool,
}
/// Request for SSH connection info.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SshInfoRequest {
    /// Machine ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// SSH connection information.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SshInfoResponse {
    /// Host to connect to.
    #[prost(string, tag = "1")]
    pub host: ::prost::alloc::string::String,
    /// Port number.
    #[prost(uint32, tag = "2")]
    pub port: u32,
    /// Username.
    #[prost(string, tag = "3")]
    pub user: ::prost::alloc::string::String,
    /// Private key path (if using key-based auth).
    #[prost(string, tag = "4")]
    pub identity_file: ::prost::alloc::string::String,
    /// SSH command string.
    #[prost(string, tag = "5")]
    pub command: ::prost::alloc::string::String,
}
/// Request to create a container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateContainerRequest {
    /// Container name (optional, auto-generated if empty).
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Image reference.
    #[prost(string, tag = "2")]
    pub image: ::prost::alloc::string::String,
    /// Command to run.
    #[prost(string, repeated, tag = "3")]
    pub cmd: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Entrypoint override.
    #[prost(string, repeated, tag = "4")]
    pub entrypoint: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Environment variables.
    #[prost(map = "string, string", tag = "5")]
    pub env:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Working directory.
    #[prost(string, tag = "6")]
    pub working_dir: ::prost::alloc::string::String,
    /// User to run as.
    #[prost(string, tag = "7")]
    pub user: ::prost::alloc::string::String,
    /// Mount specifications.
    #[prost(message, repeated, tag = "8")]
    pub mounts: ::prost::alloc::vec::Vec<Mount>,
    /// Port bindings.
    #[prost(message, repeated, tag = "9")]
    pub ports: ::prost::alloc::vec::Vec<PortBinding>,
    /// Resource limits.
    #[prost(message, optional, tag = "10")]
    pub limits: ::core::option::Option<ResourceLimits>,
    /// Labels.
    #[prost(map = "string, string", tag = "11")]
    pub labels:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Hostname.
    #[prost(string, tag = "12")]
    pub hostname: ::prost::alloc::string::String,
    /// Allocate a TTY.
    #[prost(bool, tag = "13")]
    pub tty: bool,
    /// Keep stdin open.
    #[prost(bool, tag = "14")]
    pub stdin_open: bool,
    /// Network mode.
    #[prost(string, tag = "15")]
    pub network_mode: ::prost::alloc::string::String,
}
/// Response to create container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateContainerResponse {
    /// Container ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Warnings during creation.
    #[prost(string, repeated, tag = "2")]
    pub warnings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Request to start a container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StartContainerRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Request to stop a container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StopContainerRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Timeout in seconds before kill.
    #[prost(uint32, tag = "2")]
    pub timeout: u32,
}
/// Request to kill a container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KillContainerRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Signal to send.
    #[prost(string, tag = "2")]
    pub signal: ::prost::alloc::string::String,
}
/// Request to remove a container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveContainerRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Force removal of running container.
    #[prost(bool, tag = "2")]
    pub force: bool,
    /// Remove associated volumes.
    #[prost(bool, tag = "3")]
    pub volumes: bool,
}
/// Request to list containers.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListContainersRequest {
    /// Show all containers (not just running).
    #[prost(bool, tag = "1")]
    pub all: bool,
    /// Maximum number of containers to return.
    #[prost(int32, tag = "2")]
    pub limit: i32,
    /// Show sizes.
    #[prost(bool, tag = "3")]
    pub size: bool,
    /// Filters as JSON-encoded map.
    #[prost(string, tag = "4")]
    pub filters: ::prost::alloc::string::String,
}
/// Response to list containers.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListContainersResponse {
    /// List of containers.
    #[prost(message, repeated, tag = "1")]
    pub containers: ::prost::alloc::vec::Vec<ContainerSummary>,
}
/// Summary information about a container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerSummary {
    /// Container ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Container names.
    #[prost(string, repeated, tag = "2")]
    pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Image name.
    #[prost(string, tag = "3")]
    pub image: ::prost::alloc::string::String,
    /// Image ID.
    #[prost(string, tag = "4")]
    pub image_id: ::prost::alloc::string::String,
    /// Command.
    #[prost(string, tag = "5")]
    pub command: ::prost::alloc::string::String,
    /// Creation timestamp.
    #[prost(int64, tag = "6")]
    pub created: i64,
    /// State (running, exited, etc.).
    #[prost(string, tag = "7")]
    pub state: ::prost::alloc::string::String,
    /// Status string.
    #[prost(string, tag = "8")]
    pub status: ::prost::alloc::string::String,
    /// Port bindings.
    #[prost(message, repeated, tag = "9")]
    pub ports: ::prost::alloc::vec::Vec<PortBinding>,
    /// Labels.
    #[prost(map = "string, string", tag = "10")]
    pub labels:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Size in bytes (rw layer).
    #[prost(int64, tag = "11")]
    pub size_rw: i64,
    /// Size of root filesystem.
    #[prost(int64, tag = "12")]
    pub size_root_fs: i64,
}
/// Request to inspect a container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InspectContainerRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Include size information.
    #[prost(bool, tag = "2")]
    pub size: bool,
}
/// Detailed container information.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerInfo {
    /// Container ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Container name.
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// Creation timestamp.
    #[prost(message, optional, tag = "3")]
    pub created: ::core::option::Option<Timestamp>,
    /// Path to container command.
    #[prost(string, tag = "4")]
    pub path: ::prost::alloc::string::String,
    /// Arguments to command.
    #[prost(string, repeated, tag = "5")]
    pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Container state.
    #[prost(message, optional, tag = "6")]
    pub state: ::core::option::Option<ContainerState>,
    /// Image reference.
    #[prost(string, tag = "7")]
    pub image: ::prost::alloc::string::String,
    /// Container configuration.
    #[prost(message, optional, tag = "8")]
    pub config: ::core::option::Option<ContainerConfig>,
    /// Network settings.
    #[prost(message, optional, tag = "9")]
    pub network_settings: ::core::option::Option<NetworkSettings>,
    /// Mount points.
    #[prost(message, repeated, tag = "10")]
    pub mounts: ::prost::alloc::vec::Vec<MountPoint>,
}
/// Container state information.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerState {
    /// Current status.
    #[prost(string, tag = "1")]
    pub status: ::prost::alloc::string::String,
    /// Is container running.
    #[prost(bool, tag = "2")]
    pub running: bool,
    /// Is container paused.
    #[prost(bool, tag = "3")]
    pub paused: bool,
    /// Is container restarting.
    #[prost(bool, tag = "4")]
    pub restarting: bool,
    /// Is OOM killed.
    #[prost(bool, tag = "5")]
    pub oom_killed: bool,
    /// Is container dead.
    #[prost(bool, tag = "6")]
    pub dead: bool,
    /// Container PID.
    #[prost(int32, tag = "7")]
    pub pid: i32,
    /// Exit code.
    #[prost(int32, tag = "8")]
    pub exit_code: i32,
    /// Error message.
    #[prost(string, tag = "9")]
    pub error: ::prost::alloc::string::String,
    /// Start time.
    #[prost(string, tag = "10")]
    pub started_at: ::prost::alloc::string::String,
    /// Finish time.
    #[prost(string, tag = "11")]
    pub finished_at: ::prost::alloc::string::String,
}
/// Container configuration.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerConfig {
    /// Hostname.
    #[prost(string, tag = "1")]
    pub hostname: ::prost::alloc::string::String,
    /// Domain name.
    #[prost(string, tag = "2")]
    pub domainname: ::prost::alloc::string::String,
    /// User.
    #[prost(string, tag = "3")]
    pub user: ::prost::alloc::string::String,
    /// Working directory.
    #[prost(string, tag = "4")]
    pub working_dir: ::prost::alloc::string::String,
    /// Command.
    #[prost(string, repeated, tag = "5")]
    pub cmd: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Entrypoint.
    #[prost(string, repeated, tag = "6")]
    pub entrypoint: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Environment variables.
    #[prost(string, repeated, tag = "7")]
    pub env: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Image.
    #[prost(string, tag = "8")]
    pub image: ::prost::alloc::string::String,
    /// Labels.
    #[prost(map = "string, string", tag = "9")]
    pub labels:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// TTY allocation.
    #[prost(bool, tag = "10")]
    pub tty: bool,
    /// Open stdin.
    #[prost(bool, tag = "11")]
    pub open_stdin: bool,
}
/// Network settings.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkSettings {
    /// IP address.
    #[prost(string, tag = "1")]
    pub ip_address: ::prost::alloc::string::String,
    /// Gateway.
    #[prost(string, tag = "2")]
    pub gateway: ::prost::alloc::string::String,
    /// MAC address.
    #[prost(string, tag = "3")]
    pub mac_address: ::prost::alloc::string::String,
    /// Network ID.
    #[prost(string, tag = "4")]
    pub network_id: ::prost::alloc::string::String,
}
/// Mount point information.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MountPoint {
    /// Mount type.
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    /// Source.
    #[prost(string, tag = "2")]
    pub source: ::prost::alloc::string::String,
    /// Destination.
    #[prost(string, tag = "3")]
    pub destination: ::prost::alloc::string::String,
    /// Read-only.
    #[prost(bool, tag = "4")]
    pub rw: bool,
}
/// Request for container logs.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LogsRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub container_id: ::prost::alloc::string::String,
    /// Follow log output.
    #[prost(bool, tag = "2")]
    pub follow: bool,
    /// Show stdout.
    #[prost(bool, tag = "3")]
    pub stdout: bool,
    /// Show stderr.
    #[prost(bool, tag = "4")]
    pub stderr: bool,
    /// Show timestamps.
    #[prost(bool, tag = "5")]
    pub timestamps: bool,
    /// Only logs since this time (Unix timestamp).
    #[prost(int64, tag = "6")]
    pub since: i64,
    /// Only logs until this time (Unix timestamp).
    #[prost(int64, tag = "7")]
    pub until: i64,
    /// Number of lines from end ("all" means all).
    #[prost(string, tag = "8")]
    pub tail: ::prost::alloc::string::String,
}
/// Log entry.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LogEntry {
    /// Stream type: stdout or stderr.
    #[prost(string, tag = "1")]
    pub stream: ::prost::alloc::string::String,
    /// Log message.
    #[prost(bytes = "vec", tag = "2")]
    pub message: ::prost::alloc::vec::Vec<u8>,
    /// Timestamp.
    #[prost(message, optional, tag = "3")]
    pub timestamp: ::core::option::Option<Timestamp>,
}
/// Request to create an exec instance.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecCreateRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub container_id: ::prost::alloc::string::String,
    /// Command to run.
    #[prost(string, repeated, tag = "2")]
    pub cmd: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Attach stdin.
    #[prost(bool, tag = "3")]
    pub attach_stdin: bool,
    /// Attach stdout.
    #[prost(bool, tag = "4")]
    pub attach_stdout: bool,
    /// Attach stderr.
    #[prost(bool, tag = "5")]
    pub attach_stderr: bool,
    /// Allocate TTY.
    #[prost(bool, tag = "6")]
    pub tty: bool,
    /// Environment variables.
    #[prost(string, repeated, tag = "7")]
    pub env: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Working directory.
    #[prost(string, tag = "8")]
    pub working_dir: ::prost::alloc::string::String,
    /// User to run as.
    #[prost(string, tag = "9")]
    pub user: ::prost::alloc::string::String,
    /// Run in privileged mode.
    #[prost(bool, tag = "10")]
    pub privileged: bool,
}
/// Response to create exec.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecCreateResponse {
    /// Exec ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Request to start an exec instance.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecStartRequest {
    /// Exec ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Detach from exec.
    #[prost(bool, tag = "2")]
    pub detach: bool,
    /// TTY mode.
    #[prost(bool, tag = "3")]
    pub tty: bool,
    /// Console size (height, width).
    #[prost(uint32, repeated, tag = "4")]
    pub console_size: ::prost::alloc::vec::Vec<u32>,
}
/// Exec output.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecOutput {
    /// Stream type: stdout or stderr.
    #[prost(string, tag = "1")]
    pub stream: ::prost::alloc::string::String,
    /// Output data.
    #[prost(bytes = "vec", tag = "2")]
    pub data: ::prost::alloc::vec::Vec<u8>,
}
/// Attach input.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttachInput {
    /// Input data.
    #[prost(bytes = "vec", tag = "1")]
    pub data: ::prost::alloc::vec::Vec<u8>,
    /// Resize terminal.
    #[prost(bool, tag = "2")]
    pub resize: bool,
    /// Terminal height.
    #[prost(uint32, tag = "3")]
    pub height: u32,
    /// Terminal width.
    #[prost(uint32, tag = "4")]
    pub width: u32,
}
/// Attach output.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttachOutput {
    /// Stream type.
    #[prost(string, tag = "1")]
    pub stream: ::prost::alloc::string::String,
    /// Output data.
    #[prost(bytes = "vec", tag = "2")]
    pub data: ::prost::alloc::vec::Vec<u8>,
}
/// Request to wait for a container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WaitContainerRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Condition to wait for: not-running, next-exit, removed.
    #[prost(string, tag = "2")]
    pub condition: ::prost::alloc::string::String,
}
/// Response when container exits.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WaitContainerResponse {
    /// Exit code.
    #[prost(int64, tag = "1")]
    pub status_code: i64,
    /// Error message if any.
    #[prost(string, tag = "2")]
    pub error: ::prost::alloc::string::String,
}
/// Request to pause a container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PauseContainerRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Request to unpause a container.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UnpauseContainerRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Request for container stats.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerStatsRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Container stats response.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ContainerStatsResponse {
    /// CPU usage in nanoseconds.
    #[prost(uint64, tag = "1")]
    pub cpu_usage: u64,
    /// System CPU usage in nanoseconds.
    #[prost(uint64, tag = "2")]
    pub system_cpu_usage: u64,
    /// Number of online CPUs.
    #[prost(uint32, tag = "3")]
    pub online_cpus: u32,
    /// Memory usage in bytes.
    #[prost(uint64, tag = "4")]
    pub memory_usage: u64,
    /// Memory limit in bytes.
    #[prost(uint64, tag = "5")]
    pub memory_limit: u64,
    /// Network bytes received.
    #[prost(uint64, tag = "6")]
    pub network_rx_bytes: u64,
    /// Network bytes transmitted.
    #[prost(uint64, tag = "7")]
    pub network_tx_bytes: u64,
    /// Block I/O read bytes.
    #[prost(uint64, tag = "8")]
    pub block_read_bytes: u64,
    /// Block I/O write bytes.
    #[prost(uint64, tag = "9")]
    pub block_write_bytes: u64,
    /// Number of PIDs.
    #[prost(uint32, tag = "10")]
    pub pids: u32,
}
/// Request for container top (process list).
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerTopRequest {
    /// Container ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// ps arguments (optional).
    #[prost(string, tag = "2")]
    pub ps_args: ::prost::alloc::string::String,
}
/// Container top response.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContainerTopResponse {
    /// Column titles.
    #[prost(string, repeated, tag = "1")]
    pub titles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Process rows (each row is a list of values).
    #[prost(message, repeated, tag = "2")]
    pub processes: ::prost::alloc::vec::Vec<ProcessRow>,
}
/// A single process row.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProcessRow {
    /// Values for each column.
    #[prost(string, repeated, tag = "1")]
    pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Request to pull an image.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PullImageRequest {
    /// Image reference (e.g., "ubuntu:22.04", "docker.io/library/nginx:latest").
    #[prost(string, tag = "1")]
    pub reference: ::prost::alloc::string::String,
    /// Registry authentication (base64-encoded JSON).
    #[prost(string, tag = "2")]
    pub auth: ::prost::alloc::string::String,
    /// Platform to pull (e.g., "linux/arm64").
    #[prost(string, tag = "3")]
    pub platform: ::prost::alloc::string::String,
}
/// Progress update during pull.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PullProgress {
    /// Layer ID or digest.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Status message.
    #[prost(string, tag = "2")]
    pub status: ::prost::alloc::string::String,
    /// Progress detail.
    #[prost(string, tag = "3")]
    pub progress: ::prost::alloc::string::String,
    /// Bytes downloaded.
    #[prost(int64, tag = "4")]
    pub current: i64,
    /// Total bytes.
    #[prost(int64, tag = "5")]
    pub total: i64,
}
/// Request to push an image.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PushImageRequest {
    /// Image reference to push.
    #[prost(string, tag = "1")]
    pub reference: ::prost::alloc::string::String,
    /// Registry authentication.
    #[prost(string, tag = "2")]
    pub auth: ::prost::alloc::string::String,
}
/// Progress update during push.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PushProgress {
    /// Layer ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Status message.
    #[prost(string, tag = "2")]
    pub status: ::prost::alloc::string::String,
    /// Progress detail.
    #[prost(string, tag = "3")]
    pub progress: ::prost::alloc::string::String,
    /// Bytes uploaded.
    #[prost(int64, tag = "4")]
    pub current: i64,
    /// Total bytes.
    #[prost(int64, tag = "5")]
    pub total: i64,
}
/// Request to list images.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListImagesRequest {
    /// Show all images (including intermediate layers).
    #[prost(bool, tag = "1")]
    pub all: bool,
    /// Filters as JSON-encoded map.
    #[prost(string, tag = "2")]
    pub filters: ::prost::alloc::string::String,
    /// Show digests.
    #[prost(bool, tag = "3")]
    pub digests: bool,
}
/// Response to list images.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListImagesResponse {
    /// List of images.
    #[prost(message, repeated, tag = "1")]
    pub images: ::prost::alloc::vec::Vec<ImageSummary>,
}
/// Summary information about an image.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImageSummary {
    /// Image ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Repository tags.
    #[prost(string, repeated, tag = "2")]
    pub repo_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Repository digests.
    #[prost(string, repeated, tag = "3")]
    pub repo_digests: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Creation timestamp.
    #[prost(int64, tag = "4")]
    pub created: i64,
    /// Image size in bytes.
    #[prost(int64, tag = "5")]
    pub size: i64,
    /// Virtual size in bytes.
    #[prost(int64, tag = "6")]
    pub virtual_size: i64,
    /// Number of containers using this image.
    #[prost(int64, tag = "7")]
    pub containers: i64,
    /// Labels.
    #[prost(map = "string, string", tag = "8")]
    pub labels:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// Request to inspect an image.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InspectImageRequest {
    /// Image ID or reference.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Detailed image information.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImageInfo {
    /// Image ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Repository tags.
    #[prost(string, repeated, tag = "2")]
    pub repo_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Repository digests.
    #[prost(string, repeated, tag = "3")]
    pub repo_digests: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Parent image ID.
    #[prost(string, tag = "4")]
    pub parent: ::prost::alloc::string::String,
    /// Comment.
    #[prost(string, tag = "5")]
    pub comment: ::prost::alloc::string::String,
    /// Creation timestamp.
    #[prost(string, tag = "6")]
    pub created: ::prost::alloc::string::String,
    /// Author.
    #[prost(string, tag = "7")]
    pub author: ::prost::alloc::string::String,
    /// Architecture.
    #[prost(string, tag = "8")]
    pub architecture: ::prost::alloc::string::String,
    /// OS.
    #[prost(string, tag = "9")]
    pub os: ::prost::alloc::string::String,
    /// OS version.
    #[prost(string, tag = "10")]
    pub os_version: ::prost::alloc::string::String,
    /// Image size in bytes.
    #[prost(int64, tag = "11")]
    pub size: i64,
    /// Virtual size in bytes.
    #[prost(int64, tag = "12")]
    pub virtual_size: i64,
    /// Container configuration.
    #[prost(message, optional, tag = "13")]
    pub config: ::core::option::Option<ImageConfig>,
    /// Root filesystem.
    #[prost(message, optional, tag = "14")]
    pub root_fs: ::core::option::Option<RootFs>,
}
/// Image configuration.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImageConfig {
    /// Hostname.
    #[prost(string, tag = "1")]
    pub hostname: ::prost::alloc::string::String,
    /// Domain name.
    #[prost(string, tag = "2")]
    pub domainname: ::prost::alloc::string::String,
    /// User.
    #[prost(string, tag = "3")]
    pub user: ::prost::alloc::string::String,
    /// Environment variables.
    #[prost(string, repeated, tag = "4")]
    pub env: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Command.
    #[prost(string, repeated, tag = "5")]
    pub cmd: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Entrypoint.
    #[prost(string, repeated, tag = "6")]
    pub entrypoint: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Working directory.
    #[prost(string, tag = "7")]
    pub working_dir: ::prost::alloc::string::String,
    /// Labels.
    #[prost(map = "string, string", tag = "8")]
    pub labels:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Exposed ports.
    #[prost(map = "string, message", tag = "9")]
    pub exposed_ports: ::std::collections::HashMap<::prost::alloc::string::String, Empty>,
    /// Volumes.
    #[prost(map = "string, message", tag = "10")]
    pub volumes: ::std::collections::HashMap<::prost::alloc::string::String, Empty>,
}
/// Root filesystem information.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RootFs {
    /// Type (usually "layers").
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    /// Layer digests.
    #[prost(string, repeated, tag = "2")]
    pub layers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Request to remove an image.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveImageRequest {
    /// Image ID or reference.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Force removal.
    #[prost(bool, tag = "2")]
    pub force: bool,
    /// Remove untagged parents.
    #[prost(bool, tag = "3")]
    pub prune_parents: bool,
}
/// Response to remove image.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveImageResponse {
    /// Deleted image IDs.
    #[prost(string, repeated, tag = "1")]
    pub deleted: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Untagged references.
    #[prost(string, repeated, tag = "2")]
    pub untagged: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Request to tag an image.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TagImageRequest {
    /// Source image ID or reference.
    #[prost(string, tag = "1")]
    pub source: ::prost::alloc::string::String,
    /// Target repository.
    #[prost(string, tag = "2")]
    pub repo: ::prost::alloc::string::String,
    /// Target tag.
    #[prost(string, tag = "3")]
    pub tag: ::prost::alloc::string::String,
}
/// Build context chunk.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BuildContext {
    /// Tar archive chunk.
    #[prost(bytes = "vec", tag = "1")]
    pub data: ::prost::alloc::vec::Vec<u8>,
    /// Is this the last chunk.
    #[prost(bool, tag = "2")]
    pub eof: bool,
}
/// Progress update during build.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BuildProgress {
    /// Stream type.
    #[prost(string, tag = "1")]
    pub stream: ::prost::alloc::string::String,
    /// Status message.
    #[prost(string, tag = "2")]
    pub status: ::prost::alloc::string::String,
    /// Progress detail.
    #[prost(string, tag = "3")]
    pub progress: ::prost::alloc::string::String,
    /// Error message.
    #[prost(string, tag = "4")]
    pub error: ::prost::alloc::string::String,
    /// Aux data (image ID on success).
    #[prost(string, tag = "5")]
    pub aux: ::prost::alloc::string::String,
}
/// Request to check if an image exists.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExistsImageRequest {
    /// Image reference.
    #[prost(string, tag = "1")]
    pub reference: ::prost::alloc::string::String,
}
/// Response to exists check.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExistsImageResponse {
    /// Whether the image exists.
    #[prost(bool, tag = "1")]
    pub exists: bool,
    /// Image ID if exists.
    #[prost(string, tag = "2")]
    pub id: ::prost::alloc::string::String,
}
/// Ping request.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AgentPingRequest {
    /// Optional payload.
    #[prost(string, tag = "1")]
    pub message: ::prost::alloc::string::String,
    /// Host wall-clock time in Unix seconds. Agent sets clock when > 0.
    #[prost(int64, tag = "2")]
    pub timestamp_secs: i64,
}
/// Ping response.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AgentPingResponse {
    /// Response payload.
    #[prost(string, tag = "1")]
    pub message: ::prost::alloc::string::String,
    /// Agent version.
    #[prost(string, tag = "2")]
    pub version: ::prost::alloc::string::String,
}
/// System information from the guest.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SystemInfo {
    /// Kernel version.
    #[prost(string, tag = "1")]
    pub kernel_version: ::prost::alloc::string::String,
    /// OS name.
    #[prost(string, tag = "2")]
    pub os_name: ::prost::alloc::string::String,
    /// OS version.
    #[prost(string, tag = "3")]
    pub os_version: ::prost::alloc::string::String,
    /// Architecture.
    #[prost(string, tag = "4")]
    pub arch: ::prost::alloc::string::String,
    /// Total memory in bytes.
    #[prost(uint64, tag = "5")]
    pub total_memory: u64,
    /// Available memory in bytes.
    #[prost(uint64, tag = "6")]
    pub available_memory: u64,
    /// Number of CPUs.
    #[prost(uint32, tag = "7")]
    pub cpu_count: u32,
    /// Load average (1, 5, 15 minutes).
    #[prost(double, repeated, tag = "8")]
    pub load_average: ::prost::alloc::vec::Vec<f64>,
    /// Hostname.
    #[prost(string, tag = "9")]
    pub hostname: ::prost::alloc::string::String,
    /// Uptime in seconds.
    #[prost(uint64, tag = "10")]
    pub uptime: u64,
    /// Guest IP addresses (excluding loopback).
    #[prost(string, repeated, tag = "11")]
    pub ip_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Request to ensure runtime services are available.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RuntimeEnsureRequest {
    /// Whether to attempt starting services when not ready.
    #[prost(bool, tag = "1")]
    pub start_if_needed: bool,
}
/// Response from runtime ensure operation.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RuntimeEnsureResponse {
    /// Whether runtime is ready for Docker API requests.
    #[prost(bool, tag = "1")]
    pub ready: bool,
    /// Runtime endpoint exposed to host proxy.
    #[prost(string, tag = "2")]
    pub endpoint: ::prost::alloc::string::String,
    /// Additional status detail.
    #[prost(string, tag = "3")]
    pub message: ::prost::alloc::string::String,
    /// Outcome of this ensure call: "started", "reused", or "failed".
    #[prost(string, tag = "4")]
    pub status: ::prost::alloc::string::String,
}
/// Request for runtime status.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct RuntimeStatusRequest {}
/// Runtime status report.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RuntimeStatusResponse {
    /// Whether containerd socket is reachable.
    #[prost(bool, tag = "1")]
    pub containerd_ready: bool,
    /// Whether Docker socket is reachable.
    #[prost(bool, tag = "2")]
    pub docker_ready: bool,
    /// Runtime endpoint exposed to host proxy.
    #[prost(string, tag = "3")]
    pub endpoint: ::prost::alloc::string::String,
    /// Human-readable detail for diagnostics.
    #[prost(string, tag = "4")]
    pub detail: ::prost::alloc::string::String,
    /// Per-service status entries for fine-grained observability.
    #[prost(message, repeated, tag = "5")]
    pub services: ::prost::alloc::vec::Vec<ServiceStatus>,
}
/// Request to trigger an immediate fstrim on data mount points.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DiskTrimRequest {}
/// Response from a disk trim operation.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DiskTrimResponse {
    /// Human-readable result summary (e.g. bytes trimmed per mount).
    #[prost(string, tag = "1")]
    pub result: ::prost::alloc::string::String,
}
/// Notification that a container's published port bindings changed.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PortBindingsChanged {
    /// Container ID.
    #[prost(string, tag = "1")]
    pub container_id: ::prost::alloc::string::String,
    /// Current published bindings from dockerd inspect output.
    #[prost(message, repeated, tag = "2")]
    pub bindings: ::prost::alloc::vec::Vec<PortBinding>,
}
/// Notification that a container no longer has active published ports.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PortBindingsRemoved {
    /// Container ID.
    #[prost(string, tag = "1")]
    pub container_id: ::prost::alloc::string::String,
}
/// Individual service status within the guest runtime stack.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServiceStatus {
    /// Service name (e.g. "containerd", "dockerd", "runc").
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Service status: "ready", "not_ready", or "error".
    #[prost(string, tag = "2")]
    pub status: ::prost::alloc::string::String,
    /// Human-readable detail for diagnostics (error message, socket path, etc.).
    #[prost(string, tag = "3")]
    pub detail: ::prost::alloc::string::String,
}
/// Request to start the native Kubernetes cluster.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KubernetesStartRequest {}
/// Response from starting the native Kubernetes cluster.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KubernetesStartResponse {
    /// Whether the cluster process is running.
    #[prost(bool, tag = "1")]
    pub running: bool,
    /// Whether the Kubernetes API endpoint is reachable.
    #[prost(bool, tag = "2")]
    pub api_ready: bool,
    /// API endpoint exposed to the host.
    #[prost(string, tag = "3")]
    pub endpoint: ::prost::alloc::string::String,
    /// Human-readable detail for diagnostics.
    #[prost(string, tag = "4")]
    pub detail: ::prost::alloc::string::String,
}
/// Request to stop the native Kubernetes cluster.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KubernetesStopRequest {}
/// Response from stopping the native Kubernetes cluster.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KubernetesStopResponse {
    /// Whether the cluster is fully stopped.
    #[prost(bool, tag = "1")]
    pub stopped: bool,
    /// Human-readable detail for diagnostics.
    #[prost(string, tag = "2")]
    pub detail: ::prost::alloc::string::String,
}
/// Request to delete the native Kubernetes cluster state.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KubernetesDeleteRequest {}
/// Response from deleting the native Kubernetes cluster state.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KubernetesDeleteResponse {
    /// Human-readable detail for diagnostics.
    #[prost(string, tag = "1")]
    pub detail: ::prost::alloc::string::String,
}
/// Request for Kubernetes cluster status.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KubernetesStatusRequest {}
/// Runtime status report for the native Kubernetes cluster.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KubernetesStatusResponse {
    /// Whether the cluster process is running.
    #[prost(bool, tag = "1")]
    pub running: bool,
    /// Whether the Kubernetes API endpoint is reachable.
    #[prost(bool, tag = "2")]
    pub api_ready: bool,
    /// API endpoint exposed to the host.
    #[prost(string, tag = "3")]
    pub endpoint: ::prost::alloc::string::String,
    /// Human-readable detail for diagnostics.
    #[prost(string, tag = "4")]
    pub detail: ::prost::alloc::string::String,
    /// Per-service status entries for fine-grained observability.
    #[prost(message, repeated, tag = "5")]
    pub services: ::prost::alloc::vec::Vec<ServiceStatus>,
}
/// Request for managed kubeconfig content.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct KubernetesKubeconfigRequest {}
/// Managed kubeconfig payload exported from the guest cluster.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KubernetesKubeconfigResponse {
    /// Raw kubeconfig YAML.
    #[prost(string, tag = "1")]
    pub kubeconfig: ::prost::alloc::string::String,
    /// ArcBox-managed context name.
    #[prost(string, tag = "2")]
    pub context_name: ::prost::alloc::string::String,
    /// API endpoint embedded in the exported kubeconfig.
    #[prost(string, tag = "3")]
    pub endpoint: ::prost::alloc::string::String,
}
/// Graceful shutdown request from host.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ShutdownRequest {
    /// Grace period in seconds for processes to exit after SIGTERM.
    /// 0 means use the agent's default (currently 25 seconds).
    #[prost(uint32, tag = "1")]
    pub timeout_seconds: u32,
}
/// Shutdown acknowledgement. Sent before the agent begins teardown.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ShutdownResponse {
    /// Always true when the agent accepts the request.
    #[prost(bool, tag = "1")]
    pub accepted: bool,
}
/// Test-only: read a file through `mmap(MAP_SHARED)` to force the guest
/// kernel to issue `FUSE_SETUPMAPPING` and exercise the VirtioFS DAX path.
/// Used by the ABX-362 E2E harness. Not intended for production callers.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MmapReadFileRequest {
    /// Absolute guest path (typically a file inside a VirtioFS mount).
    #[prost(string, tag = "1")]
    pub path: ::prost::alloc::string::String,
    /// Byte offset within the file.
    #[prost(uint64, tag = "2")]
    pub offset: u64,
    /// Number of bytes to read. Rounded up to a page boundary internally;
    /// the response trims back to the requested length.
    #[prost(uint64, tag = "3")]
    pub length: u64,
}
/// Response to `MmapReadFileRequest`.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MmapReadFileResponse {
    /// Bytes read, trimmed to the originally requested length.
    #[prost(bytes = "vec", tag = "1")]
    pub data: ::prost::alloc::vec::Vec<u8>,
    /// Number of bytes actually read (<= length). Short if file smaller
    /// than offset+length.
    #[prost(uint64, tag = "2")]
    pub bytes_read: u64,
}
/// Request to create a network.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateNetworkRequest {
    /// Network name.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Driver (e.g., "bridge", "host", "none").
    #[prost(string, tag = "2")]
    pub driver: ::prost::alloc::string::String,
    /// Internal network (not connected to external network).
    #[prost(bool, tag = "3")]
    pub internal: bool,
    /// Labels.
    #[prost(map = "string, string", tag = "4")]
    pub labels:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Enable IPv6.
    #[prost(bool, tag = "5")]
    pub enable_ipv6: bool,
    /// IPAM configuration.
    #[prost(message, optional, tag = "6")]
    pub ipam: ::core::option::Option<IpamConfig>,
}
/// IPAM configuration.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IpamConfig {
    /// Driver name.
    #[prost(string, tag = "1")]
    pub driver: ::prost::alloc::string::String,
    /// IPAM options.
    #[prost(map = "string, string", tag = "2")]
    pub options:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Subnet configurations.
    #[prost(message, repeated, tag = "3")]
    pub subnets: ::prost::alloc::vec::Vec<IpamSubnet>,
}
/// IPAM subnet configuration.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IpamSubnet {
    /// Subnet in CIDR format.
    #[prost(string, tag = "1")]
    pub subnet: ::prost::alloc::string::String,
    /// Gateway address.
    #[prost(string, tag = "2")]
    pub gateway: ::prost::alloc::string::String,
    /// IP range for allocation.
    #[prost(string, tag = "3")]
    pub ip_range: ::prost::alloc::string::String,
}
/// Response to create network.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateNetworkResponse {
    /// Network ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Warning messages.
    #[prost(string, repeated, tag = "2")]
    pub warnings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Request to remove a network.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveNetworkRequest {
    /// Network ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
/// Request to list networks.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListNetworksRequest {
    /// Filter by labels.
    #[prost(map = "string, string", tag = "1")]
    pub filters:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// Response to list networks.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListNetworksResponse {
    /// List of networks.
    #[prost(message, repeated, tag = "1")]
    pub networks: ::prost::alloc::vec::Vec<NetworkSummary>,
}
/// Summary information about a network.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkSummary {
    /// Network ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Network name.
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// Driver.
    #[prost(string, tag = "3")]
    pub driver: ::prost::alloc::string::String,
    /// Scope (local, global).
    #[prost(string, tag = "4")]
    pub scope: ::prost::alloc::string::String,
    /// Created timestamp (RFC3339).
    #[prost(string, tag = "5")]
    pub created: ::prost::alloc::string::String,
    /// Internal network.
    #[prost(bool, tag = "6")]
    pub internal: bool,
    /// Attachable.
    #[prost(bool, tag = "7")]
    pub attachable: bool,
    /// Labels.
    #[prost(map = "string, string", tag = "8")]
    pub labels:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// Request to inspect a network.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InspectNetworkRequest {
    /// Network ID or name.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Verbose output.
    #[prost(bool, tag = "2")]
    pub verbose: bool,
}
/// Detailed network information.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkInfo {
    /// Network ID.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Network name.
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// Driver.
    #[prost(string, tag = "3")]
    pub driver: ::prost::alloc::string::String,
    /// Scope.
    #[prost(string, tag = "4")]
    pub scope: ::prost::alloc::string::String,
    /// Created timestamp (RFC3339).
    #[prost(string, tag = "5")]
    pub created: ::prost::alloc::string::String,
    /// Internal network.
    #[prost(bool, tag = "6")]
    pub internal: bool,
    /// Attachable.
    #[prost(bool, tag = "7")]
    pub attachable: bool,
    /// Labels.
    #[prost(map = "string, string", tag = "8")]
    pub labels:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// IPAM configuration.
    #[prost(message, optional, tag = "9")]
    pub ipam: ::core::option::Option<IpamConfig>,
    /// Connected containers.
    #[prost(map = "string, message", tag = "10")]
    pub containers: ::std::collections::HashMap<::prost::alloc::string::String, NetworkContainer>,
    /// Driver options.
    #[prost(map = "string, string", tag = "11")]
    pub options:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// Container connected to a network.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NetworkContainer {
    /// Container name.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Container endpoint ID.
    #[prost(string, tag = "2")]
    pub endpoint_id: ::prost::alloc::string::String,
    /// IPv4 address.
    #[prost(string, tag = "3")]
    pub ipv4_address: ::prost::alloc::string::String,
    /// IPv6 address.
    #[prost(string, tag = "4")]
    pub ipv6_address: ::prost::alloc::string::String,
    /// MAC address.
    #[prost(string, tag = "5")]
    pub mac_address: ::prost::alloc::string::String,
}
/// Request to get system info.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct GetInfoRequest {}
/// Response to get system info.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetInfoResponse {
    /// Number of containers.
    #[prost(int64, tag = "1")]
    pub containers: i64,
    /// Running containers.
    #[prost(int64, tag = "2")]
    pub containers_running: i64,
    /// Paused containers.
    #[prost(int64, tag = "3")]
    pub containers_paused: i64,
    /// Stopped containers.
    #[prost(int64, tag = "4")]
    pub containers_stopped: i64,
    /// Number of images.
    #[prost(int64, tag = "5")]
    pub images: i64,
    /// Number of machines.
    #[prost(int64, tag = "6")]
    pub machines: i64,
    /// Running machines.
    #[prost(int64, tag = "7")]
    pub machines_running: i64,
    /// Server version.
    #[prost(string, tag = "8")]
    pub server_version: ::prost::alloc::string::String,
    /// Operating system.
    #[prost(string, tag = "9")]
    pub os: ::prost::alloc::string::String,
    /// Architecture.
    #[prost(string, tag = "10")]
    pub arch: ::prost::alloc::string::String,
    /// Total memory.
    #[prost(int64, tag = "11")]
    pub mem_total: i64,
    /// Number of CPUs.
    #[prost(int32, tag = "12")]
    pub ncpu: i32,
    /// Data directory.
    #[prost(string, tag = "13")]
    pub data_dir: ::prost::alloc::string::String,
    /// Kernel version.
    #[prost(string, tag = "14")]
    pub kernel_version: ::prost::alloc::string::String,
    /// Operating system type.
    #[prost(string, tag = "15")]
    pub os_type: ::prost::alloc::string::String,
    /// Logging driver.
    #[prost(string, tag = "16")]
    pub logging_driver: ::prost::alloc::string::String,
    /// Storage driver.
    #[prost(string, tag = "17")]
    pub storage_driver: ::prost::alloc::string::String,
}
/// Request to get version.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct GetVersionRequest {}
/// Response to get version.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetVersionResponse {
    /// Version string.
    #[prost(string, tag = "1")]
    pub version: ::prost::alloc::string::String,
    /// API version.
    #[prost(string, tag = "2")]
    pub api_version: ::prost::alloc::string::String,
    /// Minimum API version.
    #[prost(string, tag = "3")]
    pub min_api_version: ::prost::alloc::string::String,
    /// Git commit.
    #[prost(string, tag = "4")]
    pub git_commit: ::prost::alloc::string::String,
    /// Build time.
    #[prost(string, tag = "5")]
    pub build_time: ::prost::alloc::string::String,
    /// OS.
    #[prost(string, tag = "6")]
    pub os: ::prost::alloc::string::String,
    /// Architecture.
    #[prost(string, tag = "7")]
    pub arch: ::prost::alloc::string::String,
    /// Go version (for compatibility).
    #[prost(string, tag = "8")]
    pub go_version: ::prost::alloc::string::String,
}
/// Request to ping the server.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct SystemPingRequest {}
/// Response to ping.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SystemPingResponse {
    /// API version.
    #[prost(string, tag = "1")]
    pub api_version: ::prost::alloc::string::String,
    /// Build version.
    #[prost(string, tag = "2")]
    pub build_version: ::prost::alloc::string::String,
}
/// Request to get events.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventsRequest {
    /// Only events since this timestamp (Unix seconds).
    #[prost(int64, tag = "1")]
    pub since: i64,
    /// Only events until this timestamp (Unix seconds).
    #[prost(int64, tag = "2")]
    pub until: i64,
    /// Filters.
    #[prost(map = "string, string", tag = "3")]
    pub filters:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// System event.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Event {
    /// Event type (container, image, network, volume, daemon).
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    /// Action (create, start, stop, die, destroy, etc.).
    #[prost(string, tag = "2")]
    pub action: ::prost::alloc::string::String,
    /// Actor that generated the event.
    #[prost(message, optional, tag = "3")]
    pub actor: ::core::option::Option<EventActor>,
    /// Timestamp (Unix nanoseconds).
    #[prost(int64, tag = "4")]
    pub time_nano: i64,
}
/// Event actor.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventActor {
    /// ID of the object.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    /// Attributes.
    #[prost(map = "string, string", tag = "2")]
    pub attributes:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// Request to prune resources.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PruneRequest {
    /// Types to prune: containers, images, networks, volumes, all.
    #[prost(string, repeated, tag = "1")]
    pub types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Remove all unused resources, not just dangling ones.
    #[prost(bool, tag = "2")]
    pub all: bool,
    /// Filters.
    #[prost(map = "string, string", tag = "3")]
    pub filters:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// Response to prune.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PruneResponse {
    /// Space reclaimed in bytes.
    #[prost(uint64, tag = "1")]
    pub space_reclaimed: u64,
    /// Deleted containers.
    #[prost(string, repeated, tag = "2")]
    pub containers_deleted: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Deleted images.
    #[prost(string, repeated, tag = "3")]
    pub images_deleted: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Deleted networks.
    #[prost(string, repeated, tag = "4")]
    pub networks_deleted: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// Deleted volumes.
    #[prost(string, repeated, tag = "5")]
    pub volumes_deleted: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Request to get the icon URL for a container image.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetImageIconRequest {
    /// Fully qualified image name (e.g., "nginx", "localstack/localstack", "ghcr.io/astral-sh/uv").
    #[prost(string, tag = "1")]
    pub fqin: ::prost::alloc::string::String,
}
/// Response containing the icon URL.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetImageIconResponse {
    /// Icon URL, empty if not found.
    #[prost(string, tag = "1")]
    pub url: ::prost::alloc::string::String,
    /// Icon source (e.g., "docker_hub_logo", "docker_official_image", "ghcr_avatar").
    #[prost(string, tag = "2")]
    pub source: ::prost::alloc::string::String,
}
/// Request to create a volume.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateVolumeRequest {
    /// Volume name.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Driver name.
    #[prost(string, tag = "2")]
    pub driver: ::prost::alloc::string::String,
    /// Driver options.
    #[prost(map = "string, string", tag = "3")]
    pub driver_opts:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Labels.
    #[prost(map = "string, string", tag = "4")]
    pub labels:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// Response to create volume.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateVolumeResponse {
    /// Volume name.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Driver.
    #[prost(string, tag = "2")]
    pub driver: ::prost::alloc::string::String,
    /// Mountpoint.
    #[prost(string, tag = "3")]
    pub mountpoint: ::prost::alloc::string::String,
}
/// Request to remove a volume.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RemoveVolumeRequest {
    /// Volume name.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Force removal.
    #[prost(bool, tag = "2")]
    pub force: bool,
}
/// Request to list volumes.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListVolumesRequest {
    /// Filters.
    #[prost(map = "string, string", tag = "1")]
    pub filters:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
}
/// Response to list volumes.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListVolumesResponse {
    /// List of volumes.
    #[prost(message, repeated, tag = "1")]
    pub volumes: ::prost::alloc::vec::Vec<VolumeInfo>,
    /// Warnings.
    #[prost(string, repeated, tag = "2")]
    pub warnings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Request to inspect a volume.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InspectVolumeRequest {
    /// Volume name.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
}
/// Volume information.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VolumeInfo {
    /// Volume name.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Driver.
    #[prost(string, tag = "2")]
    pub driver: ::prost::alloc::string::String,
    /// Mountpoint.
    #[prost(string, tag = "3")]
    pub mountpoint: ::prost::alloc::string::String,
    /// Created timestamp (RFC3339).
    #[prost(string, tag = "4")]
    pub created: ::prost::alloc::string::String,
    /// Status.
    #[prost(map = "string, string", tag = "5")]
    pub status:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Labels.
    #[prost(map = "string, string", tag = "6")]
    pub labels:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Scope (local, global).
    #[prost(string, tag = "7")]
    pub scope: ::prost::alloc::string::String,
    /// Driver options.
    #[prost(map = "string, string", tag = "8")]
    pub options:
        ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
    /// Usage data.
    #[prost(message, optional, tag = "9")]
    pub usage: ::core::option::Option<VolumeUsage>,
}
/// Volume usage data.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct VolumeUsage {
    /// Size in bytes.
    #[prost(int64, tag = "1")]
    pub size: i64,
    /// Reference count.
    #[prost(int64, tag = "2")]
    pub ref_count: i64,
}
/// Request to prepare a migration.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PrepareMigrationRequest {
    /// Stable source runtime identifier (for example, "docker-desktop" or "orbstack").
    #[prost(string, tag = "1")]
    pub source_kind: ::prost::alloc::string::String,
    /// Optional override for the source Docker-compatible socket path.
    #[prost(string, tag = "2")]
    pub source_socket_path: ::prost::alloc::string::String,
    /// Allow prepare to include replace actions in the plan.
    #[prost(bool, tag = "3")]
    pub allow_replacements: bool,
}
/// Prepared migration summary.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PrepareMigrationResponse {
    /// Opaque identifier for the prepared plan.
    #[prost(string, tag = "1")]
    pub plan_id: ::prost::alloc::string::String,
    /// Source runtime identifier used for the plan.
    #[prost(string, tag = "2")]
    pub source_kind: ::prost::alloc::string::String,
    /// Resolved source socket path used for the plan.
    #[prost(string, tag = "3")]
    pub source_socket_path: ::prost::alloc::string::String,
    /// Number of images included in the plan.
    #[prost(uint32, tag = "4")]
    pub image_count: u32,
    /// Number of volumes included in the plan.
    #[prost(uint32, tag = "5")]
    pub volume_count: u32,
    /// Number of networks included in the plan.
    #[prost(uint32, tag = "6")]
    pub network_count: u32,
    /// Number of containers included in the plan.
    #[prost(uint32, tag = "7")]
    pub container_count: u32,
    /// Whether the plan would replace existing ArcBox resources (images, volumes,
    /// networks, or containers that already exist on the target). When true,
    /// RunMigrationRequest.allow_replacements must be set to confirm.
    #[prost(bool, tag = "8")]
    pub replacements_required: bool,
    /// Non-fatal warnings discovered during preparation (for example, volume
    /// blockers that will require stopping running source containers).
    #[prost(string, repeated, tag = "9")]
    pub warnings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Request to run a prepared migration.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RunMigrationRequest {
    /// Opaque identifier returned by PrepareMigration.
    #[prost(string, tag = "1")]
    pub plan_id: ::prost::alloc::string::String,
    /// Confirms that the caller accepts any replace actions in the plan.
    #[prost(bool, tag = "2")]
    pub allow_replacements: bool,
}
/// Streaming migration progress event.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RunMigrationEvent {
    /// Opaque identifier of the plan being executed.
    #[prost(string, tag = "1")]
    pub plan_id: ::prost::alloc::string::String,
    /// High-level execution phase (for example, "prepare", "images", or "containers").
    #[prost(string, tag = "2")]
    pub phase: ::prost::alloc::string::String,
    /// Optional resource name currently being processed.
    #[prost(string, tag = "3")]
    pub resource: ::prost::alloc::string::String,
    /// Human-readable progress detail.
    #[prost(string, tag = "4")]
    pub message: ::prost::alloc::string::String,
    /// Number of completed work items in the current phase.
    #[prost(uint32, tag = "5")]
    pub completed: u32,
    /// Total work items expected in the current phase.
    #[prost(uint32, tag = "6")]
    pub total: u32,
    /// Indicates that no more events will follow for this run.
    #[prost(bool, tag = "7")]
    pub done: bool,
    /// Indicates whether the run completed successfully.
    #[prost(bool, tag = "8")]
    pub success: bool,
}
/// Shell input for interactive sessions.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShellInput {
    /// Input data.
    #[prost(bytes = "vec", tag = "1")]
    pub data: ::prost::alloc::vec::Vec<u8>,
    /// Resize terminal.
    #[prost(message, optional, tag = "2")]
    pub resize: ::core::option::Option<TerminalSize>,
}
/// Shell output for interactive sessions.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ShellOutput {
    /// Output data.
    #[prost(bytes = "vec", tag = "1")]
    pub data: ::prost::alloc::vec::Vec<u8>,
    /// Exit code (only set when done).
    #[prost(int32, tag = "2")]
    pub exit_code: i32,
    /// Is this the final message.
    #[prost(bool, tag = "3")]
    pub done: bool,
}
/// Terminal size.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct TerminalSize {
    /// Terminal width.
    #[prost(uint32, tag = "1")]
    pub width: u32,
    /// Terminal height.
    #[prost(uint32, tag = "2")]
    pub height: u32,
}
/// Daemon startup progress and infrastructure health.
/// Allows the desktop app (or any gRPC client) to observe daemon readiness
/// without managing its lifecycle.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetupStatus {
    /// Current daemon phase.
    #[prost(enumeration = "setup_status::Phase", tag = "1")]
    pub phase: i32,
    /// Whether the DNS resolver file is installed.
    #[prost(bool, tag = "2")]
    pub dns_resolver_installed: bool,
    /// Whether /var/run/docker.sock is symlinked to ArcBox.
    #[prost(bool, tag = "3")]
    pub docker_socket_linked: bool,
    /// Whether the container subnet route is installed.
    #[prost(bool, tag = "4")]
    pub route_installed: bool,
    /// Whether the default VM is running.
    #[prost(bool, tag = "5")]
    pub vm_running: bool,
    /// Human-readable status message.
    #[prost(string, tag = "6")]
    pub message: ::prost::alloc::string::String,
    /// Whether Docker CLI tools are installed.
    #[prost(bool, tag = "7")]
    pub docker_tools_installed: bool,
}
/// Nested message and enum types in `SetupStatus`.
pub mod setup_status {
    /// Daemon startup phases, ordered by progression.
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "camelCase")]
    #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
    #[repr(i32)]
    pub enum Phase {
        Unspecified = 0,
        Initializing = 1,
        AssetsReady = 2,
        VmStarting = 3,
        VmReady = 4,
        NetworkReady = 5,
        Ready = 6,
        Degraded = 7,
        DownloadingAssets = 8,
        CleaningUp = 9,
    }
    impl Phase {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::Unspecified => "PHASE_UNSPECIFIED",
                Self::Initializing => "INITIALIZING",
                Self::AssetsReady => "ASSETS_READY",
                Self::VmStarting => "VM_STARTING",
                Self::VmReady => "VM_READY",
                Self::NetworkReady => "NETWORK_READY",
                Self::Ready => "READY",
                Self::Degraded => "DEGRADED",
                Self::DownloadingAssets => "DOWNLOADING_ASSETS",
                Self::CleaningUp => "CLEANING_UP",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "PHASE_UNSPECIFIED" => Some(Self::Unspecified),
                "INITIALIZING" => Some(Self::Initializing),
                "ASSETS_READY" => Some(Self::AssetsReady),
                "VM_STARTING" => Some(Self::VmStarting),
                "VM_READY" => Some(Self::VmReady),
                "NETWORK_READY" => Some(Self::NetworkReady),
                "READY" => Some(Self::Ready),
                "DEGRADED" => Some(Self::Degraded),
                "DOWNLOADING_ASSETS" => Some(Self::DownloadingAssets),
                "CLEANING_UP" => Some(Self::CleaningUp),
                _ => None,
            }
        }
    }
}