Mensagemholoholo.rpc
PlatformMetricData
| Nº | Campo | Tipo | Tag |
|---|---|---|---|
| 1 | common_telemetry | TelemetryCommon | 0a |
| 6 | metric_kind | PlatformMetricData.Kind | 30 |
| oneof datapoint_value · 4 opções, só uma de cada vez | |||
| 2 | long_value | int64 | 10 |
| 3 | double_value | double | 19 |
| 4 | boolean_value | bool | 20 |
| 5 | distribution | Distribution | 2a |
Tipos aninhados
Usado em (3)
Código .proto
// holo_protos.proto · package holoholo.rpc message PlatformMetricData { TelemetryCommon common_telemetry = 1; Kind metric_kind = 6; oneof datapoint_value { int64 long_value = 2; double double_value = 3; bool boolean_value = 4; Distribution distribution = 5; } enum Kind { KIND_UNSPECIFIED = 0; KIND_GAUGE = 1; KIND_DELTA = 2; KIND_CUMULATIVE = 3; } }