@cobotar/protocol 0.19.17 → 0.19.18

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.
@@ -4,8 +4,10 @@
4
4
 
5
5
  import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
- import type { ARConfigMessage, ARContextSlotType } from "./ar_config_pb.ts";
7
+ import type { ARConfigMessage } from "./ar_config_pb.ts";
8
8
  import { file_ar_v1_ar_config } from "./ar_config_pb.ts";
9
+ import type { ARContextSlotType, ARInputSlotMessage } from "./input_slot_pb.ts";
10
+ import { file_ar_v1_input_slot } from "./input_slot_pb.ts";
9
11
  import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
10
12
  import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
11
13
  import type { Message } from "@bufbuild/protobuf";
@@ -14,7 +16,7 @@ import type { Message } from "@bufbuild/protobuf";
14
16
  * Describes the file ar/v1/config_resolve.proto.
15
17
  */
16
18
  export const file_ar_v1_config_resolve: GenFile = /*@__PURE__*/
17
- fileDesc("Chphci92MS9jb25maWdfcmVzb2x2ZS5wcm90bxIFYXIudjEimwMKG0NvbmZpZ3VyYXRpb25SZXNvbHZlQ29udGV4dBIaCgdsaW5lX2lkGAEgASgJQgm6SAZyBMDyBAESGgoHY2VsbF9pZBgCIAEoCUIJukgGcgS48gQBEh0KCnN0YXRpb25faWQYAyABKAlCCbpIBnIE+PEEARIcCgl3b3JrZXJfaWQYBCABKAlCCbpIBnIE2OswARIhCg5wcm9jZXNzX3J1bl9pZBgFIAEoCUIJukgGcgSI8gQBEiIKD3NlcXVlbmNlX3J1bl9pZBgGIAEoCUIJukgGcgSQ8gQBEh4KC3Rhc2tfcnVuX2lkGAcgASgJQgm6SAZyBJjyBAE6nwG6SJsBGpgBCjZjb25maWd1cmF0aW9uX3Jlc29sdmV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2NvcGVUeXBlEjEKLVJFU09MVkVEX0NPTkZJR1VSQVRJT05fU0NPUEVfVFlQRV9VTlNQRUNJRklFRBAAEi0KKVJFU09MVkVEX0NPTkZJR1VSQVRJT05fU0NPUEVfVFlQRV9TVEFUSU9OEAESKgomUkVTT0xWRURfQ09ORklHVVJBVElPTl9TQ09QRV9UWVBFX0NFTEwQAirqAQohQ29uZmlndXJhdGlvblJlc29sdmVJc3N1ZVNldmVyaXR5EjQKMENPTkZJR1VSQVRJT05fUkVTT0xWRV9JU1NVRV9TRVZFUklUWV9VTlNQRUNJRklFRBAAEi0KKUNPTkZJR1VSQVRJT05fUkVTT0xWRV9JU1NVRV9TRVZFUklUWV9JTkZPEAESMAosQ09ORklHVVJBVElPTl9SRVNPTFZFX0lTU1VFX1NFVkVSSVRZX1dBUk5JTkcQAhIuCipDT05GSUdVUkFUSU9OX1JFU09MVkVfSVNTVUVfU0VWRVJJVFlfRVJST1IQA0KOAQoJY29tLmFyLnYxQhJDb25maWdSZXNvbHZlUHJvdG9QAVovZ2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL2FyL3YxO2FydjGiAgNBWFiqAg5NZXNzYWdlcy5BUi5WMcoCBUFyXFYx4gIRQXJcVjFcR1BCTWV0YWRhdGHqAgZBcjo6VjFiBnByb3RvMw", [file_ar_v1_ar_config, file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
19
+ fileDesc("Chphci92MS9jb25maWdfcmVzb2x2ZS5wcm90bxIFYXIudjEimwMKG0NvbmZpZ3VyYXRpb25SZXNvbHZlQ29udGV4dBIaCgdsaW5lX2lkGAEgASgJQgm6SAZyBMDyBAESGgoHY2VsbF9pZBgCIAEoCUIJukgGcgS48gQBEh0KCnN0YXRpb25faWQYAyABKAlCCbpIBnIE+PEEARIcCgl3b3JrZXJfaWQYBCABKAlCCbpIBnIE2OswARIhCg5wcm9jZXNzX3J1bl9pZBgFIAEoCUIJukgGcgSI8gQBEiIKD3NlcXVl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YAiADKAlCDrpIC5IBCCIGcgTw6zABEjAKBmlzc3VlcxgDIAMoCzIgLmFyLnYxLkNvbmZpZ3VyYXRpb25SZXNvbHZlSXNzdWUqrgEKHlJlc29sdmVkQ29uZmlndXJhdGlvblNjb3BlVHlwZRIxCi1SRVNPTFZFRF9DT05GSUdVUkFUSU9OX1NDT1BFX1RZUEVfVU5TUEVDSUZJRUQQABItCilSRVNPTFZFRF9DT05GSUdVUkFUSU9OX1NDT1BFX1RZUEVfU1RBVElPThABEioKJlJFU09MVkVEX0NPTkZJR1VSQVRJT05fU0NPUEVfVFlQRV9DRUxMEAIq6gEKIUNvbmZpZ3VyYXRpb25SZXNvbHZlSXNzdWVTZXZlcml0eRI0CjBDT05GSUdVUkFUSU9OX1JFU09MVkVfSVNTVUVfU0VWRVJJVFlfVU5TUEVDSUZJRUQQABItCilDT05GSUdVUkFUSU9OX1JFU09MVkVfSVNTVUVfU0VWRVJJVFlfSU5GTxABEjAKLENPTkZJR1VSQVRJT05fUkVTT0xWRV9JU1NVRV9TRVZFUklUWV9XQVJOSU5HEAISLgoqQ09ORklHVVJBVElPTl9SRVNPTFZFX0lTU1VFX1NFVkVSSVRZX0VSUk9SEANCjgEKCWNvbS5hci52MUISQ29uZmlnUmVzb2x2ZVByb3RvUAFaL2dpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9hci92MTthcnYxogIDQVhYqgIOTWVzc2FnZXMuQVIuVjHKAgVBclxWMeICEUFyXFYxXEdQQk1ldGFkYXRh6gIGQXI6OlYxYgZwcm90bzM", [file_ar_v1_ar_config, file_ar_v1_input_slot, file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
18
20
 
19
21
  /**
20
22
  * ConfigurationResolveContext describes the active runtime scope from which AR
@@ -24,36 +26,50 @@ export const file_ar_v1_config_resolve: GenFile = /*@__PURE__*/
24
26
  */
25
27
  export type ConfigurationResolveContext = Message<"ar.v1.ConfigurationResolveContext"> & {
26
28
  /**
29
+ * Active line if known.
30
+ *
27
31
  * @generated from field: string line_id = 1;
28
32
  */
29
33
  lineId: string;
30
34
 
31
35
  /**
36
+ * Active cell if known.
37
+ *
32
38
  * @generated from field: string cell_id = 2;
33
39
  */
34
40
  cellId: string;
35
41
 
36
42
  /**
43
+ * Active station if known.
44
+ *
37
45
  * @generated from field: string station_id = 3;
38
46
  */
39
47
  stationId: string;
40
48
 
41
49
  /**
50
+ * Active worker/operator if known.
51
+ *
42
52
  * @generated from field: string worker_id = 4;
43
53
  */
44
54
  workerId: string;
45
55
 
46
56
  /**
57
+ * Active process run if known.
58
+ *
47
59
  * @generated from field: string process_run_id = 5;
48
60
  */
49
61
  processRunId: string;
50
62
 
51
63
  /**
64
+ * Active sequence run if known.
65
+ *
52
66
  * @generated from field: string sequence_run_id = 6;
53
67
  */
54
68
  sequenceRunId: string;
55
69
 
56
70
  /**
71
+ * Active task run if known.
72
+ *
57
73
  * @generated from field: string task_run_id = 7;
58
74
  */
59
75
  taskRunId: string;
@@ -74,8 +90,7 @@ export const ConfigurationResolveContextSchema: GenMessage<ConfigurationResolveC
74
90
  * - find direct station bindings matching context.station_id
75
91
  * - find parent/shared cell bindings matching context.cell_id
76
92
  * - reject disabled bindings
77
- * - reject bindings whose required resource slots or required context slots
78
- * cannot be satisfied
93
+ * - reject bindings whose required input slots cannot be satisfied
79
94
  * - if any surviving binding is standalone, keep only standalone bindings with
80
95
  * the highest priority
81
96
  * - otherwise keep all surviving bindings sorted by priority descending, with
@@ -86,19 +101,16 @@ export const ConfigurationResolveContextSchema: GenMessage<ConfigurationResolveC
86
101
  */
87
102
  export type ConfigurationResolveRequest = Message<"ar.v1.ConfigurationResolveRequest"> & {
88
103
  /**
89
- * @generated from field: string request_id = 1;
90
- */
91
- requestId: string;
92
-
93
- /**
94
- * @generated from field: ar.v1.ConfigurationResolveContext context = 2;
104
+ * Active runtime context to resolve against.
105
+ *
106
+ * @generated from field: ar.v1.ConfigurationResolveContext context = 1;
95
107
  */
96
108
  context?: ConfigurationResolveContext;
97
109
 
98
110
  /**
99
111
  * Instances already loaded by the caller, used to compute unloads/deltas.
100
112
  *
101
- * @generated from field: repeated string loaded_instance_ids = 3;
113
+ * @generated from field: repeated string loaded_instance_ids = 2;
102
114
  */
103
115
  loadedInstanceIds: string[];
104
116
  };
@@ -111,98 +123,159 @@ export const ConfigurationResolveRequestSchema: GenMessage<ConfigurationResolveR
111
123
  messageDesc(file_ar_v1_config_resolve, 1);
112
124
 
113
125
  /**
114
- * ResolvedResourceBinding captures the concrete resource value selected for a
115
- * config resource slot.
126
+ * ResolvedRobotInput carries the concrete robot instance chosen for a slot.
116
127
  *
117
- * @generated from message ar.v1.ResolvedResourceBinding
128
+ * @generated from message ar.v1.ResolvedRobotInput
118
129
  */
119
- export type ResolvedResourceBinding = Message<"ar.v1.ResolvedResourceBinding"> & {
130
+ export type ResolvedRobotInput = Message<"ar.v1.ResolvedRobotInput"> & {
120
131
  /**
121
- * @generated from field: string slot_id = 1;
132
+ * Selected robot instance.
133
+ *
134
+ * @generated from field: string robot_instance_id = 1;
122
135
  */
123
- slotId: string;
136
+ robotInstanceId: string;
137
+ };
138
+
139
+ /**
140
+ * Describes the message ar.v1.ResolvedRobotInput.
141
+ * Use `create(ResolvedRobotInputSchema)` to create a new message.
142
+ */
143
+ export const ResolvedRobotInputSchema: GenMessage<ResolvedRobotInput> = /*@__PURE__*/
144
+ messageDesc(file_ar_v1_config_resolve, 2);
124
145
 
146
+ /**
147
+ * ResolvedAssetInput carries the concrete asset instance chosen for a slot.
148
+ *
149
+ * @generated from message ar.v1.ResolvedAssetInput
150
+ */
151
+ export type ResolvedAssetInput = Message<"ar.v1.ResolvedAssetInput"> & {
125
152
  /**
126
- * @generated from field: string property_id = 2;
153
+ * Selected asset instance.
154
+ *
155
+ * @generated from field: string asset_instance_id = 1;
127
156
  */
128
- propertyId: string;
157
+ assetInstanceId: string;
158
+ };
129
159
 
160
+ /**
161
+ * Describes the message ar.v1.ResolvedAssetInput.
162
+ * Use `create(ResolvedAssetInputSchema)` to create a new message.
163
+ */
164
+ export const ResolvedAssetInputSchema: GenMessage<ResolvedAssetInput> = /*@__PURE__*/
165
+ messageDesc(file_ar_v1_config_resolve, 3);
166
+
167
+ /**
168
+ * ResolvedContextInputValue carries the runtime context value chosen for a slot.
169
+ *
170
+ * @generated from message ar.v1.ResolvedContextInputValue
171
+ */
172
+ export type ResolvedContextInputValue = Message<"ar.v1.ResolvedContextInputValue"> & {
130
173
  /**
131
- * @generated from field: optional string robot_instance_id = 3;
174
+ * Context category that produced the value.
175
+ *
176
+ * @generated from field: ar.v1.ARContextSlotType type = 1;
132
177
  */
133
- robotInstanceId?: string;
178
+ type: ARContextSlotType;
134
179
 
135
180
  /**
136
- * @generated from field: optional string asset_instance_id = 4;
181
+ * Resolved runtime identifier/value encoded as string.
182
+ *
183
+ * @generated from field: string string_value = 2;
137
184
  */
138
- assetInstanceId?: string;
185
+ stringValue: string;
139
186
  };
140
187
 
141
188
  /**
142
- * Describes the message ar.v1.ResolvedResourceBinding.
143
- * Use `create(ResolvedResourceBindingSchema)` to create a new message.
189
+ * Describes the message ar.v1.ResolvedContextInputValue.
190
+ * Use `create(ResolvedContextInputValueSchema)` to create a new message.
144
191
  */
145
- export const ResolvedResourceBindingSchema: GenMessage<ResolvedResourceBinding> = /*@__PURE__*/
146
- messageDesc(file_ar_v1_config_resolve, 2);
192
+ export const ResolvedContextInputValueSchema: GenMessage<ResolvedContextInputValue> = /*@__PURE__*/
193
+ messageDesc(file_ar_v1_config_resolve, 4);
147
194
 
148
195
  /**
149
- * ResolvedContextBinding captures the concrete runtime context value selected
150
- * for a config context slot.
196
+ * ResolvedInputBinding is the authoritative resolved value for a unified input
197
+ * slot.
151
198
  *
152
- * Current context bindings resolve to string ids that are injected into the
153
- * mapped property_id as PROPERTY_TYPE_STRING values.
199
+ * generated_property_id identifies the server-managed property that should be
200
+ * populated in the effective config instance.
154
201
  *
155
- * @generated from message ar.v1.ResolvedContextBinding
202
+ * @generated from message ar.v1.ResolvedInputBinding
156
203
  */
157
- export type ResolvedContextBinding = Message<"ar.v1.ResolvedContextBinding"> & {
204
+ export type ResolvedInputBinding = Message<"ar.v1.ResolvedInputBinding"> & {
158
205
  /**
206
+ * Slot this resolved value belongs to.
207
+ *
159
208
  * @generated from field: string slot_id = 1;
160
209
  */
161
210
  slotId: string;
162
211
 
163
212
  /**
164
- * @generated from field: string property_id = 2;
213
+ * Generated property that should receive the resolved value.
214
+ *
215
+ * @generated from field: string generated_property_id = 2;
165
216
  */
166
- propertyId: string;
217
+ generatedPropertyId: string;
167
218
 
168
219
  /**
169
- * @generated from field: ar.v1.ARContextSlotType type = 3;
220
+ * Set when the slot resolved to a robot instance.
221
+ *
222
+ * @generated from field: ar.v1.ResolvedRobotInput robot = 10;
170
223
  */
171
- type: ARContextSlotType;
224
+ robot?: ResolvedRobotInput;
225
+
226
+ /**
227
+ * Set when the slot resolved to an asset instance.
228
+ *
229
+ * @generated from field: ar.v1.ResolvedAssetInput asset = 11;
230
+ */
231
+ asset?: ResolvedAssetInput;
172
232
 
173
233
  /**
174
- * @generated from field: string string_value = 4;
234
+ * Set when the slot resolved from runtime context.
235
+ *
236
+ * @generated from field: ar.v1.ResolvedContextInputValue context = 12;
175
237
  */
176
- stringValue: string;
238
+ context?: ResolvedContextInputValue;
177
239
  };
178
240
 
179
241
  /**
180
- * Describes the message ar.v1.ResolvedContextBinding.
181
- * Use `create(ResolvedContextBindingSchema)` to create a new message.
242
+ * Describes the message ar.v1.ResolvedInputBinding.
243
+ * Use `create(ResolvedInputBindingSchema)` to create a new message.
182
244
  */
183
- export const ResolvedContextBindingSchema: GenMessage<ResolvedContextBinding> = /*@__PURE__*/
184
- messageDesc(file_ar_v1_config_resolve, 3);
245
+ export const ResolvedInputBindingSchema: GenMessage<ResolvedInputBinding> = /*@__PURE__*/
246
+ messageDesc(file_ar_v1_config_resolve, 5);
185
247
 
186
248
  /**
249
+ * ConfigurationResolveIssue describes a problem or note encountered while
250
+ * evaluating bindings for the supplied context.
251
+ *
187
252
  * @generated from message ar.v1.ConfigurationResolveIssue
188
253
  */
189
254
  export type ConfigurationResolveIssue = Message<"ar.v1.ConfigurationResolveIssue"> & {
190
255
  /**
256
+ * Classification of the issue.
257
+ *
191
258
  * @generated from field: ar.v1.ConfigurationResolveIssueSeverity severity = 1;
192
259
  */
193
260
  severity: ConfigurationResolveIssueSeverity;
194
261
 
195
262
  /**
263
+ * Binding involved, if any.
264
+ *
196
265
  * @generated from field: string binding_id = 2;
197
266
  */
198
267
  bindingId: string;
199
268
 
200
269
  /**
270
+ * Config involved, if any.
271
+ *
201
272
  * @generated from field: string config_id = 3;
202
273
  */
203
274
  configId: string;
204
275
 
205
276
  /**
277
+ * Human-readable description of the issue.
278
+ *
206
279
  * @generated from field: string message = 4;
207
280
  */
208
281
  message: string;
@@ -213,79 +286,103 @@ export type ConfigurationResolveIssue = Message<"ar.v1.ConfigurationResolveIssue
213
286
  * Use `create(ConfigurationResolveIssueSchema)` to create a new message.
214
287
  */
215
288
  export const ConfigurationResolveIssueSchema: GenMessage<ConfigurationResolveIssue> = /*@__PURE__*/
216
- messageDesc(file_ar_v1_config_resolve, 4);
289
+ messageDesc(file_ar_v1_config_resolve, 6);
217
290
 
218
291
  /**
219
292
  * ResolvedConfiguration is the fully selected config instance a runtime client
220
293
  * should activate.
221
294
  *
222
295
  * effective_config should already include all binding-level property overrides.
223
- * The runtime/client should then inject resolved_resource_bindings and
224
- * resolved_context_bindings into the mapped properties before evaluating local
225
- * property mirroring, helpers, actions, and feedback.
296
+ * The runtime/client should then inject resolved_input_bindings into the
297
+ * generated properties before evaluating local property mirroring, helpers,
298
+ * actions, and feedback.
226
299
  *
227
300
  * @generated from message ar.v1.ResolvedConfiguration
228
301
  */
229
302
  export type ResolvedConfiguration = Message<"ar.v1.ResolvedConfiguration"> & {
230
303
  /**
304
+ * Runtime instance identifier for this resolved config.
305
+ *
231
306
  * @generated from field: string instance_id = 1;
232
307
  */
233
308
  instanceId: string;
234
309
 
235
310
  /**
311
+ * Binding that selected the config.
312
+ *
236
313
  * @generated from field: string binding_id = 2;
237
314
  */
238
315
  bindingId: string;
239
316
 
240
317
  /**
318
+ * Underlying reusable config template.
319
+ *
241
320
  * @generated from field: string config_id = 3;
242
321
  */
243
322
  configId: string;
244
323
 
245
324
  /**
325
+ * Scope level that selected this config.
326
+ *
246
327
  * @generated from field: ar.v1.ResolvedConfigurationScopeType scope = 4;
247
328
  */
248
329
  scope: ResolvedConfigurationScopeType;
249
330
 
250
331
  /**
332
+ * Active line attached to the resolved instance, if any.
333
+ *
251
334
  * @generated from field: string line_id = 5;
252
335
  */
253
336
  lineId: string;
254
337
 
255
338
  /**
339
+ * Active cell attached to the resolved instance, if any.
340
+ *
256
341
  * @generated from field: string cell_id = 6;
257
342
  */
258
343
  cellId: string;
259
344
 
260
345
  /**
346
+ * Active station attached to the resolved instance, if any.
347
+ *
261
348
  * @generated from field: string station_id = 7;
262
349
  */
263
350
  stationId: string;
264
351
 
265
352
  /**
353
+ * Standalone decision carried over from the winning binding.
354
+ *
266
355
  * @generated from field: bool standalone = 8;
267
356
  */
268
357
  standalone: boolean;
269
358
 
270
359
  /**
360
+ * Priority carried over from the winning binding.
361
+ *
271
362
  * @generated from field: int32 priority = 9;
272
363
  */
273
364
  priority: number;
274
365
 
275
366
  /**
367
+ * Config after binding-level overrides have been applied.
368
+ *
276
369
  * @generated from field: ar.v1.ARConfigMessage effective_config = 10;
277
370
  */
278
371
  effectiveConfig?: ARConfigMessage;
279
372
 
280
373
  /**
281
- * @generated from field: repeated ar.v1.ResolvedResourceBinding resolved_resource_bindings = 11;
374
+ * Materialized config-owned input slot entities referenced by effective_config.input_slot_ids.
375
+ *
376
+ * @generated from field: repeated ar.v1.ARInputSlotMessage input_slots = 11;
282
377
  */
283
- resolvedResourceBindings: ResolvedResourceBinding[];
378
+ inputSlots: ARInputSlotMessage[];
284
379
 
285
380
  /**
286
- * @generated from field: repeated ar.v1.ResolvedContextBinding resolved_context_bindings = 12;
381
+ * Authoritative resolved values for unified config input slots.
382
+ *
383
+ * @generated from field: repeated ar.v1.ResolvedInputBinding resolved_input_bindings = 12;
287
384
  */
288
- resolvedContextBindings: ResolvedContextBinding[];
385
+ resolvedInputBindings: ResolvedInputBinding[];
289
386
  };
290
387
 
291
388
  /**
@@ -293,29 +390,33 @@ export type ResolvedConfiguration = Message<"ar.v1.ResolvedConfiguration"> & {
293
390
  * Use `create(ResolvedConfigurationSchema)` to create a new message.
294
391
  */
295
392
  export const ResolvedConfigurationSchema: GenMessage<ResolvedConfiguration> = /*@__PURE__*/
296
- messageDesc(file_ar_v1_config_resolve, 5);
393
+ messageDesc(file_ar_v1_config_resolve, 7);
297
394
 
298
395
  /**
396
+ * ConfigurationResolveResult returns the configs that should be active for the
397
+ * supplied runtime context plus any instances that should be unloaded.
398
+ *
299
399
  * @generated from message ar.v1.ConfigurationResolveResult
300
400
  */
301
401
  export type ConfigurationResolveResult = Message<"ar.v1.ConfigurationResolveResult"> & {
302
402
  /**
303
- * @generated from field: string request_id = 1;
304
- */
305
- requestId: string;
306
-
307
- /**
308
- * @generated from field: repeated ar.v1.ResolvedConfiguration configurations = 2;
403
+ * Config instances that should be active after resolution.
404
+ *
405
+ * @generated from field: repeated ar.v1.ResolvedConfiguration configurations = 1;
309
406
  */
310
407
  configurations: ResolvedConfiguration[];
311
408
 
312
409
  /**
313
- * @generated from field: repeated string unload_instance_ids = 3;
410
+ * Previously loaded instances that should now be removed.
411
+ *
412
+ * @generated from field: repeated string unload_instance_ids = 2;
314
413
  */
315
414
  unloadInstanceIds: string[];
316
415
 
317
416
  /**
318
- * @generated from field: repeated ar.v1.ConfigurationResolveIssue issues = 4;
417
+ * Informational, warning, or error issues observed during resolution.
418
+ *
419
+ * @generated from field: repeated ar.v1.ConfigurationResolveIssue issues = 3;
319
420
  */
320
421
  issues: ConfigurationResolveIssue[];
321
422
  };
@@ -325,23 +426,29 @@ export type ConfigurationResolveResult = Message<"ar.v1.ConfigurationResolveResu
325
426
  * Use `create(ConfigurationResolveResultSchema)` to create a new message.
326
427
  */
327
428
  export const ConfigurationResolveResultSchema: GenMessage<ConfigurationResolveResult> = /*@__PURE__*/
328
- messageDesc(file_ar_v1_config_resolve, 6);
429
+ messageDesc(file_ar_v1_config_resolve, 8);
329
430
 
330
431
  /**
331
432
  * @generated from enum ar.v1.ResolvedConfigurationScopeType
332
433
  */
333
434
  export enum ResolvedConfigurationScopeType {
334
435
  /**
436
+ * Resolver did not determine a concrete scope.
437
+ *
335
438
  * @generated from enum value: RESOLVED_CONFIGURATION_SCOPE_TYPE_UNSPECIFIED = 0;
336
439
  */
337
440
  UNSPECIFIED = 0,
338
441
 
339
442
  /**
443
+ * Config was selected through a station-scoped binding.
444
+ *
340
445
  * @generated from enum value: RESOLVED_CONFIGURATION_SCOPE_TYPE_STATION = 1;
341
446
  */
342
447
  STATION = 1,
343
448
 
344
449
  /**
450
+ * Config was selected through a cell-scoped binding.
451
+ *
345
452
  * @generated from enum value: RESOLVED_CONFIGURATION_SCOPE_TYPE_CELL = 2;
346
453
  */
347
454
  CELL = 2,
@@ -358,21 +465,29 @@ export const ResolvedConfigurationScopeTypeSchema: GenEnum<ResolvedConfiguration
358
465
  */
359
466
  export enum ConfigurationResolveIssueSeverity {
360
467
  /**
468
+ * Severity not classified.
469
+ *
361
470
  * @generated from enum value: CONFIGURATION_RESOLVE_ISSUE_SEVERITY_UNSPECIFIED = 0;
362
471
  */
363
472
  UNSPECIFIED = 0,
364
473
 
365
474
  /**
475
+ * Informational note that does not affect resolution.
476
+ *
366
477
  * @generated from enum value: CONFIGURATION_RESOLVE_ISSUE_SEVERITY_INFO = 1;
367
478
  */
368
479
  INFO = 1,
369
480
 
370
481
  /**
482
+ * Non-fatal problem or fallback encountered during resolution.
483
+ *
371
484
  * @generated from enum value: CONFIGURATION_RESOLVE_ISSUE_SEVERITY_WARNING = 2;
372
485
  */
373
486
  WARNING = 2,
374
487
 
375
488
  /**
489
+ * Fatal problem that prevented a binding/config from resolving.
490
+ *
376
491
  * @generated from enum value: CONFIGURATION_RESOLVE_ISSUE_SEVERITY_ERROR = 3;
377
492
  */
378
493
  ERROR = 3,