syntax = "proto3"; package api; import "google/api/annotations.proto"; import "google/protobuf/timestamp.proto"; message PingMessage { string greeting = 1; } message Item { int32 id = 1; string field = 2; string field2 = 3; google.protobuf.Timestamp created = 5; google.protobuf.Timestamp last_updated = 6; } service Ping { rpc SayHello(PingMessage) returns (PingMessage) { option (google.api.http) = { post: "/1/ping" body: "*" }; } }