diff --git a/keyspace/Keyspace.proto b/keyspace/Keyspace.proto index 6af730ae..a180db57 100644 --- a/keyspace/Keyspace.proto +++ b/keyspace/Keyspace.proto @@ -24,29 +24,28 @@ option java_outer_classname = "KeyspaceProto"; package keyspace; service KeyspaceService { - rpc create (Keyspace.Create.Req) returns (Keyspace.Create.Res); rpc retrieve (Keyspace.Retrieve.Req) returns (Keyspace.Retrieve.Res); rpc delete (Keyspace.Delete.Req) returns (Keyspace.Delete.Res); } message Keyspace { message Retrieve { - message Req {} + message Req { + /* Fields ignored in the open-source version. */ + string username = 1; + string password = 2; + } message Res { repeated string names = 1; } } - message Create { - message Req { - string name = 1; - } - message Res {} - } - message Delete { message Req { string name = 1; + /* Fields ignored in the open-source version. */ + string username = 2; + string password = 3; } message Res {} }