refactor: centralize protobuf and remove go-zero
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.8
|
||||
// protoc (unknown)
|
||||
// source: disk.proto
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v7.35.0
|
||||
// source: module/base/cloud/proto/disk.proto
|
||||
|
||||
package cloud
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -34,7 +35,7 @@ type CreateDirRequest struct {
|
||||
|
||||
func (x *CreateDirRequest) Reset() {
|
||||
*x = CreateDirRequest{}
|
||||
mi := &file_disk_proto_msgTypes[0]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -46,7 +47,7 @@ func (x *CreateDirRequest) String() string {
|
||||
func (*CreateDirRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreateDirRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_disk_proto_msgTypes[0]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -59,7 +60,7 @@ func (x *CreateDirRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreateDirRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreateDirRequest) Descriptor() ([]byte, []int) {
|
||||
return file_disk_proto_rawDescGZIP(), []int{0}
|
||||
return file_module_base_cloud_proto_disk_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *CreateDirRequest) GetCloudId() uint64 {
|
||||
@@ -108,7 +109,7 @@ type ListDirsResponse struct {
|
||||
|
||||
func (x *ListDirsResponse) Reset() {
|
||||
*x = ListDirsResponse{}
|
||||
mi := &file_disk_proto_msgTypes[1]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -120,7 +121,7 @@ func (x *ListDirsResponse) String() string {
|
||||
func (*ListDirsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListDirsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_disk_proto_msgTypes[1]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -133,7 +134,7 @@ func (x *ListDirsResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListDirsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListDirsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_disk_proto_rawDescGZIP(), []int{1}
|
||||
return file_module_base_cloud_proto_disk_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *ListDirsResponse) GetDirs() []*CloudDiskDirItem {
|
||||
@@ -170,7 +171,7 @@ type CloudDiskDirItem struct {
|
||||
|
||||
func (x *CloudDiskDirItem) Reset() {
|
||||
*x = CloudDiskDirItem{}
|
||||
mi := &file_disk_proto_msgTypes[2]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -182,7 +183,7 @@ func (x *CloudDiskDirItem) String() string {
|
||||
func (*CloudDiskDirItem) ProtoMessage() {}
|
||||
|
||||
func (x *CloudDiskDirItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_disk_proto_msgTypes[2]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -195,7 +196,7 @@ func (x *CloudDiskDirItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CloudDiskDirItem.ProtoReflect.Descriptor instead.
|
||||
func (*CloudDiskDirItem) Descriptor() ([]byte, []int) {
|
||||
return file_disk_proto_rawDescGZIP(), []int{2}
|
||||
return file_module_base_cloud_proto_disk_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *CloudDiskDirItem) GetId() uint64 {
|
||||
@@ -278,7 +279,7 @@ type MoveDirRequest struct {
|
||||
|
||||
func (x *MoveDirRequest) Reset() {
|
||||
*x = MoveDirRequest{}
|
||||
mi := &file_disk_proto_msgTypes[3]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -290,7 +291,7 @@ func (x *MoveDirRequest) String() string {
|
||||
func (*MoveDirRequest) ProtoMessage() {}
|
||||
|
||||
func (x *MoveDirRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_disk_proto_msgTypes[3]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -303,7 +304,7 @@ func (x *MoveDirRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use MoveDirRequest.ProtoReflect.Descriptor instead.
|
||||
func (*MoveDirRequest) Descriptor() ([]byte, []int) {
|
||||
return file_disk_proto_rawDescGZIP(), []int{3}
|
||||
return file_module_base_cloud_proto_disk_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *MoveDirRequest) GetId() uint64 {
|
||||
@@ -330,7 +331,7 @@ type ListFilesResponse struct {
|
||||
|
||||
func (x *ListFilesResponse) Reset() {
|
||||
*x = ListFilesResponse{}
|
||||
mi := &file_disk_proto_msgTypes[4]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -342,7 +343,7 @@ func (x *ListFilesResponse) String() string {
|
||||
func (*ListFilesResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_disk_proto_msgTypes[4]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -355,7 +356,7 @@ func (x *ListFilesResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListFilesResponse) Descriptor() ([]byte, []int) {
|
||||
return file_disk_proto_rawDescGZIP(), []int{4}
|
||||
return file_module_base_cloud_proto_disk_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *ListFilesResponse) GetFiles() []*CloudDiskFileItem {
|
||||
@@ -382,7 +383,7 @@ type MoveFileRequest struct {
|
||||
|
||||
func (x *MoveFileRequest) Reset() {
|
||||
*x = MoveFileRequest{}
|
||||
mi := &file_disk_proto_msgTypes[5]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -394,7 +395,7 @@ func (x *MoveFileRequest) String() string {
|
||||
func (*MoveFileRequest) ProtoMessage() {}
|
||||
|
||||
func (x *MoveFileRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_disk_proto_msgTypes[5]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -407,7 +408,7 @@ func (x *MoveFileRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use MoveFileRequest.ProtoReflect.Descriptor instead.
|
||||
func (*MoveFileRequest) Descriptor() ([]byte, []int) {
|
||||
return file_disk_proto_rawDescGZIP(), []int{5}
|
||||
return file_module_base_cloud_proto_disk_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *MoveFileRequest) GetId() uint64 {
|
||||
@@ -435,7 +436,7 @@ type CopyFileRequest struct {
|
||||
|
||||
func (x *CopyFileRequest) Reset() {
|
||||
*x = CopyFileRequest{}
|
||||
mi := &file_disk_proto_msgTypes[6]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -447,7 +448,7 @@ func (x *CopyFileRequest) String() string {
|
||||
func (*CopyFileRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CopyFileRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_disk_proto_msgTypes[6]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -460,7 +461,7 @@ func (x *CopyFileRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CopyFileRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CopyFileRequest) Descriptor() ([]byte, []int) {
|
||||
return file_disk_proto_rawDescGZIP(), []int{6}
|
||||
return file_module_base_cloud_proto_disk_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *CopyFileRequest) GetId() uint64 {
|
||||
@@ -501,7 +502,7 @@ type CloudDiskFileRequest struct {
|
||||
|
||||
func (x *CloudDiskFileRequest) Reset() {
|
||||
*x = CloudDiskFileRequest{}
|
||||
mi := &file_disk_proto_msgTypes[7]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -513,7 +514,7 @@ func (x *CloudDiskFileRequest) String() string {
|
||||
func (*CloudDiskFileRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CloudDiskFileRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_disk_proto_msgTypes[7]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -526,7 +527,7 @@ func (x *CloudDiskFileRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CloudDiskFileRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CloudDiskFileRequest) Descriptor() ([]byte, []int) {
|
||||
return file_disk_proto_rawDescGZIP(), []int{7}
|
||||
return file_module_base_cloud_proto_disk_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *CloudDiskFileRequest) GetCloudId() uint64 {
|
||||
@@ -614,7 +615,7 @@ type CloudDiskFileItem struct {
|
||||
|
||||
func (x *CloudDiskFileItem) Reset() {
|
||||
*x = CloudDiskFileItem{}
|
||||
mi := &file_disk_proto_msgTypes[8]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -626,7 +627,7 @@ func (x *CloudDiskFileItem) String() string {
|
||||
func (*CloudDiskFileItem) ProtoMessage() {}
|
||||
|
||||
func (x *CloudDiskFileItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_disk_proto_msgTypes[8]
|
||||
mi := &file_module_base_cloud_proto_disk_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -639,7 +640,7 @@ func (x *CloudDiskFileItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CloudDiskFileItem.ProtoReflect.Descriptor instead.
|
||||
func (*CloudDiskFileItem) Descriptor() ([]byte, []int) {
|
||||
return file_disk_proto_rawDescGZIP(), []int{8}
|
||||
return file_module_base_cloud_proto_disk_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *CloudDiskFileItem) GetId() uint64 {
|
||||
@@ -726,12 +727,11 @@ func (x *CloudDiskFileItem) GetDirectory() *CloudDiskDirItem {
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_disk_proto protoreflect.FileDescriptor
|
||||
var File_module_base_cloud_proto_disk_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_disk_proto_rawDesc = "" +
|
||||
const file_module_base_cloud_proto_disk_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x15" +
|
||||
"base/cloud/disk.proto\x12\x05cloud\x1a\x12cloud/blocks.proto\"\x99\x01\n" +
|
||||
"\"module/base/cloud/proto/disk.proto\x12\x05cloud\x1a\x15protobuf/blocks.proto\"\x99\x01\n" +
|
||||
"\x10CreateDirRequest\x12\x19\n" +
|
||||
"\bcloud_id\x18\x01 \x01(\x04R\acloudId\x12%\n" +
|
||||
"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\x12\x1b\n" +
|
||||
@@ -793,56 +793,56 @@ const file_disk_proto_rawDesc = "" +
|
||||
" \x01(\tR\tcreatedAt\x12\x1d\n" +
|
||||
"\n" +
|
||||
"updated_at\x18\v \x01(\tR\tupdatedAt\x125\n" +
|
||||
"\tdirectory\x18\f \x01(\v2\x17.cloud.CloudDiskDirItemR\tdirectory2\xea\x06\n" +
|
||||
"\x04Disk\x128\n" +
|
||||
"\tCreateDir\x12\x17.cloud.CreateDirRequest\x1a\x12.cloud.StatusReply\x126\n" +
|
||||
"\x06GetDir\x12\x13.cloud.IdentRequest\x1a\x17.cloud.CloudDiskDirItem\x128\n" +
|
||||
"\tUpdateDir\x12\x17.cloud.CloudDiskDirItem\x1a\x12.cloud.StatusReply\x124\n" +
|
||||
"\tDeleteDir\x12\x13.cloud.IdentRequest\x1a\x12.cloud.StatusReply\x128\n" +
|
||||
"\bListDirs\x12\x13.cloud.FetchRequest\x1a\x17.cloud.ListDirsResponse\x12:\n" +
|
||||
"\tdirectory\x18\f \x01(\v2\x17.cloud.CloudDiskDirItemR\tdirectory2\xfb\x06\n" +
|
||||
"\x04Disk\x129\n" +
|
||||
"\tCreateDir\x12\x17.cloud.CreateDirRequest\x1a\x13.blocks.StatusReply\x127\n" +
|
||||
"\x06GetDir\x12\x14.blocks.IdentRequest\x1a\x17.cloud.CloudDiskDirItem\x129\n" +
|
||||
"\tUpdateDir\x12\x17.cloud.CloudDiskDirItem\x1a\x13.blocks.StatusReply\x126\n" +
|
||||
"\tDeleteDir\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\x129\n" +
|
||||
"\bListDirs\x12\x14.blocks.FetchRequest\x1a\x17.cloud.ListDirsResponse\x12;\n" +
|
||||
"\n" +
|
||||
"GetDirTree\x12\x13.cloud.IdentRequest\x1a\x17.cloud.CloudDiskDirItem\x124\n" +
|
||||
"\aMoveDir\x12\x15.cloud.MoveDirRequest\x1a\x12.cloud.StatusReply\x12=\n" +
|
||||
"GetDirTree\x12\x14.blocks.IdentRequest\x1a\x17.cloud.CloudDiskDirItem\x125\n" +
|
||||
"\aMoveDir\x12\x15.cloud.MoveDirRequest\x1a\x13.blocks.StatusReply\x12>\n" +
|
||||
"\n" +
|
||||
"UploadFile\x12\x1b.cloud.CloudDiskFileRequest\x1a\x12.cloud.StatusReply\x128\n" +
|
||||
"\aGetFile\x12\x13.cloud.IdentRequest\x1a\x18.cloud.CloudDiskFileItem\x12:\n" +
|
||||
"UploadFile\x12\x1b.cloud.CloudDiskFileRequest\x1a\x13.blocks.StatusReply\x129\n" +
|
||||
"\aGetFile\x12\x14.blocks.IdentRequest\x1a\x18.cloud.CloudDiskFileItem\x12;\n" +
|
||||
"\n" +
|
||||
"UpdateFile\x12\x18.cloud.CloudDiskFileItem\x1a\x12.cloud.StatusReply\x125\n" +
|
||||
"UpdateFile\x12\x18.cloud.CloudDiskFileItem\x1a\x13.blocks.StatusReply\x127\n" +
|
||||
"\n" +
|
||||
"DeleteFile\x12\x13.cloud.IdentRequest\x1a\x12.cloud.StatusReply\x12:\n" +
|
||||
"\tListFiles\x12\x13.cloud.FetchRequest\x1a\x18.cloud.ListFilesResponse\x126\n" +
|
||||
"\bMoveFile\x12\x16.cloud.MoveFileRequest\x1a\x12.cloud.StatusReply\x126\n" +
|
||||
"\bCopyFile\x12\x16.cloud.CopyFileRequest\x1a\x12.cloud.StatusReply\x12<\n" +
|
||||
"\vSearchFiles\x12\x13.cloud.FetchRequest\x1a\x18.cloud.ListFilesResponseB\tZ\a.;cloudb\x06proto3"
|
||||
"DeleteFile\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\x12;\n" +
|
||||
"\tListFiles\x12\x14.blocks.FetchRequest\x1a\x18.cloud.ListFilesResponse\x127\n" +
|
||||
"\bMoveFile\x12\x16.cloud.MoveFileRequest\x1a\x13.blocks.StatusReply\x127\n" +
|
||||
"\bCopyFile\x12\x16.cloud.CopyFileRequest\x1a\x13.blocks.StatusReply\x12=\n" +
|
||||
"\vSearchFiles\x12\x14.blocks.FetchRequest\x1a\x18.cloud.ListFilesResponseB%Z#bsm/full/module/base/cloud/pb;cloudb\x06proto3"
|
||||
|
||||
var (
|
||||
file_disk_proto_rawDescOnce sync.Once
|
||||
file_disk_proto_rawDescData []byte
|
||||
file_module_base_cloud_proto_disk_proto_rawDescOnce sync.Once
|
||||
file_module_base_cloud_proto_disk_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_disk_proto_rawDescGZIP() []byte {
|
||||
file_disk_proto_rawDescOnce.Do(func() {
|
||||
file_disk_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_disk_proto_rawDesc), len(file_disk_proto_rawDesc)))
|
||||
func file_module_base_cloud_proto_disk_proto_rawDescGZIP() []byte {
|
||||
file_module_base_cloud_proto_disk_proto_rawDescOnce.Do(func() {
|
||||
file_module_base_cloud_proto_disk_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_base_cloud_proto_disk_proto_rawDesc), len(file_module_base_cloud_proto_disk_proto_rawDesc)))
|
||||
})
|
||||
return file_disk_proto_rawDescData
|
||||
return file_module_base_cloud_proto_disk_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_disk_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||||
var file_disk_proto_goTypes = []any{
|
||||
(*CreateDirRequest)(nil), // 0: cloud.CreateDirRequest
|
||||
(*ListDirsResponse)(nil), // 1: cloud.ListDirsResponse
|
||||
(*CloudDiskDirItem)(nil), // 2: cloud.CloudDiskDirItem
|
||||
(*MoveDirRequest)(nil), // 3: cloud.MoveDirRequest
|
||||
(*ListFilesResponse)(nil), // 4: cloud.ListFilesResponse
|
||||
(*MoveFileRequest)(nil), // 5: cloud.MoveFileRequest
|
||||
(*CopyFileRequest)(nil), // 6: cloud.CopyFileRequest
|
||||
(*CloudDiskFileRequest)(nil), // 7: cloud.CloudDiskFileRequest
|
||||
(*CloudDiskFileItem)(nil), // 8: cloud.CloudDiskFileItem
|
||||
(*IdentRequest)(nil), // 9: cloud.IdentRequest
|
||||
(*FetchRequest)(nil), // 10: cloud.FetchRequest
|
||||
(*StatusReply)(nil), // 11: cloud.StatusReply
|
||||
var file_module_base_cloud_proto_disk_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||||
var file_module_base_cloud_proto_disk_proto_goTypes = []any{
|
||||
(*CreateDirRequest)(nil), // 0: cloud.CreateDirRequest
|
||||
(*ListDirsResponse)(nil), // 1: cloud.ListDirsResponse
|
||||
(*CloudDiskDirItem)(nil), // 2: cloud.CloudDiskDirItem
|
||||
(*MoveDirRequest)(nil), // 3: cloud.MoveDirRequest
|
||||
(*ListFilesResponse)(nil), // 4: cloud.ListFilesResponse
|
||||
(*MoveFileRequest)(nil), // 5: cloud.MoveFileRequest
|
||||
(*CopyFileRequest)(nil), // 6: cloud.CopyFileRequest
|
||||
(*CloudDiskFileRequest)(nil), // 7: cloud.CloudDiskFileRequest
|
||||
(*CloudDiskFileItem)(nil), // 8: cloud.CloudDiskFileItem
|
||||
(*protobuf.IdentRequest)(nil), // 9: blocks.IdentRequest
|
||||
(*protobuf.FetchRequest)(nil), // 10: blocks.FetchRequest
|
||||
(*protobuf.StatusReply)(nil), // 11: blocks.StatusReply
|
||||
}
|
||||
var file_disk_proto_depIdxs = []int32{
|
||||
var file_module_base_cloud_proto_disk_proto_depIdxs = []int32{
|
||||
2, // 0: cloud.ListDirsResponse.dirs:type_name -> cloud.CloudDiskDirItem
|
||||
2, // 1: cloud.CloudDiskDirItem.parent:type_name -> cloud.CloudDiskDirItem
|
||||
2, // 2: cloud.CloudDiskDirItem.subdirectories:type_name -> cloud.CloudDiskDirItem
|
||||
@@ -850,34 +850,34 @@ var file_disk_proto_depIdxs = []int32{
|
||||
8, // 4: cloud.ListFilesResponse.files:type_name -> cloud.CloudDiskFileItem
|
||||
2, // 5: cloud.CloudDiskFileItem.directory:type_name -> cloud.CloudDiskDirItem
|
||||
0, // 6: cloud.Disk.CreateDir:input_type -> cloud.CreateDirRequest
|
||||
9, // 7: cloud.Disk.GetDir:input_type -> cloud.IdentRequest
|
||||
9, // 7: cloud.Disk.GetDir:input_type -> blocks.IdentRequest
|
||||
2, // 8: cloud.Disk.UpdateDir:input_type -> cloud.CloudDiskDirItem
|
||||
9, // 9: cloud.Disk.DeleteDir:input_type -> cloud.IdentRequest
|
||||
10, // 10: cloud.Disk.ListDirs:input_type -> cloud.FetchRequest
|
||||
9, // 11: cloud.Disk.GetDirTree:input_type -> cloud.IdentRequest
|
||||
9, // 9: cloud.Disk.DeleteDir:input_type -> blocks.IdentRequest
|
||||
10, // 10: cloud.Disk.ListDirs:input_type -> blocks.FetchRequest
|
||||
9, // 11: cloud.Disk.GetDirTree:input_type -> blocks.IdentRequest
|
||||
3, // 12: cloud.Disk.MoveDir:input_type -> cloud.MoveDirRequest
|
||||
7, // 13: cloud.Disk.UploadFile:input_type -> cloud.CloudDiskFileRequest
|
||||
9, // 14: cloud.Disk.GetFile:input_type -> cloud.IdentRequest
|
||||
9, // 14: cloud.Disk.GetFile:input_type -> blocks.IdentRequest
|
||||
8, // 15: cloud.Disk.UpdateFile:input_type -> cloud.CloudDiskFileItem
|
||||
9, // 16: cloud.Disk.DeleteFile:input_type -> cloud.IdentRequest
|
||||
10, // 17: cloud.Disk.ListFiles:input_type -> cloud.FetchRequest
|
||||
9, // 16: cloud.Disk.DeleteFile:input_type -> blocks.IdentRequest
|
||||
10, // 17: cloud.Disk.ListFiles:input_type -> blocks.FetchRequest
|
||||
5, // 18: cloud.Disk.MoveFile:input_type -> cloud.MoveFileRequest
|
||||
6, // 19: cloud.Disk.CopyFile:input_type -> cloud.CopyFileRequest
|
||||
10, // 20: cloud.Disk.SearchFiles:input_type -> cloud.FetchRequest
|
||||
11, // 21: cloud.Disk.CreateDir:output_type -> cloud.StatusReply
|
||||
10, // 20: cloud.Disk.SearchFiles:input_type -> blocks.FetchRequest
|
||||
11, // 21: cloud.Disk.CreateDir:output_type -> blocks.StatusReply
|
||||
2, // 22: cloud.Disk.GetDir:output_type -> cloud.CloudDiskDirItem
|
||||
11, // 23: cloud.Disk.UpdateDir:output_type -> cloud.StatusReply
|
||||
11, // 24: cloud.Disk.DeleteDir:output_type -> cloud.StatusReply
|
||||
11, // 23: cloud.Disk.UpdateDir:output_type -> blocks.StatusReply
|
||||
11, // 24: cloud.Disk.DeleteDir:output_type -> blocks.StatusReply
|
||||
1, // 25: cloud.Disk.ListDirs:output_type -> cloud.ListDirsResponse
|
||||
2, // 26: cloud.Disk.GetDirTree:output_type -> cloud.CloudDiskDirItem
|
||||
11, // 27: cloud.Disk.MoveDir:output_type -> cloud.StatusReply
|
||||
11, // 28: cloud.Disk.UploadFile:output_type -> cloud.StatusReply
|
||||
11, // 27: cloud.Disk.MoveDir:output_type -> blocks.StatusReply
|
||||
11, // 28: cloud.Disk.UploadFile:output_type -> blocks.StatusReply
|
||||
8, // 29: cloud.Disk.GetFile:output_type -> cloud.CloudDiskFileItem
|
||||
11, // 30: cloud.Disk.UpdateFile:output_type -> cloud.StatusReply
|
||||
11, // 31: cloud.Disk.DeleteFile:output_type -> cloud.StatusReply
|
||||
11, // 30: cloud.Disk.UpdateFile:output_type -> blocks.StatusReply
|
||||
11, // 31: cloud.Disk.DeleteFile:output_type -> blocks.StatusReply
|
||||
4, // 32: cloud.Disk.ListFiles:output_type -> cloud.ListFilesResponse
|
||||
11, // 33: cloud.Disk.MoveFile:output_type -> cloud.StatusReply
|
||||
11, // 34: cloud.Disk.CopyFile:output_type -> cloud.StatusReply
|
||||
11, // 33: cloud.Disk.MoveFile:output_type -> blocks.StatusReply
|
||||
11, // 34: cloud.Disk.CopyFile:output_type -> blocks.StatusReply
|
||||
4, // 35: cloud.Disk.SearchFiles:output_type -> cloud.ListFilesResponse
|
||||
21, // [21:36] is the sub-list for method output_type
|
||||
6, // [6:21] is the sub-list for method input_type
|
||||
@@ -886,27 +886,26 @@ var file_disk_proto_depIdxs = []int32{
|
||||
0, // [0:6] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_disk_proto_init() }
|
||||
func file_disk_proto_init() {
|
||||
if File_disk_proto != nil {
|
||||
func init() { file_module_base_cloud_proto_disk_proto_init() }
|
||||
func file_module_base_cloud_proto_disk_proto_init() {
|
||||
if File_module_base_cloud_proto_disk_proto != nil {
|
||||
return
|
||||
}
|
||||
file_blocks_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_disk_proto_rawDesc), len(file_disk_proto_rawDesc)),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_base_cloud_proto_disk_proto_rawDesc), len(file_module_base_cloud_proto_disk_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 9,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_disk_proto_goTypes,
|
||||
DependencyIndexes: file_disk_proto_depIdxs,
|
||||
MessageInfos: file_disk_proto_msgTypes,
|
||||
GoTypes: file_module_base_cloud_proto_disk_proto_goTypes,
|
||||
DependencyIndexes: file_module_base_cloud_proto_disk_proto_depIdxs,
|
||||
MessageInfos: file_module_base_cloud_proto_disk_proto_msgTypes,
|
||||
}.Build()
|
||||
File_disk_proto = out.File
|
||||
file_disk_proto_goTypes = nil
|
||||
file_disk_proto_depIdxs = nil
|
||||
File_module_base_cloud_proto_disk_proto = out.File
|
||||
file_module_base_cloud_proto_disk_proto_goTypes = nil
|
||||
file_module_base_cloud_proto_disk_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user