syntax = "proto3"; package faq; service FaQSQLite { rpc Query(SQLiteQueryString) returns (stream SQLiteQueryRow) {} } message SQLiteQueryString { string sql = 1; } message SQLiteQueryRow { repeated SQLiteField fields = 1; } message SQLiteField { optional string name = 8; oneof value { int32 int = 1; int64 int64 = 2; string string = 3; bytes blob = 4; float float = 5; bool null = 6; } }