Skip to content

Commit 88be0f5

Browse files
committed
ref: moved enum into messages
1 parent 9d05b15 commit 88be0f5

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

proto/shared/shared.runtime_status.proto

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ message AdapterConfiguration {
1212
}
1313
}
1414

15-
enum RuntimeStatus {
16-
UNKNOWN = 0;
17-
NOT_RESPONDING = 1;
18-
NOT_READY = 2;
19-
RUNNING = 3;
20-
STOPPED = 4;
21-
}
22-
2315
message RuntimeFeature {
2416
repeated shared.Translation name = 1;
2517
repeated shared.Translation description = 2;
2618
}
2719

2820
message AdapterRuntimeStatus {
21+
enum RuntimeStatus {
22+
UNKNOWN = 0;
23+
NOT_RESPONDING = 1;
24+
NOT_READY = 2;
25+
RUNNING = 3;
26+
STOPPED = 4;
27+
}
28+
2929
RuntimeStatus status = 1;
3030
int64 timestamp = 2; // epoch timestamp in milliseconds
3131

@@ -36,6 +36,14 @@ message AdapterRuntimeStatus {
3636
}
3737

3838
message ExecutionRuntimeStatus {
39+
enum RuntimeStatus {
40+
UNKNOWN = 0;
41+
NOT_RESPONDING = 1;
42+
NOT_READY = 2;
43+
RUNNING = 3;
44+
STOPPED = 4;
45+
}
46+
3947
RuntimeStatus status = 1;
4048
int64 timestamp = 2; // epoch timestamp in milliseconds
4149

0 commit comments

Comments
 (0)