github.com/m3db/m3@v1.5.0/src/msg/generated/proto/msgpb/msg.proto (about) 1 syntax = "proto3"; 2 3 package msgpb; 4 5 import "github.com/gogo/protobuf/gogoproto/gogo.proto"; 6 7 message Metadata { 8 uint64 shard = 1; 9 uint64 id = 2; 10 uint64 sentAtNanos = 3; 11 } 12 13 message Message { 14 Metadata metadata = 1 [(gogoproto.nullable) = false]; 15 bytes value = 2; 16 } 17 18 message Ack { 19 repeated Metadata metadata = 1 [(gogoproto.nullable) = false]; 20 }