1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
syntax = "proto3"; message Request{ float x = 1; float y = 2; float z = 3; } message Response{ string response_message = 1; } service SetPositionService { rpc SetPosition(Request) returns (Response) {} rpc SetRotation(Request) returns (Response) {} }
You can clone a snippet to your computer for local editing. Learn more.