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: album.proto
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v7.35.0
|
||||
// source: module/base/cloud/proto/album.proto
|
||||
|
||||
package cloud
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -36,7 +37,7 @@ type CreateAlbumRequest struct {
|
||||
|
||||
func (x *CreateAlbumRequest) Reset() {
|
||||
*x = CreateAlbumRequest{}
|
||||
mi := &file_album_proto_msgTypes[0]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -48,7 +49,7 @@ func (x *CreateAlbumRequest) String() string {
|
||||
func (*CreateAlbumRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreateAlbumRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_album_proto_msgTypes[0]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -61,7 +62,7 @@ func (x *CreateAlbumRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreateAlbumRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreateAlbumRequest) Descriptor() ([]byte, []int) {
|
||||
return file_album_proto_rawDescGZIP(), []int{0}
|
||||
return file_module_base_cloud_proto_album_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *CreateAlbumRequest) GetCloudId() uint64 {
|
||||
@@ -116,7 +117,7 @@ type ListAlbumsResponse struct {
|
||||
|
||||
func (x *ListAlbumsResponse) Reset() {
|
||||
*x = ListAlbumsResponse{}
|
||||
mi := &file_album_proto_msgTypes[1]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -128,7 +129,7 @@ func (x *ListAlbumsResponse) String() string {
|
||||
func (*ListAlbumsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListAlbumsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_album_proto_msgTypes[1]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -141,7 +142,7 @@ func (x *ListAlbumsResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListAlbumsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListAlbumsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_album_proto_rawDescGZIP(), []int{1}
|
||||
return file_module_base_cloud_proto_album_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *ListAlbumsResponse) GetAlbums() []*CloudAlbumItem {
|
||||
@@ -168,7 +169,7 @@ type SetCoverPhotoRequest struct {
|
||||
|
||||
func (x *SetCoverPhotoRequest) Reset() {
|
||||
*x = SetCoverPhotoRequest{}
|
||||
mi := &file_album_proto_msgTypes[2]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -180,7 +181,7 @@ func (x *SetCoverPhotoRequest) String() string {
|
||||
func (*SetCoverPhotoRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SetCoverPhotoRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_album_proto_msgTypes[2]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -193,7 +194,7 @@ func (x *SetCoverPhotoRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SetCoverPhotoRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SetCoverPhotoRequest) Descriptor() ([]byte, []int) {
|
||||
return file_album_proto_rawDescGZIP(), []int{2}
|
||||
return file_module_base_cloud_proto_album_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *SetCoverPhotoRequest) GetAlbumId() uint64 {
|
||||
@@ -229,7 +230,7 @@ type CloudAlbumItem struct {
|
||||
|
||||
func (x *CloudAlbumItem) Reset() {
|
||||
*x = CloudAlbumItem{}
|
||||
mi := &file_album_proto_msgTypes[3]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -241,7 +242,7 @@ func (x *CloudAlbumItem) String() string {
|
||||
func (*CloudAlbumItem) ProtoMessage() {}
|
||||
|
||||
func (x *CloudAlbumItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_album_proto_msgTypes[3]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -254,7 +255,7 @@ func (x *CloudAlbumItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CloudAlbumItem.ProtoReflect.Descriptor instead.
|
||||
func (*CloudAlbumItem) Descriptor() ([]byte, []int) {
|
||||
return file_album_proto_rawDescGZIP(), []int{3}
|
||||
return file_module_base_cloud_proto_album_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *CloudAlbumItem) GetId() uint64 {
|
||||
@@ -330,7 +331,7 @@ type ListPhotosResponse struct {
|
||||
|
||||
func (x *ListPhotosResponse) Reset() {
|
||||
*x = ListPhotosResponse{}
|
||||
mi := &file_album_proto_msgTypes[4]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -342,7 +343,7 @@ func (x *ListPhotosResponse) String() string {
|
||||
func (*ListPhotosResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListPhotosResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_album_proto_msgTypes[4]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -355,7 +356,7 @@ func (x *ListPhotosResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListPhotosResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListPhotosResponse) Descriptor() ([]byte, []int) {
|
||||
return file_album_proto_rawDescGZIP(), []int{4}
|
||||
return file_module_base_cloud_proto_album_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *ListPhotosResponse) GetPhotos() []*CloudPhotoItem {
|
||||
@@ -382,7 +383,7 @@ type MovePhotoRequest struct {
|
||||
|
||||
func (x *MovePhotoRequest) Reset() {
|
||||
*x = MovePhotoRequest{}
|
||||
mi := &file_album_proto_msgTypes[5]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -394,7 +395,7 @@ func (x *MovePhotoRequest) String() string {
|
||||
func (*MovePhotoRequest) ProtoMessage() {}
|
||||
|
||||
func (x *MovePhotoRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_album_proto_msgTypes[5]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -407,7 +408,7 @@ func (x *MovePhotoRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use MovePhotoRequest.ProtoReflect.Descriptor instead.
|
||||
func (*MovePhotoRequest) Descriptor() ([]byte, []int) {
|
||||
return file_album_proto_rawDescGZIP(), []int{5}
|
||||
return file_module_base_cloud_proto_album_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *MovePhotoRequest) GetPhotoId() uint64 {
|
||||
@@ -450,7 +451,7 @@ type CloudPhotoItem struct {
|
||||
|
||||
func (x *CloudPhotoItem) Reset() {
|
||||
*x = CloudPhotoItem{}
|
||||
mi := &file_album_proto_msgTypes[6]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -462,7 +463,7 @@ func (x *CloudPhotoItem) String() string {
|
||||
func (*CloudPhotoItem) ProtoMessage() {}
|
||||
|
||||
func (x *CloudPhotoItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_album_proto_msgTypes[6]
|
||||
mi := &file_module_base_cloud_proto_album_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -475,7 +476,7 @@ func (x *CloudPhotoItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CloudPhotoItem.ProtoReflect.Descriptor instead.
|
||||
func (*CloudPhotoItem) Descriptor() ([]byte, []int) {
|
||||
return file_album_proto_rawDescGZIP(), []int{6}
|
||||
return file_module_base_cloud_proto_album_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *CloudPhotoItem) GetId() uint64 {
|
||||
@@ -590,11 +591,11 @@ func (x *CloudPhotoItem) GetAlbum() *CloudAlbumItem {
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_album_proto protoreflect.FileDescriptor
|
||||
var File_module_base_cloud_proto_album_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_album_proto_rawDesc = "" +
|
||||
const file_module_base_cloud_proto_album_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x16base/cloud/album.proto\x12\x05cloud\x1a\x12cloud/blocks.proto\"\xcc\x01\n" +
|
||||
"#module/base/cloud/proto/album.proto\x12\x05cloud\x1a\x15protobuf/blocks.proto\"\xcc\x01\n" +
|
||||
"\x12CreateAlbumRequest\x12\x19\n" +
|
||||
"\bcloud_id\x18\x01 \x01(\x04R\acloudId\x12%\n" +
|
||||
"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\x12\x12\n" +
|
||||
@@ -650,77 +651,77 @@ const file_album_proto_rawDesc = "" +
|
||||
"created_at\x18\x0e \x01(\tR\tcreatedAt\x12\x1d\n" +
|
||||
"\n" +
|
||||
"updated_at\x18\x0f \x01(\tR\tupdatedAt\x12+\n" +
|
||||
"\x05album\x18\x10 \x01(\v2\x15.cloud.CloudAlbumItemR\x05album2\xcb\x05\n" +
|
||||
"\x05Album\x12<\n" +
|
||||
"\vCreateAlbum\x12\x19.cloud.CreateAlbumRequest\x1a\x12.cloud.StatusReply\x126\n" +
|
||||
"\bGetAlbum\x12\x13.cloud.IdentRequest\x1a\x15.cloud.CloudAlbumItem\x128\n" +
|
||||
"\vUpdateAlbum\x12\x15.cloud.CloudAlbumItem\x1a\x12.cloud.StatusReply\x126\n" +
|
||||
"\vDeleteAlbum\x12\x13.cloud.IdentRequest\x1a\x12.cloud.StatusReply\x12<\n" +
|
||||
"\x05album\x18\x10 \x01(\v2\x15.cloud.CloudAlbumItemR\x05album2\xd9\x05\n" +
|
||||
"\x05Album\x12=\n" +
|
||||
"\vCreateAlbum\x12\x19.cloud.CreateAlbumRequest\x1a\x13.blocks.StatusReply\x127\n" +
|
||||
"\bGetAlbum\x12\x14.blocks.IdentRequest\x1a\x15.cloud.CloudAlbumItem\x129\n" +
|
||||
"\vUpdateAlbum\x12\x15.cloud.CloudAlbumItem\x1a\x13.blocks.StatusReply\x128\n" +
|
||||
"\vDeleteAlbum\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\x12=\n" +
|
||||
"\n" +
|
||||
"ListAlbums\x12\x13.cloud.FetchRequest\x1a\x19.cloud.ListAlbumsResponse\x12@\n" +
|
||||
"\rSetCoverPhoto\x12\x1b.cloud.SetCoverPhotoRequest\x1a\x12.cloud.StatusReply\x128\n" +
|
||||
"\vUploadPhoto\x12\x15.cloud.CloudPhotoItem\x1a\x12.cloud.StatusReply\x126\n" +
|
||||
"\bGetPhoto\x12\x13.cloud.IdentRequest\x1a\x15.cloud.CloudPhotoItem\x128\n" +
|
||||
"\vUpdatePhoto\x12\x15.cloud.CloudPhotoItem\x1a\x12.cloud.StatusReply\x126\n" +
|
||||
"\vDeletePhoto\x12\x13.cloud.IdentRequest\x1a\x12.cloud.StatusReply\x12<\n" +
|
||||
"ListAlbums\x12\x14.blocks.FetchRequest\x1a\x19.cloud.ListAlbumsResponse\x12A\n" +
|
||||
"\rSetCoverPhoto\x12\x1b.cloud.SetCoverPhotoRequest\x1a\x13.blocks.StatusReply\x129\n" +
|
||||
"\vUploadPhoto\x12\x15.cloud.CloudPhotoItem\x1a\x13.blocks.StatusReply\x127\n" +
|
||||
"\bGetPhoto\x12\x14.blocks.IdentRequest\x1a\x15.cloud.CloudPhotoItem\x129\n" +
|
||||
"\vUpdatePhoto\x12\x15.cloud.CloudPhotoItem\x1a\x13.blocks.StatusReply\x128\n" +
|
||||
"\vDeletePhoto\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\x12=\n" +
|
||||
"\n" +
|
||||
"ListPhotos\x12\x13.cloud.FetchRequest\x1a\x19.cloud.ListPhotosResponse\x128\n" +
|
||||
"\tMovePhoto\x12\x17.cloud.MovePhotoRequest\x1a\x12.cloud.StatusReplyB\tZ\a.;cloudb\x06proto3"
|
||||
"ListPhotos\x12\x14.blocks.FetchRequest\x1a\x19.cloud.ListPhotosResponse\x129\n" +
|
||||
"\tMovePhoto\x12\x17.cloud.MovePhotoRequest\x1a\x13.blocks.StatusReplyB%Z#bsm/full/module/base/cloud/pb;cloudb\x06proto3"
|
||||
|
||||
var (
|
||||
file_album_proto_rawDescOnce sync.Once
|
||||
file_album_proto_rawDescData []byte
|
||||
file_module_base_cloud_proto_album_proto_rawDescOnce sync.Once
|
||||
file_module_base_cloud_proto_album_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_album_proto_rawDescGZIP() []byte {
|
||||
file_album_proto_rawDescOnce.Do(func() {
|
||||
file_album_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_album_proto_rawDesc), len(file_album_proto_rawDesc)))
|
||||
func file_module_base_cloud_proto_album_proto_rawDescGZIP() []byte {
|
||||
file_module_base_cloud_proto_album_proto_rawDescOnce.Do(func() {
|
||||
file_module_base_cloud_proto_album_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_base_cloud_proto_album_proto_rawDesc), len(file_module_base_cloud_proto_album_proto_rawDesc)))
|
||||
})
|
||||
return file_album_proto_rawDescData
|
||||
return file_module_base_cloud_proto_album_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_album_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
||||
var file_album_proto_goTypes = []any{
|
||||
(*CreateAlbumRequest)(nil), // 0: cloud.CreateAlbumRequest
|
||||
(*ListAlbumsResponse)(nil), // 1: cloud.ListAlbumsResponse
|
||||
(*SetCoverPhotoRequest)(nil), // 2: cloud.SetCoverPhotoRequest
|
||||
(*CloudAlbumItem)(nil), // 3: cloud.CloudAlbumItem
|
||||
(*ListPhotosResponse)(nil), // 4: cloud.ListPhotosResponse
|
||||
(*MovePhotoRequest)(nil), // 5: cloud.MovePhotoRequest
|
||||
(*CloudPhotoItem)(nil), // 6: cloud.CloudPhotoItem
|
||||
(*IdentRequest)(nil), // 7: cloud.IdentRequest
|
||||
(*FetchRequest)(nil), // 8: cloud.FetchRequest
|
||||
(*StatusReply)(nil), // 9: cloud.StatusReply
|
||||
var file_module_base_cloud_proto_album_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
||||
var file_module_base_cloud_proto_album_proto_goTypes = []any{
|
||||
(*CreateAlbumRequest)(nil), // 0: cloud.CreateAlbumRequest
|
||||
(*ListAlbumsResponse)(nil), // 1: cloud.ListAlbumsResponse
|
||||
(*SetCoverPhotoRequest)(nil), // 2: cloud.SetCoverPhotoRequest
|
||||
(*CloudAlbumItem)(nil), // 3: cloud.CloudAlbumItem
|
||||
(*ListPhotosResponse)(nil), // 4: cloud.ListPhotosResponse
|
||||
(*MovePhotoRequest)(nil), // 5: cloud.MovePhotoRequest
|
||||
(*CloudPhotoItem)(nil), // 6: cloud.CloudPhotoItem
|
||||
(*protobuf.IdentRequest)(nil), // 7: blocks.IdentRequest
|
||||
(*protobuf.FetchRequest)(nil), // 8: blocks.FetchRequest
|
||||
(*protobuf.StatusReply)(nil), // 9: blocks.StatusReply
|
||||
}
|
||||
var file_album_proto_depIdxs = []int32{
|
||||
var file_module_base_cloud_proto_album_proto_depIdxs = []int32{
|
||||
3, // 0: cloud.ListAlbumsResponse.albums:type_name -> cloud.CloudAlbumItem
|
||||
6, // 1: cloud.CloudAlbumItem.photos:type_name -> cloud.CloudPhotoItem
|
||||
6, // 2: cloud.ListPhotosResponse.photos:type_name -> cloud.CloudPhotoItem
|
||||
3, // 3: cloud.CloudPhotoItem.album:type_name -> cloud.CloudAlbumItem
|
||||
0, // 4: cloud.Album.CreateAlbum:input_type -> cloud.CreateAlbumRequest
|
||||
7, // 5: cloud.Album.GetAlbum:input_type -> cloud.IdentRequest
|
||||
7, // 5: cloud.Album.GetAlbum:input_type -> blocks.IdentRequest
|
||||
3, // 6: cloud.Album.UpdateAlbum:input_type -> cloud.CloudAlbumItem
|
||||
7, // 7: cloud.Album.DeleteAlbum:input_type -> cloud.IdentRequest
|
||||
8, // 8: cloud.Album.ListAlbums:input_type -> cloud.FetchRequest
|
||||
7, // 7: cloud.Album.DeleteAlbum:input_type -> blocks.IdentRequest
|
||||
8, // 8: cloud.Album.ListAlbums:input_type -> blocks.FetchRequest
|
||||
2, // 9: cloud.Album.SetCoverPhoto:input_type -> cloud.SetCoverPhotoRequest
|
||||
6, // 10: cloud.Album.UploadPhoto:input_type -> cloud.CloudPhotoItem
|
||||
7, // 11: cloud.Album.GetPhoto:input_type -> cloud.IdentRequest
|
||||
7, // 11: cloud.Album.GetPhoto:input_type -> blocks.IdentRequest
|
||||
6, // 12: cloud.Album.UpdatePhoto:input_type -> cloud.CloudPhotoItem
|
||||
7, // 13: cloud.Album.DeletePhoto:input_type -> cloud.IdentRequest
|
||||
8, // 14: cloud.Album.ListPhotos:input_type -> cloud.FetchRequest
|
||||
7, // 13: cloud.Album.DeletePhoto:input_type -> blocks.IdentRequest
|
||||
8, // 14: cloud.Album.ListPhotos:input_type -> blocks.FetchRequest
|
||||
5, // 15: cloud.Album.MovePhoto:input_type -> cloud.MovePhotoRequest
|
||||
9, // 16: cloud.Album.CreateAlbum:output_type -> cloud.StatusReply
|
||||
9, // 16: cloud.Album.CreateAlbum:output_type -> blocks.StatusReply
|
||||
3, // 17: cloud.Album.GetAlbum:output_type -> cloud.CloudAlbumItem
|
||||
9, // 18: cloud.Album.UpdateAlbum:output_type -> cloud.StatusReply
|
||||
9, // 19: cloud.Album.DeleteAlbum:output_type -> cloud.StatusReply
|
||||
9, // 18: cloud.Album.UpdateAlbum:output_type -> blocks.StatusReply
|
||||
9, // 19: cloud.Album.DeleteAlbum:output_type -> blocks.StatusReply
|
||||
1, // 20: cloud.Album.ListAlbums:output_type -> cloud.ListAlbumsResponse
|
||||
9, // 21: cloud.Album.SetCoverPhoto:output_type -> cloud.StatusReply
|
||||
9, // 22: cloud.Album.UploadPhoto:output_type -> cloud.StatusReply
|
||||
9, // 21: cloud.Album.SetCoverPhoto:output_type -> blocks.StatusReply
|
||||
9, // 22: cloud.Album.UploadPhoto:output_type -> blocks.StatusReply
|
||||
6, // 23: cloud.Album.GetPhoto:output_type -> cloud.CloudPhotoItem
|
||||
9, // 24: cloud.Album.UpdatePhoto:output_type -> cloud.StatusReply
|
||||
9, // 25: cloud.Album.DeletePhoto:output_type -> cloud.StatusReply
|
||||
9, // 24: cloud.Album.UpdatePhoto:output_type -> blocks.StatusReply
|
||||
9, // 25: cloud.Album.DeletePhoto:output_type -> blocks.StatusReply
|
||||
4, // 26: cloud.Album.ListPhotos:output_type -> cloud.ListPhotosResponse
|
||||
9, // 27: cloud.Album.MovePhoto:output_type -> cloud.StatusReply
|
||||
9, // 27: cloud.Album.MovePhoto:output_type -> blocks.StatusReply
|
||||
16, // [16:28] is the sub-list for method output_type
|
||||
4, // [4:16] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
@@ -728,27 +729,26 @@ var file_album_proto_depIdxs = []int32{
|
||||
0, // [0:4] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_album_proto_init() }
|
||||
func file_album_proto_init() {
|
||||
if File_album_proto != nil {
|
||||
func init() { file_module_base_cloud_proto_album_proto_init() }
|
||||
func file_module_base_cloud_proto_album_proto_init() {
|
||||
if File_module_base_cloud_proto_album_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_album_proto_rawDesc), len(file_album_proto_rawDesc)),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_base_cloud_proto_album_proto_rawDesc), len(file_module_base_cloud_proto_album_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 7,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_album_proto_goTypes,
|
||||
DependencyIndexes: file_album_proto_depIdxs,
|
||||
MessageInfos: file_album_proto_msgTypes,
|
||||
GoTypes: file_module_base_cloud_proto_album_proto_goTypes,
|
||||
DependencyIndexes: file_module_base_cloud_proto_album_proto_depIdxs,
|
||||
MessageInfos: file_module_base_cloud_proto_album_proto_msgTypes,
|
||||
}.Build()
|
||||
File_album_proto = out.File
|
||||
file_album_proto_goTypes = nil
|
||||
file_album_proto_depIdxs = nil
|
||||
File_module_base_cloud_proto_album_proto = out.File
|
||||
file_module_base_cloud_proto_album_proto_goTypes = nil
|
||||
file_module_base_cloud_proto_album_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user