aboutsummaryrefslogtreecommitdiff
path: root/other/java/client
diff options
context:
space:
mode:
Diffstat (limited to 'other/java/client')
-rw-r--r--other/java/client/src/main/proto/filer.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index 23c841f18..12f9a8505 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -344,7 +344,9 @@ message LocateBrokerResponse {
repeated Resource resources = 2;
}
+/////////////////////////
// Key-Value operations
+/////////////////////////
message KvGetRequest {
bytes key = 1;
}
@@ -360,7 +362,9 @@ message KvPutResponse {
string error = 1;
}
+/////////////////////////
// path-based configurations
+/////////////////////////
message FilerConf {
int32 version = 1;
message PathConf {
@@ -376,6 +380,9 @@ message FilerConf {
repeated PathConf locations = 2;
}
+/////////////////////////
+// Remote Storage related
+/////////////////////////
message RemoteConf {
string type = 1;
string name = 2;
@@ -384,3 +391,11 @@ message RemoteConf {
string s3_region = 6;
string s3_endpoint = 7;
}
+
+message RemoteStorageMappingList {
+ repeated RemoteStorageMapping mappings = 1;
+}
+message RemoteStorageMapping {
+ string dir = 1;
+ string remote_storage_name = 2;
+}