aboutsummaryrefslogtreecommitdiff
path: root/other/java/client/src
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-12-13 00:22:37 -0800
committerChris Lu <chris.lu@gmail.com>2019-12-13 00:22:37 -0800
commit0fa1269bc77abe30f4d108a88a97e29e1bca3124 (patch)
tree5cc1c65ea9119dc23a5a4ded21e775d62c1bf9f3 /other/java/client/src
parentd0b423bbc07368bc53a08aec47618924851725a1 (diff)
downloadseaweedfs-0fa1269bc77abe30f4d108a88a97e29e1bca3124.tar.xz
seaweedfs-0fa1269bc77abe30f4d108a88a97e29e1bca3124.zip
filer: streaming file listing
Diffstat (limited to 'other/java/client/src')
-rw-r--r--other/java/client/src/main/proto/filer.proto4
1 files changed, 2 insertions, 2 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index 18ccca44f..ef847cbe7 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -12,7 +12,7 @@ service SeaweedFiler {
rpc LookupDirectoryEntry (LookupDirectoryEntryRequest) returns (LookupDirectoryEntryResponse) {
}
- rpc ListEntries (ListEntriesRequest) returns (ListEntriesResponse) {
+ rpc ListEntries (ListEntriesRequest) returns (stream ListEntriesResponse) {
}
rpc CreateEntry (CreateEntryRequest) returns (CreateEntryResponse) {
@@ -64,7 +64,7 @@ message ListEntriesRequest {
}
message ListEntriesResponse {
- repeated Entry entries = 1;
+ Entry entry = 1;
}
message Entry {