Mensagemholoholo.rpc
GetLocalTimeOutProto
Resposta do método RPC GET_LOCAL_TIME (ID 12).
| Nº | Campo | Tipo | Tag |
|---|---|---|---|
| 1 | status | GetLocalTimeOutProto.Status | 08 |
| 2 | local_times | repeatedGetLocalTimeOutProto.LocalTimeProto | 12 |
Tipos aninhados
Usado em (0)
Nenhuma mensagem tem um campo deste tipo. Costuma ser o caso dos pedidos e respostas de RPC, que circulam sozinhos.
Código .proto
// holo_protos.proto · package holoholo.rpc message GetLocalTimeOutProto { Status status = 1; repeated LocalTimeProto local_times = 2; message LocalTimeProto { int64 timestamp_ms = 1; int32 year = 2; int32 month = 3; int32 day_of_month = 4; int32 day_of_week = 5; int32 hours = 6; int32 minutes = 7; int32 seconds = 8; int32 milliseconds = 9; string timezone_id = 10; } enum Status { STATUS_UNSET = 0; STATUS_SUCCESS = 1; STATUS_ERROR_UNKNOWN = 2; } }