diff --git a/Makefile b/Makefile index 1964367cbd5..fdf6b44b1fc 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,13 @@ BUILD_FLAGS = -X github.com/cs3org/reva/cmd/revad.gitCommit=$(GIT_COMMIT) -X git revad: go build -ldflags "-extldflags=-static $(BUILD_FLAGS)" -o ./cmd/revad/revad ./cmd/revad/main +.PHONY: gaia +gaia: + go install github.com/cs3org/gaia@latest + +.PHONY: cernbox-revad +cernbox-revad: gaia + gaia build --with github.com/cernbox/reva-plugins --with github.com/cs3org/reva=$(shell pwd) -o ./cmd/revad/revad .PHONY: revad-ceph revad-ceph: go build -ldflags "$(BUILD_FLAGS)" -tags ceph -o ./cmd/revad/revad ./cmd/revad/main diff --git a/changelog/unreleased/grpc-http-refurbish.md b/changelog/unreleased/grpc-http-refurbish.md new file mode 100644 index 00000000000..ba3b19b3b11 --- /dev/null +++ b/changelog/unreleased/grpc-http-refurbish.md @@ -0,0 +1,5 @@ +Enhancement: Refurbish the grpc and https plugins for eos + +This enhancement refurbishes the grpc and https plugins for eos + +https://github.com/cs3org/reva/pull/4185 diff --git a/cmd/reva/arguments.go b/cmd/reva/arguments.go index 7d1a4a84b09..460924fbd41 100644 --- a/cmd/reva/arguments.go +++ b/cmd/reva/arguments.go @@ -217,7 +217,7 @@ func executeCommand(cmd *command, args ...string) (bytes.Buffer, error) { if err != nil { return b, err } - case <-time.After(500 * time.Millisecond): + case <-time.After(15000 * time.Millisecond): return b, errors.New("command timed out") } return b, nil diff --git a/cmd/reva/main.go b/cmd/reva/main.go index 4a5e06d3ac2..d3ff7f6f213 100644 --- a/cmd/reva/main.go +++ b/cmd/reva/main.go @@ -93,6 +93,7 @@ var ( getlockCommand(), unlockCommand(), helpCommand(), + testCommand(), } ) diff --git a/cmd/reva/test.go b/cmd/reva/test.go new file mode 100755 index 00000000000..cbd3ecf2f7b --- /dev/null +++ b/cmd/reva/test.go @@ -0,0 +1,99 @@ +// Copyright 2018-2023 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +package main + +import ( + "fmt" + "io" + "strconv" + "time" +) + +var testCommand = func() *command { + cmd := newCommand("teststorageperf") + cmd.Description = func() string { + return "Little performance test: upload/download/remove 1000 files into the directory /home/perftest. The source file is /tmp/1MFile" + } + cmd.Action = func(w ...io.Writer) error { + + start := time.Now() + + b, err := executeCommand(mkdirCommand(), "/home/testperf") + + if err != nil { + fmt.Println("Error doing mkdir: ", b, err) + return nil + } + + elapsedmkdir := time.Since(start) + + start = time.Now() + + for i := 0; i < 1000; i++ { + + b, err := executeCommand(uploadCommand(), "-protocol", "simple", "/tmp/1MFile", "/home/testperf/file-"+strconv.FormatInt(int64(i), 10)) + + if err != nil { + fmt.Printf("Error uploading file %d\n", i) + fmt.Println("Err:", b, err) + return nil + } + } + + elapsedupload := time.Since(start) + + start = time.Now() + + for i := 0; i < 1000; i++ { + + b, err := executeCommand(downloadCommand(), "/home/testperf/file-"+strconv.FormatInt(int64(i), 10), "/tmp/1Mdeleteme") + + if err != nil { + fmt.Printf("Error downloading file %d\n", i) + fmt.Println("Err:", b, err) + return nil + } + } + + elapseddownload := time.Since(start) + + start = time.Now() + + for i := 0; i < 1000; i++ { + + b, err := executeCommand(rmCommand(), "/home/testperf/file-"+strconv.FormatInt(int64(i), 10)) + + if err != nil { + fmt.Printf("Error removing file %d\n", i) + fmt.Println("Err:", b, err) + return nil + } + } + + elapsedrm := time.Since(start) + + fmt.Printf("mkdir took %s \n", elapsedmkdir) + fmt.Printf("upload took %s \n", elapsedupload) + fmt.Printf("download took %s \n", elapseddownload) + fmt.Printf("rm took %s \n", elapsedrm) + + return nil + } + return cmd +} diff --git a/pkg/appctx/cleanctx.go b/pkg/appctx/cleanctx.go new file mode 100644 index 00000000000..b3a5ba3af99 --- /dev/null +++ b/pkg/appctx/cleanctx.go @@ -0,0 +1,51 @@ +// Copyright 2018-2023 CERN +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// In applying this license, CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +package appctx + +import ( + "context" + "time" +) + +type cleanCtx struct { + ctx context.Context +} + +// ContextGetClean returns a new, clean context derived by the given one. +func ContextGetClean(ctx context.Context) context.Context { + return cleanCtx{ + ctx: ctx, + } +} + +func (c cleanCtx) Deadline() (time.Time, bool) { + return c.ctx.Deadline() +} + +func (c cleanCtx) Done() <-chan struct{} { + return c.ctx.Done() +} + +func (c cleanCtx) Err() error { + return c.ctx.Err() +} + +func (c cleanCtx) Value(key any) any { + return nil +} diff --git a/pkg/eosclient/eosgrpc/eos_grpc/README.protoc b/pkg/eosclient/eosgrpc/eos_grpc/README.protoc new file mode 100644 index 00000000000..daaaa67ef79 --- /dev/null +++ b/pkg/eosclient/eosgrpc/eos_grpc/README.protoc @@ -0,0 +1,10 @@ +To compile the eos binding into go code: + +protoc --go_out=. ./Rpc.proto +protoc ./Rpc.proto --go_out=plugins=grpc:. + + +NOTE: we have to do this here in order to be sure that a compatible protoc compiler is used. +Having a CI somewhere compiling this does NOT guarantee that the same golang and protoc will be used, +and this has created lots of problems in the past + diff --git a/pkg/eosclient/eosgrpc/eos_grpc/Rpc.pb.go b/pkg/eosclient/eosgrpc/eos_grpc/Rpc.pb.go index d1650500e06..947e8d45c22 100644 --- a/pkg/eosclient/eosgrpc/eos_grpc/Rpc.pb.go +++ b/pkg/eosclient/eosgrpc/eos_grpc/Rpc.pb.go @@ -1,65 +1,28 @@ -// Copyright 2018-2023 CERN -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// In applying this license, CERN does not waive the privileges and immunities -// granted to it by virtue of its status as an Intergovernmental Organization -// or submit itself to any jurisdiction. - -// @project The CERN Tape Archive (CTA) -// @brief CTA-EOS gRPC API for CASTOR-EOS migration -// @copyright Copyright 2019 CERN -// @license This program is free software: you can redistribute it and/or -// modify -// it under the terms of the GNU General Public License as -// published by the Free Software Foundation, either version 3 -// of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be -// useful, but WITHOUT ANY WARRANTY; without even the implied -// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -// PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public -// License along with this program. If not, see -// . - -// NOTE: Compile for Go with: -// protoc ./eos_grpc.proto --go_out=plugins=grpc:. - // Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.21.7 // source: Rpc.proto package eos_grpc import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type TYPE int32 @@ -70,47 +33,26 @@ const ( TYPE_STAT TYPE = 3 ) -// Enum value maps for TYPE. -var ( - TYPE_name = map[int32]string{ - 0: "FILE", - 1: "CONTAINER", - 2: "LISTING", - 3: "STAT", - } - TYPE_value = map[string]int32{ - "FILE": 0, - "CONTAINER": 1, - "LISTING": 2, - "STAT": 3, - } -) - -func (x TYPE) Enum() *TYPE { - p := new(TYPE) - *p = x - return p +var TYPE_name = map[int32]string{ + 0: "FILE", + 1: "CONTAINER", + 2: "LISTING", + 3: "STAT", } -func (x TYPE) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TYPE) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[0].Descriptor() -} - -func (TYPE) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[0] +var TYPE_value = map[string]int32{ + "FILE": 0, + "CONTAINER": 1, + "LISTING": 2, + "STAT": 3, } -func (x TYPE) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x TYPE) String() string { + return proto.EnumName(TYPE_name, int32(x)) } -// Deprecated: Use TYPE.Descriptor instead. func (TYPE) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{0} + return fileDescriptor_979aee4989bceb08, []int{0} } type QUOTATYPE int32 @@ -121,45 +63,24 @@ const ( QUOTATYPE_PROJECT QUOTATYPE = 3 ) -// Enum value maps for QUOTATYPE. -var ( - QUOTATYPE_name = map[int32]string{ - 0: "USER", - 2: "GROUP", - 3: "PROJECT", - } - QUOTATYPE_value = map[string]int32{ - "USER": 0, - "GROUP": 2, - "PROJECT": 3, - } -) - -func (x QUOTATYPE) Enum() *QUOTATYPE { - p := new(QUOTATYPE) - *p = x - return p -} - -func (x QUOTATYPE) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (QUOTATYPE) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[1].Descriptor() +var QUOTATYPE_name = map[int32]string{ + 0: "USER", + 2: "GROUP", + 3: "PROJECT", } -func (QUOTATYPE) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[1] +var QUOTATYPE_value = map[string]int32{ + "USER": 0, + "GROUP": 2, + "PROJECT": 3, } -func (x QUOTATYPE) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x QUOTATYPE) String() string { + return proto.EnumName(QUOTATYPE_name, int32(x)) } -// Deprecated: Use QUOTATYPE.Descriptor instead. func (QUOTATYPE) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{1} + return fileDescriptor_979aee4989bceb08, []int{1} } type QUOTAOP int32 @@ -171,47 +92,26 @@ const ( QUOTAOP_RMNODE QUOTAOP = 3 ) -// Enum value maps for QUOTAOP. -var ( - QUOTAOP_name = map[int32]string{ - 0: "GET", - 1: "SET", - 2: "RM", - 3: "RMNODE", - } - QUOTAOP_value = map[string]int32{ - "GET": 0, - "SET": 1, - "RM": 2, - "RMNODE": 3, - } -) - -func (x QUOTAOP) Enum() *QUOTAOP { - p := new(QUOTAOP) - *p = x - return p -} - -func (x QUOTAOP) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (QUOTAOP) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[2].Descriptor() +var QUOTAOP_name = map[int32]string{ + 0: "GET", + 1: "SET", + 2: "RM", + 3: "RMNODE", } -func (QUOTAOP) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[2] +var QUOTAOP_value = map[string]int32{ + "GET": 0, + "SET": 1, + "RM": 2, + "RMNODE": 3, } -func (x QUOTAOP) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x QUOTAOP) String() string { + return proto.EnumName(QUOTAOP_name, int32(x)) } -// Deprecated: Use QUOTAOP.Descriptor instead. func (QUOTAOP) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{2} + return fileDescriptor_979aee4989bceb08, []int{2} } type QUOTAENTRY int32 @@ -222,45 +122,24 @@ const ( QUOTAENTRY_INODE QUOTAENTRY = 2 ) -// Enum value maps for QUOTAENTRY. -var ( - QUOTAENTRY_name = map[int32]string{ - 0: "NONE", - 1: "VOLUME", - 2: "INODE", - } - QUOTAENTRY_value = map[string]int32{ - "NONE": 0, - "VOLUME": 1, - "INODE": 2, - } -) - -func (x QUOTAENTRY) Enum() *QUOTAENTRY { - p := new(QUOTAENTRY) - *p = x - return p -} - -func (x QUOTAENTRY) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (QUOTAENTRY) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[3].Descriptor() +var QUOTAENTRY_name = map[int32]string{ + 0: "NONE", + 1: "VOLUME", + 2: "INODE", } -func (QUOTAENTRY) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[3] +var QUOTAENTRY_value = map[string]int32{ + "NONE": 0, + "VOLUME": 1, + "INODE": 2, } -func (x QUOTAENTRY) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x QUOTAENTRY) String() string { + return proto.EnumName(QUOTAENTRY_name, int32(x)) } -// Deprecated: Use QUOTAENTRY.Descriptor instead. func (QUOTAENTRY) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{3} + return fileDescriptor_979aee4989bceb08, []int{3} } type MANILA_REQUEST_TYPE int32 @@ -272,56 +151,35 @@ const ( MANILA_REQUEST_TYPE_SHRINK_SHARE MANILA_REQUEST_TYPE = 3 MANILA_REQUEST_TYPE_MANAGE_EXISTING MANILA_REQUEST_TYPE = 4 MANILA_REQUEST_TYPE_UNMANAGE MANILA_REQUEST_TYPE = 5 - MANILA_REQUEST_TYPE_GET_CAPACITIES MANILA_REQUEST_TYPE = 6 // EXTRA FUNCTIONS NOT IMPLEMENTED + MANILA_REQUEST_TYPE_GET_CAPACITIES MANILA_REQUEST_TYPE = 6 ) -// Enum value maps for MANILA_REQUEST_TYPE. -var ( - MANILA_REQUEST_TYPE_name = map[int32]string{ - 0: "CREATE_SHARE", - 1: "DELETE_SHARE", - 2: "EXTEND_SHARE", - 3: "SHRINK_SHARE", - 4: "MANAGE_EXISTING", - 5: "UNMANAGE", - 6: "GET_CAPACITIES", - } - MANILA_REQUEST_TYPE_value = map[string]int32{ - "CREATE_SHARE": 0, - "DELETE_SHARE": 1, - "EXTEND_SHARE": 2, - "SHRINK_SHARE": 3, - "MANAGE_EXISTING": 4, - "UNMANAGE": 5, - "GET_CAPACITIES": 6, - } -) - -func (x MANILA_REQUEST_TYPE) Enum() *MANILA_REQUEST_TYPE { - p := new(MANILA_REQUEST_TYPE) - *p = x - return p -} - -func (x MANILA_REQUEST_TYPE) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MANILA_REQUEST_TYPE) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[4].Descriptor() +var MANILA_REQUEST_TYPE_name = map[int32]string{ + 0: "CREATE_SHARE", + 1: "DELETE_SHARE", + 2: "EXTEND_SHARE", + 3: "SHRINK_SHARE", + 4: "MANAGE_EXISTING", + 5: "UNMANAGE", + 6: "GET_CAPACITIES", } -func (MANILA_REQUEST_TYPE) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[4] +var MANILA_REQUEST_TYPE_value = map[string]int32{ + "CREATE_SHARE": 0, + "DELETE_SHARE": 1, + "EXTEND_SHARE": 2, + "SHRINK_SHARE": 3, + "MANAGE_EXISTING": 4, + "UNMANAGE": 5, + "GET_CAPACITIES": 6, } -func (x MANILA_REQUEST_TYPE) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x MANILA_REQUEST_TYPE) String() string { + return proto.EnumName(MANILA_REQUEST_TYPE_name, int32(x)) } -// Deprecated: Use MANILA_REQUEST_TYPE.Descriptor instead. func (MANILA_REQUEST_TYPE) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{4} + return fileDescriptor_979aee4989bceb08, []int{4} } type NSRequest_VersionRequest_VERSION_CMD int32 @@ -333,47 +191,26 @@ const ( NSRequest_VersionRequest_GRAB NSRequest_VersionRequest_VERSION_CMD = 3 ) -// Enum value maps for NSRequest_VersionRequest_VERSION_CMD. -var ( - NSRequest_VersionRequest_VERSION_CMD_name = map[int32]string{ - 0: "CREATE", - 1: "PURGE", - 2: "LIST", - 3: "GRAB", - } - NSRequest_VersionRequest_VERSION_CMD_value = map[string]int32{ - "CREATE": 0, - "PURGE": 1, - "LIST": 2, - "GRAB": 3, - } -) - -func (x NSRequest_VersionRequest_VERSION_CMD) Enum() *NSRequest_VersionRequest_VERSION_CMD { - p := new(NSRequest_VersionRequest_VERSION_CMD) - *p = x - return p -} - -func (x NSRequest_VersionRequest_VERSION_CMD) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NSRequest_VersionRequest_VERSION_CMD) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[5].Descriptor() +var NSRequest_VersionRequest_VERSION_CMD_name = map[int32]string{ + 0: "CREATE", + 1: "PURGE", + 2: "LIST", + 3: "GRAB", } -func (NSRequest_VersionRequest_VERSION_CMD) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[5] +var NSRequest_VersionRequest_VERSION_CMD_value = map[string]int32{ + "CREATE": 0, + "PURGE": 1, + "LIST": 2, + "GRAB": 3, } -func (x NSRequest_VersionRequest_VERSION_CMD) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x NSRequest_VersionRequest_VERSION_CMD) String() string { + return proto.EnumName(NSRequest_VersionRequest_VERSION_CMD_name, int32(x)) } -// Deprecated: Use NSRequest_VersionRequest_VERSION_CMD.Descriptor instead. func (NSRequest_VersionRequest_VERSION_CMD) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 7, 0} + return fileDescriptor_979aee4989bceb08, []int{20, 7, 0} } type NSRequest_RecycleRequest_RECYCLE_CMD int32 @@ -384,45 +221,24 @@ const ( NSRequest_RecycleRequest_LIST NSRequest_RecycleRequest_RECYCLE_CMD = 2 ) -// Enum value maps for NSRequest_RecycleRequest_RECYCLE_CMD. -var ( - NSRequest_RecycleRequest_RECYCLE_CMD_name = map[int32]string{ - 0: "RESTORE", - 1: "PURGE", - 2: "LIST", - } - NSRequest_RecycleRequest_RECYCLE_CMD_value = map[string]int32{ - "RESTORE": 0, - "PURGE": 1, - "LIST": 2, - } -) - -func (x NSRequest_RecycleRequest_RECYCLE_CMD) Enum() *NSRequest_RecycleRequest_RECYCLE_CMD { - p := new(NSRequest_RecycleRequest_RECYCLE_CMD) - *p = x - return p -} - -func (x NSRequest_RecycleRequest_RECYCLE_CMD) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NSRequest_RecycleRequest_RECYCLE_CMD) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[6].Descriptor() +var NSRequest_RecycleRequest_RECYCLE_CMD_name = map[int32]string{ + 0: "RESTORE", + 1: "PURGE", + 2: "LIST", } -func (NSRequest_RecycleRequest_RECYCLE_CMD) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[6] +var NSRequest_RecycleRequest_RECYCLE_CMD_value = map[string]int32{ + "RESTORE": 0, + "PURGE": 1, + "LIST": 2, } -func (x NSRequest_RecycleRequest_RECYCLE_CMD) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x NSRequest_RecycleRequest_RECYCLE_CMD) String() string { + return proto.EnumName(NSRequest_RecycleRequest_RECYCLE_CMD_name, int32(x)) } -// Deprecated: Use NSRequest_RecycleRequest_RECYCLE_CMD.Descriptor instead. func (NSRequest_RecycleRequest_RECYCLE_CMD) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 8, 0} + return fileDescriptor_979aee4989bceb08, []int{20, 8, 0} } type NSRequest_AclRequest_ACL_COMMAND int32 @@ -433,45 +249,24 @@ const ( NSRequest_AclRequest_LIST NSRequest_AclRequest_ACL_COMMAND = 2 ) -// Enum value maps for NSRequest_AclRequest_ACL_COMMAND. -var ( - NSRequest_AclRequest_ACL_COMMAND_name = map[int32]string{ - 0: "NONE", - 1: "MODIFY", - 2: "LIST", - } - NSRequest_AclRequest_ACL_COMMAND_value = map[string]int32{ - "NONE": 0, - "MODIFY": 1, - "LIST": 2, - } -) - -func (x NSRequest_AclRequest_ACL_COMMAND) Enum() *NSRequest_AclRequest_ACL_COMMAND { - p := new(NSRequest_AclRequest_ACL_COMMAND) - *p = x - return p -} - -func (x NSRequest_AclRequest_ACL_COMMAND) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NSRequest_AclRequest_ACL_COMMAND) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[7].Descriptor() +var NSRequest_AclRequest_ACL_COMMAND_name = map[int32]string{ + 0: "NONE", + 1: "MODIFY", + 2: "LIST", } -func (NSRequest_AclRequest_ACL_COMMAND) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[7] +var NSRequest_AclRequest_ACL_COMMAND_value = map[string]int32{ + "NONE": 0, + "MODIFY": 1, + "LIST": 2, } -func (x NSRequest_AclRequest_ACL_COMMAND) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x NSRequest_AclRequest_ACL_COMMAND) String() string { + return proto.EnumName(NSRequest_AclRequest_ACL_COMMAND_name, int32(x)) } -// Deprecated: Use NSRequest_AclRequest_ACL_COMMAND.Descriptor instead. func (NSRequest_AclRequest_ACL_COMMAND) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 12, 0} + return fileDescriptor_979aee4989bceb08, []int{20, 12, 0} } type NSRequest_AclRequest_ACL_TYPE int32 @@ -481,95 +276,53 @@ const ( NSRequest_AclRequest_SYS_ACL NSRequest_AclRequest_ACL_TYPE = 1 ) -// Enum value maps for NSRequest_AclRequest_ACL_TYPE. -var ( - NSRequest_AclRequest_ACL_TYPE_name = map[int32]string{ - 0: "USER_ACL", - 1: "SYS_ACL", - } - NSRequest_AclRequest_ACL_TYPE_value = map[string]int32{ - "USER_ACL": 0, - "SYS_ACL": 1, - } -) - -func (x NSRequest_AclRequest_ACL_TYPE) Enum() *NSRequest_AclRequest_ACL_TYPE { - p := new(NSRequest_AclRequest_ACL_TYPE) - *p = x - return p -} - -func (x NSRequest_AclRequest_ACL_TYPE) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NSRequest_AclRequest_ACL_TYPE) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[8].Descriptor() +var NSRequest_AclRequest_ACL_TYPE_name = map[int32]string{ + 0: "USER_ACL", + 1: "SYS_ACL", } -func (NSRequest_AclRequest_ACL_TYPE) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[8] +var NSRequest_AclRequest_ACL_TYPE_value = map[string]int32{ + "USER_ACL": 0, + "SYS_ACL": 1, } -func (x NSRequest_AclRequest_ACL_TYPE) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x NSRequest_AclRequest_ACL_TYPE) String() string { + return proto.EnumName(NSRequest_AclRequest_ACL_TYPE_name, int32(x)) } -// Deprecated: Use NSRequest_AclRequest_ACL_TYPE.Descriptor instead. func (NSRequest_AclRequest_ACL_TYPE) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 12, 1} + return fileDescriptor_979aee4989bceb08, []int{20, 12, 1} } type NSRequest_ShareRequest_LsShare_OutFormat int32 const ( - NSRequest_ShareRequest_LsShare_NONE NSRequest_ShareRequest_LsShare_OutFormat = 0 // - NSRequest_ShareRequest_LsShare_MONITORING NSRequest_ShareRequest_LsShare_OutFormat = 1 // [-m] - NSRequest_ShareRequest_LsShare_LISTING NSRequest_ShareRequest_LsShare_OutFormat = 2 // [-l] - NSRequest_ShareRequest_LsShare_JSON NSRequest_ShareRequest_LsShare_OutFormat = 3 // [grpc] -) - -// Enum value maps for NSRequest_ShareRequest_LsShare_OutFormat. -var ( - NSRequest_ShareRequest_LsShare_OutFormat_name = map[int32]string{ - 0: "NONE", - 1: "MONITORING", - 2: "LISTING", - 3: "JSON", - } - NSRequest_ShareRequest_LsShare_OutFormat_value = map[string]int32{ - "NONE": 0, - "MONITORING": 1, - "LISTING": 2, - "JSON": 3, - } + NSRequest_ShareRequest_LsShare_NONE NSRequest_ShareRequest_LsShare_OutFormat = 0 + NSRequest_ShareRequest_LsShare_MONITORING NSRequest_ShareRequest_LsShare_OutFormat = 1 + NSRequest_ShareRequest_LsShare_LISTING NSRequest_ShareRequest_LsShare_OutFormat = 2 + NSRequest_ShareRequest_LsShare_JSON NSRequest_ShareRequest_LsShare_OutFormat = 3 ) -func (x NSRequest_ShareRequest_LsShare_OutFormat) Enum() *NSRequest_ShareRequest_LsShare_OutFormat { - p := new(NSRequest_ShareRequest_LsShare_OutFormat) - *p = x - return p -} - -func (x NSRequest_ShareRequest_LsShare_OutFormat) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NSRequest_ShareRequest_LsShare_OutFormat) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[9].Descriptor() +var NSRequest_ShareRequest_LsShare_OutFormat_name = map[int32]string{ + 0: "NONE", + 1: "MONITORING", + 2: "LISTING", + 3: "JSON", } -func (NSRequest_ShareRequest_LsShare_OutFormat) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[9] +var NSRequest_ShareRequest_LsShare_OutFormat_value = map[string]int32{ + "NONE": 0, + "MONITORING": 1, + "LISTING": 2, + "JSON": 3, } -func (x NSRequest_ShareRequest_LsShare_OutFormat) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x NSRequest_ShareRequest_LsShare_OutFormat) String() string { + return proto.EnumName(NSRequest_ShareRequest_LsShare_OutFormat_name, int32(x)) } -// Deprecated: Use NSRequest_ShareRequest_LsShare_OutFormat.Descriptor instead. func (NSRequest_ShareRequest_LsShare_OutFormat) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 15, 0, 0} + return fileDescriptor_979aee4989bceb08, []int{20, 15, 0, 0} } type NSRequest_ShareRequest_OperateShare_Op int32 @@ -583,51 +336,30 @@ const ( NSRequest_ShareRequest_OperateShare_MODIFY NSRequest_ShareRequest_OperateShare_Op = 5 ) -// Enum value maps for NSRequest_ShareRequest_OperateShare_Op. -var ( - NSRequest_ShareRequest_OperateShare_Op_name = map[int32]string{ - 0: "CREATE", - 1: "REMOVE", - 2: "SHARE", - 3: "UNSHARE", - 4: "ACCESS", - 5: "MODIFY", - } - NSRequest_ShareRequest_OperateShare_Op_value = map[string]int32{ - "CREATE": 0, - "REMOVE": 1, - "SHARE": 2, - "UNSHARE": 3, - "ACCESS": 4, - "MODIFY": 5, - } -) - -func (x NSRequest_ShareRequest_OperateShare_Op) Enum() *NSRequest_ShareRequest_OperateShare_Op { - p := new(NSRequest_ShareRequest_OperateShare_Op) - *p = x - return p -} - -func (x NSRequest_ShareRequest_OperateShare_Op) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (NSRequest_ShareRequest_OperateShare_Op) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[10].Descriptor() +var NSRequest_ShareRequest_OperateShare_Op_name = map[int32]string{ + 0: "CREATE", + 1: "REMOVE", + 2: "SHARE", + 3: "UNSHARE", + 4: "ACCESS", + 5: "MODIFY", } -func (NSRequest_ShareRequest_OperateShare_Op) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[10] +var NSRequest_ShareRequest_OperateShare_Op_value = map[string]int32{ + "CREATE": 0, + "REMOVE": 1, + "SHARE": 2, + "UNSHARE": 3, + "ACCESS": 4, + "MODIFY": 5, } -func (x NSRequest_ShareRequest_OperateShare_Op) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (x NSRequest_ShareRequest_OperateShare_Op) String() string { + return proto.EnumName(NSRequest_ShareRequest_OperateShare_Op_name, int32(x)) } -// Deprecated: Use NSRequest_ShareRequest_OperateShare_Op.Descriptor instead. func (NSRequest_ShareRequest_OperateShare_Op) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 15, 1, 0} + return fileDescriptor_979aee4989bceb08, []int{20, 15, 1, 0} } type NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE int32 @@ -637,1803 +369,1618 @@ const ( NSResponse_RecycleResponse_RecycleInfo_TREE NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE = 1 ) -// Enum value maps for NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE. -var ( - NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_name = map[int32]string{ - 0: "FILE", - 1: "TREE", - } - NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_value = map[string]int32{ - "FILE": 0, - "TREE": 1, - } -) +var NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_name = map[int32]string{ + 0: "FILE", + 1: "TREE", +} -func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Enum() *NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE { - p := new(NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) - *p = x - return p +var NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_value = map[string]int32{ + "FILE": 0, + "TREE": 1, } func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) + return proto.EnumName(NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_name, int32(x)) } -func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Descriptor() protoreflect.EnumDescriptor { - return file_Rpc_proto_enumTypes[11].Descriptor() +func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 2, 0, 0} } -func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Type() protoreflect.EnumType { - return &file_Rpc_proto_enumTypes[11] +type PingRequest struct { + Authkey string `protobuf:"bytes,1,opt,name=authkey,proto3" json:"authkey,omitempty"` + Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) +func (m *PingRequest) Reset() { *m = PingRequest{} } +func (m *PingRequest) String() string { return proto.CompactTextString(m) } +func (*PingRequest) ProtoMessage() {} +func (*PingRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{0} } -// Deprecated: Use NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE.Descriptor instead. -func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) EnumDescriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 2, 0, 0} +func (m *PingRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PingRequest.Unmarshal(m, b) } - -type PingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Authkey string `protobuf:"bytes,1,opt,name=authkey,proto3" json:"authkey,omitempty"` - Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PingRequest.Marshal(b, m, deterministic) } - -func (x *PingRequest) Reset() { - *x = PingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PingRequest.Merge(m, src) } - -func (x *PingRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PingRequest) XXX_Size() int { + return xxx_messageInfo_PingRequest.Size(m) } - -func (*PingRequest) ProtoMessage() {} - -func (x *PingRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PingRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PingRequest.DiscardUnknown(m) } -// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead. -func (*PingRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{0} -} +var xxx_messageInfo_PingRequest proto.InternalMessageInfo -func (x *PingRequest) GetAuthkey() string { - if x != nil { - return x.Authkey +func (m *PingRequest) GetAuthkey() string { + if m != nil { + return m.Authkey } return "" } -func (x *PingRequest) GetMessage() []byte { - if x != nil { - return x.Message +func (m *PingRequest) GetMessage() []byte { + if m != nil { + return m.Message } return nil } type PingReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *PingReply) Reset() { - *x = PingReply{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *PingReply) Reset() { *m = PingReply{} } +func (m *PingReply) String() string { return proto.CompactTextString(m) } +func (*PingReply) ProtoMessage() {} +func (*PingReply) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{1} } -func (x *PingReply) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *PingReply) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PingReply.Unmarshal(m, b) } - -func (*PingReply) ProtoMessage() {} - -func (x *PingReply) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *PingReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PingReply.Marshal(b, m, deterministic) } - -// Deprecated: Use PingReply.ProtoReflect.Descriptor instead. -func (*PingReply) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{1} +func (m *PingReply) XXX_Merge(src proto.Message) { + xxx_messageInfo_PingReply.Merge(m, src) +} +func (m *PingReply) XXX_Size() int { + return xxx_messageInfo_PingReply.Size(m) } +func (m *PingReply) XXX_DiscardUnknown() { + xxx_messageInfo_PingReply.DiscardUnknown(m) +} + +var xxx_messageInfo_PingReply proto.InternalMessageInfo -func (x *PingReply) GetMessage() []byte { - if x != nil { - return x.Message +func (m *PingReply) GetMessage() []byte { + if m != nil { + return m.Message } return nil } type ContainerInsertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Container []*ContainerMdProto `protobuf:"bytes,1,rep,name=container,proto3" json:"container,omitempty"` - Authkey string `protobuf:"bytes,2,opt,name=authkey,proto3" json:"authkey,omitempty"` - InheritMd bool `protobuf:"varint,3,opt,name=inherit_md,json=inheritMd,proto3" json:"inherit_md,omitempty"` + Container []*ContainerMdProto `protobuf:"bytes,1,rep,name=container,proto3" json:"container,omitempty"` + Authkey string `protobuf:"bytes,2,opt,name=authkey,proto3" json:"authkey,omitempty"` + InheritMd bool `protobuf:"varint,3,opt,name=inherit_md,json=inheritMd,proto3" json:"inherit_md,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ContainerInsertRequest) Reset() { - *x = ContainerInsertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ContainerInsertRequest) Reset() { *m = ContainerInsertRequest{} } +func (m *ContainerInsertRequest) String() string { return proto.CompactTextString(m) } +func (*ContainerInsertRequest) ProtoMessage() {} +func (*ContainerInsertRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{2} } -func (x *ContainerInsertRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ContainerInsertRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContainerInsertRequest.Unmarshal(m, b) } - -func (*ContainerInsertRequest) ProtoMessage() {} - -func (x *ContainerInsertRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ContainerInsertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContainerInsertRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use ContainerInsertRequest.ProtoReflect.Descriptor instead. -func (*ContainerInsertRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{2} +func (m *ContainerInsertRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerInsertRequest.Merge(m, src) +} +func (m *ContainerInsertRequest) XXX_Size() int { + return xxx_messageInfo_ContainerInsertRequest.Size(m) } +func (m *ContainerInsertRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerInsertRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerInsertRequest proto.InternalMessageInfo -func (x *ContainerInsertRequest) GetContainer() []*ContainerMdProto { - if x != nil { - return x.Container +func (m *ContainerInsertRequest) GetContainer() []*ContainerMdProto { + if m != nil { + return m.Container } return nil } -func (x *ContainerInsertRequest) GetAuthkey() string { - if x != nil { - return x.Authkey +func (m *ContainerInsertRequest) GetAuthkey() string { + if m != nil { + return m.Authkey } return "" } -func (x *ContainerInsertRequest) GetInheritMd() bool { - if x != nil { - return x.InheritMd +func (m *ContainerInsertRequest) GetInheritMd() bool { + if m != nil { + return m.InheritMd } return false } type FileInsertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Files []*FileMdProto `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - Authkey string `protobuf:"bytes,2,opt,name=authkey,proto3" json:"authkey,omitempty"` + Files []*FileMdProto `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` + Authkey string `protobuf:"bytes,2,opt,name=authkey,proto3" json:"authkey,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *FileInsertRequest) Reset() { - *x = FileInsertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FileInsertRequest) Reset() { *m = FileInsertRequest{} } +func (m *FileInsertRequest) String() string { return proto.CompactTextString(m) } +func (*FileInsertRequest) ProtoMessage() {} +func (*FileInsertRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{3} } -func (x *FileInsertRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FileInsertRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FileInsertRequest.Unmarshal(m, b) } - -func (*FileInsertRequest) ProtoMessage() {} - -func (x *FileInsertRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FileInsertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FileInsertRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use FileInsertRequest.ProtoReflect.Descriptor instead. -func (*FileInsertRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{3} +func (m *FileInsertRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FileInsertRequest.Merge(m, src) +} +func (m *FileInsertRequest) XXX_Size() int { + return xxx_messageInfo_FileInsertRequest.Size(m) } +func (m *FileInsertRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FileInsertRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FileInsertRequest proto.InternalMessageInfo -func (x *FileInsertRequest) GetFiles() []*FileMdProto { - if x != nil { - return x.Files +func (m *FileInsertRequest) GetFiles() []*FileMdProto { + if m != nil { + return m.Files } return nil } -func (x *FileInsertRequest) GetAuthkey() string { - if x != nil { - return x.Authkey +func (m *FileInsertRequest) GetAuthkey() string { + if m != nil { + return m.Authkey } return "" } type InsertReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message []string `protobuf:"bytes,1,rep,name=message,proto3" json:"message,omitempty"` - Retc []uint32 `protobuf:"varint,2,rep,packed,name=retc,proto3" json:"retc,omitempty"` + Message []string `protobuf:"bytes,1,rep,name=message,proto3" json:"message,omitempty"` + Retc []uint32 `protobuf:"varint,2,rep,packed,name=retc,proto3" json:"retc,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *InsertReply) Reset() { - *x = InsertReply{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *InsertReply) Reset() { *m = InsertReply{} } +func (m *InsertReply) String() string { return proto.CompactTextString(m) } +func (*InsertReply) ProtoMessage() {} +func (*InsertReply) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{4} } -func (x *InsertReply) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *InsertReply) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InsertReply.Unmarshal(m, b) } - -func (*InsertReply) ProtoMessage() {} - -func (x *InsertReply) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *InsertReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InsertReply.Marshal(b, m, deterministic) } - -// Deprecated: Use InsertReply.ProtoReflect.Descriptor instead. -func (*InsertReply) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{4} +func (m *InsertReply) XXX_Merge(src proto.Message) { + xxx_messageInfo_InsertReply.Merge(m, src) +} +func (m *InsertReply) XXX_Size() int { + return xxx_messageInfo_InsertReply.Size(m) +} +func (m *InsertReply) XXX_DiscardUnknown() { + xxx_messageInfo_InsertReply.DiscardUnknown(m) } -func (x *InsertReply) GetMessage() []string { - if x != nil { - return x.Message +var xxx_messageInfo_InsertReply proto.InternalMessageInfo + +func (m *InsertReply) GetMessage() []string { + if m != nil { + return m.Message } return nil } -func (x *InsertReply) GetRetc() []uint32 { - if x != nil { - return x.Retc +func (m *InsertReply) GetRetc() []uint32 { + if m != nil { + return m.Retc } return nil } type Time struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sec uint64 `protobuf:"varint,1,opt,name=sec,proto3" json:"sec,omitempty"` - NSec uint64 `protobuf:"varint,2,opt,name=n_sec,json=nSec,proto3" json:"n_sec,omitempty"` + Sec uint64 `protobuf:"varint,1,opt,name=sec,proto3" json:"sec,omitempty"` + NSec uint64 `protobuf:"varint,2,opt,name=n_sec,json=nSec,proto3" json:"n_sec,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Time) Reset() { - *x = Time{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Time) Reset() { *m = Time{} } +func (m *Time) String() string { return proto.CompactTextString(m) } +func (*Time) ProtoMessage() {} +func (*Time) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{5} } -func (x *Time) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Time) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Time.Unmarshal(m, b) } - -func (*Time) ProtoMessage() {} - -func (x *Time) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Time.Marshal(b, m, deterministic) } - -// Deprecated: Use Time.ProtoReflect.Descriptor instead. -func (*Time) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{5} +func (m *Time) XXX_Merge(src proto.Message) { + xxx_messageInfo_Time.Merge(m, src) +} +func (m *Time) XXX_Size() int { + return xxx_messageInfo_Time.Size(m) } +func (m *Time) XXX_DiscardUnknown() { + xxx_messageInfo_Time.DiscardUnknown(m) +} + +var xxx_messageInfo_Time proto.InternalMessageInfo -func (x *Time) GetSec() uint64 { - if x != nil { - return x.Sec +func (m *Time) GetSec() uint64 { + if m != nil { + return m.Sec } return 0 } -func (x *Time) GetNSec() uint64 { - if x != nil { - return x.NSec +func (m *Time) GetNSec() uint64 { + if m != nil { + return m.NSec } return 0 } type Checksum struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Checksum) Reset() { - *x = Checksum{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Checksum) Reset() { *m = Checksum{} } +func (m *Checksum) String() string { return proto.CompactTextString(m) } +func (*Checksum) ProtoMessage() {} +func (*Checksum) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{6} } -func (x *Checksum) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Checksum) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Checksum.Unmarshal(m, b) } - -func (*Checksum) ProtoMessage() {} - -func (x *Checksum) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *Checksum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Checksum.Marshal(b, m, deterministic) } - -// Deprecated: Use Checksum.ProtoReflect.Descriptor instead. -func (*Checksum) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{6} +func (m *Checksum) XXX_Merge(src proto.Message) { + xxx_messageInfo_Checksum.Merge(m, src) +} +func (m *Checksum) XXX_Size() int { + return xxx_messageInfo_Checksum.Size(m) +} +func (m *Checksum) XXX_DiscardUnknown() { + xxx_messageInfo_Checksum.DiscardUnknown(m) } -func (x *Checksum) GetValue() []byte { - if x != nil { - return x.Value +var xxx_messageInfo_Checksum proto.InternalMessageInfo + +func (m *Checksum) GetValue() []byte { + if m != nil { + return m.Value } return nil } -func (x *Checksum) GetType() string { - if x != nil { - return x.Type +func (m *Checksum) GetType() string { + if m != nil { + return m.Type } return "" } type FileMdProto struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - ContId uint64 `protobuf:"varint,2,opt,name=cont_id,json=contId,proto3" json:"cont_id,omitempty"` - Uid uint64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` - Gid uint64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"` - Size uint64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` - LayoutId uint32 `protobuf:"varint,6,opt,name=layout_id,json=layoutId,proto3" json:"layout_id,omitempty"` - Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"` - Name []byte `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` - LinkName []byte `protobuf:"bytes,9,opt,name=link_name,json=linkName,proto3" json:"link_name,omitempty"` - Ctime *Time `protobuf:"bytes,10,opt,name=ctime,proto3" json:"ctime,omitempty"` // change time - Mtime *Time `protobuf:"bytes,11,opt,name=mtime,proto3" json:"mtime,omitempty"` // modification time - Checksum *Checksum `protobuf:"bytes,12,opt,name=checksum,proto3" json:"checksum,omitempty"` - Locations []uint32 `protobuf:"varint,13,rep,packed,name=locations,proto3" json:"locations,omitempty"` - UnlinkLocations []uint32 `protobuf:"varint,14,rep,packed,name=unlink_locations,json=unlinkLocations,proto3" json:"unlink_locations,omitempty"` - Xattrs map[string][]byte `protobuf:"bytes,15,rep,name=xattrs,proto3" json:"xattrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Path []byte `protobuf:"bytes,16,opt,name=path,proto3" json:"path,omitempty"` - Etag string `protobuf:"bytes,17,opt,name=etag,proto3" json:"etag,omitempty"` - Inode uint64 `protobuf:"varint,18,opt,name=inode,proto3" json:"inode,omitempty"` -} - -func (x *FileMdProto) Reset() { - *x = FileMdProto{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FileMdProto) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FileMdProto) ProtoMessage() {} - -func (x *FileMdProto) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FileMdProto.ProtoReflect.Descriptor instead. + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + ContId uint64 `protobuf:"varint,2,opt,name=cont_id,json=contId,proto3" json:"cont_id,omitempty"` + Uid uint64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` + Gid uint64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"` + Size uint64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` + LayoutId uint32 `protobuf:"varint,6,opt,name=layout_id,json=layoutId,proto3" json:"layout_id,omitempty"` + Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"` + Name []byte `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` + LinkName []byte `protobuf:"bytes,9,opt,name=link_name,json=linkName,proto3" json:"link_name,omitempty"` + Ctime *Time `protobuf:"bytes,10,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime *Time `protobuf:"bytes,11,opt,name=mtime,proto3" json:"mtime,omitempty"` + Checksum *Checksum `protobuf:"bytes,12,opt,name=checksum,proto3" json:"checksum,omitempty"` + Locations []uint32 `protobuf:"varint,13,rep,packed,name=locations,proto3" json:"locations,omitempty"` + UnlinkLocations []uint32 `protobuf:"varint,14,rep,packed,name=unlink_locations,json=unlinkLocations,proto3" json:"unlink_locations,omitempty"` + Xattrs map[string][]byte `protobuf:"bytes,15,rep,name=xattrs,proto3" json:"xattrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Path []byte `protobuf:"bytes,16,opt,name=path,proto3" json:"path,omitempty"` + Etag string `protobuf:"bytes,17,opt,name=etag,proto3" json:"etag,omitempty"` + Inode uint64 `protobuf:"varint,18,opt,name=inode,proto3" json:"inode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FileMdProto) Reset() { *m = FileMdProto{} } +func (m *FileMdProto) String() string { return proto.CompactTextString(m) } +func (*FileMdProto) ProtoMessage() {} func (*FileMdProto) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{7} + return fileDescriptor_979aee4989bceb08, []int{7} +} + +func (m *FileMdProto) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FileMdProto.Unmarshal(m, b) +} +func (m *FileMdProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FileMdProto.Marshal(b, m, deterministic) +} +func (m *FileMdProto) XXX_Merge(src proto.Message) { + xxx_messageInfo_FileMdProto.Merge(m, src) +} +func (m *FileMdProto) XXX_Size() int { + return xxx_messageInfo_FileMdProto.Size(m) } +func (m *FileMdProto) XXX_DiscardUnknown() { + xxx_messageInfo_FileMdProto.DiscardUnknown(m) +} + +var xxx_messageInfo_FileMdProto proto.InternalMessageInfo -func (x *FileMdProto) GetId() uint64 { - if x != nil { - return x.Id +func (m *FileMdProto) GetId() uint64 { + if m != nil { + return m.Id } return 0 } -func (x *FileMdProto) GetContId() uint64 { - if x != nil { - return x.ContId +func (m *FileMdProto) GetContId() uint64 { + if m != nil { + return m.ContId } return 0 } -func (x *FileMdProto) GetUid() uint64 { - if x != nil { - return x.Uid +func (m *FileMdProto) GetUid() uint64 { + if m != nil { + return m.Uid } return 0 } -func (x *FileMdProto) GetGid() uint64 { - if x != nil { - return x.Gid +func (m *FileMdProto) GetGid() uint64 { + if m != nil { + return m.Gid } return 0 } -func (x *FileMdProto) GetSize() uint64 { - if x != nil { - return x.Size +func (m *FileMdProto) GetSize() uint64 { + if m != nil { + return m.Size } return 0 } -func (x *FileMdProto) GetLayoutId() uint32 { - if x != nil { - return x.LayoutId +func (m *FileMdProto) GetLayoutId() uint32 { + if m != nil { + return m.LayoutId } return 0 } -func (x *FileMdProto) GetFlags() uint32 { - if x != nil { - return x.Flags +func (m *FileMdProto) GetFlags() uint32 { + if m != nil { + return m.Flags } return 0 } -func (x *FileMdProto) GetName() []byte { - if x != nil { - return x.Name +func (m *FileMdProto) GetName() []byte { + if m != nil { + return m.Name } return nil } -func (x *FileMdProto) GetLinkName() []byte { - if x != nil { - return x.LinkName +func (m *FileMdProto) GetLinkName() []byte { + if m != nil { + return m.LinkName } return nil } -func (x *FileMdProto) GetCtime() *Time { - if x != nil { - return x.Ctime +func (m *FileMdProto) GetCtime() *Time { + if m != nil { + return m.Ctime } return nil } -func (x *FileMdProto) GetMtime() *Time { - if x != nil { - return x.Mtime +func (m *FileMdProto) GetMtime() *Time { + if m != nil { + return m.Mtime } return nil } -func (x *FileMdProto) GetChecksum() *Checksum { - if x != nil { - return x.Checksum +func (m *FileMdProto) GetChecksum() *Checksum { + if m != nil { + return m.Checksum } return nil } -func (x *FileMdProto) GetLocations() []uint32 { - if x != nil { - return x.Locations +func (m *FileMdProto) GetLocations() []uint32 { + if m != nil { + return m.Locations } return nil } -func (x *FileMdProto) GetUnlinkLocations() []uint32 { - if x != nil { - return x.UnlinkLocations +func (m *FileMdProto) GetUnlinkLocations() []uint32 { + if m != nil { + return m.UnlinkLocations } return nil } -func (x *FileMdProto) GetXattrs() map[string][]byte { - if x != nil { - return x.Xattrs +func (m *FileMdProto) GetXattrs() map[string][]byte { + if m != nil { + return m.Xattrs } return nil } -func (x *FileMdProto) GetPath() []byte { - if x != nil { - return x.Path +func (m *FileMdProto) GetPath() []byte { + if m != nil { + return m.Path } return nil } -func (x *FileMdProto) GetEtag() string { - if x != nil { - return x.Etag +func (m *FileMdProto) GetEtag() string { + if m != nil { + return m.Etag } return "" } -func (x *FileMdProto) GetInode() uint64 { - if x != nil { - return x.Inode +func (m *FileMdProto) GetInode() uint64 { + if m != nil { + return m.Inode } return 0 } type ContainerMdProto struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - ParentId uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` - Uid uint64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` - Gid uint64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"` - TreeSize int64 `protobuf:"varint,6,opt,name=tree_size,json=treeSize,proto3" json:"tree_size,omitempty"` - Mode uint32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` - Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"` - Name []byte `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` - Ctime *Time `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime,omitempty"` // change time - Mtime *Time `protobuf:"bytes,10,opt,name=mtime,proto3" json:"mtime,omitempty"` // modification time - Stime *Time `protobuf:"bytes,11,opt,name=stime,proto3" json:"stime,omitempty"` // sync time - Xattrs map[string][]byte `protobuf:"bytes,12,rep,name=xattrs,proto3" json:"xattrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Path []byte `protobuf:"bytes,13,opt,name=path,proto3" json:"path,omitempty"` - Etag string `protobuf:"bytes,14,opt,name=etag,proto3" json:"etag,omitempty"` - Inode uint64 `protobuf:"varint,15,opt,name=inode,proto3" json:"inode,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + ParentId uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` + Uid uint64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` + Gid uint64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"` + TreeSize int64 `protobuf:"varint,6,opt,name=tree_size,json=treeSize,proto3" json:"tree_size,omitempty"` + Mode uint32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` + Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"` + Name []byte `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` + Ctime *Time `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime *Time `protobuf:"bytes,10,opt,name=mtime,proto3" json:"mtime,omitempty"` + Stime *Time `protobuf:"bytes,11,opt,name=stime,proto3" json:"stime,omitempty"` + Xattrs map[string][]byte `protobuf:"bytes,12,rep,name=xattrs,proto3" json:"xattrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Path []byte `protobuf:"bytes,13,opt,name=path,proto3" json:"path,omitempty"` + Etag string `protobuf:"bytes,14,opt,name=etag,proto3" json:"etag,omitempty"` + Inode uint64 `protobuf:"varint,15,opt,name=inode,proto3" json:"inode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ContainerMdProto) Reset() { *m = ContainerMdProto{} } +func (m *ContainerMdProto) String() string { return proto.CompactTextString(m) } +func (*ContainerMdProto) ProtoMessage() {} +func (*ContainerMdProto) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{8} } -func (x *ContainerMdProto) Reset() { - *x = ContainerMdProto{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ContainerMdProto) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContainerMdProto.Unmarshal(m, b) } - -func (x *ContainerMdProto) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ContainerMdProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContainerMdProto.Marshal(b, m, deterministic) } - -func (*ContainerMdProto) ProtoMessage() {} - -func (x *ContainerMdProto) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ContainerMdProto) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerMdProto.Merge(m, src) } - -// Deprecated: Use ContainerMdProto.ProtoReflect.Descriptor instead. -func (*ContainerMdProto) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{8} +func (m *ContainerMdProto) XXX_Size() int { + return xxx_messageInfo_ContainerMdProto.Size(m) +} +func (m *ContainerMdProto) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerMdProto.DiscardUnknown(m) } -func (x *ContainerMdProto) GetId() uint64 { - if x != nil { - return x.Id +var xxx_messageInfo_ContainerMdProto proto.InternalMessageInfo + +func (m *ContainerMdProto) GetId() uint64 { + if m != nil { + return m.Id } return 0 } -func (x *ContainerMdProto) GetParentId() uint64 { - if x != nil { - return x.ParentId +func (m *ContainerMdProto) GetParentId() uint64 { + if m != nil { + return m.ParentId } return 0 } -func (x *ContainerMdProto) GetUid() uint64 { - if x != nil { - return x.Uid +func (m *ContainerMdProto) GetUid() uint64 { + if m != nil { + return m.Uid } return 0 } -func (x *ContainerMdProto) GetGid() uint64 { - if x != nil { - return x.Gid +func (m *ContainerMdProto) GetGid() uint64 { + if m != nil { + return m.Gid } return 0 } -func (x *ContainerMdProto) GetTreeSize() int64 { - if x != nil { - return x.TreeSize +func (m *ContainerMdProto) GetTreeSize() int64 { + if m != nil { + return m.TreeSize } return 0 } -func (x *ContainerMdProto) GetMode() uint32 { - if x != nil { - return x.Mode +func (m *ContainerMdProto) GetMode() uint32 { + if m != nil { + return m.Mode } return 0 } -func (x *ContainerMdProto) GetFlags() uint32 { - if x != nil { - return x.Flags +func (m *ContainerMdProto) GetFlags() uint32 { + if m != nil { + return m.Flags } return 0 } -func (x *ContainerMdProto) GetName() []byte { - if x != nil { - return x.Name +func (m *ContainerMdProto) GetName() []byte { + if m != nil { + return m.Name } return nil } -func (x *ContainerMdProto) GetCtime() *Time { - if x != nil { - return x.Ctime +func (m *ContainerMdProto) GetCtime() *Time { + if m != nil { + return m.Ctime } return nil } -func (x *ContainerMdProto) GetMtime() *Time { - if x != nil { - return x.Mtime +func (m *ContainerMdProto) GetMtime() *Time { + if m != nil { + return m.Mtime } return nil } -func (x *ContainerMdProto) GetStime() *Time { - if x != nil { - return x.Stime +func (m *ContainerMdProto) GetStime() *Time { + if m != nil { + return m.Stime } return nil } -func (x *ContainerMdProto) GetXattrs() map[string][]byte { - if x != nil { - return x.Xattrs +func (m *ContainerMdProto) GetXattrs() map[string][]byte { + if m != nil { + return m.Xattrs } return nil } -func (x *ContainerMdProto) GetPath() []byte { - if x != nil { - return x.Path +func (m *ContainerMdProto) GetPath() []byte { + if m != nil { + return m.Path } return nil } -func (x *ContainerMdProto) GetEtag() string { - if x != nil { - return x.Etag +func (m *ContainerMdProto) GetEtag() string { + if m != nil { + return m.Etag } return "" } -func (x *ContainerMdProto) GetInode() uint64 { - if x != nil { - return x.Inode +func (m *ContainerMdProto) GetInode() uint64 { + if m != nil { + return m.Inode } return 0 } type QuotaProto struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // quota node path - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // associated name for the given type - Type QUOTATYPE `protobuf:"varint,3,opt,name=type,proto3,enum=eos.rpc.QUOTATYPE" json:"type,omitempty"` // user,group,project or all quota - Usedbytes uint64 `protobuf:"varint,4,opt,name=usedbytes,proto3" json:"usedbytes,omitempty"` // bytes used physical - Usedlogicalbytes uint64 `protobuf:"varint,5,opt,name=usedlogicalbytes,proto3" json:"usedlogicalbytes,omitempty"` // bytes used logical - Usedfiles uint64 `protobuf:"varint,6,opt,name=usedfiles,proto3" json:"usedfiles,omitempty"` // number of files used - Maxbytes uint64 `protobuf:"varint,7,opt,name=maxbytes,proto3" json:"maxbytes,omitempty"` // maximum number of bytes (volume quota) - Maxlogicalbytes uint64 `protobuf:"varint,8,opt,name=maxlogicalbytes,proto3" json:"maxlogicalbytes,omitempty"` // maximum number of logical bytes (logical volume quota) - Maxfiles uint64 `protobuf:"varint,9,opt,name=maxfiles,proto3" json:"maxfiles,omitempty"` // maximum number of files (inode quota) - Percentageusedbytes float32 `protobuf:"fixed32,10,opt,name=percentageusedbytes,proto3" json:"percentageusedbytes,omitempty"` // percentage of volume quota used from 0 to 100 - Percentageusedfiles float32 `protobuf:"fixed32,11,opt,name=percentageusedfiles,proto3" json:"percentageusedfiles,omitempty"` // percentag of inode quota used from 0 to 100 - Statusbytes string `protobuf:"bytes,12,opt,name=statusbytes,proto3" json:"statusbytes,omitempty"` // status string for volume quota ok,warning,exceeded - Statusfiles string `protobuf:"bytes,13,opt,name=statusfiles,proto3" json:"statusfiles,omitempty"` // status string for inode quota ok,warning,exceeded + Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Type QUOTATYPE `protobuf:"varint,3,opt,name=type,proto3,enum=eos.rpc.QUOTATYPE" json:"type,omitempty"` + Usedbytes uint64 `protobuf:"varint,4,opt,name=usedbytes,proto3" json:"usedbytes,omitempty"` + Usedlogicalbytes uint64 `protobuf:"varint,5,opt,name=usedlogicalbytes,proto3" json:"usedlogicalbytes,omitempty"` + Usedfiles uint64 `protobuf:"varint,6,opt,name=usedfiles,proto3" json:"usedfiles,omitempty"` + Maxbytes uint64 `protobuf:"varint,7,opt,name=maxbytes,proto3" json:"maxbytes,omitempty"` + Maxlogicalbytes uint64 `protobuf:"varint,8,opt,name=maxlogicalbytes,proto3" json:"maxlogicalbytes,omitempty"` + Maxfiles uint64 `protobuf:"varint,9,opt,name=maxfiles,proto3" json:"maxfiles,omitempty"` + Percentageusedbytes float32 `protobuf:"fixed32,10,opt,name=percentageusedbytes,proto3" json:"percentageusedbytes,omitempty"` + Percentageusedfiles float32 `protobuf:"fixed32,11,opt,name=percentageusedfiles,proto3" json:"percentageusedfiles,omitempty"` + Statusbytes string `protobuf:"bytes,12,opt,name=statusbytes,proto3" json:"statusbytes,omitempty"` + Statusfiles string `protobuf:"bytes,13,opt,name=statusfiles,proto3" json:"statusfiles,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QuotaProto) Reset() { *m = QuotaProto{} } +func (m *QuotaProto) String() string { return proto.CompactTextString(m) } +func (*QuotaProto) ProtoMessage() {} +func (*QuotaProto) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{9} } -func (x *QuotaProto) Reset() { - *x = QuotaProto{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *QuotaProto) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_QuotaProto.Unmarshal(m, b) } - -func (x *QuotaProto) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *QuotaProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_QuotaProto.Marshal(b, m, deterministic) } - -func (*QuotaProto) ProtoMessage() {} - -func (x *QuotaProto) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *QuotaProto) XXX_Merge(src proto.Message) { + xxx_messageInfo_QuotaProto.Merge(m, src) } - -// Deprecated: Use QuotaProto.ProtoReflect.Descriptor instead. -func (*QuotaProto) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{9} +func (m *QuotaProto) XXX_Size() int { + return xxx_messageInfo_QuotaProto.Size(m) +} +func (m *QuotaProto) XXX_DiscardUnknown() { + xxx_messageInfo_QuotaProto.DiscardUnknown(m) } -func (x *QuotaProto) GetPath() []byte { - if x != nil { - return x.Path +var xxx_messageInfo_QuotaProto proto.InternalMessageInfo + +func (m *QuotaProto) GetPath() []byte { + if m != nil { + return m.Path } return nil } -func (x *QuotaProto) GetName() string { - if x != nil { - return x.Name +func (m *QuotaProto) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *QuotaProto) GetType() QUOTATYPE { - if x != nil { - return x.Type +func (m *QuotaProto) GetType() QUOTATYPE { + if m != nil { + return m.Type } return QUOTATYPE_USER } -func (x *QuotaProto) GetUsedbytes() uint64 { - if x != nil { - return x.Usedbytes +func (m *QuotaProto) GetUsedbytes() uint64 { + if m != nil { + return m.Usedbytes } return 0 } -func (x *QuotaProto) GetUsedlogicalbytes() uint64 { - if x != nil { - return x.Usedlogicalbytes +func (m *QuotaProto) GetUsedlogicalbytes() uint64 { + if m != nil { + return m.Usedlogicalbytes } return 0 } -func (x *QuotaProto) GetUsedfiles() uint64 { - if x != nil { - return x.Usedfiles +func (m *QuotaProto) GetUsedfiles() uint64 { + if m != nil { + return m.Usedfiles } return 0 } -func (x *QuotaProto) GetMaxbytes() uint64 { - if x != nil { - return x.Maxbytes +func (m *QuotaProto) GetMaxbytes() uint64 { + if m != nil { + return m.Maxbytes } return 0 } -func (x *QuotaProto) GetMaxlogicalbytes() uint64 { - if x != nil { - return x.Maxlogicalbytes +func (m *QuotaProto) GetMaxlogicalbytes() uint64 { + if m != nil { + return m.Maxlogicalbytes } return 0 } -func (x *QuotaProto) GetMaxfiles() uint64 { - if x != nil { - return x.Maxfiles +func (m *QuotaProto) GetMaxfiles() uint64 { + if m != nil { + return m.Maxfiles } return 0 } -func (x *QuotaProto) GetPercentageusedbytes() float32 { - if x != nil { - return x.Percentageusedbytes +func (m *QuotaProto) GetPercentageusedbytes() float32 { + if m != nil { + return m.Percentageusedbytes } return 0 } -func (x *QuotaProto) GetPercentageusedfiles() float32 { - if x != nil { - return x.Percentageusedfiles +func (m *QuotaProto) GetPercentageusedfiles() float32 { + if m != nil { + return m.Percentageusedfiles } return 0 } -func (x *QuotaProto) GetStatusbytes() string { - if x != nil { - return x.Statusbytes +func (m *QuotaProto) GetStatusbytes() string { + if m != nil { + return m.Statusbytes } return "" } -func (x *QuotaProto) GetStatusfiles() string { - if x != nil { - return x.Statusfiles +func (m *QuotaProto) GetStatusfiles() string { + if m != nil { + return m.Statusfiles } return "" } type RoleId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Uid uint64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` - Gid uint64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"` - Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` - Groupname string `protobuf:"bytes,4,opt,name=groupname,proto3" json:"groupname,omitempty"` + Uid uint64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` + Gid uint64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"` + Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` + Groupname string `protobuf:"bytes,4,opt,name=groupname,proto3" json:"groupname,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RoleId) Reset() { *m = RoleId{} } +func (m *RoleId) String() string { return proto.CompactTextString(m) } +func (*RoleId) ProtoMessage() {} +func (*RoleId) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{10} } -func (x *RoleId) Reset() { - *x = RoleId{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *RoleId) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RoleId.Unmarshal(m, b) } - -func (x *RoleId) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *RoleId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RoleId.Marshal(b, m, deterministic) } - -func (*RoleId) ProtoMessage() {} - -func (x *RoleId) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *RoleId) XXX_Merge(src proto.Message) { + xxx_messageInfo_RoleId.Merge(m, src) } - -// Deprecated: Use RoleId.ProtoReflect.Descriptor instead. -func (*RoleId) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{10} +func (m *RoleId) XXX_Size() int { + return xxx_messageInfo_RoleId.Size(m) +} +func (m *RoleId) XXX_DiscardUnknown() { + xxx_messageInfo_RoleId.DiscardUnknown(m) } -func (x *RoleId) GetUid() uint64 { - if x != nil { - return x.Uid +var xxx_messageInfo_RoleId proto.InternalMessageInfo + +func (m *RoleId) GetUid() uint64 { + if m != nil { + return m.Uid } return 0 } -func (x *RoleId) GetGid() uint64 { - if x != nil { - return x.Gid +func (m *RoleId) GetGid() uint64 { + if m != nil { + return m.Gid } return 0 } -func (x *RoleId) GetUsername() string { - if x != nil { - return x.Username +func (m *RoleId) GetUsername() string { + if m != nil { + return m.Username } return "" } -func (x *RoleId) GetGroupname() string { - if x != nil { - return x.Groupname +func (m *RoleId) GetGroupname() string { + if m != nil { + return m.Groupname } return "" } type MDId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Id uint64 `protobuf:"fixed64,2,opt,name=id,proto3" json:"id,omitempty"` - Ino uint64 `protobuf:"fixed64,3,opt,name=ino,proto3" json:"ino,omitempty"` - Type TYPE `protobuf:"varint,4,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` + Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Id uint64 `protobuf:"fixed64,2,opt,name=id,proto3" json:"id,omitempty"` + Ino uint64 `protobuf:"fixed64,3,opt,name=ino,proto3" json:"ino,omitempty"` + Type TYPE `protobuf:"varint,4,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MDId) Reset() { *m = MDId{} } +func (m *MDId) String() string { return proto.CompactTextString(m) } +func (*MDId) ProtoMessage() {} +func (*MDId) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{11} } -func (x *MDId) Reset() { - *x = MDId{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MDId) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MDId.Unmarshal(m, b) } - -func (x *MDId) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MDId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MDId.Marshal(b, m, deterministic) } - -func (*MDId) ProtoMessage() {} - -func (x *MDId) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MDId) XXX_Merge(src proto.Message) { + xxx_messageInfo_MDId.Merge(m, src) } - -// Deprecated: Use MDId.ProtoReflect.Descriptor instead. -func (*MDId) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{11} +func (m *MDId) XXX_Size() int { + return xxx_messageInfo_MDId.Size(m) } +func (m *MDId) XXX_DiscardUnknown() { + xxx_messageInfo_MDId.DiscardUnknown(m) +} + +var xxx_messageInfo_MDId proto.InternalMessageInfo -func (x *MDId) GetPath() []byte { - if x != nil { - return x.Path +func (m *MDId) GetPath() []byte { + if m != nil { + return m.Path } return nil } -func (x *MDId) GetId() uint64 { - if x != nil { - return x.Id +func (m *MDId) GetId() uint64 { + if m != nil { + return m.Id } return 0 } -func (x *MDId) GetIno() uint64 { - if x != nil { - return x.Ino +func (m *MDId) GetIno() uint64 { + if m != nil { + return m.Ino } return 0 } -func (x *MDId) GetType() TYPE { - if x != nil { - return x.Type +func (m *MDId) GetType() TYPE { + if m != nil { + return m.Type } return TYPE_FILE } type Limit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Zero bool `protobuf:"varint,1,opt,name=zero,proto3" json:"zero,omitempty"` - Min uint64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` - Max uint64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` + Zero bool `protobuf:"varint,1,opt,name=zero,proto3" json:"zero,omitempty"` + Min uint64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` + Max uint64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *Limit) Reset() { - *x = Limit{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *Limit) Reset() { *m = Limit{} } +func (m *Limit) String() string { return proto.CompactTextString(m) } +func (*Limit) ProtoMessage() {} +func (*Limit) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{12} } -func (x *Limit) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *Limit) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Limit.Unmarshal(m, b) } - -func (*Limit) ProtoMessage() {} - -func (x *Limit) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *Limit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Limit.Marshal(b, m, deterministic) } - -// Deprecated: Use Limit.ProtoReflect.Descriptor instead. -func (*Limit) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{12} +func (m *Limit) XXX_Merge(src proto.Message) { + xxx_messageInfo_Limit.Merge(m, src) +} +func (m *Limit) XXX_Size() int { + return xxx_messageInfo_Limit.Size(m) +} +func (m *Limit) XXX_DiscardUnknown() { + xxx_messageInfo_Limit.DiscardUnknown(m) } -func (x *Limit) GetZero() bool { - if x != nil { - return x.Zero +var xxx_messageInfo_Limit proto.InternalMessageInfo + +func (m *Limit) GetZero() bool { + if m != nil { + return m.Zero } return false } -func (x *Limit) GetMin() uint64 { - if x != nil { - return x.Min +func (m *Limit) GetMin() uint64 { + if m != nil { + return m.Min } return 0 } -func (x *Limit) GetMax() uint64 { - if x != nil { - return x.Max +func (m *Limit) GetMax() uint64 { + if m != nil { + return m.Max } return 0 } type MDSelection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Select bool `protobuf:"varint,1,opt,name=select,proto3" json:"select,omitempty"` - Ctime *Limit `protobuf:"bytes,2,opt,name=ctime,proto3" json:"ctime,omitempty"` - Mtime *Limit `protobuf:"bytes,3,opt,name=mtime,proto3" json:"mtime,omitempty"` - Stime *Limit `protobuf:"bytes,4,opt,name=stime,proto3" json:"stime,omitempty"` - Size *Limit `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"` - Treesize *Limit `protobuf:"bytes,6,opt,name=treesize,proto3" json:"treesize,omitempty"` - Children *Limit `protobuf:"bytes,7,opt,name=children,proto3" json:"children,omitempty"` - Locations *Limit `protobuf:"bytes,8,opt,name=locations,proto3" json:"locations,omitempty"` - UnlinkedLocations *Limit `protobuf:"bytes,9,opt,name=unlinked_locations,json=unlinkedLocations,proto3" json:"unlinked_locations,omitempty"` - Layoutid uint64 `protobuf:"varint,10,opt,name=layoutid,proto3" json:"layoutid,omitempty"` - Flags uint64 `protobuf:"varint,11,opt,name=flags,proto3" json:"flags,omitempty"` - Symlink bool `protobuf:"varint,12,opt,name=symlink,proto3" json:"symlink,omitempty"` - Checksum *Checksum `protobuf:"bytes,13,opt,name=checksum,proto3" json:"checksum,omitempty"` - Owner uint32 `protobuf:"varint,14,opt,name=owner,proto3" json:"owner,omitempty"` - Group uint32 `protobuf:"varint,15,opt,name=group,proto3" json:"group,omitempty"` - OwnerRoot bool `protobuf:"varint,16,opt,name=owner_root,json=ownerRoot,proto3" json:"owner_root,omitempty"` - GroupRoot bool `protobuf:"varint,17,opt,name=group_root,json=groupRoot,proto3" json:"group_root,omitempty"` - RegexpFilename []byte `protobuf:"bytes,18,opt,name=regexp_filename,json=regexpFilename,proto3" json:"regexp_filename,omitempty"` - RegexpDirname []byte `protobuf:"bytes,19,opt,name=regexp_dirname,json=regexpDirname,proto3" json:"regexp_dirname,omitempty"` - Xattr map[string][]byte `protobuf:"bytes,20,rep,name=xattr,proto3" json:"xattr,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *MDSelection) Reset() { - *x = MDSelection{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MDSelection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MDSelection) ProtoMessage() {} - -func (x *MDSelection) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MDSelection.ProtoReflect.Descriptor instead. + Select bool `protobuf:"varint,1,opt,name=select,proto3" json:"select,omitempty"` + Ctime *Limit `protobuf:"bytes,2,opt,name=ctime,proto3" json:"ctime,omitempty"` + Mtime *Limit `protobuf:"bytes,3,opt,name=mtime,proto3" json:"mtime,omitempty"` + Stime *Limit `protobuf:"bytes,4,opt,name=stime,proto3" json:"stime,omitempty"` + Size *Limit `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"` + Treesize *Limit `protobuf:"bytes,6,opt,name=treesize,proto3" json:"treesize,omitempty"` + Children *Limit `protobuf:"bytes,7,opt,name=children,proto3" json:"children,omitempty"` + Locations *Limit `protobuf:"bytes,8,opt,name=locations,proto3" json:"locations,omitempty"` + UnlinkedLocations *Limit `protobuf:"bytes,9,opt,name=unlinked_locations,json=unlinkedLocations,proto3" json:"unlinked_locations,omitempty"` + Layoutid uint64 `protobuf:"varint,10,opt,name=layoutid,proto3" json:"layoutid,omitempty"` + Flags uint64 `protobuf:"varint,11,opt,name=flags,proto3" json:"flags,omitempty"` + Symlink bool `protobuf:"varint,12,opt,name=symlink,proto3" json:"symlink,omitempty"` + Checksum *Checksum `protobuf:"bytes,13,opt,name=checksum,proto3" json:"checksum,omitempty"` + Owner uint32 `protobuf:"varint,14,opt,name=owner,proto3" json:"owner,omitempty"` + Group uint32 `protobuf:"varint,15,opt,name=group,proto3" json:"group,omitempty"` + OwnerRoot bool `protobuf:"varint,16,opt,name=owner_root,json=ownerRoot,proto3" json:"owner_root,omitempty"` + GroupRoot bool `protobuf:"varint,17,opt,name=group_root,json=groupRoot,proto3" json:"group_root,omitempty"` + RegexpFilename []byte `protobuf:"bytes,18,opt,name=regexp_filename,json=regexpFilename,proto3" json:"regexp_filename,omitempty"` + RegexpDirname []byte `protobuf:"bytes,19,opt,name=regexp_dirname,json=regexpDirname,proto3" json:"regexp_dirname,omitempty"` + Xattr map[string][]byte `protobuf:"bytes,20,rep,name=xattr,proto3" json:"xattr,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MDSelection) Reset() { *m = MDSelection{} } +func (m *MDSelection) String() string { return proto.CompactTextString(m) } +func (*MDSelection) ProtoMessage() {} func (*MDSelection) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{13} + return fileDescriptor_979aee4989bceb08, []int{13} +} + +func (m *MDSelection) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MDSelection.Unmarshal(m, b) +} +func (m *MDSelection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MDSelection.Marshal(b, m, deterministic) +} +func (m *MDSelection) XXX_Merge(src proto.Message) { + xxx_messageInfo_MDSelection.Merge(m, src) +} +func (m *MDSelection) XXX_Size() int { + return xxx_messageInfo_MDSelection.Size(m) +} +func (m *MDSelection) XXX_DiscardUnknown() { + xxx_messageInfo_MDSelection.DiscardUnknown(m) } -func (x *MDSelection) GetSelect() bool { - if x != nil { - return x.Select +var xxx_messageInfo_MDSelection proto.InternalMessageInfo + +func (m *MDSelection) GetSelect() bool { + if m != nil { + return m.Select } return false } -func (x *MDSelection) GetCtime() *Limit { - if x != nil { - return x.Ctime +func (m *MDSelection) GetCtime() *Limit { + if m != nil { + return m.Ctime } return nil } -func (x *MDSelection) GetMtime() *Limit { - if x != nil { - return x.Mtime +func (m *MDSelection) GetMtime() *Limit { + if m != nil { + return m.Mtime } return nil } -func (x *MDSelection) GetStime() *Limit { - if x != nil { - return x.Stime +func (m *MDSelection) GetStime() *Limit { + if m != nil { + return m.Stime } return nil } -func (x *MDSelection) GetSize() *Limit { - if x != nil { - return x.Size +func (m *MDSelection) GetSize() *Limit { + if m != nil { + return m.Size } return nil } -func (x *MDSelection) GetTreesize() *Limit { - if x != nil { - return x.Treesize +func (m *MDSelection) GetTreesize() *Limit { + if m != nil { + return m.Treesize } return nil } -func (x *MDSelection) GetChildren() *Limit { - if x != nil { - return x.Children +func (m *MDSelection) GetChildren() *Limit { + if m != nil { + return m.Children } return nil } -func (x *MDSelection) GetLocations() *Limit { - if x != nil { - return x.Locations +func (m *MDSelection) GetLocations() *Limit { + if m != nil { + return m.Locations } return nil } -func (x *MDSelection) GetUnlinkedLocations() *Limit { - if x != nil { - return x.UnlinkedLocations +func (m *MDSelection) GetUnlinkedLocations() *Limit { + if m != nil { + return m.UnlinkedLocations } return nil } -func (x *MDSelection) GetLayoutid() uint64 { - if x != nil { - return x.Layoutid +func (m *MDSelection) GetLayoutid() uint64 { + if m != nil { + return m.Layoutid } return 0 } -func (x *MDSelection) GetFlags() uint64 { - if x != nil { - return x.Flags +func (m *MDSelection) GetFlags() uint64 { + if m != nil { + return m.Flags } return 0 } -func (x *MDSelection) GetSymlink() bool { - if x != nil { - return x.Symlink +func (m *MDSelection) GetSymlink() bool { + if m != nil { + return m.Symlink } return false } -func (x *MDSelection) GetChecksum() *Checksum { - if x != nil { - return x.Checksum +func (m *MDSelection) GetChecksum() *Checksum { + if m != nil { + return m.Checksum } return nil } -func (x *MDSelection) GetOwner() uint32 { - if x != nil { - return x.Owner +func (m *MDSelection) GetOwner() uint32 { + if m != nil { + return m.Owner } return 0 } -func (x *MDSelection) GetGroup() uint32 { - if x != nil { - return x.Group +func (m *MDSelection) GetGroup() uint32 { + if m != nil { + return m.Group } return 0 } -func (x *MDSelection) GetOwnerRoot() bool { - if x != nil { - return x.OwnerRoot +func (m *MDSelection) GetOwnerRoot() bool { + if m != nil { + return m.OwnerRoot } return false } -func (x *MDSelection) GetGroupRoot() bool { - if x != nil { - return x.GroupRoot +func (m *MDSelection) GetGroupRoot() bool { + if m != nil { + return m.GroupRoot } return false } -func (x *MDSelection) GetRegexpFilename() []byte { - if x != nil { - return x.RegexpFilename +func (m *MDSelection) GetRegexpFilename() []byte { + if m != nil { + return m.RegexpFilename } return nil } -func (x *MDSelection) GetRegexpDirname() []byte { - if x != nil { - return x.RegexpDirname +func (m *MDSelection) GetRegexpDirname() []byte { + if m != nil { + return m.RegexpDirname } return nil } -func (x *MDSelection) GetXattr() map[string][]byte { - if x != nil { - return x.Xattr +func (m *MDSelection) GetXattr() map[string][]byte { + if m != nil { + return m.Xattr } return nil } type MDRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` - Id *MDId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Authkey string `protobuf:"bytes,3,opt,name=authkey,proto3" json:"authkey,omitempty"` - Role *RoleId `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` - Selection *MDSelection `protobuf:"bytes,5,opt,name=selection,proto3" json:"selection,omitempty"` + Type TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` + Id *MDId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Authkey string `protobuf:"bytes,3,opt,name=authkey,proto3" json:"authkey,omitempty"` + Role *RoleId `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` + Selection *MDSelection `protobuf:"bytes,5,opt,name=selection,proto3" json:"selection,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MDRequest) Reset() { *m = MDRequest{} } +func (m *MDRequest) String() string { return proto.CompactTextString(m) } +func (*MDRequest) ProtoMessage() {} +func (*MDRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{14} } -func (x *MDRequest) Reset() { - *x = MDRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MDRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MDRequest.Unmarshal(m, b) } - -func (x *MDRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MDRequest.Marshal(b, m, deterministic) } - -func (*MDRequest) ProtoMessage() {} - -func (x *MDRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MDRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MDRequest.Merge(m, src) } - -// Deprecated: Use MDRequest.ProtoReflect.Descriptor instead. -func (*MDRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{14} +func (m *MDRequest) XXX_Size() int { + return xxx_messageInfo_MDRequest.Size(m) } +func (m *MDRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MDRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MDRequest proto.InternalMessageInfo -func (x *MDRequest) GetType() TYPE { - if x != nil { - return x.Type +func (m *MDRequest) GetType() TYPE { + if m != nil { + return m.Type } return TYPE_FILE } -func (x *MDRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *MDRequest) GetId() *MDId { + if m != nil { + return m.Id } return nil } -func (x *MDRequest) GetAuthkey() string { - if x != nil { - return x.Authkey +func (m *MDRequest) GetAuthkey() string { + if m != nil { + return m.Authkey } return "" } -func (x *MDRequest) GetRole() *RoleId { - if x != nil { - return x.Role +func (m *MDRequest) GetRole() *RoleId { + if m != nil { + return m.Role } return nil } -func (x *MDRequest) GetSelection() *MDSelection { - if x != nil { - return x.Selection +func (m *MDRequest) GetSelection() *MDSelection { + if m != nil { + return m.Selection } return nil } type MDResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` - Fmd *FileMdProto `protobuf:"bytes,2,opt,name=fmd,proto3" json:"fmd,omitempty"` - Cmd *ContainerMdProto `protobuf:"bytes,3,opt,name=cmd,proto3" json:"cmd,omitempty"` + Type TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` + Fmd *FileMdProto `protobuf:"bytes,2,opt,name=fmd,proto3" json:"fmd,omitempty"` + Cmd *ContainerMdProto `protobuf:"bytes,3,opt,name=cmd,proto3" json:"cmd,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *MDResponse) Reset() { - *x = MDResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *MDResponse) Reset() { *m = MDResponse{} } +func (m *MDResponse) String() string { return proto.CompactTextString(m) } +func (*MDResponse) ProtoMessage() {} +func (*MDResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{15} } -func (x *MDResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *MDResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MDResponse.Unmarshal(m, b) } - -func (*MDResponse) ProtoMessage() {} - -func (x *MDResponse) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *MDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MDResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use MDResponse.ProtoReflect.Descriptor instead. -func (*MDResponse) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{15} +func (m *MDResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MDResponse.Merge(m, src) +} +func (m *MDResponse) XXX_Size() int { + return xxx_messageInfo_MDResponse.Size(m) } +func (m *MDResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MDResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MDResponse proto.InternalMessageInfo -func (x *MDResponse) GetType() TYPE { - if x != nil { - return x.Type +func (m *MDResponse) GetType() TYPE { + if m != nil { + return m.Type } return TYPE_FILE } -func (x *MDResponse) GetFmd() *FileMdProto { - if x != nil { - return x.Fmd +func (m *MDResponse) GetFmd() *FileMdProto { + if m != nil { + return m.Fmd } return nil } -func (x *MDResponse) GetCmd() *ContainerMdProto { - if x != nil { - return x.Cmd +func (m *MDResponse) GetCmd() *ContainerMdProto { + if m != nil { + return m.Cmd } return nil } type FindRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` - Id *MDId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Role *RoleId `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` - Authkey string `protobuf:"bytes,4,opt,name=authkey,proto3" json:"authkey,omitempty"` - Maxdepth uint64 `protobuf:"varint,5,opt,name=maxdepth,proto3" json:"maxdepth,omitempty"` - Selection *MDSelection `protobuf:"bytes,6,opt,name=selection,proto3" json:"selection,omitempty"` + Type TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` + Id *MDId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Role *RoleId `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` + Authkey string `protobuf:"bytes,4,opt,name=authkey,proto3" json:"authkey,omitempty"` + Maxdepth uint64 `protobuf:"varint,5,opt,name=maxdepth,proto3" json:"maxdepth,omitempty"` + Selection *MDSelection `protobuf:"bytes,6,opt,name=selection,proto3" json:"selection,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindRequest) Reset() { *m = FindRequest{} } +func (m *FindRequest) String() string { return proto.CompactTextString(m) } +func (*FindRequest) ProtoMessage() {} +func (*FindRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{16} } -func (x *FindRequest) Reset() { - *x = FindRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *FindRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindRequest.Unmarshal(m, b) } - -func (x *FindRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *FindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindRequest.Marshal(b, m, deterministic) } - -func (*FindRequest) ProtoMessage() {} - -func (x *FindRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *FindRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindRequest.Merge(m, src) } - -// Deprecated: Use FindRequest.ProtoReflect.Descriptor instead. -func (*FindRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{16} +func (m *FindRequest) XXX_Size() int { + return xxx_messageInfo_FindRequest.Size(m) } +func (m *FindRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindRequest proto.InternalMessageInfo -func (x *FindRequest) GetType() TYPE { - if x != nil { - return x.Type +func (m *FindRequest) GetType() TYPE { + if m != nil { + return m.Type } return TYPE_FILE } -func (x *FindRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *FindRequest) GetId() *MDId { + if m != nil { + return m.Id } return nil } -func (x *FindRequest) GetRole() *RoleId { - if x != nil { - return x.Role +func (m *FindRequest) GetRole() *RoleId { + if m != nil { + return m.Role } return nil } -func (x *FindRequest) GetAuthkey() string { - if x != nil { - return x.Authkey +func (m *FindRequest) GetAuthkey() string { + if m != nil { + return m.Authkey } return "" } -func (x *FindRequest) GetMaxdepth() uint64 { - if x != nil { - return x.Maxdepth +func (m *FindRequest) GetMaxdepth() uint64 { + if m != nil { + return m.Maxdepth } return 0 } -func (x *FindRequest) GetSelection() *MDSelection { - if x != nil { - return x.Selection +func (m *FindRequest) GetSelection() *MDSelection { + if m != nil { + return m.Selection } return nil } type ShareAuth struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Prot string `protobuf:"bytes,1,opt,name=prot,proto3" json:"prot,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` + Prot string `protobuf:"bytes,1,opt,name=prot,proto3" json:"prot,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ShareAuth) Reset() { - *x = ShareAuth{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ShareAuth) Reset() { *m = ShareAuth{} } +func (m *ShareAuth) String() string { return proto.CompactTextString(m) } +func (*ShareAuth) ProtoMessage() {} +func (*ShareAuth) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{17} } -func (x *ShareAuth) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ShareAuth) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ShareAuth.Unmarshal(m, b) } - -func (*ShareAuth) ProtoMessage() {} - -func (x *ShareAuth) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ShareAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ShareAuth.Marshal(b, m, deterministic) } - -// Deprecated: Use ShareAuth.ProtoReflect.Descriptor instead. -func (*ShareAuth) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{17} +func (m *ShareAuth) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShareAuth.Merge(m, src) +} +func (m *ShareAuth) XXX_Size() int { + return xxx_messageInfo_ShareAuth.Size(m) +} +func (m *ShareAuth) XXX_DiscardUnknown() { + xxx_messageInfo_ShareAuth.DiscardUnknown(m) } -func (x *ShareAuth) GetProt() string { - if x != nil { - return x.Prot +var xxx_messageInfo_ShareAuth proto.InternalMessageInfo + +func (m *ShareAuth) GetProt() string { + if m != nil { + return m.Prot } return "" } -func (x *ShareAuth) GetName() string { - if x != nil { - return x.Name +func (m *ShareAuth) GetName() string { + if m != nil { + return m.Name } return "" } -func (x *ShareAuth) GetHost() string { - if x != nil { - return x.Host +func (m *ShareAuth) GetHost() string { + if m != nil { + return m.Host } return "" } type ShareProto struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Permission string `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` - Expires uint64 `protobuf:"varint,2,opt,name=expires,proto3" json:"expires,omitempty"` - Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` - Group string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"` - Generation uint64 `protobuf:"varint,5,opt,name=generation,proto3" json:"generation,omitempty"` - Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` - Allowtree bool `protobuf:"varint,7,opt,name=allowtree,proto3" json:"allowtree,omitempty"` - Vtoken string `protobuf:"bytes,8,opt,name=vtoken,proto3" json:"vtoken,omitempty"` - Origins []*ShareAuth `protobuf:"bytes,9,rep,name=origins,proto3" json:"origins,omitempty"` + Permission string `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` + Expires uint64 `protobuf:"varint,2,opt,name=expires,proto3" json:"expires,omitempty"` + Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` + Group string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"` + Generation uint64 `protobuf:"varint,5,opt,name=generation,proto3" json:"generation,omitempty"` + Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` + Allowtree bool `protobuf:"varint,7,opt,name=allowtree,proto3" json:"allowtree,omitempty"` + Vtoken string `protobuf:"bytes,8,opt,name=vtoken,proto3" json:"vtoken,omitempty"` + Origins []*ShareAuth `protobuf:"bytes,9,rep,name=origins,proto3" json:"origins,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ShareProto) Reset() { *m = ShareProto{} } +func (m *ShareProto) String() string { return proto.CompactTextString(m) } +func (*ShareProto) ProtoMessage() {} +func (*ShareProto) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{18} } -func (x *ShareProto) Reset() { - *x = ShareProto{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ShareProto) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ShareProto.Unmarshal(m, b) } - -func (x *ShareProto) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ShareProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ShareProto.Marshal(b, m, deterministic) } - -func (*ShareProto) ProtoMessage() {} - -func (x *ShareProto) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ShareProto) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShareProto.Merge(m, src) } - -// Deprecated: Use ShareProto.ProtoReflect.Descriptor instead. -func (*ShareProto) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{18} +func (m *ShareProto) XXX_Size() int { + return xxx_messageInfo_ShareProto.Size(m) +} +func (m *ShareProto) XXX_DiscardUnknown() { + xxx_messageInfo_ShareProto.DiscardUnknown(m) } -func (x *ShareProto) GetPermission() string { - if x != nil { - return x.Permission +var xxx_messageInfo_ShareProto proto.InternalMessageInfo + +func (m *ShareProto) GetPermission() string { + if m != nil { + return m.Permission } return "" } -func (x *ShareProto) GetExpires() uint64 { - if x != nil { - return x.Expires +func (m *ShareProto) GetExpires() uint64 { + if m != nil { + return m.Expires } return 0 } -func (x *ShareProto) GetOwner() string { - if x != nil { - return x.Owner +func (m *ShareProto) GetOwner() string { + if m != nil { + return m.Owner } return "" } -func (x *ShareProto) GetGroup() string { - if x != nil { - return x.Group +func (m *ShareProto) GetGroup() string { + if m != nil { + return m.Group } return "" } -func (x *ShareProto) GetGeneration() uint64 { - if x != nil { - return x.Generation +func (m *ShareProto) GetGeneration() uint64 { + if m != nil { + return m.Generation } return 0 } -func (x *ShareProto) GetPath() string { - if x != nil { - return x.Path +func (m *ShareProto) GetPath() string { + if m != nil { + return m.Path } return "" } -func (x *ShareProto) GetAllowtree() bool { - if x != nil { - return x.Allowtree +func (m *ShareProto) GetAllowtree() bool { + if m != nil { + return m.Allowtree } return false } -func (x *ShareProto) GetVtoken() string { - if x != nil { - return x.Vtoken +func (m *ShareProto) GetVtoken() string { + if m != nil { + return m.Vtoken } return "" } -func (x *ShareProto) GetOrigins() []*ShareAuth { - if x != nil { - return x.Origins +func (m *ShareProto) GetOrigins() []*ShareAuth { + if m != nil { + return m.Origins } return nil } type ShareToken struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Token *ShareProto `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` - Serialized []byte `protobuf:"bytes,3,opt,name=serialized,proto3" json:"serialized,omitempty"` - Seed int32 `protobuf:"varint,4,opt,name=seed,proto3" json:"seed,omitempty"` + Token *ShareProto `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` + Serialized []byte `protobuf:"bytes,3,opt,name=serialized,proto3" json:"serialized,omitempty"` + Seed int32 `protobuf:"varint,4,opt,name=seed,proto3" json:"seed,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ShareToken) Reset() { *m = ShareToken{} } +func (m *ShareToken) String() string { return proto.CompactTextString(m) } +func (*ShareToken) ProtoMessage() {} +func (*ShareToken) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{19} } -func (x *ShareToken) Reset() { - *x = ShareToken{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ShareToken) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ShareToken.Unmarshal(m, b) } - -func (x *ShareToken) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ShareToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ShareToken.Marshal(b, m, deterministic) } - -func (*ShareToken) ProtoMessage() {} - -func (x *ShareToken) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ShareToken) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShareToken.Merge(m, src) } - -// Deprecated: Use ShareToken.ProtoReflect.Descriptor instead. -func (*ShareToken) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{19} +func (m *ShareToken) XXX_Size() int { + return xxx_messageInfo_ShareToken.Size(m) +} +func (m *ShareToken) XXX_DiscardUnknown() { + xxx_messageInfo_ShareToken.DiscardUnknown(m) } -func (x *ShareToken) GetToken() *ShareProto { - if x != nil { - return x.Token +var xxx_messageInfo_ShareToken proto.InternalMessageInfo + +func (m *ShareToken) GetToken() *ShareProto { + if m != nil { + return m.Token } return nil } -func (x *ShareToken) GetSignature() []byte { - if x != nil { - return x.Signature +func (m *ShareToken) GetSignature() []byte { + if m != nil { + return m.Signature } return nil } -func (x *ShareToken) GetSerialized() []byte { - if x != nil { - return x.Serialized +func (m *ShareToken) GetSerialized() []byte { + if m != nil { + return m.Serialized } return nil } -func (x *ShareToken) GetSeed() int32 { - if x != nil { - return x.Seed +func (m *ShareToken) GetSeed() int32 { + if m != nil { + return m.Seed } return 0 } type NSRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - Authkey string `protobuf:"bytes,1,opt,name=authkey,proto3" json:"authkey,omitempty"` Role *RoleId `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // Actual request data object // - // Types that are assignable to Command: + // Types that are valid to be assigned to Command: // // *NSRequest_Mkdir // *NSRequest_Rmdir @@ -2451,196 +1998,73 @@ type NSRequest struct { // *NSRequest_Token // *NSRequest_Quota // *NSRequest_Share - Command isNSRequest_Command `protobuf_oneof:"command"` + Command isNSRequest_Command `protobuf_oneof:"command"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NSRequest) Reset() { - *x = NSRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSRequest) Reset() { *m = NSRequest{} } +func (m *NSRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest) ProtoMessage() {} +func (*NSRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20} } -func (x *NSRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest.Unmarshal(m, b) } - -func (*NSRequest) ProtoMessage() {} - -func (x *NSRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *NSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use NSRequest.ProtoReflect.Descriptor instead. -func (*NSRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20} +func (m *NSRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest.Merge(m, src) } - -func (x *NSRequest) GetAuthkey() string { - if x != nil { - return x.Authkey - } - return "" +func (m *NSRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest.Size(m) +} +func (m *NSRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest.DiscardUnknown(m) } -func (x *NSRequest) GetRole() *RoleId { - if x != nil { - return x.Role +var xxx_messageInfo_NSRequest proto.InternalMessageInfo + +func (m *NSRequest) GetAuthkey() string { + if m != nil { + return m.Authkey } - return nil + return "" } -func (m *NSRequest) GetCommand() isNSRequest_Command { +func (m *NSRequest) GetRole() *RoleId { if m != nil { - return m.Command + return m.Role } return nil } -func (x *NSRequest) GetMkdir() *NSRequest_MkdirRequest { - if x, ok := x.GetCommand().(*NSRequest_Mkdir); ok { - return x.Mkdir - } - return nil +type isNSRequest_Command interface { + isNSRequest_Command() } -func (x *NSRequest) GetRmdir() *NSRequest_RmdirRequest { - if x, ok := x.GetCommand().(*NSRequest_Rmdir); ok { - return x.Rmdir - } - return nil +type NSRequest_Mkdir struct { + Mkdir *NSRequest_MkdirRequest `protobuf:"bytes,21,opt,name=mkdir,proto3,oneof"` } -func (x *NSRequest) GetTouch() *NSRequest_TouchRequest { - if x, ok := x.GetCommand().(*NSRequest_Touch); ok { - return x.Touch - } - return nil +type NSRequest_Rmdir struct { + Rmdir *NSRequest_RmdirRequest `protobuf:"bytes,22,opt,name=rmdir,proto3,oneof"` } -func (x *NSRequest) GetUnlink() *NSRequest_UnlinkRequest { - if x, ok := x.GetCommand().(*NSRequest_Unlink); ok { - return x.Unlink - } - return nil +type NSRequest_Touch struct { + Touch *NSRequest_TouchRequest `protobuf:"bytes,23,opt,name=touch,proto3,oneof"` } -func (x *NSRequest) GetRm() *NSRequest_RmRequest { - if x, ok := x.GetCommand().(*NSRequest_Rm); ok { - return x.Rm - } - return nil +type NSRequest_Unlink struct { + Unlink *NSRequest_UnlinkRequest `protobuf:"bytes,24,opt,name=unlink,proto3,oneof"` } -func (x *NSRequest) GetRename() *NSRequest_RenameRequest { - if x, ok := x.GetCommand().(*NSRequest_Rename); ok { - return x.Rename - } - return nil -} - -func (x *NSRequest) GetSymlink() *NSRequest_SymlinkRequest { - if x, ok := x.GetCommand().(*NSRequest_Symlink); ok { - return x.Symlink - } - return nil -} - -func (x *NSRequest) GetVersion() *NSRequest_VersionRequest { - if x, ok := x.GetCommand().(*NSRequest_Version); ok { - return x.Version - } - return nil -} - -func (x *NSRequest) GetRecycle() *NSRequest_RecycleRequest { - if x, ok := x.GetCommand().(*NSRequest_Recycle); ok { - return x.Recycle - } - return nil -} - -func (x *NSRequest) GetXattr() *NSRequest_SetXAttrRequest { - if x, ok := x.GetCommand().(*NSRequest_Xattr); ok { - return x.Xattr - } - return nil -} - -func (x *NSRequest) GetChown() *NSRequest_ChownRequest { - if x, ok := x.GetCommand().(*NSRequest_Chown); ok { - return x.Chown - } - return nil -} - -func (x *NSRequest) GetChmod() *NSRequest_ChmodRequest { - if x, ok := x.GetCommand().(*NSRequest_Chmod); ok { - return x.Chmod - } - return nil -} - -func (x *NSRequest) GetAcl() *NSRequest_AclRequest { - if x, ok := x.GetCommand().(*NSRequest_Acl); ok { - return x.Acl - } - return nil -} - -func (x *NSRequest) GetToken() *NSRequest_TokenRequest { - if x, ok := x.GetCommand().(*NSRequest_Token); ok { - return x.Token - } - return nil -} - -func (x *NSRequest) GetQuota() *NSRequest_QuotaRequest { - if x, ok := x.GetCommand().(*NSRequest_Quota); ok { - return x.Quota - } - return nil -} - -func (x *NSRequest) GetShare() *NSRequest_ShareRequest { - if x, ok := x.GetCommand().(*NSRequest_Share); ok { - return x.Share - } - return nil -} - -type isNSRequest_Command interface { - isNSRequest_Command() -} - -type NSRequest_Mkdir struct { - Mkdir *NSRequest_MkdirRequest `protobuf:"bytes,21,opt,name=mkdir,proto3,oneof"` -} - -type NSRequest_Rmdir struct { - Rmdir *NSRequest_RmdirRequest `protobuf:"bytes,22,opt,name=rmdir,proto3,oneof"` -} - -type NSRequest_Touch struct { - Touch *NSRequest_TouchRequest `protobuf:"bytes,23,opt,name=touch,proto3,oneof"` -} - -type NSRequest_Unlink struct { - Unlink *NSRequest_UnlinkRequest `protobuf:"bytes,24,opt,name=unlink,proto3,oneof"` -} - -type NSRequest_Rm struct { - Rm *NSRequest_RmRequest `protobuf:"bytes,25,opt,name=rm,proto3,oneof"` +type NSRequest_Rm struct { + Rm *NSRequest_RmRequest `protobuf:"bytes,25,opt,name=rm,proto3,oneof"` } type NSRequest_Rename struct { @@ -2719,4131 +2143,3071 @@ func (*NSRequest_Quota) isNSRequest_Command() {} func (*NSRequest_Share) isNSRequest_Command() {} -type NSResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *NSRequest) GetCommand() isNSRequest_Command { + if m != nil { + return m.Command + } + return nil +} - Error *NSResponse_ErrorResponse `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - Version *NSResponse_VersionResponse `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Recycle *NSResponse_RecycleResponse `protobuf:"bytes,3,opt,name=recycle,proto3" json:"recycle,omitempty"` - Acl *NSResponse_AclResponse `protobuf:"bytes,4,opt,name=acl,proto3" json:"acl,omitempty"` - Quota *NSResponse_QuotaResponse `protobuf:"bytes,5,opt,name=quota,proto3" json:"quota,omitempty"` - Share *NSResponse_ShareResponse `protobuf:"bytes,6,opt,name=share,proto3" json:"share,omitempty"` +func (m *NSRequest) GetMkdir() *NSRequest_MkdirRequest { + if x, ok := m.GetCommand().(*NSRequest_Mkdir); ok { + return x.Mkdir + } + return nil } -func (x *NSResponse) Reset() { - *x = NSResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *NSRequest) GetRmdir() *NSRequest_RmdirRequest { + if x, ok := m.GetCommand().(*NSRequest_Rmdir); ok { + return x.Rmdir } + return nil } -func (x *NSResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest) GetTouch() *NSRequest_TouchRequest { + if x, ok := m.GetCommand().(*NSRequest_Touch); ok { + return x.Touch + } + return nil } -func (*NSResponse) ProtoMessage() {} +func (m *NSRequest) GetUnlink() *NSRequest_UnlinkRequest { + if x, ok := m.GetCommand().(*NSRequest_Unlink); ok { + return x.Unlink + } + return nil +} -func (x *NSResponse) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest) GetRm() *NSRequest_RmRequest { + if x, ok := m.GetCommand().(*NSRequest_Rm); ok { + return x.Rm } - return mi.MessageOf(x) + return nil } -// Deprecated: Use NSResponse.ProtoReflect.Descriptor instead. -func (*NSResponse) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21} +func (m *NSRequest) GetRename() *NSRequest_RenameRequest { + if x, ok := m.GetCommand().(*NSRequest_Rename); ok { + return x.Rename + } + return nil } -func (x *NSResponse) GetError() *NSResponse_ErrorResponse { - if x != nil { - return x.Error +func (m *NSRequest) GetSymlink() *NSRequest_SymlinkRequest { + if x, ok := m.GetCommand().(*NSRequest_Symlink); ok { + return x.Symlink } return nil } -func (x *NSResponse) GetVersion() *NSResponse_VersionResponse { - if x != nil { +func (m *NSRequest) GetVersion() *NSRequest_VersionRequest { + if x, ok := m.GetCommand().(*NSRequest_Version); ok { return x.Version } return nil } -func (x *NSResponse) GetRecycle() *NSResponse_RecycleResponse { - if x != nil { +func (m *NSRequest) GetRecycle() *NSRequest_RecycleRequest { + if x, ok := m.GetCommand().(*NSRequest_Recycle); ok { return x.Recycle } return nil } -func (x *NSResponse) GetAcl() *NSResponse_AclResponse { - if x != nil { - return x.Acl +func (m *NSRequest) GetXattr() *NSRequest_SetXAttrRequest { + if x, ok := m.GetCommand().(*NSRequest_Xattr); ok { + return x.Xattr } return nil } -func (x *NSResponse) GetQuota() *NSResponse_QuotaResponse { - if x != nil { - return x.Quota +func (m *NSRequest) GetChown() *NSRequest_ChownRequest { + if x, ok := m.GetCommand().(*NSRequest_Chown); ok { + return x.Chown } return nil } -func (x *NSResponse) GetShare() *NSResponse_ShareResponse { - if x != nil { - return x.Share +func (m *NSRequest) GetChmod() *NSRequest_ChmodRequest { + if x, ok := m.GetCommand().(*NSRequest_Chmod); ok { + return x.Chmod } return nil } -type NsStatRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Authkey string `protobuf:"bytes,1,opt,name=authkey,proto3" json:"authkey,omitempty"` -} - -func (x *NsStatRequest) Reset() { - *x = NsStatRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *NSRequest) GetAcl() *NSRequest_AclRequest { + if x, ok := m.GetCommand().(*NSRequest_Acl); ok { + return x.Acl } + return nil } -func (x *NsStatRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest) GetToken() *NSRequest_TokenRequest { + if x, ok := m.GetCommand().(*NSRequest_Token); ok { + return x.Token + } + return nil } -func (*NsStatRequest) ProtoMessage() {} - -func (x *NsStatRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest) GetQuota() *NSRequest_QuotaRequest { + if x, ok := m.GetCommand().(*NSRequest_Quota); ok { + return x.Quota } - return mi.MessageOf(x) + return nil } -// Deprecated: Use NsStatRequest.ProtoReflect.Descriptor instead. -func (*NsStatRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{22} +func (m *NSRequest) GetShare() *NSRequest_ShareRequest { + if x, ok := m.GetCommand().(*NSRequest_Share); ok { + return x.Share + } + return nil } -func (x *NsStatRequest) GetAuthkey() string { - if x != nil { - return x.Authkey +// XXX_OneofWrappers is for the internal use of the proto package. +func (*NSRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*NSRequest_Mkdir)(nil), + (*NSRequest_Rmdir)(nil), + (*NSRequest_Touch)(nil), + (*NSRequest_Unlink)(nil), + (*NSRequest_Rm)(nil), + (*NSRequest_Rename)(nil), + (*NSRequest_Symlink)(nil), + (*NSRequest_Version)(nil), + (*NSRequest_Recycle)(nil), + (*NSRequest_Xattr)(nil), + (*NSRequest_Chown)(nil), + (*NSRequest_Chmod)(nil), + (*NSRequest_Acl)(nil), + (*NSRequest_Token)(nil), + (*NSRequest_Quota)(nil), + (*NSRequest_Share)(nil), } - return "" } -type NsStatResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Emsg string `protobuf:"bytes,2,opt,name=emsg,proto3" json:"emsg,omitempty"` - State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` - Nfiles uint64 `protobuf:"varint,4,opt,name=nfiles,proto3" json:"nfiles,omitempty"` - Ncontainers uint64 `protobuf:"varint,5,opt,name=ncontainers,proto3" json:"ncontainers,omitempty"` - BootTime uint64 `protobuf:"varint,6,opt,name=boot_time,json=bootTime,proto3" json:"boot_time,omitempty"` - CurrentFid uint64 `protobuf:"varint,7,opt,name=current_fid,json=currentFid,proto3" json:"current_fid,omitempty"` - CurrentCid uint64 `protobuf:"varint,8,opt,name=current_cid,json=currentCid,proto3" json:"current_cid,omitempty"` - MemVirtual uint64 `protobuf:"varint,9,opt,name=mem_virtual,json=memVirtual,proto3" json:"mem_virtual,omitempty"` - MemResident uint64 `protobuf:"varint,10,opt,name=mem_resident,json=memResident,proto3" json:"mem_resident,omitempty"` - MemShare uint64 `protobuf:"varint,11,opt,name=mem_share,json=memShare,proto3" json:"mem_share,omitempty"` - MemGrowth uint64 `protobuf:"varint,12,opt,name=mem_growth,json=memGrowth,proto3" json:"mem_growth,omitempty"` - Threads uint64 `protobuf:"varint,13,opt,name=threads,proto3" json:"threads,omitempty"` - Fds uint64 `protobuf:"varint,14,opt,name=fds,proto3" json:"fds,omitempty"` - Uptime uint64 `protobuf:"varint,15,opt,name=uptime,proto3" json:"uptime,omitempty"` +type NSRequest_MkdirRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` + Mode int64 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NsStatResponse) Reset() { - *x = NsStatResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSRequest_MkdirRequest) Reset() { *m = NSRequest_MkdirRequest{} } +func (m *NSRequest_MkdirRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_MkdirRequest) ProtoMessage() {} +func (*NSRequest_MkdirRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 0} } -func (x *NsStatResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest_MkdirRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_MkdirRequest.Unmarshal(m, b) } - -func (*NsStatResponse) ProtoMessage() {} - -func (x *NsStatResponse) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *NSRequest_MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_MkdirRequest.Marshal(b, m, deterministic) } - -// Deprecated: Use NsStatResponse.ProtoReflect.Descriptor instead. -func (*NsStatResponse) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{23} +func (m *NSRequest_MkdirRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_MkdirRequest.Merge(m, src) } - -func (x *NsStatResponse) GetCode() int64 { - if x != nil { - return x.Code - } - return 0 +func (m *NSRequest_MkdirRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_MkdirRequest.Size(m) } - -func (x *NsStatResponse) GetEmsg() string { - if x != nil { - return x.Emsg - } - return "" +func (m *NSRequest_MkdirRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_MkdirRequest.DiscardUnknown(m) } -func (x *NsStatResponse) GetState() string { - if x != nil { - return x.State - } - return "" -} +var xxx_messageInfo_NSRequest_MkdirRequest proto.InternalMessageInfo -func (x *NsStatResponse) GetNfiles() uint64 { - if x != nil { - return x.Nfiles +func (m *NSRequest_MkdirRequest) GetId() *MDId { + if m != nil { + return m.Id } - return 0 + return nil } -func (x *NsStatResponse) GetNcontainers() uint64 { - if x != nil { - return x.Ncontainers +func (m *NSRequest_MkdirRequest) GetRecursive() bool { + if m != nil { + return m.Recursive } - return 0 + return false } -func (x *NsStatResponse) GetBootTime() uint64 { - if x != nil { - return x.BootTime +func (m *NSRequest_MkdirRequest) GetMode() int64 { + if m != nil { + return m.Mode } return 0 } -func (x *NsStatResponse) GetCurrentFid() uint64 { - if x != nil { - return x.CurrentFid - } - return 0 +type NSRequest_RmdirRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NsStatResponse) GetCurrentCid() uint64 { - if x != nil { - return x.CurrentCid - } - return 0 +func (m *NSRequest_RmdirRequest) Reset() { *m = NSRequest_RmdirRequest{} } +func (m *NSRequest_RmdirRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_RmdirRequest) ProtoMessage() {} +func (*NSRequest_RmdirRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 1} } -func (x *NsStatResponse) GetMemVirtual() uint64 { - if x != nil { - return x.MemVirtual - } - return 0 +func (m *NSRequest_RmdirRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_RmdirRequest.Unmarshal(m, b) } - -func (x *NsStatResponse) GetMemResident() uint64 { - if x != nil { - return x.MemResident - } - return 0 +func (m *NSRequest_RmdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_RmdirRequest.Marshal(b, m, deterministic) } - -func (x *NsStatResponse) GetMemShare() uint64 { - if x != nil { - return x.MemShare - } - return 0 +func (m *NSRequest_RmdirRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_RmdirRequest.Merge(m, src) } - -func (x *NsStatResponse) GetMemGrowth() uint64 { - if x != nil { - return x.MemGrowth - } - return 0 +func (m *NSRequest_RmdirRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_RmdirRequest.Size(m) } - -func (x *NsStatResponse) GetThreads() uint64 { - if x != nil { - return x.Threads - } - return 0 +func (m *NSRequest_RmdirRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_RmdirRequest.DiscardUnknown(m) } -func (x *NsStatResponse) GetFds() uint64 { - if x != nil { - return x.Fds - } - return 0 -} +var xxx_messageInfo_NSRequest_RmdirRequest proto.InternalMessageInfo -func (x *NsStatResponse) GetUptime() uint64 { - if x != nil { - return x.Uptime +func (m *NSRequest_RmdirRequest) GetId() *MDId { + if m != nil { + return m.Id } - return 0 + return nil } -type ManilaRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RequestType MANILA_REQUEST_TYPE `protobuf:"varint,1,opt,name=request_type,json=requestType,proto3,enum=eos.rpc.MANILA_REQUEST_TYPE" json:"request_type,omitempty"` - AuthKey string `protobuf:"bytes,2,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"` - Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` - ShareName string `protobuf:"bytes,4,opt,name=share_name,json=shareName,proto3" json:"share_name,omitempty"` - Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - ShareId string `protobuf:"bytes,6,opt,name=share_id,json=shareId,proto3" json:"share_id,omitempty"` - ShareGroupId string `protobuf:"bytes,7,opt,name=share_group_id,json=shareGroupId,proto3" json:"share_group_id,omitempty"` - Quota int32 `protobuf:"varint,8,opt,name=quota,proto3" json:"quota,omitempty"` - Creator string `protobuf:"bytes,9,opt,name=creator,proto3" json:"creator,omitempty"` - Egroup string `protobuf:"bytes,10,opt,name=egroup,proto3" json:"egroup,omitempty"` - AdminEgroup string `protobuf:"bytes,11,opt,name=admin_egroup,json=adminEgroup,proto3" json:"admin_egroup,omitempty"` - ShareHost string `protobuf:"bytes,12,opt,name=share_host,json=shareHost,proto3" json:"share_host,omitempty"` - ShareLocation string `protobuf:"bytes,13,opt,name=share_location,json=shareLocation,proto3" json:"share_location,omitempty"` +type NSRequest_TouchRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ManilaRequest) Reset() { - *x = ManilaRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSRequest_TouchRequest) Reset() { *m = NSRequest_TouchRequest{} } +func (m *NSRequest_TouchRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_TouchRequest) ProtoMessage() {} +func (*NSRequest_TouchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 2} } -func (x *ManilaRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest_TouchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_TouchRequest.Unmarshal(m, b) +} +func (m *NSRequest_TouchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_TouchRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_TouchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_TouchRequest.Merge(m, src) +} +func (m *NSRequest_TouchRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_TouchRequest.Size(m) +} +func (m *NSRequest_TouchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_TouchRequest.DiscardUnknown(m) } -func (*ManilaRequest) ProtoMessage() {} +var xxx_messageInfo_NSRequest_TouchRequest proto.InternalMessageInfo -func (x *ManilaRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest_TouchRequest) GetId() *MDId { + if m != nil { + return m.Id } - return mi.MessageOf(x) + return nil } -// Deprecated: Use ManilaRequest.ProtoReflect.Descriptor instead. -func (*ManilaRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{24} +type NSRequest_UnlinkRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Norecycle bool `protobuf:"varint,3,opt,name=norecycle,proto3" json:"norecycle,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ManilaRequest) GetRequestType() MANILA_REQUEST_TYPE { - if x != nil { - return x.RequestType - } - return MANILA_REQUEST_TYPE_CREATE_SHARE +func (m *NSRequest_UnlinkRequest) Reset() { *m = NSRequest_UnlinkRequest{} } +func (m *NSRequest_UnlinkRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_UnlinkRequest) ProtoMessage() {} +func (*NSRequest_UnlinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 3} } -func (x *ManilaRequest) GetAuthKey() string { - if x != nil { - return x.AuthKey - } - return "" +func (m *NSRequest_UnlinkRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_UnlinkRequest.Unmarshal(m, b) } - -func (x *ManilaRequest) GetProtocol() string { - if x != nil { - return x.Protocol - } - return "" +func (m *NSRequest_UnlinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_UnlinkRequest.Marshal(b, m, deterministic) } - -func (x *ManilaRequest) GetShareName() string { - if x != nil { - return x.ShareName - } - return "" +func (m *NSRequest_UnlinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_UnlinkRequest.Merge(m, src) } - -func (x *ManilaRequest) GetDescription() string { - if x != nil { - return x.Description - } - return "" +func (m *NSRequest_UnlinkRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_UnlinkRequest.Size(m) } +func (m *NSRequest_UnlinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_UnlinkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NSRequest_UnlinkRequest proto.InternalMessageInfo -func (x *ManilaRequest) GetShareId() string { - if x != nil { - return x.ShareId +func (m *NSRequest_UnlinkRequest) GetId() *MDId { + if m != nil { + return m.Id } - return "" + return nil } -func (x *ManilaRequest) GetShareGroupId() string { - if x != nil { - return x.ShareGroupId +func (m *NSRequest_UnlinkRequest) GetNorecycle() bool { + if m != nil { + return m.Norecycle } - return "" + return false } -func (x *ManilaRequest) GetQuota() int32 { - if x != nil { - return x.Quota - } - return 0 +type NSRequest_RmRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` + Norecycle bool `protobuf:"varint,3,opt,name=norecycle,proto3" json:"norecycle,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ManilaRequest) GetCreator() string { - if x != nil { - return x.Creator - } - return "" +func (m *NSRequest_RmRequest) Reset() { *m = NSRequest_RmRequest{} } +func (m *NSRequest_RmRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_RmRequest) ProtoMessage() {} +func (*NSRequest_RmRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 4} } -func (x *ManilaRequest) GetEgroup() string { - if x != nil { - return x.Egroup - } - return "" +func (m *NSRequest_RmRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_RmRequest.Unmarshal(m, b) +} +func (m *NSRequest_RmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_RmRequest.Marshal(b, m, deterministic) } +func (m *NSRequest_RmRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_RmRequest.Merge(m, src) +} +func (m *NSRequest_RmRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_RmRequest.Size(m) +} +func (m *NSRequest_RmRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_RmRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NSRequest_RmRequest proto.InternalMessageInfo -func (x *ManilaRequest) GetAdminEgroup() string { - if x != nil { - return x.AdminEgroup +func (m *NSRequest_RmRequest) GetId() *MDId { + if m != nil { + return m.Id } - return "" + return nil } -func (x *ManilaRequest) GetShareHost() string { - if x != nil { - return x.ShareHost +func (m *NSRequest_RmRequest) GetRecursive() bool { + if m != nil { + return m.Recursive } - return "" + return false } -func (x *ManilaRequest) GetShareLocation() string { - if x != nil { - return x.ShareLocation +func (m *NSRequest_RmRequest) GetNorecycle() bool { + if m != nil { + return m.Norecycle } - return "" + return false } -type ManilaResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // for generic messages - Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // < 1 is an error -- > 1 is OK - TotalUsed int64 `protobuf:"varint,3,opt,name=total_used,json=totalUsed,proto3" json:"total_used,omitempty"` - TotalCapacity int64 `protobuf:"varint,4,opt,name=total_capacity,json=totalCapacity,proto3" json:"total_capacity,omitempty"` - NewShareQuota int64 `protobuf:"varint,5,opt,name=new_share_quota,json=newShareQuota,proto3" json:"new_share_quota,omitempty"` - NewSharePath string `protobuf:"bytes,6,opt,name=new_share_path,json=newSharePath,proto3" json:"new_share_path,omitempty"` +type NSRequest_RenameRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Target []byte `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *ManilaResponse) Reset() { - *x = ManilaResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSRequest_RenameRequest) Reset() { *m = NSRequest_RenameRequest{} } +func (m *NSRequest_RenameRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_RenameRequest) ProtoMessage() {} +func (*NSRequest_RenameRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 5} } -func (x *ManilaResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest_RenameRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_RenameRequest.Unmarshal(m, b) } - -func (*ManilaResponse) ProtoMessage() {} - -func (x *ManilaResponse) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest_RenameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_RenameRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_RenameRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_RenameRequest.Merge(m, src) +} +func (m *NSRequest_RenameRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_RenameRequest.Size(m) +} +func (m *NSRequest_RenameRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_RenameRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NSRequest_RenameRequest proto.InternalMessageInfo + +func (m *NSRequest_RenameRequest) GetId() *MDId { + if m != nil { + return m.Id } - return mi.MessageOf(x) + return nil } -// Deprecated: Use ManilaResponse.ProtoReflect.Descriptor instead. -func (*ManilaResponse) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{25} +func (m *NSRequest_RenameRequest) GetTarget() []byte { + if m != nil { + return m.Target + } + return nil +} + +type NSRequest_SymlinkRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Target []byte `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSRequest_SymlinkRequest) Reset() { *m = NSRequest_SymlinkRequest{} } +func (m *NSRequest_SymlinkRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_SymlinkRequest) ProtoMessage() {} +func (*NSRequest_SymlinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 6} } -func (x *ManilaResponse) GetMsg() string { - if x != nil { - return x.Msg +func (m *NSRequest_SymlinkRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_SymlinkRequest.Unmarshal(m, b) +} +func (m *NSRequest_SymlinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_SymlinkRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_SymlinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_SymlinkRequest.Merge(m, src) +} +func (m *NSRequest_SymlinkRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_SymlinkRequest.Size(m) +} +func (m *NSRequest_SymlinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_SymlinkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NSRequest_SymlinkRequest proto.InternalMessageInfo + +func (m *NSRequest_SymlinkRequest) GetId() *MDId { + if m != nil { + return m.Id } - return "" + return nil } -func (x *ManilaResponse) GetCode() int32 { - if x != nil { - return x.Code +func (m *NSRequest_SymlinkRequest) GetTarget() []byte { + if m != nil { + return m.Target } - return 0 + return nil } -func (x *ManilaResponse) GetTotalUsed() int64 { - if x != nil { - return x.TotalUsed +type NSRequest_VersionRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Cmd NSRequest_VersionRequest_VERSION_CMD `protobuf:"varint,2,opt,name=cmd,proto3,enum=eos.rpc.NSRequest_VersionRequest_VERSION_CMD" json:"cmd,omitempty"` + Maxversion int32 `protobuf:"varint,3,opt,name=maxversion,proto3" json:"maxversion,omitempty"` + Grabversion string `protobuf:"bytes,4,opt,name=grabversion,proto3" json:"grabversion,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSRequest_VersionRequest) Reset() { *m = NSRequest_VersionRequest{} } +func (m *NSRequest_VersionRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_VersionRequest) ProtoMessage() {} +func (*NSRequest_VersionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 7} +} + +func (m *NSRequest_VersionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_VersionRequest.Unmarshal(m, b) +} +func (m *NSRequest_VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_VersionRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_VersionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_VersionRequest.Merge(m, src) +} +func (m *NSRequest_VersionRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_VersionRequest.Size(m) +} +func (m *NSRequest_VersionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_VersionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NSRequest_VersionRequest proto.InternalMessageInfo + +func (m *NSRequest_VersionRequest) GetId() *MDId { + if m != nil { + return m.Id } - return 0 + return nil } -func (x *ManilaResponse) GetTotalCapacity() int64 { - if x != nil { - return x.TotalCapacity +func (m *NSRequest_VersionRequest) GetCmd() NSRequest_VersionRequest_VERSION_CMD { + if m != nil { + return m.Cmd } - return 0 + return NSRequest_VersionRequest_CREATE } -func (x *ManilaResponse) GetNewShareQuota() int64 { - if x != nil { - return x.NewShareQuota +func (m *NSRequest_VersionRequest) GetMaxversion() int32 { + if m != nil { + return m.Maxversion } return 0 } -func (x *ManilaResponse) GetNewSharePath() string { - if x != nil { - return x.NewSharePath +func (m *NSRequest_VersionRequest) GetGrabversion() string { + if m != nil { + return m.Grabversion } return "" } -type NSRequest_MkdirRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` - Mode int64 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` +type NSRequest_RecycleRequest struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Cmd NSRequest_RecycleRequest_RECYCLE_CMD `protobuf:"varint,2,opt,name=cmd,proto3,enum=eos.rpc.NSRequest_RecycleRequest_RECYCLE_CMD" json:"cmd,omitempty"` + Restoreflag *NSRequest_RecycleRequest_RestoreFlags `protobuf:"bytes,3,opt,name=restoreflag,proto3" json:"restoreflag,omitempty"` + Purgedate *NSRequest_RecycleRequest_PurgeDate `protobuf:"bytes,4,opt,name=purgedate,proto3" json:"purgedate,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSRequest_RecycleRequest) Reset() { *m = NSRequest_RecycleRequest{} } +func (m *NSRequest_RecycleRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_RecycleRequest) ProtoMessage() {} +func (*NSRequest_RecycleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 8} } -func (x *NSRequest_MkdirRequest) Reset() { - *x = NSRequest_MkdirRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSRequest_RecycleRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_RecycleRequest.Unmarshal(m, b) } - -func (x *NSRequest_MkdirRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest_RecycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_RecycleRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_RecycleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_RecycleRequest.Merge(m, src) +} +func (m *NSRequest_RecycleRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_RecycleRequest.Size(m) +} +func (m *NSRequest_RecycleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_RecycleRequest.DiscardUnknown(m) } -func (*NSRequest_MkdirRequest) ProtoMessage() {} +var xxx_messageInfo_NSRequest_RecycleRequest proto.InternalMessageInfo -func (x *NSRequest_MkdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest_RecycleRequest) GetKey() string { + if m != nil { + return m.Key } - return mi.MessageOf(x) + return "" } -// Deprecated: Use NSRequest_MkdirRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_MkdirRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 0} +func (m *NSRequest_RecycleRequest) GetCmd() NSRequest_RecycleRequest_RECYCLE_CMD { + if m != nil { + return m.Cmd + } + return NSRequest_RecycleRequest_RESTORE } -func (x *NSRequest_MkdirRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSRequest_RecycleRequest) GetRestoreflag() *NSRequest_RecycleRequest_RestoreFlags { + if m != nil { + return m.Restoreflag } return nil } -func (x *NSRequest_MkdirRequest) GetRecursive() bool { - if x != nil { - return x.Recursive +func (m *NSRequest_RecycleRequest) GetPurgedate() *NSRequest_RecycleRequest_PurgeDate { + if m != nil { + return m.Purgedate } - return false + return nil } -func (x *NSRequest_MkdirRequest) GetMode() int64 { - if x != nil { - return x.Mode - } - return 0 +type NSRequest_RecycleRequest_RestoreFlags struct { + Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"` + Mkpath bool `protobuf:"varint,2,opt,name=mkpath,proto3" json:"mkpath,omitempty"` + Versions bool `protobuf:"varint,3,opt,name=versions,proto3" json:"versions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -type NSRequest_RmdirRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +func (m *NSRequest_RecycleRequest_RestoreFlags) Reset() { *m = NSRequest_RecycleRequest_RestoreFlags{} } +func (m *NSRequest_RecycleRequest_RestoreFlags) String() string { return proto.CompactTextString(m) } +func (*NSRequest_RecycleRequest_RestoreFlags) ProtoMessage() {} +func (*NSRequest_RecycleRequest_RestoreFlags) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 8, 0} } -func (x *NSRequest_RmdirRequest) Reset() { - *x = NSRequest_RmdirRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSRequest_RecycleRequest_RestoreFlags) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_RecycleRequest_RestoreFlags.Unmarshal(m, b) } - -func (x *NSRequest_RmdirRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest_RecycleRequest_RestoreFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_RecycleRequest_RestoreFlags.Marshal(b, m, deterministic) +} +func (m *NSRequest_RecycleRequest_RestoreFlags) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_RecycleRequest_RestoreFlags.Merge(m, src) +} +func (m *NSRequest_RecycleRequest_RestoreFlags) XXX_Size() int { + return xxx_messageInfo_NSRequest_RecycleRequest_RestoreFlags.Size(m) +} +func (m *NSRequest_RecycleRequest_RestoreFlags) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_RecycleRequest_RestoreFlags.DiscardUnknown(m) } -func (*NSRequest_RmdirRequest) ProtoMessage() {} +var xxx_messageInfo_NSRequest_RecycleRequest_RestoreFlags proto.InternalMessageInfo -func (x *NSRequest_RmdirRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest_RecycleRequest_RestoreFlags) GetForce() bool { + if m != nil { + return m.Force } - return mi.MessageOf(x) + return false } -// Deprecated: Use NSRequest_RmdirRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_RmdirRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 1} +func (m *NSRequest_RecycleRequest_RestoreFlags) GetMkpath() bool { + if m != nil { + return m.Mkpath + } + return false } -func (x *NSRequest_RmdirRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSRequest_RecycleRequest_RestoreFlags) GetVersions() bool { + if m != nil { + return m.Versions } - return nil + return false } -type NSRequest_TouchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +type NSRequest_RecycleRequest_PurgeDate struct { + Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` + Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` + Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +func (m *NSRequest_RecycleRequest_PurgeDate) Reset() { *m = NSRequest_RecycleRequest_PurgeDate{} } +func (m *NSRequest_RecycleRequest_PurgeDate) String() string { return proto.CompactTextString(m) } +func (*NSRequest_RecycleRequest_PurgeDate) ProtoMessage() {} +func (*NSRequest_RecycleRequest_PurgeDate) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 8, 1} } -func (x *NSRequest_TouchRequest) Reset() { - *x = NSRequest_TouchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSRequest_RecycleRequest_PurgeDate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_RecycleRequest_PurgeDate.Unmarshal(m, b) +} +func (m *NSRequest_RecycleRequest_PurgeDate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_RecycleRequest_PurgeDate.Marshal(b, m, deterministic) +} +func (m *NSRequest_RecycleRequest_PurgeDate) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_RecycleRequest_PurgeDate.Merge(m, src) +} +func (m *NSRequest_RecycleRequest_PurgeDate) XXX_Size() int { + return xxx_messageInfo_NSRequest_RecycleRequest_PurgeDate.Size(m) +} +func (m *NSRequest_RecycleRequest_PurgeDate) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_RecycleRequest_PurgeDate.DiscardUnknown(m) } -func (x *NSRequest_TouchRequest) String() string { - return protoimpl.X.MessageStringOf(x) +var xxx_messageInfo_NSRequest_RecycleRequest_PurgeDate proto.InternalMessageInfo + +func (m *NSRequest_RecycleRequest_PurgeDate) GetYear() int32 { + if m != nil { + return m.Year + } + return 0 } -func (*NSRequest_TouchRequest) ProtoMessage() {} +func (m *NSRequest_RecycleRequest_PurgeDate) GetMonth() int32 { + if m != nil { + return m.Month + } + return 0 +} -func (x *NSRequest_TouchRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest_RecycleRequest_PurgeDate) GetDay() int32 { + if m != nil { + return m.Day } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use NSRequest_TouchRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_TouchRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 2} +type NSRequest_SetXAttrRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Xattrs map[string][]byte `protobuf:"bytes,2,rep,name=xattrs,proto3" json:"xattrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Recursive bool `protobuf:"varint,3,opt,name=recursive,proto3" json:"recursive,omitempty"` + Keystodelete []string `protobuf:"bytes,4,rep,name=keystodelete,proto3" json:"keystodelete,omitempty"` + Create bool `protobuf:"varint,5,opt,name=create,proto3" json:"create,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSRequest_SetXAttrRequest) Reset() { *m = NSRequest_SetXAttrRequest{} } +func (m *NSRequest_SetXAttrRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_SetXAttrRequest) ProtoMessage() {} +func (*NSRequest_SetXAttrRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 9} +} + +func (m *NSRequest_SetXAttrRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_SetXAttrRequest.Unmarshal(m, b) +} +func (m *NSRequest_SetXAttrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_SetXAttrRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_SetXAttrRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_SetXAttrRequest.Merge(m, src) +} +func (m *NSRequest_SetXAttrRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_SetXAttrRequest.Size(m) } +func (m *NSRequest_SetXAttrRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_SetXAttrRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NSRequest_SetXAttrRequest proto.InternalMessageInfo -func (x *NSRequest_TouchRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSRequest_SetXAttrRequest) GetId() *MDId { + if m != nil { + return m.Id } return nil } -type NSRequest_UnlinkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *NSRequest_SetXAttrRequest) GetXattrs() map[string][]byte { + if m != nil { + return m.Xattrs + } + return nil +} - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Norecycle bool `protobuf:"varint,3,opt,name=norecycle,proto3" json:"norecycle,omitempty"` +func (m *NSRequest_SetXAttrRequest) GetRecursive() bool { + if m != nil { + return m.Recursive + } + return false } -func (x *NSRequest_UnlinkRequest) Reset() { - *x = NSRequest_UnlinkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *NSRequest_SetXAttrRequest) GetKeystodelete() []string { + if m != nil { + return m.Keystodelete } + return nil } -func (x *NSRequest_UnlinkRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest_SetXAttrRequest) GetCreate() bool { + if m != nil { + return m.Create + } + return false } -func (*NSRequest_UnlinkRequest) ProtoMessage() {} +type NSRequest_ChownRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Owner *RoleId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} -func (x *NSRequest_UnlinkRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *NSRequest_ChownRequest) Reset() { *m = NSRequest_ChownRequest{} } +func (m *NSRequest_ChownRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_ChownRequest) ProtoMessage() {} +func (*NSRequest_ChownRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 10} } -// Deprecated: Use NSRequest_UnlinkRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_UnlinkRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 3} +func (m *NSRequest_ChownRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_ChownRequest.Unmarshal(m, b) +} +func (m *NSRequest_ChownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_ChownRequest.Marshal(b, m, deterministic) } +func (m *NSRequest_ChownRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_ChownRequest.Merge(m, src) +} +func (m *NSRequest_ChownRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_ChownRequest.Size(m) +} +func (m *NSRequest_ChownRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_ChownRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NSRequest_ChownRequest proto.InternalMessageInfo -func (x *NSRequest_UnlinkRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSRequest_ChownRequest) GetId() *MDId { + if m != nil { + return m.Id } return nil } -func (x *NSRequest_UnlinkRequest) GetNorecycle() bool { - if x != nil { - return x.Norecycle +func (m *NSRequest_ChownRequest) GetOwner() *RoleId { + if m != nil { + return m.Owner } - return false + return nil } -type NSRequest_RmRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` - Norecycle bool `protobuf:"varint,3,opt,name=norecycle,proto3" json:"norecycle,omitempty"` +type NSRequest_ChmodRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Mode int64 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NSRequest_RmRequest) Reset() { - *x = NSRequest_RmRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSRequest_ChmodRequest) Reset() { *m = NSRequest_ChmodRequest{} } +func (m *NSRequest_ChmodRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_ChmodRequest) ProtoMessage() {} +func (*NSRequest_ChmodRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 11} } -func (x *NSRequest_RmRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest_ChmodRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_ChmodRequest.Unmarshal(m, b) +} +func (m *NSRequest_ChmodRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_ChmodRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_ChmodRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_ChmodRequest.Merge(m, src) +} +func (m *NSRequest_ChmodRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_ChmodRequest.Size(m) +} +func (m *NSRequest_ChmodRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_ChmodRequest.DiscardUnknown(m) } -func (*NSRequest_RmRequest) ProtoMessage() {} +var xxx_messageInfo_NSRequest_ChmodRequest proto.InternalMessageInfo -func (x *NSRequest_RmRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest_ChmodRequest) GetId() *MDId { + if m != nil { + return m.Id } - return mi.MessageOf(x) + return nil } -// Deprecated: Use NSRequest_RmRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_RmRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 4} +func (m *NSRequest_ChmodRequest) GetMode() int64 { + if m != nil { + return m.Mode + } + return 0 +} + +type NSRequest_AclRequest struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Cmd NSRequest_AclRequest_ACL_COMMAND `protobuf:"varint,2,opt,name=cmd,proto3,enum=eos.rpc.NSRequest_AclRequest_ACL_COMMAND" json:"cmd,omitempty"` + Recursive bool `protobuf:"varint,3,opt,name=recursive,proto3" json:"recursive,omitempty"` + Type NSRequest_AclRequest_ACL_TYPE `protobuf:"varint,4,opt,name=type,proto3,enum=eos.rpc.NSRequest_AclRequest_ACL_TYPE" json:"type,omitempty"` + Rule string `protobuf:"bytes,5,opt,name=rule,proto3" json:"rule,omitempty"` + Position uint32 `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSRequest_AclRequest) Reset() { *m = NSRequest_AclRequest{} } +func (m *NSRequest_AclRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_AclRequest) ProtoMessage() {} +func (*NSRequest_AclRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 12} +} + +func (m *NSRequest_AclRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_AclRequest.Unmarshal(m, b) +} +func (m *NSRequest_AclRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_AclRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_AclRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_AclRequest.Merge(m, src) } +func (m *NSRequest_AclRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_AclRequest.Size(m) +} +func (m *NSRequest_AclRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_AclRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NSRequest_AclRequest proto.InternalMessageInfo -func (x *NSRequest_RmRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSRequest_AclRequest) GetId() *MDId { + if m != nil { + return m.Id } return nil } -func (x *NSRequest_RmRequest) GetRecursive() bool { - if x != nil { - return x.Recursive +func (m *NSRequest_AclRequest) GetCmd() NSRequest_AclRequest_ACL_COMMAND { + if m != nil { + return m.Cmd } - return false + return NSRequest_AclRequest_NONE } -func (x *NSRequest_RmRequest) GetNorecycle() bool { - if x != nil { - return x.Norecycle +func (m *NSRequest_AclRequest) GetRecursive() bool { + if m != nil { + return m.Recursive } return false } -type NSRequest_RenameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *NSRequest_AclRequest) GetType() NSRequest_AclRequest_ACL_TYPE { + if m != nil { + return m.Type + } + return NSRequest_AclRequest_USER_ACL +} - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Target []byte `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` +func (m *NSRequest_AclRequest) GetRule() string { + if m != nil { + return m.Rule + } + return "" } -func (x *NSRequest_RenameRequest) Reset() { - *x = NSRequest_RenameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *NSRequest_AclRequest) GetPosition() uint32 { + if m != nil { + return m.Position } + return 0 } -func (x *NSRequest_RenameRequest) String() string { - return protoimpl.X.MessageStringOf(x) +type NSRequest_TokenRequest struct { + Token *ShareToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (*NSRequest_RenameRequest) ProtoMessage() {} +func (m *NSRequest_TokenRequest) Reset() { *m = NSRequest_TokenRequest{} } +func (m *NSRequest_TokenRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_TokenRequest) ProtoMessage() {} +func (*NSRequest_TokenRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 13} +} + +func (m *NSRequest_TokenRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_TokenRequest.Unmarshal(m, b) +} +func (m *NSRequest_TokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_TokenRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_TokenRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_TokenRequest.Merge(m, src) +} +func (m *NSRequest_TokenRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_TokenRequest.Size(m) +} +func (m *NSRequest_TokenRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_TokenRequest.DiscardUnknown(m) +} -func (x *NSRequest_RenameRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +var xxx_messageInfo_NSRequest_TokenRequest proto.InternalMessageInfo + +func (m *NSRequest_TokenRequest) GetToken() *ShareToken { + if m != nil { + return m.Token } - return mi.MessageOf(x) + return nil } -// Deprecated: Use NSRequest_RenameRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_RenameRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 5} +type NSRequest_QuotaRequest struct { + Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Id *RoleId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Op QUOTAOP `protobuf:"varint,3,opt,name=op,proto3,enum=eos.rpc.QUOTAOP" json:"op,omitempty"` + Maxfiles uint64 `protobuf:"varint,4,opt,name=maxfiles,proto3" json:"maxfiles,omitempty"` + Maxbytes uint64 `protobuf:"varint,5,opt,name=maxbytes,proto3" json:"maxbytes,omitempty"` + Entry QUOTAENTRY `protobuf:"varint,6,opt,name=entry,proto3,enum=eos.rpc.QUOTAENTRY" json:"entry,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSRequest_QuotaRequest) Reset() { *m = NSRequest_QuotaRequest{} } +func (m *NSRequest_QuotaRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_QuotaRequest) ProtoMessage() {} +func (*NSRequest_QuotaRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 14} } -func (x *NSRequest_RenameRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSRequest_QuotaRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_QuotaRequest.Unmarshal(m, b) +} +func (m *NSRequest_QuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_QuotaRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_QuotaRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_QuotaRequest.Merge(m, src) +} +func (m *NSRequest_QuotaRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_QuotaRequest.Size(m) +} +func (m *NSRequest_QuotaRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_QuotaRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NSRequest_QuotaRequest proto.InternalMessageInfo + +func (m *NSRequest_QuotaRequest) GetPath() []byte { + if m != nil { + return m.Path } return nil } -func (x *NSRequest_RenameRequest) GetTarget() []byte { - if x != nil { - return x.Target +func (m *NSRequest_QuotaRequest) GetId() *RoleId { + if m != nil { + return m.Id } return nil } -type NSRequest_SymlinkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Target []byte `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` +func (m *NSRequest_QuotaRequest) GetOp() QUOTAOP { + if m != nil { + return m.Op + } + return QUOTAOP_GET } -func (x *NSRequest_SymlinkRequest) Reset() { - *x = NSRequest_SymlinkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *NSRequest_QuotaRequest) GetMaxfiles() uint64 { + if m != nil { + return m.Maxfiles } + return 0 } -func (x *NSRequest_SymlinkRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest_QuotaRequest) GetMaxbytes() uint64 { + if m != nil { + return m.Maxbytes + } + return 0 } -func (*NSRequest_SymlinkRequest) ProtoMessage() {} - -func (x *NSRequest_SymlinkRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest_QuotaRequest) GetEntry() QUOTAENTRY { + if m != nil { + return m.Entry } - return mi.MessageOf(x) + return QUOTAENTRY_NONE } -// Deprecated: Use NSRequest_SymlinkRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_SymlinkRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 6} +type NSRequest_ShareRequest struct { + // Types that are valid to be assigned to Subcmd: + // + // *NSRequest_ShareRequest_Ls + // *NSRequest_ShareRequest_Op + Subcmd isNSRequest_ShareRequest_Subcmd `protobuf_oneof:"subcmd"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NSRequest_SymlinkRequest) GetId() *MDId { - if x != nil { - return x.Id - } - return nil +func (m *NSRequest_ShareRequest) Reset() { *m = NSRequest_ShareRequest{} } +func (m *NSRequest_ShareRequest) String() string { return proto.CompactTextString(m) } +func (*NSRequest_ShareRequest) ProtoMessage() {} +func (*NSRequest_ShareRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 15} } -func (x *NSRequest_SymlinkRequest) GetTarget() []byte { - if x != nil { - return x.Target - } - return nil +func (m *NSRequest_ShareRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_ShareRequest.Unmarshal(m, b) +} +func (m *NSRequest_ShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_ShareRequest.Marshal(b, m, deterministic) +} +func (m *NSRequest_ShareRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_ShareRequest.Merge(m, src) +} +func (m *NSRequest_ShareRequest) XXX_Size() int { + return xxx_messageInfo_NSRequest_ShareRequest.Size(m) +} +func (m *NSRequest_ShareRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_ShareRequest.DiscardUnknown(m) } -type NSRequest_VersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var xxx_messageInfo_NSRequest_ShareRequest proto.InternalMessageInfo - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Cmd NSRequest_VersionRequest_VERSION_CMD `protobuf:"varint,2,opt,name=cmd,proto3,enum=eos.rpc.NSRequest_VersionRequest_VERSION_CMD" json:"cmd,omitempty"` - Maxversion int32 `protobuf:"varint,3,opt,name=maxversion,proto3" json:"maxversion,omitempty"` - Grabversion string `protobuf:"bytes,4,opt,name=grabversion,proto3" json:"grabversion,omitempty"` +type isNSRequest_ShareRequest_Subcmd interface { + isNSRequest_ShareRequest_Subcmd() } -func (x *NSRequest_VersionRequest) Reset() { - *x = NSRequest_VersionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +type NSRequest_ShareRequest_Ls struct { + Ls *NSRequest_ShareRequest_LsShare `protobuf:"bytes,1,opt,name=ls,proto3,oneof"` } -func (x *NSRequest_VersionRequest) String() string { - return protoimpl.X.MessageStringOf(x) +type NSRequest_ShareRequest_Op struct { + Op *NSRequest_ShareRequest_OperateShare `protobuf:"bytes,2,opt,name=op,proto3,oneof"` } -func (*NSRequest_VersionRequest) ProtoMessage() {} +func (*NSRequest_ShareRequest_Ls) isNSRequest_ShareRequest_Subcmd() {} + +func (*NSRequest_ShareRequest_Op) isNSRequest_ShareRequest_Subcmd() {} -func (x *NSRequest_VersionRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest_ShareRequest) GetSubcmd() isNSRequest_ShareRequest_Subcmd { + if m != nil { + return m.Subcmd } - return mi.MessageOf(x) + return nil } -// Deprecated: Use NSRequest_VersionRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_VersionRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 7} +func (m *NSRequest_ShareRequest) GetLs() *NSRequest_ShareRequest_LsShare { + if x, ok := m.GetSubcmd().(*NSRequest_ShareRequest_Ls); ok { + return x.Ls + } + return nil } -func (x *NSRequest_VersionRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSRequest_ShareRequest) GetOp() *NSRequest_ShareRequest_OperateShare { + if x, ok := m.GetSubcmd().(*NSRequest_ShareRequest_Op); ok { + return x.Op } return nil } -func (x *NSRequest_VersionRequest) GetCmd() NSRequest_VersionRequest_VERSION_CMD { - if x != nil { - return x.Cmd +// XXX_OneofWrappers is for the internal use of the proto package. +func (*NSRequest_ShareRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*NSRequest_ShareRequest_Ls)(nil), + (*NSRequest_ShareRequest_Op)(nil), } - return NSRequest_VersionRequest_CREATE } -func (x *NSRequest_VersionRequest) GetMaxversion() int32 { - if x != nil { - return x.Maxversion - } - return 0 +type NSRequest_ShareRequest_LsShare struct { + Outformat NSRequest_ShareRequest_LsShare_OutFormat `protobuf:"varint,1,opt,name=outformat,proto3,enum=eos.rpc.NSRequest_ShareRequest_LsShare_OutFormat" json:"outformat,omitempty"` + Selection string `protobuf:"bytes,2,opt,name=selection,proto3" json:"selection,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NSRequest_VersionRequest) GetGrabversion() string { - if x != nil { - return x.Grabversion - } - return "" +func (m *NSRequest_ShareRequest_LsShare) Reset() { *m = NSRequest_ShareRequest_LsShare{} } +func (m *NSRequest_ShareRequest_LsShare) String() string { return proto.CompactTextString(m) } +func (*NSRequest_ShareRequest_LsShare) ProtoMessage() {} +func (*NSRequest_ShareRequest_LsShare) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 15, 0} } -type NSRequest_RecycleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *NSRequest_ShareRequest_LsShare) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_ShareRequest_LsShare.Unmarshal(m, b) +} +func (m *NSRequest_ShareRequest_LsShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_ShareRequest_LsShare.Marshal(b, m, deterministic) +} +func (m *NSRequest_ShareRequest_LsShare) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_ShareRequest_LsShare.Merge(m, src) +} +func (m *NSRequest_ShareRequest_LsShare) XXX_Size() int { + return xxx_messageInfo_NSRequest_ShareRequest_LsShare.Size(m) +} +func (m *NSRequest_ShareRequest_LsShare) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_ShareRequest_LsShare.DiscardUnknown(m) +} - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Cmd NSRequest_RecycleRequest_RECYCLE_CMD `protobuf:"varint,2,opt,name=cmd,proto3,enum=eos.rpc.NSRequest_RecycleRequest_RECYCLE_CMD" json:"cmd,omitempty"` - Restoreflag *NSRequest_RecycleRequest_RestoreFlags `protobuf:"bytes,3,opt,name=restoreflag,proto3" json:"restoreflag,omitempty"` - Purgedate *NSRequest_RecycleRequest_PurgeDate `protobuf:"bytes,4,opt,name=purgedate,proto3" json:"purgedate,omitempty"` +var xxx_messageInfo_NSRequest_ShareRequest_LsShare proto.InternalMessageInfo + +func (m *NSRequest_ShareRequest_LsShare) GetOutformat() NSRequest_ShareRequest_LsShare_OutFormat { + if m != nil { + return m.Outformat + } + return NSRequest_ShareRequest_LsShare_NONE } -func (x *NSRequest_RecycleRequest) Reset() { - *x = NSRequest_RecycleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *NSRequest_ShareRequest_LsShare) GetSelection() string { + if m != nil { + return m.Selection } + return "" +} + +type NSRequest_ShareRequest_OperateShare struct { + Op NSRequest_ShareRequest_OperateShare_Op `protobuf:"varint,1,opt,name=op,proto3,enum=eos.rpc.NSRequest_ShareRequest_OperateShare_Op" json:"op,omitempty"` + Share string `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` + Acl string `protobuf:"bytes,3,opt,name=acl,proto3" json:"acl,omitempty"` + Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` + Group string `protobuf:"bytes,6,opt,name=group,proto3" json:"group,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSRequest_ShareRequest_OperateShare) Reset() { *m = NSRequest_ShareRequest_OperateShare{} } +func (m *NSRequest_ShareRequest_OperateShare) String() string { return proto.CompactTextString(m) } +func (*NSRequest_ShareRequest_OperateShare) ProtoMessage() {} +func (*NSRequest_ShareRequest_OperateShare) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{20, 15, 1} } -func (x *NSRequest_RecycleRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSRequest_ShareRequest_OperateShare) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSRequest_ShareRequest_OperateShare.Unmarshal(m, b) +} +func (m *NSRequest_ShareRequest_OperateShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSRequest_ShareRequest_OperateShare.Marshal(b, m, deterministic) +} +func (m *NSRequest_ShareRequest_OperateShare) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSRequest_ShareRequest_OperateShare.Merge(m, src) +} +func (m *NSRequest_ShareRequest_OperateShare) XXX_Size() int { + return xxx_messageInfo_NSRequest_ShareRequest_OperateShare.Size(m) +} +func (m *NSRequest_ShareRequest_OperateShare) XXX_DiscardUnknown() { + xxx_messageInfo_NSRequest_ShareRequest_OperateShare.DiscardUnknown(m) } -func (*NSRequest_RecycleRequest) ProtoMessage() {} +var xxx_messageInfo_NSRequest_ShareRequest_OperateShare proto.InternalMessageInfo -func (x *NSRequest_RecycleRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSRequest_ShareRequest_OperateShare) GetOp() NSRequest_ShareRequest_OperateShare_Op { + if m != nil { + return m.Op } - return mi.MessageOf(x) + return NSRequest_ShareRequest_OperateShare_CREATE } -// Deprecated: Use NSRequest_RecycleRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_RecycleRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 8} +func (m *NSRequest_ShareRequest_OperateShare) GetShare() string { + if m != nil { + return m.Share + } + return "" } -func (x *NSRequest_RecycleRequest) GetKey() string { - if x != nil { - return x.Key +func (m *NSRequest_ShareRequest_OperateShare) GetAcl() string { + if m != nil { + return m.Acl } return "" } -func (x *NSRequest_RecycleRequest) GetCmd() NSRequest_RecycleRequest_RECYCLE_CMD { - if x != nil { - return x.Cmd +func (m *NSRequest_ShareRequest_OperateShare) GetPath() string { + if m != nil { + return m.Path } - return NSRequest_RecycleRequest_RESTORE + return "" } -func (x *NSRequest_RecycleRequest) GetRestoreflag() *NSRequest_RecycleRequest_RestoreFlags { - if x != nil { - return x.Restoreflag +func (m *NSRequest_ShareRequest_OperateShare) GetUser() string { + if m != nil { + return m.User } - return nil + return "" } -func (x *NSRequest_RecycleRequest) GetPurgedate() *NSRequest_RecycleRequest_PurgeDate { - if x != nil { - return x.Purgedate +func (m *NSRequest_ShareRequest_OperateShare) GetGroup() string { + if m != nil { + return m.Group } - return nil + return "" } -type NSRequest_SetXAttrRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Xattrs map[string][]byte `protobuf:"bytes,2,rep,name=xattrs,proto3" json:"xattrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Recursive bool `protobuf:"varint,3,opt,name=recursive,proto3" json:"recursive,omitempty"` - Keystodelete []string `protobuf:"bytes,4,rep,name=keystodelete,proto3" json:"keystodelete,omitempty"` - Create bool `protobuf:"varint,5,opt,name=create,proto3" json:"create,omitempty"` +type NSResponse struct { + Error *NSResponse_ErrorResponse `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Version *NSResponse_VersionResponse `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Recycle *NSResponse_RecycleResponse `protobuf:"bytes,3,opt,name=recycle,proto3" json:"recycle,omitempty"` + Acl *NSResponse_AclResponse `protobuf:"bytes,4,opt,name=acl,proto3" json:"acl,omitempty"` + Quota *NSResponse_QuotaResponse `protobuf:"bytes,5,opt,name=quota,proto3" json:"quota,omitempty"` + Share *NSResponse_ShareResponse `protobuf:"bytes,6,opt,name=share,proto3" json:"share,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSResponse) Reset() { *m = NSResponse{} } +func (m *NSResponse) String() string { return proto.CompactTextString(m) } +func (*NSResponse) ProtoMessage() {} +func (*NSResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21} } -func (x *NSRequest_SetXAttrRequest) Reset() { - *x = NSRequest_SetXAttrRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse.Unmarshal(m, b) } - -func (x *NSRequest_SetXAttrRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse.Marshal(b, m, deterministic) +} +func (m *NSResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse.Merge(m, src) +} +func (m *NSResponse) XXX_Size() int { + return xxx_messageInfo_NSResponse.Size(m) +} +func (m *NSResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse.DiscardUnknown(m) } -func (*NSRequest_SetXAttrRequest) ProtoMessage() {} +var xxx_messageInfo_NSResponse proto.InternalMessageInfo -func (x *NSRequest_SetXAttrRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSResponse) GetError() *NSResponse_ErrorResponse { + if m != nil { + return m.Error } - return mi.MessageOf(x) -} - -// Deprecated: Use NSRequest_SetXAttrRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_SetXAttrRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 9} + return nil } -func (x *NSRequest_SetXAttrRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSResponse) GetVersion() *NSResponse_VersionResponse { + if m != nil { + return m.Version } return nil } -func (x *NSRequest_SetXAttrRequest) GetXattrs() map[string][]byte { - if x != nil { - return x.Xattrs +func (m *NSResponse) GetRecycle() *NSResponse_RecycleResponse { + if m != nil { + return m.Recycle } return nil } -func (x *NSRequest_SetXAttrRequest) GetRecursive() bool { - if x != nil { - return x.Recursive +func (m *NSResponse) GetAcl() *NSResponse_AclResponse { + if m != nil { + return m.Acl } - return false + return nil } -func (x *NSRequest_SetXAttrRequest) GetKeystodelete() []string { - if x != nil { - return x.Keystodelete +func (m *NSResponse) GetQuota() *NSResponse_QuotaResponse { + if m != nil { + return m.Quota } return nil } -func (x *NSRequest_SetXAttrRequest) GetCreate() bool { - if x != nil { - return x.Create +func (m *NSResponse) GetShare() *NSResponse_ShareResponse { + if m != nil { + return m.Share } - return false + return nil } -type NSRequest_ChownRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Owner *RoleId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` +type NSResponse_ErrorResponse struct { + Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NSRequest_ChownRequest) Reset() { - *x = NSRequest_ChownRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse_ErrorResponse) Reset() { *m = NSResponse_ErrorResponse{} } +func (m *NSResponse_ErrorResponse) String() string { return proto.CompactTextString(m) } +func (*NSResponse_ErrorResponse) ProtoMessage() {} +func (*NSResponse_ErrorResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 0} } -func (x *NSRequest_ChownRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse_ErrorResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse_ErrorResponse.Unmarshal(m, b) } - -func (*NSRequest_ChownRequest) ProtoMessage() {} - -func (x *NSRequest_ChownRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *NSResponse_ErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse_ErrorResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use NSRequest_ChownRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_ChownRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 10} +func (m *NSResponse_ErrorResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse_ErrorResponse.Merge(m, src) +} +func (m *NSResponse_ErrorResponse) XXX_Size() int { + return xxx_messageInfo_NSResponse_ErrorResponse.Size(m) } +func (m *NSResponse_ErrorResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse_ErrorResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_NSResponse_ErrorResponse proto.InternalMessageInfo -func (x *NSRequest_ChownRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSResponse_ErrorResponse) GetCode() int64 { + if m != nil { + return m.Code } - return nil + return 0 } -func (x *NSRequest_ChownRequest) GetOwner() *RoleId { - if x != nil { - return x.Owner +func (m *NSResponse_ErrorResponse) GetMsg() string { + if m != nil { + return m.Msg } - return nil + return "" } -type NSRequest_ChmodRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Mode int64 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` +type NSResponse_VersionResponse struct { + Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` + Versions []*NSResponse_VersionResponse_VersionInfo `protobuf:"bytes,3,rep,name=versions,proto3" json:"versions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NSRequest_ChmodRequest) Reset() { - *x = NSRequest_ChmodRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse_VersionResponse) Reset() { *m = NSResponse_VersionResponse{} } +func (m *NSResponse_VersionResponse) String() string { return proto.CompactTextString(m) } +func (*NSResponse_VersionResponse) ProtoMessage() {} +func (*NSResponse_VersionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 1} } -func (x *NSRequest_ChmodRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse_VersionResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse_VersionResponse.Unmarshal(m, b) +} +func (m *NSResponse_VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse_VersionResponse.Marshal(b, m, deterministic) +} +func (m *NSResponse_VersionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse_VersionResponse.Merge(m, src) +} +func (m *NSResponse_VersionResponse) XXX_Size() int { + return xxx_messageInfo_NSResponse_VersionResponse.Size(m) +} +func (m *NSResponse_VersionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse_VersionResponse.DiscardUnknown(m) } -func (*NSRequest_ChmodRequest) ProtoMessage() {} +var xxx_messageInfo_NSResponse_VersionResponse proto.InternalMessageInfo -func (x *NSRequest_ChmodRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSResponse_VersionResponse) GetCode() int64 { + if m != nil { + return m.Code } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use NSRequest_ChmodRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_ChmodRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 11} +func (m *NSResponse_VersionResponse) GetMsg() string { + if m != nil { + return m.Msg + } + return "" } -func (x *NSRequest_ChmodRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSResponse_VersionResponse) GetVersions() []*NSResponse_VersionResponse_VersionInfo { + if m != nil { + return m.Versions } return nil } -func (x *NSRequest_ChmodRequest) GetMode() int64 { - if x != nil { - return x.Mode - } - return 0 +type NSResponse_VersionResponse_VersionInfo struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Mtime *Time `protobuf:"bytes,2,opt,name=mtime,proto3" json:"mtime,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -type NSRequest_AclRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Cmd NSRequest_AclRequest_ACL_COMMAND `protobuf:"varint,2,opt,name=cmd,proto3,enum=eos.rpc.NSRequest_AclRequest_ACL_COMMAND" json:"cmd,omitempty"` - Recursive bool `protobuf:"varint,3,opt,name=recursive,proto3" json:"recursive,omitempty"` - Type NSRequest_AclRequest_ACL_TYPE `protobuf:"varint,4,opt,name=type,proto3,enum=eos.rpc.NSRequest_AclRequest_ACL_TYPE" json:"type,omitempty"` - Rule string `protobuf:"bytes,5,opt,name=rule,proto3" json:"rule,omitempty"` - Position uint32 `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"` +func (m *NSResponse_VersionResponse_VersionInfo) Reset() { + *m = NSResponse_VersionResponse_VersionInfo{} } - -func (x *NSRequest_AclRequest) Reset() { - *x = NSRequest_AclRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse_VersionResponse_VersionInfo) String() string { return proto.CompactTextString(m) } +func (*NSResponse_VersionResponse_VersionInfo) ProtoMessage() {} +func (*NSResponse_VersionResponse_VersionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 1, 0} } -func (x *NSRequest_AclRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse_VersionResponse_VersionInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse_VersionResponse_VersionInfo.Unmarshal(m, b) } - -func (*NSRequest_AclRequest) ProtoMessage() {} - -func (x *NSRequest_AclRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *NSResponse_VersionResponse_VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse_VersionResponse_VersionInfo.Marshal(b, m, deterministic) } - -// Deprecated: Use NSRequest_AclRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_AclRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 12} +func (m *NSResponse_VersionResponse_VersionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse_VersionResponse_VersionInfo.Merge(m, src) +} +func (m *NSResponse_VersionResponse_VersionInfo) XXX_Size() int { + return xxx_messageInfo_NSResponse_VersionResponse_VersionInfo.Size(m) } +func (m *NSResponse_VersionResponse_VersionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse_VersionResponse_VersionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_NSResponse_VersionResponse_VersionInfo proto.InternalMessageInfo -func (x *NSRequest_AclRequest) GetId() *MDId { - if x != nil { - return x.Id +func (m *NSResponse_VersionResponse_VersionInfo) GetId() *MDId { + if m != nil { + return m.Id } return nil } -func (x *NSRequest_AclRequest) GetCmd() NSRequest_AclRequest_ACL_COMMAND { - if x != nil { - return x.Cmd +func (m *NSResponse_VersionResponse_VersionInfo) GetMtime() *Time { + if m != nil { + return m.Mtime } - return NSRequest_AclRequest_NONE + return nil } -func (x *NSRequest_AclRequest) GetRecursive() bool { - if x != nil { - return x.Recursive - } - return false +type NSResponse_RecycleResponse struct { + Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` + Recycles []*NSResponse_RecycleResponse_RecycleInfo `protobuf:"bytes,3,rep,name=recycles,proto3" json:"recycles,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NSRequest_AclRequest) GetType() NSRequest_AclRequest_ACL_TYPE { - if x != nil { - return x.Type - } - return NSRequest_AclRequest_USER_ACL +func (m *NSResponse_RecycleResponse) Reset() { *m = NSResponse_RecycleResponse{} } +func (m *NSResponse_RecycleResponse) String() string { return proto.CompactTextString(m) } +func (*NSResponse_RecycleResponse) ProtoMessage() {} +func (*NSResponse_RecycleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 2} } -func (x *NSRequest_AclRequest) GetRule() string { - if x != nil { - return x.Rule - } - return "" +func (m *NSResponse_RecycleResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse_RecycleResponse.Unmarshal(m, b) } - -func (x *NSRequest_AclRequest) GetPosition() uint32 { - if x != nil { - return x.Position - } - return 0 +func (m *NSResponse_RecycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse_RecycleResponse.Marshal(b, m, deterministic) } - -type NSRequest_TokenRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Token *ShareToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` +func (m *NSResponse_RecycleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse_RecycleResponse.Merge(m, src) } - -func (x *NSRequest_TokenRequest) Reset() { - *x = NSRequest_TokenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse_RecycleResponse) XXX_Size() int { + return xxx_messageInfo_NSResponse_RecycleResponse.Size(m) } - -func (x *NSRequest_TokenRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse_RecycleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse_RecycleResponse.DiscardUnknown(m) } -func (*NSRequest_TokenRequest) ProtoMessage() {} +var xxx_messageInfo_NSResponse_RecycleResponse proto.InternalMessageInfo -func (x *NSRequest_TokenRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSResponse_RecycleResponse) GetCode() int64 { + if m != nil { + return m.Code } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use NSRequest_TokenRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_TokenRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 13} +func (m *NSResponse_RecycleResponse) GetMsg() string { + if m != nil { + return m.Msg + } + return "" } -func (x *NSRequest_TokenRequest) GetToken() *ShareToken { - if x != nil { - return x.Token +func (m *NSResponse_RecycleResponse) GetRecycles() []*NSResponse_RecycleResponse_RecycleInfo { + if m != nil { + return m.Recycles } return nil } -type NSRequest_QuotaRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Id *RoleId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Op QUOTAOP `protobuf:"varint,3,opt,name=op,proto3,enum=eos.rpc.QUOTAOP" json:"op,omitempty"` // get or set, rm or rmnode - Maxfiles uint64 `protobuf:"varint,4,opt,name=maxfiles,proto3" json:"maxfiles,omitempty"` // maximum number of bytes (volume quota) for setting - Maxbytes uint64 `protobuf:"varint,5,opt,name=maxbytes,proto3" json:"maxbytes,omitempty"` // maximum number of bytes (volume quota) for setting - Entry QUOTAENTRY `protobuf:"varint,6,opt,name=entry,proto3,enum=eos.rpc.QUOTAENTRY" json:"entry,omitempty"` // select volume or inode entry for deletion +type NSResponse_RecycleResponse_RecycleInfo struct { + Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Owner *RoleId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + Dtime *Time `protobuf:"bytes,3,opt,name=dtime,proto3" json:"dtime,omitempty"` + Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` + Type NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE `protobuf:"varint,5,opt,name=type,proto3,enum=eos.rpc.NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE" json:"type,omitempty"` + Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSResponse_RecycleResponse_RecycleInfo) Reset() { + *m = NSResponse_RecycleResponse_RecycleInfo{} +} +func (m *NSResponse_RecycleResponse_RecycleInfo) String() string { return proto.CompactTextString(m) } +func (*NSResponse_RecycleResponse_RecycleInfo) ProtoMessage() {} +func (*NSResponse_RecycleResponse_RecycleInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 2, 0} } -func (x *NSRequest_QuotaRequest) Reset() { - *x = NSRequest_QuotaRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse_RecycleResponse_RecycleInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse_RecycleResponse_RecycleInfo.Unmarshal(m, b) } - -func (x *NSRequest_QuotaRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse_RecycleResponse_RecycleInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse_RecycleResponse_RecycleInfo.Marshal(b, m, deterministic) } - -func (*NSRequest_QuotaRequest) ProtoMessage() {} - -func (x *NSRequest_QuotaRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *NSResponse_RecycleResponse_RecycleInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse_RecycleResponse_RecycleInfo.Merge(m, src) } - -// Deprecated: Use NSRequest_QuotaRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_QuotaRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 14} +func (m *NSResponse_RecycleResponse_RecycleInfo) XXX_Size() int { + return xxx_messageInfo_NSResponse_RecycleResponse_RecycleInfo.Size(m) } +func (m *NSResponse_RecycleResponse_RecycleInfo) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse_RecycleResponse_RecycleInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_NSResponse_RecycleResponse_RecycleInfo proto.InternalMessageInfo -func (x *NSRequest_QuotaRequest) GetPath() []byte { - if x != nil { - return x.Path +func (m *NSResponse_RecycleResponse_RecycleInfo) GetId() *MDId { + if m != nil { + return m.Id } return nil } -func (x *NSRequest_QuotaRequest) GetId() *RoleId { - if x != nil { - return x.Id +func (m *NSResponse_RecycleResponse_RecycleInfo) GetOwner() *RoleId { + if m != nil { + return m.Owner } return nil } -func (x *NSRequest_QuotaRequest) GetOp() QUOTAOP { - if x != nil { - return x.Op +func (m *NSResponse_RecycleResponse_RecycleInfo) GetDtime() *Time { + if m != nil { + return m.Dtime } - return QUOTAOP_GET + return nil } -func (x *NSRequest_QuotaRequest) GetMaxfiles() uint64 { - if x != nil { - return x.Maxfiles +func (m *NSResponse_RecycleResponse_RecycleInfo) GetSize() uint64 { + if m != nil { + return m.Size } return 0 } -func (x *NSRequest_QuotaRequest) GetMaxbytes() uint64 { - if x != nil { - return x.Maxbytes +func (m *NSResponse_RecycleResponse_RecycleInfo) GetType() NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE { + if m != nil { + return m.Type } - return 0 + return NSResponse_RecycleResponse_RecycleInfo_FILE } -func (x *NSRequest_QuotaRequest) GetEntry() QUOTAENTRY { - if x != nil { - return x.Entry +func (m *NSResponse_RecycleResponse_RecycleInfo) GetKey() string { + if m != nil { + return m.Key } - return QUOTAENTRY_NONE + return "" } -type NSRequest_ShareRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Subcmd: - // - // *NSRequest_ShareRequest_Ls - // *NSRequest_ShareRequest_Op - Subcmd isNSRequest_ShareRequest_Subcmd `protobuf_oneof:"subcmd"` +type NSResponse_AclResponse struct { + Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` + Rule string `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NSRequest_ShareRequest) Reset() { - *x = NSRequest_ShareRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse_AclResponse) Reset() { *m = NSResponse_AclResponse{} } +func (m *NSResponse_AclResponse) String() string { return proto.CompactTextString(m) } +func (*NSResponse_AclResponse) ProtoMessage() {} +func (*NSResponse_AclResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 3} } -func (x *NSRequest_ShareRequest) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse_AclResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse_AclResponse.Unmarshal(m, b) } - -func (*NSRequest_ShareRequest) ProtoMessage() {} - -func (x *NSRequest_ShareRequest) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *NSResponse_AclResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse_AclResponse.Marshal(b, m, deterministic) } - -// Deprecated: Use NSRequest_ShareRequest.ProtoReflect.Descriptor instead. -func (*NSRequest_ShareRequest) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 15} +func (m *NSResponse_AclResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse_AclResponse.Merge(m, src) +} +func (m *NSResponse_AclResponse) XXX_Size() int { + return xxx_messageInfo_NSResponse_AclResponse.Size(m) +} +func (m *NSResponse_AclResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse_AclResponse.DiscardUnknown(m) } -func (m *NSRequest_ShareRequest) GetSubcmd() isNSRequest_ShareRequest_Subcmd { +var xxx_messageInfo_NSResponse_AclResponse proto.InternalMessageInfo + +func (m *NSResponse_AclResponse) GetCode() int64 { if m != nil { - return m.Subcmd + return m.Code } - return nil + return 0 } -func (x *NSRequest_ShareRequest) GetLs() *NSRequest_ShareRequest_LsShare { - if x, ok := x.GetSubcmd().(*NSRequest_ShareRequest_Ls); ok { - return x.Ls +func (m *NSResponse_AclResponse) GetMsg() string { + if m != nil { + return m.Msg } - return nil + return "" } -func (x *NSRequest_ShareRequest) GetOp() *NSRequest_ShareRequest_OperateShare { - if x, ok := x.GetSubcmd().(*NSRequest_ShareRequest_Op); ok { - return x.Op +func (m *NSResponse_AclResponse) GetRule() string { + if m != nil { + return m.Rule } - return nil + return "" } -type isNSRequest_ShareRequest_Subcmd interface { - isNSRequest_ShareRequest_Subcmd() +type NSResponse_QuotaResponse struct { + Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` + Quotanode []*QuotaProto `protobuf:"bytes,3,rep,name=quotanode,proto3" json:"quotanode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -type NSRequest_ShareRequest_Ls struct { - Ls *NSRequest_ShareRequest_LsShare `protobuf:"bytes,1,opt,name=ls,proto3,oneof"` +func (m *NSResponse_QuotaResponse) Reset() { *m = NSResponse_QuotaResponse{} } +func (m *NSResponse_QuotaResponse) String() string { return proto.CompactTextString(m) } +func (*NSResponse_QuotaResponse) ProtoMessage() {} +func (*NSResponse_QuotaResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 4} } -type NSRequest_ShareRequest_Op struct { - Op *NSRequest_ShareRequest_OperateShare `protobuf:"bytes,2,opt,name=op,proto3,oneof"` +func (m *NSResponse_QuotaResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse_QuotaResponse.Unmarshal(m, b) } - -func (*NSRequest_ShareRequest_Ls) isNSRequest_ShareRequest_Subcmd() {} - -func (*NSRequest_ShareRequest_Op) isNSRequest_ShareRequest_Subcmd() {} - -type NSRequest_RecycleRequest_RestoreFlags struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"` - Mkpath bool `protobuf:"varint,2,opt,name=mkpath,proto3" json:"mkpath,omitempty"` - Versions bool `protobuf:"varint,3,opt,name=versions,proto3" json:"versions,omitempty"` +func (m *NSResponse_QuotaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse_QuotaResponse.Marshal(b, m, deterministic) } - -func (x *NSRequest_RecycleRequest_RestoreFlags) Reset() { - *x = NSRequest_RecycleRequest_RestoreFlags{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse_QuotaResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse_QuotaResponse.Merge(m, src) } - -func (x *NSRequest_RecycleRequest_RestoreFlags) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse_QuotaResponse) XXX_Size() int { + return xxx_messageInfo_NSResponse_QuotaResponse.Size(m) } - -func (*NSRequest_RecycleRequest_RestoreFlags) ProtoMessage() {} - -func (x *NSRequest_RecycleRequest_RestoreFlags) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *NSResponse_QuotaResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse_QuotaResponse.DiscardUnknown(m) } -// Deprecated: Use NSRequest_RecycleRequest_RestoreFlags.ProtoReflect.Descriptor instead. -func (*NSRequest_RecycleRequest_RestoreFlags) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 8, 0} -} +var xxx_messageInfo_NSResponse_QuotaResponse proto.InternalMessageInfo -func (x *NSRequest_RecycleRequest_RestoreFlags) GetForce() bool { - if x != nil { - return x.Force +func (m *NSResponse_QuotaResponse) GetCode() int64 { + if m != nil { + return m.Code } - return false + return 0 } -func (x *NSRequest_RecycleRequest_RestoreFlags) GetMkpath() bool { - if x != nil { - return x.Mkpath +func (m *NSResponse_QuotaResponse) GetMsg() string { + if m != nil { + return m.Msg } - return false + return "" } -func (x *NSRequest_RecycleRequest_RestoreFlags) GetVersions() bool { - if x != nil { - return x.Versions +func (m *NSResponse_QuotaResponse) GetQuotanode() []*QuotaProto { + if m != nil { + return m.Quotanode } - return false + return nil } -type NSRequest_RecycleRequest_PurgeDate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` - Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` - Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` +type NSResponse_ShareInfo struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` + Rule string `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` + Uid uint64 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"` + Nshared uint64 `protobuf:"varint,5,opt,name=nshared,proto3" json:"nshared,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSResponse_ShareInfo) Reset() { *m = NSResponse_ShareInfo{} } +func (m *NSResponse_ShareInfo) String() string { return proto.CompactTextString(m) } +func (*NSResponse_ShareInfo) ProtoMessage() {} +func (*NSResponse_ShareInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 5} } -func (x *NSRequest_RecycleRequest_PurgeDate) Reset() { - *x = NSRequest_RecycleRequest_PurgeDate{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse_ShareInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse_ShareInfo.Unmarshal(m, b) } - -func (x *NSRequest_RecycleRequest_PurgeDate) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse_ShareInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse_ShareInfo.Marshal(b, m, deterministic) +} +func (m *NSResponse_ShareInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse_ShareInfo.Merge(m, src) +} +func (m *NSResponse_ShareInfo) XXX_Size() int { + return xxx_messageInfo_NSResponse_ShareInfo.Size(m) +} +func (m *NSResponse_ShareInfo) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse_ShareInfo.DiscardUnknown(m) } -func (*NSRequest_RecycleRequest_PurgeDate) ProtoMessage() {} +var xxx_messageInfo_NSResponse_ShareInfo proto.InternalMessageInfo -func (x *NSRequest_RecycleRequest_PurgeDate) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSResponse_ShareInfo) GetName() string { + if m != nil { + return m.Name } - return mi.MessageOf(x) + return "" } -// Deprecated: Use NSRequest_RecycleRequest_PurgeDate.ProtoReflect.Descriptor instead. -func (*NSRequest_RecycleRequest_PurgeDate) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 8, 1} +func (m *NSResponse_ShareInfo) GetRoot() string { + if m != nil { + return m.Root + } + return "" } -func (x *NSRequest_RecycleRequest_PurgeDate) GetYear() int32 { - if x != nil { - return x.Year +func (m *NSResponse_ShareInfo) GetRule() string { + if m != nil { + return m.Rule } - return 0 + return "" } -func (x *NSRequest_RecycleRequest_PurgeDate) GetMonth() int32 { - if x != nil { - return x.Month +func (m *NSResponse_ShareInfo) GetUid() uint64 { + if m != nil { + return m.Uid } return 0 } -func (x *NSRequest_RecycleRequest_PurgeDate) GetDay() int32 { - if x != nil { - return x.Day +func (m *NSResponse_ShareInfo) GetNshared() uint64 { + if m != nil { + return m.Nshared } return 0 } -type NSRequest_ShareRequest_LsShare struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Outformat NSRequest_ShareRequest_LsShare_OutFormat `protobuf:"varint,1,opt,name=outformat,proto3,enum=eos.rpc.NSRequest_ShareRequest_LsShare_OutFormat" json:"outformat,omitempty"` // - Selection string `protobuf:"bytes,2,opt,name=selection,proto3" json:"selection,omitempty"` // +type NSResponse_ShareAccess struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Granted bool `protobuf:"varint,2,opt,name=granted,proto3" json:"granted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NSRequest_ShareRequest_LsShare) Reset() { - *x = NSRequest_ShareRequest_LsShare{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse_ShareAccess) Reset() { *m = NSResponse_ShareAccess{} } +func (m *NSResponse_ShareAccess) String() string { return proto.CompactTextString(m) } +func (*NSResponse_ShareAccess) ProtoMessage() {} +func (*NSResponse_ShareAccess) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 6} } -func (x *NSRequest_ShareRequest_LsShare) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse_ShareAccess) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse_ShareAccess.Unmarshal(m, b) } - -func (*NSRequest_ShareRequest_LsShare) ProtoMessage() {} - -func (x *NSRequest_ShareRequest_LsShare) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *NSResponse_ShareAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse_ShareAccess.Marshal(b, m, deterministic) } - -// Deprecated: Use NSRequest_ShareRequest_LsShare.ProtoReflect.Descriptor instead. -func (*NSRequest_ShareRequest_LsShare) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 15, 0} +func (m *NSResponse_ShareAccess) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse_ShareAccess.Merge(m, src) } - -func (x *NSRequest_ShareRequest_LsShare) GetOutformat() NSRequest_ShareRequest_LsShare_OutFormat { - if x != nil { - return x.Outformat - } - return NSRequest_ShareRequest_LsShare_NONE +func (m *NSResponse_ShareAccess) XXX_Size() int { + return xxx_messageInfo_NSResponse_ShareAccess.Size(m) } +func (m *NSResponse_ShareAccess) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse_ShareAccess.DiscardUnknown(m) +} + +var xxx_messageInfo_NSResponse_ShareAccess proto.InternalMessageInfo -func (x *NSRequest_ShareRequest_LsShare) GetSelection() string { - if x != nil { - return x.Selection +func (m *NSResponse_ShareAccess) GetName() string { + if m != nil { + return m.Name } return "" } -type NSRequest_ShareRequest_OperateShare struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (m *NSResponse_ShareAccess) GetGranted() bool { + if m != nil { + return m.Granted + } + return false +} - Op NSRequest_ShareRequest_OperateShare_Op `protobuf:"varint,1,opt,name=op,proto3,enum=eos.rpc.NSRequest_ShareRequest_OperateShare_Op" json:"op,omitempty"` - Share string `protobuf:"bytes,2,opt,name=share,proto3" json:"share,omitempty"` - Acl string `protobuf:"bytes,3,opt,name=acl,proto3" json:"acl,omitempty"` - Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` - User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` - Group string `protobuf:"bytes,6,opt,name=group,proto3" json:"group,omitempty"` +type NSResponse_ShareResponse struct { + Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` + Shares []*NSResponse_ShareInfo `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"` + Access []*NSResponse_ShareAccess `protobuf:"bytes,4,rep,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NSResponse_ShareResponse) Reset() { *m = NSResponse_ShareResponse{} } +func (m *NSResponse_ShareResponse) String() string { return proto.CompactTextString(m) } +func (*NSResponse_ShareResponse) ProtoMessage() {} +func (*NSResponse_ShareResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{21, 7} } -func (x *NSRequest_ShareRequest_OperateShare) Reset() { - *x = NSRequest_ShareRequest_OperateShare{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NSResponse_ShareResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NSResponse_ShareResponse.Unmarshal(m, b) +} +func (m *NSResponse_ShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NSResponse_ShareResponse.Marshal(b, m, deterministic) +} +func (m *NSResponse_ShareResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NSResponse_ShareResponse.Merge(m, src) +} +func (m *NSResponse_ShareResponse) XXX_Size() int { + return xxx_messageInfo_NSResponse_ShareResponse.Size(m) } - -func (x *NSRequest_ShareRequest_OperateShare) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NSResponse_ShareResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NSResponse_ShareResponse.DiscardUnknown(m) } -func (*NSRequest_ShareRequest_OperateShare) ProtoMessage() {} +var xxx_messageInfo_NSResponse_ShareResponse proto.InternalMessageInfo -func (x *NSRequest_ShareRequest_OperateShare) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NSResponse_ShareResponse) GetCode() int64 { + if m != nil { + return m.Code } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use NSRequest_ShareRequest_OperateShare.ProtoReflect.Descriptor instead. -func (*NSRequest_ShareRequest_OperateShare) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{20, 15, 1} +func (m *NSResponse_ShareResponse) GetMsg() string { + if m != nil { + return m.Msg + } + return "" } -func (x *NSRequest_ShareRequest_OperateShare) GetOp() NSRequest_ShareRequest_OperateShare_Op { - if x != nil { - return x.Op +func (m *NSResponse_ShareResponse) GetShares() []*NSResponse_ShareInfo { + if m != nil { + return m.Shares } - return NSRequest_ShareRequest_OperateShare_CREATE + return nil } -func (x *NSRequest_ShareRequest_OperateShare) GetShare() string { - if x != nil { - return x.Share +func (m *NSResponse_ShareResponse) GetAccess() []*NSResponse_ShareAccess { + if m != nil { + return m.Access } - return "" + return nil } -func (x *NSRequest_ShareRequest_OperateShare) GetAcl() string { - if x != nil { - return x.Acl - } - return "" +type NsStatRequest struct { + Authkey string `protobuf:"bytes,1,opt,name=authkey,proto3" json:"authkey,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (x *NSRequest_ShareRequest_OperateShare) GetPath() string { - if x != nil { - return x.Path - } - return "" +func (m *NsStatRequest) Reset() { *m = NsStatRequest{} } +func (m *NsStatRequest) String() string { return proto.CompactTextString(m) } +func (*NsStatRequest) ProtoMessage() {} +func (*NsStatRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{22} } -func (x *NSRequest_ShareRequest_OperateShare) GetUser() string { - if x != nil { - return x.User - } - return "" +func (m *NsStatRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NsStatRequest.Unmarshal(m, b) +} +func (m *NsStatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NsStatRequest.Marshal(b, m, deterministic) +} +func (m *NsStatRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NsStatRequest.Merge(m, src) +} +func (m *NsStatRequest) XXX_Size() int { + return xxx_messageInfo_NsStatRequest.Size(m) +} +func (m *NsStatRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NsStatRequest.DiscardUnknown(m) } -func (x *NSRequest_ShareRequest_OperateShare) GetGroup() string { - if x != nil { - return x.Group +var xxx_messageInfo_NsStatRequest proto.InternalMessageInfo + +func (m *NsStatRequest) GetAuthkey() string { + if m != nil { + return m.Authkey } return "" } -type NSResponse_ErrorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` +type NsStatResponse struct { + Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Emsg string `protobuf:"bytes,2,opt,name=emsg,proto3" json:"emsg,omitempty"` + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` + Nfiles uint64 `protobuf:"varint,4,opt,name=nfiles,proto3" json:"nfiles,omitempty"` + Ncontainers uint64 `protobuf:"varint,5,opt,name=ncontainers,proto3" json:"ncontainers,omitempty"` + BootTime uint64 `protobuf:"varint,6,opt,name=boot_time,json=bootTime,proto3" json:"boot_time,omitempty"` + CurrentFid uint64 `protobuf:"varint,7,opt,name=current_fid,json=currentFid,proto3" json:"current_fid,omitempty"` + CurrentCid uint64 `protobuf:"varint,8,opt,name=current_cid,json=currentCid,proto3" json:"current_cid,omitempty"` + MemVirtual uint64 `protobuf:"varint,9,opt,name=mem_virtual,json=memVirtual,proto3" json:"mem_virtual,omitempty"` + MemResident uint64 `protobuf:"varint,10,opt,name=mem_resident,json=memResident,proto3" json:"mem_resident,omitempty"` + MemShare uint64 `protobuf:"varint,11,opt,name=mem_share,json=memShare,proto3" json:"mem_share,omitempty"` + MemGrowth uint64 `protobuf:"varint,12,opt,name=mem_growth,json=memGrowth,proto3" json:"mem_growth,omitempty"` + Threads uint64 `protobuf:"varint,13,opt,name=threads,proto3" json:"threads,omitempty"` + Fds uint64 `protobuf:"varint,14,opt,name=fds,proto3" json:"fds,omitempty"` + Uptime uint64 `protobuf:"varint,15,opt,name=uptime,proto3" json:"uptime,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NsStatResponse) Reset() { *m = NsStatResponse{} } +func (m *NsStatResponse) String() string { return proto.CompactTextString(m) } +func (*NsStatResponse) ProtoMessage() {} +func (*NsStatResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{23} } -func (x *NSResponse_ErrorResponse) Reset() { - *x = NSResponse_ErrorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *NsStatResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NsStatResponse.Unmarshal(m, b) } - -func (x *NSResponse_ErrorResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NsStatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NsStatResponse.Marshal(b, m, deterministic) } - -func (*NSResponse_ErrorResponse) ProtoMessage() {} - -func (x *NSResponse_ErrorResponse) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *NsStatResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NsStatResponse.Merge(m, src) } - -// Deprecated: Use NSResponse_ErrorResponse.ProtoReflect.Descriptor instead. -func (*NSResponse_ErrorResponse) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 0} +func (m *NsStatResponse) XXX_Size() int { + return xxx_messageInfo_NsStatResponse.Size(m) +} +func (m *NsStatResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NsStatResponse.DiscardUnknown(m) } -func (x *NSResponse_ErrorResponse) GetCode() int64 { - if x != nil { - return x.Code +var xxx_messageInfo_NsStatResponse proto.InternalMessageInfo + +func (m *NsStatResponse) GetCode() int64 { + if m != nil { + return m.Code } return 0 } -func (x *NSResponse_ErrorResponse) GetMsg() string { - if x != nil { - return x.Msg +func (m *NsStatResponse) GetEmsg() string { + if m != nil { + return m.Emsg } return "" } -type NSResponse_VersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Versions []*NSResponse_VersionResponse_VersionInfo `protobuf:"bytes,3,rep,name=versions,proto3" json:"versions,omitempty"` -} - -func (x *NSResponse_VersionResponse) Reset() { - *x = NSResponse_VersionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *NsStatResponse) GetState() string { + if m != nil { + return m.State } + return "" } -func (x *NSResponse_VersionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NSResponse_VersionResponse) ProtoMessage() {} - -func (x *NSResponse_VersionResponse) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NsStatResponse) GetNfiles() uint64 { + if m != nil { + return m.Nfiles } - return mi.MessageOf(x) -} - -// Deprecated: Use NSResponse_VersionResponse.ProtoReflect.Descriptor instead. -func (*NSResponse_VersionResponse) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 1} + return 0 } -func (x *NSResponse_VersionResponse) GetCode() int64 { - if x != nil { - return x.Code +func (m *NsStatResponse) GetNcontainers() uint64 { + if m != nil { + return m.Ncontainers } return 0 } -func (x *NSResponse_VersionResponse) GetMsg() string { - if x != nil { - return x.Msg +func (m *NsStatResponse) GetBootTime() uint64 { + if m != nil { + return m.BootTime } - return "" + return 0 } -func (x *NSResponse_VersionResponse) GetVersions() []*NSResponse_VersionResponse_VersionInfo { - if x != nil { - return x.Versions +func (m *NsStatResponse) GetCurrentFid() uint64 { + if m != nil { + return m.CurrentFid } - return nil + return 0 } -type NSResponse_RecycleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Recycles []*NSResponse_RecycleResponse_RecycleInfo `protobuf:"bytes,3,rep,name=recycles,proto3" json:"recycles,omitempty"` +func (m *NsStatResponse) GetCurrentCid() uint64 { + if m != nil { + return m.CurrentCid + } + return 0 } -func (x *NSResponse_RecycleResponse) Reset() { - *x = NSResponse_RecycleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *NsStatResponse) GetMemVirtual() uint64 { + if m != nil { + return m.MemVirtual } + return 0 } -func (x *NSResponse_RecycleResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *NsStatResponse) GetMemResident() uint64 { + if m != nil { + return m.MemResident + } + return 0 } -func (*NSResponse_RecycleResponse) ProtoMessage() {} - -func (x *NSResponse_RecycleResponse) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *NsStatResponse) GetMemShare() uint64 { + if m != nil { + return m.MemShare } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use NSResponse_RecycleResponse.ProtoReflect.Descriptor instead. -func (*NSResponse_RecycleResponse) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 2} +func (m *NsStatResponse) GetMemGrowth() uint64 { + if m != nil { + return m.MemGrowth + } + return 0 } -func (x *NSResponse_RecycleResponse) GetCode() int64 { - if x != nil { - return x.Code +func (m *NsStatResponse) GetThreads() uint64 { + if m != nil { + return m.Threads } return 0 } -func (x *NSResponse_RecycleResponse) GetMsg() string { - if x != nil { - return x.Msg +func (m *NsStatResponse) GetFds() uint64 { + if m != nil { + return m.Fds } - return "" + return 0 } -func (x *NSResponse_RecycleResponse) GetRecycles() []*NSResponse_RecycleResponse_RecycleInfo { - if x != nil { - return x.Recycles +func (m *NsStatResponse) GetUptime() uint64 { + if m != nil { + return m.Uptime } - return nil + return 0 } -type NSResponse_AclResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Rule string `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` +type ManilaRequest struct { + RequestType MANILA_REQUEST_TYPE `protobuf:"varint,1,opt,name=request_type,json=requestType,proto3,enum=eos.rpc.MANILA_REQUEST_TYPE" json:"request_type,omitempty"` + AuthKey string `protobuf:"bytes,2,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"` + Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` + ShareName string `protobuf:"bytes,4,opt,name=share_name,json=shareName,proto3" json:"share_name,omitempty"` + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + ShareId string `protobuf:"bytes,6,opt,name=share_id,json=shareId,proto3" json:"share_id,omitempty"` + ShareGroupId string `protobuf:"bytes,7,opt,name=share_group_id,json=shareGroupId,proto3" json:"share_group_id,omitempty"` + Quota int32 `protobuf:"varint,8,opt,name=quota,proto3" json:"quota,omitempty"` + Creator string `protobuf:"bytes,9,opt,name=creator,proto3" json:"creator,omitempty"` + Egroup string `protobuf:"bytes,10,opt,name=egroup,proto3" json:"egroup,omitempty"` + AdminEgroup string `protobuf:"bytes,11,opt,name=admin_egroup,json=adminEgroup,proto3" json:"admin_egroup,omitempty"` + ShareHost string `protobuf:"bytes,12,opt,name=share_host,json=shareHost,proto3" json:"share_host,omitempty"` + ShareLocation string `protobuf:"bytes,13,opt,name=share_location,json=shareLocation,proto3" json:"share_location,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManilaRequest) Reset() { *m = ManilaRequest{} } +func (m *ManilaRequest) String() string { return proto.CompactTextString(m) } +func (*ManilaRequest) ProtoMessage() {} +func (*ManilaRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{24} } -func (x *NSResponse_AclResponse) Reset() { - *x = NSResponse_AclResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ManilaRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManilaRequest.Unmarshal(m, b) } - -func (x *NSResponse_AclResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ManilaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManilaRequest.Marshal(b, m, deterministic) +} +func (m *ManilaRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManilaRequest.Merge(m, src) +} +func (m *ManilaRequest) XXX_Size() int { + return xxx_messageInfo_ManilaRequest.Size(m) +} +func (m *ManilaRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ManilaRequest.DiscardUnknown(m) } -func (*NSResponse_AclResponse) ProtoMessage() {} +var xxx_messageInfo_ManilaRequest proto.InternalMessageInfo -func (x *NSResponse_AclResponse) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *ManilaRequest) GetRequestType() MANILA_REQUEST_TYPE { + if m != nil { + return m.RequestType } - return mi.MessageOf(x) + return MANILA_REQUEST_TYPE_CREATE_SHARE } -// Deprecated: Use NSResponse_AclResponse.ProtoReflect.Descriptor instead. -func (*NSResponse_AclResponse) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 3} +func (m *ManilaRequest) GetAuthKey() string { + if m != nil { + return m.AuthKey + } + return "" } -func (x *NSResponse_AclResponse) GetCode() int64 { - if x != nil { - return x.Code +func (m *ManilaRequest) GetProtocol() string { + if m != nil { + return m.Protocol } - return 0 + return "" } -func (x *NSResponse_AclResponse) GetMsg() string { - if x != nil { - return x.Msg +func (m *ManilaRequest) GetShareName() string { + if m != nil { + return m.ShareName } return "" } -func (x *NSResponse_AclResponse) GetRule() string { - if x != nil { - return x.Rule +func (m *ManilaRequest) GetDescription() string { + if m != nil { + return m.Description } return "" } -type NSResponse_QuotaResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Quotanode []*QuotaProto `protobuf:"bytes,3,rep,name=quotanode,proto3" json:"quotanode,omitempty"` +func (m *ManilaRequest) GetShareId() string { + if m != nil { + return m.ShareId + } + return "" } -func (x *NSResponse_QuotaResponse) Reset() { - *x = NSResponse_QuotaResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *ManilaRequest) GetShareGroupId() string { + if m != nil { + return m.ShareGroupId } + return "" } -func (x *NSResponse_QuotaResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ManilaRequest) GetQuota() int32 { + if m != nil { + return m.Quota + } + return 0 } -func (*NSResponse_QuotaResponse) ProtoMessage() {} - -func (x *NSResponse_QuotaResponse) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (m *ManilaRequest) GetCreator() string { + if m != nil { + return m.Creator } - return mi.MessageOf(x) + return "" } -// Deprecated: Use NSResponse_QuotaResponse.ProtoReflect.Descriptor instead. -func (*NSResponse_QuotaResponse) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 4} +func (m *ManilaRequest) GetEgroup() string { + if m != nil { + return m.Egroup + } + return "" } -func (x *NSResponse_QuotaResponse) GetCode() int64 { - if x != nil { - return x.Code +func (m *ManilaRequest) GetAdminEgroup() string { + if m != nil { + return m.AdminEgroup } - return 0 + return "" } -func (x *NSResponse_QuotaResponse) GetMsg() string { - if x != nil { - return x.Msg +func (m *ManilaRequest) GetShareHost() string { + if m != nil { + return m.ShareHost } return "" } -func (x *NSResponse_QuotaResponse) GetQuotanode() []*QuotaProto { - if x != nil { - return x.Quotanode +func (m *ManilaRequest) GetShareLocation() string { + if m != nil { + return m.ShareLocation } - return nil + return "" } -type NSResponse_ShareInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` - Rule string `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` - Uid uint64 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"` - Nshared uint64 `protobuf:"varint,5,opt,name=nshared,proto3" json:"nshared,omitempty"` +type ManilaResponse struct { + Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` + Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` + TotalUsed int64 `protobuf:"varint,3,opt,name=total_used,json=totalUsed,proto3" json:"total_used,omitempty"` + TotalCapacity int64 `protobuf:"varint,4,opt,name=total_capacity,json=totalCapacity,proto3" json:"total_capacity,omitempty"` + NewShareQuota int64 `protobuf:"varint,5,opt,name=new_share_quota,json=newShareQuota,proto3" json:"new_share_quota,omitempty"` + NewSharePath string `protobuf:"bytes,6,opt,name=new_share_path,json=newSharePath,proto3" json:"new_share_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManilaResponse) Reset() { *m = ManilaResponse{} } +func (m *ManilaResponse) String() string { return proto.CompactTextString(m) } +func (*ManilaResponse) ProtoMessage() {} +func (*ManilaResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_979aee4989bceb08, []int{25} } -func (x *NSResponse_ShareInfo) Reset() { - *x = NSResponse_ShareInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +func (m *ManilaResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManilaResponse.Unmarshal(m, b) } - -func (x *NSResponse_ShareInfo) String() string { - return protoimpl.X.MessageStringOf(x) +func (m *ManilaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManilaResponse.Marshal(b, m, deterministic) } - -func (*NSResponse_ShareInfo) ProtoMessage() {} - -func (x *NSResponse_ShareInfo) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (m *ManilaResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManilaResponse.Merge(m, src) } - -// Deprecated: Use NSResponse_ShareInfo.ProtoReflect.Descriptor instead. -func (*NSResponse_ShareInfo) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 5} +func (m *ManilaResponse) XXX_Size() int { + return xxx_messageInfo_ManilaResponse.Size(m) } - -func (x *NSResponse_ShareInfo) GetName() string { - if x != nil { - return x.Name - } - return "" +func (m *ManilaResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ManilaResponse.DiscardUnknown(m) } -func (x *NSResponse_ShareInfo) GetRoot() string { - if x != nil { - return x.Root +var xxx_messageInfo_ManilaResponse proto.InternalMessageInfo + +func (m *ManilaResponse) GetMsg() string { + if m != nil { + return m.Msg } return "" } -func (x *NSResponse_ShareInfo) GetRule() string { - if x != nil { - return x.Rule +func (m *ManilaResponse) GetCode() int32 { + if m != nil { + return m.Code } - return "" + return 0 } -func (x *NSResponse_ShareInfo) GetUid() uint64 { - if x != nil { - return x.Uid +func (m *ManilaResponse) GetTotalUsed() int64 { + if m != nil { + return m.TotalUsed } return 0 } -func (x *NSResponse_ShareInfo) GetNshared() uint64 { - if x != nil { - return x.Nshared +func (m *ManilaResponse) GetTotalCapacity() int64 { + if m != nil { + return m.TotalCapacity } return 0 } -type NSResponse_ShareAccess struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Granted bool `protobuf:"varint,2,opt,name=granted,proto3" json:"granted,omitempty"` +func (m *ManilaResponse) GetNewShareQuota() int64 { + if m != nil { + return m.NewShareQuota + } + return 0 } -func (x *NSResponse_ShareAccess) Reset() { - *x = NSResponse_ShareAccess{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (m *ManilaResponse) GetNewSharePath() string { + if m != nil { + return m.NewSharePath } + return "" } -func (x *NSResponse_ShareAccess) String() string { - return protoimpl.X.MessageStringOf(x) +func init() { + proto.RegisterEnum("eos.rpc.TYPE", TYPE_name, TYPE_value) + proto.RegisterEnum("eos.rpc.QUOTATYPE", QUOTATYPE_name, QUOTATYPE_value) + proto.RegisterEnum("eos.rpc.QUOTAOP", QUOTAOP_name, QUOTAOP_value) + proto.RegisterEnum("eos.rpc.QUOTAENTRY", QUOTAENTRY_name, QUOTAENTRY_value) + proto.RegisterEnum("eos.rpc.MANILA_REQUEST_TYPE", MANILA_REQUEST_TYPE_name, MANILA_REQUEST_TYPE_value) + proto.RegisterEnum("eos.rpc.NSRequest_VersionRequest_VERSION_CMD", NSRequest_VersionRequest_VERSION_CMD_name, NSRequest_VersionRequest_VERSION_CMD_value) + proto.RegisterEnum("eos.rpc.NSRequest_RecycleRequest_RECYCLE_CMD", NSRequest_RecycleRequest_RECYCLE_CMD_name, NSRequest_RecycleRequest_RECYCLE_CMD_value) + proto.RegisterEnum("eos.rpc.NSRequest_AclRequest_ACL_COMMAND", NSRequest_AclRequest_ACL_COMMAND_name, NSRequest_AclRequest_ACL_COMMAND_value) + proto.RegisterEnum("eos.rpc.NSRequest_AclRequest_ACL_TYPE", NSRequest_AclRequest_ACL_TYPE_name, NSRequest_AclRequest_ACL_TYPE_value) + proto.RegisterEnum("eos.rpc.NSRequest_ShareRequest_LsShare_OutFormat", NSRequest_ShareRequest_LsShare_OutFormat_name, NSRequest_ShareRequest_LsShare_OutFormat_value) + proto.RegisterEnum("eos.rpc.NSRequest_ShareRequest_OperateShare_Op", NSRequest_ShareRequest_OperateShare_Op_name, NSRequest_ShareRequest_OperateShare_Op_value) + proto.RegisterEnum("eos.rpc.NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE", NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_name, NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_value) + proto.RegisterType((*PingRequest)(nil), "eos.rpc.PingRequest") + proto.RegisterType((*PingReply)(nil), "eos.rpc.PingReply") + proto.RegisterType((*ContainerInsertRequest)(nil), "eos.rpc.ContainerInsertRequest") + proto.RegisterType((*FileInsertRequest)(nil), "eos.rpc.FileInsertRequest") + proto.RegisterType((*InsertReply)(nil), "eos.rpc.InsertReply") + proto.RegisterType((*Time)(nil), "eos.rpc.Time") + proto.RegisterType((*Checksum)(nil), "eos.rpc.Checksum") + proto.RegisterType((*FileMdProto)(nil), "eos.rpc.FileMdProto") + proto.RegisterMapType((map[string][]byte)(nil), "eos.rpc.FileMdProto.XattrsEntry") + proto.RegisterType((*ContainerMdProto)(nil), "eos.rpc.ContainerMdProto") + proto.RegisterMapType((map[string][]byte)(nil), "eos.rpc.ContainerMdProto.XattrsEntry") + proto.RegisterType((*QuotaProto)(nil), "eos.rpc.QuotaProto") + proto.RegisterType((*RoleId)(nil), "eos.rpc.RoleId") + proto.RegisterType((*MDId)(nil), "eos.rpc.MDId") + proto.RegisterType((*Limit)(nil), "eos.rpc.Limit") + proto.RegisterType((*MDSelection)(nil), "eos.rpc.MDSelection") + proto.RegisterMapType((map[string][]byte)(nil), "eos.rpc.MDSelection.XattrEntry") + proto.RegisterType((*MDRequest)(nil), "eos.rpc.MDRequest") + proto.RegisterType((*MDResponse)(nil), "eos.rpc.MDResponse") + proto.RegisterType((*FindRequest)(nil), "eos.rpc.FindRequest") + proto.RegisterType((*ShareAuth)(nil), "eos.rpc.ShareAuth") + proto.RegisterType((*ShareProto)(nil), "eos.rpc.ShareProto") + proto.RegisterType((*ShareToken)(nil), "eos.rpc.ShareToken") + proto.RegisterType((*NSRequest)(nil), "eos.rpc.NSRequest") + proto.RegisterType((*NSRequest_MkdirRequest)(nil), "eos.rpc.NSRequest.MkdirRequest") + proto.RegisterType((*NSRequest_RmdirRequest)(nil), "eos.rpc.NSRequest.RmdirRequest") + proto.RegisterType((*NSRequest_TouchRequest)(nil), "eos.rpc.NSRequest.TouchRequest") + proto.RegisterType((*NSRequest_UnlinkRequest)(nil), "eos.rpc.NSRequest.UnlinkRequest") + proto.RegisterType((*NSRequest_RmRequest)(nil), "eos.rpc.NSRequest.RmRequest") + proto.RegisterType((*NSRequest_RenameRequest)(nil), "eos.rpc.NSRequest.RenameRequest") + proto.RegisterType((*NSRequest_SymlinkRequest)(nil), "eos.rpc.NSRequest.SymlinkRequest") + proto.RegisterType((*NSRequest_VersionRequest)(nil), "eos.rpc.NSRequest.VersionRequest") + proto.RegisterType((*NSRequest_RecycleRequest)(nil), "eos.rpc.NSRequest.RecycleRequest") + proto.RegisterType((*NSRequest_RecycleRequest_RestoreFlags)(nil), "eos.rpc.NSRequest.RecycleRequest.RestoreFlags") + proto.RegisterType((*NSRequest_RecycleRequest_PurgeDate)(nil), "eos.rpc.NSRequest.RecycleRequest.PurgeDate") + proto.RegisterType((*NSRequest_SetXAttrRequest)(nil), "eos.rpc.NSRequest.SetXAttrRequest") + proto.RegisterMapType((map[string][]byte)(nil), "eos.rpc.NSRequest.SetXAttrRequest.XattrsEntry") + proto.RegisterType((*NSRequest_ChownRequest)(nil), "eos.rpc.NSRequest.ChownRequest") + proto.RegisterType((*NSRequest_ChmodRequest)(nil), "eos.rpc.NSRequest.ChmodRequest") + proto.RegisterType((*NSRequest_AclRequest)(nil), "eos.rpc.NSRequest.AclRequest") + proto.RegisterType((*NSRequest_TokenRequest)(nil), "eos.rpc.NSRequest.TokenRequest") + proto.RegisterType((*NSRequest_QuotaRequest)(nil), "eos.rpc.NSRequest.QuotaRequest") + proto.RegisterType((*NSRequest_ShareRequest)(nil), "eos.rpc.NSRequest.ShareRequest") + proto.RegisterType((*NSRequest_ShareRequest_LsShare)(nil), "eos.rpc.NSRequest.ShareRequest.LsShare") + proto.RegisterType((*NSRequest_ShareRequest_OperateShare)(nil), "eos.rpc.NSRequest.ShareRequest.OperateShare") + proto.RegisterType((*NSResponse)(nil), "eos.rpc.NSResponse") + proto.RegisterType((*NSResponse_ErrorResponse)(nil), "eos.rpc.NSResponse.ErrorResponse") + proto.RegisterType((*NSResponse_VersionResponse)(nil), "eos.rpc.NSResponse.VersionResponse") + proto.RegisterType((*NSResponse_VersionResponse_VersionInfo)(nil), "eos.rpc.NSResponse.VersionResponse.VersionInfo") + proto.RegisterType((*NSResponse_RecycleResponse)(nil), "eos.rpc.NSResponse.RecycleResponse") + proto.RegisterType((*NSResponse_RecycleResponse_RecycleInfo)(nil), "eos.rpc.NSResponse.RecycleResponse.RecycleInfo") + proto.RegisterType((*NSResponse_AclResponse)(nil), "eos.rpc.NSResponse.AclResponse") + proto.RegisterType((*NSResponse_QuotaResponse)(nil), "eos.rpc.NSResponse.QuotaResponse") + proto.RegisterType((*NSResponse_ShareInfo)(nil), "eos.rpc.NSResponse.ShareInfo") + proto.RegisterType((*NSResponse_ShareAccess)(nil), "eos.rpc.NSResponse.ShareAccess") + proto.RegisterType((*NSResponse_ShareResponse)(nil), "eos.rpc.NSResponse.ShareResponse") + proto.RegisterType((*NsStatRequest)(nil), "eos.rpc.NsStatRequest") + proto.RegisterType((*NsStatResponse)(nil), "eos.rpc.NsStatResponse") + proto.RegisterType((*ManilaRequest)(nil), "eos.rpc.ManilaRequest") + proto.RegisterType((*ManilaResponse)(nil), "eos.rpc.ManilaResponse") +} + +func init() { + proto.RegisterFile("Rpc.proto", fileDescriptor_979aee4989bceb08) +} + +var fileDescriptor_979aee4989bceb08 = []byte{ + // 3982 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x7a, 0xcd, 0x73, 0x1b, 0xc7, + 0x72, 0x38, 0xf1, 0x49, 0x6c, 0x03, 0x20, 0xe1, 0x95, 0x7e, 0x36, 0x0c, 0x49, 0x16, 0xbd, 0xb2, + 0xfc, 0x24, 0x3d, 0x8b, 0xb2, 0xf4, 0x8b, 0x23, 0xdb, 0x7a, 0x8e, 0x03, 0x91, 0x20, 0x05, 0x9b, + 0x00, 0xe8, 0x01, 0xa8, 0x92, 0x72, 0x41, 0xad, 0x76, 0x87, 0xe0, 0x96, 0xb0, 0xbb, 0x78, 0xbb, + 0x0b, 0x49, 0xf4, 0x35, 0xb9, 0xe4, 0x55, 0x72, 0x7b, 0xb7, 0xdc, 0x52, 0x49, 0x2e, 0xb9, 0xe7, + 0x90, 0x53, 0x6e, 0x79, 0x95, 0x43, 0x0e, 0xa9, 0x54, 0xe5, 0x96, 0x5b, 0x4e, 0xc9, 0x1f, 0x91, + 0xea, 0x9e, 0xd9, 0xdd, 0x59, 0x12, 0x20, 0xe8, 0x3c, 0x5f, 0x50, 0xd3, 0x3d, 0xdd, 0x3d, 0x33, + 0x3d, 0xfd, 0xb9, 0x03, 0xd0, 0xd8, 0xcc, 0xda, 0x9e, 0x05, 0x7e, 0xe4, 0xeb, 0xeb, 0xdc, 0x0f, + 0xb7, 0x83, 0x99, 0x65, 0xb4, 0xa1, 0x7a, 0xe8, 0x78, 0x13, 0xc6, 0x7f, 0x3d, 0xe7, 0x61, 0xa4, + 0x37, 0x61, 0xdd, 0x9c, 0x47, 0x27, 0xaf, 0xf9, 0x69, 0x33, 0xb7, 0x95, 0xbb, 0xa3, 0xb1, 0x18, + 0xc4, 0x19, 0x97, 0x87, 0xa1, 0x39, 0xe1, 0xcd, 0xfc, 0x56, 0xee, 0x4e, 0x8d, 0xc5, 0xa0, 0x71, + 0x1b, 0x34, 0x21, 0x62, 0x36, 0xcd, 0x90, 0xe5, 0xb2, 0x64, 0xbf, 0xc9, 0xc1, 0xfb, 0x3b, 0xbe, + 0x17, 0x99, 0x8e, 0xc7, 0x83, 0xae, 0x17, 0xf2, 0x20, 0x8a, 0x57, 0x7d, 0x0c, 0x9a, 0x15, 0xcf, + 0x34, 0x73, 0x5b, 0x85, 0x3b, 0xd5, 0x47, 0x1f, 0x6e, 0xcb, 0x1d, 0x6e, 0x27, 0x3c, 0x3d, 0xfb, + 0x10, 0xf7, 0xce, 0x52, 0x5a, 0x75, 0xbb, 0xf9, 0xec, 0x76, 0x6f, 0x00, 0x38, 0xde, 0x09, 0x0f, + 0x9c, 0x68, 0xec, 0xda, 0xcd, 0xc2, 0x56, 0xee, 0x4e, 0x85, 0x69, 0x12, 0xd3, 0xb3, 0x8d, 0x97, + 0xf0, 0xde, 0x9e, 0x33, 0xe5, 0xd9, 0x6d, 0xdc, 0x83, 0xd2, 0xb1, 0x33, 0xe5, 0xa1, 0xdc, 0xc2, + 0xd5, 0x64, 0x0b, 0x48, 0x1a, 0xaf, 0x2e, 0x48, 0x96, 0xaf, 0x6c, 0x3c, 0x81, 0x6a, 0x2c, 0xf6, + 0x9c, 0x42, 0x0a, 0x48, 0x28, 0x41, 0x5d, 0x87, 0x62, 0xc0, 0x23, 0xab, 0x99, 0xdf, 0x2a, 0xdc, + 0xa9, 0x33, 0x1a, 0x1b, 0xf7, 0xa1, 0x38, 0x72, 0x5c, 0xae, 0x37, 0xa0, 0x10, 0x72, 0x8b, 0x54, + 0x58, 0x64, 0x38, 0xd4, 0xaf, 0x40, 0xc9, 0x1b, 0x23, 0x2e, 0x4f, 0xb8, 0xa2, 0x37, 0xe4, 0x96, + 0xf1, 0x07, 0x50, 0xd9, 0x39, 0xe1, 0xd6, 0xeb, 0x70, 0xee, 0xea, 0x57, 0xa1, 0xf4, 0xc6, 0x9c, + 0xce, 0x63, 0xbd, 0x0b, 0x00, 0x17, 0x89, 0x4e, 0x67, 0x5c, 0x6e, 0x92, 0xc6, 0xc6, 0x3f, 0x17, + 0xa1, 0xaa, 0x1c, 0x49, 0xdf, 0x80, 0xbc, 0x63, 0xcb, 0xb5, 0xf2, 0x8e, 0xad, 0x7f, 0x00, 0xeb, + 0xa8, 0xe2, 0xb1, 0x63, 0xcb, 0xc5, 0xca, 0x08, 0x76, 0x6d, 0xdc, 0xd5, 0xdc, 0x11, 0xda, 0x2c, + 0x32, 0x1c, 0x22, 0x66, 0xe2, 0xd8, 0xcd, 0xa2, 0xc0, 0x4c, 0x1c, 0x1b, 0x17, 0x0c, 0x9d, 0x1f, + 0x79, 0xb3, 0x24, 0xb6, 0x89, 0x63, 0xfd, 0x1a, 0x68, 0x53, 0xf3, 0xd4, 0x9f, 0x93, 0xc8, 0xf2, + 0x56, 0xee, 0x4e, 0x9d, 0x55, 0x04, 0xa2, 0x6b, 0xe3, 0xbe, 0x8f, 0xa7, 0xe6, 0x24, 0x6c, 0xae, + 0xd3, 0x84, 0x00, 0x50, 0x8c, 0x67, 0xba, 0xbc, 0x59, 0xa1, 0xc3, 0xd0, 0x98, 0xc4, 0x38, 0xde, + 0xeb, 0x31, 0x4d, 0x68, 0x34, 0x51, 0x41, 0x44, 0x1f, 0x27, 0x6f, 0x41, 0xc9, 0x8a, 0x1c, 0x97, + 0x37, 0x61, 0x2b, 0x77, 0xa7, 0xfa, 0xa8, 0x9e, 0x5c, 0x1e, 0xea, 0x93, 0x89, 0x39, 0x24, 0x72, + 0x89, 0xa8, 0xba, 0x90, 0x88, 0xe6, 0xf4, 0xfb, 0x50, 0xb1, 0xa4, 0x52, 0x9b, 0x35, 0xa2, 0x7b, + 0x2f, 0x35, 0x46, 0x39, 0xc1, 0x12, 0x12, 0xfd, 0x3a, 0x68, 0x53, 0xdf, 0x32, 0x23, 0xc7, 0xf7, + 0xc2, 0x66, 0x9d, 0xee, 0x32, 0x45, 0xe8, 0x77, 0xa1, 0x31, 0xf7, 0x68, 0xd7, 0x29, 0xd1, 0x06, + 0x11, 0x6d, 0x0a, 0xfc, 0x41, 0x42, 0xfa, 0x25, 0x94, 0xdf, 0x99, 0x51, 0x14, 0x84, 0xcd, 0x4d, + 0xb2, 0xbf, 0xad, 0x45, 0xf6, 0xb7, 0xfd, 0x82, 0x48, 0x3a, 0x5e, 0x14, 0x9c, 0x32, 0x49, 0x8f, + 0xca, 0x9a, 0x99, 0xd1, 0x49, 0xb3, 0x21, 0x94, 0x85, 0x63, 0xc4, 0xf1, 0xc8, 0x9c, 0x34, 0xdf, + 0x13, 0x17, 0x8f, 0x63, 0x54, 0xb5, 0xe3, 0xf9, 0x36, 0x6f, 0xea, 0x74, 0x39, 0x02, 0x68, 0x7d, + 0x05, 0x55, 0x45, 0x28, 0x5e, 0x69, 0xea, 0xfe, 0x38, 0x4c, 0x2d, 0x2b, 0xaf, 0x58, 0xd6, 0xd7, + 0xf9, 0x2f, 0x73, 0xc6, 0x7f, 0x15, 0xa0, 0x71, 0xd6, 0x3f, 0xcf, 0x99, 0xd3, 0x35, 0xd0, 0x66, + 0x66, 0xc0, 0x55, 0x83, 0xaa, 0x08, 0xc4, 0x25, 0x4d, 0xea, 0x1a, 0x68, 0x51, 0xc0, 0xf9, 0x98, + 0xec, 0x0a, 0xcd, 0xa7, 0xc0, 0x2a, 0x88, 0x18, 0xa2, 0x6d, 0xe9, 0x50, 0x74, 0xf1, 0x48, 0x25, + 0xb2, 0x1e, 0x1a, 0xff, 0x04, 0x93, 0x4a, 0xac, 0x46, 0xbb, 0x8c, 0xd5, 0xc0, 0x05, 0x56, 0x73, + 0x0b, 0x4a, 0xe1, 0x05, 0xa6, 0x45, 0x73, 0xfa, 0x37, 0xc9, 0x15, 0xd7, 0xe8, 0x8a, 0x6f, 0x2f, + 0x8d, 0x72, 0x17, 0xde, 0x73, 0x7d, 0xc1, 0x3d, 0x6f, 0x2c, 0xba, 0xe7, 0xcd, 0x9f, 0xe9, 0x9e, + 0xff, 0xb5, 0x00, 0xf0, 0xc3, 0xdc, 0x8f, 0x4c, 0x71, 0xc3, 0xf1, 0x3e, 0x72, 0xd9, 0x7d, 0x90, + 0x76, 0x65, 0xa0, 0x21, 0xed, 0x7e, 0x2a, 0x83, 0x0f, 0xde, 0xee, 0xc6, 0x23, 0x3d, 0x39, 0xec, + 0x0f, 0x47, 0x83, 0x51, 0x7b, 0xf4, 0xf2, 0xb0, 0x23, 0x02, 0x12, 0xba, 0xd0, 0x3c, 0xe4, 0xf6, + 0xab, 0xd3, 0x88, 0x87, 0xf2, 0xe2, 0x53, 0x84, 0x7e, 0x0f, 0x1a, 0x08, 0x4c, 0xfd, 0x89, 0x63, + 0x99, 0x53, 0x41, 0x24, 0xa2, 0xcb, 0x39, 0x7c, 0x2c, 0x49, 0x84, 0xf1, 0x72, 0x2a, 0x49, 0x04, + 0xed, 0x16, 0x54, 0x5c, 0xf3, 0x9d, 0x90, 0xb0, 0x2e, 0x0c, 0x31, 0x86, 0xf5, 0x3b, 0xb0, 0xe9, + 0x9a, 0xef, 0x32, 0x8b, 0x54, 0x88, 0xe4, 0x2c, 0x5a, 0x4a, 0x11, 0x4b, 0x68, 0x89, 0x14, 0xb1, + 0xc2, 0xe7, 0x70, 0x65, 0xc6, 0x03, 0x8b, 0x7b, 0x91, 0x39, 0xe1, 0xe9, 0x99, 0xd0, 0x70, 0xf2, + 0x6c, 0xd1, 0xd4, 0x79, 0x0e, 0x21, 0xb8, 0xba, 0x88, 0x43, 0xac, 0xb1, 0x05, 0xd5, 0x30, 0x32, + 0xa3, 0x79, 0x28, 0x64, 0xd7, 0x48, 0xe1, 0x2a, 0x2a, 0xa5, 0x10, 0xb2, 0xea, 0x2a, 0x05, 0xa1, + 0x8c, 0x63, 0x28, 0x33, 0x7f, 0xca, 0x53, 0x07, 0xcc, 0x9d, 0x73, 0xc0, 0x7c, 0xea, 0x80, 0x2d, + 0xa8, 0xcc, 0x43, 0x1e, 0xd0, 0xfd, 0x16, 0x48, 0x58, 0x02, 0xa3, 0xc6, 0x27, 0x81, 0x3f, 0x9f, + 0xd1, 0x64, 0x91, 0x26, 0x53, 0x84, 0x31, 0x86, 0x62, 0x6f, 0xb7, 0x6b, 0x2f, 0xb4, 0x18, 0x11, + 0x27, 0x70, 0x99, 0x32, 0xc5, 0x89, 0x06, 0x14, 0x1c, 0xcf, 0xa7, 0x05, 0xca, 0x0c, 0x87, 0xfa, + 0xc7, 0xd2, 0x7e, 0x8a, 0x64, 0x3f, 0x8a, 0x4b, 0x25, 0xa6, 0x63, 0x7c, 0x0b, 0xa5, 0x03, 0xc7, + 0x75, 0x22, 0x5c, 0xe1, 0x47, 0x1e, 0xf8, 0xb4, 0x42, 0x85, 0xd1, 0x18, 0x25, 0xba, 0x8e, 0x17, + 0x9f, 0xc4, 0x75, 0x3c, 0xc2, 0x98, 0xef, 0xe2, 0x70, 0xe3, 0x9a, 0xef, 0x8c, 0xbf, 0x2b, 0x43, + 0xb5, 0xb7, 0x3b, 0xe4, 0x53, 0x6e, 0x61, 0x18, 0xd6, 0xdf, 0x87, 0x72, 0x48, 0x80, 0x94, 0x24, + 0x21, 0xfd, 0x93, 0x38, 0x52, 0xe4, 0xc9, 0xbf, 0x37, 0x92, 0xcd, 0xd0, 0xf2, 0x71, 0xa8, 0xf8, + 0x24, 0x0e, 0x15, 0x85, 0xc5, 0x54, 0x6e, 0x4c, 0x25, 0x62, 0x45, 0x71, 0x31, 0x95, 0x08, 0x16, + 0x86, 0x92, 0x49, 0xcf, 0x13, 0x89, 0xcc, 0x7a, 0x0f, 0x28, 0x12, 0x26, 0x91, 0xf1, 0x3c, 0x5d, + 0x32, 0x8f, 0xb4, 0xd6, 0x89, 0x33, 0xb5, 0x03, 0xee, 0x91, 0xf5, 0x2f, 0xa0, 0x8d, 0xe7, 0xf5, + 0xcf, 0xd4, 0xa4, 0x56, 0x59, 0x48, 0xac, 0x24, 0xb9, 0x6f, 0x40, 0x17, 0xc9, 0x8c, 0xdb, 0x4a, + 0x9a, 0xd3, 0x16, 0xb2, 0xbd, 0x17, 0x53, 0xa6, 0x89, 0xaf, 0x05, 0xb2, 0x1a, 0x70, 0x6c, 0xf2, + 0x94, 0x22, 0x4b, 0xe0, 0x34, 0x94, 0x57, 0x45, 0x28, 0x13, 0xa1, 0xbc, 0x09, 0xeb, 0xe1, 0xa9, + 0x8b, 0x72, 0xc8, 0xfc, 0x2b, 0x2c, 0x06, 0x33, 0xc9, 0xbb, 0xbe, 0x3a, 0x79, 0x5f, 0x85, 0x92, + 0xff, 0x16, 0xab, 0xce, 0x0d, 0x91, 0x29, 0x08, 0x40, 0x2c, 0x99, 0x30, 0xc5, 0xcf, 0x3a, 0x13, + 0x00, 0x96, 0x94, 0x34, 0x3d, 0x0e, 0x7c, 0x3f, 0xa2, 0x5c, 0x5b, 0x61, 0x1a, 0x61, 0x98, 0xef, + 0x47, 0x38, 0x4d, 0x74, 0x62, 0xfa, 0x3d, 0x31, 0x4d, 0x18, 0x9a, 0xfe, 0x05, 0x6c, 0x06, 0x7c, + 0xc2, 0xdf, 0xcd, 0xc6, 0xe8, 0x81, 0xe4, 0x2d, 0x3a, 0x39, 0xc3, 0x86, 0x40, 0xef, 0x49, 0xac, + 0x7e, 0x1b, 0x24, 0x66, 0x6c, 0x3b, 0xc2, 0xe5, 0xae, 0x10, 0x5d, 0x5d, 0x60, 0x77, 0x05, 0x52, + 0xff, 0x02, 0x4a, 0x94, 0x15, 0x9a, 0x57, 0x29, 0x93, 0xdc, 0x4c, 0x4e, 0xa9, 0x18, 0xb3, 0x48, + 0x22, 0x22, 0x87, 0x08, 0xea, 0xd6, 0x97, 0x00, 0x29, 0xf2, 0x27, 0xe5, 0x80, 0x7f, 0xca, 0x81, + 0xd6, 0xdb, 0x8d, 0x6b, 0xe5, 0xd8, 0x35, 0x73, 0x4b, 0x5d, 0x53, 0xbf, 0x91, 0xf8, 0xb7, 0x9a, + 0x0e, 0x31, 0x1c, 0x90, 0xbb, 0x2b, 0x15, 0x74, 0x21, 0x5b, 0xbb, 0xdf, 0x82, 0x62, 0xe0, 0x4f, + 0x63, 0xef, 0xd8, 0x4c, 0x58, 0x45, 0xc4, 0x62, 0x34, 0xa9, 0x3f, 0x02, 0x2d, 0x8c, 0xcf, 0x29, + 0x5d, 0xe4, 0xea, 0x22, 0x1d, 0xb0, 0x94, 0xcc, 0xf8, 0xb3, 0x1c, 0x00, 0x1e, 0x21, 0x9c, 0xf9, + 0x5e, 0xc8, 0x2f, 0x73, 0x86, 0x4f, 0xa1, 0x70, 0xec, 0xc6, 0x87, 0x58, 0xdc, 0x10, 0x20, 0x81, + 0xfe, 0x4b, 0x28, 0x58, 0xb2, 0xcf, 0xb8, 0xb0, 0x77, 0x41, 0x2a, 0xe3, 0x3f, 0x73, 0x58, 0x7f, + 0x7b, 0xf6, 0xcf, 0xa7, 0xcb, 0x58, 0x63, 0x85, 0x8b, 0x34, 0xa6, 0x28, 0xbc, 0x98, 0x55, 0xb8, + 0xc8, 0x68, 0x36, 0x9f, 0x45, 0x27, 0x32, 0xb3, 0x26, 0x70, 0x56, 0xcf, 0xe5, 0xcb, 0xe9, 0x79, + 0x1f, 0xb4, 0xe1, 0x89, 0x19, 0xf0, 0xf6, 0x5c, 0x14, 0x06, 0xd8, 0x73, 0x4a, 0x23, 0xa3, 0xf1, + 0xc2, 0x62, 0x41, 0x87, 0xe2, 0x89, 0x1f, 0x46, 0xd2, 0x18, 0x68, 0x6c, 0xfc, 0x26, 0x0f, 0x40, + 0x92, 0x44, 0xdd, 0xf1, 0x11, 0xc0, 0x8c, 0x07, 0xae, 0x13, 0x86, 0xb8, 0x19, 0x21, 0x50, 0xc1, + 0xe0, 0x09, 0xf9, 0xbb, 0x99, 0x13, 0xf0, 0x50, 0xc6, 0xfc, 0x18, 0x4c, 0xfd, 0x5c, 0x48, 0x3f, + 0xeb, 0xe7, 0x42, 0x1f, 0xd2, 0xcf, 0x3f, 0x02, 0x98, 0x70, 0x8f, 0x07, 0x66, 0x62, 0x5a, 0x45, + 0xa6, 0x60, 0x92, 0x5c, 0x56, 0x96, 0x07, 0xc2, 0x5c, 0x76, 0x1d, 0x34, 0x73, 0x3a, 0xf5, 0xdf, + 0x62, 0xb0, 0xa5, 0xe0, 0x5a, 0x61, 0x29, 0x02, 0x73, 0xca, 0x9b, 0xc8, 0x7f, 0xcd, 0x3d, 0x0a, + 0xa5, 0x1a, 0x93, 0x90, 0xfe, 0x19, 0xac, 0xfb, 0x81, 0x33, 0x71, 0x28, 0x58, 0xa2, 0x17, 0xa7, + 0x25, 0x52, 0xa2, 0x3f, 0x16, 0x93, 0x18, 0x7f, 0x9e, 0x93, 0xca, 0x18, 0x11, 0xf3, 0x5d, 0x28, + 0x09, 0x99, 0x39, 0xba, 0x94, 0x2b, 0x59, 0x56, 0xd9, 0xac, 0x8a, 0x75, 0xae, 0x83, 0x16, 0x3a, + 0x13, 0xcf, 0x8c, 0xe6, 0x41, 0xec, 0xd8, 0x29, 0x02, 0xcf, 0x1b, 0xf2, 0xc0, 0x31, 0xa7, 0xce, + 0x8f, 0x5c, 0x98, 0x70, 0x8d, 0x29, 0x18, 0xea, 0xe8, 0x38, 0x17, 0x15, 0x79, 0x89, 0xd1, 0xd8, + 0xf8, 0x8b, 0x8f, 0x40, 0xeb, 0x0f, 0x57, 0x7f, 0x35, 0x88, 0x0d, 0x33, 0x7f, 0x91, 0x61, 0x3e, + 0x86, 0x92, 0xfb, 0xda, 0x76, 0x82, 0xe6, 0xff, 0x23, 0xaa, 0x34, 0x94, 0x25, 0x2b, 0x6c, 0xf7, + 0x70, 0x5e, 0x02, 0xcf, 0xd6, 0x98, 0xa0, 0x47, 0xc6, 0xc0, 0x45, 0xc6, 0xf7, 0x97, 0x32, 0x32, + 0x37, 0xcb, 0x48, 0xf4, 0xc8, 0x18, 0xf9, 0x73, 0xeb, 0xa4, 0xf9, 0xc1, 0x52, 0xc6, 0x11, 0xce, + 0x2b, 0x8c, 0x44, 0xaf, 0x7f, 0x0d, 0x65, 0x91, 0xbf, 0x9a, 0x4d, 0xe2, 0xdc, 0x5a, 0xc0, 0x79, + 0x44, 0x04, 0x29, 0xab, 0xe4, 0xd0, 0xb7, 0x21, 0x1f, 0xb8, 0xcd, 0x0f, 0x89, 0xef, 0xfa, 0xc2, + 0xad, 0xa6, 0x3c, 0xf9, 0xc0, 0xc5, 0xb5, 0x02, 0x91, 0x28, 0x5a, 0x4b, 0xd7, 0x62, 0x44, 0xa0, + 0xac, 0x25, 0x38, 0xf4, 0x6f, 0xd2, 0x04, 0x79, 0x8d, 0x98, 0x3f, 0x5e, 0xc0, 0x3c, 0x14, 0x14, + 0x29, 0x77, 0x92, 0x45, 0xbf, 0x81, 0xf5, 0x37, 0x3c, 0x20, 0x2f, 0xbb, 0xbe, 0x94, 0xfd, 0xb9, + 0xa0, 0x50, 0xd8, 0x25, 0x0f, 0xb2, 0x07, 0xdc, 0x3a, 0xb5, 0xa6, 0xbc, 0x79, 0x63, 0x29, 0x3b, + 0x13, 0x14, 0x0a, 0xbb, 0xe4, 0xd1, 0xbf, 0x8e, 0x53, 0xdb, 0x47, 0xc4, 0x6c, 0x2c, 0xda, 0x3a, + 0x8f, 0x5e, 0xb4, 0xa3, 0x48, 0xbd, 0x59, 0x62, 0xc1, 0x9b, 0xb5, 0x4e, 0xfc, 0xb7, 0x5e, 0xf3, + 0xe6, 0xd2, 0x9b, 0xdd, 0xc1, 0x79, 0x85, 0x91, 0xe8, 0x05, 0xa3, 0xeb, 0xdb, 0xcd, 0xad, 0x0b, + 0x18, 0x5d, 0xdf, 0xce, 0x30, 0xba, 0xbe, 0xad, 0x3f, 0x84, 0x82, 0x69, 0x4d, 0x9b, 0x1f, 0x13, + 0xdb, 0x8d, 0x05, 0x6c, 0x6d, 0x6b, 0x9a, 0x32, 0x21, 0xad, 0x30, 0x3f, 0x74, 0x5d, 0xe3, 0x02, + 0xf3, 0x7b, 0xcd, 0xbd, 0x8c, 0xf9, 0xa1, 0x23, 0x3f, 0x86, 0xd2, 0xaf, 0xb1, 0x0d, 0x6b, 0xde, + 0x5a, 0xca, 0x48, 0x6d, 0x9a, 0xc2, 0x48, 0xf4, 0xc8, 0x18, 0x62, 0x58, 0x68, 0x7e, 0xb2, 0x94, + 0x91, 0xc2, 0x86, 0xc2, 0x48, 0xf4, 0xad, 0x31, 0xd4, 0x54, 0xdf, 0x93, 0x89, 0x28, 0xb7, 0x2c, + 0x11, 0x5d, 0x07, 0x2d, 0xe0, 0xd6, 0x3c, 0x08, 0x9d, 0x37, 0xc2, 0xe9, 0x2b, 0x2c, 0x45, 0x24, + 0xbd, 0x7a, 0x81, 0x7a, 0x78, 0x1a, 0xb7, 0xee, 0x43, 0x4d, 0xf5, 0xd1, 0x15, 0x0b, 0x20, 0xb9, + 0xea, 0x99, 0xab, 0xc8, 0x0f, 0xa0, 0x9e, 0x71, 0xc7, 0x4b, 0xec, 0xdf, 0xf3, 0x63, 0xdb, 0x95, + 0x5f, 0x0d, 0x13, 0x44, 0xeb, 0x18, 0xb4, 0xc4, 0x49, 0x7f, 0x3f, 0x4d, 0x5c, 0xbc, 0xce, 0x1e, + 0xd4, 0x33, 0x8e, 0xbd, 0x6a, 0xad, 0xf7, 0xa1, 0x1c, 0x99, 0xc1, 0x84, 0x47, 0x32, 0xb8, 0x4b, + 0xa8, 0xb5, 0x0f, 0x1b, 0x59, 0x1f, 0xff, 0xbf, 0x0a, 0xfa, 0x9f, 0x1c, 0x6c, 0x64, 0xdd, 0x7d, + 0x95, 0xa4, 0x6f, 0x45, 0x41, 0x94, 0xa7, 0x92, 0xe6, 0xfe, 0xca, 0xe8, 0xb1, 0xfd, 0xbc, 0xc3, + 0x86, 0xdd, 0x41, 0x7f, 0xbc, 0xd3, 0xdb, 0xa5, 0x22, 0x09, 0xb3, 0x92, 0x6b, 0xbe, 0x8b, 0xa3, + 0x50, 0x81, 0x72, 0x8f, 0x82, 0xc1, 0x1e, 0x77, 0x12, 0x98, 0xaf, 0x62, 0x02, 0x91, 0xc1, 0x55, + 0x94, 0xf1, 0x25, 0x54, 0x15, 0xa9, 0x3a, 0x40, 0x79, 0x87, 0x75, 0xda, 0xa3, 0x4e, 0x63, 0x4d, + 0xd7, 0xa0, 0x74, 0x78, 0xc4, 0xf6, 0x3b, 0x8d, 0x9c, 0x5e, 0x81, 0xe2, 0x41, 0x77, 0x38, 0x6a, + 0xe4, 0x71, 0xb4, 0xcf, 0xda, 0x4f, 0x1b, 0x85, 0xd6, 0xbf, 0x17, 0x60, 0x23, 0x1b, 0x9e, 0x16, + 0x54, 0xca, 0x2b, 0x4f, 0x98, 0x95, 0xb0, 0xcd, 0x3a, 0x3b, 0x2f, 0x77, 0x0e, 0x3a, 0xe9, 0x09, + 0x0f, 0xa1, 0x1a, 0xf0, 0x30, 0xf2, 0x03, 0x8e, 0x4d, 0x8d, 0xac, 0xdd, 0xb6, 0x2f, 0x21, 0x48, + 0x30, 0xed, 0x61, 0x27, 0xc4, 0x54, 0x11, 0x7a, 0x17, 0xb4, 0xd9, 0x3c, 0x98, 0x70, 0xdb, 0x8c, + 0xe2, 0xea, 0xf9, 0x97, 0xab, 0xe5, 0x1d, 0x22, 0xcb, 0xae, 0x19, 0x71, 0x96, 0x72, 0xb7, 0x5e, + 0x40, 0x4d, 0x5d, 0x87, 0xfa, 0x30, 0x3f, 0xb0, 0xb8, 0xec, 0x8a, 0x05, 0x80, 0xf6, 0xe2, 0xbe, + 0xa6, 0x62, 0x48, 0x58, 0xb8, 0x84, 0xb0, 0xa0, 0x94, 0xb7, 0x10, 0x4a, 0xeb, 0x4e, 0xe0, 0xd6, + 0x3e, 0x68, 0xc9, 0x8a, 0x18, 0x11, 0x4e, 0xb9, 0x19, 0x90, 0xd4, 0x12, 0xa3, 0x31, 0x2e, 0xe5, + 0xfa, 0x9e, 0x94, 0x59, 0x62, 0x02, 0xc0, 0x0b, 0xb0, 0xcd, 0x53, 0x69, 0x08, 0x38, 0x34, 0x1e, + 0x40, 0x55, 0xd1, 0xa9, 0x5e, 0x85, 0x75, 0xd6, 0x19, 0x8e, 0x06, 0x6c, 0xd9, 0x05, 0xb7, 0xfe, + 0x32, 0x0f, 0x9b, 0x67, 0x12, 0xc7, 0x2a, 0x33, 0xde, 0x4b, 0x3e, 0xd8, 0xe5, 0xa9, 0x40, 0xdb, + 0x5e, 0x9d, 0x8b, 0x16, 0x7e, 0xb9, 0xcb, 0x44, 0x83, 0xc2, 0xd9, 0x68, 0x60, 0x40, 0xed, 0x35, + 0x3f, 0x0d, 0x23, 0xdf, 0xe6, 0x53, 0x4e, 0x57, 0x57, 0xb8, 0xa3, 0xb1, 0x0c, 0x0e, 0x55, 0x6d, + 0x05, 0x1c, 0x2f, 0xb6, 0x24, 0x54, 0x2d, 0xa0, 0xdf, 0xe3, 0xab, 0x5e, 0x6b, 0x04, 0x35, 0x35, + 0x17, 0xae, 0xd2, 0xc5, 0xed, 0xb8, 0x86, 0x5e, 0x52, 0xcc, 0x89, 0xd9, 0x56, 0x1b, 0xa5, 0xa6, + 0x89, 0x72, 0x95, 0xd4, 0x38, 0x27, 0xe4, 0x95, 0x9c, 0xf0, 0xbb, 0x3c, 0x40, 0x9a, 0x35, 0x57, + 0x49, 0x78, 0xa2, 0x3a, 0xe2, 0xdd, 0x0b, 0x13, 0xf0, 0x76, 0x7b, 0xe7, 0x60, 0xbc, 0x33, 0xe8, + 0xf5, 0xda, 0x7d, 0xe9, 0x84, 0x17, 0x5f, 0xcc, 0xd7, 0x99, 0x0f, 0x50, 0x9f, 0xae, 0x96, 0xad, + 0xb4, 0x6c, 0x3a, 0x14, 0x83, 0xf9, 0x54, 0x5c, 0x97, 0xc6, 0x68, 0x8c, 0x7e, 0x31, 0xf3, 0x43, + 0x27, 0xe9, 0xa5, 0xea, 0x2c, 0x81, 0x8d, 0xfb, 0x50, 0x55, 0x76, 0x87, 0x66, 0xdb, 0x1f, 0xf4, + 0xd1, 0x96, 0x01, 0xca, 0xbd, 0xc1, 0x6e, 0x77, 0xef, 0xa5, 0x6a, 0xcc, 0xc6, 0x6d, 0xa8, 0xc4, + 0x0b, 0xea, 0x35, 0xa8, 0x1c, 0x0d, 0x3b, 0x6c, 0xdc, 0xde, 0x39, 0x68, 0xac, 0xa1, 0x23, 0x0c, + 0x5f, 0x0e, 0x09, 0xc8, 0xb5, 0xbe, 0xc2, 0x7c, 0x99, 0x96, 0x12, 0x2b, 0xba, 0x06, 0x41, 0x2a, + 0x28, 0x5a, 0xbf, 0xcb, 0x41, 0x4d, 0xad, 0x26, 0x16, 0x7e, 0xc4, 0xbb, 0xa9, 0x34, 0xa6, 0xe7, + 0x2c, 0x02, 0x6f, 0x67, 0x0b, 0xf2, 0xfe, 0x4c, 0x7e, 0x01, 0x6e, 0x64, 0xbf, 0x00, 0x0f, 0x0e, + 0x59, 0xde, 0x9f, 0x65, 0xbe, 0xa7, 0x16, 0xcf, 0x7c, 0x4f, 0x55, 0xbf, 0xd8, 0x96, 0xce, 0x7c, + 0xb1, 0xbd, 0x0b, 0x25, 0x8e, 0x36, 0x4f, 0x9a, 0xdc, 0x50, 0x8e, 0x42, 0xc2, 0x3b, 0xfd, 0x11, + 0x7b, 0xc9, 0x04, 0x45, 0xeb, 0xdf, 0x8a, 0x50, 0x53, 0xeb, 0x1b, 0xfd, 0x2b, 0xc8, 0x4f, 0x43, + 0xa9, 0x83, 0x5f, 0xac, 0x28, 0x86, 0xb6, 0x0f, 0x42, 0x02, 0xb1, 0x2c, 0x9f, 0x86, 0xfa, 0x1f, + 0xd1, 0x81, 0xc4, 0x89, 0x3f, 0x5b, 0xc5, 0x3a, 0x98, 0x61, 0xd7, 0xc8, 0x13, 0x7e, 0x7f, 0xd6, + 0xfa, 0x87, 0x1c, 0xac, 0x4b, 0x89, 0xfa, 0x00, 0x34, 0x7f, 0x1e, 0x1d, 0xfb, 0x81, 0x6b, 0x46, + 0xb2, 0xfd, 0x7f, 0x78, 0xc9, 0xdd, 0x6c, 0x0f, 0xe6, 0xd1, 0x1e, 0x31, 0xb2, 0x54, 0x06, 0x75, + 0x7a, 0x49, 0xb7, 0x2e, 0xba, 0x6b, 0xa5, 0x2f, 0xff, 0x15, 0x68, 0x09, 0x97, 0x62, 0x60, 0x1b, + 0x00, 0xbd, 0x41, 0xbf, 0x3b, 0x1a, 0xb0, 0x6e, 0x7f, 0xbf, 0x91, 0x43, 0x03, 0x42, 0x23, 0x43, + 0x80, 0xb2, 0xe2, 0x77, 0xc3, 0x41, 0xbf, 0x51, 0x68, 0xfd, 0x69, 0x1e, 0x6a, 0xea, 0x79, 0xf4, + 0x6f, 0x49, 0x13, 0x62, 0xdb, 0x0f, 0x7e, 0x8a, 0x26, 0xb6, 0x07, 0x33, 0xba, 0xf9, 0xab, 0x71, + 0x55, 0x2a, 0x76, 0x2a, 0x00, 0x0c, 0x61, 0x58, 0x50, 0x8b, 0x4e, 0x9d, 0xea, 0xe5, 0xd8, 0xf0, + 0x8a, 0x4a, 0xc7, 0xad, 0x43, 0x71, 0x1e, 0xf2, 0x20, 0x76, 0x2f, 0x1c, 0xa7, 0xfd, 0x7c, 0x59, + 0xe9, 0xe7, 0x8d, 0x03, 0xc8, 0x0f, 0x66, 0x99, 0xf4, 0x0f, 0x50, 0x66, 0x9d, 0xde, 0xe0, 0x39, + 0xa6, 0x07, 0x0d, 0x4a, 0xc3, 0x67, 0x6d, 0xd6, 0x69, 0xe4, 0xf1, 0xdc, 0x47, 0x7d, 0x01, 0x14, + 0x90, 0xa6, 0xbd, 0xb3, 0xd3, 0x19, 0x0e, 0x1b, 0x45, 0xc5, 0x03, 0x4b, 0x4f, 0x2b, 0x50, 0x0e, + 0xe7, 0xaf, 0x2c, 0xd7, 0x7e, 0xaa, 0xc1, 0xba, 0xe5, 0xbb, 0xae, 0xe9, 0xd9, 0xc6, 0xdf, 0xd4, + 0x00, 0xf0, 0xdc, 0xf2, 0xc3, 0xd2, 0x63, 0x28, 0xf1, 0x20, 0xf0, 0x03, 0x69, 0x60, 0xd9, 0xee, + 0x47, 0xd0, 0x6c, 0x77, 0x90, 0x20, 0x86, 0x98, 0xa0, 0x57, 0xfb, 0x2e, 0x61, 0x60, 0xb7, 0x16, + 0xb1, 0x26, 0xa5, 0x93, 0x64, 0x5e, 0xd4, 0x77, 0x15, 0x96, 0xb3, 0x27, 0xe9, 0x3f, 0x66, 0x8f, + 0xfb, 0x2e, 0xd9, 0xc9, 0x14, 0x17, 0xb4, 0x08, 0x92, 0x95, 0xa2, 0x9d, 0x64, 0x8b, 0x3b, 0x19, + 0xd1, 0x90, 0x94, 0x96, 0x9f, 0x54, 0xc6, 0x90, 0xf8, 0xa4, 0x67, 0x1a, 0x92, 0xf2, 0x72, 0x46, + 0x69, 0x3f, 0x31, 0xa3, 0x68, 0x48, 0xbe, 0x80, 0x7a, 0x46, 0x75, 0x68, 0x08, 0x16, 0x26, 0x90, + 0x9c, 0x48, 0x20, 0x38, 0xa6, 0xcf, 0xfc, 0xe1, 0x44, 0x9a, 0x15, 0x0e, 0x5b, 0xff, 0x91, 0x83, + 0xcd, 0x33, 0x7a, 0xbb, 0x1c, 0xa7, 0xfe, 0x7d, 0xa6, 0x96, 0xc1, 0x22, 0xe0, 0xc1, 0x25, 0x2e, + 0x25, 0x86, 0xbb, 0xde, 0xb1, 0xaf, 0x14, 0x3f, 0x3f, 0x40, 0x55, 0x99, 0x58, 0x95, 0xd9, 0x92, + 0x87, 0xc7, 0xfc, 0xf2, 0x87, 0xc7, 0xd6, 0x5f, 0x15, 0x60, 0xf3, 0xcc, 0x95, 0x5e, 0xfe, 0x64, + 0xf2, 0xea, 0x2f, 0x3c, 0xd9, 0x19, 0xe1, 0x31, 0x2c, 0x4e, 0x16, 0x0b, 0x68, 0xfd, 0x36, 0x0f, + 0x55, 0x65, 0xe6, 0xe7, 0x29, 0x26, 0x50, 0x03, 0xb6, 0xf2, 0x9e, 0x72, 0x56, 0x03, 0x34, 0x97, + 0xfc, 0xe5, 0xa0, 0xa8, 0xfc, 0xe5, 0xe0, 0x50, 0x66, 0xee, 0x12, 0x45, 0xa7, 0x5f, 0xfd, 0xc4, + 0x73, 0x6d, 0xef, 0x76, 0x0e, 0x3a, 0xa3, 0xee, 0xa0, 0xaf, 0xe4, 0x73, 0x59, 0x59, 0x95, 0x93, + 0xca, 0xca, 0x30, 0xa0, 0xa6, 0xd2, 0x61, 0xa8, 0xdc, 0xeb, 0x1e, 0x60, 0x80, 0xa9, 0x40, 0x71, + 0xc4, 0x3a, 0x9d, 0x46, 0xae, 0xb5, 0x0f, 0x55, 0xc5, 0x69, 0x2e, 0x79, 0x31, 0x71, 0xe9, 0x50, + 0x48, 0x4b, 0x87, 0xd6, 0x09, 0xd4, 0x33, 0x8e, 0x74, 0x49, 0x51, 0x0f, 0x41, 0x23, 0x87, 0xf3, + 0x44, 0xdf, 0x5d, 0xc8, 0xe4, 0xfc, 0xf4, 0x49, 0x97, 0xa5, 0x54, 0xad, 0x50, 0x7e, 0xbd, 0xa5, + 0x6b, 0x8c, 0xbf, 0xd4, 0xe6, 0xb2, 0x5f, 0x6a, 0xe9, 0x8d, 0x43, 0x7e, 0xbd, 0xc5, 0xf1, 0xa2, + 0x2d, 0xc7, 0x4f, 0x8b, 0xc5, 0xf4, 0x69, 0xb1, 0x09, 0xeb, 0x1e, 0xb9, 0xb1, 0x2d, 0xb3, 0x79, + 0x0c, 0xb6, 0x9e, 0x40, 0x55, 0x7c, 0xf2, 0xb4, 0x2c, 0x1e, 0x86, 0x0b, 0x97, 0x6d, 0xc2, 0xfa, + 0x24, 0x30, 0xbd, 0x88, 0xdb, 0xb2, 0xdb, 0x88, 0xc1, 0xd6, 0xdf, 0xe6, 0xa0, 0x9e, 0x09, 0x16, + 0x97, 0x54, 0xce, 0x17, 0x50, 0xa6, 0xe5, 0x63, 0xf3, 0xbf, 0xb1, 0x34, 0x0a, 0x91, 0xb1, 0x4b, + 0x62, 0xfd, 0x31, 0x94, 0x4d, 0xda, 0x26, 0x15, 0xea, 0x4b, 0x42, 0xa5, 0x72, 0x1a, 0x26, 0xc9, + 0x8d, 0xbb, 0x50, 0xef, 0x87, 0xc3, 0xc8, 0x8c, 0x56, 0x7e, 0x38, 0x35, 0xfe, 0xbe, 0x00, 0x1b, + 0x31, 0xed, 0x05, 0x67, 0xd2, 0xa1, 0xc8, 0xd3, 0x43, 0xd1, 0x98, 0xb2, 0x6a, 0x84, 0x8d, 0x82, + 0xfc, 0xd6, 0x4d, 0x00, 0xf6, 0x0f, 0x9e, 0x5a, 0x63, 0x49, 0x08, 0xfb, 0x68, 0x2f, 0xf9, 0x43, + 0x55, 0x5c, 0x64, 0xa9, 0x28, 0xfd, 0x1a, 0x68, 0xaf, 0x7c, 0x3f, 0x1a, 0x93, 0x1f, 0x8a, 0x37, + 0xf5, 0x0a, 0x22, 0xe8, 0x8f, 0x4a, 0x37, 0xa1, 0x6a, 0xcd, 0x03, 0xfa, 0x77, 0xc7, 0xb1, 0x63, + 0xcb, 0x57, 0x75, 0x90, 0xa8, 0x3d, 0xc7, 0x56, 0x09, 0x2c, 0xc7, 0x96, 0x6f, 0xea, 0x31, 0xc1, + 0x8e, 0x20, 0x70, 0xb9, 0x3b, 0x7e, 0xe3, 0x04, 0xd1, 0xdc, 0x9c, 0xca, 0x17, 0x75, 0x70, 0xb9, + 0xfb, 0x5c, 0x60, 0xf4, 0x8f, 0xa1, 0x86, 0x04, 0x01, 0x0f, 0x1d, 0x9b, 0x7b, 0x91, 0x7c, 0x22, + 0x44, 0x26, 0x26, 0x51, 0xb8, 0x45, 0x24, 0x11, 0x19, 0xa5, 0x2a, 0xeb, 0x44, 0xee, 0x8a, 0x32, + 0xe5, 0x06, 0xa0, 0xb4, 0xf1, 0x24, 0xf0, 0xdf, 0x46, 0x27, 0xf4, 0x5e, 0x58, 0x64, 0x48, 0xbe, + 0x4f, 0x08, 0xbc, 0x83, 0xe8, 0x24, 0xe0, 0xa6, 0x2d, 0x1e, 0xca, 0x8b, 0x2c, 0x06, 0xd1, 0x60, + 0x8e, 0xed, 0x90, 0x9e, 0x06, 0x8b, 0x0c, 0x87, 0xa8, 0xc4, 0xf9, 0x8c, 0xf4, 0x20, 0xfe, 0x59, + 0x21, 0x21, 0xe3, 0x1f, 0x0b, 0x50, 0xef, 0x99, 0x9e, 0x33, 0x4d, 0x6a, 0xe5, 0x6f, 0xa1, 0x16, + 0x88, 0xe1, 0x58, 0x79, 0xdb, 0x49, 0x3f, 0xfb, 0xf6, 0xda, 0xfd, 0xee, 0x41, 0x7b, 0xcc, 0x3a, + 0x3f, 0x1c, 0x75, 0x86, 0x23, 0xd1, 0x37, 0x54, 0x25, 0xc7, 0x08, 0xc3, 0xcd, 0x87, 0x50, 0x41, + 0x5b, 0x18, 0x9f, 0xf9, 0x87, 0xd9, 0xf7, 0xe2, 0xb9, 0x86, 0xfe, 0xc5, 0x67, 0xf9, 0x71, 0x95, + 0x94, 0xc0, 0x78, 0x58, 0xd2, 0xc2, 0x58, 0x7d, 0x8f, 0x27, 0x0c, 0xfd, 0x4b, 0x6a, 0x0b, 0xaa, + 0x36, 0x0f, 0xad, 0xc0, 0x99, 0x25, 0x8f, 0x1b, 0x1a, 0x53, 0x51, 0xb8, 0xae, 0x10, 0x20, 0xff, + 0xaa, 0xa5, 0xb1, 0x75, 0x82, 0xbb, 0xb6, 0xfe, 0x09, 0x6c, 0x88, 0x29, 0xf1, 0xce, 0x29, 0xaf, + 0x5b, 0x63, 0x35, 0xc2, 0xee, 0x23, 0x52, 0xfc, 0x9f, 0x4b, 0x94, 0x04, 0x15, 0xd1, 0xbe, 0x8b, + 0x7c, 0xdf, 0x84, 0x75, 0x6a, 0x58, 0xfd, 0x80, 0x6e, 0x58, 0x63, 0x31, 0x88, 0x3a, 0xe5, 0xa2, + 0x6a, 0x03, 0xf1, 0x38, 0x22, 0x20, 0xbc, 0x76, 0xd3, 0x76, 0x1d, 0x6f, 0x2c, 0x67, 0xab, 0x62, + 0xaf, 0x84, 0xeb, 0x24, 0x2f, 0xb2, 0x62, 0x43, 0xf4, 0x70, 0x54, 0x53, 0x0e, 0xfb, 0xcc, 0x0f, + 0x23, 0xfd, 0x76, 0xbc, 0xdf, 0xf8, 0x4d, 0x5a, 0xfe, 0x13, 0xa2, 0x4e, 0xd8, 0xf8, 0xfd, 0xd9, + 0xf8, 0x97, 0x1c, 0x6c, 0xc4, 0x97, 0x27, 0x5d, 0x4d, 0x86, 0x8a, 0x5c, 0x26, 0x24, 0x5b, 0x71, + 0x9b, 0x5a, 0x92, 0xce, 0x77, 0x03, 0x20, 0xf2, 0x23, 0x73, 0x3a, 0x9e, 0x87, 0xf2, 0xe1, 0xa4, + 0xc0, 0x34, 0xc2, 0x1c, 0x85, 0x1c, 0x53, 0xdc, 0x86, 0x98, 0xb6, 0xcc, 0x99, 0x69, 0x39, 0x91, + 0x78, 0x76, 0x2b, 0xb0, 0x3a, 0x61, 0x77, 0x24, 0x52, 0xff, 0x14, 0x36, 0x3d, 0xfe, 0x56, 0xd8, + 0xee, 0x38, 0x2d, 0xa6, 0x0a, 0xac, 0xee, 0xf1, 0xb7, 0x64, 0xc1, 0x14, 0xa6, 0x51, 0xfb, 0x29, + 0x9d, 0xf2, 0x00, 0x55, 0x8b, 0xc9, 0x0e, 0xcd, 0xe8, 0xe4, 0xde, 0x1f, 0x42, 0xf1, 0x4c, 0x2e, + 0xaa, 0x83, 0xb6, 0x33, 0xe8, 0x8f, 0xda, 0xdd, 0x7e, 0x87, 0x2d, 0x28, 0xee, 0x87, 0xa3, 0xf6, + 0xa8, 0x51, 0xb8, 0x77, 0x1f, 0xb4, 0xe4, 0x5f, 0x39, 0x88, 0xc6, 0x7e, 0x52, 0x7c, 0x47, 0xd9, + 0x67, 0x83, 0xa3, 0x43, 0x51, 0x1d, 0x1f, 0xb2, 0xc1, 0x77, 0x9d, 0x1d, 0x24, 0x7f, 0x00, 0xeb, + 0xb2, 0x85, 0xd3, 0xd7, 0xa1, 0xb0, 0xdf, 0x19, 0x35, 0xd6, 0x70, 0x30, 0xec, 0x8c, 0x1a, 0x39, + 0xbd, 0x0c, 0x79, 0xd6, 0x6b, 0xe4, 0xa9, 0xcc, 0xee, 0xf5, 0x07, 0xbb, 0x1d, 0x92, 0x0f, 0x69, + 0x5b, 0x96, 0x6d, 0x6e, 0x9f, 0x0f, 0x0e, 0x8e, 0x7a, 0xb2, 0x14, 0xef, 0x12, 0x79, 0xfe, 0xde, + 0x6f, 0x73, 0x70, 0x65, 0x81, 0x8b, 0xe8, 0x0d, 0xa8, 0x89, 0x2a, 0x7e, 0x2c, 0xea, 0xf4, 0x35, + 0xc4, 0x50, 0x12, 0x8e, 0x31, 0x39, 0xc4, 0x74, 0x5e, 0x8c, 0x3a, 0xfd, 0xdd, 0x71, 0x5c, 0xd8, + 0x37, 0xa0, 0x36, 0x7c, 0xc6, 0xba, 0xfd, 0xef, 0xc7, 0x71, 0x75, 0x7f, 0x05, 0x36, 0x7b, 0xed, + 0x7e, 0x7b, 0xbf, 0x33, 0xee, 0xbc, 0x90, 0xda, 0x28, 0x52, 0x1b, 0xdd, 0x17, 0xe8, 0x46, 0x49, + 0xd7, 0x61, 0x63, 0xbf, 0x33, 0x1a, 0xef, 0xb4, 0x0f, 0xdb, 0x3b, 0xdd, 0x51, 0xb7, 0x33, 0x6c, + 0x94, 0x1f, 0xfd, 0x77, 0x01, 0x0a, 0x1d, 0x3f, 0xd4, 0x1f, 0x41, 0xf1, 0xd0, 0xf1, 0x26, 0x7a, + 0xfa, 0x12, 0xaa, 0xfc, 0x89, 0xb6, 0xa5, 0x9f, 0xc1, 0xce, 0xa6, 0xa7, 0xc6, 0x9a, 0xfe, 0x10, + 0xf2, 0xbd, 0x5d, 0x5d, 0x57, 0x4a, 0xa1, 0x98, 0xfe, 0x4a, 0x06, 0x27, 0x4c, 0xd0, 0x58, 0xfb, + 0x3c, 0xa7, 0x7f, 0x01, 0xc5, 0x3d, 0xc7, 0xb3, 0x75, 0xf5, 0xe1, 0x39, 0x79, 0x36, 0x5e, 0xce, + 0xf6, 0x04, 0xca, 0x22, 0x75, 0xe8, 0xef, 0xa7, 0x99, 0x49, 0xcd, 0x3b, 0xad, 0x0f, 0xce, 0xe1, + 0x63, 0x76, 0xfd, 0x3b, 0xd8, 0x3c, 0xf3, 0x2f, 0x5d, 0xfd, 0xe6, 0xf9, 0xf7, 0xec, 0xcc, 0x1f, + 0x67, 0x5b, 0xe9, 0xfe, 0x94, 0x7f, 0xbe, 0x1a, 0x6b, 0xfa, 0x1f, 0x03, 0xa4, 0xff, 0xb2, 0xd5, + 0x5b, 0x99, 0xe7, 0xf3, 0xcb, 0x49, 0x78, 0x08, 0xc5, 0xce, 0x3b, 0x6e, 0x29, 0x6a, 0x4b, 0xda, + 0x4b, 0xe5, 0xfc, 0x69, 0xda, 0x35, 0xd6, 0xf4, 0x67, 0x70, 0x45, 0x78, 0xf3, 0x90, 0x07, 0x6f, + 0x78, 0xf2, 0xa1, 0x2f, 0x55, 0x45, 0x26, 0x50, 0x2b, 0xaa, 0xc8, 0xc6, 0x00, 0x63, 0xed, 0xe9, + 0x11, 0x6c, 0x3a, 0xfe, 0xf6, 0x04, 0xe7, 0x24, 0xcd, 0xd3, 0x4a, 0xc7, 0x0f, 0xa9, 0x60, 0x3a, + 0xcc, 0xfd, 0xc9, 0xe7, 0x13, 0x27, 0x3a, 0x99, 0xbf, 0xda, 0xb6, 0x7c, 0xf7, 0x81, 0xc5, 0x03, + 0xef, 0x3e, 0xf7, 0xc3, 0x07, 0x48, 0x7d, 0x9f, 0xa2, 0xf1, 0x03, 0xfa, 0x7d, 0x35, 0x3f, 0x7e, + 0xc2, 0xfd, 0x70, 0x8c, 0xf8, 0xbf, 0xce, 0x17, 0x3a, 0x83, 0xe1, 0xab, 0x32, 0x4d, 0xfc, 0xff, + 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x0d, 0x04, 0x13, 0x8f, 0x2d, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConnInterface + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// EosClient is the client API for Eos service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type EosClient interface { + // Replies to a ping + Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingReply, error) + // Replies to MD requests with a stream + MD(ctx context.Context, in *MDRequest, opts ...grpc.CallOption) (Eos_MDClient, error) + // Replies to Find requests with a stream + Find(ctx context.Context, in *FindRequest, opts ...grpc.CallOption) (Eos_FindClient, error) + // Replies to a NsStat operation + NsStat(ctx context.Context, in *NsStatRequest, opts ...grpc.CallOption) (*NsStatResponse, error) + // Replies to an insert + ContainerInsert(ctx context.Context, in *ContainerInsertRequest, opts ...grpc.CallOption) (*InsertReply, error) + FileInsert(ctx context.Context, in *FileInsertRequest, opts ...grpc.CallOption) (*InsertReply, error) + // Replies to a NsRequest operation + Exec(ctx context.Context, in *NSRequest, opts ...grpc.CallOption) (*NSResponse, error) + // Manila Driver + ManilaServerRequest(ctx context.Context, in *ManilaRequest, opts ...grpc.CallOption) (*ManilaResponse, error) } -func (*NSResponse_ShareAccess) ProtoMessage() {} - -func (x *NSResponse_ShareAccess) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type eosClient struct { + cc grpc.ClientConnInterface } -// Deprecated: Use NSResponse_ShareAccess.ProtoReflect.Descriptor instead. -func (*NSResponse_ShareAccess) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 6} +func NewEosClient(cc grpc.ClientConnInterface) EosClient { + return &eosClient{cc} } -func (x *NSResponse_ShareAccess) GetName() string { - if x != nil { - return x.Name +func (c *eosClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingReply, error) { + out := new(PingReply) + err := c.cc.Invoke(ctx, "/eos.rpc.Eos/Ping", in, out, opts...) + if err != nil { + return nil, err } - return "" + return out, nil } -func (x *NSResponse_ShareAccess) GetGranted() bool { - if x != nil { - return x.Granted +func (c *eosClient) MD(ctx context.Context, in *MDRequest, opts ...grpc.CallOption) (Eos_MDClient, error) { + stream, err := c.cc.NewStream(ctx, &_Eos_serviceDesc.Streams[0], "/eos.rpc.Eos/MD", opts...) + if err != nil { + return nil, err } - return false + x := &eosMDClient{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 } -type NSResponse_ShareResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +type Eos_MDClient interface { + Recv() (*MDResponse, error) + grpc.ClientStream +} - Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` - Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Shares []*NSResponse_ShareInfo `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"` - Access []*NSResponse_ShareAccess `protobuf:"bytes,4,rep,name=access,proto3" json:"access,omitempty"` +type eosMDClient struct { + grpc.ClientStream } -func (x *NSResponse_ShareResponse) Reset() { - *x = NSResponse_ShareResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *eosMDClient) Recv() (*MDResponse, error) { + m := new(MDResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err } + return m, nil } -func (x *NSResponse_ShareResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (c *eosClient) Find(ctx context.Context, in *FindRequest, opts ...grpc.CallOption) (Eos_FindClient, error) { + stream, err := c.cc.NewStream(ctx, &_Eos_serviceDesc.Streams[1], "/eos.rpc.Eos/Find", opts...) + if err != nil { + return nil, err + } + x := &eosFindClient{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 } -func (*NSResponse_ShareResponse) ProtoMessage() {} - -func (x *NSResponse_ShareResponse) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +type Eos_FindClient interface { + Recv() (*MDResponse, error) + grpc.ClientStream } -// Deprecated: Use NSResponse_ShareResponse.ProtoReflect.Descriptor instead. -func (*NSResponse_ShareResponse) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 7} +type eosFindClient struct { + grpc.ClientStream } -func (x *NSResponse_ShareResponse) GetCode() int64 { - if x != nil { - return x.Code +func (x *eosFindClient) Recv() (*MDResponse, error) { + m := new(MDResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err } - return 0 + return m, nil } -func (x *NSResponse_ShareResponse) GetMsg() string { - if x != nil { - return x.Msg +func (c *eosClient) NsStat(ctx context.Context, in *NsStatRequest, opts ...grpc.CallOption) (*NsStatResponse, error) { + out := new(NsStatResponse) + err := c.cc.Invoke(ctx, "/eos.rpc.Eos/NsStat", in, out, opts...) + if err != nil { + return nil, err } - return "" + return out, nil } -func (x *NSResponse_ShareResponse) GetShares() []*NSResponse_ShareInfo { - if x != nil { - return x.Shares +func (c *eosClient) ContainerInsert(ctx context.Context, in *ContainerInsertRequest, opts ...grpc.CallOption) (*InsertReply, error) { + out := new(InsertReply) + err := c.cc.Invoke(ctx, "/eos.rpc.Eos/ContainerInsert", in, out, opts...) + if err != nil { + return nil, err } - return nil + return out, nil } -func (x *NSResponse_ShareResponse) GetAccess() []*NSResponse_ShareAccess { - if x != nil { - return x.Access +func (c *eosClient) FileInsert(ctx context.Context, in *FileInsertRequest, opts ...grpc.CallOption) (*InsertReply, error) { + out := new(InsertReply) + err := c.cc.Invoke(ctx, "/eos.rpc.Eos/FileInsert", in, out, opts...) + if err != nil { + return nil, err } - return nil + return out, nil } -type NSResponse_VersionResponse_VersionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Mtime *Time `protobuf:"bytes,2,opt,name=mtime,proto3" json:"mtime,omitempty"` +func (c *eosClient) Exec(ctx context.Context, in *NSRequest, opts ...grpc.CallOption) (*NSResponse, error) { + out := new(NSResponse) + err := c.cc.Invoke(ctx, "/eos.rpc.Eos/Exec", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (x *NSResponse_VersionResponse_VersionInfo) Reset() { - *x = NSResponse_VersionResponse_VersionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (c *eosClient) ManilaServerRequest(ctx context.Context, in *ManilaRequest, opts ...grpc.CallOption) (*ManilaResponse, error) { + out := new(ManilaResponse) + err := c.cc.Invoke(ctx, "/eos.rpc.Eos/ManilaServerRequest", in, out, opts...) + if err != nil { + return nil, err } + return out, nil } -func (x *NSResponse_VersionResponse_VersionInfo) String() string { - return protoimpl.X.MessageStringOf(x) +// EosServer is the server API for Eos service. +type EosServer interface { + // Replies to a ping + Ping(context.Context, *PingRequest) (*PingReply, error) + // Replies to MD requests with a stream + MD(*MDRequest, Eos_MDServer) error + // Replies to Find requests with a stream + Find(*FindRequest, Eos_FindServer) error + // Replies to a NsStat operation + NsStat(context.Context, *NsStatRequest) (*NsStatResponse, error) + // Replies to an insert + ContainerInsert(context.Context, *ContainerInsertRequest) (*InsertReply, error) + FileInsert(context.Context, *FileInsertRequest) (*InsertReply, error) + // Replies to a NsRequest operation + Exec(context.Context, *NSRequest) (*NSResponse, error) + // Manila Driver + ManilaServerRequest(context.Context, *ManilaRequest) (*ManilaResponse, error) } -func (*NSResponse_VersionResponse_VersionInfo) ProtoMessage() {} +// UnimplementedEosServer can be embedded to have forward compatible implementations. +type UnimplementedEosServer struct { +} -func (x *NSResponse_VersionResponse_VersionInfo) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func (*UnimplementedEosServer) Ping(ctx context.Context, req *PingRequest) (*PingReply, error) { + return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") +} +func (*UnimplementedEosServer) MD(req *MDRequest, srv Eos_MDServer) error { + return status.Errorf(codes.Unimplemented, "method MD not implemented") +} +func (*UnimplementedEosServer) Find(req *FindRequest, srv Eos_FindServer) error { + return status.Errorf(codes.Unimplemented, "method Find not implemented") +} +func (*UnimplementedEosServer) NsStat(ctx context.Context, req *NsStatRequest) (*NsStatResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method NsStat not implemented") +} +func (*UnimplementedEosServer) ContainerInsert(ctx context.Context, req *ContainerInsertRequest) (*InsertReply, error) { + return nil, status.Errorf(codes.Unimplemented, "method ContainerInsert not implemented") +} +func (*UnimplementedEosServer) FileInsert(ctx context.Context, req *FileInsertRequest) (*InsertReply, error) { + return nil, status.Errorf(codes.Unimplemented, "method FileInsert not implemented") +} +func (*UnimplementedEosServer) Exec(ctx context.Context, req *NSRequest) (*NSResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented") +} +func (*UnimplementedEosServer) ManilaServerRequest(ctx context.Context, req *ManilaRequest) (*ManilaResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ManilaServerRequest not implemented") } -// Deprecated: Use NSResponse_VersionResponse_VersionInfo.ProtoReflect.Descriptor instead. -func (*NSResponse_VersionResponse_VersionInfo) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 1, 0} +func RegisterEosServer(s *grpc.Server, srv EosServer) { + s.RegisterService(&_Eos_serviceDesc, srv) } -func (x *NSResponse_VersionResponse_VersionInfo) GetId() *MDId { - if x != nil { - return x.Id +func _Eos_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PingRequest) + if err := dec(in); err != nil { + return nil, err } - return nil + if interceptor == nil { + return srv.(EosServer).Ping(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/eos.rpc.Eos/Ping", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EosServer).Ping(ctx, req.(*PingRequest)) + } + return interceptor(ctx, in, info, handler) } -func (x *NSResponse_VersionResponse_VersionInfo) GetMtime() *Time { - if x != nil { - return x.Mtime +func _Eos_MD_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(MDRequest) + if err := stream.RecvMsg(m); err != nil { + return err } - return nil + return srv.(EosServer).MD(m, &eosMDServer{stream}) } -type NSResponse_RecycleResponse_RecycleInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Owner *RoleId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - Dtime *Time `protobuf:"bytes,3,opt,name=dtime,proto3" json:"dtime,omitempty"` - Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` - Type NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE `protobuf:"varint,5,opt,name=type,proto3,enum=eos.rpc.NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE" json:"type,omitempty"` - Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` +type Eos_MDServer interface { + Send(*MDResponse) error + grpc.ServerStream } -func (x *NSResponse_RecycleResponse_RecycleInfo) Reset() { - *x = NSResponse_RecycleResponse_RecycleInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_Rpc_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +type eosMDServer struct { + grpc.ServerStream } -func (x *NSResponse_RecycleResponse_RecycleInfo) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *eosMDServer) Send(m *MDResponse) error { + return x.ServerStream.SendMsg(m) } -func (*NSResponse_RecycleResponse_RecycleInfo) ProtoMessage() {} - -func (x *NSResponse_RecycleResponse_RecycleInfo) ProtoReflect() protoreflect.Message { - mi := &file_Rpc_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func _Eos_Find_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindRequest) + if err := stream.RecvMsg(m); err != nil { + return err } - return mi.MessageOf(x) + return srv.(EosServer).Find(m, &eosFindServer{stream}) } -// Deprecated: Use NSResponse_RecycleResponse_RecycleInfo.ProtoReflect.Descriptor instead. -func (*NSResponse_RecycleResponse_RecycleInfo) Descriptor() ([]byte, []int) { - return file_Rpc_proto_rawDescGZIP(), []int{21, 2, 0} +type Eos_FindServer interface { + Send(*MDResponse) error + grpc.ServerStream } -func (x *NSResponse_RecycleResponse_RecycleInfo) GetId() *MDId { - if x != nil { - return x.Id - } - return nil +type eosFindServer struct { + grpc.ServerStream } -func (x *NSResponse_RecycleResponse_RecycleInfo) GetOwner() *RoleId { - if x != nil { - return x.Owner - } - return nil +func (x *eosFindServer) Send(m *MDResponse) error { + return x.ServerStream.SendMsg(m) } -func (x *NSResponse_RecycleResponse_RecycleInfo) GetDtime() *Time { - if x != nil { - return x.Dtime +func _Eos_NsStat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NsStatRequest) + if err := dec(in); err != nil { + return nil, err } - return nil + if interceptor == nil { + return srv.(EosServer).NsStat(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/eos.rpc.Eos/NsStat", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EosServer).NsStat(ctx, req.(*NsStatRequest)) + } + return interceptor(ctx, in, info, handler) } -func (x *NSResponse_RecycleResponse_RecycleInfo) GetSize() uint64 { - if x != nil { - return x.Size +func _Eos_ContainerInsert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ContainerInsertRequest) + if err := dec(in); err != nil { + return nil, err } - return 0 + if interceptor == nil { + return srv.(EosServer).ContainerInsert(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/eos.rpc.Eos/ContainerInsert", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EosServer).ContainerInsert(ctx, req.(*ContainerInsertRequest)) + } + return interceptor(ctx, in, info, handler) } -func (x *NSResponse_RecycleResponse_RecycleInfo) GetType() NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE { - if x != nil { - return x.Type +func _Eos_FileInsert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FileInsertRequest) + if err := dec(in); err != nil { + return nil, err } - return NSResponse_RecycleResponse_RecycleInfo_FILE + if interceptor == nil { + return srv.(EosServer).FileInsert(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/eos.rpc.Eos/FileInsert", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EosServer).FileInsert(ctx, req.(*FileInsertRequest)) + } + return interceptor(ctx, in, info, handler) } -func (x *NSResponse_RecycleResponse_RecycleInfo) GetKey() string { - if x != nil { - return x.Key +func _Eos_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NSRequest) + if err := dec(in); err != nil { + return nil, err } - return "" + if interceptor == nil { + return srv.(EosServer).Exec(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/eos.rpc.Eos/Exec", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EosServer).Exec(ctx, req.(*NSRequest)) + } + return interceptor(ctx, in, info, handler) } -var File_Rpc_proto protoreflect.FileDescriptor - -var file_Rpc_proto_rawDesc = []byte{ - 0x0a, 0x09, 0x52, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x65, 0x6f, 0x73, - 0x2e, 0x72, 0x70, 0x63, 0x22, 0x41, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x12, 0x18, 0x0a, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x25, 0x0a, 0x09, 0x50, 0x69, 0x6e, 0x67, 0x52, - 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x8a, - 0x01, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x65, - 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, - 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, - 0x4d, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, - 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, - 0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x5f, 0x6d, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x09, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x4d, 0x64, 0x22, 0x59, 0x0a, 0x11, 0x46, - 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x64, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, - 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, - 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x22, 0x3b, 0x0a, 0x0b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, - 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x72, 0x65, 0x74, 0x63, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x04, 0x72, - 0x65, 0x74, 0x63, 0x22, 0x2d, 0x0a, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, - 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x73, 0x65, 0x63, 0x12, 0x13, 0x0a, - 0x05, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x6e, 0x53, - 0x65, 0x63, 0x22, 0x34, 0x0a, 0x08, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xc7, 0x04, 0x0a, 0x0b, 0x46, 0x69, 0x6c, - 0x65, 0x4d, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x74, 0x49, - 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, - 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x79, - 0x6f, 0x75, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6c, 0x61, - 0x79, 0x6f, 0x75, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6c, 0x69, 0x6e, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, - 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, - 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x05, 0x63, 0x74, 0x69, - 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, - 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, - 0x73, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x65, 0x6f, 0x73, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x08, 0x63, 0x68, - 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x75, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0f, - 0x75, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x38, 0x0a, 0x06, 0x78, 0x61, 0x74, 0x74, 0x72, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x64, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x06, 0x78, 0x61, 0x74, 0x74, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, - 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, - 0x67, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x58, 0x61, 0x74, 0x74, 0x72, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0xe5, 0x03, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, - 0x4d, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x72, 0x65, 0x65, - 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x72, 0x65, - 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, - 0x67, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x23, 0x0a, - 0x05, 0x73, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, - 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x05, 0x73, 0x74, 0x69, - 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x78, 0x61, 0x74, 0x74, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, - 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4d, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x58, 0x61, - 0x74, 0x74, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x78, 0x61, 0x74, 0x74, 0x72, - 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x0e, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x6f, - 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x1a, - 0x39, 0x0a, 0x0b, 0x58, 0x61, 0x74, 0x74, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xce, 0x03, 0x0a, 0x0a, 0x51, - 0x75, 0x6f, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x12, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x54, - 0x59, 0x50, 0x45, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65, - 0x64, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x75, 0x73, - 0x65, 0x64, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x64, 0x6c, - 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x10, 0x75, 0x73, 0x65, 0x64, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x62, 0x79, - 0x74, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x64, 0x66, 0x69, 0x6c, 0x65, 0x73, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x75, 0x73, 0x65, 0x64, 0x66, 0x69, 0x6c, 0x65, - 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x28, 0x0a, - 0x0f, 0x6d, 0x61, 0x78, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x62, 0x79, 0x74, 0x65, 0x73, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x6c, 0x6f, 0x67, 0x69, 0x63, - 0x61, 0x6c, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, - 0x65, 0x75, 0x73, 0x65, 0x64, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, - 0x52, 0x13, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x75, 0x73, 0x65, 0x64, - 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, - 0x61, 0x67, 0x65, 0x75, 0x73, 0x65, 0x64, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, - 0x28, 0x02, 0x52, 0x13, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x75, 0x73, - 0x65, 0x64, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0x66, 0x0a, 0x06, 0x52, - 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x5f, 0x0a, 0x04, 0x4d, 0x44, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x06, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x10, 0x0a, 0x03, 0x69, 0x6e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x06, 0x52, 0x03, 0x69, 0x6e, - 0x6f, 0x12, 0x21, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x59, 0x50, 0x45, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x22, 0x3f, 0x0a, 0x05, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x7a, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x7a, 0x65, 0x72, - 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, - 0x6d, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x03, 0x6d, 0x61, 0x78, 0x22, 0xa6, 0x06, 0x0a, 0x0b, 0x4d, 0x44, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x24, 0x0a, - 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x65, - 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x05, 0x63, 0x74, - 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x52, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x05, 0x73, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x05, 0x73, 0x74, 0x69, 0x6d, 0x65, 0x12, - 0x22, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x04, 0x73, - 0x69, 0x7a, 0x65, 0x12, 0x2a, 0x0a, 0x08, 0x74, 0x72, 0x65, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x74, 0x72, 0x65, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x12, - 0x2a, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0e, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x52, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x12, 0x2c, 0x0a, 0x09, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, - 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x09, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x12, 0x75, 0x6e, 0x6c, - 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x11, 0x75, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x79, 0x6f, - 0x75, 0x74, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6c, 0x61, 0x79, 0x6f, - 0x75, 0x74, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x79, - 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x79, 0x6d, - 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x2d, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, - 0x73, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, - 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x10, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1d, - 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x11, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x27, 0x0a, - 0x0f, 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x12, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x46, 0x69, - 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, - 0x5f, 0x64, 0x69, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, - 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x44, 0x69, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, - 0x05, 0x78, 0x61, 0x74, 0x74, 0x72, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, - 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x78, - 0x61, 0x74, 0x74, 0x72, 0x1a, 0x38, 0x0a, 0x0a, 0x58, 0x61, 0x74, 0x74, 0x72, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc0, - 0x01, 0x0a, 0x09, 0x4d, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x59, 0x50, 0x45, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, - 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, - 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x32, 0x0a, - 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x0a, 0x4d, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x21, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, - 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x59, 0x50, 0x45, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x03, 0x66, 0x6d, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4d, - 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x03, 0x66, 0x6d, 0x64, 0x12, 0x2b, 0x0a, 0x03, 0x63, - 0x6d, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4d, 0x64, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x52, 0x03, 0x63, 0x6d, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x0b, 0x46, 0x69, 0x6e, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x54, 0x59, 0x50, 0x45, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x04, 0x72, 0x6f, - 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, - 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, - 0x64, 0x65, 0x70, 0x74, 0x68, 0x12, 0x32, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, - 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x47, 0x0a, 0x09, 0x53, 0x68, 0x61, - 0x72, 0x65, 0x41, 0x75, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x72, 0x6f, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, - 0x73, 0x74, 0x22, 0x8a, 0x02, 0x0a, 0x0a, 0x53, 0x68, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x67, 0x65, 0x6e, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x61, - 0x6c, 0x6c, 0x6f, 0x77, 0x74, 0x72, 0x65, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x74, 0x72, 0x65, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x12, 0x2c, 0x0a, 0x07, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x68, 0x61, - 0x72, 0x65, 0x41, 0x75, 0x74, 0x68, 0x52, 0x07, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73, 0x22, - 0x89, 0x01, 0x0a, 0x0a, 0x53, 0x68, 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29, - 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, - 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x69, 0x61, - 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x65, 0x72, - 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x65, 0x65, 0x64, 0x22, 0x8c, 0x1e, 0x0a, 0x09, - 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, - 0x68, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, - 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, - 0x49, 0x64, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x6d, 0x6b, 0x64, 0x69, - 0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x6b, 0x64, 0x69, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x6d, 0x6b, 0x64, 0x69, - 0x72, 0x12, 0x37, 0x0a, 0x05, 0x72, 0x6d, 0x64, 0x69, 0x72, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x48, 0x00, 0x52, 0x05, 0x72, 0x6d, 0x64, 0x69, 0x72, 0x12, 0x37, 0x0a, 0x05, 0x74, 0x6f, - 0x75, 0x63, 0x68, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x6f, - 0x75, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x74, 0x6f, - 0x75, 0x63, 0x68, 0x12, 0x3a, 0x0a, 0x06, 0x75, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x18, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x06, 0x75, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x12, - 0x2e, 0x0a, 0x02, 0x72, 0x6d, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x6f, - 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x52, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x02, 0x72, 0x6d, 0x12, - 0x3a, 0x0a, 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x07, 0x73, - 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, - 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x2e, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, - 0x00, 0x52, 0x07, 0x73, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x3d, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6f, - 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x07, 0x72, 0x65, 0x63, - 0x79, 0x63, 0x6c, 0x65, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6f, 0x73, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, - 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, - 0x07, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x78, 0x61, 0x74, 0x74, - 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x58, - 0x41, 0x74, 0x74, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x78, - 0x61, 0x74, 0x74, 0x72, 0x12, 0x37, 0x0a, 0x05, 0x63, 0x68, 0x6f, 0x77, 0x6e, 0x18, 0x1f, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x68, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x63, 0x68, 0x6f, 0x77, 0x6e, 0x12, 0x37, 0x0a, - 0x05, 0x63, 0x68, 0x6d, 0x6f, 0x64, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, - 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x2e, 0x43, 0x68, 0x6d, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, - 0x05, 0x63, 0x68, 0x6d, 0x6f, 0x64, 0x12, 0x31, 0x0a, 0x03, 0x61, 0x63, 0x6c, 0x18, 0x21, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x48, 0x00, 0x52, 0x03, 0x61, 0x63, 0x6c, 0x12, 0x37, 0x0a, 0x05, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x12, 0x37, 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x23, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x05, 0x73, - 0x68, 0x61, 0x72, 0x65, 0x18, 0x24, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6f, 0x73, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, - 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x73, - 0x68, 0x61, 0x72, 0x65, 0x1a, 0x5f, 0x0a, 0x0c, 0x4d, 0x6b, 0x64, 0x69, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x1a, 0x2d, 0x0a, 0x0c, 0x52, 0x6d, 0x64, 0x69, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, - 0x52, 0x02, 0x69, 0x64, 0x1a, 0x2d, 0x0a, 0x0c, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, - 0x02, 0x69, 0x64, 0x1a, 0x4c, 0x0a, 0x0d, 0x55, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x6f, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6e, 0x6f, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, - 0x65, 0x1a, 0x66, 0x0a, 0x09, 0x52, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, - 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, - 0x6f, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x6e, 0x6f, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x1a, 0x46, 0x0a, 0x0d, 0x52, 0x65, 0x6e, - 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x1a, 0x47, 0x0a, 0x0e, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x1a, 0xec, 0x01, 0x0a, 0x0e, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x03, - 0x63, 0x6d, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x45, 0x52, - 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4d, 0x44, 0x52, 0x03, 0x63, 0x6d, 0x64, 0x12, 0x1e, 0x0a, - 0x0a, 0x6d, 0x61, 0x78, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, - 0x0b, 0x67, 0x72, 0x61, 0x62, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x62, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, - 0x38, 0x0a, 0x0b, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4d, 0x44, 0x12, 0x0a, - 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x55, - 0x52, 0x47, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x02, 0x12, - 0x08, 0x0a, 0x04, 0x47, 0x52, 0x41, 0x42, 0x10, 0x03, 0x1a, 0xd4, 0x03, 0x0a, 0x0e, 0x52, 0x65, - 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3f, - 0x0a, 0x03, 0x63, 0x6d, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x65, 0x6f, - 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, - 0x45, 0x43, 0x59, 0x43, 0x4c, 0x45, 0x5f, 0x43, 0x4d, 0x44, 0x52, 0x03, 0x63, 0x6d, 0x64, 0x12, - 0x50, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, - 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, - 0x6c, 0x61, 0x67, 0x73, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x61, - 0x67, 0x12, 0x49, 0x0a, 0x09, 0x70, 0x75, 0x72, 0x67, 0x65, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, - 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, - 0x65, 0x52, 0x09, 0x70, 0x75, 0x72, 0x67, 0x65, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x58, 0x0a, 0x0c, - 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, - 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, - 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6b, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x6d, 0x6b, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x47, 0x0a, 0x09, 0x50, 0x75, 0x72, 0x67, 0x65, 0x44, - 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x04, 0x79, 0x65, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x10, 0x0a, - 0x03, 0x64, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x79, 0x22, - 0x2f, 0x0a, 0x0b, 0x52, 0x45, 0x43, 0x59, 0x43, 0x4c, 0x45, 0x5f, 0x43, 0x4d, 0x44, 0x12, 0x0b, - 0x0a, 0x07, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x50, - 0x55, 0x52, 0x47, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x02, - 0x1a, 0x8d, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x06, 0x78, 0x61, 0x74, 0x74, 0x72, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x58, 0x41, 0x74, 0x74, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x58, 0x61, 0x74, 0x74, 0x72, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x06, 0x78, 0x61, 0x74, 0x74, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x72, - 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6b, 0x65, 0x79, - 0x73, 0x74, 0x6f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0c, 0x6b, 0x65, 0x79, 0x73, 0x74, 0x6f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x58, 0x61, 0x74, 0x74, 0x72, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x1a, 0x54, 0x0a, 0x0c, 0x43, 0x68, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, - 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x25, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x52, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x1a, 0x41, 0x0a, 0x0c, 0x43, 0x68, 0x6d, 0x6f, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, - 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x1a, 0xc8, 0x02, 0x0a, 0x0a, 0x41, 0x63, - 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, - 0x44, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x03, 0x63, 0x6d, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, - 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x41, 0x43, 0x4c, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x52, - 0x03, 0x63, 0x6d, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, - 0x76, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x26, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x41, 0x43, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x75, - 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2d, - 0x0a, 0x0b, 0x41, 0x43, 0x4c, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x12, 0x08, 0x0a, - 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x4f, 0x44, 0x49, 0x46, - 0x59, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x02, 0x22, 0x25, 0x0a, - 0x08, 0x41, 0x43, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x53, 0x45, - 0x52, 0x5f, 0x41, 0x43, 0x4c, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x59, 0x53, 0x5f, 0x41, - 0x43, 0x4c, 0x10, 0x01, 0x1a, 0x39, 0x0a, 0x0c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x68, - 0x61, 0x72, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, - 0xc8, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, - 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x10, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x55, 0x4f, 0x54, - 0x41, 0x4f, 0x50, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, - 0x29, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, - 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x45, 0x4e, - 0x54, 0x52, 0x59, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x1a, 0xd2, 0x04, 0x0a, 0x0c, 0x53, - 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x02, 0x6c, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x68, 0x61, 0x72, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x73, 0x53, 0x68, 0x61, 0x72, 0x65, - 0x48, 0x00, 0x52, 0x02, 0x6c, 0x73, 0x12, 0x3e, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, - 0x48, 0x00, 0x52, 0x02, 0x6f, 0x70, 0x1a, 0xb6, 0x01, 0x0a, 0x07, 0x4c, 0x73, 0x53, 0x68, 0x61, - 0x72, 0x65, 0x12, 0x4f, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x73, 0x53, 0x68, 0x61, 0x72, 0x65, 0x2e, 0x4f, - 0x75, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x3c, 0x0a, 0x09, 0x4f, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x08, - 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x4f, 0x4e, 0x49, - 0x54, 0x4f, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x49, 0x53, 0x54, - 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x03, 0x1a, - 0x83, 0x02, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, - 0x12, 0x3f, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x65, - 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x2e, 0x4f, 0x70, 0x52, 0x02, 0x6f, - 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x63, 0x6c, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x63, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, - 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, - 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x4c, 0x0a, 0x02, 0x4f, 0x70, 0x12, 0x0a, 0x0a, - 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4d, - 0x4f, 0x56, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x48, 0x41, 0x52, 0x45, 0x10, 0x02, - 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x53, 0x48, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, - 0x06, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x4f, 0x44, - 0x49, 0x46, 0x59, 0x10, 0x05, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x63, 0x6d, 0x64, 0x42, - 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xa4, 0x0c, 0x0a, 0x0a, 0x4e, - 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x3d, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, - 0x12, 0x31, 0x0a, 0x03, 0x61, 0x63, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x03, - 0x61, 0x63, 0x6c, 0x12, 0x37, 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x05, - 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6f, - 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, - 0x73, 0x68, 0x61, 0x72, 0x65, 0x1a, 0x35, 0x0a, 0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, - 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x1a, 0xd7, 0x01, 0x0a, - 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, - 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x4b, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x1a, 0x51, 0x0a, 0x0b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, - 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x23, 0x0a, 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, - 0x05, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x9b, 0x03, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x79, 0x63, - 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, - 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, - 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, - 0x12, 0x4b, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x72, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x73, 0x1a, 0x94, 0x02, - 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x65, 0x6f, - 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x05, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x52, 0x05, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x50, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x65, 0x6f, 0x73, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x52, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x45, 0x4c, 0x45, - 0x54, 0x49, 0x4f, 0x4e, 0x54, 0x59, 0x50, 0x45, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x22, 0x22, 0x0a, 0x0c, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e, 0x54, 0x59, 0x50, 0x45, - 0x12, 0x08, 0x0a, 0x04, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, - 0x45, 0x45, 0x10, 0x01, 0x1a, 0x47, 0x0a, 0x0b, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x75, 0x6c, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x1a, 0x68, 0x0a, - 0x0d, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, - 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6d, 0x73, 0x67, 0x12, 0x31, 0x0a, 0x09, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x6e, 0x6f, 0x64, - 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x71, 0x75, - 0x6f, 0x74, 0x61, 0x6e, 0x6f, 0x64, 0x65, 0x1a, 0x73, 0x0a, 0x09, 0x53, 0x68, 0x61, 0x72, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x72, 0x75, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, - 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x75, - 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x07, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x1a, 0x3b, 0x0a, 0x0b, - 0x53, 0x68, 0x61, 0x72, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x1a, 0xa5, 0x01, 0x0a, 0x0d, 0x53, 0x68, - 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, - 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, - 0x67, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x68, - 0x61, 0x72, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x22, 0x29, 0x0a, 0x0d, 0x4e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x6b, 0x65, 0x79, 0x22, 0xab, 0x03, 0x0a, - 0x0e, 0x4e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x65, 0x6d, 0x73, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x6e, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6e, - 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, - 0x6e, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6e, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6f, 0x6f, 0x74, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x62, 0x6f, 0x6f, 0x74, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, - 0x66, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x75, 0x72, 0x72, 0x65, - 0x6e, 0x74, 0x46, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, - 0x5f, 0x63, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x75, 0x72, 0x72, - 0x65, 0x6e, 0x74, 0x43, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x5f, 0x76, 0x69, - 0x72, 0x74, 0x75, 0x61, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6d, 0x65, 0x6d, - 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x5f, 0x72, - 0x65, 0x73, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, - 0x65, 0x6d, 0x52, 0x65, 0x73, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, - 0x6d, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, - 0x65, 0x6d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x5f, 0x67, - 0x72, 0x6f, 0x77, 0x74, 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d, 0x65, 0x6d, - 0x47, 0x72, 0x6f, 0x77, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, - 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, - 0x12, 0x10, 0x0a, 0x03, 0x66, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x66, - 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x06, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xba, 0x03, 0x0a, 0x0d, 0x4d, - 0x61, 0x6e, 0x69, 0x6c, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0c, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x41, 0x4e, - 0x49, 0x4c, 0x41, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, - 0x08, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x61, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x68, 0x61, 0x72, 0x65, 0x49, 0x64, - 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, - 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x21, - 0x0a, 0x0c, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x45, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x48, 0x6f, 0x73, 0x74, - 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xca, 0x01, 0x0a, 0x0e, 0x4d, 0x61, 0x6e, 0x69, - 0x6c, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, - 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, - 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x55, 0x73, 0x65, 0x64, 0x12, - 0x25, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, - 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x61, - 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x68, - 0x61, 0x72, 0x65, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0d, 0x6e, 0x65, 0x77, 0x53, 0x68, 0x61, 0x72, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x24, - 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x53, 0x68, 0x61, 0x72, 0x65, - 0x50, 0x61, 0x74, 0x68, 0x2a, 0x36, 0x0a, 0x04, 0x54, 0x59, 0x50, 0x45, 0x12, 0x08, 0x0a, 0x04, - 0x46, 0x49, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, - 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x49, 0x53, 0x54, 0x49, 0x4e, 0x47, - 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x41, 0x54, 0x10, 0x03, 0x2a, 0x2d, 0x0a, 0x09, - 0x51, 0x55, 0x4f, 0x54, 0x41, 0x54, 0x59, 0x50, 0x45, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, - 0x52, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x02, 0x12, 0x0b, - 0x0a, 0x07, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x03, 0x2a, 0x2f, 0x0a, 0x07, 0x51, - 0x55, 0x4f, 0x54, 0x41, 0x4f, 0x50, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x45, 0x54, 0x10, 0x00, 0x12, - 0x07, 0x0a, 0x03, 0x53, 0x45, 0x54, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x52, 0x4d, 0x10, 0x02, - 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x4d, 0x4e, 0x4f, 0x44, 0x45, 0x10, 0x03, 0x2a, 0x2d, 0x0a, 0x0a, - 0x51, 0x55, 0x4f, 0x54, 0x41, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, - 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x10, 0x01, - 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x4f, 0x44, 0x45, 0x10, 0x02, 0x2a, 0x94, 0x01, 0x0a, 0x13, - 0x4d, 0x41, 0x4e, 0x49, 0x4c, 0x41, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x48, - 0x41, 0x52, 0x45, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, - 0x53, 0x48, 0x41, 0x52, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x58, 0x54, 0x45, 0x4e, - 0x44, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x48, 0x52, - 0x49, 0x4e, 0x4b, 0x5f, 0x53, 0x48, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x4d, - 0x41, 0x4e, 0x41, 0x47, 0x45, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, - 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x10, 0x05, 0x12, 0x12, - 0x0a, 0x0e, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x50, 0x41, 0x43, 0x49, 0x54, 0x49, 0x45, 0x53, - 0x10, 0x06, 0x32, 0xeb, 0x03, 0x0a, 0x03, 0x45, 0x6f, 0x73, 0x12, 0x32, 0x0a, 0x04, 0x50, 0x69, - 0x6e, 0x67, 0x12, 0x14, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e, - 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x31, - 0x0a, 0x02, 0x4d, 0x44, 0x12, 0x12, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, - 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, - 0x01, 0x12, 0x35, 0x0a, 0x04, 0x46, 0x69, 0x6e, 0x64, 0x12, 0x14, 0x2e, 0x65, 0x6f, 0x73, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x13, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x44, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x3b, 0x0a, 0x06, 0x4e, 0x73, 0x53, 0x74, - 0x61, 0x74, 0x12, 0x16, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x73, 0x53, - 0x74, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x6f, 0x73, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x73, 0x53, 0x74, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, - 0x65, 0x72, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x12, 0x1f, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x65, - 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x65, 0x6f, 0x73, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, - 0x00, 0x12, 0x40, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x12, - 0x1a, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, - 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x65, 0x6f, - 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6c, - 0x79, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x04, 0x45, 0x78, 0x65, 0x63, 0x12, 0x12, 0x2e, 0x65, 0x6f, - 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x13, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x13, 0x4d, 0x61, 0x6e, 0x69, 0x6c, 0x61, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x2e, - 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x6e, 0x69, 0x6c, 0x61, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x6f, 0x73, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x4d, 0x61, 0x6e, 0x69, 0x6c, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x42, 0x55, 0x0a, 0x0f, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x65, 0x6f, 0x73, 0x2e, - 0x72, 0x70, 0x63, 0x42, 0x08, 0x45, 0x6f, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x65, 0x72, 0x6e, - 0x2d, 0x65, 0x6f, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x3b, 0x65, 0x6f, 0x73, 0x5f, 0x67, 0x72, 0x70, - 0x63, 0xa2, 0x02, 0x03, 0x45, 0x4f, 0x53, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_Rpc_proto_rawDescOnce sync.Once - file_Rpc_proto_rawDescData = file_Rpc_proto_rawDesc -) - -func file_Rpc_proto_rawDescGZIP() []byte { - file_Rpc_proto_rawDescOnce.Do(func() { - file_Rpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_Rpc_proto_rawDescData) - }) - return file_Rpc_proto_rawDescData -} - -var file_Rpc_proto_enumTypes = make([]protoimpl.EnumInfo, 12) -var file_Rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 60) -var file_Rpc_proto_goTypes = []interface{}{ - (TYPE)(0), // 0: eos.rpc.TYPE - (QUOTATYPE)(0), // 1: eos.rpc.QUOTATYPE - (QUOTAOP)(0), // 2: eos.rpc.QUOTAOP - (QUOTAENTRY)(0), // 3: eos.rpc.QUOTAENTRY - (MANILA_REQUEST_TYPE)(0), // 4: eos.rpc.MANILA_REQUEST_TYPE - (NSRequest_VersionRequest_VERSION_CMD)(0), // 5: eos.rpc.NSRequest.VersionRequest.VERSION_CMD - (NSRequest_RecycleRequest_RECYCLE_CMD)(0), // 6: eos.rpc.NSRequest.RecycleRequest.RECYCLE_CMD - (NSRequest_AclRequest_ACL_COMMAND)(0), // 7: eos.rpc.NSRequest.AclRequest.ACL_COMMAND - (NSRequest_AclRequest_ACL_TYPE)(0), // 8: eos.rpc.NSRequest.AclRequest.ACL_TYPE - (NSRequest_ShareRequest_LsShare_OutFormat)(0), // 9: eos.rpc.NSRequest.ShareRequest.LsShare.OutFormat - (NSRequest_ShareRequest_OperateShare_Op)(0), // 10: eos.rpc.NSRequest.ShareRequest.OperateShare.Op - (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE)(0), // 11: eos.rpc.NSResponse.RecycleResponse.RecycleInfo.DELETIONTYPE - (*PingRequest)(nil), // 12: eos.rpc.PingRequest - (*PingReply)(nil), // 13: eos.rpc.PingReply - (*ContainerInsertRequest)(nil), // 14: eos.rpc.ContainerInsertRequest - (*FileInsertRequest)(nil), // 15: eos.rpc.FileInsertRequest - (*InsertReply)(nil), // 16: eos.rpc.InsertReply - (*Time)(nil), // 17: eos.rpc.Time - (*Checksum)(nil), // 18: eos.rpc.Checksum - (*FileMdProto)(nil), // 19: eos.rpc.FileMdProto - (*ContainerMdProto)(nil), // 20: eos.rpc.ContainerMdProto - (*QuotaProto)(nil), // 21: eos.rpc.QuotaProto - (*RoleId)(nil), // 22: eos.rpc.RoleId - (*MDId)(nil), // 23: eos.rpc.MDId - (*Limit)(nil), // 24: eos.rpc.Limit - (*MDSelection)(nil), // 25: eos.rpc.MDSelection - (*MDRequest)(nil), // 26: eos.rpc.MDRequest - (*MDResponse)(nil), // 27: eos.rpc.MDResponse - (*FindRequest)(nil), // 28: eos.rpc.FindRequest - (*ShareAuth)(nil), // 29: eos.rpc.ShareAuth - (*ShareProto)(nil), // 30: eos.rpc.ShareProto - (*ShareToken)(nil), // 31: eos.rpc.ShareToken - (*NSRequest)(nil), // 32: eos.rpc.NSRequest - (*NSResponse)(nil), // 33: eos.rpc.NSResponse - (*NsStatRequest)(nil), // 34: eos.rpc.NsStatRequest - (*NsStatResponse)(nil), // 35: eos.rpc.NsStatResponse - (*ManilaRequest)(nil), // 36: eos.rpc.ManilaRequest - (*ManilaResponse)(nil), // 37: eos.rpc.ManilaResponse - nil, // 38: eos.rpc.FileMdProto.XattrsEntry - nil, // 39: eos.rpc.ContainerMdProto.XattrsEntry - nil, // 40: eos.rpc.MDSelection.XattrEntry - (*NSRequest_MkdirRequest)(nil), // 41: eos.rpc.NSRequest.MkdirRequest - (*NSRequest_RmdirRequest)(nil), // 42: eos.rpc.NSRequest.RmdirRequest - (*NSRequest_TouchRequest)(nil), // 43: eos.rpc.NSRequest.TouchRequest - (*NSRequest_UnlinkRequest)(nil), // 44: eos.rpc.NSRequest.UnlinkRequest - (*NSRequest_RmRequest)(nil), // 45: eos.rpc.NSRequest.RmRequest - (*NSRequest_RenameRequest)(nil), // 46: eos.rpc.NSRequest.RenameRequest - (*NSRequest_SymlinkRequest)(nil), // 47: eos.rpc.NSRequest.SymlinkRequest - (*NSRequest_VersionRequest)(nil), // 48: eos.rpc.NSRequest.VersionRequest - (*NSRequest_RecycleRequest)(nil), // 49: eos.rpc.NSRequest.RecycleRequest - (*NSRequest_SetXAttrRequest)(nil), // 50: eos.rpc.NSRequest.SetXAttrRequest - (*NSRequest_ChownRequest)(nil), // 51: eos.rpc.NSRequest.ChownRequest - (*NSRequest_ChmodRequest)(nil), // 52: eos.rpc.NSRequest.ChmodRequest - (*NSRequest_AclRequest)(nil), // 53: eos.rpc.NSRequest.AclRequest - (*NSRequest_TokenRequest)(nil), // 54: eos.rpc.NSRequest.TokenRequest - (*NSRequest_QuotaRequest)(nil), // 55: eos.rpc.NSRequest.QuotaRequest - (*NSRequest_ShareRequest)(nil), // 56: eos.rpc.NSRequest.ShareRequest - (*NSRequest_RecycleRequest_RestoreFlags)(nil), // 57: eos.rpc.NSRequest.RecycleRequest.RestoreFlags - (*NSRequest_RecycleRequest_PurgeDate)(nil), // 58: eos.rpc.NSRequest.RecycleRequest.PurgeDate - nil, // 59: eos.rpc.NSRequest.SetXAttrRequest.XattrsEntry - (*NSRequest_ShareRequest_LsShare)(nil), // 60: eos.rpc.NSRequest.ShareRequest.LsShare - (*NSRequest_ShareRequest_OperateShare)(nil), // 61: eos.rpc.NSRequest.ShareRequest.OperateShare - (*NSResponse_ErrorResponse)(nil), // 62: eos.rpc.NSResponse.ErrorResponse - (*NSResponse_VersionResponse)(nil), // 63: eos.rpc.NSResponse.VersionResponse - (*NSResponse_RecycleResponse)(nil), // 64: eos.rpc.NSResponse.RecycleResponse - (*NSResponse_AclResponse)(nil), // 65: eos.rpc.NSResponse.AclResponse - (*NSResponse_QuotaResponse)(nil), // 66: eos.rpc.NSResponse.QuotaResponse - (*NSResponse_ShareInfo)(nil), // 67: eos.rpc.NSResponse.ShareInfo - (*NSResponse_ShareAccess)(nil), // 68: eos.rpc.NSResponse.ShareAccess - (*NSResponse_ShareResponse)(nil), // 69: eos.rpc.NSResponse.ShareResponse - (*NSResponse_VersionResponse_VersionInfo)(nil), // 70: eos.rpc.NSResponse.VersionResponse.VersionInfo - (*NSResponse_RecycleResponse_RecycleInfo)(nil), // 71: eos.rpc.NSResponse.RecycleResponse.RecycleInfo -} -var file_Rpc_proto_depIdxs = []int32{ - 20, // 0: eos.rpc.ContainerInsertRequest.container:type_name -> eos.rpc.ContainerMdProto - 19, // 1: eos.rpc.FileInsertRequest.files:type_name -> eos.rpc.FileMdProto - 17, // 2: eos.rpc.FileMdProto.ctime:type_name -> eos.rpc.Time - 17, // 3: eos.rpc.FileMdProto.mtime:type_name -> eos.rpc.Time - 18, // 4: eos.rpc.FileMdProto.checksum:type_name -> eos.rpc.Checksum - 38, // 5: eos.rpc.FileMdProto.xattrs:type_name -> eos.rpc.FileMdProto.XattrsEntry - 17, // 6: eos.rpc.ContainerMdProto.ctime:type_name -> eos.rpc.Time - 17, // 7: eos.rpc.ContainerMdProto.mtime:type_name -> eos.rpc.Time - 17, // 8: eos.rpc.ContainerMdProto.stime:type_name -> eos.rpc.Time - 39, // 9: eos.rpc.ContainerMdProto.xattrs:type_name -> eos.rpc.ContainerMdProto.XattrsEntry - 1, // 10: eos.rpc.QuotaProto.type:type_name -> eos.rpc.QUOTATYPE - 0, // 11: eos.rpc.MDId.type:type_name -> eos.rpc.TYPE - 24, // 12: eos.rpc.MDSelection.ctime:type_name -> eos.rpc.Limit - 24, // 13: eos.rpc.MDSelection.mtime:type_name -> eos.rpc.Limit - 24, // 14: eos.rpc.MDSelection.stime:type_name -> eos.rpc.Limit - 24, // 15: eos.rpc.MDSelection.size:type_name -> eos.rpc.Limit - 24, // 16: eos.rpc.MDSelection.treesize:type_name -> eos.rpc.Limit - 24, // 17: eos.rpc.MDSelection.children:type_name -> eos.rpc.Limit - 24, // 18: eos.rpc.MDSelection.locations:type_name -> eos.rpc.Limit - 24, // 19: eos.rpc.MDSelection.unlinked_locations:type_name -> eos.rpc.Limit - 18, // 20: eos.rpc.MDSelection.checksum:type_name -> eos.rpc.Checksum - 40, // 21: eos.rpc.MDSelection.xattr:type_name -> eos.rpc.MDSelection.XattrEntry - 0, // 22: eos.rpc.MDRequest.type:type_name -> eos.rpc.TYPE - 23, // 23: eos.rpc.MDRequest.id:type_name -> eos.rpc.MDId - 22, // 24: eos.rpc.MDRequest.role:type_name -> eos.rpc.RoleId - 25, // 25: eos.rpc.MDRequest.selection:type_name -> eos.rpc.MDSelection - 0, // 26: eos.rpc.MDResponse.type:type_name -> eos.rpc.TYPE - 19, // 27: eos.rpc.MDResponse.fmd:type_name -> eos.rpc.FileMdProto - 20, // 28: eos.rpc.MDResponse.cmd:type_name -> eos.rpc.ContainerMdProto - 0, // 29: eos.rpc.FindRequest.type:type_name -> eos.rpc.TYPE - 23, // 30: eos.rpc.FindRequest.id:type_name -> eos.rpc.MDId - 22, // 31: eos.rpc.FindRequest.role:type_name -> eos.rpc.RoleId - 25, // 32: eos.rpc.FindRequest.selection:type_name -> eos.rpc.MDSelection - 29, // 33: eos.rpc.ShareProto.origins:type_name -> eos.rpc.ShareAuth - 30, // 34: eos.rpc.ShareToken.token:type_name -> eos.rpc.ShareProto - 22, // 35: eos.rpc.NSRequest.role:type_name -> eos.rpc.RoleId - 41, // 36: eos.rpc.NSRequest.mkdir:type_name -> eos.rpc.NSRequest.MkdirRequest - 42, // 37: eos.rpc.NSRequest.rmdir:type_name -> eos.rpc.NSRequest.RmdirRequest - 43, // 38: eos.rpc.NSRequest.touch:type_name -> eos.rpc.NSRequest.TouchRequest - 44, // 39: eos.rpc.NSRequest.unlink:type_name -> eos.rpc.NSRequest.UnlinkRequest - 45, // 40: eos.rpc.NSRequest.rm:type_name -> eos.rpc.NSRequest.RmRequest - 46, // 41: eos.rpc.NSRequest.rename:type_name -> eos.rpc.NSRequest.RenameRequest - 47, // 42: eos.rpc.NSRequest.symlink:type_name -> eos.rpc.NSRequest.SymlinkRequest - 48, // 43: eos.rpc.NSRequest.version:type_name -> eos.rpc.NSRequest.VersionRequest - 49, // 44: eos.rpc.NSRequest.recycle:type_name -> eos.rpc.NSRequest.RecycleRequest - 50, // 45: eos.rpc.NSRequest.xattr:type_name -> eos.rpc.NSRequest.SetXAttrRequest - 51, // 46: eos.rpc.NSRequest.chown:type_name -> eos.rpc.NSRequest.ChownRequest - 52, // 47: eos.rpc.NSRequest.chmod:type_name -> eos.rpc.NSRequest.ChmodRequest - 53, // 48: eos.rpc.NSRequest.acl:type_name -> eos.rpc.NSRequest.AclRequest - 54, // 49: eos.rpc.NSRequest.token:type_name -> eos.rpc.NSRequest.TokenRequest - 55, // 50: eos.rpc.NSRequest.quota:type_name -> eos.rpc.NSRequest.QuotaRequest - 56, // 51: eos.rpc.NSRequest.share:type_name -> eos.rpc.NSRequest.ShareRequest - 62, // 52: eos.rpc.NSResponse.error:type_name -> eos.rpc.NSResponse.ErrorResponse - 63, // 53: eos.rpc.NSResponse.version:type_name -> eos.rpc.NSResponse.VersionResponse - 64, // 54: eos.rpc.NSResponse.recycle:type_name -> eos.rpc.NSResponse.RecycleResponse - 65, // 55: eos.rpc.NSResponse.acl:type_name -> eos.rpc.NSResponse.AclResponse - 66, // 56: eos.rpc.NSResponse.quota:type_name -> eos.rpc.NSResponse.QuotaResponse - 69, // 57: eos.rpc.NSResponse.share:type_name -> eos.rpc.NSResponse.ShareResponse - 4, // 58: eos.rpc.ManilaRequest.request_type:type_name -> eos.rpc.MANILA_REQUEST_TYPE - 23, // 59: eos.rpc.NSRequest.MkdirRequest.id:type_name -> eos.rpc.MDId - 23, // 60: eos.rpc.NSRequest.RmdirRequest.id:type_name -> eos.rpc.MDId - 23, // 61: eos.rpc.NSRequest.TouchRequest.id:type_name -> eos.rpc.MDId - 23, // 62: eos.rpc.NSRequest.UnlinkRequest.id:type_name -> eos.rpc.MDId - 23, // 63: eos.rpc.NSRequest.RmRequest.id:type_name -> eos.rpc.MDId - 23, // 64: eos.rpc.NSRequest.RenameRequest.id:type_name -> eos.rpc.MDId - 23, // 65: eos.rpc.NSRequest.SymlinkRequest.id:type_name -> eos.rpc.MDId - 23, // 66: eos.rpc.NSRequest.VersionRequest.id:type_name -> eos.rpc.MDId - 5, // 67: eos.rpc.NSRequest.VersionRequest.cmd:type_name -> eos.rpc.NSRequest.VersionRequest.VERSION_CMD - 6, // 68: eos.rpc.NSRequest.RecycleRequest.cmd:type_name -> eos.rpc.NSRequest.RecycleRequest.RECYCLE_CMD - 57, // 69: eos.rpc.NSRequest.RecycleRequest.restoreflag:type_name -> eos.rpc.NSRequest.RecycleRequest.RestoreFlags - 58, // 70: eos.rpc.NSRequest.RecycleRequest.purgedate:type_name -> eos.rpc.NSRequest.RecycleRequest.PurgeDate - 23, // 71: eos.rpc.NSRequest.SetXAttrRequest.id:type_name -> eos.rpc.MDId - 59, // 72: eos.rpc.NSRequest.SetXAttrRequest.xattrs:type_name -> eos.rpc.NSRequest.SetXAttrRequest.XattrsEntry - 23, // 73: eos.rpc.NSRequest.ChownRequest.id:type_name -> eos.rpc.MDId - 22, // 74: eos.rpc.NSRequest.ChownRequest.owner:type_name -> eos.rpc.RoleId - 23, // 75: eos.rpc.NSRequest.ChmodRequest.id:type_name -> eos.rpc.MDId - 23, // 76: eos.rpc.NSRequest.AclRequest.id:type_name -> eos.rpc.MDId - 7, // 77: eos.rpc.NSRequest.AclRequest.cmd:type_name -> eos.rpc.NSRequest.AclRequest.ACL_COMMAND - 8, // 78: eos.rpc.NSRequest.AclRequest.type:type_name -> eos.rpc.NSRequest.AclRequest.ACL_TYPE - 31, // 79: eos.rpc.NSRequest.TokenRequest.token:type_name -> eos.rpc.ShareToken - 22, // 80: eos.rpc.NSRequest.QuotaRequest.id:type_name -> eos.rpc.RoleId - 2, // 81: eos.rpc.NSRequest.QuotaRequest.op:type_name -> eos.rpc.QUOTAOP - 3, // 82: eos.rpc.NSRequest.QuotaRequest.entry:type_name -> eos.rpc.QUOTAENTRY - 60, // 83: eos.rpc.NSRequest.ShareRequest.ls:type_name -> eos.rpc.NSRequest.ShareRequest.LsShare - 61, // 84: eos.rpc.NSRequest.ShareRequest.op:type_name -> eos.rpc.NSRequest.ShareRequest.OperateShare - 9, // 85: eos.rpc.NSRequest.ShareRequest.LsShare.outformat:type_name -> eos.rpc.NSRequest.ShareRequest.LsShare.OutFormat - 10, // 86: eos.rpc.NSRequest.ShareRequest.OperateShare.op:type_name -> eos.rpc.NSRequest.ShareRequest.OperateShare.Op - 70, // 87: eos.rpc.NSResponse.VersionResponse.versions:type_name -> eos.rpc.NSResponse.VersionResponse.VersionInfo - 71, // 88: eos.rpc.NSResponse.RecycleResponse.recycles:type_name -> eos.rpc.NSResponse.RecycleResponse.RecycleInfo - 21, // 89: eos.rpc.NSResponse.QuotaResponse.quotanode:type_name -> eos.rpc.QuotaProto - 67, // 90: eos.rpc.NSResponse.ShareResponse.shares:type_name -> eos.rpc.NSResponse.ShareInfo - 68, // 91: eos.rpc.NSResponse.ShareResponse.access:type_name -> eos.rpc.NSResponse.ShareAccess - 23, // 92: eos.rpc.NSResponse.VersionResponse.VersionInfo.id:type_name -> eos.rpc.MDId - 17, // 93: eos.rpc.NSResponse.VersionResponse.VersionInfo.mtime:type_name -> eos.rpc.Time - 23, // 94: eos.rpc.NSResponse.RecycleResponse.RecycleInfo.id:type_name -> eos.rpc.MDId - 22, // 95: eos.rpc.NSResponse.RecycleResponse.RecycleInfo.owner:type_name -> eos.rpc.RoleId - 17, // 96: eos.rpc.NSResponse.RecycleResponse.RecycleInfo.dtime:type_name -> eos.rpc.Time - 11, // 97: eos.rpc.NSResponse.RecycleResponse.RecycleInfo.type:type_name -> eos.rpc.NSResponse.RecycleResponse.RecycleInfo.DELETIONTYPE - 12, // 98: eos.rpc.Eos.Ping:input_type -> eos.rpc.PingRequest - 26, // 99: eos.rpc.Eos.MD:input_type -> eos.rpc.MDRequest - 28, // 100: eos.rpc.Eos.Find:input_type -> eos.rpc.FindRequest - 34, // 101: eos.rpc.Eos.NsStat:input_type -> eos.rpc.NsStatRequest - 14, // 102: eos.rpc.Eos.ContainerInsert:input_type -> eos.rpc.ContainerInsertRequest - 15, // 103: eos.rpc.Eos.FileInsert:input_type -> eos.rpc.FileInsertRequest - 32, // 104: eos.rpc.Eos.Exec:input_type -> eos.rpc.NSRequest - 36, // 105: eos.rpc.Eos.ManilaServerRequest:input_type -> eos.rpc.ManilaRequest - 13, // 106: eos.rpc.Eos.Ping:output_type -> eos.rpc.PingReply - 27, // 107: eos.rpc.Eos.MD:output_type -> eos.rpc.MDResponse - 27, // 108: eos.rpc.Eos.Find:output_type -> eos.rpc.MDResponse - 35, // 109: eos.rpc.Eos.NsStat:output_type -> eos.rpc.NsStatResponse - 16, // 110: eos.rpc.Eos.ContainerInsert:output_type -> eos.rpc.InsertReply - 16, // 111: eos.rpc.Eos.FileInsert:output_type -> eos.rpc.InsertReply - 33, // 112: eos.rpc.Eos.Exec:output_type -> eos.rpc.NSResponse - 37, // 113: eos.rpc.Eos.ManilaServerRequest:output_type -> eos.rpc.ManilaResponse - 106, // [106:114] is the sub-list for method output_type - 98, // [98:106] is the sub-list for method input_type - 98, // [98:98] is the sub-list for extension type_name - 98, // [98:98] is the sub-list for extension extendee - 0, // [0:98] is the sub-list for field type_name -} - -func init() { file_Rpc_proto_init() } -func file_Rpc_proto_init() { - if File_Rpc_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_Rpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PingReply); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContainerInsertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileInsertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InsertReply); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Time); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Checksum); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileMdProto); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContainerMdProto); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuotaProto); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoleId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MDId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Limit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MDSelection); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MDRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MDResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShareAuth); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShareProto); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShareToken); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NsStatRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NsStatResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ManilaRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ManilaResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_MkdirRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_RmdirRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_TouchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_UnlinkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_RmRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_RenameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_SymlinkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_VersionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_RecycleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_SetXAttrRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_ChownRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_ChmodRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_AclRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_TokenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_QuotaRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_ShareRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_RecycleRequest_RestoreFlags); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_RecycleRequest_PurgeDate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_ShareRequest_LsShare); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSRequest_ShareRequest_OperateShare); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse_ErrorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse_VersionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse_RecycleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse_AclResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse_QuotaResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse_ShareInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse_ShareAccess); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse_ShareResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse_VersionResponse_VersionInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_Rpc_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NSResponse_RecycleResponse_RecycleInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_Rpc_proto_msgTypes[20].OneofWrappers = []interface{}{ - (*NSRequest_Mkdir)(nil), - (*NSRequest_Rmdir)(nil), - (*NSRequest_Touch)(nil), - (*NSRequest_Unlink)(nil), - (*NSRequest_Rm)(nil), - (*NSRequest_Rename)(nil), - (*NSRequest_Symlink)(nil), - (*NSRequest_Version)(nil), - (*NSRequest_Recycle)(nil), - (*NSRequest_Xattr)(nil), - (*NSRequest_Chown)(nil), - (*NSRequest_Chmod)(nil), - (*NSRequest_Acl)(nil), - (*NSRequest_Token)(nil), - (*NSRequest_Quota)(nil), - (*NSRequest_Share)(nil), +func _Eos_ManilaServerRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ManilaRequest) + if err := dec(in); err != nil { + return nil, err } - file_Rpc_proto_msgTypes[44].OneofWrappers = []interface{}{ - (*NSRequest_ShareRequest_Ls)(nil), - (*NSRequest_ShareRequest_Op)(nil), + if interceptor == nil { + return srv.(EosServer).ManilaServerRequest(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/eos.rpc.Eos/ManilaServerRequest", } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_Rpc_proto_rawDesc, - NumEnums: 12, - NumMessages: 60, - NumExtensions: 0, - NumServices: 1, + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(EosServer).ManilaServerRequest(ctx, req.(*ManilaRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _Eos_serviceDesc = grpc.ServiceDesc{ + ServiceName: "eos.rpc.Eos", + HandlerType: (*EosServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Ping", + Handler: _Eos_Ping_Handler, + }, + { + MethodName: "NsStat", + Handler: _Eos_NsStat_Handler, + }, + { + MethodName: "ContainerInsert", + Handler: _Eos_ContainerInsert_Handler, + }, + { + MethodName: "FileInsert", + Handler: _Eos_FileInsert_Handler, + }, + { + MethodName: "Exec", + Handler: _Eos_Exec_Handler, + }, + { + MethodName: "ManilaServerRequest", + Handler: _Eos_ManilaServerRequest_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "MD", + Handler: _Eos_MD_Handler, + ServerStreams: true, + }, + { + StreamName: "Find", + Handler: _Eos_Find_Handler, + ServerStreams: true, }, - GoTypes: file_Rpc_proto_goTypes, - DependencyIndexes: file_Rpc_proto_depIdxs, - EnumInfos: file_Rpc_proto_enumTypes, - MessageInfos: file_Rpc_proto_msgTypes, - }.Build() - File_Rpc_proto = out.File - file_Rpc_proto_rawDesc = nil - file_Rpc_proto_goTypes = nil - file_Rpc_proto_depIdxs = nil + }, + Metadata: "Rpc.proto", } diff --git a/pkg/eosclient/eosgrpc/eos_grpc/Rpc_grpc.pb.go b/pkg/eosclient/eosgrpc/eos_grpc/Rpc_grpc.pb.go deleted file mode 100644 index 1fc56c03471..00000000000 --- a/pkg/eosclient/eosgrpc/eos_grpc/Rpc_grpc.pb.go +++ /dev/null @@ -1,445 +0,0 @@ -// Copyright 2018-2023 CERN -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// In applying this license, CERN does not waive the privileges and immunities -// granted to it by virtue of its status as an Intergovernmental Organization -// or submit itself to any jurisdiction. - -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.19.1 -// source: Rpc.proto - -package eos_grpc - -import ( - context "context" - - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// EosClient is the client API for Eos service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type EosClient interface { - // Replies to a ping - Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingReply, error) - // Replies to MD requests with a stream - MD(ctx context.Context, in *MDRequest, opts ...grpc.CallOption) (Eos_MDClient, error) - // Replies to Find requests with a stream - Find(ctx context.Context, in *FindRequest, opts ...grpc.CallOption) (Eos_FindClient, error) - // Replies to a NsStat operation - NsStat(ctx context.Context, in *NsStatRequest, opts ...grpc.CallOption) (*NsStatResponse, error) - // Replies to an insert - ContainerInsert(ctx context.Context, in *ContainerInsertRequest, opts ...grpc.CallOption) (*InsertReply, error) - FileInsert(ctx context.Context, in *FileInsertRequest, opts ...grpc.CallOption) (*InsertReply, error) - // Replies to a NsRequest operation - Exec(ctx context.Context, in *NSRequest, opts ...grpc.CallOption) (*NSResponse, error) - // Manila Driver - ManilaServerRequest(ctx context.Context, in *ManilaRequest, opts ...grpc.CallOption) (*ManilaResponse, error) -} - -type eosClient struct { - cc grpc.ClientConnInterface -} - -func NewEosClient(cc grpc.ClientConnInterface) EosClient { - return &eosClient{cc} -} - -func (c *eosClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingReply, error) { - out := new(PingReply) - err := c.cc.Invoke(ctx, "/eos.rpc.Eos/Ping", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *eosClient) MD(ctx context.Context, in *MDRequest, opts ...grpc.CallOption) (Eos_MDClient, error) { - stream, err := c.cc.NewStream(ctx, &Eos_ServiceDesc.Streams[0], "/eos.rpc.Eos/MD", opts...) - if err != nil { - return nil, err - } - x := &eosMDClient{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 -} - -type Eos_MDClient interface { - Recv() (*MDResponse, error) - grpc.ClientStream -} - -type eosMDClient struct { - grpc.ClientStream -} - -func (x *eosMDClient) Recv() (*MDResponse, error) { - m := new(MDResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *eosClient) Find(ctx context.Context, in *FindRequest, opts ...grpc.CallOption) (Eos_FindClient, error) { - stream, err := c.cc.NewStream(ctx, &Eos_ServiceDesc.Streams[1], "/eos.rpc.Eos/Find", opts...) - if err != nil { - return nil, err - } - x := &eosFindClient{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 -} - -type Eos_FindClient interface { - Recv() (*MDResponse, error) - grpc.ClientStream -} - -type eosFindClient struct { - grpc.ClientStream -} - -func (x *eosFindClient) Recv() (*MDResponse, error) { - m := new(MDResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *eosClient) NsStat(ctx context.Context, in *NsStatRequest, opts ...grpc.CallOption) (*NsStatResponse, error) { - out := new(NsStatResponse) - err := c.cc.Invoke(ctx, "/eos.rpc.Eos/NsStat", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *eosClient) ContainerInsert(ctx context.Context, in *ContainerInsertRequest, opts ...grpc.CallOption) (*InsertReply, error) { - out := new(InsertReply) - err := c.cc.Invoke(ctx, "/eos.rpc.Eos/ContainerInsert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *eosClient) FileInsert(ctx context.Context, in *FileInsertRequest, opts ...grpc.CallOption) (*InsertReply, error) { - out := new(InsertReply) - err := c.cc.Invoke(ctx, "/eos.rpc.Eos/FileInsert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *eosClient) Exec(ctx context.Context, in *NSRequest, opts ...grpc.CallOption) (*NSResponse, error) { - out := new(NSResponse) - err := c.cc.Invoke(ctx, "/eos.rpc.Eos/Exec", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *eosClient) ManilaServerRequest(ctx context.Context, in *ManilaRequest, opts ...grpc.CallOption) (*ManilaResponse, error) { - out := new(ManilaResponse) - err := c.cc.Invoke(ctx, "/eos.rpc.Eos/ManilaServerRequest", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// EosServer is the server API for Eos service. -// All implementations must embed UnimplementedEosServer -// for forward compatibility -type EosServer interface { - // Replies to a ping - Ping(context.Context, *PingRequest) (*PingReply, error) - // Replies to MD requests with a stream - MD(*MDRequest, Eos_MDServer) error - // Replies to Find requests with a stream - Find(*FindRequest, Eos_FindServer) error - // Replies to a NsStat operation - NsStat(context.Context, *NsStatRequest) (*NsStatResponse, error) - // Replies to an insert - ContainerInsert(context.Context, *ContainerInsertRequest) (*InsertReply, error) - FileInsert(context.Context, *FileInsertRequest) (*InsertReply, error) - // Replies to a NsRequest operation - Exec(context.Context, *NSRequest) (*NSResponse, error) - // Manila Driver - ManilaServerRequest(context.Context, *ManilaRequest) (*ManilaResponse, error) - mustEmbedUnimplementedEosServer() -} - -// UnimplementedEosServer must be embedded to have forward compatible implementations. -type UnimplementedEosServer struct { -} - -func (UnimplementedEosServer) Ping(context.Context, *PingRequest) (*PingReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") -} -func (UnimplementedEosServer) MD(*MDRequest, Eos_MDServer) error { - return status.Errorf(codes.Unimplemented, "method MD not implemented") -} -func (UnimplementedEosServer) Find(*FindRequest, Eos_FindServer) error { - return status.Errorf(codes.Unimplemented, "method Find not implemented") -} -func (UnimplementedEosServer) NsStat(context.Context, *NsStatRequest) (*NsStatResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NsStat not implemented") -} -func (UnimplementedEosServer) ContainerInsert(context.Context, *ContainerInsertRequest) (*InsertReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method ContainerInsert not implemented") -} -func (UnimplementedEosServer) FileInsert(context.Context, *FileInsertRequest) (*InsertReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method FileInsert not implemented") -} -func (UnimplementedEosServer) Exec(context.Context, *NSRequest) (*NSResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented") -} -func (UnimplementedEosServer) ManilaServerRequest(context.Context, *ManilaRequest) (*ManilaResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ManilaServerRequest not implemented") -} -func (UnimplementedEosServer) mustEmbedUnimplementedEosServer() {} - -// UnsafeEosServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to EosServer will -// result in compilation errors. -type UnsafeEosServer interface { - mustEmbedUnimplementedEosServer() -} - -func RegisterEosServer(s grpc.ServiceRegistrar, srv EosServer) { - s.RegisterService(&Eos_ServiceDesc, srv) -} - -func _Eos_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PingRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EosServer).Ping(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/eos.rpc.Eos/Ping", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EosServer).Ping(ctx, req.(*PingRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Eos_MD_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(MDRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(EosServer).MD(m, &eosMDServer{stream}) -} - -type Eos_MDServer interface { - Send(*MDResponse) error - grpc.ServerStream -} - -type eosMDServer struct { - grpc.ServerStream -} - -func (x *eosMDServer) Send(m *MDResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _Eos_Find_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(FindRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(EosServer).Find(m, &eosFindServer{stream}) -} - -type Eos_FindServer interface { - Send(*MDResponse) error - grpc.ServerStream -} - -type eosFindServer struct { - grpc.ServerStream -} - -func (x *eosFindServer) Send(m *MDResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _Eos_NsStat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NsStatRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EosServer).NsStat(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/eos.rpc.Eos/NsStat", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EosServer).NsStat(ctx, req.(*NsStatRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Eos_ContainerInsert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ContainerInsertRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EosServer).ContainerInsert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/eos.rpc.Eos/ContainerInsert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EosServer).ContainerInsert(ctx, req.(*ContainerInsertRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Eos_FileInsert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FileInsertRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EosServer).FileInsert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/eos.rpc.Eos/FileInsert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EosServer).FileInsert(ctx, req.(*FileInsertRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Eos_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NSRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EosServer).Exec(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/eos.rpc.Eos/Exec", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EosServer).Exec(ctx, req.(*NSRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Eos_ManilaServerRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ManilaRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EosServer).ManilaServerRequest(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/eos.rpc.Eos/ManilaServerRequest", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EosServer).ManilaServerRequest(ctx, req.(*ManilaRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// Eos_ServiceDesc is the grpc.ServiceDesc for Eos service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var Eos_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "eos.rpc.Eos", - HandlerType: (*EosServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Ping", - Handler: _Eos_Ping_Handler, - }, - { - MethodName: "NsStat", - Handler: _Eos_NsStat_Handler, - }, - { - MethodName: "ContainerInsert", - Handler: _Eos_ContainerInsert_Handler, - }, - { - MethodName: "FileInsert", - Handler: _Eos_FileInsert_Handler, - }, - { - MethodName: "Exec", - Handler: _Eos_Exec_Handler, - }, - { - MethodName: "ManilaServerRequest", - Handler: _Eos_ManilaServerRequest_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "MD", - Handler: _Eos_MD_Handler, - ServerStreams: true, - }, - { - StreamName: "Find", - Handler: _Eos_Find_Handler, - ServerStreams: true, - }, - }, - Metadata: "Rpc.proto", -} diff --git a/pkg/eosclient/eosgrpc/eosgrpc.go b/pkg/eosclient/eosgrpc/eosgrpc.go index a8b02409313..cd3f0b0b1e4 100644 --- a/pkg/eosclient/eosgrpc/eosgrpc.go +++ b/pkg/eosclient/eosgrpc/eosgrpc.go @@ -16,6 +16,11 @@ // granted to it by virtue of its status as an Intergovernmental Organization // or submit itself to any jurisdiction. +// NOTE: compile the grpc proto with these commands +// and do not ask any questions, I don't have the answer +// protoc ./Rpc.proto --go-grpc_out=. +// protoc ./eos_grpc.proto --go_out=plugins=grpc:. + package eosgrpc import ( @@ -31,6 +36,7 @@ import ( "strings" "syscall" + userpb "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1" "github.com/cs3org/reva/pkg/appctx" "github.com/cs3org/reva/pkg/eosclient" erpc "github.com/cs3org/reva/pkg/eosclient/eosgrpc/eos_grpc" @@ -94,7 +100,6 @@ type Options struct { Keytab string // Authkey is the key that authorizes this client to connect to the GRPC service - // It's unclear whether this will be the final solution Authkey string // SecProtocol is the comma separated list of security protocols used by xrootd. @@ -102,6 +107,15 @@ type Options struct { SecProtocol string } +func getUser(ctx context.Context) (*userpb.User, error) { + u, ok := appctx.ContextGetUser(ctx) + if !ok { + err := errors.Wrap(errtypes.UserRequired(""), "eosfs: error getting user from ctx") + return nil, err + } + return u, nil +} + func (opt *Options) init() { if opt.XrdcopyBinary == "" { opt.XrdcopyBinary = "/opt/eos/xrootd/bin/xrdcopy" @@ -149,6 +163,7 @@ func newgrpc(ctx context.Context, opt *Options) (erpc.EosClient, error) { if prep == nil { log.Warn().Str("Could not ping to ", "'"+opt.GrpcURI+"' ").Str("nil response", "").Msg("") } + log.Debug().Str("Ping to ", "'"+opt.GrpcURI+"' succeeded").Msg("") return ecl, nil } @@ -268,7 +283,7 @@ func (c *Client) AddACL(ctx context.Context, auth, rootAuth eosclient.Authorizat rq.Command = &erpc.NSRequest_Acl{Acl: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(context.Background(), rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "AddACL").Str("path", path).Str("err", e.Error()).Msg("") @@ -315,7 +330,7 @@ func (c *Client) RemoveACL(ctx context.Context, auth, rootAuth eosclient.Authori rq.Command = &erpc.NSRequest_Acl{Acl: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(context.Background(), rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "RemoveACL").Str("path", path).Str("err", e.Error()).Msg("") @@ -391,7 +406,7 @@ func (c *Client) getACLForPath(ctx context.Context, auth eosclient.Authorization rq.Command = &erpc.NSRequest_Acl{Acl: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(context.Background(), rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "GetACLForPath").Str("path", path).Str("err", e.Error()).Msg("") @@ -436,7 +451,7 @@ func (c *Client) GetFileInfoByInode(ctx context.Context, auth eosclient.Authoriz mdrq.Id.Ino = inode // Now send the req and see what happens - resp, err := c.cl.MD(context.Background(), mdrq) + resp, err := c.cl.MD(appctx.ContextGetClean(ctx), mdrq) if err != nil { log.Error().Err(err).Uint64("inode", inode).Str("err", err.Error()) @@ -520,7 +535,7 @@ func (c *Client) SetAttr(ctx context.Context, auth eosclient.Authorization, attr rq.Command = &erpc.NSRequest_Xattr{Xattr: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if resp != nil && resp.Error != nil && resp.Error.Code == 17 { @@ -566,7 +581,7 @@ func (c *Client) UnsetAttr(ctx context.Context, auth eosclient.Authorization, at rq.Command = &erpc.NSRequest_Xattr{Xattr: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) if resp != nil && resp.Error != nil && resp.Error.Code == 61 { return eosclient.AttrNotExistsError @@ -660,7 +675,7 @@ func (c *Client) GetFileInfoByPath(ctx context.Context, auth eosclient.Authoriza mdrq.Id.Path = []byte(path) // Now send the req and see what happens - resp, err := c.cl.MD(ctx, mdrq) + resp, err := c.cl.MD(appctx.ContextGetClean(ctx), mdrq) if err != nil { log.Error().Str("func", "GetFileInfoByPath").Err(err).Str("path", path).Str("err", err.Error()).Msg("") @@ -726,7 +741,7 @@ func (c *Client) GetQuota(ctx context.Context, username string, rootAuth eosclie rq.Command = &erpc.NSRequest_Quota{Quota: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { return nil, e @@ -810,7 +825,7 @@ func (c *Client) SetQuota(ctx context.Context, rootAuth eosclient.Authorization, rq.Command = &erpc.NSRequest_Quota{Quota: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { return e @@ -858,7 +873,7 @@ func (c *Client) Touch(ctx context.Context, auth eosclient.Authorization, path s rq.Command = &erpc.NSRequest_Touch{Touch: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "Touch").Str("path", path).Str("err", e.Error()).Msg("") @@ -902,7 +917,7 @@ func (c *Client) Chown(ctx context.Context, auth, chownAuth eosclient.Authorizat rq.Command = &erpc.NSRequest_Chown{Chown: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "Chown").Str("path", path).Str("err", e.Error()).Msg("") @@ -943,7 +958,7 @@ func (c *Client) Chmod(ctx context.Context, auth eosclient.Authorization, mode, rq.Command = &erpc.NSRequest_Chmod{Chmod: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "Chmod").Str("path ", path).Str("err", e.Error()).Msg("") @@ -985,7 +1000,7 @@ func (c *Client) CreateDir(ctx context.Context, auth eosclient.Authorization, pa rq.Command = &erpc.NSRequest_Mkdir{Mkdir: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "Createdir").Str("path", path).Str("err", e.Error()).Msg("") @@ -1020,7 +1035,7 @@ func (c *Client) rm(ctx context.Context, auth eosclient.Authorization, path stri rq.Command = &erpc.NSRequest_Unlink{Unlink: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "rm").Str("path", path).Str("err", e.Error()).Msg("") @@ -1056,7 +1071,7 @@ func (c *Client) rmdir(ctx context.Context, auth eosclient.Authorization, path s rq.Command = &erpc.NSRequest_Rm{Rm: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "rmdir").Str("path", path).Str("err", e.Error()).Msg("") @@ -1109,7 +1124,7 @@ func (c *Client) Rename(ctx context.Context, auth eosclient.Authorization, oldPa rq.Command = &erpc.NSRequest_Rename{Rename: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(ctx, rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "Rename").Str("oldPath", oldPath).Str("newPath", newPath).Str("err", e.Error()).Msg("") @@ -1153,7 +1168,7 @@ func (c *Client) List(ctx context.Context, auth eosclient.Authorization, dpath s fdrq.Authkey = c.opt.Authkey // Now send the req and see what happens - resp, err := c.cl.Find(context.Background(), fdrq) + resp, err := c.cl.Find(appctx.ContextGetClean(ctx), fdrq) if err != nil { log.Error().Err(err).Str("func", "List").Str("path", dpath).Str("err", err.Error()).Msg("grpc response") @@ -1238,6 +1253,11 @@ func (c *Client) Read(ctx context.Context, auth eosclient.Authorization, path st var localfile io.WriteCloser localfile = nil + u, err := getUser(ctx) + if err != nil { + return nil, errors.Wrap(err, "eos: no user in ctx") + } + if c.opt.ReadUsesLocalTemp { rand := "eosread-" + uuid.New().String() localTarget := fmt.Sprintf("%s/%s", c.opt.CacheDirectory, rand) @@ -1251,7 +1271,7 @@ func (c *Client) Read(ctx context.Context, auth eosclient.Authorization, path st } } - bodystream, err := c.httpcl.GETFile(ctx, "", auth, path, localfile) + bodystream, err := c.httpcl.GETFile(ctx, u.Username, auth, path, localfile) if err != nil { log.Error().Str("func", "Read").Str("path", path).Str("uid,gid", auth.Role.UID+","+auth.Role.GID).Str("err", err.Error()).Msg("") return nil, errtypes.InternalError(fmt.Sprintf("can't GET local cache file '%s'", localTarget)) @@ -1269,6 +1289,11 @@ func (c *Client) Write(ctx context.Context, auth eosclient.Authorization, path s var length int64 length = -1 + u, err := getUser(ctx) + if err != nil { + return errors.Wrap(err, "eos: no user in ctx") + } + if c.opt.WriteUsesLocalTemp { fd, err := os.CreateTemp(c.opt.CacheDirectory, "eoswrite-") if err != nil { @@ -1291,10 +1316,10 @@ func (c *Client) Write(ctx context.Context, auth eosclient.Authorization, path s defer wfd.Close() defer os.RemoveAll(fd.Name()) - return c.httpcl.PUTFile(ctx, "", auth, path, wfd, length) + return c.httpcl.PUTFile(ctx, u.Username, auth, path, wfd, length) } - return c.httpcl.PUTFile(ctx, "", auth, path, stream, length) + return c.httpcl.PUTFile(ctx, u.Username, auth, path, stream, length) // return c.httpcl.PUTFile(ctx, remoteuser, auth, urlpathng, stream) // return c.WriteFile(ctx, uid, gid, path, fd.Name()) @@ -1328,7 +1353,7 @@ func (c *Client) ListDeletedEntries(ctx context.Context, auth eosclient.Authoriz rq.Command = &erpc.NSRequest_Recycle{Recycle: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(context.Background(), rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("err", e.Error()).Msg("") @@ -1389,7 +1414,7 @@ func (c *Client) RestoreDeletedEntry(ctx context.Context, auth eosclient.Authori rq.Command = &erpc.NSRequest_Recycle{Recycle: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(context.Background(), rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "RestoreDeletedEntries").Str("key", key).Str("err", e.Error()).Msg("") @@ -1425,7 +1450,7 @@ func (c *Client) PurgeDeletedEntries(ctx context.Context, auth eosclient.Authori rq.Command = &erpc.NSRequest_Recycle{Recycle: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(context.Background(), rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "PurgeDeletedEntries").Str("err", e.Error()).Msg("") @@ -1475,7 +1500,7 @@ func (c *Client) RollbackToVersion(ctx context.Context, auth eosclient.Authoriza rq.Command = &erpc.NSRequest_Version{Version: msg} // Now send the req and see what happens - resp, err := c.cl.Exec(context.Background(), rq) + resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) e := c.getRespError(resp, err) if e != nil { log.Error().Str("func", "RollbackToVersion").Str("err", e.Error()).Msg("") @@ -1555,7 +1580,7 @@ func (c *Client) grpcMDResponseToFileInfo(st *erpc.MDResponse) (*eosclient.FileI if st.Type == erpc.TYPE_CONTAINER { fi.IsDir = true - fi.Inode = st.Fmd.Inode + fi.Inode = st.Cmd.Inode fi.FID = st.Cmd.ParentId fi.UID = st.Cmd.Uid fi.GID = st.Cmd.Gid diff --git a/pkg/eosclient/eosgrpc/eoshttp.go b/pkg/eosclient/eosgrpc/eoshttp.go index 8e5e2f2b62b..3be7e2a4323 100644 --- a/pkg/eosclient/eosgrpc/eoshttp.go +++ b/pkg/eosclient/eosgrpc/eoshttp.go @@ -76,6 +76,9 @@ type HTTPOptions struct { // of course /etc/grid-security/certificates is NOT in those defaults! ClientCADirs string ClientCAFiles string + + // Authkey is the key that authorizes this client to connect to the EOS HTTP service + Authkey string } // Init fills the basic fields. @@ -195,6 +198,17 @@ func rspdesc(rsp *http.Response) string { return desc } +func (c *EOSHTTPClient) doReq(req *http.Request, remoteuser string) (*http.Response, error) { + // Here we put the headers that are required by EOS >= 5 + req.Header.Set("x-gateway-authorization", c.opt.Authkey) + req.Header.Set("x-forwarded-for", "dummy") + req.Header.Set("remote-user", remoteuser) + + resp, err := c.cl.Do(req) + + return resp, err +} + // If the error is not nil, take that // If there is an error coming from EOS, erturn a descriptive error. func (c *EOSHTTPClient) getRespError(rsp *http.Response, err error) error { @@ -280,12 +294,13 @@ func (c *EOSHTTPClient) GETFile(ctx context.Context, remoteuser string, auth eos // Execute the request. I don't like that there is no explicit timeout or buffer control on the input stream log.Debug().Str("func", "GETFile").Msg("sending req") - resp, err := c.cl.Do(req) + + resp, err := c.doReq(req, remoteuser) // Let's support redirections... and if we retry we have to retry at the same FST, avoid going back to the MGM if resp != nil && (resp.StatusCode == http.StatusFound || resp.StatusCode == http.StatusTemporaryRedirect) { // io.Copy(ioutil.Discard, resp.Body) - // resp.Body.Close() + resp.Body.Close() loc, err := resp.Location() if err != nil { @@ -311,6 +326,8 @@ func (c *EOSHTTPClient) GETFile(ctx context.Context, remoteuser string, auth eos // And get an error code (if error) that is worth propagating e := c.getRespError(resp, err) if e != nil { + resp.Body.Close() + if os.IsTimeout(e) { ntries++ log.Warn().Str("func", "GETFile").Str("url", finalurl).Str("err", e.Error()).Int("try", ntries).Msg("recoverable network timeout") @@ -371,12 +388,15 @@ func (c *EOSHTTPClient) PUTFile(ctx context.Context, remoteuser string, auth eos // Execute the request. I don't like that there is no explicit timeout or buffer control on the input stream log.Debug().Str("func", "PUTFile").Msg("sending req") - resp, err := c.cl.Do(req) + + resp, err := c.doReq(req, remoteuser) + if resp != nil { + resp.Body.Close() + } // Let's support redirections... and if we retry we retry at the same FST if resp != nil && resp.StatusCode == 307 { // io.Copy(ioutil.Discard, resp.Body) - // resp.Body.Close() loc, err := resp.Location() if err != nil { @@ -458,7 +478,8 @@ func (c *EOSHTTPClient) Head(ctx context.Context, remoteuser string, auth eoscli return errtypes.InternalError("Timeout with url" + finalurl) } // Execute the request. I don't like that there is no explicit timeout or buffer control on the input stream - resp, err := c.cl.Do(req) + + resp, err := c.doReq(req, remoteuser) // And get an error code (if error) that is worth propagating e := c.getRespError(resp, err) diff --git a/pkg/storage/utils/eosfs/config.go b/pkg/storage/utils/eosfs/config.go index aab48a5b650..f176dd9d31d 100644 --- a/pkg/storage/utils/eosfs/config.go +++ b/pkg/storage/utils/eosfs/config.go @@ -104,10 +104,12 @@ type Config struct { // GatewaySvc stores the endpoint at which the GRPC gateway is exposed. GatewaySvc string `mapstructure:"gatewaysvc"` - // GRPCAuthkey is the key that authorizes this client to connect to the GRPC service - // It's unclear whether this will be the final solution + // GRPCAuthkey is the key that authorizes this client to connect to the EOS GRPC service GRPCAuthkey string `mapstructure:"grpc_auth_key"` + // HTTPSAuthkey is the key that authorizes this client to connect to the EOS HTTPS service + HTTPSAuthkey string `mapstructure:"https_auth_key"` + // URI of the EOS MGM grpc server // Default is empty GrpcURI string `mapstructure:"master_grpc_uri"` diff --git a/pkg/storage/utils/eosfs/eosfs.go b/pkg/storage/utils/eosfs/eosfs.go index 6b1a4535441..dc1693591ed 100644 --- a/pkg/storage/utils/eosfs/eosfs.go +++ b/pkg/storage/utils/eosfs/eosfs.go @@ -198,6 +198,7 @@ func NewEOSFS(ctx context.Context, c *Config) (storage.FS, error) { ClientKeyFile: c.ClientKeyFile, ClientCADirs: c.ClientCADirs, ClientCAFiles: c.ClientCAFiles, + Authkey: c.HTTPSAuthkey, } eosClient, err = eosgrpc.New(eosClientOpts, eosHTTPOpts) } else { diff --git a/revad b/revad new file mode 100755 index 00000000000..bb671282f5d Binary files /dev/null and b/revad differ