client/golang/cloud/album.pb.go

755 lines
24 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: album.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 CreateAlbumRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
CloudId uint64 `protobuf:"varint,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"`
CloudIdentity string `protobuf:"bytes,2,opt,name=cloud_identity,json=cloudIdentity,proto3" json:"cloud_identity,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 相册名称
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 相册描述
CoverPhoto string `protobuf:"bytes,5,opt,name=cover_photo,json=coverPhoto,proto3" json:"cover_photo,omitempty"` // 封面照片URL
IsPrivate bool `protobuf:"varint,6,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` // 是否私有
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAlbumRequest) Reset() {
*x = CreateAlbumRequest{}
mi := &file_album_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAlbumRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAlbumRequest) ProtoMessage() {}
func (x *CreateAlbumRequest) ProtoReflect() protoreflect.Message {
mi := &file_album_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 CreateAlbumRequest.ProtoReflect.Descriptor instead.
func (*CreateAlbumRequest) Descriptor() ([]byte, []int) {
return file_album_proto_rawDescGZIP(), []int{0}
}
func (x *CreateAlbumRequest) GetCloudId() uint64 {
if x != nil {
return x.CloudId
}
return 0
}
func (x *CreateAlbumRequest) GetCloudIdentity() string {
if x != nil {
return x.CloudIdentity
}
return ""
}
func (x *CreateAlbumRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateAlbumRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *CreateAlbumRequest) GetCoverPhoto() string {
if x != nil {
return x.CoverPhoto
}
return ""
}
func (x *CreateAlbumRequest) GetIsPrivate() bool {
if x != nil {
return x.IsPrivate
}
return false
}
type ListAlbumsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Albums []*CloudAlbumItem `protobuf:"bytes,1,rep,name=albums,proto3" json:"albums,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAlbumsResponse) Reset() {
*x = ListAlbumsResponse{}
mi := &file_album_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAlbumsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAlbumsResponse) ProtoMessage() {}
func (x *ListAlbumsResponse) ProtoReflect() protoreflect.Message {
mi := &file_album_proto_msgTypes[1]
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 ListAlbumsResponse.ProtoReflect.Descriptor instead.
func (*ListAlbumsResponse) Descriptor() ([]byte, []int) {
return file_album_proto_rawDescGZIP(), []int{1}
}
func (x *ListAlbumsResponse) GetAlbums() []*CloudAlbumItem {
if x != nil {
return x.Albums
}
return nil
}
func (x *ListAlbumsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
type SetCoverPhotoRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AlbumId uint64 `protobuf:"varint,1,opt,name=album_id,json=albumId,proto3" json:"album_id,omitempty"`
PhotoId uint64 `protobuf:"varint,2,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetCoverPhotoRequest) Reset() {
*x = SetCoverPhotoRequest{}
mi := &file_album_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetCoverPhotoRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetCoverPhotoRequest) ProtoMessage() {}
func (x *SetCoverPhotoRequest) ProtoReflect() protoreflect.Message {
mi := &file_album_proto_msgTypes[2]
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 SetCoverPhotoRequest.ProtoReflect.Descriptor instead.
func (*SetCoverPhotoRequest) Descriptor() ([]byte, []int) {
return file_album_proto_rawDescGZIP(), []int{2}
}
func (x *SetCoverPhotoRequest) GetAlbumId() uint64 {
if x != nil {
return x.AlbumId
}
return 0
}
func (x *SetCoverPhotoRequest) GetPhotoId() uint64 {
if x != nil {
return x.PhotoId
}
return 0
}
// 相册模型
type CloudAlbumItem 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"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 相册名称
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 相册描述
CoverPhoto string `protobuf:"bytes,5,opt,name=cover_photo,json=coverPhoto,proto3" json:"cover_photo,omitempty"` // 封面照片URL
IsPrivate bool `protobuf:"varint,6,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` // 是否私有
CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// 关联关系
Photos []*CloudPhotoItem `protobuf:"bytes,9,rep,name=photos,proto3" json:"photos,omitempty"` // 相册下的照片
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CloudAlbumItem) Reset() {
*x = CloudAlbumItem{}
mi := &file_album_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CloudAlbumItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CloudAlbumItem) ProtoMessage() {}
func (x *CloudAlbumItem) ProtoReflect() protoreflect.Message {
mi := &file_album_proto_msgTypes[3]
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 CloudAlbumItem.ProtoReflect.Descriptor instead.
func (*CloudAlbumItem) Descriptor() ([]byte, []int) {
return file_album_proto_rawDescGZIP(), []int{3}
}
func (x *CloudAlbumItem) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *CloudAlbumItem) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *CloudAlbumItem) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CloudAlbumItem) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *CloudAlbumItem) GetCoverPhoto() string {
if x != nil {
return x.CoverPhoto
}
return ""
}
func (x *CloudAlbumItem) GetIsPrivate() bool {
if x != nil {
return x.IsPrivate
}
return false
}
func (x *CloudAlbumItem) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *CloudAlbumItem) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
func (x *CloudAlbumItem) GetPhotos() []*CloudPhotoItem {
if x != nil {
return x.Photos
}
return nil
}
type ListPhotosResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Photos []*CloudPhotoItem `protobuf:"bytes,1,rep,name=photos,proto3" json:"photos,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListPhotosResponse) Reset() {
*x = ListPhotosResponse{}
mi := &file_album_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListPhotosResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPhotosResponse) ProtoMessage() {}
func (x *ListPhotosResponse) ProtoReflect() protoreflect.Message {
mi := &file_album_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListPhotosResponse.ProtoReflect.Descriptor instead.
func (*ListPhotosResponse) Descriptor() ([]byte, []int) {
return file_album_proto_rawDescGZIP(), []int{4}
}
func (x *ListPhotosResponse) GetPhotos() []*CloudPhotoItem {
if x != nil {
return x.Photos
}
return nil
}
func (x *ListPhotosResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
type MovePhotoRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
PhotoId uint64 `protobuf:"varint,1,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"`
NewAlbumId uint64 `protobuf:"varint,2,opt,name=new_album_id,json=newAlbumId,proto3" json:"new_album_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MovePhotoRequest) Reset() {
*x = MovePhotoRequest{}
mi := &file_album_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MovePhotoRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MovePhotoRequest) ProtoMessage() {}
func (x *MovePhotoRequest) ProtoReflect() protoreflect.Message {
mi := &file_album_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MovePhotoRequest.ProtoReflect.Descriptor instead.
func (*MovePhotoRequest) Descriptor() ([]byte, []int) {
return file_album_proto_rawDescGZIP(), []int{5}
}
func (x *MovePhotoRequest) GetPhotoId() uint64 {
if x != nil {
return x.PhotoId
}
return 0
}
func (x *MovePhotoRequest) GetNewAlbumId() uint64 {
if x != nil {
return x.NewAlbumId
}
return 0
}
// 照片模型
type CloudPhotoItem 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"`
AlbumId uint64 `protobuf:"varint,3,opt,name=album_id,json=albumId,proto3" json:"album_id,omitempty"` // 专辑ID
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // 照片标题
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // 照片描述
FilePath string `protobuf:"bytes,6,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` // 文件路径
FileSize int64 `protobuf:"varint,7,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` // 文件大小
MimeType string `protobuf:"bytes,8,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // 文件类型
Width int32 `protobuf:"varint,9,opt,name=width,proto3" json:"width,omitempty"` // 图片宽度
Height int32 `protobuf:"varint,10,opt,name=height,proto3" json:"height,omitempty"` // 图片高度
TakenAt string `protobuf:"bytes,11,opt,name=taken_at,json=takenAt,proto3" json:"taken_at,omitempty"` // 拍摄时间
Location string `protobuf:"bytes,12,opt,name=location,proto3" json:"location,omitempty"` // 拍摄地点
Tags string `protobuf:"bytes,13,opt,name=tags,proto3" json:"tags,omitempty"` // 标签,逗号分隔
CreatedAt string `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt string `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// 关联关系
Album *CloudAlbumItem `protobuf:"bytes,16,opt,name=album,proto3" json:"album,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CloudPhotoItem) Reset() {
*x = CloudPhotoItem{}
mi := &file_album_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CloudPhotoItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CloudPhotoItem) ProtoMessage() {}
func (x *CloudPhotoItem) ProtoReflect() protoreflect.Message {
mi := &file_album_proto_msgTypes[6]
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 CloudPhotoItem.ProtoReflect.Descriptor instead.
func (*CloudPhotoItem) Descriptor() ([]byte, []int) {
return file_album_proto_rawDescGZIP(), []int{6}
}
func (x *CloudPhotoItem) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *CloudPhotoItem) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *CloudPhotoItem) GetAlbumId() uint64 {
if x != nil {
return x.AlbumId
}
return 0
}
func (x *CloudPhotoItem) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *CloudPhotoItem) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *CloudPhotoItem) GetFilePath() string {
if x != nil {
return x.FilePath
}
return ""
}
func (x *CloudPhotoItem) GetFileSize() int64 {
if x != nil {
return x.FileSize
}
return 0
}
func (x *CloudPhotoItem) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
func (x *CloudPhotoItem) GetWidth() int32 {
if x != nil {
return x.Width
}
return 0
}
func (x *CloudPhotoItem) GetHeight() int32 {
if x != nil {
return x.Height
}
return 0
}
func (x *CloudPhotoItem) GetTakenAt() string {
if x != nil {
return x.TakenAt
}
return ""
}
func (x *CloudPhotoItem) GetLocation() string {
if x != nil {
return x.Location
}
return ""
}
func (x *CloudPhotoItem) GetTags() string {
if x != nil {
return x.Tags
}
return ""
}
func (x *CloudPhotoItem) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *CloudPhotoItem) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
func (x *CloudPhotoItem) GetAlbum() *CloudAlbumItem {
if x != nil {
return x.Album
}
return nil
}
var File_album_proto protoreflect.FileDescriptor
const file_album_proto_rawDesc = "" +
"\n" +
"\valbum.proto\x12\x05cloud\x1a\fblocks.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" +
"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1f\n" +
"\vcover_photo\x18\x05 \x01(\tR\n" +
"coverPhoto\x12\x1d\n" +
"\n" +
"is_private\x18\x06 \x01(\bR\tisPrivate\"Y\n" +
"\x12ListAlbumsResponse\x12-\n" +
"\x06albums\x18\x01 \x03(\v2\x15.cloud.CloudAlbumItemR\x06albums\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\"L\n" +
"\x14SetCoverPhotoRequest\x12\x19\n" +
"\balbum_id\x18\x01 \x01(\x04R\aalbumId\x12\x19\n" +
"\bphoto_id\x18\x02 \x01(\x04R\aphotoId\"\x9f\x02\n" +
"\x0eCloudAlbumItem\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1f\n" +
"\vcover_photo\x18\x05 \x01(\tR\n" +
"coverPhoto\x12\x1d\n" +
"\n" +
"is_private\x18\x06 \x01(\bR\tisPrivate\x12\x1d\n" +
"\n" +
"created_at\x18\a \x01(\tR\tcreatedAt\x12\x1d\n" +
"\n" +
"updated_at\x18\b \x01(\tR\tupdatedAt\x12-\n" +
"\x06photos\x18\t \x03(\v2\x15.cloud.CloudPhotoItemR\x06photos\"Y\n" +
"\x12ListPhotosResponse\x12-\n" +
"\x06photos\x18\x01 \x03(\v2\x15.cloud.CloudPhotoItemR\x06photos\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\"O\n" +
"\x10MovePhotoRequest\x12\x19\n" +
"\bphoto_id\x18\x01 \x01(\x04R\aphotoId\x12 \n" +
"\fnew_album_id\x18\x02 \x01(\x04R\n" +
"newAlbumId\"\xca\x03\n" +
"\x0eCloudPhotoItem\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x1a\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x19\n" +
"\balbum_id\x18\x03 \x01(\x04R\aalbumId\x12\x14\n" +
"\x05title\x18\x04 \x01(\tR\x05title\x12 \n" +
"\vdescription\x18\x05 \x01(\tR\vdescription\x12\x1b\n" +
"\tfile_path\x18\x06 \x01(\tR\bfilePath\x12\x1b\n" +
"\tfile_size\x18\a \x01(\x03R\bfileSize\x12\x1b\n" +
"\tmime_type\x18\b \x01(\tR\bmimeType\x12\x14\n" +
"\x05width\x18\t \x01(\x05R\x05width\x12\x16\n" +
"\x06height\x18\n" +
" \x01(\x05R\x06height\x12\x19\n" +
"\btaken_at\x18\v \x01(\tR\atakenAt\x12\x1a\n" +
"\blocation\x18\f \x01(\tR\blocation\x12\x12\n" +
"\x04tags\x18\r \x01(\tR\x04tags\x12\x1d\n" +
"\n" +
"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" +
"\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" +
"\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"
var (
file_album_proto_rawDescOnce sync.Once
file_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)))
})
return file_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_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
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
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
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
5, // 15: cloud.Album.MovePhoto:input_type -> cloud.MovePhotoRequest
9, // 16: cloud.Album.CreateAlbum:output_type -> cloud.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
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
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
4, // 26: cloud.Album.ListPhotos:output_type -> cloud.ListPhotosResponse
9, // 27: cloud.Album.MovePhoto:output_type -> cloud.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
4, // [4:4] is the sub-list for extension extendee
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 {
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)),
NumEnums: 0,
NumMessages: 7,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_album_proto_goTypes,
DependencyIndexes: file_album_proto_depIdxs,
MessageInfos: file_album_proto_msgTypes,
}.Build()
File_album_proto = out.File
file_album_proto_goTypes = nil
file_album_proto_depIdxs = nil
}