From acb77289151ea90891d896fa4ca66ef1d6761cf5 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 2 Dec 2026 12:04:27 -0800 Subject: [PATCH] filer: ListEntriesRecursive RPC (#13262) * filer: name the check that a listing expires an entry Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK * filer: StreamListRecursiveEntries lists a subtree in path order It pages through the store's RecursiveLister until the limit, leaves out and deletes expired entries as a directory listing does, and declines a subtree in or holding a remote mount. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK * filer.proto: ListEntriesRecursive A new RPC rather than a field on ListEntries: a filer that predates it answers Unimplemented instead of listing one directory. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK * filer: serve ListEntriesRecursive Unimplemented when the store cannot list the subtree in path order. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK * filer: a scoped token is refused ListEntriesRecursive Classified with TraverseBfsMetadata: it lists a whole subtree, past the per-directory checks a scoped ListEntries gets. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK * filer: trim a trailing slash before checking a recursive listing for remote mounts An empty directory lists from the root. Co-Authored-By: Claude Opus 5.5 * filer: keep the recursive listing cursor when a page comes back empty Co-Authored-By: Claude Opus 5.5 --------- Co-authored-by: Claude Opus 5.5 --- weed/filer/filer.go | 30 +- weed/filer/filer_list_recursive.go | 64 + weed/filer/filer_list_recursive_test.go | 157 +++ weed/pb/filer.proto | 19 + weed/pb/filer_pb/filer.pb.go | 1235 +++++++++-------- weed/pb/filer_pb/filer_grpc.pb.go | 55 +- weed/pb/filer_pb/filer_vtproto.pb.go | 437 ++++++ .../filer_grpc_scope_descriptor_test.go | 3 +- .../filer_grpc_server_list_recursive.go | 31 + .../filer_grpc_server_list_recursive_test.go | 72 + 10 files changed, 1534 insertions(+), 569 deletions(-) create mode 100644 weed/filer/filer_list_recursive.go create mode 100644 weed/filer/filer_list_recursive_test.go create mode 100644 weed/server/filer_grpc_server_list_recursive.go create mode 100644 weed/server/filer_grpc_server_list_recursive_test.go diff --git a/weed/filer/filer.go b/weed/filer/filer.go index a05d584988..bf6551e9d1 100644 --- a/weed/filer/filer.go +++ b/weed/filer/filer.go @@ -1220,20 +1220,11 @@ func (f *Filer) doListDirectoryEntries(ctx context.Context, p util.FullPath, sta glog.V(1).InfofCtx(ctx, "listing %q canceled: %v", p, ctx.Err()) return false, fmt.Errorf("context canceled: %w", ctx.Err()) default: - if entry.TtlSec > 0 && !entry.IsDirectory() { - if entry.IsExpireS3Enabled() { - if entry.GetS3ExpireTime().Before(time.Now()) && !entry.IsS3Versioning() { - // Collect for deletion after iteration completes to avoid DB deadlock - expiredEntries = append(expiredEntries, entry) - expiredCount++ - return true, nil - } - } else if entry.Crtime.Add(time.Duration(entry.TtlSec) * time.Second).Before(time.Now()) { - // Collect for deletion after iteration completes to avoid DB deadlock - expiredEntries = append(expiredEntries, entry) - expiredCount++ - return true, nil - } + if listingExpired(entry) { + // Collect for deletion after iteration completes to avoid DB deadlock + expiredEntries = append(expiredEntries, entry) + expiredCount++ + return true, nil } // Track that we found at least one valid (non-expired) entry hasValidEntries = true @@ -1263,6 +1254,17 @@ func (f *Filer) doListDirectoryEntries(ctx context.Context, p util.FullPath, sta return } +// listingExpired reports whether a listing leaves the entry out and deletes it. +func listingExpired(entry *Entry) bool { + if entry.TtlSec <= 0 || entry.IsDirectory() { + return false + } + if entry.IsExpireS3Enabled() { + return entry.GetS3ExpireTime().Before(time.Now()) && !entry.IsS3Versioning() + } + return entry.Crtime.Add(time.Duration(entry.TtlSec) * time.Second).Before(time.Now()) +} + // DeleteEmptyParentDirectories recursively checks and deletes parent directories if they become empty. // It stops at root "/" or at stopAtPath (if provided). // This is useful for cleaning up directories after deleting files or expired entries. diff --git a/weed/filer/filer_list_recursive.go b/weed/filer/filer_list_recursive.go new file mode 100644 index 0000000000..d36859ed1c --- /dev/null +++ b/weed/filer/filer_list_recursive.go @@ -0,0 +1,64 @@ +package filer + +import ( + "context" + "fmt" + "strings" + + "github.com/seaweedfs/seaweedfs/weed/glog" + "github.com/seaweedfs/seaweedfs/weed/util" +) + +// StreamListRecursiveEntries lists up to limit entries below p in path order +// with the store's RecursiveLister, leaving out expired entries and deleting +// them as a directory listing does. A subtree in or holding a remote mount is +// declined: its directory listings fetch from the remote. +func (f *Filer) StreamListRecursiveEntries(ctx context.Context, p, startPath util.FullPath, prefix string, limit int64, eachEntryFunc ListEachEntryFunc) (lastPath util.FullPath, err error) { + lister, ok := f.Store.(RecursiveLister) + if !ok { + return "", ErrUnsupportedRecursiveListing + } + if p = util.FullPath(strings.TrimSuffix(string(p), "/")); p == "" { + p = "/" + } + if f.RemoteStorage != nil { + for _, mount := range f.RemoteStorage.MountedDirectories() { + if mount == p || mount.IsUnder(p) || p.IsUnder(mount) { + return "", fmt.Errorf("%w: %s is remote mounted", ErrUnsupportedRecursiveListing, mount) + } + } + } + lastPath = startPath + for limit > 0 { + var expiredEntries []*Entry + read, stopped := int64(0), false + page := min(limit, int64(PaginationSize)) + var pageLast util.FullPath + pageLast, err = lister.ListRecursivePrefixedEntries(ctx, p, lastPath, prefix, page, func(entry *Entry) (bool, error) { + read++ + if ctxErr := ctx.Err(); ctxErr != nil { + return false, ctxErr + } + if listingExpired(entry) { + expiredEntries = append(expiredEntries, entry) + return true, nil + } + limit-- + more, eachErr := eachEntryFunc(entry) + stopped = !more || limit == 0 + return !stopped, eachErr + }) + if pageLast != "" { + lastPath = pageLast + } + for _, entry := range expiredEntries { + if delErr := f.deleteExpiredEntry(ctx, entry.FullPath); delErr != nil { + glog.ErrorfCtx(ctx, "list %s recursively: delete expired %s: %v", p, entry.FullPath, delErr) + } + } + if err != nil || stopped || read < page { + return lastPath, err + } + } + return lastPath, nil +} diff --git a/weed/filer/filer_list_recursive_test.go b/weed/filer/filer_list_recursive_test.go new file mode 100644 index 0000000000..e36edc44a1 --- /dev/null +++ b/weed/filer/filer_list_recursive_test.go @@ -0,0 +1,157 @@ +package filer + +import ( + "context" + "fmt" + "sort" + "strings" + "testing" + "time" + + "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb" + "github.com/seaweedfs/seaweedfs/weed/util" + "github.com/stretchr/testify/require" +) + +// recursiveStubStore lists the stub's entries in path order. +type recursiveStubStore struct { + *stubFilerStore + calls int +} + +func (s *recursiveStubStore) ListRecursivePrefixedEntries(ctx context.Context, dirPath, startPath util.FullPath, prefix string, limit int64, eachEntryFunc ListEachEntryFunc) (lastPath util.FullPath, err error) { + s.calls++ + from := strings.TrimSuffix(string(dirPath), "/") + "/" + prefix + s.mu.Lock() + var paths []string + for p := range s.entries { + if strings.HasPrefix(p, from) && p > string(startPath) { + paths = append(paths, p) + } + } + s.mu.Unlock() + sort.Strings(paths) + for _, p := range paths { + if limit <= 0 { + break + } + limit-- + lastPath = util.FullPath(p) + s.mu.Lock() + entry := s.entries[p] + s.mu.Unlock() + if more, err := eachEntryFunc(entry); err != nil || !more { + return lastPath, err + } + } + return lastPath, nil +} + +func TestStreamListRecursiveEntries(t *testing.T) { + ctx := context.Background() + store := &recursiveStubStore{stubFilerStore: newStubFilerStore()} + f := &Filer{Store: NewFilerStoreWrapper(store)} + now := time.Now() + var want []string + for i := 0; i < 2*PaginationSize+5; i++ { + p := fmt.Sprintf("/buckets/b/d%02d/f%05d", i%7, i) + store.entries[p] = &Entry{FullPath: util.FullPath(p), Attr: Attr{Mode: 0644, Crtime: now, Mtime: now}} + want = append(want, p) + } + expired := "/buckets/b/d00/expired" + store.entries[expired] = &Entry{FullPath: util.FullPath(expired), Attr: Attr{Mode: 0644, Crtime: now.Add(-time.Hour), Mtime: now, TtlSec: 60}} + sort.Strings(want) + + list := func(t *testing.T, start, prefix string, limit int64, stopAt int) ([]string, util.FullPath) { + t.Helper() + var got []string + last, err := f.StreamListRecursiveEntries(ctx, "/buckets/b", util.FullPath(start), prefix, limit, func(e *Entry) (bool, error) { + got = append(got, string(e.FullPath)) + return len(got) != stopAt, nil + }) + require.NoError(t, err) + return got, last + } + + t.Run("pages through the store until the limit", func(t *testing.T) { + store.calls = 0 + got, last := list(t, "", "", 1<<20, -1) + require.Equal(t, want, got) + require.Equal(t, util.FullPath(want[len(want)-1]), last) + require.Equal(t, 3, store.calls, "two full pages and a short one") + _, found := store.entries[expired] + require.False(t, found, "the expired entry is deleted") + + got, last = list(t, "", "", 10, -1) + require.Equal(t, want[:10], got) + require.Equal(t, util.FullPath(want[9]), last) + }) + + t.Run("resumes after a path, within a prefix", func(t *testing.T) { + got, _ := list(t, want[100], "d03/", 1<<20, -1) + var expect []string + for _, p := range want[101:] { + if strings.HasPrefix(p, "/buckets/b/d03/") { + expect = append(expect, p) + } + } + require.Equal(t, expect, got) + }) + + t.Run("a trailing slash lists the same subtree", func(t *testing.T) { + got, _ := list(t, "", "", 1<<20, -1) + var withSlash []string + _, err := f.StreamListRecursiveEntries(ctx, "/buckets/b/", "", "", 1<<20, func(e *Entry) (bool, error) { + withSlash = append(withSlash, string(e.FullPath)) + return true, nil + }) + require.NoError(t, err) + require.Equal(t, got, withSlash) + }) + + t.Run("a callback that stops ends at its entry", func(t *testing.T) { + got, last := list(t, "", "", 1<<20, 5) + require.Equal(t, want[:5], got) + require.Equal(t, util.FullPath(want[4]), last) + }) + + t.Run("an empty last page keeps the cursor", func(t *testing.T) { + exact := &recursiveStubStore{stubFilerStore: newStubFilerStore()} + var last string + for i := 0; i < PaginationSize; i++ { + last = fmt.Sprintf("/buckets/e/f%05d", i) + exact.entries[last] = &Entry{FullPath: util.FullPath(last), Attr: Attr{Mode: 0644, Crtime: now, Mtime: now}} + } + count := 0 + lastPath, err := (&Filer{Store: NewFilerStoreWrapper(exact)}).StreamListRecursiveEntries(ctx, "/buckets/e", "", "", 1<<20, func(*Entry) (bool, error) { + count++ + return true, nil + }) + require.NoError(t, err) + require.Equal(t, PaginationSize, count) + require.Equal(t, 2, exact.calls) + require.Equal(t, util.FullPath(last), lastPath) + }) + + t.Run("declined", func(t *testing.T) { + rs := NewFilerRemoteStorage() + rs.mapDirectoryToRemoteStorage("/buckets/b/d01", &remote_pb.RemoteStorageLocation{Name: "r"}) + f.RemoteStorage = rs + _, err := f.StreamListRecursiveEntries(ctx, "/buckets/b", "", "", 10, func(*Entry) (bool, error) { return true, nil }) + require.ErrorIs(t, err, ErrUnsupportedRecursiveListing, "a remote mount below") + _, err = f.StreamListRecursiveEntries(ctx, "/buckets/b/d01/x", "", "", 10, func(*Entry) (bool, error) { return true, nil }) + require.ErrorIs(t, err, ErrUnsupportedRecursiveListing, "inside a remote mount") + _, err = f.StreamListRecursiveEntries(ctx, "/buckets/b/", "", "", 10, func(*Entry) (bool, error) { return true, nil }) + require.ErrorIs(t, err, ErrUnsupportedRecursiveListing, "a remote mount below a directory with a trailing slash") + _, err = f.StreamListRecursiveEntries(ctx, "", "", "", 10, func(*Entry) (bool, error) { return true, nil }) + require.ErrorIs(t, err, ErrUnsupportedRecursiveListing, "a remote mount below an empty directory") + f.RemoteStorage = nil + + wrapper := NewFilerStoreWrapper(store) + wrapper.AddPathSpecificStore("/other/", "other", newStubFilerStore()) + _, err = (&Filer{Store: wrapper}).StreamListRecursiveEntries(ctx, "/buckets/b", "", "", 10, func(*Entry) (bool, error) { return true, nil }) + require.ErrorIs(t, err, ErrUnsupportedRecursiveListing, "path-specific stores") + _, err = (&Filer{Store: NewFilerStoreWrapper(newStubFilerStore())}).StreamListRecursiveEntries(ctx, "/buckets/b", "", "", 10, func(*Entry) (bool, error) { return true, nil }) + require.ErrorIs(t, err, ErrUnsupportedRecursiveListing, "a store without the capability") + }) +} diff --git a/weed/pb/filer.proto b/weed/pb/filer.proto index cc32b5f2e2..9eb163513a 100644 --- a/weed/pb/filer.proto +++ b/weed/pb/filer.proto @@ -19,6 +19,11 @@ service SeaweedFiler { rpc ListEntries (ListEntriesRequest) returns (stream ListEntriesResponse) { } + // Lists every entry below a directory in path order, for stores that hold + // a subtree in one ordered range. Unimplemented when the store cannot. + rpc ListEntriesRecursive (ListEntriesRecursiveRequest) returns (stream ListEntriesRecursiveResponse) { + } + rpc CreateEntry (CreateEntryRequest) returns (CreateEntryResponse) { } @@ -150,6 +155,20 @@ message ListEntriesResponse { int64 snapshot_ts_ns = 2; } +message ListEntriesRecursiveRequest { + string directory = 1; + // a path prefix below the directory, which may hold "/" + string prefix = 2; + // a full path; the entries after it are listed + string start_from = 3; + uint32 limit = 4; +} + +message ListEntriesRecursiveResponse { + string directory = 1; + Entry entry = 2; +} + message RemoteEntry { string storage_name = 1; int64 last_local_sync_ts_ns = 2; diff --git a/weed/pb/filer_pb/filer.pb.go b/weed/pb/filer_pb/filer.pb.go index ac39495150..38dae028f1 100644 --- a/weed/pb/filer_pb/filer.pb.go +++ b/weed/pb/filer_pb/filer.pb.go @@ -270,7 +270,7 @@ func (x WriteCondition_Kind) Number() protoreflect.EnumNumber { // Deprecated: Use WriteCondition_Kind.Descriptor instead. func (WriteCondition_Kind) EnumDescriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{13, 0} + return file_filer_proto_rawDescGZIP(), []int{15, 0} } type ObjectMutation_Type int32 @@ -322,7 +322,7 @@ func (x ObjectMutation_Type) Number() protoreflect.EnumNumber { // Deprecated: Use ObjectMutation_Type.Descriptor instead. func (ObjectMutation_Type) EnumDescriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{14, 0} + return file_filer_proto_rawDescGZIP(), []int{16, 0} } type LookupDirectoryEntryRequest struct { @@ -588,6 +588,128 @@ func (x *ListEntriesResponse) GetSnapshotTsNs() int64 { return 0 } +type ListEntriesRecursiveRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` + // a path prefix below the directory, which may hold "/" + Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` + // a full path; the entries after it are listed + StartFrom string `protobuf:"bytes,3,opt,name=start_from,json=startFrom,proto3" json:"start_from,omitempty"` + Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListEntriesRecursiveRequest) Reset() { + *x = ListEntriesRecursiveRequest{} + mi := &file_filer_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListEntriesRecursiveRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListEntriesRecursiveRequest) ProtoMessage() {} + +func (x *ListEntriesRecursiveRequest) ProtoReflect() protoreflect.Message { + mi := &file_filer_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListEntriesRecursiveRequest.ProtoReflect.Descriptor instead. +func (*ListEntriesRecursiveRequest) Descriptor() ([]byte, []int) { + return file_filer_proto_rawDescGZIP(), []int{4} +} + +func (x *ListEntriesRecursiveRequest) GetDirectory() string { + if x != nil { + return x.Directory + } + return "" +} + +func (x *ListEntriesRecursiveRequest) GetPrefix() string { + if x != nil { + return x.Prefix + } + return "" +} + +func (x *ListEntriesRecursiveRequest) GetStartFrom() string { + if x != nil { + return x.StartFrom + } + return "" +} + +func (x *ListEntriesRecursiveRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 +} + +type ListEntriesRecursiveResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` + Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListEntriesRecursiveResponse) Reset() { + *x = ListEntriesRecursiveResponse{} + mi := &file_filer_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListEntriesRecursiveResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListEntriesRecursiveResponse) ProtoMessage() {} + +func (x *ListEntriesRecursiveResponse) ProtoReflect() protoreflect.Message { + mi := &file_filer_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListEntriesRecursiveResponse.ProtoReflect.Descriptor instead. +func (*ListEntriesRecursiveResponse) Descriptor() ([]byte, []int) { + return file_filer_proto_rawDescGZIP(), []int{5} +} + +func (x *ListEntriesRecursiveResponse) GetDirectory() string { + if x != nil { + return x.Directory + } + return "" +} + +func (x *ListEntriesRecursiveResponse) GetEntry() *Entry { + if x != nil { + return x.Entry + } + return nil +} + type RemoteEntry struct { state protoimpl.MessageState `protogen:"open.v1"` StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` @@ -604,7 +726,7 @@ type RemoteEntry struct { func (x *RemoteEntry) Reset() { *x = RemoteEntry{} - mi := &file_filer_proto_msgTypes[4] + mi := &file_filer_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -616,7 +738,7 @@ func (x *RemoteEntry) String() string { func (*RemoteEntry) ProtoMessage() {} func (x *RemoteEntry) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[4] + mi := &file_filer_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -629,7 +751,7 @@ func (x *RemoteEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoteEntry.ProtoReflect.Descriptor instead. func (*RemoteEntry) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{4} + return file_filer_proto_rawDescGZIP(), []int{6} } func (x *RemoteEntry) GetStorageName() string { @@ -697,7 +819,7 @@ type Entry struct { func (x *Entry) Reset() { *x = Entry{} - mi := &file_filer_proto_msgTypes[5] + mi := &file_filer_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -709,7 +831,7 @@ func (x *Entry) String() string { func (*Entry) ProtoMessage() {} func (x *Entry) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[5] + mi := &file_filer_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -722,7 +844,7 @@ func (x *Entry) ProtoReflect() protoreflect.Message { // Deprecated: Use Entry.ProtoReflect.Descriptor instead. func (*Entry) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{5} + return file_filer_proto_rawDescGZIP(), []int{7} } func (x *Entry) GetName() string { @@ -819,7 +941,7 @@ type FullEntry struct { func (x *FullEntry) Reset() { *x = FullEntry{} - mi := &file_filer_proto_msgTypes[6] + mi := &file_filer_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -831,7 +953,7 @@ func (x *FullEntry) String() string { func (*FullEntry) ProtoMessage() {} func (x *FullEntry) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[6] + mi := &file_filer_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -844,7 +966,7 @@ func (x *FullEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use FullEntry.ProtoReflect.Descriptor instead. func (*FullEntry) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{6} + return file_filer_proto_rawDescGZIP(), []int{8} } func (x *FullEntry) GetDir() string { @@ -875,7 +997,7 @@ type EventNotification struct { func (x *EventNotification) Reset() { *x = EventNotification{} - mi := &file_filer_proto_msgTypes[7] + mi := &file_filer_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -887,7 +1009,7 @@ func (x *EventNotification) String() string { func (*EventNotification) ProtoMessage() {} func (x *EventNotification) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[7] + mi := &file_filer_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -900,7 +1022,7 @@ func (x *EventNotification) ProtoReflect() protoreflect.Message { // Deprecated: Use EventNotification.ProtoReflect.Descriptor instead. func (*EventNotification) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{7} + return file_filer_proto_rawDescGZIP(), []int{9} } func (x *EventNotification) GetOldEntry() *Entry { @@ -966,7 +1088,7 @@ type FileChunk struct { func (x *FileChunk) Reset() { *x = FileChunk{} - mi := &file_filer_proto_msgTypes[8] + mi := &file_filer_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -978,7 +1100,7 @@ func (x *FileChunk) String() string { func (*FileChunk) ProtoMessage() {} func (x *FileChunk) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[8] + mi := &file_filer_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -991,7 +1113,7 @@ func (x *FileChunk) ProtoReflect() protoreflect.Message { // Deprecated: Use FileChunk.ProtoReflect.Descriptor instead. func (*FileChunk) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{8} + return file_filer_proto_rawDescGZIP(), []int{10} } func (x *FileChunk) GetFileId() string { @@ -1094,7 +1216,7 @@ type FileChunkManifest struct { func (x *FileChunkManifest) Reset() { *x = FileChunkManifest{} - mi := &file_filer_proto_msgTypes[9] + mi := &file_filer_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1106,7 +1228,7 @@ func (x *FileChunkManifest) String() string { func (*FileChunkManifest) ProtoMessage() {} func (x *FileChunkManifest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[9] + mi := &file_filer_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1119,7 +1241,7 @@ func (x *FileChunkManifest) ProtoReflect() protoreflect.Message { // Deprecated: Use FileChunkManifest.ProtoReflect.Descriptor instead. func (*FileChunkManifest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{9} + return file_filer_proto_rawDescGZIP(), []int{11} } func (x *FileChunkManifest) GetChunks() []*FileChunk { @@ -1140,7 +1262,7 @@ type FileId struct { func (x *FileId) Reset() { *x = FileId{} - mi := &file_filer_proto_msgTypes[10] + mi := &file_filer_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1152,7 +1274,7 @@ func (x *FileId) String() string { func (*FileId) ProtoMessage() {} func (x *FileId) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[10] + mi := &file_filer_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1165,7 +1287,7 @@ func (x *FileId) ProtoReflect() protoreflect.Message { // Deprecated: Use FileId.ProtoReflect.Descriptor instead. func (*FileId) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{10} + return file_filer_proto_rawDescGZIP(), []int{12} } func (x *FileId) GetVolumeId() uint32 { @@ -1217,7 +1339,7 @@ type FuseAttributes struct { func (x *FuseAttributes) Reset() { *x = FuseAttributes{} - mi := &file_filer_proto_msgTypes[11] + mi := &file_filer_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1229,7 +1351,7 @@ func (x *FuseAttributes) String() string { func (*FuseAttributes) ProtoMessage() {} func (x *FuseAttributes) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[11] + mi := &file_filer_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1242,7 +1364,7 @@ func (x *FuseAttributes) ProtoReflect() protoreflect.Message { // Deprecated: Use FuseAttributes.ProtoReflect.Descriptor instead. func (*FuseAttributes) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{11} + return file_filer_proto_rawDescGZIP(), []int{13} } func (x *FuseAttributes) GetFileSize() uint64 { @@ -1412,7 +1534,7 @@ type CreateEntryRequest struct { func (x *CreateEntryRequest) Reset() { *x = CreateEntryRequest{} - mi := &file_filer_proto_msgTypes[12] + mi := &file_filer_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1424,7 +1546,7 @@ func (x *CreateEntryRequest) String() string { func (*CreateEntryRequest) ProtoMessage() {} func (x *CreateEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[12] + mi := &file_filer_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1437,7 +1559,7 @@ func (x *CreateEntryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateEntryRequest.ProtoReflect.Descriptor instead. func (*CreateEntryRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{12} + return file_filer_proto_rawDescGZIP(), []int{14} } func (x *CreateEntryRequest) GetDirectory() string { @@ -1528,7 +1650,7 @@ type WriteCondition struct { func (x *WriteCondition) Reset() { *x = WriteCondition{} - mi := &file_filer_proto_msgTypes[13] + mi := &file_filer_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1540,7 +1662,7 @@ func (x *WriteCondition) String() string { func (*WriteCondition) ProtoMessage() {} func (x *WriteCondition) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[13] + mi := &file_filer_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1553,7 +1675,7 @@ func (x *WriteCondition) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteCondition.ProtoReflect.Descriptor instead. func (*WriteCondition) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{13} + return file_filer_proto_rawDescGZIP(), []int{15} } func (x *WriteCondition) GetClauses() []*WriteCondition_Clause { @@ -1593,7 +1715,7 @@ type ObjectMutation struct { func (x *ObjectMutation) Reset() { *x = ObjectMutation{} - mi := &file_filer_proto_msgTypes[14] + mi := &file_filer_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1605,7 +1727,7 @@ func (x *ObjectMutation) String() string { func (*ObjectMutation) ProtoMessage() {} func (x *ObjectMutation) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[14] + mi := &file_filer_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1618,7 +1740,7 @@ func (x *ObjectMutation) ProtoReflect() protoreflect.Message { // Deprecated: Use ObjectMutation.ProtoReflect.Descriptor instead. func (*ObjectMutation) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{14} + return file_filer_proto_rawDescGZIP(), []int{16} } func (x *ObjectMutation) GetType() ObjectMutation_Type { @@ -1759,7 +1881,7 @@ type Recompute struct { func (x *Recompute) Reset() { *x = Recompute{} - mi := &file_filer_proto_msgTypes[15] + mi := &file_filer_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1771,7 +1893,7 @@ func (x *Recompute) String() string { func (*Recompute) ProtoMessage() {} func (x *Recompute) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[15] + mi := &file_filer_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1784,7 +1906,7 @@ func (x *Recompute) ProtoReflect() protoreflect.Message { // Deprecated: Use Recompute.ProtoReflect.Descriptor instead. func (*Recompute) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{15} + return file_filer_proto_rawDescGZIP(), []int{17} } func (x *Recompute) GetScanDir() string { @@ -1882,7 +2004,7 @@ type ObjectTransactionRequest struct { func (x *ObjectTransactionRequest) Reset() { *x = ObjectTransactionRequest{} - mi := &file_filer_proto_msgTypes[16] + mi := &file_filer_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1894,7 +2016,7 @@ func (x *ObjectTransactionRequest) String() string { func (*ObjectTransactionRequest) ProtoMessage() {} func (x *ObjectTransactionRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[16] + mi := &file_filer_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1907,7 +2029,7 @@ func (x *ObjectTransactionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ObjectTransactionRequest.ProtoReflect.Descriptor instead. func (*ObjectTransactionRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{16} + return file_filer_proto_rawDescGZIP(), []int{18} } func (x *ObjectTransactionRequest) GetLockKey() string { @@ -2001,7 +2123,7 @@ type ObjectTransactionResponse struct { func (x *ObjectTransactionResponse) Reset() { *x = ObjectTransactionResponse{} - mi := &file_filer_proto_msgTypes[17] + mi := &file_filer_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2013,7 +2135,7 @@ func (x *ObjectTransactionResponse) String() string { func (*ObjectTransactionResponse) ProtoMessage() {} func (x *ObjectTransactionResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[17] + mi := &file_filer_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2026,7 +2148,7 @@ func (x *ObjectTransactionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ObjectTransactionResponse.ProtoReflect.Descriptor instead. func (*ObjectTransactionResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{17} + return file_filer_proto_rawDescGZIP(), []int{19} } func (x *ObjectTransactionResponse) GetError() string { @@ -2076,7 +2198,7 @@ type PosixLockRange struct { func (x *PosixLockRange) Reset() { *x = PosixLockRange{} - mi := &file_filer_proto_msgTypes[18] + mi := &file_filer_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2088,7 +2210,7 @@ func (x *PosixLockRange) String() string { func (*PosixLockRange) ProtoMessage() {} func (x *PosixLockRange) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[18] + mi := &file_filer_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2101,7 +2223,7 @@ func (x *PosixLockRange) ProtoReflect() protoreflect.Message { // Deprecated: Use PosixLockRange.ProtoReflect.Descriptor instead. func (*PosixLockRange) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{18} + return file_filer_proto_rawDescGZIP(), []int{20} } func (x *PosixLockRange) GetStart() uint64 { @@ -2178,7 +2300,7 @@ type PosixLockRequest struct { func (x *PosixLockRequest) Reset() { *x = PosixLockRequest{} - mi := &file_filer_proto_msgTypes[19] + mi := &file_filer_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2190,7 +2312,7 @@ func (x *PosixLockRequest) String() string { func (*PosixLockRequest) ProtoMessage() {} func (x *PosixLockRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[19] + mi := &file_filer_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2203,7 +2325,7 @@ func (x *PosixLockRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PosixLockRequest.ProtoReflect.Descriptor instead. func (*PosixLockRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{19} + return file_filer_proto_rawDescGZIP(), []int{21} } func (x *PosixLockRequest) GetKey() string { @@ -2259,7 +2381,7 @@ type PosixLockResponse struct { func (x *PosixLockResponse) Reset() { *x = PosixLockResponse{} - mi := &file_filer_proto_msgTypes[20] + mi := &file_filer_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2271,7 +2393,7 @@ func (x *PosixLockResponse) String() string { func (*PosixLockResponse) ProtoMessage() {} func (x *PosixLockResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[20] + mi := &file_filer_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2284,7 +2406,7 @@ func (x *PosixLockResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PosixLockResponse.ProtoReflect.Descriptor instead. func (*PosixLockResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{20} + return file_filer_proto_rawDescGZIP(), []int{22} } func (x *PosixLockResponse) GetGranted() bool { @@ -2322,7 +2444,7 @@ type ObjectTransactionBatchRequest struct { func (x *ObjectTransactionBatchRequest) Reset() { *x = ObjectTransactionBatchRequest{} - mi := &file_filer_proto_msgTypes[21] + mi := &file_filer_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2334,7 +2456,7 @@ func (x *ObjectTransactionBatchRequest) String() string { func (*ObjectTransactionBatchRequest) ProtoMessage() {} func (x *ObjectTransactionBatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[21] + mi := &file_filer_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2347,7 +2469,7 @@ func (x *ObjectTransactionBatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ObjectTransactionBatchRequest.ProtoReflect.Descriptor instead. func (*ObjectTransactionBatchRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{21} + return file_filer_proto_rawDescGZIP(), []int{23} } func (x *ObjectTransactionBatchRequest) GetTransactions() []*ObjectTransactionRequest { @@ -2366,7 +2488,7 @@ type ObjectTransactionBatchResponse struct { func (x *ObjectTransactionBatchResponse) Reset() { *x = ObjectTransactionBatchResponse{} - mi := &file_filer_proto_msgTypes[22] + mi := &file_filer_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2378,7 +2500,7 @@ func (x *ObjectTransactionBatchResponse) String() string { func (*ObjectTransactionBatchResponse) ProtoMessage() {} func (x *ObjectTransactionBatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[22] + mi := &file_filer_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2391,7 +2513,7 @@ func (x *ObjectTransactionBatchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ObjectTransactionBatchResponse.ProtoReflect.Descriptor instead. func (*ObjectTransactionBatchResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{22} + return file_filer_proto_rawDescGZIP(), []int{24} } func (x *ObjectTransactionBatchResponse) GetResponses() []*ObjectTransactionResponse { @@ -2416,7 +2538,7 @@ type CreateEntryResponse struct { func (x *CreateEntryResponse) Reset() { *x = CreateEntryResponse{} - mi := &file_filer_proto_msgTypes[23] + mi := &file_filer_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2428,7 +2550,7 @@ func (x *CreateEntryResponse) String() string { func (*CreateEntryResponse) ProtoMessage() {} func (x *CreateEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[23] + mi := &file_filer_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2441,7 +2563,7 @@ func (x *CreateEntryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateEntryResponse.ProtoReflect.Descriptor instead. func (*CreateEntryResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{23} + return file_filer_proto_rawDescGZIP(), []int{25} } func (x *CreateEntryResponse) GetError() string { @@ -2498,7 +2620,7 @@ type UpdateEntryRequest struct { func (x *UpdateEntryRequest) Reset() { *x = UpdateEntryRequest{} - mi := &file_filer_proto_msgTypes[24] + mi := &file_filer_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2510,7 +2632,7 @@ func (x *UpdateEntryRequest) String() string { func (*UpdateEntryRequest) ProtoMessage() {} func (x *UpdateEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[24] + mi := &file_filer_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2523,7 +2645,7 @@ func (x *UpdateEntryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateEntryRequest.ProtoReflect.Descriptor instead. func (*UpdateEntryRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{24} + return file_filer_proto_rawDescGZIP(), []int{26} } func (x *UpdateEntryRequest) GetDirectory() string { @@ -2595,7 +2717,7 @@ type UpdateEntryResponse struct { func (x *UpdateEntryResponse) Reset() { *x = UpdateEntryResponse{} - mi := &file_filer_proto_msgTypes[25] + mi := &file_filer_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2607,7 +2729,7 @@ func (x *UpdateEntryResponse) String() string { func (*UpdateEntryResponse) ProtoMessage() {} func (x *UpdateEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[25] + mi := &file_filer_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2620,7 +2742,7 @@ func (x *UpdateEntryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateEntryResponse.ProtoReflect.Descriptor instead. func (*UpdateEntryResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{25} + return file_filer_proto_rawDescGZIP(), []int{27} } func (x *UpdateEntryResponse) GetMetadataEvent() *SubscribeMetadataResponse { @@ -2655,7 +2777,7 @@ type TouchAccessTimeRequest struct { func (x *TouchAccessTimeRequest) Reset() { *x = TouchAccessTimeRequest{} - mi := &file_filer_proto_msgTypes[26] + mi := &file_filer_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2667,7 +2789,7 @@ func (x *TouchAccessTimeRequest) String() string { func (*TouchAccessTimeRequest) ProtoMessage() {} func (x *TouchAccessTimeRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[26] + mi := &file_filer_proto_msgTypes[28] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2680,7 +2802,7 @@ func (x *TouchAccessTimeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TouchAccessTimeRequest.ProtoReflect.Descriptor instead. func (*TouchAccessTimeRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{26} + return file_filer_proto_rawDescGZIP(), []int{28} } func (x *TouchAccessTimeRequest) GetDirectory() string { @@ -2714,7 +2836,7 @@ type TouchAccessTimeResponse struct { func (x *TouchAccessTimeResponse) Reset() { *x = TouchAccessTimeResponse{} - mi := &file_filer_proto_msgTypes[27] + mi := &file_filer_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2726,7 +2848,7 @@ func (x *TouchAccessTimeResponse) String() string { func (*TouchAccessTimeResponse) ProtoMessage() {} func (x *TouchAccessTimeResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[27] + mi := &file_filer_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2739,7 +2861,7 @@ func (x *TouchAccessTimeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TouchAccessTimeResponse.ProtoReflect.Descriptor instead. func (*TouchAccessTimeResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{27} + return file_filer_proto_rawDescGZIP(), []int{29} } func (x *TouchAccessTimeResponse) GetPersistedAtimeNs() int64 { @@ -2768,7 +2890,7 @@ type AppendToEntryRequest struct { func (x *AppendToEntryRequest) Reset() { *x = AppendToEntryRequest{} - mi := &file_filer_proto_msgTypes[28] + mi := &file_filer_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2780,7 +2902,7 @@ func (x *AppendToEntryRequest) String() string { func (*AppendToEntryRequest) ProtoMessage() {} func (x *AppendToEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[28] + mi := &file_filer_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2793,7 +2915,7 @@ func (x *AppendToEntryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AppendToEntryRequest.ProtoReflect.Descriptor instead. func (*AppendToEntryRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{28} + return file_filer_proto_rawDescGZIP(), []int{30} } func (x *AppendToEntryRequest) GetDirectory() string { @@ -2832,7 +2954,7 @@ type AppendToEntryResponse struct { func (x *AppendToEntryResponse) Reset() { *x = AppendToEntryResponse{} - mi := &file_filer_proto_msgTypes[29] + mi := &file_filer_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2844,7 +2966,7 @@ func (x *AppendToEntryResponse) String() string { func (*AppendToEntryResponse) ProtoMessage() {} func (x *AppendToEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[29] + mi := &file_filer_proto_msgTypes[31] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2857,7 +2979,7 @@ func (x *AppendToEntryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AppendToEntryResponse.ProtoReflect.Descriptor instead. func (*AppendToEntryResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{29} + return file_filer_proto_rawDescGZIP(), []int{31} } type DeleteEntryRequest struct { @@ -2884,7 +3006,7 @@ type DeleteEntryRequest struct { func (x *DeleteEntryRequest) Reset() { *x = DeleteEntryRequest{} - mi := &file_filer_proto_msgTypes[30] + mi := &file_filer_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2896,7 +3018,7 @@ func (x *DeleteEntryRequest) String() string { func (*DeleteEntryRequest) ProtoMessage() {} func (x *DeleteEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[30] + mi := &file_filer_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2909,7 +3031,7 @@ func (x *DeleteEntryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteEntryRequest.ProtoReflect.Descriptor instead. func (*DeleteEntryRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{30} + return file_filer_proto_rawDescGZIP(), []int{32} } func (x *DeleteEntryRequest) GetDirectory() string { @@ -3006,7 +3128,7 @@ type DeleteEntryResponse struct { func (x *DeleteEntryResponse) Reset() { *x = DeleteEntryResponse{} - mi := &file_filer_proto_msgTypes[31] + mi := &file_filer_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3018,7 +3140,7 @@ func (x *DeleteEntryResponse) String() string { func (*DeleteEntryResponse) ProtoMessage() {} func (x *DeleteEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[31] + mi := &file_filer_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3031,7 +3153,7 @@ func (x *DeleteEntryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteEntryResponse.ProtoReflect.Descriptor instead. func (*DeleteEntryResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{31} + return file_filer_proto_rawDescGZIP(), []int{33} } func (x *DeleteEntryResponse) GetError() string { @@ -3068,7 +3190,7 @@ type AtomicRenameEntryRequest struct { func (x *AtomicRenameEntryRequest) Reset() { *x = AtomicRenameEntryRequest{} - mi := &file_filer_proto_msgTypes[32] + mi := &file_filer_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3080,7 +3202,7 @@ func (x *AtomicRenameEntryRequest) String() string { func (*AtomicRenameEntryRequest) ProtoMessage() {} func (x *AtomicRenameEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[32] + mi := &file_filer_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3093,7 +3215,7 @@ func (x *AtomicRenameEntryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AtomicRenameEntryRequest.ProtoReflect.Descriptor instead. func (*AtomicRenameEntryRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{32} + return file_filer_proto_rawDescGZIP(), []int{34} } func (x *AtomicRenameEntryRequest) GetOldDirectory() string { @@ -3156,7 +3278,7 @@ type AtomicRenameEntryResponse struct { func (x *AtomicRenameEntryResponse) Reset() { *x = AtomicRenameEntryResponse{} - mi := &file_filer_proto_msgTypes[33] + mi := &file_filer_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3168,7 +3290,7 @@ func (x *AtomicRenameEntryResponse) String() string { func (*AtomicRenameEntryResponse) ProtoMessage() {} func (x *AtomicRenameEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[33] + mi := &file_filer_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3181,7 +3303,7 @@ func (x *AtomicRenameEntryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AtomicRenameEntryResponse.ProtoReflect.Descriptor instead. func (*AtomicRenameEntryResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{33} + return file_filer_proto_rawDescGZIP(), []int{35} } func (x *AtomicRenameEntryResponse) GetTsNs() int64 { @@ -3207,7 +3329,7 @@ type StreamRenameEntryRequest struct { func (x *StreamRenameEntryRequest) Reset() { *x = StreamRenameEntryRequest{} - mi := &file_filer_proto_msgTypes[34] + mi := &file_filer_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3219,7 +3341,7 @@ func (x *StreamRenameEntryRequest) String() string { func (*StreamRenameEntryRequest) ProtoMessage() {} func (x *StreamRenameEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[34] + mi := &file_filer_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3232,7 +3354,7 @@ func (x *StreamRenameEntryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamRenameEntryRequest.ProtoReflect.Descriptor instead. func (*StreamRenameEntryRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{34} + return file_filer_proto_rawDescGZIP(), []int{36} } func (x *StreamRenameEntryRequest) GetOldDirectory() string { @@ -3288,7 +3410,7 @@ type StreamRenameEntryResponse struct { func (x *StreamRenameEntryResponse) Reset() { *x = StreamRenameEntryResponse{} - mi := &file_filer_proto_msgTypes[35] + mi := &file_filer_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3300,7 +3422,7 @@ func (x *StreamRenameEntryResponse) String() string { func (*StreamRenameEntryResponse) ProtoMessage() {} func (x *StreamRenameEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[35] + mi := &file_filer_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3313,7 +3435,7 @@ func (x *StreamRenameEntryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamRenameEntryResponse.ProtoReflect.Descriptor instead. func (*StreamRenameEntryResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{35} + return file_filer_proto_rawDescGZIP(), []int{37} } func (x *StreamRenameEntryResponse) GetDirectory() string { @@ -3355,7 +3477,7 @@ type AssignVolumeRequest struct { func (x *AssignVolumeRequest) Reset() { *x = AssignVolumeRequest{} - mi := &file_filer_proto_msgTypes[36] + mi := &file_filer_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3367,7 +3489,7 @@ func (x *AssignVolumeRequest) String() string { func (*AssignVolumeRequest) ProtoMessage() {} func (x *AssignVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[36] + mi := &file_filer_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3380,7 +3502,7 @@ func (x *AssignVolumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignVolumeRequest.ProtoReflect.Descriptor instead. func (*AssignVolumeRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{36} + return file_filer_proto_rawDescGZIP(), []int{38} } func (x *AssignVolumeRequest) GetCount() int32 { @@ -3480,7 +3602,7 @@ type AssignVolumeResponse struct { func (x *AssignVolumeResponse) Reset() { *x = AssignVolumeResponse{} - mi := &file_filer_proto_msgTypes[37] + mi := &file_filer_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3492,7 +3614,7 @@ func (x *AssignVolumeResponse) String() string { func (*AssignVolumeResponse) ProtoMessage() {} func (x *AssignVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[37] + mi := &file_filer_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3505,7 +3627,7 @@ func (x *AssignVolumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AssignVolumeResponse.ProtoReflect.Descriptor instead. func (*AssignVolumeResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{37} + return file_filer_proto_rawDescGZIP(), []int{39} } func (x *AssignVolumeResponse) GetFileId() string { @@ -3594,7 +3716,7 @@ type LookupVolumeRequest struct { func (x *LookupVolumeRequest) Reset() { *x = LookupVolumeRequest{} - mi := &file_filer_proto_msgTypes[38] + mi := &file_filer_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3606,7 +3728,7 @@ func (x *LookupVolumeRequest) String() string { func (*LookupVolumeRequest) ProtoMessage() {} func (x *LookupVolumeRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[38] + mi := &file_filer_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3619,7 +3741,7 @@ func (x *LookupVolumeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LookupVolumeRequest.ProtoReflect.Descriptor instead. func (*LookupVolumeRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{38} + return file_filer_proto_rawDescGZIP(), []int{40} } func (x *LookupVolumeRequest) GetVolumeIds() []string { @@ -3638,7 +3760,7 @@ type Locations struct { func (x *Locations) Reset() { *x = Locations{} - mi := &file_filer_proto_msgTypes[39] + mi := &file_filer_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3650,7 +3772,7 @@ func (x *Locations) String() string { func (*Locations) ProtoMessage() {} func (x *Locations) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[39] + mi := &file_filer_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3663,7 +3785,7 @@ func (x *Locations) ProtoReflect() protoreflect.Message { // Deprecated: Use Locations.ProtoReflect.Descriptor instead. func (*Locations) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{39} + return file_filer_proto_rawDescGZIP(), []int{41} } func (x *Locations) GetLocations() []*Location { @@ -3686,7 +3808,7 @@ type Location struct { func (x *Location) Reset() { *x = Location{} - mi := &file_filer_proto_msgTypes[40] + mi := &file_filer_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3698,7 +3820,7 @@ func (x *Location) String() string { func (*Location) ProtoMessage() {} func (x *Location) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[40] + mi := &file_filer_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3711,7 +3833,7 @@ func (x *Location) ProtoReflect() protoreflect.Message { // Deprecated: Use Location.ProtoReflect.Descriptor instead. func (*Location) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{40} + return file_filer_proto_rawDescGZIP(), []int{42} } func (x *Location) GetUrl() string { @@ -3758,7 +3880,7 @@ type LookupVolumeResponse struct { func (x *LookupVolumeResponse) Reset() { *x = LookupVolumeResponse{} - mi := &file_filer_proto_msgTypes[41] + mi := &file_filer_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3770,7 +3892,7 @@ func (x *LookupVolumeResponse) String() string { func (*LookupVolumeResponse) ProtoMessage() {} func (x *LookupVolumeResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[41] + mi := &file_filer_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3783,7 +3905,7 @@ func (x *LookupVolumeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LookupVolumeResponse.ProtoReflect.Descriptor instead. func (*LookupVolumeResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{41} + return file_filer_proto_rawDescGZIP(), []int{43} } func (x *LookupVolumeResponse) GetLocationsMap() map[string]*Locations { @@ -3802,7 +3924,7 @@ type Collection struct { func (x *Collection) Reset() { *x = Collection{} - mi := &file_filer_proto_msgTypes[42] + mi := &file_filer_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3814,7 +3936,7 @@ func (x *Collection) String() string { func (*Collection) ProtoMessage() {} func (x *Collection) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[42] + mi := &file_filer_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3827,7 +3949,7 @@ func (x *Collection) ProtoReflect() protoreflect.Message { // Deprecated: Use Collection.ProtoReflect.Descriptor instead. func (*Collection) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{42} + return file_filer_proto_rawDescGZIP(), []int{44} } func (x *Collection) GetName() string { @@ -3847,7 +3969,7 @@ type CollectionListRequest struct { func (x *CollectionListRequest) Reset() { *x = CollectionListRequest{} - mi := &file_filer_proto_msgTypes[43] + mi := &file_filer_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3859,7 +3981,7 @@ func (x *CollectionListRequest) String() string { func (*CollectionListRequest) ProtoMessage() {} func (x *CollectionListRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[43] + mi := &file_filer_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3872,7 +3994,7 @@ func (x *CollectionListRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CollectionListRequest.ProtoReflect.Descriptor instead. func (*CollectionListRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{43} + return file_filer_proto_rawDescGZIP(), []int{45} } func (x *CollectionListRequest) GetIncludeNormalVolumes() bool { @@ -3898,7 +4020,7 @@ type CollectionListResponse struct { func (x *CollectionListResponse) Reset() { *x = CollectionListResponse{} - mi := &file_filer_proto_msgTypes[44] + mi := &file_filer_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3910,7 +4032,7 @@ func (x *CollectionListResponse) String() string { func (*CollectionListResponse) ProtoMessage() {} func (x *CollectionListResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[44] + mi := &file_filer_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3923,7 +4045,7 @@ func (x *CollectionListResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CollectionListResponse.ProtoReflect.Descriptor instead. func (*CollectionListResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{44} + return file_filer_proto_rawDescGZIP(), []int{46} } func (x *CollectionListResponse) GetCollections() []*Collection { @@ -3942,7 +4064,7 @@ type DeleteCollectionRequest struct { func (x *DeleteCollectionRequest) Reset() { *x = DeleteCollectionRequest{} - mi := &file_filer_proto_msgTypes[45] + mi := &file_filer_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3954,7 +4076,7 @@ func (x *DeleteCollectionRequest) String() string { func (*DeleteCollectionRequest) ProtoMessage() {} func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[45] + mi := &file_filer_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3967,7 +4089,7 @@ func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead. func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{45} + return file_filer_proto_rawDescGZIP(), []int{47} } func (x *DeleteCollectionRequest) GetCollection() string { @@ -3985,7 +4107,7 @@ type DeleteCollectionResponse struct { func (x *DeleteCollectionResponse) Reset() { *x = DeleteCollectionResponse{} - mi := &file_filer_proto_msgTypes[46] + mi := &file_filer_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3997,7 +4119,7 @@ func (x *DeleteCollectionResponse) String() string { func (*DeleteCollectionResponse) ProtoMessage() {} func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[46] + mi := &file_filer_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4010,7 +4132,7 @@ func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteCollectionResponse.ProtoReflect.Descriptor instead. func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{46} + return file_filer_proto_rawDescGZIP(), []int{48} } type StatisticsRequest struct { @@ -4025,7 +4147,7 @@ type StatisticsRequest struct { func (x *StatisticsRequest) Reset() { *x = StatisticsRequest{} - mi := &file_filer_proto_msgTypes[47] + mi := &file_filer_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4037,7 +4159,7 @@ func (x *StatisticsRequest) String() string { func (*StatisticsRequest) ProtoMessage() {} func (x *StatisticsRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[47] + mi := &file_filer_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4050,7 +4172,7 @@ func (x *StatisticsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StatisticsRequest.ProtoReflect.Descriptor instead. func (*StatisticsRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{47} + return file_filer_proto_rawDescGZIP(), []int{49} } func (x *StatisticsRequest) GetReplication() string { @@ -4095,7 +4217,7 @@ type StatisticsResponse struct { func (x *StatisticsResponse) Reset() { *x = StatisticsResponse{} - mi := &file_filer_proto_msgTypes[48] + mi := &file_filer_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4107,7 +4229,7 @@ func (x *StatisticsResponse) String() string { func (*StatisticsResponse) ProtoMessage() {} func (x *StatisticsResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[48] + mi := &file_filer_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4120,7 +4242,7 @@ func (x *StatisticsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StatisticsResponse.ProtoReflect.Descriptor instead. func (*StatisticsResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{48} + return file_filer_proto_rawDescGZIP(), []int{50} } func (x *StatisticsResponse) GetTotalSize() uint64 { @@ -4168,7 +4290,7 @@ type PingRequest struct { func (x *PingRequest) Reset() { *x = PingRequest{} - mi := &file_filer_proto_msgTypes[49] + mi := &file_filer_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4180,7 +4302,7 @@ func (x *PingRequest) String() string { func (*PingRequest) ProtoMessage() {} func (x *PingRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[49] + mi := &file_filer_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4193,7 +4315,7 @@ func (x *PingRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PingRequest.ProtoReflect.Descriptor instead. func (*PingRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{49} + return file_filer_proto_rawDescGZIP(), []int{51} } func (x *PingRequest) GetTarget() string { @@ -4221,7 +4343,7 @@ type PingResponse struct { func (x *PingResponse) Reset() { *x = PingResponse{} - mi := &file_filer_proto_msgTypes[50] + mi := &file_filer_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4233,7 +4355,7 @@ func (x *PingResponse) String() string { func (*PingResponse) ProtoMessage() {} func (x *PingResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[50] + mi := &file_filer_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4246,7 +4368,7 @@ func (x *PingResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PingResponse.ProtoReflect.Descriptor instead. func (*PingResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{50} + return file_filer_proto_rawDescGZIP(), []int{52} } func (x *PingResponse) GetStartTimeNs() int64 { @@ -4278,7 +4400,7 @@ type GetFilerConfigurationRequest struct { func (x *GetFilerConfigurationRequest) Reset() { *x = GetFilerConfigurationRequest{} - mi := &file_filer_proto_msgTypes[51] + mi := &file_filer_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4290,7 +4412,7 @@ func (x *GetFilerConfigurationRequest) String() string { func (*GetFilerConfigurationRequest) ProtoMessage() {} func (x *GetFilerConfigurationRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[51] + mi := &file_filer_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4303,7 +4425,7 @@ func (x *GetFilerConfigurationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFilerConfigurationRequest.ProtoReflect.Descriptor instead. func (*GetFilerConfigurationRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{51} + return file_filer_proto_rawDescGZIP(), []int{53} } type GetFilerConfigurationResponse struct { @@ -4329,7 +4451,7 @@ type GetFilerConfigurationResponse struct { func (x *GetFilerConfigurationResponse) Reset() { *x = GetFilerConfigurationResponse{} - mi := &file_filer_proto_msgTypes[52] + mi := &file_filer_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4341,7 +4463,7 @@ func (x *GetFilerConfigurationResponse) String() string { func (*GetFilerConfigurationResponse) ProtoMessage() {} func (x *GetFilerConfigurationResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[52] + mi := &file_filer_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4354,7 +4476,7 @@ func (x *GetFilerConfigurationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFilerConfigurationResponse.ProtoReflect.Descriptor instead. func (*GetFilerConfigurationResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{52} + return file_filer_proto_rawDescGZIP(), []int{54} } func (x *GetFilerConfigurationResponse) GetMasters() []string { @@ -4482,7 +4604,7 @@ type SubscribeMetadataRequest struct { func (x *SubscribeMetadataRequest) Reset() { *x = SubscribeMetadataRequest{} - mi := &file_filer_proto_msgTypes[53] + mi := &file_filer_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4494,7 +4616,7 @@ func (x *SubscribeMetadataRequest) String() string { func (*SubscribeMetadataRequest) ProtoMessage() {} func (x *SubscribeMetadataRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[53] + mi := &file_filer_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4507,7 +4629,7 @@ func (x *SubscribeMetadataRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribeMetadataRequest.ProtoReflect.Descriptor instead. func (*SubscribeMetadataRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{53} + return file_filer_proto_rawDescGZIP(), []int{55} } func (x *SubscribeMetadataRequest) GetClientName() string { @@ -4609,7 +4731,7 @@ type SubscribeMetadataResponse struct { func (x *SubscribeMetadataResponse) Reset() { *x = SubscribeMetadataResponse{} - mi := &file_filer_proto_msgTypes[54] + mi := &file_filer_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4621,7 +4743,7 @@ func (x *SubscribeMetadataResponse) String() string { func (*SubscribeMetadataResponse) ProtoMessage() {} func (x *SubscribeMetadataResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[54] + mi := &file_filer_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4634,7 +4756,7 @@ func (x *SubscribeMetadataResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscribeMetadataResponse.ProtoReflect.Descriptor instead. func (*SubscribeMetadataResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{54} + return file_filer_proto_rawDescGZIP(), []int{56} } func (x *SubscribeMetadataResponse) GetDirectory() string { @@ -4695,7 +4817,7 @@ type ListMetadataSubscribersRequest struct { func (x *ListMetadataSubscribersRequest) Reset() { *x = ListMetadataSubscribersRequest{} - mi := &file_filer_proto_msgTypes[55] + mi := &file_filer_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4707,7 +4829,7 @@ func (x *ListMetadataSubscribersRequest) String() string { func (*ListMetadataSubscribersRequest) ProtoMessage() {} func (x *ListMetadataSubscribersRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[55] + mi := &file_filer_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4720,7 +4842,7 @@ func (x *ListMetadataSubscribersRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMetadataSubscribersRequest.ProtoReflect.Descriptor instead. func (*ListMetadataSubscribersRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{55} + return file_filer_proto_rawDescGZIP(), []int{57} } func (x *ListMetadataSubscribersRequest) GetClientTypes() []string { @@ -4739,7 +4861,7 @@ type ListMetadataSubscribersResponse struct { func (x *ListMetadataSubscribersResponse) Reset() { *x = ListMetadataSubscribersResponse{} - mi := &file_filer_proto_msgTypes[56] + mi := &file_filer_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4751,7 +4873,7 @@ func (x *ListMetadataSubscribersResponse) String() string { func (*ListMetadataSubscribersResponse) ProtoMessage() {} func (x *ListMetadataSubscribersResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[56] + mi := &file_filer_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4764,7 +4886,7 @@ func (x *ListMetadataSubscribersResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMetadataSubscribersResponse.ProtoReflect.Descriptor instead. func (*ListMetadataSubscribersResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{56} + return file_filer_proto_rawDescGZIP(), []int{58} } func (x *ListMetadataSubscribersResponse) GetSubscribers() []*MetadataSubscriber { @@ -4790,7 +4912,7 @@ type MetadataSubscriber struct { func (x *MetadataSubscriber) Reset() { *x = MetadataSubscriber{} - mi := &file_filer_proto_msgTypes[57] + mi := &file_filer_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4802,7 +4924,7 @@ func (x *MetadataSubscriber) String() string { func (*MetadataSubscriber) ProtoMessage() {} func (x *MetadataSubscriber) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[57] + mi := &file_filer_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4815,7 +4937,7 @@ func (x *MetadataSubscriber) ProtoReflect() protoreflect.Message { // Deprecated: Use MetadataSubscriber.ProtoReflect.Descriptor instead. func (*MetadataSubscriber) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{57} + return file_filer_proto_rawDescGZIP(), []int{59} } func (x *MetadataSubscriber) GetClientName() string { @@ -4888,7 +5010,7 @@ type LogFileChunkRef struct { func (x *LogFileChunkRef) Reset() { *x = LogFileChunkRef{} - mi := &file_filer_proto_msgTypes[58] + mi := &file_filer_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4900,7 +5022,7 @@ func (x *LogFileChunkRef) String() string { func (*LogFileChunkRef) ProtoMessage() {} func (x *LogFileChunkRef) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[58] + mi := &file_filer_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4913,7 +5035,7 @@ func (x *LogFileChunkRef) ProtoReflect() protoreflect.Message { // Deprecated: Use LogFileChunkRef.ProtoReflect.Descriptor instead. func (*LogFileChunkRef) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{58} + return file_filer_proto_rawDescGZIP(), []int{60} } func (x *LogFileChunkRef) GetChunks() []*FileChunk { @@ -4947,7 +5069,7 @@ type TraverseBfsMetadataRequest struct { func (x *TraverseBfsMetadataRequest) Reset() { *x = TraverseBfsMetadataRequest{} - mi := &file_filer_proto_msgTypes[59] + mi := &file_filer_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4959,7 +5081,7 @@ func (x *TraverseBfsMetadataRequest) String() string { func (*TraverseBfsMetadataRequest) ProtoMessage() {} func (x *TraverseBfsMetadataRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[59] + mi := &file_filer_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4972,7 +5094,7 @@ func (x *TraverseBfsMetadataRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TraverseBfsMetadataRequest.ProtoReflect.Descriptor instead. func (*TraverseBfsMetadataRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{59} + return file_filer_proto_rawDescGZIP(), []int{61} } func (x *TraverseBfsMetadataRequest) GetDirectory() string { @@ -5003,7 +5125,7 @@ type TraverseBfsMetadataResponse struct { func (x *TraverseBfsMetadataResponse) Reset() { *x = TraverseBfsMetadataResponse{} - mi := &file_filer_proto_msgTypes[60] + mi := &file_filer_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5015,7 +5137,7 @@ func (x *TraverseBfsMetadataResponse) String() string { func (*TraverseBfsMetadataResponse) ProtoMessage() {} func (x *TraverseBfsMetadataResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[60] + mi := &file_filer_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5028,7 +5150,7 @@ func (x *TraverseBfsMetadataResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TraverseBfsMetadataResponse.ProtoReflect.Descriptor instead. func (*TraverseBfsMetadataResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{60} + return file_filer_proto_rawDescGZIP(), []int{62} } func (x *TraverseBfsMetadataResponse) GetDirectory() string { @@ -5065,7 +5187,7 @@ type LogEntry struct { func (x *LogEntry) Reset() { *x = LogEntry{} - mi := &file_filer_proto_msgTypes[61] + mi := &file_filer_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5077,7 +5199,7 @@ func (x *LogEntry) String() string { func (*LogEntry) ProtoMessage() {} func (x *LogEntry) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[61] + mi := &file_filer_proto_msgTypes[63] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5090,7 +5212,7 @@ func (x *LogEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use LogEntry.ProtoReflect.Descriptor instead. func (*LogEntry) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{61} + return file_filer_proto_rawDescGZIP(), []int{63} } func (x *LogEntry) GetTsNs() int64 { @@ -5139,7 +5261,7 @@ type KeepConnectedRequest struct { func (x *KeepConnectedRequest) Reset() { *x = KeepConnectedRequest{} - mi := &file_filer_proto_msgTypes[62] + mi := &file_filer_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5151,7 +5273,7 @@ func (x *KeepConnectedRequest) String() string { func (*KeepConnectedRequest) ProtoMessage() {} func (x *KeepConnectedRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[62] + mi := &file_filer_proto_msgTypes[64] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5164,7 +5286,7 @@ func (x *KeepConnectedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use KeepConnectedRequest.ProtoReflect.Descriptor instead. func (*KeepConnectedRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{62} + return file_filer_proto_rawDescGZIP(), []int{64} } func (x *KeepConnectedRequest) GetName() string { @@ -5196,7 +5318,7 @@ type KeepConnectedResponse struct { func (x *KeepConnectedResponse) Reset() { *x = KeepConnectedResponse{} - mi := &file_filer_proto_msgTypes[63] + mi := &file_filer_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5208,7 +5330,7 @@ func (x *KeepConnectedResponse) String() string { func (*KeepConnectedResponse) ProtoMessage() {} func (x *KeepConnectedResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[63] + mi := &file_filer_proto_msgTypes[65] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5221,7 +5343,7 @@ func (x *KeepConnectedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use KeepConnectedResponse.ProtoReflect.Descriptor instead. func (*KeepConnectedResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{63} + return file_filer_proto_rawDescGZIP(), []int{65} } type LocateBrokerRequest struct { @@ -5233,7 +5355,7 @@ type LocateBrokerRequest struct { func (x *LocateBrokerRequest) Reset() { *x = LocateBrokerRequest{} - mi := &file_filer_proto_msgTypes[64] + mi := &file_filer_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5245,7 +5367,7 @@ func (x *LocateBrokerRequest) String() string { func (*LocateBrokerRequest) ProtoMessage() {} func (x *LocateBrokerRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[64] + mi := &file_filer_proto_msgTypes[66] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5258,7 +5380,7 @@ func (x *LocateBrokerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LocateBrokerRequest.ProtoReflect.Descriptor instead. func (*LocateBrokerRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{64} + return file_filer_proto_rawDescGZIP(), []int{66} } func (x *LocateBrokerRequest) GetResource() string { @@ -5278,7 +5400,7 @@ type LocateBrokerResponse struct { func (x *LocateBrokerResponse) Reset() { *x = LocateBrokerResponse{} - mi := &file_filer_proto_msgTypes[65] + mi := &file_filer_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5290,7 +5412,7 @@ func (x *LocateBrokerResponse) String() string { func (*LocateBrokerResponse) ProtoMessage() {} func (x *LocateBrokerResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[65] + mi := &file_filer_proto_msgTypes[67] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5303,7 +5425,7 @@ func (x *LocateBrokerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LocateBrokerResponse.ProtoReflect.Descriptor instead. func (*LocateBrokerResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{65} + return file_filer_proto_rawDescGZIP(), []int{67} } func (x *LocateBrokerResponse) GetFound() bool { @@ -5332,7 +5454,7 @@ type KvGetRequest struct { func (x *KvGetRequest) Reset() { *x = KvGetRequest{} - mi := &file_filer_proto_msgTypes[66] + mi := &file_filer_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5344,7 +5466,7 @@ func (x *KvGetRequest) String() string { func (*KvGetRequest) ProtoMessage() {} func (x *KvGetRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[66] + mi := &file_filer_proto_msgTypes[68] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5357,7 +5479,7 @@ func (x *KvGetRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use KvGetRequest.ProtoReflect.Descriptor instead. func (*KvGetRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{66} + return file_filer_proto_rawDescGZIP(), []int{68} } func (x *KvGetRequest) GetKey() []byte { @@ -5377,7 +5499,7 @@ type KvGetResponse struct { func (x *KvGetResponse) Reset() { *x = KvGetResponse{} - mi := &file_filer_proto_msgTypes[67] + mi := &file_filer_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5389,7 +5511,7 @@ func (x *KvGetResponse) String() string { func (*KvGetResponse) ProtoMessage() {} func (x *KvGetResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[67] + mi := &file_filer_proto_msgTypes[69] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5402,7 +5524,7 @@ func (x *KvGetResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use KvGetResponse.ProtoReflect.Descriptor instead. func (*KvGetResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{67} + return file_filer_proto_rawDescGZIP(), []int{69} } func (x *KvGetResponse) GetValue() []byte { @@ -5429,7 +5551,7 @@ type KvPutRequest struct { func (x *KvPutRequest) Reset() { *x = KvPutRequest{} - mi := &file_filer_proto_msgTypes[68] + mi := &file_filer_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5441,7 +5563,7 @@ func (x *KvPutRequest) String() string { func (*KvPutRequest) ProtoMessage() {} func (x *KvPutRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[68] + mi := &file_filer_proto_msgTypes[70] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5454,7 +5576,7 @@ func (x *KvPutRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use KvPutRequest.ProtoReflect.Descriptor instead. func (*KvPutRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{68} + return file_filer_proto_rawDescGZIP(), []int{70} } func (x *KvPutRequest) GetKey() []byte { @@ -5480,7 +5602,7 @@ type KvPutResponse struct { func (x *KvPutResponse) Reset() { *x = KvPutResponse{} - mi := &file_filer_proto_msgTypes[69] + mi := &file_filer_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5492,7 +5614,7 @@ func (x *KvPutResponse) String() string { func (*KvPutResponse) ProtoMessage() {} func (x *KvPutResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[69] + mi := &file_filer_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5505,7 +5627,7 @@ func (x *KvPutResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use KvPutResponse.ProtoReflect.Descriptor instead. func (*KvPutResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{69} + return file_filer_proto_rawDescGZIP(), []int{71} } func (x *KvPutResponse) GetError() string { @@ -5528,7 +5650,7 @@ type FilerConf struct { func (x *FilerConf) Reset() { *x = FilerConf{} - mi := &file_filer_proto_msgTypes[70] + mi := &file_filer_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5540,7 +5662,7 @@ func (x *FilerConf) String() string { func (*FilerConf) ProtoMessage() {} func (x *FilerConf) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[70] + mi := &file_filer_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5553,7 +5675,7 @@ func (x *FilerConf) ProtoReflect() protoreflect.Message { // Deprecated: Use FilerConf.ProtoReflect.Descriptor instead. func (*FilerConf) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{70} + return file_filer_proto_rawDescGZIP(), []int{72} } func (x *FilerConf) GetVersion() int32 { @@ -5586,7 +5708,7 @@ type CacheRemoteObjectToLocalClusterRequest struct { func (x *CacheRemoteObjectToLocalClusterRequest) Reset() { *x = CacheRemoteObjectToLocalClusterRequest{} - mi := &file_filer_proto_msgTypes[71] + mi := &file_filer_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5598,7 +5720,7 @@ func (x *CacheRemoteObjectToLocalClusterRequest) String() string { func (*CacheRemoteObjectToLocalClusterRequest) ProtoMessage() {} func (x *CacheRemoteObjectToLocalClusterRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[71] + mi := &file_filer_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5611,7 +5733,7 @@ func (x *CacheRemoteObjectToLocalClusterRequest) ProtoReflect() protoreflect.Mes // Deprecated: Use CacheRemoteObjectToLocalClusterRequest.ProtoReflect.Descriptor instead. func (*CacheRemoteObjectToLocalClusterRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{71} + return file_filer_proto_rawDescGZIP(), []int{73} } func (x *CacheRemoteObjectToLocalClusterRequest) GetDirectory() string { @@ -5663,7 +5785,7 @@ type CacheRemoteObjectToLocalClusterResponse struct { func (x *CacheRemoteObjectToLocalClusterResponse) Reset() { *x = CacheRemoteObjectToLocalClusterResponse{} - mi := &file_filer_proto_msgTypes[72] + mi := &file_filer_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5675,7 +5797,7 @@ func (x *CacheRemoteObjectToLocalClusterResponse) String() string { func (*CacheRemoteObjectToLocalClusterResponse) ProtoMessage() {} func (x *CacheRemoteObjectToLocalClusterResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[72] + mi := &file_filer_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5688,7 +5810,7 @@ func (x *CacheRemoteObjectToLocalClusterResponse) ProtoReflect() protoreflect.Me // Deprecated: Use CacheRemoteObjectToLocalClusterResponse.ProtoReflect.Descriptor instead. func (*CacheRemoteObjectToLocalClusterResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{72} + return file_filer_proto_rawDescGZIP(), []int{74} } func (x *CacheRemoteObjectToLocalClusterResponse) GetEntry() *Entry { @@ -5735,7 +5857,7 @@ type LockRequest struct { func (x *LockRequest) Reset() { *x = LockRequest{} - mi := &file_filer_proto_msgTypes[73] + mi := &file_filer_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5747,7 +5869,7 @@ func (x *LockRequest) String() string { func (*LockRequest) ProtoMessage() {} func (x *LockRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[73] + mi := &file_filer_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5760,7 +5882,7 @@ func (x *LockRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LockRequest.ProtoReflect.Descriptor instead. func (*LockRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{73} + return file_filer_proto_rawDescGZIP(), []int{75} } func (x *LockRequest) GetName() string { @@ -5811,7 +5933,7 @@ type LockResponse struct { func (x *LockResponse) Reset() { *x = LockResponse{} - mi := &file_filer_proto_msgTypes[74] + mi := &file_filer_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5823,7 +5945,7 @@ func (x *LockResponse) String() string { func (*LockResponse) ProtoMessage() {} func (x *LockResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[74] + mi := &file_filer_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5836,7 +5958,7 @@ func (x *LockResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LockResponse.ProtoReflect.Descriptor instead. func (*LockResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{74} + return file_filer_proto_rawDescGZIP(), []int{76} } func (x *LockResponse) GetRenewToken() string { @@ -5885,7 +6007,7 @@ type UnlockRequest struct { func (x *UnlockRequest) Reset() { *x = UnlockRequest{} - mi := &file_filer_proto_msgTypes[75] + mi := &file_filer_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5897,7 +6019,7 @@ func (x *UnlockRequest) String() string { func (*UnlockRequest) ProtoMessage() {} func (x *UnlockRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[75] + mi := &file_filer_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5910,7 +6032,7 @@ func (x *UnlockRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UnlockRequest.ProtoReflect.Descriptor instead. func (*UnlockRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{75} + return file_filer_proto_rawDescGZIP(), []int{77} } func (x *UnlockRequest) GetName() string { @@ -5944,7 +6066,7 @@ type UnlockResponse struct { func (x *UnlockResponse) Reset() { *x = UnlockResponse{} - mi := &file_filer_proto_msgTypes[76] + mi := &file_filer_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5956,7 +6078,7 @@ func (x *UnlockResponse) String() string { func (*UnlockResponse) ProtoMessage() {} func (x *UnlockResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[76] + mi := &file_filer_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5969,7 +6091,7 @@ func (x *UnlockResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UnlockResponse.ProtoReflect.Descriptor instead. func (*UnlockResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{76} + return file_filer_proto_rawDescGZIP(), []int{78} } func (x *UnlockResponse) GetError() string { @@ -5996,7 +6118,7 @@ type FindLockOwnerRequest struct { func (x *FindLockOwnerRequest) Reset() { *x = FindLockOwnerRequest{} - mi := &file_filer_proto_msgTypes[77] + mi := &file_filer_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6008,7 +6130,7 @@ func (x *FindLockOwnerRequest) String() string { func (*FindLockOwnerRequest) ProtoMessage() {} func (x *FindLockOwnerRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[77] + mi := &file_filer_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6021,7 +6143,7 @@ func (x *FindLockOwnerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindLockOwnerRequest.ProtoReflect.Descriptor instead. func (*FindLockOwnerRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{77} + return file_filer_proto_rawDescGZIP(), []int{79} } func (x *FindLockOwnerRequest) GetName() string { @@ -6047,7 +6169,7 @@ type FindLockOwnerResponse struct { func (x *FindLockOwnerResponse) Reset() { *x = FindLockOwnerResponse{} - mi := &file_filer_proto_msgTypes[78] + mi := &file_filer_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6059,7 +6181,7 @@ func (x *FindLockOwnerResponse) String() string { func (*FindLockOwnerResponse) ProtoMessage() {} func (x *FindLockOwnerResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[78] + mi := &file_filer_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6072,7 +6194,7 @@ func (x *FindLockOwnerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindLockOwnerResponse.ProtoReflect.Descriptor instead. func (*FindLockOwnerResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{78} + return file_filer_proto_rawDescGZIP(), []int{80} } func (x *FindLockOwnerResponse) GetOwner() string { @@ -6098,7 +6220,7 @@ type Lock struct { func (x *Lock) Reset() { *x = Lock{} - mi := &file_filer_proto_msgTypes[79] + mi := &file_filer_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6110,7 +6232,7 @@ func (x *Lock) String() string { func (*Lock) ProtoMessage() {} func (x *Lock) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[79] + mi := &file_filer_proto_msgTypes[81] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6123,7 +6245,7 @@ func (x *Lock) ProtoReflect() protoreflect.Message { // Deprecated: Use Lock.ProtoReflect.Descriptor instead. func (*Lock) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{79} + return file_filer_proto_rawDescGZIP(), []int{81} } func (x *Lock) GetName() string { @@ -6191,7 +6313,7 @@ type TransferLocksRequest struct { func (x *TransferLocksRequest) Reset() { *x = TransferLocksRequest{} - mi := &file_filer_proto_msgTypes[80] + mi := &file_filer_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6203,7 +6325,7 @@ func (x *TransferLocksRequest) String() string { func (*TransferLocksRequest) ProtoMessage() {} func (x *TransferLocksRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[80] + mi := &file_filer_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6216,7 +6338,7 @@ func (x *TransferLocksRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TransferLocksRequest.ProtoReflect.Descriptor instead. func (*TransferLocksRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{80} + return file_filer_proto_rawDescGZIP(), []int{82} } func (x *TransferLocksRequest) GetLocks() []*Lock { @@ -6234,7 +6356,7 @@ type TransferLocksResponse struct { func (x *TransferLocksResponse) Reset() { *x = TransferLocksResponse{} - mi := &file_filer_proto_msgTypes[81] + mi := &file_filer_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6246,7 +6368,7 @@ func (x *TransferLocksResponse) String() string { func (*TransferLocksResponse) ProtoMessage() {} func (x *TransferLocksResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[81] + mi := &file_filer_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6259,7 +6381,7 @@ func (x *TransferLocksResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TransferLocksResponse.ProtoReflect.Descriptor instead. func (*TransferLocksResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{81} + return file_filer_proto_rawDescGZIP(), []int{83} } type ReplicateLockRequest struct { @@ -6278,7 +6400,7 @@ type ReplicateLockRequest struct { func (x *ReplicateLockRequest) Reset() { *x = ReplicateLockRequest{} - mi := &file_filer_proto_msgTypes[82] + mi := &file_filer_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6290,7 +6412,7 @@ func (x *ReplicateLockRequest) String() string { func (*ReplicateLockRequest) ProtoMessage() {} func (x *ReplicateLockRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[82] + mi := &file_filer_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6303,7 +6425,7 @@ func (x *ReplicateLockRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReplicateLockRequest.ProtoReflect.Descriptor instead. func (*ReplicateLockRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{82} + return file_filer_proto_rawDescGZIP(), []int{84} } func (x *ReplicateLockRequest) GetName() string { @@ -6370,7 +6492,7 @@ type ReplicateLockResponse struct { func (x *ReplicateLockResponse) Reset() { *x = ReplicateLockResponse{} - mi := &file_filer_proto_msgTypes[83] + mi := &file_filer_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6382,7 +6504,7 @@ func (x *ReplicateLockResponse) String() string { func (*ReplicateLockResponse) ProtoMessage() {} func (x *ReplicateLockResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[83] + mi := &file_filer_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6395,7 +6517,7 @@ func (x *ReplicateLockResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReplicateLockResponse.ProtoReflect.Descriptor instead. func (*ReplicateLockResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{83} + return file_filer_proto_rawDescGZIP(), []int{85} } type StreamMutateEntryRequest struct { @@ -6414,7 +6536,7 @@ type StreamMutateEntryRequest struct { func (x *StreamMutateEntryRequest) Reset() { *x = StreamMutateEntryRequest{} - mi := &file_filer_proto_msgTypes[84] + mi := &file_filer_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6426,7 +6548,7 @@ func (x *StreamMutateEntryRequest) String() string { func (*StreamMutateEntryRequest) ProtoMessage() {} func (x *StreamMutateEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[84] + mi := &file_filer_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6439,7 +6561,7 @@ func (x *StreamMutateEntryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamMutateEntryRequest.ProtoReflect.Descriptor instead. func (*StreamMutateEntryRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{84} + return file_filer_proto_rawDescGZIP(), []int{86} } func (x *StreamMutateEntryRequest) GetRequestId() uint64 { @@ -6539,7 +6661,7 @@ type StreamMutateEntryResponse struct { func (x *StreamMutateEntryResponse) Reset() { *x = StreamMutateEntryResponse{} - mi := &file_filer_proto_msgTypes[85] + mi := &file_filer_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6551,7 +6673,7 @@ func (x *StreamMutateEntryResponse) String() string { func (*StreamMutateEntryResponse) ProtoMessage() {} func (x *StreamMutateEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[85] + mi := &file_filer_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6564,7 +6686,7 @@ func (x *StreamMutateEntryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use StreamMutateEntryResponse.ProtoReflect.Descriptor instead. func (*StreamMutateEntryResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{85} + return file_filer_proto_rawDescGZIP(), []int{87} } func (x *StreamMutateEntryResponse) GetRequestId() uint64 { @@ -6678,7 +6800,7 @@ type MountRegisterRequest struct { func (x *MountRegisterRequest) Reset() { *x = MountRegisterRequest{} - mi := &file_filer_proto_msgTypes[86] + mi := &file_filer_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6690,7 +6812,7 @@ func (x *MountRegisterRequest) String() string { func (*MountRegisterRequest) ProtoMessage() {} func (x *MountRegisterRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[86] + mi := &file_filer_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6703,7 +6825,7 @@ func (x *MountRegisterRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MountRegisterRequest.ProtoReflect.Descriptor instead. func (*MountRegisterRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{86} + return file_filer_proto_rawDescGZIP(), []int{88} } func (x *MountRegisterRequest) GetPeerAddr() string { @@ -6742,7 +6864,7 @@ type MountRegisterResponse struct { func (x *MountRegisterResponse) Reset() { *x = MountRegisterResponse{} - mi := &file_filer_proto_msgTypes[87] + mi := &file_filer_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6754,7 +6876,7 @@ func (x *MountRegisterResponse) String() string { func (*MountRegisterResponse) ProtoMessage() {} func (x *MountRegisterResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[87] + mi := &file_filer_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6767,7 +6889,7 @@ func (x *MountRegisterResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MountRegisterResponse.ProtoReflect.Descriptor instead. func (*MountRegisterResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{87} + return file_filer_proto_rawDescGZIP(), []int{89} } type MountListRequest struct { @@ -6778,7 +6900,7 @@ type MountListRequest struct { func (x *MountListRequest) Reset() { *x = MountListRequest{} - mi := &file_filer_proto_msgTypes[88] + mi := &file_filer_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6790,7 +6912,7 @@ func (x *MountListRequest) String() string { func (*MountListRequest) ProtoMessage() {} func (x *MountListRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[88] + mi := &file_filer_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6803,7 +6925,7 @@ func (x *MountListRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MountListRequest.ProtoReflect.Descriptor instead. func (*MountListRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{88} + return file_filer_proto_rawDescGZIP(), []int{90} } type MountListResponse struct { @@ -6815,7 +6937,7 @@ type MountListResponse struct { func (x *MountListResponse) Reset() { *x = MountListResponse{} - mi := &file_filer_proto_msgTypes[89] + mi := &file_filer_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6827,7 +6949,7 @@ func (x *MountListResponse) String() string { func (*MountListResponse) ProtoMessage() {} func (x *MountListResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[89] + mi := &file_filer_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6840,7 +6962,7 @@ func (x *MountListResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MountListResponse.ProtoReflect.Descriptor instead. func (*MountListResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{89} + return file_filer_proto_rawDescGZIP(), []int{91} } func (x *MountListResponse) GetMounts() []*MountInfo { @@ -6862,7 +6984,7 @@ type MountInfo struct { func (x *MountInfo) Reset() { *x = MountInfo{} - mi := &file_filer_proto_msgTypes[90] + mi := &file_filer_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6874,7 +6996,7 @@ func (x *MountInfo) String() string { func (*MountInfo) ProtoMessage() {} func (x *MountInfo) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[90] + mi := &file_filer_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6887,7 +7009,7 @@ func (x *MountInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MountInfo.ProtoReflect.Descriptor instead. func (*MountInfo) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{90} + return file_filer_proto_rawDescGZIP(), []int{92} } func (x *MountInfo) GetPeerAddr() string { @@ -6936,7 +7058,7 @@ type LookupDirectoryEntriesRequest struct { func (x *LookupDirectoryEntriesRequest) Reset() { *x = LookupDirectoryEntriesRequest{} - mi := &file_filer_proto_msgTypes[91] + mi := &file_filer_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6948,7 +7070,7 @@ func (x *LookupDirectoryEntriesRequest) String() string { func (*LookupDirectoryEntriesRequest) ProtoMessage() {} func (x *LookupDirectoryEntriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[91] + mi := &file_filer_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6961,7 +7083,7 @@ func (x *LookupDirectoryEntriesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LookupDirectoryEntriesRequest.ProtoReflect.Descriptor instead. func (*LookupDirectoryEntriesRequest) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{91} + return file_filer_proto_rawDescGZIP(), []int{93} } func (x *LookupDirectoryEntriesRequest) GetRequests() []*LookupDirectoryEntryRequest { @@ -6995,7 +7117,7 @@ type LookupDirectoryEntryResult struct { func (x *LookupDirectoryEntryResult) Reset() { *x = LookupDirectoryEntryResult{} - mi := &file_filer_proto_msgTypes[92] + mi := &file_filer_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7007,7 +7129,7 @@ func (x *LookupDirectoryEntryResult) String() string { func (*LookupDirectoryEntryResult) ProtoMessage() {} func (x *LookupDirectoryEntryResult) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[92] + mi := &file_filer_proto_msgTypes[94] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7020,7 +7142,7 @@ func (x *LookupDirectoryEntryResult) ProtoReflect() protoreflect.Message { // Deprecated: Use LookupDirectoryEntryResult.ProtoReflect.Descriptor instead. func (*LookupDirectoryEntryResult) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{92} + return file_filer_proto_rawDescGZIP(), []int{94} } func (x *LookupDirectoryEntryResult) GetFound() bool { @@ -7075,7 +7197,7 @@ type LookupDirectoryEntriesResponse struct { func (x *LookupDirectoryEntriesResponse) Reset() { *x = LookupDirectoryEntriesResponse{} - mi := &file_filer_proto_msgTypes[93] + mi := &file_filer_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7087,7 +7209,7 @@ func (x *LookupDirectoryEntriesResponse) String() string { func (*LookupDirectoryEntriesResponse) ProtoMessage() {} func (x *LookupDirectoryEntriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[93] + mi := &file_filer_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7100,7 +7222,7 @@ func (x *LookupDirectoryEntriesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LookupDirectoryEntriesResponse.ProtoReflect.Descriptor instead. func (*LookupDirectoryEntriesResponse) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{93} + return file_filer_proto_rawDescGZIP(), []int{95} } func (x *LookupDirectoryEntriesResponse) GetResults() []*LookupDirectoryEntryResult { @@ -7159,7 +7281,7 @@ type WriteCondition_Clause struct { func (x *WriteCondition_Clause) Reset() { *x = WriteCondition_Clause{} - mi := &file_filer_proto_msgTypes[96] + mi := &file_filer_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7171,7 +7293,7 @@ func (x *WriteCondition_Clause) String() string { func (*WriteCondition_Clause) ProtoMessage() {} func (x *WriteCondition_Clause) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[96] + mi := &file_filer_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7184,7 +7306,7 @@ func (x *WriteCondition_Clause) ProtoReflect() protoreflect.Message { // Deprecated: Use WriteCondition_Clause.ProtoReflect.Descriptor instead. func (*WriteCondition_Clause) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{13, 0} + return file_filer_proto_rawDescGZIP(), []int{15, 0} } func (x *WriteCondition_Clause) GetKind() WriteCondition_Kind { @@ -7269,7 +7391,7 @@ type LocateBrokerResponse_Resource struct { func (x *LocateBrokerResponse_Resource) Reset() { *x = LocateBrokerResponse_Resource{} - mi := &file_filer_proto_msgTypes[104] + mi := &file_filer_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7281,7 +7403,7 @@ func (x *LocateBrokerResponse_Resource) String() string { func (*LocateBrokerResponse_Resource) ProtoMessage() {} func (x *LocateBrokerResponse_Resource) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[104] + mi := &file_filer_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7294,7 +7416,7 @@ func (x *LocateBrokerResponse_Resource) ProtoReflect() protoreflect.Message { // Deprecated: Use LocateBrokerResponse_Resource.ProtoReflect.Descriptor instead. func (*LocateBrokerResponse_Resource) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{65, 0} + return file_filer_proto_rawDescGZIP(), []int{67, 0} } func (x *LocateBrokerResponse_Resource) GetGrpcAddresses() string { @@ -7337,7 +7459,7 @@ type FilerConf_PathConf struct { func (x *FilerConf_PathConf) Reset() { *x = FilerConf_PathConf{} - mi := &file_filer_proto_msgTypes[105] + mi := &file_filer_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7349,7 +7471,7 @@ func (x *FilerConf_PathConf) String() string { func (*FilerConf_PathConf) ProtoMessage() {} func (x *FilerConf_PathConf) ProtoReflect() protoreflect.Message { - mi := &file_filer_proto_msgTypes[105] + mi := &file_filer_proto_msgTypes[107] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7362,7 +7484,7 @@ func (x *FilerConf_PathConf) ProtoReflect() protoreflect.Message { // Deprecated: Use FilerConf_PathConf.ProtoReflect.Descriptor instead. func (*FilerConf_PathConf) Descriptor() ([]byte, []int) { - return file_filer_proto_rawDescGZIP(), []int{70, 0} + return file_filer_proto_rawDescGZIP(), []int{72, 0} } func (x *FilerConf_PathConf) GetLocationPrefix() string { @@ -7500,7 +7622,16 @@ const file_filer_proto_rawDesc = "" + "omitChunks\"b\n" + "\x13ListEntriesResponse\x12%\n" + "\x05entry\x18\x01 \x01(\v2\x0f.filer_pb.EntryR\x05entry\x12$\n" + - "\x0esnapshot_ts_ns\x18\x02 \x01(\x03R\fsnapshotTsNs\"\xa1\x02\n" + + "\x0esnapshot_ts_ns\x18\x02 \x01(\x03R\fsnapshotTsNs\"\x88\x01\n" + + "\x1bListEntriesRecursiveRequest\x12\x1c\n" + + "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12\x16\n" + + "\x06prefix\x18\x02 \x01(\tR\x06prefix\x12\x1d\n" + + "\n" + + "start_from\x18\x03 \x01(\tR\tstartFrom\x12\x14\n" + + "\x05limit\x18\x04 \x01(\rR\x05limit\"c\n" + + "\x1cListEntriesRecursiveResponse\x12\x1c\n" + + "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12%\n" + + "\x05entry\x18\x02 \x01(\v2\x0f.filer_pb.EntryR\x05entry\"\xa1\x02\n" + "\vRemoteEntry\x12!\n" + "\fstorage_name\x18\x01 \x01(\tR\vstorageName\x120\n" + "\x15last_local_sync_ts_ns\x18\x02 \x01(\x03R\x11lastLocalSyncTsNs\x12 \n" + @@ -8194,11 +8325,12 @@ const file_filer_proto_rawDesc = "" + "\x13RELEASE_POSIX_OWNER\x10\x03\x12\x17\n" + "\x13RELEASE_FLOCK_OWNER\x10\x04\x12\x0e\n" + "\n" + - "KEEP_ALIVE\x10\x052\x9d\x18\n" + + "KEEP_ALIVE\x10\x052\x88\x19\n" + "\fSeaweedFiler\x12g\n" + "\x14LookupDirectoryEntry\x12%.filer_pb.LookupDirectoryEntryRequest\x1a&.filer_pb.LookupDirectoryEntryResponse\"\x00\x12m\n" + "\x16LookupDirectoryEntries\x12'.filer_pb.LookupDirectoryEntriesRequest\x1a(.filer_pb.LookupDirectoryEntriesResponse\"\x00\x12N\n" + - "\vListEntries\x12\x1c.filer_pb.ListEntriesRequest\x1a\x1d.filer_pb.ListEntriesResponse\"\x000\x01\x12L\n" + + "\vListEntries\x12\x1c.filer_pb.ListEntriesRequest\x1a\x1d.filer_pb.ListEntriesResponse\"\x000\x01\x12i\n" + + "\x14ListEntriesRecursive\x12%.filer_pb.ListEntriesRecursiveRequest\x1a&.filer_pb.ListEntriesRecursiveResponse\"\x000\x01\x12L\n" + "\vCreateEntry\x12\x1c.filer_pb.CreateEntryRequest\x1a\x1d.filer_pb.CreateEntryResponse\"\x00\x12L\n" + "\vUpdateEntry\x12\x1c.filer_pb.UpdateEntryRequest\x1a\x1d.filer_pb.UpdateEntryResponse\"\x00\x12X\n" + "\x0fTouchAccessTime\x12 .filer_pb.TouchAccessTimeRequest\x1a!.filer_pb.TouchAccessTimeResponse\"\x00\x12R\n" + @@ -8248,7 +8380,7 @@ func file_filer_proto_rawDescGZIP() []byte { } var file_filer_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_filer_proto_msgTypes = make([]protoimpl.MessageInfo, 108) +var file_filer_proto_msgTypes = make([]protoimpl.MessageInfo, 110) var file_filer_proto_goTypes = []any{ (SSEType)(0), // 0: filer_pb.SSEType (FilerError)(0), // 1: filer_pb.FilerError @@ -8259,266 +8391,271 @@ var file_filer_proto_goTypes = []any{ (*LookupDirectoryEntryResponse)(nil), // 6: filer_pb.LookupDirectoryEntryResponse (*ListEntriesRequest)(nil), // 7: filer_pb.ListEntriesRequest (*ListEntriesResponse)(nil), // 8: filer_pb.ListEntriesResponse - (*RemoteEntry)(nil), // 9: filer_pb.RemoteEntry - (*Entry)(nil), // 10: filer_pb.Entry - (*FullEntry)(nil), // 11: filer_pb.FullEntry - (*EventNotification)(nil), // 12: filer_pb.EventNotification - (*FileChunk)(nil), // 13: filer_pb.FileChunk - (*FileChunkManifest)(nil), // 14: filer_pb.FileChunkManifest - (*FileId)(nil), // 15: filer_pb.FileId - (*FuseAttributes)(nil), // 16: filer_pb.FuseAttributes - (*CreateEntryRequest)(nil), // 17: filer_pb.CreateEntryRequest - (*WriteCondition)(nil), // 18: filer_pb.WriteCondition - (*ObjectMutation)(nil), // 19: filer_pb.ObjectMutation - (*Recompute)(nil), // 20: filer_pb.Recompute - (*ObjectTransactionRequest)(nil), // 21: filer_pb.ObjectTransactionRequest - (*ObjectTransactionResponse)(nil), // 22: filer_pb.ObjectTransactionResponse - (*PosixLockRange)(nil), // 23: filer_pb.PosixLockRange - (*PosixLockRequest)(nil), // 24: filer_pb.PosixLockRequest - (*PosixLockResponse)(nil), // 25: filer_pb.PosixLockResponse - (*ObjectTransactionBatchRequest)(nil), // 26: filer_pb.ObjectTransactionBatchRequest - (*ObjectTransactionBatchResponse)(nil), // 27: filer_pb.ObjectTransactionBatchResponse - (*CreateEntryResponse)(nil), // 28: filer_pb.CreateEntryResponse - (*UpdateEntryRequest)(nil), // 29: filer_pb.UpdateEntryRequest - (*UpdateEntryResponse)(nil), // 30: filer_pb.UpdateEntryResponse - (*TouchAccessTimeRequest)(nil), // 31: filer_pb.TouchAccessTimeRequest - (*TouchAccessTimeResponse)(nil), // 32: filer_pb.TouchAccessTimeResponse - (*AppendToEntryRequest)(nil), // 33: filer_pb.AppendToEntryRequest - (*AppendToEntryResponse)(nil), // 34: filer_pb.AppendToEntryResponse - (*DeleteEntryRequest)(nil), // 35: filer_pb.DeleteEntryRequest - (*DeleteEntryResponse)(nil), // 36: filer_pb.DeleteEntryResponse - (*AtomicRenameEntryRequest)(nil), // 37: filer_pb.AtomicRenameEntryRequest - (*AtomicRenameEntryResponse)(nil), // 38: filer_pb.AtomicRenameEntryResponse - (*StreamRenameEntryRequest)(nil), // 39: filer_pb.StreamRenameEntryRequest - (*StreamRenameEntryResponse)(nil), // 40: filer_pb.StreamRenameEntryResponse - (*AssignVolumeRequest)(nil), // 41: filer_pb.AssignVolumeRequest - (*AssignVolumeResponse)(nil), // 42: filer_pb.AssignVolumeResponse - (*LookupVolumeRequest)(nil), // 43: filer_pb.LookupVolumeRequest - (*Locations)(nil), // 44: filer_pb.Locations - (*Location)(nil), // 45: filer_pb.Location - (*LookupVolumeResponse)(nil), // 46: filer_pb.LookupVolumeResponse - (*Collection)(nil), // 47: filer_pb.Collection - (*CollectionListRequest)(nil), // 48: filer_pb.CollectionListRequest - (*CollectionListResponse)(nil), // 49: filer_pb.CollectionListResponse - (*DeleteCollectionRequest)(nil), // 50: filer_pb.DeleteCollectionRequest - (*DeleteCollectionResponse)(nil), // 51: filer_pb.DeleteCollectionResponse - (*StatisticsRequest)(nil), // 52: filer_pb.StatisticsRequest - (*StatisticsResponse)(nil), // 53: filer_pb.StatisticsResponse - (*PingRequest)(nil), // 54: filer_pb.PingRequest - (*PingResponse)(nil), // 55: filer_pb.PingResponse - (*GetFilerConfigurationRequest)(nil), // 56: filer_pb.GetFilerConfigurationRequest - (*GetFilerConfigurationResponse)(nil), // 57: filer_pb.GetFilerConfigurationResponse - (*SubscribeMetadataRequest)(nil), // 58: filer_pb.SubscribeMetadataRequest - (*SubscribeMetadataResponse)(nil), // 59: filer_pb.SubscribeMetadataResponse - (*ListMetadataSubscribersRequest)(nil), // 60: filer_pb.ListMetadataSubscribersRequest - (*ListMetadataSubscribersResponse)(nil), // 61: filer_pb.ListMetadataSubscribersResponse - (*MetadataSubscriber)(nil), // 62: filer_pb.MetadataSubscriber - (*LogFileChunkRef)(nil), // 63: filer_pb.LogFileChunkRef - (*TraverseBfsMetadataRequest)(nil), // 64: filer_pb.TraverseBfsMetadataRequest - (*TraverseBfsMetadataResponse)(nil), // 65: filer_pb.TraverseBfsMetadataResponse - (*LogEntry)(nil), // 66: filer_pb.LogEntry - (*KeepConnectedRequest)(nil), // 67: filer_pb.KeepConnectedRequest - (*KeepConnectedResponse)(nil), // 68: filer_pb.KeepConnectedResponse - (*LocateBrokerRequest)(nil), // 69: filer_pb.LocateBrokerRequest - (*LocateBrokerResponse)(nil), // 70: filer_pb.LocateBrokerResponse - (*KvGetRequest)(nil), // 71: filer_pb.KvGetRequest - (*KvGetResponse)(nil), // 72: filer_pb.KvGetResponse - (*KvPutRequest)(nil), // 73: filer_pb.KvPutRequest - (*KvPutResponse)(nil), // 74: filer_pb.KvPutResponse - (*FilerConf)(nil), // 75: filer_pb.FilerConf - (*CacheRemoteObjectToLocalClusterRequest)(nil), // 76: filer_pb.CacheRemoteObjectToLocalClusterRequest - (*CacheRemoteObjectToLocalClusterResponse)(nil), // 77: filer_pb.CacheRemoteObjectToLocalClusterResponse - (*LockRequest)(nil), // 78: filer_pb.LockRequest - (*LockResponse)(nil), // 79: filer_pb.LockResponse - (*UnlockRequest)(nil), // 80: filer_pb.UnlockRequest - (*UnlockResponse)(nil), // 81: filer_pb.UnlockResponse - (*FindLockOwnerRequest)(nil), // 82: filer_pb.FindLockOwnerRequest - (*FindLockOwnerResponse)(nil), // 83: filer_pb.FindLockOwnerResponse - (*Lock)(nil), // 84: filer_pb.Lock - (*TransferLocksRequest)(nil), // 85: filer_pb.TransferLocksRequest - (*TransferLocksResponse)(nil), // 86: filer_pb.TransferLocksResponse - (*ReplicateLockRequest)(nil), // 87: filer_pb.ReplicateLockRequest - (*ReplicateLockResponse)(nil), // 88: filer_pb.ReplicateLockResponse - (*StreamMutateEntryRequest)(nil), // 89: filer_pb.StreamMutateEntryRequest - (*StreamMutateEntryResponse)(nil), // 90: filer_pb.StreamMutateEntryResponse - (*MountRegisterRequest)(nil), // 91: filer_pb.MountRegisterRequest - (*MountRegisterResponse)(nil), // 92: filer_pb.MountRegisterResponse - (*MountListRequest)(nil), // 93: filer_pb.MountListRequest - (*MountListResponse)(nil), // 94: filer_pb.MountListResponse - (*MountInfo)(nil), // 95: filer_pb.MountInfo - (*LookupDirectoryEntriesRequest)(nil), // 96: filer_pb.LookupDirectoryEntriesRequest - (*LookupDirectoryEntryResult)(nil), // 97: filer_pb.LookupDirectoryEntryResult - (*LookupDirectoryEntriesResponse)(nil), // 98: filer_pb.LookupDirectoryEntriesResponse - nil, // 99: filer_pb.Entry.ExtendedEntry - nil, // 100: filer_pb.CreateEntryRequest.ChunkAuthEntry - (*WriteCondition_Clause)(nil), // 101: filer_pb.WriteCondition.Clause - nil, // 102: filer_pb.ObjectMutation.SetExtendedEntry - nil, // 103: filer_pb.Recompute.CopyExtendedEntry - nil, // 104: filer_pb.UpdateEntryRequest.ExpectedExtendedEntry - nil, // 105: filer_pb.UpdateEntryRequest.ChunkAuthEntry - nil, // 106: filer_pb.AppendToEntryRequest.ChunkAuthEntry - nil, // 107: filer_pb.DeleteEntryRequest.ExpectedExtendedEntry - nil, // 108: filer_pb.LookupVolumeResponse.LocationsMapEntry - (*LocateBrokerResponse_Resource)(nil), // 109: filer_pb.LocateBrokerResponse.Resource - (*FilerConf_PathConf)(nil), // 110: filer_pb.FilerConf.PathConf - nil, // 111: filer_pb.LookupDirectoryEntriesResponse.LocationsMapEntry - nil, // 112: filer_pb.LookupDirectoryEntriesResponse.ReadAuthEntry + (*ListEntriesRecursiveRequest)(nil), // 9: filer_pb.ListEntriesRecursiveRequest + (*ListEntriesRecursiveResponse)(nil), // 10: filer_pb.ListEntriesRecursiveResponse + (*RemoteEntry)(nil), // 11: filer_pb.RemoteEntry + (*Entry)(nil), // 12: filer_pb.Entry + (*FullEntry)(nil), // 13: filer_pb.FullEntry + (*EventNotification)(nil), // 14: filer_pb.EventNotification + (*FileChunk)(nil), // 15: filer_pb.FileChunk + (*FileChunkManifest)(nil), // 16: filer_pb.FileChunkManifest + (*FileId)(nil), // 17: filer_pb.FileId + (*FuseAttributes)(nil), // 18: filer_pb.FuseAttributes + (*CreateEntryRequest)(nil), // 19: filer_pb.CreateEntryRequest + (*WriteCondition)(nil), // 20: filer_pb.WriteCondition + (*ObjectMutation)(nil), // 21: filer_pb.ObjectMutation + (*Recompute)(nil), // 22: filer_pb.Recompute + (*ObjectTransactionRequest)(nil), // 23: filer_pb.ObjectTransactionRequest + (*ObjectTransactionResponse)(nil), // 24: filer_pb.ObjectTransactionResponse + (*PosixLockRange)(nil), // 25: filer_pb.PosixLockRange + (*PosixLockRequest)(nil), // 26: filer_pb.PosixLockRequest + (*PosixLockResponse)(nil), // 27: filer_pb.PosixLockResponse + (*ObjectTransactionBatchRequest)(nil), // 28: filer_pb.ObjectTransactionBatchRequest + (*ObjectTransactionBatchResponse)(nil), // 29: filer_pb.ObjectTransactionBatchResponse + (*CreateEntryResponse)(nil), // 30: filer_pb.CreateEntryResponse + (*UpdateEntryRequest)(nil), // 31: filer_pb.UpdateEntryRequest + (*UpdateEntryResponse)(nil), // 32: filer_pb.UpdateEntryResponse + (*TouchAccessTimeRequest)(nil), // 33: filer_pb.TouchAccessTimeRequest + (*TouchAccessTimeResponse)(nil), // 34: filer_pb.TouchAccessTimeResponse + (*AppendToEntryRequest)(nil), // 35: filer_pb.AppendToEntryRequest + (*AppendToEntryResponse)(nil), // 36: filer_pb.AppendToEntryResponse + (*DeleteEntryRequest)(nil), // 37: filer_pb.DeleteEntryRequest + (*DeleteEntryResponse)(nil), // 38: filer_pb.DeleteEntryResponse + (*AtomicRenameEntryRequest)(nil), // 39: filer_pb.AtomicRenameEntryRequest + (*AtomicRenameEntryResponse)(nil), // 40: filer_pb.AtomicRenameEntryResponse + (*StreamRenameEntryRequest)(nil), // 41: filer_pb.StreamRenameEntryRequest + (*StreamRenameEntryResponse)(nil), // 42: filer_pb.StreamRenameEntryResponse + (*AssignVolumeRequest)(nil), // 43: filer_pb.AssignVolumeRequest + (*AssignVolumeResponse)(nil), // 44: filer_pb.AssignVolumeResponse + (*LookupVolumeRequest)(nil), // 45: filer_pb.LookupVolumeRequest + (*Locations)(nil), // 46: filer_pb.Locations + (*Location)(nil), // 47: filer_pb.Location + (*LookupVolumeResponse)(nil), // 48: filer_pb.LookupVolumeResponse + (*Collection)(nil), // 49: filer_pb.Collection + (*CollectionListRequest)(nil), // 50: filer_pb.CollectionListRequest + (*CollectionListResponse)(nil), // 51: filer_pb.CollectionListResponse + (*DeleteCollectionRequest)(nil), // 52: filer_pb.DeleteCollectionRequest + (*DeleteCollectionResponse)(nil), // 53: filer_pb.DeleteCollectionResponse + (*StatisticsRequest)(nil), // 54: filer_pb.StatisticsRequest + (*StatisticsResponse)(nil), // 55: filer_pb.StatisticsResponse + (*PingRequest)(nil), // 56: filer_pb.PingRequest + (*PingResponse)(nil), // 57: filer_pb.PingResponse + (*GetFilerConfigurationRequest)(nil), // 58: filer_pb.GetFilerConfigurationRequest + (*GetFilerConfigurationResponse)(nil), // 59: filer_pb.GetFilerConfigurationResponse + (*SubscribeMetadataRequest)(nil), // 60: filer_pb.SubscribeMetadataRequest + (*SubscribeMetadataResponse)(nil), // 61: filer_pb.SubscribeMetadataResponse + (*ListMetadataSubscribersRequest)(nil), // 62: filer_pb.ListMetadataSubscribersRequest + (*ListMetadataSubscribersResponse)(nil), // 63: filer_pb.ListMetadataSubscribersResponse + (*MetadataSubscriber)(nil), // 64: filer_pb.MetadataSubscriber + (*LogFileChunkRef)(nil), // 65: filer_pb.LogFileChunkRef + (*TraverseBfsMetadataRequest)(nil), // 66: filer_pb.TraverseBfsMetadataRequest + (*TraverseBfsMetadataResponse)(nil), // 67: filer_pb.TraverseBfsMetadataResponse + (*LogEntry)(nil), // 68: filer_pb.LogEntry + (*KeepConnectedRequest)(nil), // 69: filer_pb.KeepConnectedRequest + (*KeepConnectedResponse)(nil), // 70: filer_pb.KeepConnectedResponse + (*LocateBrokerRequest)(nil), // 71: filer_pb.LocateBrokerRequest + (*LocateBrokerResponse)(nil), // 72: filer_pb.LocateBrokerResponse + (*KvGetRequest)(nil), // 73: filer_pb.KvGetRequest + (*KvGetResponse)(nil), // 74: filer_pb.KvGetResponse + (*KvPutRequest)(nil), // 75: filer_pb.KvPutRequest + (*KvPutResponse)(nil), // 76: filer_pb.KvPutResponse + (*FilerConf)(nil), // 77: filer_pb.FilerConf + (*CacheRemoteObjectToLocalClusterRequest)(nil), // 78: filer_pb.CacheRemoteObjectToLocalClusterRequest + (*CacheRemoteObjectToLocalClusterResponse)(nil), // 79: filer_pb.CacheRemoteObjectToLocalClusterResponse + (*LockRequest)(nil), // 80: filer_pb.LockRequest + (*LockResponse)(nil), // 81: filer_pb.LockResponse + (*UnlockRequest)(nil), // 82: filer_pb.UnlockRequest + (*UnlockResponse)(nil), // 83: filer_pb.UnlockResponse + (*FindLockOwnerRequest)(nil), // 84: filer_pb.FindLockOwnerRequest + (*FindLockOwnerResponse)(nil), // 85: filer_pb.FindLockOwnerResponse + (*Lock)(nil), // 86: filer_pb.Lock + (*TransferLocksRequest)(nil), // 87: filer_pb.TransferLocksRequest + (*TransferLocksResponse)(nil), // 88: filer_pb.TransferLocksResponse + (*ReplicateLockRequest)(nil), // 89: filer_pb.ReplicateLockRequest + (*ReplicateLockResponse)(nil), // 90: filer_pb.ReplicateLockResponse + (*StreamMutateEntryRequest)(nil), // 91: filer_pb.StreamMutateEntryRequest + (*StreamMutateEntryResponse)(nil), // 92: filer_pb.StreamMutateEntryResponse + (*MountRegisterRequest)(nil), // 93: filer_pb.MountRegisterRequest + (*MountRegisterResponse)(nil), // 94: filer_pb.MountRegisterResponse + (*MountListRequest)(nil), // 95: filer_pb.MountListRequest + (*MountListResponse)(nil), // 96: filer_pb.MountListResponse + (*MountInfo)(nil), // 97: filer_pb.MountInfo + (*LookupDirectoryEntriesRequest)(nil), // 98: filer_pb.LookupDirectoryEntriesRequest + (*LookupDirectoryEntryResult)(nil), // 99: filer_pb.LookupDirectoryEntryResult + (*LookupDirectoryEntriesResponse)(nil), // 100: filer_pb.LookupDirectoryEntriesResponse + nil, // 101: filer_pb.Entry.ExtendedEntry + nil, // 102: filer_pb.CreateEntryRequest.ChunkAuthEntry + (*WriteCondition_Clause)(nil), // 103: filer_pb.WriteCondition.Clause + nil, // 104: filer_pb.ObjectMutation.SetExtendedEntry + nil, // 105: filer_pb.Recompute.CopyExtendedEntry + nil, // 106: filer_pb.UpdateEntryRequest.ExpectedExtendedEntry + nil, // 107: filer_pb.UpdateEntryRequest.ChunkAuthEntry + nil, // 108: filer_pb.AppendToEntryRequest.ChunkAuthEntry + nil, // 109: filer_pb.DeleteEntryRequest.ExpectedExtendedEntry + nil, // 110: filer_pb.LookupVolumeResponse.LocationsMapEntry + (*LocateBrokerResponse_Resource)(nil), // 111: filer_pb.LocateBrokerResponse.Resource + (*FilerConf_PathConf)(nil), // 112: filer_pb.FilerConf.PathConf + nil, // 113: filer_pb.LookupDirectoryEntriesResponse.LocationsMapEntry + nil, // 114: filer_pb.LookupDirectoryEntriesResponse.ReadAuthEntry } var file_filer_proto_depIdxs = []int32{ - 10, // 0: filer_pb.LookupDirectoryEntryResponse.entry:type_name -> filer_pb.Entry - 10, // 1: filer_pb.ListEntriesResponse.entry:type_name -> filer_pb.Entry - 13, // 2: filer_pb.Entry.chunks:type_name -> filer_pb.FileChunk - 16, // 3: filer_pb.Entry.attributes:type_name -> filer_pb.FuseAttributes - 99, // 4: filer_pb.Entry.extended:type_name -> filer_pb.Entry.ExtendedEntry - 9, // 5: filer_pb.Entry.remote_entry:type_name -> filer_pb.RemoteEntry - 10, // 6: filer_pb.FullEntry.entry:type_name -> filer_pb.Entry - 10, // 7: filer_pb.EventNotification.old_entry:type_name -> filer_pb.Entry - 10, // 8: filer_pb.EventNotification.new_entry:type_name -> filer_pb.Entry - 15, // 9: filer_pb.FileChunk.fid:type_name -> filer_pb.FileId - 15, // 10: filer_pb.FileChunk.source_fid:type_name -> filer_pb.FileId - 0, // 11: filer_pb.FileChunk.sse_type:type_name -> filer_pb.SSEType - 13, // 12: filer_pb.FileChunkManifest.chunks:type_name -> filer_pb.FileChunk - 10, // 13: filer_pb.CreateEntryRequest.entry:type_name -> filer_pb.Entry - 18, // 14: filer_pb.CreateEntryRequest.condition:type_name -> filer_pb.WriteCondition - 100, // 15: filer_pb.CreateEntryRequest.chunk_auth:type_name -> filer_pb.CreateEntryRequest.ChunkAuthEntry - 101, // 16: filer_pb.WriteCondition.clauses:type_name -> filer_pb.WriteCondition.Clause - 4, // 17: filer_pb.ObjectMutation.type:type_name -> filer_pb.ObjectMutation.Type - 10, // 18: filer_pb.ObjectMutation.entry:type_name -> filer_pb.Entry - 102, // 19: filer_pb.ObjectMutation.set_extended:type_name -> filer_pb.ObjectMutation.SetExtendedEntry - 20, // 20: filer_pb.ObjectMutation.recompute:type_name -> filer_pb.Recompute - 18, // 21: filer_pb.ObjectMutation.condition:type_name -> filer_pb.WriteCondition - 103, // 22: filer_pb.Recompute.copy_extended:type_name -> filer_pb.Recompute.CopyExtendedEntry - 18, // 23: filer_pb.ObjectTransactionRequest.condition:type_name -> filer_pb.WriteCondition - 19, // 24: filer_pb.ObjectTransactionRequest.mutations:type_name -> filer_pb.ObjectMutation - 1, // 25: filer_pb.ObjectTransactionResponse.error_code:type_name -> filer_pb.FilerError - 2, // 26: filer_pb.PosixLockRequest.op:type_name -> filer_pb.PosixLockOp - 23, // 27: filer_pb.PosixLockRequest.lock:type_name -> filer_pb.PosixLockRange - 23, // 28: filer_pb.PosixLockRequest.locks:type_name -> filer_pb.PosixLockRange - 23, // 29: filer_pb.PosixLockResponse.conflict:type_name -> filer_pb.PosixLockRange - 21, // 30: filer_pb.ObjectTransactionBatchRequest.transactions:type_name -> filer_pb.ObjectTransactionRequest - 22, // 31: filer_pb.ObjectTransactionBatchResponse.responses:type_name -> filer_pb.ObjectTransactionResponse - 59, // 32: filer_pb.CreateEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse - 1, // 33: filer_pb.CreateEntryResponse.error_code:type_name -> filer_pb.FilerError - 10, // 34: filer_pb.UpdateEntryRequest.entry:type_name -> filer_pb.Entry - 104, // 35: filer_pb.UpdateEntryRequest.expected_extended:type_name -> filer_pb.UpdateEntryRequest.ExpectedExtendedEntry - 18, // 36: filer_pb.UpdateEntryRequest.condition:type_name -> filer_pb.WriteCondition - 105, // 37: filer_pb.UpdateEntryRequest.chunk_auth:type_name -> filer_pb.UpdateEntryRequest.ChunkAuthEntry - 59, // 38: filer_pb.UpdateEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse - 13, // 39: filer_pb.AppendToEntryRequest.chunks:type_name -> filer_pb.FileChunk - 106, // 40: filer_pb.AppendToEntryRequest.chunk_auth:type_name -> filer_pb.AppendToEntryRequest.ChunkAuthEntry - 107, // 41: filer_pb.DeleteEntryRequest.expected_extended:type_name -> filer_pb.DeleteEntryRequest.ExpectedExtendedEntry - 59, // 42: filer_pb.DeleteEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse - 12, // 43: filer_pb.StreamRenameEntryResponse.event_notification:type_name -> filer_pb.EventNotification - 45, // 44: filer_pb.AssignVolumeResponse.location:type_name -> filer_pb.Location - 45, // 45: filer_pb.AssignVolumeResponse.replicas:type_name -> filer_pb.Location - 1, // 46: filer_pb.AssignVolumeResponse.error_code:type_name -> filer_pb.FilerError - 45, // 47: filer_pb.Locations.locations:type_name -> filer_pb.Location - 108, // 48: filer_pb.LookupVolumeResponse.locations_map:type_name -> filer_pb.LookupVolumeResponse.LocationsMapEntry - 47, // 49: filer_pb.CollectionListResponse.collections:type_name -> filer_pb.Collection - 12, // 50: filer_pb.SubscribeMetadataResponse.event_notification:type_name -> filer_pb.EventNotification - 59, // 51: filer_pb.SubscribeMetadataResponse.events:type_name -> filer_pb.SubscribeMetadataResponse - 63, // 52: filer_pb.SubscribeMetadataResponse.log_file_refs:type_name -> filer_pb.LogFileChunkRef - 62, // 53: filer_pb.ListMetadataSubscribersResponse.subscribers:type_name -> filer_pb.MetadataSubscriber - 13, // 54: filer_pb.LogFileChunkRef.chunks:type_name -> filer_pb.FileChunk - 10, // 55: filer_pb.TraverseBfsMetadataResponse.entry:type_name -> filer_pb.Entry - 109, // 56: filer_pb.LocateBrokerResponse.resources:type_name -> filer_pb.LocateBrokerResponse.Resource - 110, // 57: filer_pb.FilerConf.locations:type_name -> filer_pb.FilerConf.PathConf - 10, // 58: filer_pb.CacheRemoteObjectToLocalClusterResponse.entry:type_name -> filer_pb.Entry - 59, // 59: filer_pb.CacheRemoteObjectToLocalClusterResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse - 84, // 60: filer_pb.TransferLocksRequest.locks:type_name -> filer_pb.Lock - 17, // 61: filer_pb.StreamMutateEntryRequest.create_request:type_name -> filer_pb.CreateEntryRequest - 29, // 62: filer_pb.StreamMutateEntryRequest.update_request:type_name -> filer_pb.UpdateEntryRequest - 35, // 63: filer_pb.StreamMutateEntryRequest.delete_request:type_name -> filer_pb.DeleteEntryRequest - 39, // 64: filer_pb.StreamMutateEntryRequest.rename_request:type_name -> filer_pb.StreamRenameEntryRequest - 28, // 65: filer_pb.StreamMutateEntryResponse.create_response:type_name -> filer_pb.CreateEntryResponse - 30, // 66: filer_pb.StreamMutateEntryResponse.update_response:type_name -> filer_pb.UpdateEntryResponse - 36, // 67: filer_pb.StreamMutateEntryResponse.delete_response:type_name -> filer_pb.DeleteEntryResponse - 40, // 68: filer_pb.StreamMutateEntryResponse.rename_response:type_name -> filer_pb.StreamRenameEntryResponse - 95, // 69: filer_pb.MountListResponse.mounts:type_name -> filer_pb.MountInfo - 5, // 70: filer_pb.LookupDirectoryEntriesRequest.requests:type_name -> filer_pb.LookupDirectoryEntryRequest - 10, // 71: filer_pb.LookupDirectoryEntryResult.entry:type_name -> filer_pb.Entry - 97, // 72: filer_pb.LookupDirectoryEntriesResponse.results:type_name -> filer_pb.LookupDirectoryEntryResult - 111, // 73: filer_pb.LookupDirectoryEntriesResponse.locations_map:type_name -> filer_pb.LookupDirectoryEntriesResponse.LocationsMapEntry - 112, // 74: filer_pb.LookupDirectoryEntriesResponse.read_auth:type_name -> filer_pb.LookupDirectoryEntriesResponse.ReadAuthEntry - 3, // 75: filer_pb.WriteCondition.Clause.kind:type_name -> filer_pb.WriteCondition.Kind - 10, // 76: filer_pb.WriteCondition.Clause.expected_entry:type_name -> filer_pb.Entry - 44, // 77: filer_pb.LookupVolumeResponse.LocationsMapEntry.value:type_name -> filer_pb.Locations - 44, // 78: filer_pb.LookupDirectoryEntriesResponse.LocationsMapEntry.value:type_name -> filer_pb.Locations - 5, // 79: filer_pb.SeaweedFiler.LookupDirectoryEntry:input_type -> filer_pb.LookupDirectoryEntryRequest - 96, // 80: filer_pb.SeaweedFiler.LookupDirectoryEntries:input_type -> filer_pb.LookupDirectoryEntriesRequest - 7, // 81: filer_pb.SeaweedFiler.ListEntries:input_type -> filer_pb.ListEntriesRequest - 17, // 82: filer_pb.SeaweedFiler.CreateEntry:input_type -> filer_pb.CreateEntryRequest - 29, // 83: filer_pb.SeaweedFiler.UpdateEntry:input_type -> filer_pb.UpdateEntryRequest - 31, // 84: filer_pb.SeaweedFiler.TouchAccessTime:input_type -> filer_pb.TouchAccessTimeRequest - 33, // 85: filer_pb.SeaweedFiler.AppendToEntry:input_type -> filer_pb.AppendToEntryRequest - 35, // 86: filer_pb.SeaweedFiler.DeleteEntry:input_type -> filer_pb.DeleteEntryRequest - 21, // 87: filer_pb.SeaweedFiler.ObjectTransaction:input_type -> filer_pb.ObjectTransactionRequest - 26, // 88: filer_pb.SeaweedFiler.ObjectTransactionBatch:input_type -> filer_pb.ObjectTransactionBatchRequest - 24, // 89: filer_pb.SeaweedFiler.PosixLock:input_type -> filer_pb.PosixLockRequest - 37, // 90: filer_pb.SeaweedFiler.AtomicRenameEntry:input_type -> filer_pb.AtomicRenameEntryRequest - 39, // 91: filer_pb.SeaweedFiler.StreamRenameEntry:input_type -> filer_pb.StreamRenameEntryRequest - 89, // 92: filer_pb.SeaweedFiler.StreamMutateEntry:input_type -> filer_pb.StreamMutateEntryRequest - 41, // 93: filer_pb.SeaweedFiler.AssignVolume:input_type -> filer_pb.AssignVolumeRequest - 43, // 94: filer_pb.SeaweedFiler.LookupVolume:input_type -> filer_pb.LookupVolumeRequest - 48, // 95: filer_pb.SeaweedFiler.CollectionList:input_type -> filer_pb.CollectionListRequest - 50, // 96: filer_pb.SeaweedFiler.DeleteCollection:input_type -> filer_pb.DeleteCollectionRequest - 52, // 97: filer_pb.SeaweedFiler.Statistics:input_type -> filer_pb.StatisticsRequest - 54, // 98: filer_pb.SeaweedFiler.Ping:input_type -> filer_pb.PingRequest - 56, // 99: filer_pb.SeaweedFiler.GetFilerConfiguration:input_type -> filer_pb.GetFilerConfigurationRequest - 64, // 100: filer_pb.SeaweedFiler.TraverseBfsMetadata:input_type -> filer_pb.TraverseBfsMetadataRequest - 58, // 101: filer_pb.SeaweedFiler.SubscribeMetadata:input_type -> filer_pb.SubscribeMetadataRequest - 58, // 102: filer_pb.SeaweedFiler.SubscribeLocalMetadata:input_type -> filer_pb.SubscribeMetadataRequest - 60, // 103: filer_pb.SeaweedFiler.ListMetadataSubscribers:input_type -> filer_pb.ListMetadataSubscribersRequest - 71, // 104: filer_pb.SeaweedFiler.KvGet:input_type -> filer_pb.KvGetRequest - 73, // 105: filer_pb.SeaweedFiler.KvPut:input_type -> filer_pb.KvPutRequest - 76, // 106: filer_pb.SeaweedFiler.CacheRemoteObjectToLocalCluster:input_type -> filer_pb.CacheRemoteObjectToLocalClusterRequest - 78, // 107: filer_pb.SeaweedFiler.DistributedLock:input_type -> filer_pb.LockRequest - 80, // 108: filer_pb.SeaweedFiler.DistributedUnlock:input_type -> filer_pb.UnlockRequest - 82, // 109: filer_pb.SeaweedFiler.FindLockOwner:input_type -> filer_pb.FindLockOwnerRequest - 85, // 110: filer_pb.SeaweedFiler.TransferLocks:input_type -> filer_pb.TransferLocksRequest - 87, // 111: filer_pb.SeaweedFiler.ReplicateLock:input_type -> filer_pb.ReplicateLockRequest - 91, // 112: filer_pb.SeaweedFiler.MountRegister:input_type -> filer_pb.MountRegisterRequest - 93, // 113: filer_pb.SeaweedFiler.MountList:input_type -> filer_pb.MountListRequest - 6, // 114: filer_pb.SeaweedFiler.LookupDirectoryEntry:output_type -> filer_pb.LookupDirectoryEntryResponse - 98, // 115: filer_pb.SeaweedFiler.LookupDirectoryEntries:output_type -> filer_pb.LookupDirectoryEntriesResponse - 8, // 116: filer_pb.SeaweedFiler.ListEntries:output_type -> filer_pb.ListEntriesResponse - 28, // 117: filer_pb.SeaweedFiler.CreateEntry:output_type -> filer_pb.CreateEntryResponse - 30, // 118: filer_pb.SeaweedFiler.UpdateEntry:output_type -> filer_pb.UpdateEntryResponse - 32, // 119: filer_pb.SeaweedFiler.TouchAccessTime:output_type -> filer_pb.TouchAccessTimeResponse - 34, // 120: filer_pb.SeaweedFiler.AppendToEntry:output_type -> filer_pb.AppendToEntryResponse - 36, // 121: filer_pb.SeaweedFiler.DeleteEntry:output_type -> filer_pb.DeleteEntryResponse - 22, // 122: filer_pb.SeaweedFiler.ObjectTransaction:output_type -> filer_pb.ObjectTransactionResponse - 27, // 123: filer_pb.SeaweedFiler.ObjectTransactionBatch:output_type -> filer_pb.ObjectTransactionBatchResponse - 25, // 124: filer_pb.SeaweedFiler.PosixLock:output_type -> filer_pb.PosixLockResponse - 38, // 125: filer_pb.SeaweedFiler.AtomicRenameEntry:output_type -> filer_pb.AtomicRenameEntryResponse - 40, // 126: filer_pb.SeaweedFiler.StreamRenameEntry:output_type -> filer_pb.StreamRenameEntryResponse - 90, // 127: filer_pb.SeaweedFiler.StreamMutateEntry:output_type -> filer_pb.StreamMutateEntryResponse - 42, // 128: filer_pb.SeaweedFiler.AssignVolume:output_type -> filer_pb.AssignVolumeResponse - 46, // 129: filer_pb.SeaweedFiler.LookupVolume:output_type -> filer_pb.LookupVolumeResponse - 49, // 130: filer_pb.SeaweedFiler.CollectionList:output_type -> filer_pb.CollectionListResponse - 51, // 131: filer_pb.SeaweedFiler.DeleteCollection:output_type -> filer_pb.DeleteCollectionResponse - 53, // 132: filer_pb.SeaweedFiler.Statistics:output_type -> filer_pb.StatisticsResponse - 55, // 133: filer_pb.SeaweedFiler.Ping:output_type -> filer_pb.PingResponse - 57, // 134: filer_pb.SeaweedFiler.GetFilerConfiguration:output_type -> filer_pb.GetFilerConfigurationResponse - 65, // 135: filer_pb.SeaweedFiler.TraverseBfsMetadata:output_type -> filer_pb.TraverseBfsMetadataResponse - 59, // 136: filer_pb.SeaweedFiler.SubscribeMetadata:output_type -> filer_pb.SubscribeMetadataResponse - 59, // 137: filer_pb.SeaweedFiler.SubscribeLocalMetadata:output_type -> filer_pb.SubscribeMetadataResponse - 61, // 138: filer_pb.SeaweedFiler.ListMetadataSubscribers:output_type -> filer_pb.ListMetadataSubscribersResponse - 72, // 139: filer_pb.SeaweedFiler.KvGet:output_type -> filer_pb.KvGetResponse - 74, // 140: filer_pb.SeaweedFiler.KvPut:output_type -> filer_pb.KvPutResponse - 77, // 141: filer_pb.SeaweedFiler.CacheRemoteObjectToLocalCluster:output_type -> filer_pb.CacheRemoteObjectToLocalClusterResponse - 79, // 142: filer_pb.SeaweedFiler.DistributedLock:output_type -> filer_pb.LockResponse - 81, // 143: filer_pb.SeaweedFiler.DistributedUnlock:output_type -> filer_pb.UnlockResponse - 83, // 144: filer_pb.SeaweedFiler.FindLockOwner:output_type -> filer_pb.FindLockOwnerResponse - 86, // 145: filer_pb.SeaweedFiler.TransferLocks:output_type -> filer_pb.TransferLocksResponse - 88, // 146: filer_pb.SeaweedFiler.ReplicateLock:output_type -> filer_pb.ReplicateLockResponse - 92, // 147: filer_pb.SeaweedFiler.MountRegister:output_type -> filer_pb.MountRegisterResponse - 94, // 148: filer_pb.SeaweedFiler.MountList:output_type -> filer_pb.MountListResponse - 114, // [114:149] is the sub-list for method output_type - 79, // [79:114] is the sub-list for method input_type - 79, // [79:79] is the sub-list for extension type_name - 79, // [79:79] is the sub-list for extension extendee - 0, // [0:79] is the sub-list for field type_name + 12, // 0: filer_pb.LookupDirectoryEntryResponse.entry:type_name -> filer_pb.Entry + 12, // 1: filer_pb.ListEntriesResponse.entry:type_name -> filer_pb.Entry + 12, // 2: filer_pb.ListEntriesRecursiveResponse.entry:type_name -> filer_pb.Entry + 15, // 3: filer_pb.Entry.chunks:type_name -> filer_pb.FileChunk + 18, // 4: filer_pb.Entry.attributes:type_name -> filer_pb.FuseAttributes + 101, // 5: filer_pb.Entry.extended:type_name -> filer_pb.Entry.ExtendedEntry + 11, // 6: filer_pb.Entry.remote_entry:type_name -> filer_pb.RemoteEntry + 12, // 7: filer_pb.FullEntry.entry:type_name -> filer_pb.Entry + 12, // 8: filer_pb.EventNotification.old_entry:type_name -> filer_pb.Entry + 12, // 9: filer_pb.EventNotification.new_entry:type_name -> filer_pb.Entry + 17, // 10: filer_pb.FileChunk.fid:type_name -> filer_pb.FileId + 17, // 11: filer_pb.FileChunk.source_fid:type_name -> filer_pb.FileId + 0, // 12: filer_pb.FileChunk.sse_type:type_name -> filer_pb.SSEType + 15, // 13: filer_pb.FileChunkManifest.chunks:type_name -> filer_pb.FileChunk + 12, // 14: filer_pb.CreateEntryRequest.entry:type_name -> filer_pb.Entry + 20, // 15: filer_pb.CreateEntryRequest.condition:type_name -> filer_pb.WriteCondition + 102, // 16: filer_pb.CreateEntryRequest.chunk_auth:type_name -> filer_pb.CreateEntryRequest.ChunkAuthEntry + 103, // 17: filer_pb.WriteCondition.clauses:type_name -> filer_pb.WriteCondition.Clause + 4, // 18: filer_pb.ObjectMutation.type:type_name -> filer_pb.ObjectMutation.Type + 12, // 19: filer_pb.ObjectMutation.entry:type_name -> filer_pb.Entry + 104, // 20: filer_pb.ObjectMutation.set_extended:type_name -> filer_pb.ObjectMutation.SetExtendedEntry + 22, // 21: filer_pb.ObjectMutation.recompute:type_name -> filer_pb.Recompute + 20, // 22: filer_pb.ObjectMutation.condition:type_name -> filer_pb.WriteCondition + 105, // 23: filer_pb.Recompute.copy_extended:type_name -> filer_pb.Recompute.CopyExtendedEntry + 20, // 24: filer_pb.ObjectTransactionRequest.condition:type_name -> filer_pb.WriteCondition + 21, // 25: filer_pb.ObjectTransactionRequest.mutations:type_name -> filer_pb.ObjectMutation + 1, // 26: filer_pb.ObjectTransactionResponse.error_code:type_name -> filer_pb.FilerError + 2, // 27: filer_pb.PosixLockRequest.op:type_name -> filer_pb.PosixLockOp + 25, // 28: filer_pb.PosixLockRequest.lock:type_name -> filer_pb.PosixLockRange + 25, // 29: filer_pb.PosixLockRequest.locks:type_name -> filer_pb.PosixLockRange + 25, // 30: filer_pb.PosixLockResponse.conflict:type_name -> filer_pb.PosixLockRange + 23, // 31: filer_pb.ObjectTransactionBatchRequest.transactions:type_name -> filer_pb.ObjectTransactionRequest + 24, // 32: filer_pb.ObjectTransactionBatchResponse.responses:type_name -> filer_pb.ObjectTransactionResponse + 61, // 33: filer_pb.CreateEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse + 1, // 34: filer_pb.CreateEntryResponse.error_code:type_name -> filer_pb.FilerError + 12, // 35: filer_pb.UpdateEntryRequest.entry:type_name -> filer_pb.Entry + 106, // 36: filer_pb.UpdateEntryRequest.expected_extended:type_name -> filer_pb.UpdateEntryRequest.ExpectedExtendedEntry + 20, // 37: filer_pb.UpdateEntryRequest.condition:type_name -> filer_pb.WriteCondition + 107, // 38: filer_pb.UpdateEntryRequest.chunk_auth:type_name -> filer_pb.UpdateEntryRequest.ChunkAuthEntry + 61, // 39: filer_pb.UpdateEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse + 15, // 40: filer_pb.AppendToEntryRequest.chunks:type_name -> filer_pb.FileChunk + 108, // 41: filer_pb.AppendToEntryRequest.chunk_auth:type_name -> filer_pb.AppendToEntryRequest.ChunkAuthEntry + 109, // 42: filer_pb.DeleteEntryRequest.expected_extended:type_name -> filer_pb.DeleteEntryRequest.ExpectedExtendedEntry + 61, // 43: filer_pb.DeleteEntryResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse + 14, // 44: filer_pb.StreamRenameEntryResponse.event_notification:type_name -> filer_pb.EventNotification + 47, // 45: filer_pb.AssignVolumeResponse.location:type_name -> filer_pb.Location + 47, // 46: filer_pb.AssignVolumeResponse.replicas:type_name -> filer_pb.Location + 1, // 47: filer_pb.AssignVolumeResponse.error_code:type_name -> filer_pb.FilerError + 47, // 48: filer_pb.Locations.locations:type_name -> filer_pb.Location + 110, // 49: filer_pb.LookupVolumeResponse.locations_map:type_name -> filer_pb.LookupVolumeResponse.LocationsMapEntry + 49, // 50: filer_pb.CollectionListResponse.collections:type_name -> filer_pb.Collection + 14, // 51: filer_pb.SubscribeMetadataResponse.event_notification:type_name -> filer_pb.EventNotification + 61, // 52: filer_pb.SubscribeMetadataResponse.events:type_name -> filer_pb.SubscribeMetadataResponse + 65, // 53: filer_pb.SubscribeMetadataResponse.log_file_refs:type_name -> filer_pb.LogFileChunkRef + 64, // 54: filer_pb.ListMetadataSubscribersResponse.subscribers:type_name -> filer_pb.MetadataSubscriber + 15, // 55: filer_pb.LogFileChunkRef.chunks:type_name -> filer_pb.FileChunk + 12, // 56: filer_pb.TraverseBfsMetadataResponse.entry:type_name -> filer_pb.Entry + 111, // 57: filer_pb.LocateBrokerResponse.resources:type_name -> filer_pb.LocateBrokerResponse.Resource + 112, // 58: filer_pb.FilerConf.locations:type_name -> filer_pb.FilerConf.PathConf + 12, // 59: filer_pb.CacheRemoteObjectToLocalClusterResponse.entry:type_name -> filer_pb.Entry + 61, // 60: filer_pb.CacheRemoteObjectToLocalClusterResponse.metadata_event:type_name -> filer_pb.SubscribeMetadataResponse + 86, // 61: filer_pb.TransferLocksRequest.locks:type_name -> filer_pb.Lock + 19, // 62: filer_pb.StreamMutateEntryRequest.create_request:type_name -> filer_pb.CreateEntryRequest + 31, // 63: filer_pb.StreamMutateEntryRequest.update_request:type_name -> filer_pb.UpdateEntryRequest + 37, // 64: filer_pb.StreamMutateEntryRequest.delete_request:type_name -> filer_pb.DeleteEntryRequest + 41, // 65: filer_pb.StreamMutateEntryRequest.rename_request:type_name -> filer_pb.StreamRenameEntryRequest + 30, // 66: filer_pb.StreamMutateEntryResponse.create_response:type_name -> filer_pb.CreateEntryResponse + 32, // 67: filer_pb.StreamMutateEntryResponse.update_response:type_name -> filer_pb.UpdateEntryResponse + 38, // 68: filer_pb.StreamMutateEntryResponse.delete_response:type_name -> filer_pb.DeleteEntryResponse + 42, // 69: filer_pb.StreamMutateEntryResponse.rename_response:type_name -> filer_pb.StreamRenameEntryResponse + 97, // 70: filer_pb.MountListResponse.mounts:type_name -> filer_pb.MountInfo + 5, // 71: filer_pb.LookupDirectoryEntriesRequest.requests:type_name -> filer_pb.LookupDirectoryEntryRequest + 12, // 72: filer_pb.LookupDirectoryEntryResult.entry:type_name -> filer_pb.Entry + 99, // 73: filer_pb.LookupDirectoryEntriesResponse.results:type_name -> filer_pb.LookupDirectoryEntryResult + 113, // 74: filer_pb.LookupDirectoryEntriesResponse.locations_map:type_name -> filer_pb.LookupDirectoryEntriesResponse.LocationsMapEntry + 114, // 75: filer_pb.LookupDirectoryEntriesResponse.read_auth:type_name -> filer_pb.LookupDirectoryEntriesResponse.ReadAuthEntry + 3, // 76: filer_pb.WriteCondition.Clause.kind:type_name -> filer_pb.WriteCondition.Kind + 12, // 77: filer_pb.WriteCondition.Clause.expected_entry:type_name -> filer_pb.Entry + 46, // 78: filer_pb.LookupVolumeResponse.LocationsMapEntry.value:type_name -> filer_pb.Locations + 46, // 79: filer_pb.LookupDirectoryEntriesResponse.LocationsMapEntry.value:type_name -> filer_pb.Locations + 5, // 80: filer_pb.SeaweedFiler.LookupDirectoryEntry:input_type -> filer_pb.LookupDirectoryEntryRequest + 98, // 81: filer_pb.SeaweedFiler.LookupDirectoryEntries:input_type -> filer_pb.LookupDirectoryEntriesRequest + 7, // 82: filer_pb.SeaweedFiler.ListEntries:input_type -> filer_pb.ListEntriesRequest + 9, // 83: filer_pb.SeaweedFiler.ListEntriesRecursive:input_type -> filer_pb.ListEntriesRecursiveRequest + 19, // 84: filer_pb.SeaweedFiler.CreateEntry:input_type -> filer_pb.CreateEntryRequest + 31, // 85: filer_pb.SeaweedFiler.UpdateEntry:input_type -> filer_pb.UpdateEntryRequest + 33, // 86: filer_pb.SeaweedFiler.TouchAccessTime:input_type -> filer_pb.TouchAccessTimeRequest + 35, // 87: filer_pb.SeaweedFiler.AppendToEntry:input_type -> filer_pb.AppendToEntryRequest + 37, // 88: filer_pb.SeaweedFiler.DeleteEntry:input_type -> filer_pb.DeleteEntryRequest + 23, // 89: filer_pb.SeaweedFiler.ObjectTransaction:input_type -> filer_pb.ObjectTransactionRequest + 28, // 90: filer_pb.SeaweedFiler.ObjectTransactionBatch:input_type -> filer_pb.ObjectTransactionBatchRequest + 26, // 91: filer_pb.SeaweedFiler.PosixLock:input_type -> filer_pb.PosixLockRequest + 39, // 92: filer_pb.SeaweedFiler.AtomicRenameEntry:input_type -> filer_pb.AtomicRenameEntryRequest + 41, // 93: filer_pb.SeaweedFiler.StreamRenameEntry:input_type -> filer_pb.StreamRenameEntryRequest + 91, // 94: filer_pb.SeaweedFiler.StreamMutateEntry:input_type -> filer_pb.StreamMutateEntryRequest + 43, // 95: filer_pb.SeaweedFiler.AssignVolume:input_type -> filer_pb.AssignVolumeRequest + 45, // 96: filer_pb.SeaweedFiler.LookupVolume:input_type -> filer_pb.LookupVolumeRequest + 50, // 97: filer_pb.SeaweedFiler.CollectionList:input_type -> filer_pb.CollectionListRequest + 52, // 98: filer_pb.SeaweedFiler.DeleteCollection:input_type -> filer_pb.DeleteCollectionRequest + 54, // 99: filer_pb.SeaweedFiler.Statistics:input_type -> filer_pb.StatisticsRequest + 56, // 100: filer_pb.SeaweedFiler.Ping:input_type -> filer_pb.PingRequest + 58, // 101: filer_pb.SeaweedFiler.GetFilerConfiguration:input_type -> filer_pb.GetFilerConfigurationRequest + 66, // 102: filer_pb.SeaweedFiler.TraverseBfsMetadata:input_type -> filer_pb.TraverseBfsMetadataRequest + 60, // 103: filer_pb.SeaweedFiler.SubscribeMetadata:input_type -> filer_pb.SubscribeMetadataRequest + 60, // 104: filer_pb.SeaweedFiler.SubscribeLocalMetadata:input_type -> filer_pb.SubscribeMetadataRequest + 62, // 105: filer_pb.SeaweedFiler.ListMetadataSubscribers:input_type -> filer_pb.ListMetadataSubscribersRequest + 73, // 106: filer_pb.SeaweedFiler.KvGet:input_type -> filer_pb.KvGetRequest + 75, // 107: filer_pb.SeaweedFiler.KvPut:input_type -> filer_pb.KvPutRequest + 78, // 108: filer_pb.SeaweedFiler.CacheRemoteObjectToLocalCluster:input_type -> filer_pb.CacheRemoteObjectToLocalClusterRequest + 80, // 109: filer_pb.SeaweedFiler.DistributedLock:input_type -> filer_pb.LockRequest + 82, // 110: filer_pb.SeaweedFiler.DistributedUnlock:input_type -> filer_pb.UnlockRequest + 84, // 111: filer_pb.SeaweedFiler.FindLockOwner:input_type -> filer_pb.FindLockOwnerRequest + 87, // 112: filer_pb.SeaweedFiler.TransferLocks:input_type -> filer_pb.TransferLocksRequest + 89, // 113: filer_pb.SeaweedFiler.ReplicateLock:input_type -> filer_pb.ReplicateLockRequest + 93, // 114: filer_pb.SeaweedFiler.MountRegister:input_type -> filer_pb.MountRegisterRequest + 95, // 115: filer_pb.SeaweedFiler.MountList:input_type -> filer_pb.MountListRequest + 6, // 116: filer_pb.SeaweedFiler.LookupDirectoryEntry:output_type -> filer_pb.LookupDirectoryEntryResponse + 100, // 117: filer_pb.SeaweedFiler.LookupDirectoryEntries:output_type -> filer_pb.LookupDirectoryEntriesResponse + 8, // 118: filer_pb.SeaweedFiler.ListEntries:output_type -> filer_pb.ListEntriesResponse + 10, // 119: filer_pb.SeaweedFiler.ListEntriesRecursive:output_type -> filer_pb.ListEntriesRecursiveResponse + 30, // 120: filer_pb.SeaweedFiler.CreateEntry:output_type -> filer_pb.CreateEntryResponse + 32, // 121: filer_pb.SeaweedFiler.UpdateEntry:output_type -> filer_pb.UpdateEntryResponse + 34, // 122: filer_pb.SeaweedFiler.TouchAccessTime:output_type -> filer_pb.TouchAccessTimeResponse + 36, // 123: filer_pb.SeaweedFiler.AppendToEntry:output_type -> filer_pb.AppendToEntryResponse + 38, // 124: filer_pb.SeaweedFiler.DeleteEntry:output_type -> filer_pb.DeleteEntryResponse + 24, // 125: filer_pb.SeaweedFiler.ObjectTransaction:output_type -> filer_pb.ObjectTransactionResponse + 29, // 126: filer_pb.SeaweedFiler.ObjectTransactionBatch:output_type -> filer_pb.ObjectTransactionBatchResponse + 27, // 127: filer_pb.SeaweedFiler.PosixLock:output_type -> filer_pb.PosixLockResponse + 40, // 128: filer_pb.SeaweedFiler.AtomicRenameEntry:output_type -> filer_pb.AtomicRenameEntryResponse + 42, // 129: filer_pb.SeaweedFiler.StreamRenameEntry:output_type -> filer_pb.StreamRenameEntryResponse + 92, // 130: filer_pb.SeaweedFiler.StreamMutateEntry:output_type -> filer_pb.StreamMutateEntryResponse + 44, // 131: filer_pb.SeaweedFiler.AssignVolume:output_type -> filer_pb.AssignVolumeResponse + 48, // 132: filer_pb.SeaweedFiler.LookupVolume:output_type -> filer_pb.LookupVolumeResponse + 51, // 133: filer_pb.SeaweedFiler.CollectionList:output_type -> filer_pb.CollectionListResponse + 53, // 134: filer_pb.SeaweedFiler.DeleteCollection:output_type -> filer_pb.DeleteCollectionResponse + 55, // 135: filer_pb.SeaweedFiler.Statistics:output_type -> filer_pb.StatisticsResponse + 57, // 136: filer_pb.SeaweedFiler.Ping:output_type -> filer_pb.PingResponse + 59, // 137: filer_pb.SeaweedFiler.GetFilerConfiguration:output_type -> filer_pb.GetFilerConfigurationResponse + 67, // 138: filer_pb.SeaweedFiler.TraverseBfsMetadata:output_type -> filer_pb.TraverseBfsMetadataResponse + 61, // 139: filer_pb.SeaweedFiler.SubscribeMetadata:output_type -> filer_pb.SubscribeMetadataResponse + 61, // 140: filer_pb.SeaweedFiler.SubscribeLocalMetadata:output_type -> filer_pb.SubscribeMetadataResponse + 63, // 141: filer_pb.SeaweedFiler.ListMetadataSubscribers:output_type -> filer_pb.ListMetadataSubscribersResponse + 74, // 142: filer_pb.SeaweedFiler.KvGet:output_type -> filer_pb.KvGetResponse + 76, // 143: filer_pb.SeaweedFiler.KvPut:output_type -> filer_pb.KvPutResponse + 79, // 144: filer_pb.SeaweedFiler.CacheRemoteObjectToLocalCluster:output_type -> filer_pb.CacheRemoteObjectToLocalClusterResponse + 81, // 145: filer_pb.SeaweedFiler.DistributedLock:output_type -> filer_pb.LockResponse + 83, // 146: filer_pb.SeaweedFiler.DistributedUnlock:output_type -> filer_pb.UnlockResponse + 85, // 147: filer_pb.SeaweedFiler.FindLockOwner:output_type -> filer_pb.FindLockOwnerResponse + 88, // 148: filer_pb.SeaweedFiler.TransferLocks:output_type -> filer_pb.TransferLocksResponse + 90, // 149: filer_pb.SeaweedFiler.ReplicateLock:output_type -> filer_pb.ReplicateLockResponse + 94, // 150: filer_pb.SeaweedFiler.MountRegister:output_type -> filer_pb.MountRegisterResponse + 96, // 151: filer_pb.SeaweedFiler.MountList:output_type -> filer_pb.MountListResponse + 116, // [116:152] is the sub-list for method output_type + 80, // [80:116] is the sub-list for method input_type + 80, // [80:80] is the sub-list for extension type_name + 80, // [80:80] is the sub-list for extension extendee + 0, // [0:80] is the sub-list for field type_name } func init() { file_filer_proto_init() } @@ -8526,28 +8663,28 @@ func file_filer_proto_init() { if File_filer_proto != nil { return } - file_filer_proto_msgTypes[4].OneofWrappers = []any{} - file_filer_proto_msgTypes[17].OneofWrappers = []any{} - file_filer_proto_msgTypes[84].OneofWrappers = []any{ + file_filer_proto_msgTypes[6].OneofWrappers = []any{} + file_filer_proto_msgTypes[19].OneofWrappers = []any{} + file_filer_proto_msgTypes[86].OneofWrappers = []any{ (*StreamMutateEntryRequest_CreateRequest)(nil), (*StreamMutateEntryRequest_UpdateRequest)(nil), (*StreamMutateEntryRequest_DeleteRequest)(nil), (*StreamMutateEntryRequest_RenameRequest)(nil), } - file_filer_proto_msgTypes[85].OneofWrappers = []any{ + file_filer_proto_msgTypes[87].OneofWrappers = []any{ (*StreamMutateEntryResponse_CreateResponse)(nil), (*StreamMutateEntryResponse_UpdateResponse)(nil), (*StreamMutateEntryResponse_DeleteResponse)(nil), (*StreamMutateEntryResponse_RenameResponse)(nil), } - file_filer_proto_msgTypes[105].OneofWrappers = []any{} + file_filer_proto_msgTypes[107].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_filer_proto_rawDesc), len(file_filer_proto_rawDesc)), NumEnums: 5, - NumMessages: 108, + NumMessages: 110, NumExtensions: 0, NumServices: 1, }, diff --git a/weed/pb/filer_pb/filer_grpc.pb.go b/weed/pb/filer_pb/filer_grpc.pb.go index 6a2b494a39..5c4fd5dafc 100644 --- a/weed/pb/filer_pb/filer_grpc.pb.go +++ b/weed/pb/filer_pb/filer_grpc.pb.go @@ -22,6 +22,7 @@ const ( SeaweedFiler_LookupDirectoryEntry_FullMethodName = "/filer_pb.SeaweedFiler/LookupDirectoryEntry" SeaweedFiler_LookupDirectoryEntries_FullMethodName = "/filer_pb.SeaweedFiler/LookupDirectoryEntries" SeaweedFiler_ListEntries_FullMethodName = "/filer_pb.SeaweedFiler/ListEntries" + SeaweedFiler_ListEntriesRecursive_FullMethodName = "/filer_pb.SeaweedFiler/ListEntriesRecursive" SeaweedFiler_CreateEntry_FullMethodName = "/filer_pb.SeaweedFiler/CreateEntry" SeaweedFiler_UpdateEntry_FullMethodName = "/filer_pb.SeaweedFiler/UpdateEntry" SeaweedFiler_TouchAccessTime_FullMethodName = "/filer_pb.SeaweedFiler/TouchAccessTime" @@ -63,6 +64,9 @@ type SeaweedFilerClient interface { LookupDirectoryEntry(ctx context.Context, in *LookupDirectoryEntryRequest, opts ...grpc.CallOption) (*LookupDirectoryEntryResponse, error) LookupDirectoryEntries(ctx context.Context, in *LookupDirectoryEntriesRequest, opts ...grpc.CallOption) (*LookupDirectoryEntriesResponse, error) ListEntries(ctx context.Context, in *ListEntriesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListEntriesResponse], error) + // Lists every entry below a directory in path order, for stores that hold + // a subtree in one ordered range. Unimplemented when the store cannot. + ListEntriesRecursive(ctx context.Context, in *ListEntriesRecursiveRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListEntriesRecursiveResponse], error) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) UpdateEntry(ctx context.Context, in *UpdateEntryRequest, opts ...grpc.CallOption) (*UpdateEntryResponse, error) TouchAccessTime(ctx context.Context, in *TouchAccessTimeRequest, opts ...grpc.CallOption) (*TouchAccessTimeResponse, error) @@ -149,6 +153,25 @@ func (c *seaweedFilerClient) ListEntries(ctx context.Context, in *ListEntriesReq // This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. type SeaweedFiler_ListEntriesClient = grpc.ServerStreamingClient[ListEntriesResponse] +func (c *seaweedFilerClient) ListEntriesRecursive(ctx context.Context, in *ListEntriesRecursiveRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListEntriesRecursiveResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[1], SeaweedFiler_ListEntriesRecursive_FullMethodName, cOpts...) + if err != nil { + return nil, err + } + x := &grpc.GenericClientStream[ListEntriesRecursiveRequest, ListEntriesRecursiveResponse]{ClientStream: stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type SeaweedFiler_ListEntriesRecursiveClient = grpc.ServerStreamingClient[ListEntriesRecursiveResponse] + func (c *seaweedFilerClient) CreateEntry(ctx context.Context, in *CreateEntryRequest, opts ...grpc.CallOption) (*CreateEntryResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateEntryResponse) @@ -241,7 +264,7 @@ func (c *seaweedFilerClient) AtomicRenameEntry(ctx context.Context, in *AtomicRe func (c *seaweedFilerClient) StreamRenameEntry(ctx context.Context, in *StreamRenameEntryRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StreamRenameEntryResponse], error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[1], SeaweedFiler_StreamRenameEntry_FullMethodName, cOpts...) + stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[2], SeaweedFiler_StreamRenameEntry_FullMethodName, cOpts...) if err != nil { return nil, err } @@ -260,7 +283,7 @@ type SeaweedFiler_StreamRenameEntryClient = grpc.ServerStreamingClient[StreamRen func (c *seaweedFilerClient) StreamMutateEntry(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StreamMutateEntryRequest, StreamMutateEntryResponse], error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[2], SeaweedFiler_StreamMutateEntry_FullMethodName, cOpts...) + stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[3], SeaweedFiler_StreamMutateEntry_FullMethodName, cOpts...) if err != nil { return nil, err } @@ -343,7 +366,7 @@ func (c *seaweedFilerClient) GetFilerConfiguration(ctx context.Context, in *GetF func (c *seaweedFilerClient) TraverseBfsMetadata(ctx context.Context, in *TraverseBfsMetadataRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TraverseBfsMetadataResponse], error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[3], SeaweedFiler_TraverseBfsMetadata_FullMethodName, cOpts...) + stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[4], SeaweedFiler_TraverseBfsMetadata_FullMethodName, cOpts...) if err != nil { return nil, err } @@ -362,7 +385,7 @@ type SeaweedFiler_TraverseBfsMetadataClient = grpc.ServerStreamingClient[Travers func (c *seaweedFilerClient) SubscribeMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeMetadataResponse], error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[4], SeaweedFiler_SubscribeMetadata_FullMethodName, cOpts...) + stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[5], SeaweedFiler_SubscribeMetadata_FullMethodName, cOpts...) if err != nil { return nil, err } @@ -381,7 +404,7 @@ type SeaweedFiler_SubscribeMetadataClient = grpc.ServerStreamingClient[Subscribe func (c *seaweedFilerClient) SubscribeLocalMetadata(ctx context.Context, in *SubscribeMetadataRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SubscribeMetadataResponse], error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[5], SeaweedFiler_SubscribeLocalMetadata_FullMethodName, cOpts...) + stream, err := c.cc.NewStream(ctx, &SeaweedFiler_ServiceDesc.Streams[6], SeaweedFiler_SubscribeLocalMetadata_FullMethodName, cOpts...) if err != nil { return nil, err } @@ -515,6 +538,9 @@ type SeaweedFilerServer interface { LookupDirectoryEntry(context.Context, *LookupDirectoryEntryRequest) (*LookupDirectoryEntryResponse, error) LookupDirectoryEntries(context.Context, *LookupDirectoryEntriesRequest) (*LookupDirectoryEntriesResponse, error) ListEntries(*ListEntriesRequest, grpc.ServerStreamingServer[ListEntriesResponse]) error + // Lists every entry below a directory in path order, for stores that hold + // a subtree in one ordered range. Unimplemented when the store cannot. + ListEntriesRecursive(*ListEntriesRecursiveRequest, grpc.ServerStreamingServer[ListEntriesRecursiveResponse]) error CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error) UpdateEntry(context.Context, *UpdateEntryRequest) (*UpdateEntryResponse, error) TouchAccessTime(context.Context, *TouchAccessTimeRequest) (*TouchAccessTimeResponse, error) @@ -571,6 +597,9 @@ func (UnimplementedSeaweedFilerServer) LookupDirectoryEntries(context.Context, * func (UnimplementedSeaweedFilerServer) ListEntries(*ListEntriesRequest, grpc.ServerStreamingServer[ListEntriesResponse]) error { return status.Error(codes.Unimplemented, "method ListEntries not implemented") } +func (UnimplementedSeaweedFilerServer) ListEntriesRecursive(*ListEntriesRecursiveRequest, grpc.ServerStreamingServer[ListEntriesRecursiveResponse]) error { + return status.Error(codes.Unimplemented, "method ListEntriesRecursive not implemented") +} func (UnimplementedSeaweedFilerServer) CreateEntry(context.Context, *CreateEntryRequest) (*CreateEntryResponse, error) { return nil, status.Error(codes.Unimplemented, "method CreateEntry not implemented") } @@ -735,6 +764,17 @@ func _SeaweedFiler_ListEntries_Handler(srv interface{}, stream grpc.ServerStream // This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. type SeaweedFiler_ListEntriesServer = grpc.ServerStreamingServer[ListEntriesResponse] +func _SeaweedFiler_ListEntriesRecursive_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListEntriesRecursiveRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(SeaweedFilerServer).ListEntriesRecursive(m, &grpc.GenericServerStream[ListEntriesRecursiveRequest, ListEntriesRecursiveResponse]{ServerStream: stream}) +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type SeaweedFiler_ListEntriesRecursiveServer = grpc.ServerStreamingServer[ListEntriesRecursiveResponse] + func _SeaweedFiler_CreateEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateEntryRequest) if err := dec(in); err != nil { @@ -1402,6 +1442,11 @@ var SeaweedFiler_ServiceDesc = grpc.ServiceDesc{ Handler: _SeaweedFiler_ListEntries_Handler, ServerStreams: true, }, + { + StreamName: "ListEntriesRecursive", + Handler: _SeaweedFiler_ListEntriesRecursive_Handler, + ServerStreams: true, + }, { StreamName: "StreamRenameEntry", Handler: _SeaweedFiler_StreamRenameEntry_Handler, diff --git a/weed/pb/filer_pb/filer_vtproto.pb.go b/weed/pb/filer_pb/filer_vtproto.pb.go index 60a348b62e..86cafd8ae8 100644 --- a/weed/pb/filer_pb/filer_vtproto.pb.go +++ b/weed/pb/filer_pb/filer_vtproto.pb.go @@ -251,6 +251,115 @@ func (m *ListEntriesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *ListEntriesRecursiveRequest) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListEntriesRecursiveRequest) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ListEntriesRecursiveRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Limit != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Limit)) + i-- + dAtA[i] = 0x20 + } + if len(m.StartFrom) > 0 { + i -= len(m.StartFrom) + copy(dAtA[i:], m.StartFrom) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.StartFrom))) + i-- + dAtA[i] = 0x1a + } + if len(m.Prefix) > 0 { + i -= len(m.Prefix) + copy(dAtA[i:], m.Prefix) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Prefix))) + i-- + dAtA[i] = 0x12 + } + if len(m.Directory) > 0 { + i -= len(m.Directory) + copy(dAtA[i:], m.Directory) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Directory))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ListEntriesRecursiveResponse) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListEntriesRecursiveResponse) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ListEntriesRecursiveResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Entry != nil { + size, err := m.Entry.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if len(m.Directory) > 0 { + i -= len(m.Directory) + copy(dAtA[i:], m.Directory) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Directory))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *RemoteEntry) MarshalVT() (dAtA []byte, err error) { if m == nil { return nil, nil @@ -6856,6 +6965,49 @@ func (m *ListEntriesResponse) SizeVT() (n int) { return n } +func (m *ListEntriesRecursiveRequest) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Directory) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + l = len(m.Prefix) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + l = len(m.StartFrom) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.Limit != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.Limit)) + } + n += len(m.unknownFields) + return n +} + +func (m *ListEntriesRecursiveResponse) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Directory) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.Entry != nil { + l = m.Entry.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + func (m *RemoteEntry) SizeVT() (n int) { if m == nil { return 0 @@ -10060,6 +10212,291 @@ func (m *ListEntriesResponse) UnmarshalVT(dAtA []byte) error { } return nil } +func (m *ListEntriesRecursiveRequest) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListEntriesRecursiveRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListEntriesRecursiveRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Directory", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Directory = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Prefix = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartFrom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StartFrom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) + } + m.Limit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Limit |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListEntriesRecursiveResponse) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListEntriesRecursiveResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListEntriesRecursiveResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Directory", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Directory = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Entry", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Entry == nil { + m.Entry = &Entry{} + } + if err := m.Entry.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *RemoteEntry) UnmarshalVT(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/weed/server/filer_grpc_scope_descriptor_test.go b/weed/server/filer_grpc_scope_descriptor_test.go index f78fb9ffc3..729725a098 100644 --- a/weed/server/filer_grpc_scope_descriptor_test.go +++ b/weed/server/filer_grpc_scope_descriptor_test.go @@ -49,7 +49,8 @@ func TestScopeDescriptorEveryFilerMethodIsAllowedOrExplicitlyRefused(t *testing. "SubscribeLocalMetadata": true, } explicitlyRefusedStreams := map[string]bool{ - "TraverseBfsMetadata": true, + "TraverseBfsMetadata": true, + "ListEntriesRecursive": true, } for _, method := range filer_pb.SeaweedFiler_ServiceDesc.Methods { diff --git a/weed/server/filer_grpc_server_list_recursive.go b/weed/server/filer_grpc_server_list_recursive.go new file mode 100644 index 0000000000..03f687445b --- /dev/null +++ b/weed/server/filer_grpc_server_list_recursive.go @@ -0,0 +1,31 @@ +package weed_server + +import ( + "errors" + + "github.com/seaweedfs/seaweedfs/weed/filer" + "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb" + "github.com/seaweedfs/seaweedfs/weed/util" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +// ListEntriesRecursive answers Unimplemented when the store cannot list the +// subtree in path order, so the caller can walk it directory by directory. +func (fs *FilerServer) ListEntriesRecursive(req *filer_pb.ListEntriesRecursiveRequest, stream filer_pb.SeaweedFiler_ListEntriesRecursiveServer) error { + limit := int64(req.Limit) + if limit == 0 { + limit = int64(fs.option.DirListingLimit) + } + _, err := fs.filer.StreamListRecursiveEntries(stream.Context(), util.FullPath(req.Directory), util.FullPath(req.StartFrom), req.Prefix, limit, func(entry *filer.Entry) (bool, error) { + dir, _ := entry.FullPath.DirAndName() + if err := stream.Send(&filer_pb.ListEntriesRecursiveResponse{Directory: dir, Entry: entry.ToProtoEntry()}); err != nil { + return false, err + } + return true, nil + }) + if errors.Is(err, filer.ErrUnsupportedRecursiveListing) { + return status.Error(codes.Unimplemented, err.Error()) + } + return err +} diff --git a/weed/server/filer_grpc_server_list_recursive_test.go b/weed/server/filer_grpc_server_list_recursive_test.go new file mode 100644 index 0000000000..d30bc77cab --- /dev/null +++ b/weed/server/filer_grpc_server_list_recursive_test.go @@ -0,0 +1,72 @@ +package weed_server + +import ( + "context" + "sort" + "strings" + "testing" + + "github.com/seaweedfs/seaweedfs/weed/filer" + "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb" + "github.com/seaweedfs/seaweedfs/weed/util" + "github.com/stretchr/testify/require" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +// recursiveListStore lists the rename test store's entries in path order. +type recursiveListStore struct{ *renameTestStore } + +func (s recursiveListStore) ListRecursivePrefixedEntries(ctx context.Context, dirPath, startPath util.FullPath, prefix string, limit int64, eachEntryFunc filer.ListEachEntryFunc) (lastPath util.FullPath, err error) { + from := strings.TrimSuffix(string(dirPath), "/") + "/" + prefix + var paths []string + for p := range s.entries { + if strings.HasPrefix(p, from) && p > string(startPath) { + paths = append(paths, p) + } + } + sort.Strings(paths) + for _, p := range paths[:min(int64(len(paths)), limit)] { + lastPath = util.FullPath(p) + if more, err := eachEntryFunc(s.entries[p]); err != nil || !more { + return lastPath, err + } + } + return lastPath, nil +} + +type captureRecursiveStream struct { + grpc.ServerStream + paths []string +} + +func (s *captureRecursiveStream) Context() context.Context { return context.Background() } + +func (s *captureRecursiveStream) Send(resp *filer_pb.ListEntriesRecursiveResponse) error { + s.paths = append(s.paths, string(util.NewFullPath(resp.Directory, resp.Entry.Name))) + return nil +} + +func TestListEntriesRecursive(t *testing.T) { + store := newRenameTestStore() + for _, d := range []string{"/buckets/b", "/buckets/b/a", "/buckets/b/a-b"} { + store.entries[d] = newDirectoryEntry(d, 1) + } + for _, f := range []string{"/buckets/b/a/x", "/buckets/b/a+b", "/buckets/b/a-b/y", "/buckets/b/z"} { + store.entries[f] = newFileEntry(f, 2) + } + + server := &FilerServer{filer: newRenameTestFiler(t, recursiveListStore{store})} + stream := &captureRecursiveStream{} + require.NoError(t, server.ListEntriesRecursive(&filer_pb.ListEntriesRecursiveRequest{Directory: "/buckets/b", Limit: 100}, stream)) + require.Equal(t, []string{"/buckets/b/a", "/buckets/b/a+b", "/buckets/b/a-b", "/buckets/b/a-b/y", "/buckets/b/a/x", "/buckets/b/z"}, stream.paths) + + stream = &captureRecursiveStream{} + require.NoError(t, server.ListEntriesRecursive(&filer_pb.ListEntriesRecursiveRequest{Directory: "/buckets/b", Prefix: "a", StartFrom: "/buckets/b/a-b", Limit: 2}, stream)) + require.Equal(t, []string{"/buckets/b/a-b/y", "/buckets/b/a/x"}, stream.paths) + + plain := &FilerServer{filer: newRenameTestFiler(t, store)} + err := plain.ListEntriesRecursive(&filer_pb.ListEntriesRecursiveRequest{Directory: "/buckets/b", Limit: 1}, &captureRecursiveStream{}) + require.Equal(t, codes.Unimplemented, status.Code(err)) +}