// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v7.35.1
// source: module/base/cloud/proto/space.proto

package cloud

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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)
)

// 系统统计和配置模型
type CloudSpace struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Identity      string                 `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	TotalStorage  int64                  `protobuf:"varint,3,opt,name=total_storage,json=totalStorage,proto3" json:"total_storage,omitempty"`     // 总存储空间
	UsedStorage   int64                  `protobuf:"varint,4,opt,name=used_storage,json=usedStorage,proto3" json:"used_storage,omitempty"`        // 已用存储空间
	MaxStorage    int64                  `protobuf:"varint,5,opt,name=max_storage,json=maxStorage,proto3" json:"max_storage,omitempty"`           // 最大存储空间
	FileCount     int32                  `protobuf:"varint,6,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`              // 文件数量
	AlbumCount    int32                  `protobuf:"varint,7,opt,name=album_count,json=albumCount,proto3" json:"album_count,omitempty"`           // 相册数量
	PhotoCount    int32                  `protobuf:"varint,8,opt,name=photo_count,json=photoCount,proto3" json:"photo_count,omitempty"`           // 照片数量
	NoteCount     int32                  `protobuf:"varint,9,opt,name=note_count,json=noteCount,proto3" json:"note_count,omitempty"`              // 笔记数量
	BookmarkCount int32                  `protobuf:"varint,10,opt,name=bookmark_count,json=bookmarkCount,proto3" json:"bookmark_count,omitempty"` // 书签数量
	PrivateCount  int32                  `protobuf:"varint,11,opt,name=private_count,json=privateCount,proto3" json:"private_count,omitempty"`    // 私有数量
	CreatedAt     string                 `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     string                 `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// 关联关系
	CloudDiskDirs  []*CloudDiskDirItem  `protobuf:"bytes,14,rep,name=cloud_disk_dirs,json=cloudDiskDirs,proto3" json:"cloud_disk_dirs,omitempty"`  // 关联云盘目录
	CloudAlbums    []*CloudAlbumItem    `protobuf:"bytes,15,rep,name=cloud_albums,json=cloudAlbums,proto3" json:"cloud_albums,omitempty"`          // 关联相册
	CloudNotes     []*CloudNoteItem     `protobuf:"bytes,16,rep,name=cloud_notes,json=cloudNotes,proto3" json:"cloud_notes,omitempty"`             // 关联笔记
	CloudBookmarks []*CloudBookmarkItem `protobuf:"bytes,17,rep,name=cloud_bookmarks,json=cloudBookmarks,proto3" json:"cloud_bookmarks,omitempty"` // 关联书签
	CloudPrivate   []*CloudPrivateItem  `protobuf:"bytes,18,rep,name=cloud_private,json=cloudPrivate,proto3" json:"cloud_private,omitempty"`       // 关联私有数据
	CloudShares    []*CloudShareItem    `protobuf:"bytes,19,rep,name=cloud_shares,json=cloudShares,proto3" json:"cloud_shares,omitempty"`          // 关联分享
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *CloudSpace) Reset() {
	*x = CloudSpace{}
	mi := &file_module_base_cloud_proto_space_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CloudSpace) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CloudSpace) ProtoMessage() {}

func (x *CloudSpace) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_cloud_proto_space_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CloudSpace.ProtoReflect.Descriptor instead.
func (*CloudSpace) Descriptor() ([]byte, []int) {
	return file_module_base_cloud_proto_space_proto_rawDescGZIP(), []int{0}
}

func (x *CloudSpace) GetId() uint64 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *CloudSpace) GetIdentity() string {
	if x != nil {
		return x.Identity
	}
	return ""
}

func (x *CloudSpace) GetTotalStorage() int64 {
	if x != nil {
		return x.TotalStorage
	}
	return 0
}

func (x *CloudSpace) GetUsedStorage() int64 {
	if x != nil {
		return x.UsedStorage
	}
	return 0
}

func (x *CloudSpace) GetMaxStorage() int64 {
	if x != nil {
		return x.MaxStorage
	}
	return 0
}

func (x *CloudSpace) GetFileCount() int32 {
	if x != nil {
		return x.FileCount
	}
	return 0
}

func (x *CloudSpace) GetAlbumCount() int32 {
	if x != nil {
		return x.AlbumCount
	}
	return 0
}

func (x *CloudSpace) GetPhotoCount() int32 {
	if x != nil {
		return x.PhotoCount
	}
	return 0
}

func (x *CloudSpace) GetNoteCount() int32 {
	if x != nil {
		return x.NoteCount
	}
	return 0
}

func (x *CloudSpace) GetBookmarkCount() int32 {
	if x != nil {
		return x.BookmarkCount
	}
	return 0
}

func (x *CloudSpace) GetPrivateCount() int32 {
	if x != nil {
		return x.PrivateCount
	}
	return 0
}

func (x *CloudSpace) GetCreatedAt() string {
	if x != nil {
		return x.CreatedAt
	}
	return ""
}

func (x *CloudSpace) GetUpdatedAt() string {
	if x != nil {
		return x.UpdatedAt
	}
	return ""
}

func (x *CloudSpace) GetCloudDiskDirs() []*CloudDiskDirItem {
	if x != nil {
		return x.CloudDiskDirs
	}
	return nil
}

func (x *CloudSpace) GetCloudAlbums() []*CloudAlbumItem {
	if x != nil {
		return x.CloudAlbums
	}
	return nil
}

func (x *CloudSpace) GetCloudNotes() []*CloudNoteItem {
	if x != nil {
		return x.CloudNotes
	}
	return nil
}

func (x *CloudSpace) GetCloudBookmarks() []*CloudBookmarkItem {
	if x != nil {
		return x.CloudBookmarks
	}
	return nil
}

func (x *CloudSpace) GetCloudPrivate() []*CloudPrivateItem {
	if x != nil {
		return x.CloudPrivate
	}
	return nil
}

func (x *CloudSpace) GetCloudShares() []*CloudShareItem {
	if x != nil {
		return x.CloudShares
	}
	return nil
}

var File_module_base_cloud_proto_space_proto protoreflect.FileDescriptor

const file_module_base_cloud_proto_space_proto_rawDesc = "" +
	"\n" +
	"#module/base/cloud/proto/space.proto\x12\x05cloud\x1a#module/base/cloud/proto/const.proto\x1a\"module/base/cloud/proto/disk.proto\x1a#module/base/cloud/proto/album.proto\x1a\"module/base/cloud/proto/note.proto\x1a&module/base/cloud/proto/bookmark.proto\x1a%module/base/cloud/proto/private.proto\x1a#module/base/cloud/proto/share.proto\"\x98\x06\n" +
	"\n" +
	"CloudSpace\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n" +
	"\bidentity\x18\x02 \x01(\tR\bidentity\x12#\n" +
	"\rtotal_storage\x18\x03 \x01(\x03R\ftotalStorage\x12!\n" +
	"\fused_storage\x18\x04 \x01(\x03R\vusedStorage\x12\x1f\n" +
	"\vmax_storage\x18\x05 \x01(\x03R\n" +
	"maxStorage\x12\x1d\n" +
	"\n" +
	"file_count\x18\x06 \x01(\x05R\tfileCount\x12\x1f\n" +
	"\valbum_count\x18\a \x01(\x05R\n" +
	"albumCount\x12\x1f\n" +
	"\vphoto_count\x18\b \x01(\x05R\n" +
	"photoCount\x12\x1d\n" +
	"\n" +
	"note_count\x18\t \x01(\x05R\tnoteCount\x12%\n" +
	"\x0ebookmark_count\x18\n" +
	" \x01(\x05R\rbookmarkCount\x12#\n" +
	"\rprivate_count\x18\v \x01(\x05R\fprivateCount\x12\x1d\n" +
	"\n" +
	"created_at\x18\f \x01(\tR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"updated_at\x18\r \x01(\tR\tupdatedAt\x12?\n" +
	"\x0fcloud_disk_dirs\x18\x0e \x03(\v2\x17.cloud.CloudDiskDirItemR\rcloudDiskDirs\x128\n" +
	"\fcloud_albums\x18\x0f \x03(\v2\x15.cloud.CloudAlbumItemR\vcloudAlbums\x125\n" +
	"\vcloud_notes\x18\x10 \x03(\v2\x14.cloud.CloudNoteItemR\n" +
	"cloudNotes\x12A\n" +
	"\x0fcloud_bookmarks\x18\x11 \x03(\v2\x18.cloud.CloudBookmarkItemR\x0ecloudBookmarks\x12<\n" +
	"\rcloud_private\x18\x12 \x03(\v2\x17.cloud.CloudPrivateItemR\fcloudPrivate\x128\n" +
	"\fcloud_shares\x18\x13 \x03(\v2\x15.cloud.CloudShareItemR\vcloudShares2\x85\x01\n" +
	"\x05Space\x122\n" +
	"\x03Get\x12\x18.base_cloud_blocks.Empty\x1a\x11.cloud.CloudSpace\x12H\n" +
	"\x12GetByKeyIdentifier\x12\x1f.base_cloud_blocks.IdentRequest\x1a\x11.cloud.CloudSpaceB%Z#bsm/full/module/base/cloud/pb;cloudb\x06proto3"

var (
	file_module_base_cloud_proto_space_proto_rawDescOnce sync.Once
	file_module_base_cloud_proto_space_proto_rawDescData []byte
)

func file_module_base_cloud_proto_space_proto_rawDescGZIP() []byte {
	file_module_base_cloud_proto_space_proto_rawDescOnce.Do(func() {
		file_module_base_cloud_proto_space_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_base_cloud_proto_space_proto_rawDesc), len(file_module_base_cloud_proto_space_proto_rawDesc)))
	})
	return file_module_base_cloud_proto_space_proto_rawDescData
}

var file_module_base_cloud_proto_space_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_module_base_cloud_proto_space_proto_goTypes = []any{
	(*CloudSpace)(nil),        // 0: cloud.CloudSpace
	(*CloudDiskDirItem)(nil),  // 1: cloud.CloudDiskDirItem
	(*CloudAlbumItem)(nil),    // 2: cloud.CloudAlbumItem
	(*CloudNoteItem)(nil),     // 3: cloud.CloudNoteItem
	(*CloudBookmarkItem)(nil), // 4: cloud.CloudBookmarkItem
	(*CloudPrivateItem)(nil),  // 5: cloud.CloudPrivateItem
	(*CloudShareItem)(nil),    // 6: cloud.CloudShareItem
	(*Empty)(nil),             // 7: base_cloud_blocks.Empty
	(*IdentRequest)(nil),      // 8: base_cloud_blocks.IdentRequest
}
var file_module_base_cloud_proto_space_proto_depIdxs = []int32{
	1, // 0: cloud.CloudSpace.cloud_disk_dirs:type_name -> cloud.CloudDiskDirItem
	2, // 1: cloud.CloudSpace.cloud_albums:type_name -> cloud.CloudAlbumItem
	3, // 2: cloud.CloudSpace.cloud_notes:type_name -> cloud.CloudNoteItem
	4, // 3: cloud.CloudSpace.cloud_bookmarks:type_name -> cloud.CloudBookmarkItem
	5, // 4: cloud.CloudSpace.cloud_private:type_name -> cloud.CloudPrivateItem
	6, // 5: cloud.CloudSpace.cloud_shares:type_name -> cloud.CloudShareItem
	7, // 6: cloud.Space.Get:input_type -> base_cloud_blocks.Empty
	8, // 7: cloud.Space.GetByKeyIdentifier:input_type -> base_cloud_blocks.IdentRequest
	0, // 8: cloud.Space.Get:output_type -> cloud.CloudSpace
	0, // 9: cloud.Space.GetByKeyIdentifier:output_type -> cloud.CloudSpace
	8, // [8:10] is the sub-list for method output_type
	6, // [6:8] is the sub-list for method input_type
	6, // [6:6] is the sub-list for extension type_name
	6, // [6:6] is the sub-list for extension extendee
	0, // [0:6] is the sub-list for field type_name
}

func init() { file_module_base_cloud_proto_space_proto_init() }
func file_module_base_cloud_proto_space_proto_init() {
	if File_module_base_cloud_proto_space_proto != nil {
		return
	}
	file_module_base_cloud_proto_const_proto_init()
	file_module_base_cloud_proto_disk_proto_init()
	file_module_base_cloud_proto_album_proto_init()
	file_module_base_cloud_proto_note_proto_init()
	file_module_base_cloud_proto_bookmark_proto_init()
	file_module_base_cloud_proto_private_proto_init()
	file_module_base_cloud_proto_share_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_base_cloud_proto_space_proto_rawDesc), len(file_module_base_cloud_proto_space_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_module_base_cloud_proto_space_proto_goTypes,
		DependencyIndexes: file_module_base_cloud_proto_space_proto_depIdxs,
		MessageInfos:      file_module_base_cloud_proto_space_proto_msgTypes,
	}.Build()
	File_module_base_cloud_proto_space_proto = out.File
	file_module_base_cloud_proto_space_proto_goTypes = nil
	file_module_base_cloud_proto_space_proto_depIdxs = nil
}
