-
Notifications
You must be signed in to change notification settings - Fork 551
/
alerts.proto
45 lines (36 loc) · 1.46 KB
/
alerts.proto
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
// Copyright (c) 2023 Boston Dynamics, Inc. All rights reserved.
//
// Downloading, reproducing, distributing or otherwise using the SDK Software
// is subject to the terms and conditions of the Boston Dynamics Software
// Development Kit License (20191101-BDSDK-SL).
syntax = "proto3";
package bosdyn.api;
option java_outer_classname = "AlertsProto";
import "google/protobuf/struct.proto";
// Structured data indicating an alert detected off the robot that can be stored in the DataBuffer
// and associated with with previously stored data.
message AlertData {
enum SeverityLevel {
// Do not use. If severity is unknown, must assume issue is
// highest severity.
SEVERITY_LEVEL_UNKNOWN = 0;
// Informational message that requires no action.
SEVERITY_LEVEL_INFO = 1;
// An error may occur in the future if no action is taken, but no action
// presently required.
SEVERITY_LEVEL_WARN = 2;
// Action required. Error fatal to operation.
SEVERITY_LEVEL_ERROR = 3;
// Action required. Severe error that requires immediate
// attention.
SEVERITY_LEVEL_CRITICAL = 4;
}
// Severity of this alert.
SeverityLevel severity = 1;
// Human readable alert title/summary.
string title = 2;
// The source that triggered the alert.
string source = 3;
// JSON data for any additional info attached to this alert.
google.protobuf.Struct additional_data = 4;
}