Permalink
Browse files

Move bucket properties messages to riak.proto.

  • Loading branch information...
1 parent dfbc13e commit f567007c519cbd1d91e69d1e59a0ae9a5c254cd2 @seancribbs seancribbs committed Feb 14, 2013
Showing with 26 additions and 26 deletions.
  1. +26 −1 src/riak.proto
  2. +0 −25 src/riak_kv.proto
View
@@ -22,7 +22,7 @@
*/
/*
-** Revision: 1.2
+** Revision: 1.4
*/
// Java package specifiers
@@ -47,3 +47,28 @@ message RpbPair {
required bytes key = 1;
optional bytes value = 2;
}
+
+
+// Get bucket properties request
+message RpbGetBucketReq {
+ required bytes bucket = 1;
+}
+
+// Get bucket properties response
+message RpbGetBucketResp {
+ required RpbBucketProps props = 1;
+}
+
+// Set bucket properties request
+message RpbSetBucketReq {
+ required bytes bucket = 1;
+ required RpbBucketProps props = 2;
+}
+
+// Set bucket properties response - no message defined, just send RpbSetBucketResp
+
+// Bucket properties
+message RpbBucketProps {
+ optional uint32 n_val = 1;
+ optional bool allow_mult = 2;
+}
View
@@ -122,25 +122,6 @@ message RpbListKeysResp {
optional bool done = 2;
}
-// Get bucket properties request
-message RpbGetBucketReq {
- required bytes bucket = 1;
-}
-
-// Get bucket properties response
-message RpbGetBucketResp {
- required RpbBucketProps props = 1;
-}
-
-// Set bucket properties request
-message RpbSetBucketReq {
- required bytes bucket = 1;
- required RpbBucketProps props = 2;
-}
-
-
-// Set bucket properties response - no message defined, just send RpbSetBucketResp
-
// Map/Reduce request
message RpbMapRedReq {
@@ -199,9 +180,3 @@ message RpbLink {
optional bytes key = 2;
optional bytes tag = 3;
}
-
-// Bucket properties
-message RpbBucketProps {
- optional uint32 n_val = 1;
- optional bool allow_mult = 2;
-}

0 comments on commit f567007

Please sign in to comment.