@metal-stack/api 0.0.40-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/js/Makefile +16 -0
  4. package/js/buf/validate/validate_pb.d.ts +4597 -0
  5. package/js/buf/validate/validate_pb.js +351 -0
  6. package/js/buf/validate/validate_pb.ts +4938 -0
  7. package/js/metalstack/admin/v2/filesystem_pb.d.ts +207 -0
  8. package/js/metalstack/admin/v2/filesystem_pb.js +48 -0
  9. package/js/metalstack/admin/v2/filesystem_pb.ts +248 -0
  10. package/js/metalstack/admin/v2/image_pb.d.ts +242 -0
  11. package/js/metalstack/admin/v2/image_pb.js +59 -0
  12. package/js/metalstack/admin/v2/image_pb.ts +288 -0
  13. package/js/metalstack/admin/v2/ip_pb.d.ts +60 -0
  14. package/js/metalstack/admin/v2/ip_pb.js +26 -0
  15. package/js/metalstack/admin/v2/ip_pb.ts +78 -0
  16. package/js/metalstack/admin/v2/machine_pb.d.ts +113 -0
  17. package/js/metalstack/admin/v2/machine_pb.js +38 -0
  18. package/js/metalstack/admin/v2/machine_pb.ts +140 -0
  19. package/js/metalstack/admin/v2/network_pb.d.ts +407 -0
  20. package/js/metalstack/admin/v2/network_pb.js +68 -0
  21. package/js/metalstack/admin/v2/network_pb.ts +478 -0
  22. package/js/metalstack/admin/v2/partition_pb.d.ts +341 -0
  23. package/js/metalstack/admin/v2/partition_pb.js +58 -0
  24. package/js/metalstack/admin/v2/partition_pb.ts +402 -0
  25. package/js/metalstack/admin/v2/project_pb.d.ts +67 -0
  26. package/js/metalstack/admin/v2/project_pb.js +27 -0
  27. package/js/metalstack/admin/v2/project_pb.ts +87 -0
  28. package/js/metalstack/admin/v2/size_pb.d.ts +183 -0
  29. package/js/metalstack/admin/v2/size_pb.js +48 -0
  30. package/js/metalstack/admin/v2/size_pb.ts +220 -0
  31. package/js/metalstack/admin/v2/switch_pb.d.ts +377 -0
  32. package/js/metalstack/admin/v2/switch_pb.js +79 -0
  33. package/js/metalstack/admin/v2/switch_pb.ts +435 -0
  34. package/js/metalstack/admin/v2/tenant_pb.d.ts +149 -0
  35. package/js/metalstack/admin/v2/tenant_pb.js +38 -0
  36. package/js/metalstack/admin/v2/tenant_pb.ts +182 -0
  37. package/js/metalstack/admin/v2/token_pb.d.ts +164 -0
  38. package/js/metalstack/admin/v2/token_pb.js +47 -0
  39. package/js/metalstack/admin/v2/token_pb.ts +199 -0
  40. package/js/metalstack/admin/v2/vpn_pb.ts +184 -0
  41. package/js/metalstack/api/v2/common_pb.d.ts +407 -0
  42. package/js/metalstack/api/v2/common_pb.js +311 -0
  43. package/js/metalstack/api/v2/common_pb.ts +488 -0
  44. package/js/metalstack/api/v2/filesystem_pb.d.ts +704 -0
  45. package/js/metalstack/api/v2/filesystem_pb.js +259 -0
  46. package/js/metalstack/api/v2/filesystem_pb.ts +819 -0
  47. package/js/metalstack/api/v2/health_pb.d.ts +220 -0
  48. package/js/metalstack/api/v2/health_pb.js +130 -0
  49. package/js/metalstack/api/v2/health_pb.ts +264 -0
  50. package/js/metalstack/api/v2/image_pb.d.ts +368 -0
  51. package/js/metalstack/api/v2/image_pb.js +129 -0
  52. package/js/metalstack/api/v2/image_pb.ts +436 -0
  53. package/js/metalstack/api/v2/ip_pb.d.ts +555 -0
  54. package/js/metalstack/api/v2/ip_pb.js +137 -0
  55. package/js/metalstack/api/v2/ip_pb.ts +650 -0
  56. package/js/metalstack/api/v2/machine_pb.d.ts +1831 -0
  57. package/js/metalstack/api/v2/machine_pb.js +459 -0
  58. package/js/metalstack/api/v2/machine_pb.ts +2155 -0
  59. package/js/metalstack/api/v2/method_pb.d.ts +122 -0
  60. package/js/metalstack/api/v2/method_pb.js +38 -0
  61. package/js/metalstack/api/v2/method_pb.ts +149 -0
  62. package/js/metalstack/api/v2/network_pb.d.ts +820 -0
  63. package/js/metalstack/api/v2/network_pb.js +244 -0
  64. package/js/metalstack/api/v2/network_pb.ts +954 -0
  65. package/js/metalstack/api/v2/partition_pb.d.ts +251 -0
  66. package/js/metalstack/api/v2/partition_pb.js +62 -0
  67. package/js/metalstack/api/v2/partition_pb.ts +300 -0
  68. package/js/metalstack/api/v2/predefined_rules_pb.d.ts +54 -0
  69. package/js/metalstack/api/v2/predefined_rules_pb.js +57 -0
  70. package/js/metalstack/api/v2/predefined_rules_pb.ts +79 -0
  71. package/js/metalstack/api/v2/project_pb.d.ts +862 -0
  72. package/js/metalstack/api/v2/project_pb.js +163 -0
  73. package/js/metalstack/api/v2/project_pb.ts +1001 -0
  74. package/js/metalstack/api/v2/size_pb.d.ts +261 -0
  75. package/js/metalstack/api/v2/size_pb.js +94 -0
  76. package/js/metalstack/api/v2/size_pb.ts +312 -0
  77. package/js/metalstack/api/v2/switch_pb.d.ts +508 -0
  78. package/js/metalstack/api/v2/switch_pb.js +207 -0
  79. package/js/metalstack/api/v2/switch_pb.ts +653 -0
  80. package/js/metalstack/api/v2/tenant_pb.d.ts +864 -0
  81. package/js/metalstack/api/v2/tenant_pb.js +163 -0
  82. package/js/metalstack/api/v2/tenant_pb.ts +1004 -0
  83. package/js/metalstack/api/v2/token_pb.d.ts +540 -0
  84. package/js/metalstack/api/v2/token_pb.js +118 -0
  85. package/js/metalstack/api/v2/token_pb.ts +621 -0
  86. package/js/metalstack/api/v2/user_pb.d.ts +108 -0
  87. package/js/metalstack/api/v2/user_pb.js +34 -0
  88. package/js/metalstack/api/v2/user_pb.ts +139 -0
  89. package/js/metalstack/api/v2/version_pb.d.ts +88 -0
  90. package/js/metalstack/api/v2/version_pb.js +30 -0
  91. package/js/metalstack/api/v2/version_pb.ts +112 -0
  92. package/js/metalstack/api/v2/vpn_pb.ts +72 -0
  93. package/js/metalstack/infra/v2/bmc_pb.d.ts +45 -0
  94. package/js/metalstack/infra/v2/bmc_pb.js +25 -0
  95. package/js/metalstack/infra/v2/bmc_pb.ts +104 -0
  96. package/js/metalstack/infra/v2/event_pb.d.ts +181 -0
  97. package/js/metalstack/infra/v2/event_pb.js +116 -0
  98. package/js/metalstack/infra/v2/event_pb.ts +218 -0
  99. package/js/metalstack/infra/v2/switch_pb.d.ts +223 -0
  100. package/js/metalstack/infra/v2/switch_pb.js +54 -0
  101. package/js/metalstack/infra/v2/switch_pb.ts +228 -0
  102. package/js/tsconfig.json +70 -0
  103. package/package.json +21 -0
@@ -0,0 +1,377 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { UpdateMeta } from "../../api/v2/common_pb";
4
+ import type { MachineConnection, Switch, SwitchNic, SwitchOS, SwitchPortStatus, SwitchQuery, SwitchReplaceMode } from "../../api/v2/switch_pb";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file metalstack/admin/v2/switch.proto.
8
+ */
9
+ export declare const file_metalstack_admin_v2_switch: GenFile;
10
+ /**
11
+ * SwitchServiceGetRequest.
12
+ *
13
+ * @generated from message metalstack.admin.v2.SwitchServiceGetRequest
14
+ */
15
+ export type SwitchServiceGetRequest = Message<"metalstack.admin.v2.SwitchServiceGetRequest"> & {
16
+ /**
17
+ * Id of the switch to get.
18
+ *
19
+ * @generated from field: string id = 1;
20
+ */
21
+ id: string;
22
+ };
23
+ /**
24
+ * Describes the message metalstack.admin.v2.SwitchServiceGetRequest.
25
+ * Use `create(SwitchServiceGetRequestSchema)` to create a new message.
26
+ */
27
+ export declare const SwitchServiceGetRequestSchema: GenMessage<SwitchServiceGetRequest>;
28
+ /**
29
+ * SwitchServiceGetResponse.
30
+ *
31
+ * @generated from message metalstack.admin.v2.SwitchServiceGetResponse
32
+ */
33
+ export type SwitchServiceGetResponse = Message<"metalstack.admin.v2.SwitchServiceGetResponse"> & {
34
+ /**
35
+ * Switch that was requested.
36
+ *
37
+ * @generated from field: metalstack.api.v2.Switch switch = 1;
38
+ */
39
+ switch?: Switch;
40
+ };
41
+ /**
42
+ * Describes the message metalstack.admin.v2.SwitchServiceGetResponse.
43
+ * Use `create(SwitchServiceGetResponseSchema)` to create a new message.
44
+ */
45
+ export declare const SwitchServiceGetResponseSchema: GenMessage<SwitchServiceGetResponse>;
46
+ /**
47
+ * SwitchServiceListRequest.
48
+ *
49
+ * @generated from message metalstack.admin.v2.SwitchServiceListRequest
50
+ */
51
+ export type SwitchServiceListRequest = Message<"metalstack.admin.v2.SwitchServiceListRequest"> & {
52
+ /**
53
+ * Query to filter the results.
54
+ *
55
+ * @generated from field: metalstack.api.v2.SwitchQuery query = 1;
56
+ */
57
+ query?: SwitchQuery;
58
+ };
59
+ /**
60
+ * Describes the message metalstack.admin.v2.SwitchServiceListRequest.
61
+ * Use `create(SwitchServiceListRequestSchema)` to create a new message.
62
+ */
63
+ export declare const SwitchServiceListRequestSchema: GenMessage<SwitchServiceListRequest>;
64
+ /**
65
+ * SwitchServiceListResponse.
66
+ *
67
+ * @generated from message metalstack.admin.v2.SwitchServiceListResponse
68
+ */
69
+ export type SwitchServiceListResponse = Message<"metalstack.admin.v2.SwitchServiceListResponse"> & {
70
+ /**
71
+ * Switches that match the request query.
72
+ *
73
+ * @generated from field: repeated metalstack.api.v2.Switch switches = 1;
74
+ */
75
+ switches: Switch[];
76
+ };
77
+ /**
78
+ * Describes the message metalstack.admin.v2.SwitchServiceListResponse.
79
+ * Use `create(SwitchServiceListResponseSchema)` to create a new message.
80
+ */
81
+ export declare const SwitchServiceListResponseSchema: GenMessage<SwitchServiceListResponse>;
82
+ /**
83
+ * SwitchServiceUpdateRequest.
84
+ *
85
+ * @generated from message metalstack.admin.v2.SwitchServiceUpdateRequest
86
+ */
87
+ export type SwitchServiceUpdateRequest = Message<"metalstack.admin.v2.SwitchServiceUpdateRequest"> & {
88
+ /**
89
+ * ID of the switch.
90
+ *
91
+ * @generated from field: string id = 1;
92
+ */
93
+ id: string;
94
+ /**
95
+ * UpdateMeta contains the timestamp and strategy to be used in this update request.
96
+ *
97
+ * @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
98
+ */
99
+ updateMeta?: UpdateMeta;
100
+ /**
101
+ * UpdatedAt is the date when this entity was updated.
102
+ * must be part of the update request to ensure optimistic locking.
103
+ *
104
+ * @generated from field: google.protobuf.Timestamp updated_at = 3;
105
+ */
106
+ updatedAt?: Timestamp;
107
+ /**
108
+ * Description of the switch.
109
+ *
110
+ * @generated from field: optional string description = 4;
111
+ */
112
+ description?: string;
113
+ /**
114
+ * Replace mode is used to mark a switch ready for replacement.
115
+ *
116
+ * @generated from field: optional metalstack.api.v2.SwitchReplaceMode replace_mode = 5;
117
+ */
118
+ replaceMode?: SwitchReplaceMode;
119
+ /**
120
+ * Management IP is the switch's IP for management access.
121
+ *
122
+ * @generated from field: optional string management_ip = 6;
123
+ */
124
+ managementIp?: string;
125
+ /**
126
+ * Management user is the user name to use for management access.
127
+ *
128
+ * @generated from field: optional string management_user = 7;
129
+ */
130
+ managementUser?: string;
131
+ /**
132
+ * Console command is the command for accessing the switch's console.
133
+ *
134
+ * @generated from field: optional string console_command = 8;
135
+ */
136
+ consoleCommand?: string;
137
+ /**
138
+ * Nics are the front panel ports of the switch.
139
+ *
140
+ * @generated from field: repeated metalstack.api.v2.SwitchNic nics = 9;
141
+ */
142
+ nics: SwitchNic[];
143
+ /**
144
+ * SwitchOs is the OS running on the switch.
145
+ *
146
+ * @generated from field: optional metalstack.api.v2.SwitchOS os = 10;
147
+ */
148
+ os?: SwitchOS;
149
+ /**
150
+ * MachineConnections map machines to the nics they are connected to.
151
+ *
152
+ * @generated from field: repeated metalstack.api.v2.MachineConnection machine_connections = 11;
153
+ */
154
+ machineConnections: MachineConnection[];
155
+ };
156
+ /**
157
+ * Describes the message metalstack.admin.v2.SwitchServiceUpdateRequest.
158
+ * Use `create(SwitchServiceUpdateRequestSchema)` to create a new message.
159
+ */
160
+ export declare const SwitchServiceUpdateRequestSchema: GenMessage<SwitchServiceUpdateRequest>;
161
+ /**
162
+ * SwitchServiceUpdateResponse.
163
+ *
164
+ * @generated from message metalstack.admin.v2.SwitchServiceUpdateResponse
165
+ */
166
+ export type SwitchServiceUpdateResponse = Message<"metalstack.admin.v2.SwitchServiceUpdateResponse"> & {
167
+ /**
168
+ * Switch that was updated.
169
+ *
170
+ * @generated from field: metalstack.api.v2.Switch switch = 1;
171
+ */
172
+ switch?: Switch;
173
+ };
174
+ /**
175
+ * Describes the message metalstack.admin.v2.SwitchServiceUpdateResponse.
176
+ * Use `create(SwitchServiceUpdateResponseSchema)` to create a new message.
177
+ */
178
+ export declare const SwitchServiceUpdateResponseSchema: GenMessage<SwitchServiceUpdateResponse>;
179
+ /**
180
+ * SwitchServiceDeleteRequest.
181
+ *
182
+ * @generated from message metalstack.admin.v2.SwitchServiceDeleteRequest
183
+ */
184
+ export type SwitchServiceDeleteRequest = Message<"metalstack.admin.v2.SwitchServiceDeleteRequest"> & {
185
+ /**
186
+ * Id of the switch.
187
+ *
188
+ * @generated from field: string id = 1;
189
+ */
190
+ id: string;
191
+ /**
192
+ * Force will allow switch deletion despite existing machine connections.
193
+ *
194
+ * @generated from field: bool force = 2;
195
+ */
196
+ force: boolean;
197
+ };
198
+ /**
199
+ * Describes the message metalstack.admin.v2.SwitchServiceDeleteRequest.
200
+ * Use `create(SwitchServiceDeleteRequestSchema)` to create a new message.
201
+ */
202
+ export declare const SwitchServiceDeleteRequestSchema: GenMessage<SwitchServiceDeleteRequest>;
203
+ /**
204
+ * SwitchServiceDeleteResponse.
205
+ *
206
+ * @generated from message metalstack.admin.v2.SwitchServiceDeleteResponse
207
+ */
208
+ export type SwitchServiceDeleteResponse = Message<"metalstack.admin.v2.SwitchServiceDeleteResponse"> & {
209
+ /**
210
+ * Switch that has been deleted.
211
+ *
212
+ * @generated from field: metalstack.api.v2.Switch switch = 1;
213
+ */
214
+ switch?: Switch;
215
+ };
216
+ /**
217
+ * Describes the message metalstack.admin.v2.SwitchServiceDeleteResponse.
218
+ * Use `create(SwitchServiceDeleteResponseSchema)` to create a new message.
219
+ */
220
+ export declare const SwitchServiceDeleteResponseSchema: GenMessage<SwitchServiceDeleteResponse>;
221
+ /**
222
+ * SwitchServiceMigrateRequest.
223
+ *
224
+ * @generated from message metalstack.admin.v2.SwitchServiceMigrateRequest
225
+ */
226
+ export type SwitchServiceMigrateRequest = Message<"metalstack.admin.v2.SwitchServiceMigrateRequest"> & {
227
+ /**
228
+ * OldSwitch which to migrate away from.
229
+ *
230
+ * @generated from field: string old_switch = 1;
231
+ */
232
+ oldSwitch: string;
233
+ /**
234
+ * NewSwitch which to migrate to.
235
+ *
236
+ * @generated from field: string new_switch = 2;
237
+ */
238
+ newSwitch: string;
239
+ };
240
+ /**
241
+ * Describes the message metalstack.admin.v2.SwitchServiceMigrateRequest.
242
+ * Use `create(SwitchServiceMigrateRequestSchema)` to create a new message.
243
+ */
244
+ export declare const SwitchServiceMigrateRequestSchema: GenMessage<SwitchServiceMigrateRequest>;
245
+ /**
246
+ * SwitchServiceMigrateResponse.
247
+ *
248
+ * @generated from message metalstack.admin.v2.SwitchServiceMigrateResponse
249
+ */
250
+ export type SwitchServiceMigrateResponse = Message<"metalstack.admin.v2.SwitchServiceMigrateResponse"> & {
251
+ /**
252
+ * Switch that was migrated to.
253
+ *
254
+ * @generated from field: metalstack.api.v2.Switch switch = 1;
255
+ */
256
+ switch?: Switch;
257
+ };
258
+ /**
259
+ * Describes the message metalstack.admin.v2.SwitchServiceMigrateResponse.
260
+ * Use `create(SwitchServiceMigrateResponseSchema)` to create a new message.
261
+ */
262
+ export declare const SwitchServiceMigrateResponseSchema: GenMessage<SwitchServiceMigrateResponse>;
263
+ /**
264
+ * SwitchServicePortRequest.
265
+ *
266
+ * @generated from message metalstack.admin.v2.SwitchServicePortRequest
267
+ */
268
+ export type SwitchServicePortRequest = Message<"metalstack.admin.v2.SwitchServicePortRequest"> & {
269
+ /**
270
+ * Id of the switch.
271
+ *
272
+ * @generated from field: string id = 1;
273
+ */
274
+ id: string;
275
+ /**
276
+ * NicName of the port whose status should be changed.
277
+ *
278
+ * @generated from field: string nic_name = 2;
279
+ */
280
+ nicName: string;
281
+ /**
282
+ * Status that the port should have.
283
+ *
284
+ * @generated from field: metalstack.api.v2.SwitchPortStatus status = 3;
285
+ */
286
+ status: SwitchPortStatus;
287
+ };
288
+ /**
289
+ * Describes the message metalstack.admin.v2.SwitchServicePortRequest.
290
+ * Use `create(SwitchServicePortRequestSchema)` to create a new message.
291
+ */
292
+ export declare const SwitchServicePortRequestSchema: GenMessage<SwitchServicePortRequest>;
293
+ /**
294
+ * SwitchServicePortResponse.
295
+ *
296
+ * @generated from message metalstack.admin.v2.SwitchServicePortResponse
297
+ */
298
+ export type SwitchServicePortResponse = Message<"metalstack.admin.v2.SwitchServicePortResponse"> & {
299
+ /**
300
+ * Switch after the port status toggle..
301
+ *
302
+ * @generated from field: metalstack.api.v2.Switch switch = 1;
303
+ */
304
+ switch?: Switch;
305
+ };
306
+ /**
307
+ * Describes the message metalstack.admin.v2.SwitchServicePortResponse.
308
+ * Use `create(SwitchServicePortResponseSchema)` to create a new message.
309
+ */
310
+ export declare const SwitchServicePortResponseSchema: GenMessage<SwitchServicePortResponse>;
311
+ /**
312
+ * SwitchService serves switch related functions.
313
+ *
314
+ * @generated from service metalstack.admin.v2.SwitchService
315
+ */
316
+ export declare const SwitchService: GenService<{
317
+ /**
318
+ * Get a switch by ID.
319
+ *
320
+ * @generated from rpc metalstack.admin.v2.SwitchService.Get
321
+ */
322
+ get: {
323
+ methodKind: "unary";
324
+ input: typeof SwitchServiceGetRequestSchema;
325
+ output: typeof SwitchServiceGetResponseSchema;
326
+ };
327
+ /**
328
+ * List switches.
329
+ *
330
+ * @generated from rpc metalstack.admin.v2.SwitchService.List
331
+ */
332
+ list: {
333
+ methodKind: "unary";
334
+ input: typeof SwitchServiceListRequestSchema;
335
+ output: typeof SwitchServiceListResponseSchema;
336
+ };
337
+ /**
338
+ * Update a switch.
339
+ *
340
+ * @generated from rpc metalstack.admin.v2.SwitchService.Update
341
+ */
342
+ update: {
343
+ methodKind: "unary";
344
+ input: typeof SwitchServiceUpdateRequestSchema;
345
+ output: typeof SwitchServiceUpdateResponseSchema;
346
+ };
347
+ /**
348
+ * Delete a switch.
349
+ *
350
+ * @generated from rpc metalstack.admin.v2.SwitchService.Delete
351
+ */
352
+ delete: {
353
+ methodKind: "unary";
354
+ input: typeof SwitchServiceDeleteRequestSchema;
355
+ output: typeof SwitchServiceDeleteResponseSchema;
356
+ };
357
+ /**
358
+ * Migrate a switch.
359
+ *
360
+ * @generated from rpc metalstack.admin.v2.SwitchService.Migrate
361
+ */
362
+ migrate: {
363
+ methodKind: "unary";
364
+ input: typeof SwitchServiceMigrateRequestSchema;
365
+ output: typeof SwitchServiceMigrateResponseSchema;
366
+ };
367
+ /**
368
+ * Port set the port status of a switch port.
369
+ *
370
+ * @generated from rpc metalstack.admin.v2.SwitchService.Port
371
+ */
372
+ port: {
373
+ methodKind: "unary";
374
+ input: typeof SwitchServicePortRequestSchema;
375
+ output: typeof SwitchServicePortResponseSchema;
376
+ };
377
+ }>;
@@ -0,0 +1,79 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts"
2
+ // @generated from file metalstack/admin/v2/switch.proto (package metalstack.admin.v2, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
6
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
+ import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
8
+ import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
9
+ import { file_metalstack_api_v2_switch } from "../../api/v2/switch_pb";
10
+ /**
11
+ * Describes the file metalstack/admin/v2/switch.proto.
12
+ */
13
+ export const file_metalstack_admin_v2_switch = /*@__PURE__*/ fileDesc("CiBtZXRhbHN0YWNrL2FkbWluL3YyL3N3aXRjaC5wcm90bxITbWV0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VjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_switch]);
14
+ /**
15
+ * Describes the message metalstack.admin.v2.SwitchServiceGetRequest.
16
+ * Use `create(SwitchServiceGetRequestSchema)` to create a new message.
17
+ */
18
+ export const SwitchServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 0);
19
+ /**
20
+ * Describes the message metalstack.admin.v2.SwitchServiceGetResponse.
21
+ * Use `create(SwitchServiceGetResponseSchema)` to create a new message.
22
+ */
23
+ export const SwitchServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 1);
24
+ /**
25
+ * Describes the message metalstack.admin.v2.SwitchServiceListRequest.
26
+ * Use `create(SwitchServiceListRequestSchema)` to create a new message.
27
+ */
28
+ export const SwitchServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 2);
29
+ /**
30
+ * Describes the message metalstack.admin.v2.SwitchServiceListResponse.
31
+ * Use `create(SwitchServiceListResponseSchema)` to create a new message.
32
+ */
33
+ export const SwitchServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 3);
34
+ /**
35
+ * Describes the message metalstack.admin.v2.SwitchServiceUpdateRequest.
36
+ * Use `create(SwitchServiceUpdateRequestSchema)` to create a new message.
37
+ */
38
+ export const SwitchServiceUpdateRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 4);
39
+ /**
40
+ * Describes the message metalstack.admin.v2.SwitchServiceUpdateResponse.
41
+ * Use `create(SwitchServiceUpdateResponseSchema)` to create a new message.
42
+ */
43
+ export const SwitchServiceUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 5);
44
+ /**
45
+ * Describes the message metalstack.admin.v2.SwitchServiceDeleteRequest.
46
+ * Use `create(SwitchServiceDeleteRequestSchema)` to create a new message.
47
+ */
48
+ export const SwitchServiceDeleteRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 6);
49
+ /**
50
+ * Describes the message metalstack.admin.v2.SwitchServiceDeleteResponse.
51
+ * Use `create(SwitchServiceDeleteResponseSchema)` to create a new message.
52
+ */
53
+ export const SwitchServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 7);
54
+ /**
55
+ * Describes the message metalstack.admin.v2.SwitchServiceMigrateRequest.
56
+ * Use `create(SwitchServiceMigrateRequestSchema)` to create a new message.
57
+ */
58
+ export const SwitchServiceMigrateRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 8);
59
+ /**
60
+ * Describes the message metalstack.admin.v2.SwitchServiceMigrateResponse.
61
+ * Use `create(SwitchServiceMigrateResponseSchema)` to create a new message.
62
+ */
63
+ export const SwitchServiceMigrateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 9);
64
+ /**
65
+ * Describes the message metalstack.admin.v2.SwitchServicePortRequest.
66
+ * Use `create(SwitchServicePortRequestSchema)` to create a new message.
67
+ */
68
+ export const SwitchServicePortRequestSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 10);
69
+ /**
70
+ * Describes the message metalstack.admin.v2.SwitchServicePortResponse.
71
+ * Use `create(SwitchServicePortResponseSchema)` to create a new message.
72
+ */
73
+ export const SwitchServicePortResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_switch, 11);
74
+ /**
75
+ * SwitchService serves switch related functions.
76
+ *
77
+ * @generated from service metalstack.admin.v2.SwitchService
78
+ */
79
+ export const SwitchService = /*@__PURE__*/ serviceDesc(file_metalstack_admin_v2_switch, 0);