|
Revision d8ec2a3842ef728eff873aba1e90e632c10d88a4, 0.7 kB
(checked in by Theo Schlossnagle <jesus@omniti.com>, 1 year ago)
|
Add period and timeout to the bundle.
Update both generated code, c and java.
Add a Makefile command to generate.
|
- Property mode set to
100644
|
| Line | |
|---|
| 1 |
option java_outer_classname = "CheckStatus"; |
|---|
| 2 |
option java_package = "com.omniti.reconnoiter"; |
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
message Metric |
|---|
| 6 |
{ |
|---|
| 7 |
required string name = 1; |
|---|
| 8 |
required int32 metricType = 2; |
|---|
| 9 |
optional double valueDbl = 3; |
|---|
| 10 |
optional int64 valueI64 = 4; |
|---|
| 11 |
optional uint64 valueUI64 = 5; |
|---|
| 12 |
optional int32 valueI32 = 6; |
|---|
| 13 |
optional uint32 valueUI32 = 7; |
|---|
| 14 |
optional string valueStr = 8; |
|---|
| 15 |
} |
|---|
| 16 |
|
|---|
| 17 |
message Status |
|---|
| 18 |
{ |
|---|
| 19 |
required int32 available = 1; |
|---|
| 20 |
required int32 state = 2; |
|---|
| 21 |
required int32 duration = 3; |
|---|
| 22 |
required string status = 4; |
|---|
| 23 |
} |
|---|
| 24 |
|
|---|
| 25 |
message Metadata |
|---|
| 26 |
{ |
|---|
| 27 |
required string key = 1; |
|---|
| 28 |
required string value = 2; |
|---|
| 29 |
} |
|---|
| 30 |
|
|---|
| 31 |
message Bundle |
|---|
| 32 |
{ |
|---|
| 33 |
optional Status status = 1; |
|---|
| 34 |
repeated Metric metrics = 2; |
|---|
| 35 |
repeated Metadata metadata = 3; |
|---|
| 36 |
optional uint32 period = 4; |
|---|
| 37 |
optional uint32 timeout = 5; |
|---|
| 38 |
} |
|---|
| 39 |
|
|---|