summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorDave Borowitz <dborowitz@google.com>2018-05-01 09:27:46 -0400
committerDave Borowitz <dborowitz@google.com>2018-05-14 14:26:50 -0700
commite62a11110a87f709db7751173b52e30a06d94a96 (patch)
treef671f9ce2d2a2b67c6a153b337fe75297bc02dc7 /proto
parent52e5bbbbc110b7a08550125e59c9483822f468ba (diff)
Convert MergeabilityCacheImpl.Key serialization to protobuf
Diffstat (limited to 'proto')
-rw-r--r--proto/cache.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/proto/cache.proto b/proto/cache.proto
index 4a84ab1f5f..8f4298f5ba 100644
--- a/proto/cache.proto
+++ b/proto/cache.proto
@@ -25,3 +25,13 @@ message ChangeKindKeyProto {
bytes next = 2;
string strategy_name = 3;
}
+
+// Serialized form of
+// com.google.gerrit.server.change.MergeabilityCacheImpl.EntryKey.
+// Next ID: 5
+message MergeabilityKeyProto {
+ bytes commit = 1;
+ bytes into = 2;
+ string submit_type = 3;
+ string merge_strategy = 4;
+}