syntax = "proto2"; message RabbitmqBindEtc { required string ex = 1; required string route_key = 2; } message RabbitmqEtc { required string ip = 1; optional int32 port = 2 [default = 5672]; optional string user = 3 [default = "zx"]; optional string password = 4 [default = "zx123456"]; repeated RabbitmqBindEtc binds = 5; }