I am converting .proto files to swift files using command
protoc --swift_out=. my_proto_file.proto
protoc version being used is libprotoc 3
libprotoc 3