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